about summary refs log tree commit diff
path: root/pkgs/development/python-modules/acoustics
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2019-02-16 20:53:29 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2019-02-16 20:53:44 +0100
commitb54a48561354b682b5cb441b87775ae931797f7a (patch)
treec7443c8f634d152f44a74a8064853656316481aa /pkgs/development/python-modules/acoustics
parent3c9e2820ac63adfc95cf91d6d789f66f9d10baeb (diff)
downloadnixlib-b54a48561354b682b5cb441b87775ae931797f7a.tar
nixlib-b54a48561354b682b5cb441b87775ae931797f7a.tar.gz
nixlib-b54a48561354b682b5cb441b87775ae931797f7a.tar.bz2
nixlib-b54a48561354b682b5cb441b87775ae931797f7a.tar.lz
nixlib-b54a48561354b682b5cb441b87775ae931797f7a.tar.xz
nixlib-b54a48561354b682b5cb441b87775ae931797f7a.tar.zst
nixlib-b54a48561354b682b5cb441b87775ae931797f7a.zip
python.pkgs.acoustics: 0.1.2 -> 0.2.0.post1
Diffstat (limited to 'pkgs/development/python-modules/acoustics')
-rw-r--r--pkgs/development/python-modules/acoustics/default.nix21
1 files changed, 13 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/acoustics/default.nix b/pkgs/development/python-modules/acoustics/default.nix
index 2b145810f1bd..7b26d5c07a5a 100644
--- a/pkgs/development/python-modules/acoustics/default.nix
+++ b/pkgs/development/python-modules/acoustics/default.nix
@@ -1,26 +1,31 @@
-{ stdenv, buildPythonPackage, fetchPypi
-, cython, pytest, numpy, scipy, matplotlib, pandas, tabulate }:
+{ lib, buildPythonPackage, fetchPypi
+, pytest, numpy, scipy, matplotlib, pandas, tabulate, pythonOlder }:
 
 buildPythonPackage rec {
   pname = "acoustics";
-  version = "0.1.2";
+  version = "0.2.0.post1";
 
-  buildInputs = [ cython pytest ];
+  checkInputs = [ pytest ];
   propagatedBuildInputs = [ numpy scipy matplotlib pandas tabulate ];
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "b75a47de700d01e704de95953a6e969922b2f510d7eefe59f7f8980ad44ad1b7";
+    sha256 = "738218db41ff1b1f932eabb700e400d84141af6f29392aab5f7be1b19758f806";
   };
 
-  # Tests not distributed
+  # Tests look in wrong place for test data
   doCheck = false;
 
-  meta = with stdenv.lib; {
+  checkPhase = ''
+    py.test tests
+  '';
+
+  disabled = pythonOlder "3.6";
+
+  meta = with lib; {
     description = "A package for acousticians";
     maintainers = with maintainers; [ fridh ];
     license = with licenses; [ bsd3 ];
     homepage = https://github.com/python-acoustics/python-acoustics;
-    broken = true;
   };
 }