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