Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools-scm 5}: 6buildPythonPackage rec { 7 pname = "rpmfile"; 8 version = "1.1.1"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "sha256-ZxcHe1QxdG2GBIPMNrnJy6Vd8SRgZ4HOtwsks2be8Cs="; 13 }; 14 15 # Tests access the internet 16 doCheck = false; 17 18 nativeBuildInputs = [ 19 setuptools-scm 20 ]; 21 22 pythonImportsCheck = [ 23 "rpmfile" 24 ]; 25 26 meta = with lib; { 27 description = "Read rpm archive files"; 28 homepage = "https://github.com/srossross/rpmfile"; 29 license = licenses.mit; 30 maintainers = [ ]; 31 }; 32}