nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 python3,
5}:
6
7python3.pkgs.buildPythonApplication rec {
8 pname = "gsan";
9 version = "5.0.0";
10 pyproject = true;
11
12 src = fetchFromGitHub {
13 owner = "franccesco";
14 repo = "getaltname";
15 tag = "v${version}";
16 hash = "sha256-Os/NappuvdadGqCouF5vhvPhRnu1SLpii+Esq0C1j48=";
17 };
18
19 build-system = with python3.pkgs; [ setuptools ];
20
21 dependencies = with python3.pkgs; [
22 cryptography
23 pyasn1
24 pyopenssl
25 rich
26 typer
27 ];
28
29 # Project has no tests
30 doCheck = false;
31
32 pythonImportsCheck = [ "gsan" ];
33
34 meta = {
35 description = "Tool to extract subdomains from SSL certificates in HTTPS sites";
36 homepage = "https://github.com/franccesco/getaltname";
37 changelog = "https://github.com/franccesco/getaltname/releases/tag/v${version}";
38 license = lib.licenses.mit;
39 maintainers = with lib.maintainers; [ fab ];
40 mainProgram = "gsan";
41 };
42}