about summary refs log tree commit diff
path: root/pkgs/development/python-modules/deploykit
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-12-13 21:37:39 +0100
committerGitHub <noreply@github.com>2022-12-13 21:37:39 +0100
commitffd697364fdd28e3bf02f396a2a84fcca413c699 (patch)
treee1e00f2b63e2e3d84468ddf802316d1ec1d6a6ce /pkgs/development/python-modules/deploykit
parent051dd317287b49a0878955dcbd5507e65cd89b7f (diff)
python310Packages.deploykit: add pythonImportsCheck
- disable on unsupported Python releases
Diffstat (limited to 'pkgs/development/python-modules/deploykit')
-rw-r--r--pkgs/development/python-modules/deploykit/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/deploykit/default.nix b/pkgs/development/python-modules/deploykit/default.nix
index 671ac0213c517..87f734169ad1c 100644
--- a/pkgs/development/python-modules/deploykit/default.nix
+++ b/pkgs/development/python-modules/deploykit/default.nix
@@ -5,12 +5,16 @@
 , bash
 , openssh
 , pytestCheckHook
+, pythonOlder
 , stdenv
 }:
 
 buildPythonPackage rec {
   pname = "deploykit";
   version = "1.0.2";
+  format = "setuptools";
+
+  disabled = pythonOlder "3.8";
 
   src = fetchFromGitHub {
     owner = "numtide";
@@ -34,6 +38,10 @@ buildPythonPackage rec {
   # don't swallow stdout/stderr
   pytestFlagsArray = [ "-s" ];
 
+  pythonImportsCheck = [
+    "deploykit"
+  ];
+
   meta = with lib; {
     description = "Execute commands remote via ssh and locally in parallel with python";
     homepage = "https://github.com/numtide/deploykit";