From 9746690d4a37ac926f3a1679d93eca5ad3c0daea Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 22 Nov 2022 23:50:11 +0100 Subject: [PATCH] python310Packages.masky: init at 0.1.1 --- .../python-modules/masky/default.nix | 48 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 50 insertions(+) create mode 100644 pkgs/development/python-modules/masky/default.nix diff --git a/pkgs/development/python-modules/masky/default.nix b/pkgs/development/python-modules/masky/default.nix new file mode 100644 index 000000000000..65108feb4320 --- /dev/null +++ b/pkgs/development/python-modules/masky/default.nix @@ -0,0 +1,48 @@ +{ lib +, asn1crypto +, buildPythonPackage +, colorama +, cryptography +, fetchFromGitHub +, impacket +, pyasn1 +, pythonOlder +}: + +buildPythonPackage rec { + pname = "masky"; + version = "0.1.1"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "Z4kSec"; + repo = "Masky"; + rev = "refs/tags/v${version}"; + hash = "sha256-uxq4SBudxFbBiV3Cu+oBRKezIWf5p+8VJlIIqQjtSXA="; + }; + + 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 305185fbce3e..6935f3efff29 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5561,6 +5561,8 @@ self: super: with self; { mask-rcnn = callPackage ../development/python-modules/mask-rcnn { }; + masky = callPackage ../development/python-modules/masky { }; + mastodon-py = callPackage ../development/python-modules/mastodon-py { }; mat2 = callPackage ../development/python-modules/mat2 { };