at master 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pysimplesoap, 6 pythonOlder, 7 setuptools, 8 distutils, 9}: 10 11buildPythonPackage rec { 12 pname = "python-debianbts"; 13 version = "4.1.1"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.8"; 17 18 src = fetchPypi { 19 inherit version; 20 pname = "python_debianbts"; 21 hash = "sha256-9EOxjOJBGzcxA3hHFeZwffA09I2te+OHppF7FuFU15M="; 22 }; 23 24 postPatch = '' 25 sed -i "/--cov/d" pyproject.toml 26 ''; 27 28 build-system = [ setuptools ]; 29 30 dependencies = [ 31 pysimplesoap 32 distutils 33 ]; 34 35 # Most tests require network access 36 doCheck = false; 37 38 pythonImportsCheck = [ "debianbts" ]; 39 40 meta = { 41 description = "Python interface to Debian's Bug Tracking System"; 42 mainProgram = "debianbts"; 43 homepage = "https://github.com/venthur/python-debianbts"; 44 downloadPage = "https://pypi.org/project/python-debianbts/"; 45 changelog = "https://github.com/venthur/python-debianbts/blob/${version}/CHANGELOG.md"; 46 license = lib.licenses.mit; 47 maintainers = with lib.maintainers; [ nicoo ]; 48 }; 49}