summary refs log tree commit diff
path: root/pkgs/development/python-modules/natsort
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2018-02-26 22:53:18 +0100
committerVladimír Čunát <vcunat@gmail.com>2018-02-26 22:53:18 +0100
commitf5ce8f86dfa0a9f9dfe63462161f5ba982e57738 (patch)
tree051d54e5f5d5d1d0d9042e2b7f50bee36debb32f /pkgs/development/python-modules/natsort
parentb8f4df9d9e5ca70b6a873957e5b0899bb3b892dd (diff)
downloadnixpkgs-f5ce8f86dfa0a9f9dfe63462161f5ba982e57738.tar
nixpkgs-f5ce8f86dfa0a9f9dfe63462161f5ba982e57738.tar.gz
nixpkgs-f5ce8f86dfa0a9f9dfe63462161f5ba982e57738.tar.bz2
nixpkgs-f5ce8f86dfa0a9f9dfe63462161f5ba982e57738.tar.lz
nixpkgs-f5ce8f86dfa0a9f9dfe63462161f5ba982e57738.tar.xz
nixpkgs-f5ce8f86dfa0a9f9dfe63462161f5ba982e57738.tar.zst
nixpkgs-f5ce8f86dfa0a9f9dfe63462161f5ba982e57738.zip
Revert "Merge staging at '8d490ca9934d0' into master"
This reverts commit fc232422201c0364dbd57826c9a137cc1239caea, reversing
changes made to 754816b84b98afdc0727e13dd66e1698b097de6a.
We don't have many binaries yet.  Comment on the original merge commit.
Diffstat (limited to 'pkgs/development/python-modules/natsort')
-rw-r--r--pkgs/development/python-modules/natsort/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/natsort/default.nix b/pkgs/development/python-modules/natsort/default.nix
index 3e4b0d1368b..a5940ed6c9f 100644
--- a/pkgs/development/python-modules/natsort/default.nix
+++ b/pkgs/development/python-modules/natsort/default.nix
@@ -1,9 +1,12 @@
 { lib
 , buildPythonPackage
 , pythonOlder
+, isPy35
+, isPy36
 , fetchPypi
 , hypothesis
 , pytestcache
+, pytestcov
 , pytestflakes
 , pytestpep8
 , pytest
@@ -16,9 +19,10 @@ buildPythonPackage rec {
   pname = "natsort";
   version = "5.2.0";
 
-  checkInputs = [
+  buildInputs = [
     hypothesis
     pytestcache
+    pytestcov
     pytestflakes
     pytestpep8
     pytest
@@ -37,7 +41,7 @@ buildPythonPackage rec {
   # testing based on project's tox.ini
   checkPhase = ''
     pytest --doctest-modules natsort
-    pytest --flakes --pep8
+    pytest --flakes --pep8 --cov natsort --cov-report term-missing
   '';
 
   meta = {