Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3Packages.spdx-tools: 0.7.1 -> 0.8.0 #248286

Merged
merged 1 commit into from
Aug 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions pkgs/development/python-modules/spdx-tools/default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{ lib
, buildPythonPackage
, beartype
, click
, fetchPypi
, license-expression
, pyyaml
, rdflib
, ply
, semantic-version
, xmltodict
, pytestCheckHook
, pythonOlder
Expand All @@ -13,21 +16,24 @@

buildPythonPackage rec {
pname = "spdx-tools";
version = "0.7.1";
version = "0.8.0";
format = "setuptools";

disabled = pythonOlder "3.7";

src = fetchPypi {
inherit pname version;
hash = "sha256-l15tu6iPEFqKyyKr9T/pDw6dVjWiubH+SHeB6WliOxc=";
hash = "sha256-ZoCb94eDtHFH3K9ppju51WHrReay7BXC6P4VUOJK4c0=";
};

propagatedBuildInputs = [
beartype
click
license-expression
ply
pyyaml
rdflib
semantic-version
uritools
xmltodict
];
Expand All @@ -37,7 +43,12 @@ buildPythonPackage rec {
];

pythonImportsCheck = [
"spdx"
"spdx_tools.spdx"
];

disabledTestPaths = [
# Depends on the currently not packaged pyshacl module.
"tests/spdx3/validation/json_ld/test_shacl_validation.py"
];

meta = with lib; {
Expand Down