blob: e7b1db45a4ad9642a83c1008daf3f8e5df3f8a8d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{ 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 ];
};
}
|