nixpkgs/pkgs/development/python-modules/dploot/default.nix
2024-03-23 09:20:32 +00:00

50 lines
889 B
Nix

{ lib
, buildPythonPackage
, poetry-core
, pythonRelaxDepsHook
, fetchPypi
, impacket
, cryptography
, pyasn1
, lxml
}:
buildPythonPackage rec {
pname = "dploot";
version = "2.6.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-Fko8zsIjVG1Cmeiect239HGCStJ8VccGTE102cTIr58=";
};
pythonRelaxDeps = true;
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
propagatedBuildInputs = [
impacket
cryptography
pyasn1
lxml
];
pythonImportsCheck = [ "dploot" ];
# No tests
doCheck = false;
meta = {
homepage = "https://github.com/zblurx/dploot";
description = "DPAPI looting remotely in Python";
mainProgram = "dploot";
changelog = "https://github.com/zblurx/dploot/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ vncsb ];
};
}