01ed8ef136
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
33 lines
695 B
Nix
33 lines
695 B
Nix
{ 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 ];
|
|
};
|
|
}
|