fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
41 lines
818 B
Nix
41 lines
818 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
requests,
|
|
pytestCheckHook,
|
|
glibcLocalesUtf8,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bugzilla";
|
|
version = "3.2.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
pname = "python-${pname}";
|
|
inherit version;
|
|
sha256 = "TvyM+il4N8nk6rIg4ZcXZxW9Ye4zzsLBsPJ5DweGA4c=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
glibcLocalesUtf8
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|