nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 uncompyle6,
6}:
7
8buildPythonPackage rec {
9 pname = "unrpa";
10 version = "2.3.0";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "0yl4qdwp3in170ks98qnldqz3r2iyzil5g1775ccg98qkh95s724";
16 };
17
18 optional-dependencies = {
19 ZiX = [ uncompyle6 ];
20 };
21
22 pythonImportsCheck = [ "unrpa" ];
23
24 # upstream has no unit tests
25 doCheck = false;
26
27 meta = {
28 homepage = "https://github.com/Lattyware/unrpa";
29 changelog = "https://github.com/Lattyware/unrpa/releases/tag/${version}";
30 description = "Program to extract files from the RPA archive format";
31 mainProgram = "unrpa";
32 license = lib.licenses.gpl3;
33 maintainers = with lib.maintainers; [ leo60228 ];
34 };
35}