10 buildPythonPackage rec {
11 pname = "pyquaternion";
15 src = fetchFromGitHub {
17 repo = "pyquaternion";
19 hash = "sha256-L0wT9DFUDRcmmN7OpmIDNvtQWQrM7iFnZt6R2xrJ+3A=";
22 # The VERSION.txt file is required for setup.py
23 # See: https://github.com/KieranWynn/pyquaternion/blob/master/setup.py#L14-L15
25 echo "${version}" > VERSION.txt
28 build-system = [ setuptools ];
30 dependencies = [ numpy ];
32 nativeCheckInputs = [ pytestCheckHook ];
34 pytestFlagsArray = [ "pyquaternion/test/" ];
36 pythonImportsCheck = [ "pyquaternion" ];
39 description = "Library for representing and using quaternions";
40 homepage = "http://kieranwynn.github.io/pyquaternion/";
41 license = licenses.mit;
42 maintainers = with maintainers; [ lucasew ];