mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 11:50:06 +00:00
I have no idea why and for what it could be useful, but it propagates wheel and seems rather smelly code style.
49 lines
1.0 KiB
Nix
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";
|
|
};
|
|
})
|