blob: aa44378f6c793defc846da53d5e4ebb593e9e4cf (
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
44
45
|
{
stdenv,
lib,
buildPythonPackage,
fetchFromGitLab,
numpy,
pybind11,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "ducc0";
version = "0.34.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitLab {
domain = "gitlab.mpcdf.mpg.de";
owner = "mtr";
repo = "ducc";
rev = "ducc0_${lib.replaceStrings [ "." ] [ "_" ] version}";
hash = "sha256-lxNqB3Lt+n4vIH7cVW4DAwhjuPn49y+/3RLKVO8IuJM=";
};
buildInputs = [ pybind11 ];
propagatedBuildInputs = [ numpy ];
nativeCheckInputs = [
pytestCheckHook
setuptools
];
pytestFlagsArray = [ "python/test" ];
pythonImportsCheck = [ "ducc0" ];
meta = with lib; {
broken = stdenv.isDarwin;
homepage = "https://gitlab.mpcdf.mpg.de/mtr/ducc";
description = "Efficient algorithms for Fast Fourier transforms and more";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ parras ];
};
}
|