2023-03-08 16:32:21 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, uncompyle6
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
2020-05-15 21:57:56 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "unrpa";
|
|
|
|
version = "2.3.0";
|
2023-03-08 16:32:21 +00:00
|
|
|
format = "setuptools";
|
2020-05-15 21:57:56 +00:00
|
|
|
|
2023-03-08 16:32:21 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2020-05-15 21:57:56 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0yl4qdwp3in170ks98qnldqz3r2iyzil5g1775ccg98qkh95s724";
|
|
|
|
};
|
|
|
|
|
2023-03-08 16:32:21 +00:00
|
|
|
passthru.optional-dependencies = {
|
|
|
|
ZiX = [ uncompyle6 ];
|
|
|
|
};
|
2020-05-15 21:57:56 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [ "unrpa" ];
|
|
|
|
|
2023-03-08 16:32:21 +00:00
|
|
|
# upstream has no unit tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2020-05-15 21:57:56 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/Lattyware/unrpa";
|
2023-03-08 16:32:21 +00:00
|
|
|
changelog = "https://github.com/Lattyware/unrpa/releases/tag/${version}";
|
2020-05-15 21:57:56 +00:00
|
|
|
description = "A program to extract files from the RPA archive format";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "unrpa";
|
2020-05-15 21:57:56 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ leo60228 ];
|
|
|
|
};
|
|
|
|
}
|