dae973cb59
GitOrigin-RevId: c90c4025bb6e0c4eaf438128a3b2640314b1c58d
36 lines
787 B
Nix
36 lines
787 B
Nix
{ 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";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ leo60228 ];
|
|
};
|
|
}
|