about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pex
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2021-10-31 07:21:26 +0100
committerGitHub <noreply@github.com>2021-10-31 07:21:26 +0100
commit0e1318f826a7320c7dd0db3bc3160ee583d61357 (patch)
tree664f92deee65dabe2772c8970f121a8639ba76c6 /pkgs/development/python-modules/pex
parentf8f15d06acdc439795923139eb9cea1e3f2f55cf (diff)
python3Packages.pex: add pythonImportsCheck
Diffstat (limited to 'pkgs/development/python-modules/pex')
-rw-r--r--pkgs/development/python-modules/pex/default.nix12
1 files changed, 9 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/pex/default.nix b/pkgs/development/python-modules/pex/default.nix
index 3c026fe3950c1..f89132ac30f20 100644
--- a/pkgs/development/python-modules/pex/default.nix
+++ b/pkgs/development/python-modules/pex/default.nix
@@ -7,22 +7,28 @@
 buildPythonPackage rec {
   pname = "pex";
   version = "2.1.53";
+  format = "setuptools";
 
   src = fetchPypi {
     inherit pname version;
     sha256 = "802cd39468b4bf27ff23d9911f76a6c66689cc906e12b9102aeace6491a8d084";
   };
 
-  nativeBuildInputs = [ setuptools ];
+  nativeBuildInputs = [
+    setuptools
+  ];
 
   # A few more dependencies I don't want to handle right now...
   doCheck = false;
 
+  pythonImportsCheck = [
+    "pex"
+  ];
+
   meta = with lib; {
-    description = "A library and tool for generating .pex (Python EXecutable) files";
+    description = "Python library and tool for generating .pex (Python EXecutable) files";
     homepage = "https://github.com/pantsbuild/pex";
     license = licenses.asl20;
     maintainers = with maintainers; [ copumpkin ];
   };
-
 }