1{ stdenv, buildPythonPackage, fetchPypi
2, cython, pytest, numpy, scipy, matplotlib, pandas, tabulate }:
3
4buildPythonPackage rec {
5 pname = "acoustics";
6 version = "0.1.2";
7 name = "${pname}-${version}";
8
9 buildInputs = [ cython pytest ];
10 propagatedBuildInputs = [ numpy scipy matplotlib pandas tabulate ];
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "b75a47de700d01e704de95953a6e969922b2f510d7eefe59f7f8980ad44ad1b7";
15 };
16
17 # Tests not distributed
18 doCheck = false;
19
20 meta = with stdenv.lib; {
21 description = "A package for acousticians";
22 maintainers = with maintainers; [ fridh ];
23 license = with licenses; [ bsd3 ];
24 homepage = https://github.com/python-acoustics/python-acoustics;
25 };
26}