Merge pull request #172545 from phiadaarr/init_python3Packages.ducc0

main
Sandro 2 years ago committed by GitHub
commit 9f82afd3fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      maintainers/maintainer-list.nix
  2. 30
      pkgs/development/python-modules/ducc0/default.nix
  3. 2
      pkgs/top-level/python-packages.nix

@ -9695,6 +9695,12 @@
githubId = 14935550;
name = "Brad Pfannmuller";
};
parras = {
email = "c@philipp-arras.de";
github = "phiadaarr";
githubId = 33826198;
name = "Philipp Arras";
};
pashashocky = {
email = "pashashocky@gmail.com";
github = "pashashocky";

@ -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 ];
};
}

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

Loading…
Cancel
Save