depot/third_party/nixpkgs/pkgs/development/python-modules/unrpa/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

38 lines
821 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";
mainProgram = "unrpa";
license = licenses.gpl3;
maintainers = with maintainers; [ leo60228 ];
};
}