about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/rpmfile/default.nix
blob: e5d656795c2a8dbfc7203d3fd4cbeee9afe7f220 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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;
  };
}