nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, rustPlatform, fetchCrate, stdenv, Foundation }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "vimv-rs";
5 version = "3.0.0";
6
7 src = fetchCrate {
8 inherit version;
9 crateName = "vimv";
10 hash = "sha256-DpdozP/xaMoRAl8YMj5BmhNedGFhVzscM/eFOcVt+Lk=";
11 };
12
13 cargoHash = "sha256-zKJ8A36/ibAiznm3bK2JSHVRItIAqQ4YFDxvjcZLn3g=";
14
15 buildInputs = lib.optionals stdenv.isDarwin [ Foundation ];
16
17 meta = with lib; {
18 description = "Command line utility for batch-renaming files";
19 homepage = "https://www.dmulholl.com/dev/vimv.html";
20 license = licenses.bsd0;
21 mainProgram = "vimv";
22 maintainers = with maintainers; [ zowoq ];
23 };
24}