From a18e1bba42c18b110500bc4c8ef72b5a18529029 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 21 Sep 2022 09:16:16 +0200 Subject: [PATCH] coercer: init at 1.6 --- pkgs/tools/security/coercer/default.nix | 36 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 pkgs/tools/security/coercer/default.nix diff --git a/pkgs/tools/security/coercer/default.nix b/pkgs/tools/security/coercer/default.nix new file mode 100644 index 000000000000..0e48d4ac23d0 --- /dev/null +++ b/pkgs/tools/security/coercer/default.nix @@ -0,0 +1,36 @@ +{ lib +, fetchFromGitHub +, python3 +}: + +python3.pkgs.buildPythonApplication rec { + pname = "coercer"; + version = "1.6"; + format = "pyproject"; + + src = fetchFromGitHub { + owner = "p0dalirius"; + repo = "Coercer"; + rev = "refs/tags/${version}"; + hash = "sha256-xftYnwu6uUTvJTZU9E7wvdgBxqa8xy83K5GOlgNSCvc="; + }; + + nativeBuildInputs = with python3.pkgs; [ + poetry-core + ]; + + propagatedBuildInputs = with python3.pkgs; [ + impacket + ]; + + pythonImportsCheck = [ + "coercer" + ]; + + meta = with lib; { + description = "Tool to automatically coerce a Windows server"; + homepage = "https://github.com/p0dalirius/Coercer"; + license = with licenses; [ gpl2Only ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c30e5a9a8db6..e0a70317c1f2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17878,6 +17878,8 @@ with pkgs; coeurl = callPackage ../development/libraries/coeurl { }; + coercer = callPackage ../tools/security/coercer { }; + cogl = callPackage ../development/libraries/cogl { }; coin3d = callPackage ../development/libraries/coin3d { };