diff options
author | wisut hantanong <wizzup@gmail.com> | 2017-07-14 18:59:48 +0700 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2017-07-15 17:40:54 +0100 |
commit | 2d546a98e2d70e7a7836b038102f48f55f674b98 (patch) | |
tree | 76a7149b2dc1e69092421a3945419aaa74c393e2 /pkgs/development | |
parent | bcb73a13e36095e65b3461a07a09ee065886dc98 (diff) |
python.pkgs.acoustics: move to separate expression
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/acoustics/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/acoustics/default.nix b/pkgs/development/python-modules/acoustics/default.nix new file mode 100644 index 0000000000000..d1cb1180358fd --- /dev/null +++ b/pkgs/development/python-modules/acoustics/default.nix @@ -0,0 +1,26 @@ +{ stdenv, buildPythonPackage, fetchPypi +, cython, pytest, numpy, scipy, matplotlib, pandas, tabulate }: + +buildPythonPackage rec { + pname = "acoustics"; + version = "0.1.2"; + name = "${pname}-${version}"; + + buildInputs = [ cython pytest ]; + propagatedBuildInputs = [ numpy scipy matplotlib pandas tabulate ]; + + src = fetchPypi { + inherit pname version; + sha256 = "b75a47de700d01e704de95953a6e969922b2f510d7eefe59f7f8980ad44ad1b7"; + }; + + # Tests not distributed + doCheck = false; + + meta = with stdenv.lib; { + description = "A package for acousticians"; + maintainer = with maintainers; [ fridh ]; + license = with licenses; [ bsd3 ]; + homepage = https://github.com/python-acoustics/python-acoustics; + }; +} |