Skip to content

Commit

Permalink
python312Packages.pyquaternion: Modernize
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrox0 committed Jul 26, 2024
1 parent 1156932 commit 5a365c5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkgs/development/python-modules/pyquaternion/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
buildPythonPackage,
fetchFromGitHub,
numpy,
setuptools,
pytestCheckHook,
}:

buildPythonPackage rec {
pname = "pyquaternion";
version = "0.9.9";
format = "setuptools";
pyproject = true;

src = fetchFromGitHub {
owner = "KieranWynn";
Expand All @@ -24,7 +25,9 @@ buildPythonPackage rec {
echo "${version}" > VERSION.txt
'';

propagatedBuildInputs = [ numpy ];
build-system = [ setuptools ];

dependencies = [ numpy ];

nativeCheckInputs = [ pytestCheckHook ];

Expand Down

0 comments on commit 5a365c5

Please sign in to comment.