3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.ducc0: init at 0.23.0

This commit is contained in:
Philipp Arras 2022-05-10 18:07:04 +02:00
parent 2f48033f25
commit 47055affcb
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ lib, buildPythonPackage, fetchFromGitLab, pythonOlder, pytestCheckHook, pybind11, numpy }:
buildPythonPackage rec {
pname = "ducc0";
version = "0.23.0";
disabled = pythonOlder "3.7";
src = fetchFromGitLab {
domain = "gitlab.mpcdf.mpg.de";
owner = "mtr";
repo = "ducc";
rev = "ducc0_${lib.replaceStrings ["."] ["_"] version}";
sha256 = "dOc3TihtoRuLfniC9zQ1MEbnvGJHzFZfZ8+J8Dnw6Lk=";
};
buildInputs = [ pybind11 ];
propagatedBuildInputs = [ numpy ];
checkInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "python/test" ];
pythonImportsCheck = [ "ducc0" ];
meta = with lib; {
homepage = "https://gitlab.mpcdf.mpg.de/mtr/ducc";
description = "Efficient algorithms for Fast Fourier transforms and more";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ parras ];
};
}

View file

@ -2514,6 +2514,8 @@ in {
dtlssocket = callPackage ../development/python-modules/dtlssocket { };
ducc0 = callPackage ../development/python-modules/ducc0 { };
duckdb = callPackage ../development/python-modules/duckdb {
inherit (pkgs) duckdb;
};