Loading pkgs/development/python-modules/ducc0/default.nix +14 −7 Original line number Diff line number Diff line Loading @@ -2,18 +2,24 @@ lib, buildPythonPackage, fetchFromGitLab, # build-system cmake, nanobind, ninja, scikit-build-core, setuptools, # dependencies numpy, # tests pytest-xdist, pytestCheckHook, scipy, pytest-xdist, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "ducc0"; version = "0.41.0"; pyproject = true; Loading @@ -22,7 +28,7 @@ buildPythonPackage rec { domain = "gitlab.mpcdf.mpg.de"; owner = "mtr"; repo = "ducc"; tag = "ducc0_${lib.replaceStrings [ "." ] [ "_" ] version}"; tag = "ducc0_${lib.replaceStrings [ "." ] [ "_" ] finalAttrs.version}"; hash = "sha256-OeTTrIcvY9bhnctc6h1xUdSriQN4RNy3vjxWKKlT0ew="; }; Loading @@ -46,22 +52,23 @@ buildPythonPackage rec { dependencies = [ numpy ]; nativeCheckInputs = [ pytest-xdist pytestCheckHook scipy pytest-xdist ]; enabledTestPaths = [ "python/test" ]; pythonImportsCheck = [ "ducc0" ]; postInstall = '' mkdir -p $out/include cp -r ${src}/src/ducc0 $out/include cp -r ${finalAttrs.src}/src/ducc0 $out/include ''; meta = { homepage = "https://gitlab.mpcdf.mpg.de/mtr/ducc"; description = "Efficient algorithms for Fast Fourier transforms and more"; homepage = "https://gitlab.mpcdf.mpg.de/mtr/ducc"; changelog = "https://gitlab.mpcdf.mpg.de/mtr/ducc/-/blob/${finalAttrs.src.tag}/ChangeLog?ref_type=tags"; license = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [ parras ]; }; } }) Loading
pkgs/development/python-modules/ducc0/default.nix +14 −7 Original line number Diff line number Diff line Loading @@ -2,18 +2,24 @@ lib, buildPythonPackage, fetchFromGitLab, # build-system cmake, nanobind, ninja, scikit-build-core, setuptools, # dependencies numpy, # tests pytest-xdist, pytestCheckHook, scipy, pytest-xdist, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "ducc0"; version = "0.41.0"; pyproject = true; Loading @@ -22,7 +28,7 @@ buildPythonPackage rec { domain = "gitlab.mpcdf.mpg.de"; owner = "mtr"; repo = "ducc"; tag = "ducc0_${lib.replaceStrings [ "." ] [ "_" ] version}"; tag = "ducc0_${lib.replaceStrings [ "." ] [ "_" ] finalAttrs.version}"; hash = "sha256-OeTTrIcvY9bhnctc6h1xUdSriQN4RNy3vjxWKKlT0ew="; }; Loading @@ -46,22 +52,23 @@ buildPythonPackage rec { dependencies = [ numpy ]; nativeCheckInputs = [ pytest-xdist pytestCheckHook scipy pytest-xdist ]; enabledTestPaths = [ "python/test" ]; pythonImportsCheck = [ "ducc0" ]; postInstall = '' mkdir -p $out/include cp -r ${src}/src/ducc0 $out/include cp -r ${finalAttrs.src}/src/ducc0 $out/include ''; meta = { homepage = "https://gitlab.mpcdf.mpg.de/mtr/ducc"; description = "Efficient algorithms for Fast Fourier transforms and more"; homepage = "https://gitlab.mpcdf.mpg.de/mtr/ducc"; changelog = "https://gitlab.mpcdf.mpg.de/mtr/ducc/-/blob/${finalAttrs.src.tag}/ChangeLog?ref_type=tags"; license = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [ parras ]; }; } })