3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/lsassy/default.nix

37 lines
760 B
Nix
Raw Normal View History

2021-01-11 08:13:50 +00:00
{ lib
, buildPythonPackage
, fetchFromGitHub
, impacket
, netaddr
, pypykatz
}:
buildPythonPackage rec {
pname = "lsassy";
2021-06-19 02:39:09 +01:00
version = "2.1.5";
2021-01-11 08:13:50 +00:00
src = fetchFromGitHub {
owner = "Hackndo";
repo = pname;
rev = "v${version}";
2021-06-19 02:39:09 +01:00
sha256 = "15w12asy797dxsz57avbxy6dbi7va9p5jx6i3gm9df9mbj0j3lcc";
2021-01-11 08:13:50 +00:00
};
propagatedBuildInputs = [
impacket
netaddr
pypykatz
];
# Tests require an active domain controller
doCheck = false;
pythonImportsCheck = [ "lsassy" ];
meta = with lib; {
description = "Python module to extract data from Local Security Authority Subsystem Service (LSASS)";
homepage = "https://github.com/Hackndo/lsassy";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}