depot/third_party/nixpkgs/pkgs/development/python-modules/pylpsd/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

33 lines
720 B
Nix

{
lib,
fetchPypi,
buildPythonPackage,
numpy,
scipy,
}:
buildPythonPackage rec {
pname = "pylpsd";
version = "0.1.4";
format = "setuptools";
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 ];
};
}