mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
755b915a15
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/'
27 lines
699 B
Nix
27 lines
699 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "ren-find";
|
|
version = "0-unstable-2024-01-11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "robenkleene";
|
|
repo = "ren-find";
|
|
rev = "50c40172e354caffee48932266edd7c7a76a20f";
|
|
hash = "sha256-zVIt6Xp+Mvym6gySvHIZJt1QgzKVP/wbTGTubWk6kzI=";
|
|
};
|
|
|
|
cargoHash = "sha256-pUy8850v4m9P5OuL15qxmDDQYYyae9HFXRbg3b4f3Lw=";
|
|
|
|
meta = with lib; {
|
|
description = "Command-line utility that takes find-formatted lines and batch renames them";
|
|
homepage = "https://github.com/robenkleene/ren-find";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ philiptaron ];
|
|
mainProgram = "ren";
|
|
};
|
|
}
|