diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2022-11-03 09:30:06 +1000 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2022-11-04 08:53:01 +1000 |
commit | 0b0d4ece56d24c8e231d8de809b92f2da89b9879 (patch) | |
tree | 61d24dbdff945815bdfb9abd27fde8fc2a25a7eb /pkgs/development/python-modules/deploykit | |
parent | 45b546681874b344a53bdeb01bd41f13a5cfeba0 (diff) |
python3Packages.deploykit: init at 1.0.1
Diffstat (limited to 'pkgs/development/python-modules/deploykit')
-rw-r--r-- | pkgs/development/python-modules/deploykit/default.nix | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/deploykit/default.nix b/pkgs/development/python-modules/deploykit/default.nix new file mode 100644 index 0000000000000..6dc8ebde08419 --- /dev/null +++ b/pkgs/development/python-modules/deploykit/default.nix @@ -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; + }; +} |