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

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

49 lines
910 B
Nix
Raw Normal View History

2022-11-22 22:50:11 +00:00
{ lib
, asn1crypto
, buildPythonPackage
, colorama
, cryptography
, fetchFromGitHub
, impacket
, pyasn1
, pythonOlder
}:
buildPythonPackage rec {
pname = "masky";
version = "0.1.2";
2022-11-22 22:50:11 +00:00
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Z4kSec";
repo = "Masky";
rev = "refs/tags/v${version}";
hash = "sha256-awPPpdw6/zlVa7/DY1iafrbqIHJERN5+cfX1bTnCjl0=";
2022-11-22 22:50:11 +00:00
};
propagatedBuildInputs = [
asn1crypto
colorama
cryptography
impacket
pyasn1
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"masky"
];
meta = with lib; {
description = "Library to remotely dump domain credentials";
homepage = "https://github.com/Z4kSec/Masky";
changelog = "https://github.com/Z4kSec/Masky/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ elasticdog ];
};
}