3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/rpmfile/default.nix

33 lines
612 B
Nix
Raw Normal View History

2021-04-15 22:52:12 +01:00
{ 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;
};
}