depot/third_party/nixpkgs/pkgs/development/python-modules/python-bugzilla/default.nix
Default email ae2dc6aea6 Project import generated by Copybara.
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
2024-10-11 07:15:48 +02:00

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 ];
};
}