nixpkgs/pkgs/by-name/re/rep-grep/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

26 lines
717 B
Nix

{ 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 = "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";
};
}