mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
python310Packages.sparqlwrapper: normalize attr
This commit is contained in:
parent
544c77ba0f
commit
f20d368f2f
4 changed files with 10 additions and 12 deletions
|
@ -3,7 +3,7 @@
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, isodate
|
, isodate
|
||||||
, html5lib
|
, html5lib
|
||||||
, SPARQLWrapper
|
, sparqlwrapper
|
||||||
, networkx
|
, networkx
|
||||||
, nose
|
, nose
|
||||||
, python
|
, python
|
||||||
|
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||||
sha256 = "d34493cee15029ff5db16157429585ff863ba5542675a4d8a94a0da1bc6e3a50";
|
sha256 = "d34493cee15029ff5db16157429585ff863ba5542675a4d8a94a0da1bc6e3a50";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ isodate html5lib SPARQLWrapper ];
|
propagatedBuildInputs = [ isodate html5lib sparqlwrapper ];
|
||||||
|
|
||||||
checkInputs = [ networkx nose ];
|
checkInputs = [ networkx nose ];
|
||||||
|
|
||||||
|
|
|
@ -1,31 +1,28 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, six
|
|
||||||
, isodate
|
|
||||||
, pyparsing
|
|
||||||
, html5lib
|
|
||||||
, keepalive
|
, keepalive
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "SPARQLWrapper";
|
pname = "sparqlwrapper";
|
||||||
version = "2.0.0";
|
version = "2.0.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
pname = "SPARQLWrapper";
|
||||||
|
inherit version;
|
||||||
sha256 = "sha256-P+0+vMd2F6SnTSZEuG/Yjg8y5/cAOseyszTAJiAXMfE=";
|
sha256 = "sha256-P+0+vMd2F6SnTSZEuG/Yjg8y5/cAOseyszTAJiAXMfE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# break circular dependency loop
|
# break circular dependency loop
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i '/rdflib/d' requirements.txt
|
sed -i '/rdflib/d' setup.cfg
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Doesn't actually run tests
|
# Doesn't actually run tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
propagatedBuildInputs = [ six isodate pyparsing html5lib keepalive ];
|
propagatedBuildInputs = [ keepalive ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "This is a wrapper around a SPARQL service. It helps in creating the query URI and, possibly, convert the result into a more manageable format";
|
description = "This is a wrapper around a SPARQL service. It helps in creating the query URI and, possibly, convert the result into a more manageable format";
|
||||||
|
|
|
@ -112,6 +112,7 @@ mapAliases ({
|
||||||
requests_oauthlib = requests-oauthlib; # added 2022-02-12
|
requests_oauthlib = requests-oauthlib; # added 2022-02-12
|
||||||
requests_toolbelt = requests-toolbelt; # added 2017-09-26
|
requests_toolbelt = requests-toolbelt; # added 2017-09-26
|
||||||
roboschool = throw "roboschool is deprecated in favor of PyBullet and has been removed"; # added 2022-01-15
|
roboschool = throw "roboschool is deprecated in favor of PyBullet and has been removed"; # added 2022-01-15
|
||||||
|
ROPGadget = ropgadget; # added 2021-07-06
|
||||||
rotate-backups = throw "rotate-backups was removed in favor of the top-level rotate-backups"; # added 2021-07-01
|
rotate-backups = throw "rotate-backups was removed in favor of the top-level rotate-backups"; # added 2021-07-01
|
||||||
ruamel_base = ruamel-base; # added 2021-11-01
|
ruamel_base = ruamel-base; # added 2021-11-01
|
||||||
ruamel_yaml = ruamel-yaml; # added 2021-11-01
|
ruamel_yaml = ruamel-yaml; # added 2021-11-01
|
||||||
|
@ -119,9 +120,9 @@ mapAliases ({
|
||||||
scikitlearn = scikit-learn; # added 2021-07-21
|
scikitlearn = scikit-learn; # added 2021-07-21
|
||||||
selectors34 = throw "selectors34 has been removed: functionality provided by Python itself; archived by upstream."; # added 2021-06-10
|
selectors34 = throw "selectors34 has been removed: functionality provided by Python itself; archived by upstream."; # added 2021-06-10
|
||||||
setuptools_scm = setuptools-scm; # added 2021-06-03
|
setuptools_scm = setuptools-scm; # added 2021-06-03
|
||||||
ROPGadget = ropgadget; # added 2021-07-06
|
|
||||||
smart_open = smart-open; # added 2021-03-14
|
smart_open = smart-open; # added 2021-03-14
|
||||||
smmap2 = throw "smmap2 has been deprecated, use smmap instead."; # added 2020-03-14
|
smmap2 = throw "smmap2 has been deprecated, use smmap instead."; # added 2020-03-14
|
||||||
|
SPARQLWrapper = sparqlwrapper;
|
||||||
sphinxcontrib_plantuml = sphinxcontrib-plantuml; # added 2021-08-02
|
sphinxcontrib_plantuml = sphinxcontrib-plantuml; # added 2021-08-02
|
||||||
sqlalchemy_migrate = sqlalchemy-migrate; # added 2021-10-28
|
sqlalchemy_migrate = sqlalchemy-migrate; # added 2021-10-28
|
||||||
tensorflow-bin_2 = tensorflow-bin; # added 2021-11-25
|
tensorflow-bin_2 = tensorflow-bin; # added 2021-11-25
|
||||||
|
|
|
@ -9475,7 +9475,7 @@ in {
|
||||||
|
|
||||||
sparklines = callPackage ../development/python-modules/sparklines { };
|
sparklines = callPackage ../development/python-modules/sparklines { };
|
||||||
|
|
||||||
SPARQLWrapper = callPackage ../development/python-modules/sparqlwrapper { };
|
sparqlwrapper = callPackage ../development/python-modules/sparqlwrapper { };
|
||||||
|
|
||||||
sparse = callPackage ../development/python-modules/sparse { };
|
sparse = callPackage ../development/python-modules/sparse { };
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue