Unverified Commit ffd69736 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python310Packages.deploykit: add pythonImportsCheck

- disable on unsupported Python releases
parent 051dd317
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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";