2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchPypi,
|
|
|
|
buildPythonPackage,
|
|
|
|
numpy,
|
|
|
|
scipy,
|
2022-11-21 17:40:18 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pylpsd";
|
|
|
|
version = "0.1.4";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2022-11-21 17:40:18 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-evPL9vF75S8ATkFwzQjh4pLI/aXGXWwoypCb24nXAN8=";
|
|
|
|
};
|
|
|
|
|
|
|
|
# Tests fail and there are none
|
|
|
|
doCheck = false;
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "pylpsd" ];
|
2022-11-21 17:40:18 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
|
|
|
scipy
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Python implementation of the LPSD algorithm for computing power spectral density with logarithmically spaced points";
|
2022-11-21 17:40:18 +00:00
|
|
|
homepage = "https://github.com/bleykauf/py-lpsd";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ doronbehar ];
|
|
|
|
};
|
|
|
|
}
|