about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/pu/puncia/package.nix
blob: 89e0850e0f54f60e4791891510dfbb144c20cd59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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";
  };
}