1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchPypi 5, chardet 6}: 7 8buildPythonPackage rec { 9 pname = "python-debian"; 10 version = "0.1.49"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.5"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-jPZ3ow28tL56mVNsF+ETCKgnpNIgKNxZpn9sbdPw9Yw="; 18 }; 19 20 propagatedBuildInputs = [ 21 chardet 22 ]; 23 24 # No tests in archive 25 doCheck = false; 26 27 pythonImportsCheck = [ 28 "debian" 29 ]; 30 31 meta = with lib; { 32 description = "Debian package related modules"; 33 homepage = "https://salsa.debian.org/python-debian-team/python-debian"; 34 changelog = "https://salsa.debian.org/python-debian-team/python-debian/-/blob/master/debian/changelog"; 35 license = licenses.gpl2Plus; 36 maintainers = with maintainers; [ nickcao ]; 37 }; 38}