depot/third_party/nixpkgs/pkgs/development/python-modules/dploot/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

54 lines
928 B
Nix

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