nixpkgs/pkgs/by-name/sc/scout/package.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
681 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "scout";
version = "0.15.1";
src = fetchFromGitHub {
owner = "liamg";
repo = pname;
rev = "v${version}";
hash = "sha256-9SimePyBUXXfT4+ZtciQMaoyXpyKi9D3LTwud8QMJ6w=";
};
vendorHash = "sha256-reoE3WNgulREwxoeGFEN1QONZ2q1LHmQF7+iGx0SGTY=";
meta = with lib; {
description = "Lightweight URL fuzzer and spider: Discover a web server's undisclosed files, directories and VHOSTs";
mainProgram = "scout";
homepage = "https://github.com/liamg/scout";
platforms = platforms.unix;
license = licenses.unlicense;
maintainers = with maintainers; [ totoroot ];
};
}