2019-02-16 19:53:29 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, pytest, numpy, scipy, matplotlib, pandas, tabulate, pythonOlder }:
|
2017-07-14 11:59:48 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "acoustics";
|
2019-02-16 19:53:29 +00:00
|
|
|
version = "0.2.0.post1";
|
2017-07-14 11:59:48 +00:00
|
|
|
|
2019-02-16 19:53:29 +00:00
|
|
|
checkInputs = [ pytest ];
|
2017-07-14 11:59:48 +00:00
|
|
|
propagatedBuildInputs = [ numpy scipy matplotlib pandas tabulate ];
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-16 19:53:29 +00:00
|
|
|
sha256 = "738218db41ff1b1f932eabb700e400d84141af6f29392aab5f7be1b19758f806";
|
2017-07-14 11:59:48 +00:00
|
|
|
};
|
|
|
|
|
2019-02-16 19:53:29 +00:00
|
|
|
# Tests look in wrong place for test data
|
2017-07-14 11:59:48 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2019-02-16 19:53:29 +00:00
|
|
|
checkPhase = ''
|
|
|
|
py.test tests
|
|
|
|
'';
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
meta = with lib; {
|
2017-07-14 11:59:48 +00:00
|
|
|
description = "A package for acousticians";
|
2017-12-05 22:20:11 +00:00
|
|
|
maintainers = with maintainers; [ fridh ];
|
2017-07-14 11:59:48 +00:00
|
|
|
license = with licenses; [ bsd3 ];
|
|
|
|
homepage = https://github.com/python-acoustics/python-acoustics;
|
|
|
|
};
|
|
|
|
}
|