depot/third_party/nixpkgs/pkgs/tools/misc/vimv-rs/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

24 lines
660 B
Nix

{ lib, rustPlatform, fetchCrate, stdenv, Foundation }:
rustPlatform.buildRustPackage rec {
pname = "vimv-rs";
version = "3.1.0";
src = fetchCrate {
inherit version;
crateName = "vimv";
hash = "sha256-jbRsgEsRYF5hlvo0jEB4jhy5jzCAXNzOsNWWyh4XULQ=";
};
cargoHash = "sha256-rYQxIttuGBGEkYkFtSBl8ce1I/Akm6FxeITJcaIeP6M=";
buildInputs = lib.optionals stdenv.isDarwin [ Foundation ];
meta = with lib; {
description = "Command line utility for batch-renaming files";
homepage = "https://www.dmulholl.com/dev/vimv.html";
license = licenses.bsd0;
mainProgram = "vimv";
maintainers = with maintainers; [ zowoq ];
};
}