Files
nixpkgs/pkgs/development/python-modules/deploykit/default.nix
Ihar Hrachyshka 567e8dfd8e 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 18:09:49 +01:00

54 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
bash,
openssh,
pytestCheckHook,
pythonOlder,
stdenv,
}:
buildPythonPackage rec {
pname = "deploykit";
version = "1.2.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "numtide";
repo = "deploykit";
rev = version;
hash = "sha256-RONE/oJdNmVjLYdJWDTzyXnmStkLIx92GsydaYYG5O4=";
};
build-system = [ hatchling ];
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;
};
}