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
662 B
Nix
Raw Normal View History

2022-07-04 03:39:37 +02:00
{ lib, rustPlatform, fetchCrate, stdenv, Foundation }:
rustPlatform.buildRustPackage rec {
pname = "vimv-rs";
2022-07-22 08:29:21 +02:00
version = "1.7.7";
2022-07-04 03:39:37 +02:00
src = fetchCrate {
inherit version;
crateName = "vimv";
2022-07-22 08:29:21 +02:00
sha256 = "sha256-Y8xFoI/1zpaeT9jMuOME/g2vTLenhNSwGepncc1Ji+0=";
2022-07-04 03:39:37 +02:00
};
2022-07-22 08:29:21 +02:00
cargoHash = "sha256-yJHOeIjbWQTxLkkVv+YALrAhP5HBZpmbPDiLd+/bWZA=";
2022-07-04 03:39:37 +02: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 ];
};
}