diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-09-21 09:16:16 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2022-09-21 09:16:16 +0200 |
commit | a18e1bba42c18b110500bc4c8ef72b5a18529029 (patch) | |
tree | 18c132ff4d8ce64f22ef466e9f21a8b705b2214d /pkgs/tools/security/coercer | |
parent | 634ccbcbc784b6bfb95f74bda587efce6d1c7780 (diff) |
coercer: init at 1.6
Diffstat (limited to 'pkgs/tools/security/coercer')
-rw-r--r-- | pkgs/tools/security/coercer/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/tools/security/coercer/default.nix b/pkgs/tools/security/coercer/default.nix new file mode 100644 index 0000000000000..0e48d4ac23d00 --- /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 ]; + }; +} |