Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
733 B
Nix
35 lines
733 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildGoModule,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "qsreplace";
|
|
version = "0.0.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tomnomnom";
|
|
repo = "qsreplace";
|
|
rev = "v${version}";
|
|
hash = "sha256-j9bqO2gp4RUxZHGBCIxI5nA3nD1dG4nCpJ1i4TM/fbo=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/tomnomnom/qsreplace";
|
|
description = "Accept URLs on stdin, replace all query string values with a user-supplied value";
|
|
mainProgram = "qsreplace";
|
|
maintainers = with maintainers; [ averagebit ];
|
|
platforms = platforms.unix;
|
|
sourceProvenance = with sourceTypes; [ fromSource ];
|
|
license = licenses.mit;
|
|
};
|
|
}
|