Skip to content

Commit

Permalink
python312Packages.jsonconversion: relax numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff committed Jan 11, 2025
1 parent 0a85603 commit 0a80e38
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions pkgs/development/python-modules/jsonconversion/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pdm-backend,
numpy,
pdm-backend,
pytestCheckHook,
pythonOlder,
setuptools,
}:

Expand All @@ -13,22 +14,25 @@ buildPythonPackage rec {
version = "1.0.1";
pyproject = true;

disabled = pythonOlder "3.11";

src = fetchFromGitHub {
owner = "DLR-RM";
repo = "python-jsonconversion";
tag = version;
hash = "sha256-XmAQXu9YkkMUvpf/QVk4u1p8UyNfRb0NeoLxC1evCT4=";
};

build-system = [
pdm-backend
];
build-system = [ pdm-backend ];

pythonRemoveDeps = [
"numpy"
"pytest-runner"
"pytest"
];

pythonRelaxDeps = [ "numpy" ];

dependencies = [
numpy
setuptools
Expand All @@ -41,7 +45,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "This python module helps converting arbitrary Python objects into JSON strings and back";
homepage = "https://github.com/DLR-RM/python-jsonconversion";
changelog = "https://github.com/DLR-RM/python-jsonconversion/releases/tag/${version}";
license = licenses.bsd2;
maintainers = [ maintainers.terlar ];
maintainers = with maintainers; [ terlar ];
};
}

0 comments on commit 0a80e38

Please sign in to comment.