Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 cryptography, 5 fetchPypi, 6 impacket, 7 lxml, 8 poetry-core, 9 pyasn1, 10 pythonOlder, 11}: 12 13buildPythonPackage rec { 14 pname = "dploot"; 15 version = "2.7.3"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-YlRXUSCzVRXxRQcmPzTeyPQ3zK+UlhO9BmZVx6qVRpc="; 23 }; 24 25 pythonRelaxDeps = [ 26 "cryptography" 27 "lxml" 28 "pyasn1" 29 ]; 30 31 32 build-system = [ poetry-core ]; 33 34 dependencies = [ 35 impacket 36 cryptography 37 pyasn1 38 lxml 39 ]; 40 41 pythonImportsCheck = [ "dploot" ]; 42 43 # No tests 44 doCheck = false; 45 46 meta = with lib; { 47 description = "DPAPI looting remotely in Python"; 48 homepage = "https://github.com/zblurx/dploot"; 49 changelog = "https://github.com/zblurx/dploot/releases/tag/${version}"; 50 license = licenses.mit; 51 maintainers = with maintainers; [ vncsb ]; 52 mainProgram = "dploot"; 53 }; 54}