python310Packages.sparqlwrapper: normalize attr

This commit is contained in:
Sandro Jäckel
2022-04-15 01:39:44 +02:00
committed by Martin Weinelt
parent 544c77ba0f
commit f20d368f2f
4 changed files with 10 additions and 12 deletions
@@ -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";