depot/third_party/nixpkgs/pkgs/development/python-modules/lsassy/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

36 lines
760 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, impacket
, netaddr
, pypykatz
}:
buildPythonPackage rec {
pname = "lsassy";
version = "2.1.5";
src = fetchFromGitHub {
owner = "Hackndo";
repo = pname;
rev = "v${version}";
sha256 = "15w12asy797dxsz57avbxy6dbi7va9p5jx6i3gm9df9mbj0j3lcc";
};
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 ];
};
}