1a04744f74
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
51 lines
877 B
Nix
51 lines
877 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
cryptography,
|
|
fetchPypi,
|
|
impacket,
|
|
lxml,
|
|
poetry-core,
|
|
pyasn1,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dploot";
|
|
version = "3.1.3";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-xCw4mAP9CUtcTeQQ//4zI0BcQUmTai9hvYSZ9F9k4rc=";
|
|
};
|
|
|
|
pythonRelaxDeps = [
|
|
"cryptography"
|
|
"lxml"
|
|
"pyasn1"
|
|
];
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
dependencies = [
|
|
impacket
|
|
cryptography
|
|
pyasn1
|
|
lxml
|
|
];
|
|
|
|
pythonImportsCheck = [ "dploot" ];
|
|
|
|
# No tests
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "DPAPI looting remotely in Python";
|
|
homepage = "https://github.com/zblurx/dploot";
|
|
changelog = "https://github.com/zblurx/dploot/releases/tag/${version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ vncsb ];
|
|
mainProgram = "dploot";
|
|
};
|
|
}
|