about summary refs log tree commit diff
path: root/pkgs/by-name/co/conpass/package.nix
blob: d8870a907541f4011ba60562436e4ae655d4643e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
  lib,
  python3,
  fetchFromGitHub,
}:

python3.pkgs.buildPythonApplication rec {
  pname = "conpass";
  version = "0.1.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "login-securite";
    repo = "conpass";
    rev = "refs/tags/v${version}";
    hash = "sha256-7o4aQ6qpaWimWqgFO35Wht7mQsdVezoPTm7hp54FWR8=";
  };

  build-system = with python3.pkgs; [
    setuptools
  ];

  dependencies = with python3.pkgs; [
    impacket
    python-ldap
    rich
  ];

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [ "conpass" ];

  meta = with lib; {
    description = "Continuous password spraying tool";
    homepage = "https://github.com/login-securite/conpass";
    changelog = "https://github.com/login-securite/conpass/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
    mainProgram = "conpass";
  };
}