depot/third_party/nixpkgs/pkgs/tools/misc/vimv-rs/default.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

24 lines
662 B
Nix

{ lib, rustPlatform, fetchCrate, stdenv, Foundation }:
rustPlatform.buildRustPackage rec {
pname = "vimv-rs";
version = "1.7.5";
src = fetchCrate {
inherit version;
crateName = "vimv";
sha256 = "sha256-VOHQLdwJ6c8KB/IjMDZe9/pNHmLuouNggIK8uJPu+NQ=";
};
cargoHash = "sha256-qXT44h4f4Zw1bi/gblczxehA6hqLLjQBpSwVpYd0PE4=";
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 ];
};
}