Files
nixpkgs/pkgs/by-name/po/podman-compose/package.nix
Sandro Jäckel 428d923acb podman-compose: drop pypaBuildHook
I have no idea why and for what it could be useful, but it propagates
wheel and seems rather smelly code style.
2026-07-27 22:15:45 +02:00

49 lines
1.0 KiB
Nix

{
lib,
python3Packages,
fetchFromGitHub,
}:
python3Packages.buildPythonApplication (finalAttrs: {
version = "1.6.0";
pname = "podman-compose";
pyproject = true;
src = fetchFromGitHub {
repo = "podman-compose";
owner = "containers";
tag = "v${finalAttrs.version}";
hash = "sha256-zkXLZfYWpIaQYoUU7GcGnkuTBmhzpJkyojbzFuTR5FI=";
};
build-system = [
python3Packages.setuptools
];
dependencies = with python3Packages; [
python-dotenv
pyyaml
];
nativeCheckInputs = with python3Packages; [
pytestCheckHook
parameterized
];
disabledTestPaths = [
"tests/integration" # requires running podman
];
# versionCheckHook requires podman executable
meta = {
description = "Implementation of docker-compose with podman backend";
homepage = "https://github.com/containers/podman-compose";
license = lib.licenses.gpl2Only;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.sikmir ];
teams = [ lib.teams.podman ];
mainProgram = "podman-compose";
};
})