evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / do / donpapi / package.nix
blobc2a777b3dc4313a27656830731a7d95594b02aa4
1 { lib
2 , python3
3 , fetchFromGitHub
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "donpapi";
8   version = "1.2.0";
9   pyproject = true;
11   src = fetchFromGitHub {
12     owner = "login-securite";
13     repo = "DonPAPI";
14     rev = "refs/tags/V${version}";
15     hash = "sha256-60aGnsr36X3mf91nH9ud0xyLBqKgzZ4ALucrLGpAuzQ=";
16   };
18   pythonRelaxDeps = [
19     "cryptography"
20     "impacket"
21     "pyasn1"
22   ];
24   nativeBuildInputs = with python3.pkgs; [
25     poetry-core
26   ];
28   propagatedBuildInputs = with python3.pkgs; [
29     cryptography
30     impacket
31     lnkparse3
32     pyasn1
33     pyjwt
34     setuptools
35   ];
37   # Project has no tests
38   doCheck = false;
40   pythonImportsCheck = [
41     "donpapi"
42   ];
44   meta = with lib; {
45     description = "Tool for dumping DPAPI credentials remotely";
46     homepage = "https://github.com/login-securite/DonPAPI";
47     changelog = "https://github.com/login-securite/DonPAPI/releases/tag/V${version}";
48     license = licenses.gpl3Only;
49     maintainers = with maintainers; [ fab ];
50     mainProgram = "donpapi";
51   };