2022-11-21 08:00:51 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
2024-10-17 20:42:23 +00:00
|
|
|
setuptools,
|
2022-11-21 08:00:51 +00:00
|
|
|
requests,
|
2024-10-17 03:17:53 +00:00
|
|
|
responses,
|
2022-11-26 17:43:58 +00:00
|
|
|
pytestCheckHook,
|
2023-11-28 16:39:50 +00:00
|
|
|
glibcLocalesUtf8,
|
2022-11-21 08:00:51 +00:00
|
|
|
}:
|
2018-03-31 15:29:49 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2024-10-17 20:45:46 +00:00
|
|
|
pname = "python-bugzilla";
|
2024-10-17 03:17:53 +00:00
|
|
|
version = "3.3.0";
|
2024-10-17 20:42:23 +00:00
|
|
|
pyproject = true;
|
2018-03-31 15:29:49 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-10-17 20:45:46 +00:00
|
|
|
pname = "python_bugzilla";
|
2019-07-04 11:49:03 +00:00
|
|
|
inherit version;
|
2024-10-16 21:09:57 +00:00
|
|
|
hash = "sha256-4YIgFx4DPrO6YAxNE5NZ0BqhrOwdrrxDCJEORQdj3kc=";
|
2018-03-31 15:29:49 +00:00
|
|
|
};
|
|
|
|
|
2024-10-17 20:42:23 +00:00
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
|
|
|
dependencies = [ requests ];
|
2018-03-31 15:29:49 +00:00
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [
|
2023-11-28 16:39:50 +00:00
|
|
|
pytestCheckHook
|
|
|
|
glibcLocalesUtf8
|
2024-10-17 03:17:53 +00:00
|
|
|
responses
|
2022-11-26 17:43:58 +00:00
|
|
|
];
|
|
|
|
|
2018-03-31 15:29:49 +00:00
|
|
|
preCheck = ''
|
|
|
|
mkdir -p check-phase
|
|
|
|
export HOME=$(pwd)/check-phase
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/python-bugzilla/python-bugzilla";
|
2018-03-31 15:29:49 +00:00
|
|
|
description = "Bugzilla XMLRPC access module";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "bugzilla";
|
2022-11-26 17:43:58 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2018-03-31 15:29:49 +00:00
|
|
|
platforms = platforms.all;
|
2021-10-14 08:59:33 +00:00
|
|
|
maintainers = with maintainers; [ pierron ];
|
2018-03-31 15:29:49 +00:00
|
|
|
};
|
|
|
|
}
|