about summary refs log tree commit diff
path: root/pkgs/by-name/pu
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2024-03-25 12:21:00 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2024-03-25 12:21:00 +0100
commit51b2c9d232fdad59e564d4e7e062f5ce383b5dd5 (patch)
tree61bf391a98f0add2b7253ca00408518035295684 /pkgs/by-name/pu
parentb0c93fc5a3e1b41b007099915c5357b93b45972c (diff)
puncia: init at 0.15-unstable-2024-03-23
CLI utility for Subdomain Center & Exploit Observer

https://github.com/ARPSyndicate/puncia
Diffstat (limited to 'pkgs/by-name/pu')
-rw-r--r--pkgs/by-name/pu/puncia/package.nix42
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/by-name/pu/puncia/package.nix b/pkgs/by-name/pu/puncia/package.nix
new file mode 100644
index 0000000000000..89e0850e0f54f
--- /dev/null
+++ b/pkgs/by-name/pu/puncia/package.nix
@@ -0,0 +1,42 @@
+{ lib
+, fetchFromGitHub
+, python3
+}:
+
+python3.pkgs.buildPythonApplication rec {
+  pname = "puncia";
+  version = "0.15-unstable-2024-03-23";
+  pyproject = true;
+
+  src = fetchFromGitHub {
+    owner = "ARPSyndicate";
+    repo = "puncia";
+    # https://github.com/ARPSyndicate/puncia/issues/5
+    rev = "c70ed93ea1e7e42e12dd9c14713cab71bb0e0fe9";
+    hash = "sha256-xGJk8y26tluHUPm9ikrBBiWGuzq6MKl778BF8wNDmps=";
+  };
+
+  build-system = with python3.pkgs; [
+    setuptools
+  ];
+
+  dependencies = with python3.pkgs; [
+    requests
+  ];
+
+  # Project has no tests
+  doCheck = false;
+
+  pythonImportsCheck = [
+    "puncia"
+  ];
+
+  meta = with lib; {
+    description = "CLI utility for Subdomain Center & Exploit Observer";
+    homepage = "https://github.com/ARPSyndicate/puncia";
+    # https://github.com/ARPSyndicate/puncia/issues/6
+    license = licenses.unfree;
+    maintainers = with maintainers; [ fab ];
+    mainProgram = "puncia";
+  };
+}