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