about summary refs log tree commit diff
path: root/pkgs/development/python-modules/rpmfile/default.nix
blob: 3f49d153a1bb3cf4da7c409f4a3d412e051ffc23 (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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools-scm,
}:
buildPythonPackage rec {
  pname = "rpmfile";
  version = "2.0.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-tLDdVTrZlxGk+oYmeCm/4XLAPx6hzkztJP+lXtiDhb4=";
  };

  # 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 = [ ];
  };
}