ae2dc6aea6
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
46 lines
891 B
Nix
46 lines
891 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
requests,
|
|
responses,
|
|
pytestCheckHook,
|
|
glibcLocalesUtf8,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-bugzilla";
|
|
version = "3.3.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "python_bugzilla";
|
|
inherit version;
|
|
hash = "sha256-4YIgFx4DPrO6YAxNE5NZ0BqhrOwdrrxDCJEORQdj3kc=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ requests ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
glibcLocalesUtf8
|
|
responses
|
|
];
|
|
|
|
preCheck = ''
|
|
mkdir -p check-phase
|
|
export HOME=$(pwd)/check-phase
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/python-bugzilla/python-bugzilla";
|
|
description = "Bugzilla XMLRPC access module";
|
|
mainProgram = "bugzilla";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ pierron ];
|
|
};
|
|
}
|