about summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2020-06-02 23:07:51 -0700
committerJon <jonringer@users.noreply.github.com>2020-06-03 11:29:15 -0700
commit903e0ecd2ff9795ccdb7c98251b71958819735dd (patch)
treed24c180863652c905b7f43d5ea96422d0e1b681b /pkgs/development/python-modules
parentfd19d900d3111af8aedc65ef25a882707105935f (diff)
downloadnixlib-903e0ecd2ff9795ccdb7c98251b71958819735dd.tar
nixlib-903e0ecd2ff9795ccdb7c98251b71958819735dd.tar.gz
nixlib-903e0ecd2ff9795ccdb7c98251b71958819735dd.tar.bz2
nixlib-903e0ecd2ff9795ccdb7c98251b71958819735dd.tar.lz
nixlib-903e0ecd2ff9795ccdb7c98251b71958819735dd.tar.xz
nixlib-903e0ecd2ff9795ccdb7c98251b71958819735dd.tar.zst
nixlib-903e0ecd2ff9795ccdb7c98251b71958819735dd.zip
python3Packages.minio: fix build, fix tests
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/minio/default.nix23
1 files changed, 19 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/minio/default.nix b/pkgs/development/python-modules/minio/default.nix
index f1255f3636c8..6fdc962cdb46 100644
--- a/pkgs/development/python-modules/minio/default.nix
+++ b/pkgs/development/python-modules/minio/default.nix
@@ -1,19 +1,34 @@
 { lib, buildPythonPackage, isPy3k, fetchPypi
-, urllib3, future, python-dateutil , pytz, faker, mock, nose }:
+, configparser
+, faker
+, future
+, mock
+, nose
+, python-dateutil
+, pytz
+, pytestCheckHook
+, urllib3
+}:
 
 buildPythonPackage rec {
   pname = "minio";
   version = "5.0.10";
+  disabled = !isPy3k;
 
   src = fetchPypi {
     inherit pname version;
     sha256 = "6ecb7637a35f806733e9d112eacfa599a58d7c3d4698fda2b5c86fff5d34b417";
   };
 
-  disabled = !isPy3k;
+  propagatedBuildInputs = [
+    configparser
+    future
+    python-dateutil
+    pytz
+    urllib3
+  ];
 
-  checkInputs = [ faker mock nose ];
-  propagatedBuildInputs = [ urllib3 python-dateutil pytz future ];
+  checkInputs = [ faker mock nose pytestCheckHook ];
 
   meta = with lib; {
     description = "Simple APIs to access any Amazon S3 compatible object storage server";