mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
generated using https://git.kybe.xyz/2kybe3/nixpkgs-github-redirect continuation of: #539298
27 lines
591 B
Nix
27 lines
591 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "ruplacer";
|
|
version = "0.10.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "your-tools";
|
|
repo = "ruplacer";
|
|
rev = "v${finalAttrs.version}";
|
|
sha256 = "sha256-Zvbb9pQpxbJZi0qcDU6f2jEgavl9cA7gIYU7NRXZ9fc=";
|
|
};
|
|
|
|
cargoHash = "sha256-Ko6EBASK6olMyp0kDY4wgfpH+5j9vq0dJ74l8K6HPGY=";
|
|
|
|
meta = {
|
|
description = "Find and replace text in source files";
|
|
mainProgram = "ruplacer";
|
|
homepage = "https://github.com/your-tools/ruplacer";
|
|
license = lib.licenses.bsd3;
|
|
};
|
|
})
|