mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-15 08:34:04 +00:00
python312Packages.rdflib: 7.0.0 -> 7.1.1 (#360380)
This commit is contained in:
commit
8d612848f9
@ -12,9 +12,6 @@
|
||||
isodate,
|
||||
pyparsing,
|
||||
|
||||
# propagates <3.8
|
||||
importlib-metadata,
|
||||
|
||||
# extras: networkx
|
||||
networkx,
|
||||
|
||||
@ -24,31 +21,29 @@
|
||||
# tests
|
||||
pip,
|
||||
pytest-cov-stub,
|
||||
pytest7CheckHook,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rdflib";
|
||||
version = "7.0.0";
|
||||
format = "pyproject";
|
||||
version = "7.1.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RDFLib";
|
||||
repo = pname;
|
||||
repo = "rdflib";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-VCjvgXMun1Hs+gPeqjzLXbIX1NBQ5aMLz0aWlwsm0iY=";
|
||||
hash = "sha256-/jRUV7H6JBWBv/gphjLjjifbEwMSxWke5STqkeSzwoE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
isodate
|
||||
html5lib
|
||||
dependencies = [
|
||||
pyparsing
|
||||
] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
|
||||
] ++ lib.optionals (pythonOlder "3.11") [ isodate ];
|
||||
|
||||
optional-dependencies = {
|
||||
html = [ html5lib ];
|
||||
@ -60,8 +55,7 @@ buildPythonPackage rec {
|
||||
nativeCheckInputs = [
|
||||
pip
|
||||
pytest-cov-stub
|
||||
# Failed: DID NOT WARN. No warnings of type (<class 'UserWarning'>,) were emitted.
|
||||
pytest7CheckHook
|
||||
pytestCheckHook
|
||||
setuptools
|
||||
] ++ optional-dependencies.networkx ++ optional-dependencies.html;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user