Merge pull request #284660 from averagebit/add-qsreplace

qsreplace: init at 0.0.3
This commit is contained in:
Robert Schütz 2024-01-29 23:02:08 +00:00 committed by GitHub
commit 001727cbc7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 34 additions and 0 deletions

View File

@ -1904,6 +1904,12 @@
githubId = 1217745;
name = "Aldwin Vlasblom";
};
averagebit = {
email = "averagebit@pm.me";
github = "averagebit";
githubId = 97070581;
name = "averagebit";
};
averelld = {
email = "averell+nixos@rxd4.com";
github = "averelld";

View File

@ -0,0 +1,28 @@
{ lib
, fetchFromGitHub
, buildGoPackage
}:
buildGoPackage rec {
pname = "qsreplace";
version = "0.0.3";
goPackagePath = "github.com/tomnomnom/qsreplace";
src = fetchFromGitHub {
owner = "tomnomnom";
repo = "qsreplace";
rev = "v${version}";
hash = "sha256-j9bqO2gp4RUxZHGBCIxI5nA3nD1dG4nCpJ1i4TM/fbo=";
};
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;
};
}