about summary refs log tree commit diff
path: root/pkgs/tools/security/coercer
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-09-21 09:16:16 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2022-09-21 09:16:16 +0200
commita18e1bba42c18b110500bc4c8ef72b5a18529029 (patch)
tree18c132ff4d8ce64f22ef466e9f21a8b705b2214d /pkgs/tools/security/coercer
parent634ccbcbc784b6bfb95f74bda587efce6d1c7780 (diff)
downloadnixlib-a18e1bba42c18b110500bc4c8ef72b5a18529029.tar
nixlib-a18e1bba42c18b110500bc4c8ef72b5a18529029.tar.gz
nixlib-a18e1bba42c18b110500bc4c8ef72b5a18529029.tar.bz2
nixlib-a18e1bba42c18b110500bc4c8ef72b5a18529029.tar.lz
nixlib-a18e1bba42c18b110500bc4c8ef72b5a18529029.tar.xz
nixlib-a18e1bba42c18b110500bc4c8ef72b5a18529029.tar.zst
nixlib-a18e1bba42c18b110500bc4c8ef72b5a18529029.zip
coercer: init at 1.6
Diffstat (limited to 'pkgs/tools/security/coercer')
-rw-r--r--pkgs/tools/security/coercer/default.nix36
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 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 ];
+  };
+}