2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isodate
|
|
|
|
, html5lib
|
2022-04-27 09:35:20 +00:00
|
|
|
, sparqlwrapper
|
2020-04-24 23:36:52 +00:00
|
|
|
, networkx
|
|
|
|
, nose
|
|
|
|
, python
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "neurdflib";
|
|
|
|
version = "5.0.1";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "d34493cee15029ff5db16157429585ff863ba5542675a4d8a94a0da1bc6e3a50";
|
|
|
|
};
|
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
propagatedBuildInputs = [ isodate html5lib sparqlwrapper ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|