about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pylpsd/default.nix
blob: c04d82c802762ee636691e50044aa3a6e73b2158 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ 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 ];
  };
}