Files
nixpkgs/pkgs/by-name/py/pykickstart/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

50 lines
1.1 KiB
Nix

{
lib,
python3Packages,
fetchFromGitHub,
gettext,
gitMinimal,
}:
python3Packages.buildPythonApplication rec {
pname = "pykickstart";
version = "3.66";
pyproject = true;
src = fetchFromGitHub {
owner = "pykickstart";
repo = "pykickstart";
tag = "r${version}";
hash = "sha256-2PC8QHJGy+7IwRA5u+Kw6LYxkWV9uZ87sB8nd/7t9sw=";
};
build-system = with python3Packages; [
setuptools
];
dependencies = with python3Packages; [
requests
];
nativeBuildInputs = [
gettext
gitMinimal
];
# All checks are for RedHat's weird translation library.
# Can't package it and not really necessary so disable them.
doCheck = false;
pythonImportsCheck = [ "pykickstart" ];
meta = {
description = "Python package to interact with Kickstart files commonly found in the RPM world";
homepage = "https://github.com/pykickstart/pykickstart";
changelog = "https://github.com/pykickstart/pykickstart/releases/tag/${src.tag}";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [
thefossguy
];
};
}