about summary refs log tree commit diff
path: root/pkgs/development/python-modules/unrpa/default.nix
blob: f02056506b11b97979b1a8ddb3f61be00cec6c78 (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
33
34
35
36
37
{ lib
, buildPythonPackage
, fetchPypi
, uncompyle6
, pythonOlder
}:

buildPythonPackage rec {
  pname = "unrpa";
  version = "2.3.0";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0yl4qdwp3in170ks98qnldqz3r2iyzil5g1775ccg98qkh95s724";
  };

  passthru.optional-dependencies = {
    ZiX = [ uncompyle6 ];
  };

  pythonImportsCheck = [ "unrpa" ];

  # upstream has no unit tests
  doCheck = false;

  meta = with lib; {
    homepage = "https://github.com/Lattyware/unrpa";
    changelog = "https://github.com/Lattyware/unrpa/releases/tag/${version}";
    description = "A program to extract files from the RPA archive format";
    mainProgram = "unrpa";
    license = licenses.gpl3;
    maintainers = with maintainers; [ leo60228 ];
  };
}