2019-01-03 01:39:57 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isodate
|
|
|
|
, html5lib
|
|
|
|
, SPARQLWrapper
|
|
|
|
, networkx
|
|
|
|
, nose
|
|
|
|
, python
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "neurdflib";
|
2019-12-10 19:07:40 +01:00
|
|
|
version = "5.0.1";
|
2019-01-03 01:39:57 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-10 19:07:40 +01:00
|
|
|
sha256 = "d34493cee15029ff5db16157429585ff863ba5542675a4d8a94a0da1bc6e3a50";
|
2019-01-03 01:39:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://pypi.org/project/neurdflib";
|
2019-01-03 01:39:57 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|