1{ lib
2, fetchPypi
3, buildPythonPackage
4, numpy
5, scipy
6}:
7
8buildPythonPackage rec {
9 pname = "pylpsd";
10 version = "0.1.4";
11 src = fetchPypi {
12 inherit pname version;
13 hash = "sha256-evPL9vF75S8ATkFwzQjh4pLI/aXGXWwoypCb24nXAN8=";
14 };
15
16 # Tests fail and there are none
17 doCheck = false;
18 pythonImportsCheck = [
19 "pylpsd"
20 ];
21
22 propagatedBuildInputs = [
23 numpy
24 scipy
25 ];
26
27 meta = with lib; {
28 description = "Python implementation of the LPSD algorithm for computing power spectral density with logarithmically spaced points.";
29 homepage = "https://github.com/bleykauf/py-lpsd";
30 license = licenses.mit;
31 maintainers = with maintainers; [ doronbehar ];
32 };
33}