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