depot/third_party/nixpkgs/pkgs/by-name/re/rep-grep/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

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