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