diff options
author | a-n-n-a-l-e-e <150648636+a-n-n-a-l-e-e@users.noreply.github.com> | 2024-03-11 07:58:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-11 07:58:59 -0700 |
commit | 331e899e2e95a42120616823cefd69a82fb06638 (patch) | |
tree | b5eff9bb06fa329d7abc0d0b7a6ca365cd45eb41 /pkgs/by-name/re | |
parent | c5059600aba21f6648a8cdaf174e1ec7e759f969 (diff) | |
parent | 7d5aa3998f670ca0c0840288dc635d61efc32d89 (diff) |
Merge pull request #294896 from philiptaron/rep-grep
rep-grep: init at 0-unstable-2024-02-06
Diffstat (limited to 'pkgs/by-name/re')
-rw-r--r-- | pkgs/by-name/re/rep-grep/package.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/by-name/re/rep-grep/package.nix b/pkgs/by-name/re/rep-grep/package.nix new file mode 100644 index 0000000000000..1869938cb55b0 --- /dev/null +++ b/pkgs/by-name/re/rep-grep/package.nix @@ -0,0 +1,26 @@ +{ lib +, rustPlatform +, fetchFromGitHub +}: + +rustPlatform.buildRustPackage rec { + pname = "rep-grep"; + version = "0-unstable-2024-02-06"; + + src = fetchFromGitHub { + owner = "robenkleene"; + repo = "rep-grep"; + rev = "10510d47e392cb9d30a861c69f702fd194b3fa88"; + hash = "sha256-/dH+mNtNHaYFndVhoqmz4Sc3HeemoQt1HGD98mb9Qhw="; + }; + + cargoHash = "sha256-ch+RMLc+xogL0gkrnw+n+bmUVIcixdPTaNPHPuJ0/EI="; + + meta = with lib; { + description = "A command-line utility that takes grep-formatted lines and performs a find-and-replace on them."; + homepage = "https://github.com/robenkleene/rep-grep"; + license = licenses.mit; + maintainers = with maintainers; [ philiptaron ]; + mainProgram = "rep"; + }; +} |