diff --git a/pkgs/development/python-modules/pylpsd/default.nix b/pkgs/development/python-modules/pylpsd/default.nix new file mode 100644 index 000000000000..b74a7e65aa15 --- /dev/null +++ b/pkgs/development/python-modules/pylpsd/default.nix @@ -0,0 +1,33 @@ +{ lib +, fetchPypi +, buildPythonPackage +, numpy +, scipy +}: + +buildPythonPackage rec { + pname = "pylpsd"; + version = "0.1.4"; + src = fetchPypi { + inherit pname version; + hash = "sha256-evPL9vF75S8ATkFwzQjh4pLI/aXGXWwoypCb24nXAN8="; + }; + + # Tests fail and there are none + doCheck = false; + pythonImportsCheck = [ + "pylpsd" + ]; + + propagatedBuildInputs = [ + numpy + scipy + ]; + + meta = with lib; { + description = "Python implementation of the LPSD algorithm for computing power spectral density with logarithmically spaced points."; + homepage = "https://github.com/bleykauf/py-lpsd"; + license = licenses.mit; + maintainers = with maintainers; [ doronbehar ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 617356b42c4e..b8f57b0c2845 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8060,6 +8060,8 @@ self: super: with self; { pylsp-mypy = callPackage ../development/python-modules/pylsp-mypy { }; + pylpsd = callPackage ../development/python-modules/pylpsd { }; + PyLTI = callPackage ../development/python-modules/pylti { }; pylutron = callPackage ../development/python-modules/pylutron { };