mprocs: 0.7.1 -> 0.7.2 (#375444)
[NixPkgs.git] / pkgs / by-name / do / donpapi / package.nix
blob8a90402c027634f75182018c80994751781db687
2   lib,
3   python3,
4   fetchFromGitHub,
5 }:
7 python3.pkgs.buildPythonApplication rec {
8   pname = "donpapi";
9   version = "1.2.0";
10   pyproject = true;
12   src = fetchFromGitHub {
13     owner = "login-securite";
14     repo = "DonPAPI";
15     tag = "V${version}";
16     hash = "sha256-60aGnsr36X3mf91nH9ud0xyLBqKgzZ4ALucrLGpAuzQ=";
17   };
19   pythonRelaxDeps = [
20     "cryptography"
21     "impacket"
22     "pyasn1"
23   ];
25   nativeBuildInputs = with python3.pkgs; [
26     poetry-core
27   ];
29   propagatedBuildInputs = with python3.pkgs; [
30     cryptography
31     impacket
32     lnkparse3
33     pyasn1
34     pyjwt
35     setuptools
36   ];
38   # Project has no tests
39   doCheck = false;
41   pythonImportsCheck = [
42     "donpapi"
43   ];
45   meta = with lib; {
46     description = "Tool for dumping DPAPI credentials remotely";
47     homepage = "https://github.com/login-securite/DonPAPI";
48     changelog = "https://github.com/login-securite/DonPAPI/releases/tag/V${version}";
49     license = licenses.gpl3Only;
50     maintainers = with maintainers; [ fab ];
51     mainProgram = "donpapi";
52   };