Files
nixpkgs/pkgs/by-name/su/subjs/package.nix
Ben Siraphob 5506449838 pkgs/by-name: fix typos
Assisted-by: Claude Code (claude-opus-5)
2026-08-05 09:56:33 -07:00

39 lines
874 B
Nix

{
buildGoModule,
fetchFromGitHub,
lib,
}:
buildGoModule (finalAttrs: {
pname = "subjs";
version = "1.0.1";
src = fetchFromGitHub {
owner = "lc";
repo = "subjs";
rev = "v${finalAttrs.version}";
hash = "sha256-csxFn3YUnuYjZ5/4jIi7DfuujB/gFjHogLaV4XK5kQU=";
};
vendorHash = "sha256-Ibsgi2MYvs12E1NJgshAD/S5GTJgLl7C+smfvS+aAfg=";
ldflags = [
"-s"
"-w"
"-X main.AppVersion=${finalAttrs.version}"
];
meta = {
description = "Fetcher for JavaScript files";
mainProgram = "subjs";
longDescription = ''
subjs fetches JavaScript files from a list of URLs or subdomains.
Analyzing JavaScript files can help you find undocumented endpoints,
secrets and more.
'';
homepage = "https://github.com/lc/subjs";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
})