about summary refs log tree commit diff
path: root/pkgs/by-name/h8
diff options
context:
space:
mode:
authoroctodi <octodi@proton.me>2024-01-07 19:31:59 +0530
committeroctodi <octodi@proton.me>2024-01-07 19:31:59 +0530
commit1883e83cf80204e85591c38850587b85d4aaa1b2 (patch)
treea22d9025101a81cd02bc79d626478c8a1c1a7858 /pkgs/by-name/h8
parentc98715044f319e9c17430a4eb7e5227ceb4da530 (diff)
h8mail: init at 2.5.6
Diffstat (limited to 'pkgs/by-name/h8')
-rw-r--r--pkgs/by-name/h8/h8mail/package.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/by-name/h8/h8mail/package.nix b/pkgs/by-name/h8/h8mail/package.nix
new file mode 100644
index 0000000000000..59da7610d690c
--- /dev/null
+++ b/pkgs/by-name/h8/h8mail/package.nix
@@ -0,0 +1,37 @@
+{ lib
+, python3
+, fetchFromGitHub
+}:
+
+python3.pkgs.buildPythonApplication rec {
+  pname = "h8mail";
+  version = "2.5.6";
+  pyproject = true;
+
+  src = fetchFromGitHub {
+    owner = "khast3x";
+    repo = "h8mail";
+    rev = "refs/tags/${version}";
+    hash = "sha256-gKRght/12apPD1u3mRY/yCPT0XAyXwaYgaqyJHrDLgw=";
+  };
+
+  nativeBuildInputs = with python3.pkgs; [
+    setuptools
+    wheel
+  ];
+
+  propagatedBuildInputs = with python3.pkgs; [
+    requests
+  ];
+
+  pythonImportsCheck = [ "h8mail" ];
+
+  meta = with lib; {
+    description = "Email OSINT & Password breach hunting tool";
+    homepage = "https://github.com/khast3x/h8mail";
+    changelog = "https://github.com/khast3x/h8mail/releases/tag/${version}";
+    license = licenses.bsd3;
+    maintainers = with maintainers; [ octodi ];
+    mainProgram = "h8mail";
+  };
+}