Files
nixpkgs/pkgs/development/python-modules/deploykit/default.nix
Ihar Hrachyshka cca3b04b44 treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 19:01:23 +01:00

54 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
bash,
openssh,
pytestCheckHook,
pythonOlder,
stdenv,
}:
buildPythonPackage rec {
pname = "deploykit";
version = "1.1.1";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "numtide";
repo = "deploykit";
rev = version;
hash = "sha256-7PiXq1bQJ1jswLHNqCDSYZabgfp8HRuRt5YPGzd5Ej0=";
};
buildInputs = [ setuptools ];
nativeCheckInputs = [
bash
openssh
pytestCheckHook
];
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ "test_ssh" ];
# don't swallow stdout/stderr
pytestFlags = [ "-s" ];
pythonImportsCheck = [ "deploykit" ];
meta = {
description = "Execute commands remote via ssh and locally in parallel with python";
homepage = "https://github.com/numtide/deploykit";
changelog = "https://github.com/numtide/deploykit/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
mic92
zowoq
];
platforms = lib.platforms.unix;
};
}