diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2024-03-18 22:32:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-18 22:32:45 +0100 |
commit | 8f96c25c0e7e220a8d7a3d2a1f2b336b72b98b45 (patch) | |
tree | c2d7eb22273b8321c24c071317f9dd7c8d3cfc36 /pkgs/by-name | |
parent | 212b26acdfc5cda026e29bed0000fe2755719993 (diff) | |
parent | fc104b59ceed3a0f8581b19f6110eab211ee4300 (diff) |
Merge pull request #296882 from fabaff/donpapi
donpapi: init at 1.2.0
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/do/donpapi/package.nix | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/pkgs/by-name/do/donpapi/package.nix b/pkgs/by-name/do/donpapi/package.nix new file mode 100644 index 0000000000000..1271d67d398f6 --- /dev/null +++ b/pkgs/by-name/do/donpapi/package.nix @@ -0,0 +1,53 @@ +{ lib +, python3 +, fetchFromGitHub +}: + +python3.pkgs.buildPythonApplication rec { + pname = "donpapi"; + version = "1.2.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "login-securite"; + repo = "DonPAPI"; + rev = "refs/tags/V${version}"; + hash = "sha256-60aGnsr36X3mf91nH9ud0xyLBqKgzZ4ALucrLGpAuzQ="; + }; + + pythonRelaxDeps = [ + "cryptography" + "impacket" + "pyasn1" + ]; + + nativeBuildInputs = with python3.pkgs; [ + poetry-core + pythonRelaxDepsHook + ]; + + propagatedBuildInputs = with python3.pkgs; [ + cryptography + impacket + lnkparse3 + pyasn1 + pyjwt + setuptools + ]; + + # Project has no tests + doCheck = false; + + pythonImportsCheck = [ + "donpapi" + ]; + + meta = with lib; { + description = "Tool for dumping DPAPI credentials remotely"; + homepage = "https://github.com/login-securite/DonPAPI"; + changelog = "https://github.com/login-securite/DonPAPI/releases/tag/V${version}"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ fab ]; + mainProgram = "donpapi"; + }; +} |