Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
896 B · 31 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132{ stdenv, lib, buildPythonPackage, fetchFromGitLab, pythonOlder, pytestCheckHook, pybind11, numpy }:
buildPythonPackage rec { pname = "ducc0"; version = "0.30.0";
disabled = pythonOlder "3.7";
src = fetchFromGitLab { domain = "gitlab.mpcdf.mpg.de"; owner = "mtr"; repo = "ducc"; rev = "ducc0_${lib.replaceStrings ["."] ["_"] version}"; hash = "sha256-xYjgJGtWl9AjnzlFvdj/0chnIUDmoH85AtKXsNBwWUU="; };
buildInputs = [ pybind11 ]; propagatedBuildInputs = [ numpy ];
nativeCheckInputs = [ pytestCheckHook ]; 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 ]; };}