1 { stdenv, lib, buildPythonPackage, fetchFromGitLab, pythonOlder, pytestCheckHook, pybind11, numpy }:
3 buildPythonPackage rec {
7 disabled = pythonOlder "3.7";
9 src = fetchFromGitLab {
10 domain = "gitlab.mpcdf.mpg.de";
13 rev = "ducc0_${lib.replaceStrings ["."] ["_"] version}";
14 sha256 = "sha256-Z3eWuLuuA264z1ccdVp1YwAjDrLIXFxvTt/gC/zBE6o=";
17 buildInputs = [ pybind11 ];
18 propagatedBuildInputs = [ numpy ];
20 checkInputs = [ pytestCheckHook ];
21 pytestFlagsArray = [ "python/test" ];
22 pythonImportsCheck = [ "ducc0" ];
25 broken = stdenv.isDarwin;
26 homepage = "https://gitlab.mpcdf.mpg.de/mtr/ducc";
27 description = "Efficient algorithms for Fast Fourier transforms and more";
28 license = licenses.gpl2Plus;
29 maintainers = with maintainers; [ parras ];