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