blob: d8fe055a99387008e774f7d0b39e4a7aaafce64a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, pytestCheckHook
, scipy
, numpy
}:
buildPythonPackage rec {
pname = "rowan";
version = "1.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "glotzerlab";
repo = "rowan";
rev = "v${version}";
hash = "sha256-klIqyX04w1xYmYtAbLF5jwpcJ83oKOaENboxyCL70EY=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
scipy
];
propagatedBuildInputs = [
numpy
];
pythonImportsCheck = [ "rowan" ];
meta = with lib; {
description = "Python package for working with quaternions";
homepage = "https://github.com/glotzerlab/rowan";
changelog = "https://github.com/glotzerlab/rowan/blob/${src.rev}/ChangeLog.rst";
license = licenses.bsd3;
maintainers = with maintainers; [ doronbehar ];
};
}
|