nixpkgs/pkgs/tools/security/cariddi/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

27 lines
690 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "cariddi";
version = "1.3.2";
src = fetchFromGitHub {
owner = "edoardottt";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-oM4A4chSBTiCMr3bW0AvjAFlyuqvKKKY2Ji4PYRsUqA=";
};
vendorHash = "sha256-EeoJssX/OkIJKltANfvMirvDVmVVIe9hDj+rThKpd10=";
meta = with lib; {
description = "Crawler for URLs and endpoints";
mainProgram = "cariddi";
homepage = "https://github.com/edoardottt/cariddi";
changelog = "https://github.com/edoardottt/cariddi/releases/tag/v${version}";
license = with licenses; [ gpl3Plus ];
maintainers = with maintainers; [ fab ];
};
}