mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
python310Packages.sparqlwrapper: normalize attr
This commit is contained in:
parent
544c77ba0f
commit
f20d368f2f
@ -3,7 +3,7 @@
|
||||
, fetchPypi
|
||||
, isodate
|
||||
, html5lib
|
||||
, SPARQLWrapper
|
||||
, sparqlwrapper
|
||||
, networkx
|
||||
, nose
|
||||
, python
|
||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
sha256 = "d34493cee15029ff5db16157429585ff863ba5542675a4d8a94a0da1bc6e3a50";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ isodate html5lib SPARQLWrapper ];
|
||||
propagatedBuildInputs = [ isodate html5lib sparqlwrapper ];
|
||||
|
||||
checkInputs = [ networkx nose ];
|
||||
|
||||
|
@ -1,31 +1,28 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, six
|
||||
, isodate
|
||||
, pyparsing
|
||||
, html5lib
|
||||
, keepalive
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "SPARQLWrapper";
|
||||
pname = "sparqlwrapper";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
pname = "SPARQLWrapper";
|
||||
inherit version;
|
||||
sha256 = "sha256-P+0+vMd2F6SnTSZEuG/Yjg8y5/cAOseyszTAJiAXMfE=";
|
||||
};
|
||||
|
||||
# break circular dependency loop
|
||||
patchPhase = ''
|
||||
sed -i '/rdflib/d' requirements.txt
|
||||
sed -i '/rdflib/d' setup.cfg
|
||||
'';
|
||||
|
||||
# Doesn't actually run tests
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [ six isodate pyparsing html5lib keepalive ];
|
||||
propagatedBuildInputs = [ keepalive ];
|
||||
|
||||
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";
|
||||
|
@ -112,6 +112,7 @@ mapAliases ({
|
||||
requests_oauthlib = requests-oauthlib; # added 2022-02-12
|
||||
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
|
||||
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
|
||||
ruamel_base = ruamel-base; # added 2021-11-01
|
||||
ruamel_yaml = ruamel-yaml; # added 2021-11-01
|
||||
@ -119,9 +120,9 @@ mapAliases ({
|
||||
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
|
||||
setuptools_scm = setuptools-scm; # added 2021-06-03
|
||||
ROPGadget = ropgadget; # added 2021-07-06
|
||||
smart_open = smart-open; # added 2021-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
|
||||
sqlalchemy_migrate = sqlalchemy-migrate; # added 2021-10-28
|
||||
tensorflow-bin_2 = tensorflow-bin; # added 2021-11-25
|
||||
|
@ -9475,7 +9475,7 @@ in {
|
||||
|
||||
sparklines = callPackage ../development/python-modules/sparklines { };
|
||||
|
||||
SPARQLWrapper = callPackage ../development/python-modules/sparqlwrapper { };
|
||||
sparqlwrapper = callPackage ../development/python-modules/sparqlwrapper { };
|
||||
|
||||
sparse = callPackage ../development/python-modules/sparse { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user