nixpkgs/pkgs/tools/misc/vimv-rs/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
660 B
Nix
Raw Normal View History

2022-07-04 01:39:37 +00:00
{ lib, rustPlatform, fetchCrate, stdenv, Foundation }:
rustPlatform.buildRustPackage rec {
pname = "vimv-rs";
2023-06-11 23:05:01 +00:00
version = "3.0.0";
2022-07-04 01:39:37 +00:00
src = fetchCrate {
inherit version;
crateName = "vimv";
2023-06-11 23:05:01 +00:00
hash = "sha256-DpdozP/xaMoRAl8YMj5BmhNedGFhVzscM/eFOcVt+Lk=";
2022-07-04 01:39:37 +00:00
};
2023-06-11 23:05:01 +00:00
cargoHash = "sha256-zKJ8A36/ibAiznm3bK2JSHVRItIAqQ4YFDxvjcZLn3g=";
2022-07-04 01:39:37 +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 ];
};
}