f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
31 lines
616 B
Nix
31 lines
616 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools-scm,
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "rpmfile";
|
|
version = "2.1.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-CsK7qJJ3xxhcuGHJxtfQyaJovlFpUW28amjxVWqeP5k=";
|
|
};
|
|
|
|
# Tests access the internet
|
|
doCheck = false;
|
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
|
|
|
pythonImportsCheck = [ "rpmfile" ];
|
|
|
|
meta = with lib; {
|
|
description = "Read rpm archive files";
|
|
mainProgram = "rpmfile";
|
|
homepage = "https://github.com/srossross/rpmfile";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|