Files
nixpkgs/pkgs/by-name/ho/honcho/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

51 lines
981 B
Nix

{
lib,
fetchFromGitHub,
python3Packages,
}:
python3Packages.buildPythonApplication rec {
pname = "honcho";
version = "2.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "nickstenning";
repo = "honcho";
tag = "v${version}";
hash = "sha256-hXPoqxK9jzCn7KrQ6zH0E/3YVC60OSoiUx6654+bhhw=";
};
build-system = with python3Packages; [
setuptools
setuptools-scm
];
nativeCheckInputs = with python3Packages; [
jinja2
pytest
mock
coverage
];
# missing plugins
doCheck = false;
checkPhase = ''
runHook preCheck
PATH=$out/bin:$PATH coverage run -m pytest
runHook postCheck
'';
meta = {
description = "Python clone of Foreman, a tool for managing Procfile-based applications";
license = lib.licenses.mit;
homepage = "https://github.com/nickstenning/honcho";
maintainers = with lib.maintainers; [ benley ];
platforms = lib.platforms.unix;
mainProgram = "honcho";
};
}