mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
39 lines
751 B
Nix
39 lines
751 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchPypi
|
||
|
, isodate
|
||
|
, html5lib
|
||
|
, SPARQLWrapper
|
||
|
, networkx
|
||
|
, nose
|
||
|
, python
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "neurdflib";
|
||
|
version = "5.0.0.post1";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
sha256 = "1qgmprixqxycxpjk9wjdmjykma14qqa2wcbx4nsldxi0ga7i7vv5";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = [ isodate html5lib SPARQLWrapper ];
|
||
|
|
||
|
checkInputs = [ networkx nose ];
|
||
|
|
||
|
# Python 2 syntax
|
||
|
# Failing doctest
|
||
|
doCheck = false;
|
||
|
|
||
|
checkPhase = ''
|
||
|
${python.interpreter} run_tests.py
|
||
|
'';
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "A temporary convenience package for changes waiting to be merged into the primary rdflib repo";
|
||
|
homepage = https://pypi.org/project/neurdflib;
|
||
|
license = licenses.bsd3;
|
||
|
};
|
||
|
}
|