1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools-scm 5}: 6buildPythonPackage rec { 7 pname = "rpmfile"; 8 version = "2.0.0"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "sha256-tLDdVTrZlxGk+oYmeCm/4XLAPx6hzkztJP+lXtiDhb4="; 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}