about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pycountry
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2021-10-10 05:07:15 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2021-10-11 01:22:11 +0200
commit0e8b3299cea0d1c83a59c060fb3a8fb6336a4692 (patch)
treea73cca318f6282aa3fc6be4f6a7b5e70ebe1abb4 /pkgs/development/python-modules/pycountry
parentfd2d5dd3398acc4b34540250a8339c1207b3cbf8 (diff)
python3Packages.pycountry: enable tests
Diffstat (limited to 'pkgs/development/python-modules/pycountry')
-rw-r--r--pkgs/development/python-modules/pycountry/default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/pycountry/default.nix b/pkgs/development/python-modules/pycountry/default.nix
index 525a56107118b..86aff2e4808cd 100644
--- a/pkgs/development/python-modules/pycountry/default.nix
+++ b/pkgs/development/python-modules/pycountry/default.nix
@@ -1,7 +1,7 @@
 { lib
 , buildPythonPackage
 , fetchPypi
-,
+, pytestCheckHook
 }:
 
 buildPythonPackage rec {
@@ -13,10 +13,19 @@ buildPythonPackage rec {
     sha256 = "0hnbabsmqimx5hqh0jbd2f64i8fhzhhbrvid57048hs5sd9ll241";
   };
 
+  checkInputs = [
+    pytestCheckHook
+  ];
+
+  pythonImportsCheck = [
+    "pycountry"
+  ];
+
   meta = with lib; {
     homepage = "https://bitbucket.org/flyingcircus/pycountry";
     description = "ISO country, subdivision, language, currency and script definitions and their translations";
     license = licenses.lgpl2;
+    maintainers = with maintainers; [ ];
   };
 
 }