2024-04-21 15:54:59 +00:00
|
|
|
{ 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; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Command-line utility that takes grep-formatted lines and performs a find-and-replace on them";
|
2024-04-21 15:54:59 +00:00
|
|
|
homepage = "https://github.com/robenkleene/rep-grep";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ philiptaron ];
|
|
|
|
mainProgram = "rep";
|
|
|
|
};
|
|
|
|
}
|