nixpkgs/pkgs/development/python-modules/lsassy/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
783 B
Nix
Raw Normal View History

2021-01-11 08:13:50 +00:00
{ lib
, buildPythonPackage
, fetchFromGitHub
, impacket
, netaddr
, pypykatz
2021-10-12 18:17:46 +00:00
, rich
2021-01-11 08:13:50 +00:00
}:
buildPythonPackage rec {
pname = "lsassy";
version = "3.1.1";
2021-01-11 08:13:50 +00:00
src = fetchFromGitHub {
owner = "Hackndo";
repo = pname;
rev = "v${version}";
sha256 = "0jd0kmp0mc8jn5qmgrspdx05vy6nyq773cj4yid1qyr8dmyx6a7n";
2021-01-11 08:13:50 +00:00
};
propagatedBuildInputs = [
impacket
netaddr
pypykatz
2021-10-12 18:17:46 +00:00
rich
2021-01-11 08:13:50 +00:00
];
# Tests require an active domain controller
doCheck = false;
2021-10-12 18:17:46 +00:00
pythonImportsCheck = [
"lsassy"
];
2021-01-11 08:13:50 +00:00
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 ];
};
}