2022-07-14 12:49:19 +00:00
|
|
|
{ lib, rustPlatform, fetchCrate, stdenv, Foundation }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "vimv-rs";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "3.1.0";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit version;
|
|
|
|
crateName = "vimv";
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-jbRsgEsRYF5hlvo0jEB4jhy5jzCAXNzOsNWWyh4XULQ=";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
cargoHash = "sha256-rYQxIttuGBGEkYkFtSBl8ce1I/Akm6FxeITJcaIeP6M=";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|