nixpkgs/pkgs/tools/security/lil-pwny/default.nix
2023-07-05 22:30:32 +02:00

33 lines
732 B
Nix

{ 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 ];
};
}