python3Packages.deploykit: init at 1.0.1

This commit is contained in:
zowoq 2022-11-03 09:30:06 +10:00
parent 45b5466818
commit 0b0d4ece56
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,44 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, bash
, openssh
, pytestCheckHook
, stdenv
}:
buildPythonPackage rec {
pname = "deploykit";
version = "1.0.1";
src = fetchFromGitHub {
owner = "numtide";
repo = pname;
rev = version;
hash = "sha256-eKyqsGgnJmF2wUYa7HjC1Jwsh03qVTJEP1MtL7JL4Ts=";
};
buildInputs = [
setuptools
];
checkInputs = [
bash
openssh
pytestCheckHook
];
disabledTests = lib.optionals stdenv.isDarwin [ "test_ssh" ];
# don't swallow stdout/stderr
pytestFlagsArray = [ "-s" ];
meta = with lib; {
description = "Execute commands remote via ssh and locally in parallel with python";
homepage = "https://github.com/numtide/deploykit";
license = licenses.mit;
maintainers = with maintainers; [ mic92 zowoq ];
platforms = platforms.unix;
};
}

View File

@ -2287,6 +2287,8 @@ self: super: with self; {
dependency-injector = callPackage ../development/python-modules/dependency-injector { };
deploykit = callPackage ../development/python-modules/deploykit { };
deprecated = callPackage ../development/python-modules/deprecated { };
deprecation = callPackage ../development/python-modules/deprecation { };