mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-28 00:40:33 +00:00
49 lines
804 B
Nix
49 lines
804 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
defusedxml,
|
|
python-dateutil,
|
|
requests,
|
|
requests-gssapi,
|
|
six,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "koji";
|
|
version = "1.36.1";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-j6KnXseGwQB83MLFWJVtxkY7axzI9oIBonsUUVZYZEQ=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
defusedxml
|
|
python-dateutil
|
|
requests
|
|
requests-gssapi
|
|
six
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"koji"
|
|
"koji_cli"
|
|
];
|
|
|
|
meta = {
|
|
description = "System for building and tracking RPMs";
|
|
homepage = "https://pagure.io/koji/";
|
|
license = with lib.licenses; [
|
|
lgpl2Plus
|
|
gpl2Plus
|
|
];
|
|
maintainers = with lib.maintainers; [ katexochen ];
|
|
mainProgram = "koji";
|
|
};
|
|
}
|