about summary refs log tree commit diff
path: root/pkgs/development/python-modules/icnsutil/default.nix
diff options
context:
space:
mode:
authorRandy Eckenrode <randy@largeandhighquality.com>2022-02-28 18:07:29 -0500
committerRandy Eckenrode <randy@largeandhighquality.com>2022-03-01 17:28:44 -0500
commit1f59c76c66a946075b83195c55bae8938c303d05 (patch)
tree214930fc0b1e476a6e0bf687a38f8fe6abcd1a42 /pkgs/development/python-modules/icnsutil/default.nix
parent67763c6f59b92b89b10fdbd4657a537518c0d0e7 (diff)
icnsutil: pull from the Python package set
Co-authored-by: Jonathan Ringer <jonringer@users.noreply.github.com>
Diffstat (limited to 'pkgs/development/python-modules/icnsutil/default.nix')
-rw-r--r--pkgs/development/python-modules/icnsutil/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/icnsutil/default.nix b/pkgs/development/python-modules/icnsutil/default.nix
index 2db713977d1fe..05c24ec7c37e7 100644
--- a/pkgs/development/python-modules/icnsutil/default.nix
+++ b/pkgs/development/python-modules/icnsutil/default.nix
@@ -1,9 +1,10 @@
 { lib
-, python3
+, python
 , fetchFromGitHub
+, buildPythonPackage
 }:
 
-python3.pkgs.buildPythonPackage rec {
+buildPythonPackage rec {
   pname = "icnsutil";
   version = "1.0.1";
 
@@ -17,8 +18,8 @@ python3.pkgs.buildPythonPackage rec {
   doCheck = true;
 
   checkPhase = ''
-    ${python3.interpreter} tests/test_icnsutil.py
-    ${python3.interpreter} tests/test_cli.py
+    ${python.interpreter} tests/test_icnsutil.py
+    ${python.interpreter} tests/test_cli.py
   '';
 
   meta = {