about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/lil-pwny/default.nix
blob: c8251dfaa249542e7e3e1cb95c3ab7fa64c5e98a (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
{ lib
, python3
, fetchFromGitHub
}:

python3.pkgs.buildPythonApplication rec {
  pname = "lil-pwny";
  version = "2.0.0";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "PaperMtn";
    repo = "lil-pwny";
    rev = "refs/tags/${version}";
    hash = "sha256-EE6+PQTmvAv5EvxI9QR/dQcPby13BBk66KSc7XDNAZA=";
  };

  # Project has no test
  doCheck = false;

  pythonImportsCheck = [
    "lil_pwny"
  ];

  meta = with lib; {
    description = "Offline auditing of Active Directory passwords";
    homepage = "https://github.com/PaperMtn/lil-pwny";
    changelog = "https://github.com/PaperMtn/lil-pwny/blob/${version}/CHANGELOG.md";
    license = licenses.gpl3Only;
    maintainers = with maintainers; [ fab ];
  };
}