1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 requests, 7 responses, 8 pytestCheckHook, 9 glibcLocalesUtf8, 10}: 11 12buildPythonPackage rec { 13 pname = "python-bugzilla"; 14 version = "3.3.0"; 15 pyproject = true; 16 17 src = fetchPypi { 18 pname = "python_bugzilla"; 19 inherit version; 20 hash = "sha256-4YIgFx4DPrO6YAxNE5NZ0BqhrOwdrrxDCJEORQdj3kc="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 dependencies = [ requests ]; 26 27 nativeCheckInputs = [ 28 pytestCheckHook 29 glibcLocalesUtf8 30 responses 31 ]; 32 33 preCheck = '' 34 mkdir -p check-phase 35 export HOME=$(pwd)/check-phase 36 ''; 37 38 meta = with lib; { 39 homepage = "https://github.com/python-bugzilla/python-bugzilla"; 40 description = "Bugzilla XMLRPC access module"; 41 mainProgram = "bugzilla"; 42 license = licenses.gpl2Plus; 43 platforms = platforms.all; 44 maintainers = with maintainers; [ pierron ]; 45 }; 46}