python310Packages.deploykit: add pythonImportsCheck

- disable on unsupported Python releases
This commit is contained in:
Fabian Affolter 2022-12-13 21:37:39 +01:00 committed by GitHub
parent 051dd31728
commit ffd697364f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";