Skip to content

Commit

Permalink
gsan: init at 5.0.0 (#351883)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff authored Oct 29, 2024
2 parents 65f2994 + 65bf285 commit 37fd70b
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions pkgs/by-name/gs/gsan/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
lib,
fetchFromGitHub,
python3,
}:

python3.pkgs.buildPythonApplication rec {
pname = "gsan";
version = "5.0.0";
pyproject = true;

src = fetchFromGitHub {
owner = "franccesco";
repo = "getaltname";
rev = "refs/tags/v${version}";
hash = "sha256-Os/NappuvdadGqCouF5vhvPhRnu1SLpii+Esq0C1j48=";
};

build-system = with python3.pkgs; [ setuptools ];

dependencies = with python3.pkgs; [
cryptography
pyasn1
pyopenssl
rich
typer
];

# Project has no tests
doCheck = false;

pythonImportsCheck = [ "gsan" ];

meta = {
description = "Tool to extract subdomains from SSL certificates in HTTPS sites";
homepage = "https://github.com/franccesco/getaltname";
changelog = "https://github.com/franccesco/getaltname/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "gsan";
};
}

0 comments on commit 37fd70b

Please sign in to comment.