about summary refs log tree commit diff
path: root/pkgs/by-name/pr
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2024-03-17 13:23:16 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2024-03-17 13:23:16 +0100
commit697457282d339e04eb7d6f408ea197b2b700ff50 (patch)
tree386964d46914a82f69fdb39a33761e60236e378d /pkgs/by-name/pr
parent62748bdf4286c1b1a3eedb8a5bc4e9198e8c7610 (diff)
downloadnixlib-697457282d339e04eb7d6f408ea197b2b700ff50.tar
nixlib-697457282d339e04eb7d6f408ea197b2b700ff50.tar.gz
nixlib-697457282d339e04eb7d6f408ea197b2b700ff50.tar.bz2
nixlib-697457282d339e04eb7d6f408ea197b2b700ff50.tar.lz
nixlib-697457282d339e04eb7d6f408ea197b2b700ff50.tar.xz
nixlib-697457282d339e04eb7d6f408ea197b2b700ff50.tar.zst
nixlib-697457282d339e04eb7d6f408ea197b2b700ff50.zip
pre2k: init at 3.0-unstable-2024-03-14
Tool to query for the existence of pre-windows 2000 computer objects

https://github.com/garrettfoster13/pre2k
Diffstat (limited to 'pkgs/by-name/pr')
-rw-r--r--pkgs/by-name/pr/pre2k/package.nix49
1 files changed, 49 insertions, 0 deletions
diff --git a/pkgs/by-name/pr/pre2k/package.nix b/pkgs/by-name/pr/pre2k/package.nix
new file mode 100644
index 000000000000..59353d9806ed
--- /dev/null
+++ b/pkgs/by-name/pr/pre2k/package.nix
@@ -0,0 +1,49 @@
+{ lib
+, fetchFromGitHub
+, python3
+}:
+
+python3.pkgs.buildPythonApplication rec {
+  pname = "pre2k";
+  version = "3.0-unstable-2024-03-14";
+  pyproject = true;
+
+  src = fetchFromGitHub {
+    owner = "garrettfoster13";
+    repo = "pre2k";
+    rev = "3baa7b73aedd45f52e417210081da3dd010c1b22";
+    hash = "sha256-0lgH7Z9LuiZwODdFvKWcqS1TV02aVjzD9RgOhX0lU6s=";
+  };
+
+  pythonRelaxDeps = [
+    "impacket"
+    "pyasn1"
+    "rich"
+    "typer"
+  ];
+
+  nativeBuildInputs = with python3.pkgs; [
+    poetry-core
+    pythonRelaxDepsHook
+  ];
+
+  propagatedBuildInputs = with python3.pkgs; [
+    impacket
+    ldap3
+    pyasn1
+    rich
+    typer
+  ];
+
+  pythonImportsCheck = [
+    "pre2k"
+  ];
+
+  meta = with lib; {
+    description = "Tool to query for the existence of pre-windows 2000 computer objects";
+    homepage = "https://github.com/garrettfoster13/pre2k";
+    license = licenses.mit;
+    maintainers = with maintainers; [ fab ];
+    mainProgram = "pre2k";
+  };
+}