python3.pkgs.rpmfile: init at 1.0.8

This commit is contained in:
Cole Helbling 2021-04-15 14:52:12 -07:00
parent ddea0864b6
commit 1a5230e4a9
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
}:
buildPythonPackage rec {
pname = "rpmfile";
version = "1.0.8";
src = fetchPypi {
inherit pname version;
sha256 = "e56cfc10e1a7d953b1890d81652a89400c614f4cdd9909464aece434d93c3a3e";
};
# Tests access the internet
doCheck = false;
nativeBuildInputs = [
setuptools-scm
];
pythonImportsCheck = [
"rpmfile"
];
meta = with lib; {
description = "Read rpm archive files";
homepage = "https://github.com/srossross/rpmfile";
license = licenses.mit;
maintainers = teams.determinatesystems.members;
};
}

View File

@ -7108,6 +7108,8 @@ in {
inherit python;
});
rpmfile = callPackage ../development/python-modules/rpmfile { };
rpmfluff = callPackage ../development/python-modules/rpmfluff { };
rpy2 = callPackage ../development/python-modules/rpy2 { };