2022-11-21 00:00:51 -08:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
requests,
|
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 {
|
|
|
|
pname = "bugzilla";
|
2023-11-28 17:39:50 +01:00
|
|
|
version = "3.2.0";
|
2023-12-07 16:53:02 +13:00
|
|
|
format = "setuptools";
|
2018-03-31 17:29:49 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2019-07-04 13:49:03 +02:00
|
|
|
pname = "python-${pname}";
|
|
|
|
inherit version;
|
2023-11-28 17:39:50 +01:00
|
|
|
sha256 = "TvyM+il4N8nk6rIg4ZcXZxW9Ye4zzsLBsPJ5DweGA4c=";
|
2018-03-31 17:29:49 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [
|
2023-11-28 17:39:50 +01:00
|
|
|
pytestCheckHook
|
|
|
|
glibcLocalesUtf8
|
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
|
|
|
};
|
|
|
|
}
|