Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 746 B view raw
1{ lib, buildPythonPackage, fetchPypi 2, pytest, numpy, scipy, matplotlib, pandas, tabulate, pythonOlder }: 3 4buildPythonPackage rec { 5 pname = "acoustics"; 6 version = "0.2.0.post2"; 7 8 checkInputs = [ pytest ]; 9 propagatedBuildInputs = [ numpy scipy matplotlib pandas tabulate ]; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "c0ca4d7ca67fd867c3a7e34232a98a1fc210ee7ff845f3d2eed445a01737b2ff"; 14 }; 15 16 checkPhase = '' 17 pushd tests 18 py.test ./. 19 popd 20 ''; 21 22 disabled = pythonOlder "3.6"; 23 24 meta = with lib; { 25 description = "A package for acousticians"; 26 maintainers = with maintainers; [ fridh ]; 27 license = with licenses; [ bsd3 ]; 28 homepage = https://github.com/python-acoustics/python-acoustics; 29 }; 30}