Skip to content

Commit

Permalink
Merge pull request NixOS#200848 from doronbehar/pkg/pylpsd
Browse files Browse the repository at this point in the history
python3.pkgs.pylpsd: init at 0.1.4
  • Loading branch information
doronbehar authored Nov 14, 2022
2 parents 2a3c864 + da73c86 commit 4abcf3e
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
33 changes: 33 additions & 0 deletions pkgs/development/python-modules/pylpsd/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{ 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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8060,6 +8060,8 @@ self: super: with self; {

pylsp-mypy = callPackage ../development/python-modules/pylsp-mypy { };

pylpsd = callPackage ../development/python-modules/pylpsd { };

PyLTI = callPackage ../development/python-modules/pylti { };

pylutron = callPackage ../development/python-modules/pylutron { };
Expand Down

0 comments on commit 4abcf3e

Please sign in to comment.