nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 python3,
4 fetchFromGitHub,
5}:
6
7python3.pkgs.buildPythonApplication rec {
8 pname = "h8mail";
9 version = "2.5.6";
10 pyproject = true;
11
12 src = fetchFromGitHub {
13 owner = "khast3x";
14 repo = "h8mail";
15 tag = version;
16 hash = "sha256-gKRght/12apPD1u3mRY/yCPT0XAyXwaYgaqyJHrDLgw=";
17 };
18
19 nativeBuildInputs = with python3.pkgs; [
20 setuptools
21 wheel
22 ];
23
24 propagatedBuildInputs = with python3.pkgs; [
25 requests
26 ];
27
28 pythonImportsCheck = [ "h8mail" ];
29
30 meta = {
31 description = "Email OSINT & Password breach hunting tool";
32 homepage = "https://github.com/khast3x/h8mail";
33 changelog = "https://github.com/khast3x/h8mail/releases/tag/${version}";
34 license = lib.licenses.bsd3;
35 maintainers = with lib.maintainers; [ octodi ];
36 mainProgram = "h8mail";
37 };
38}