mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 14:00:04 +00:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
32 lines
692 B
Nix
32 lines
692 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule {
|
|
pname = "jsluice";
|
|
version = "0-unstable-2023-06-23";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "BishopFox";
|
|
repo = "jsluice";
|
|
rev = "f10429e1016a9573da0157eacde8f7feb9deb8c7";
|
|
hash = "sha256-l9rwC1ljtt7Q+FYKdQFhtnLJDS8OwMJXIIpZgya0zwU=";
|
|
};
|
|
|
|
vendorHash = "sha256-u4E+b/vChXArovtaZ4LODaINWit86i5K4GyHLR0JSyU=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
];
|
|
|
|
meta = {
|
|
description = "Tool for extracting URLs, paths, secrets, and other data from JavaScript source code";
|
|
homepage = "https://github.com/BishopFox/jsluice";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|