nixpkgs/pkgs/by-name/sc/scooter/package.nix
2024-11-16 01:38:25 +01:00

29 lines
711 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "scooter";
version = "0.1.1";
src = fetchFromGitHub {
owner = "thomasschafer";
repo = "scooter";
rev = "v${version}";
hash = "sha256-5YosLJHfrXv6ev7r0gAW5bzkSIwIBUj/Fl3+tklTKQo=";
};
cargoHash = "sha256-GY52JN07igDJVuKXR9iIqNj1obhPs70dOmU1wGy8ZrI";
meta = {
description = "Interactive find and replace in the terminal";
homepage = "https://github.com/thomasschafer/scooter";
changelog = "https://github.com/thomasschafer/scooter/commits/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ felixzieger ];
mainProgram = "scooter";
};
}