depot/third_party/nixpkgs/pkgs/by-name/vi/vimv-rs/package.nix

25 lines
677 B
Nix
Raw Normal View History

{ lib, rustPlatform, fetchCrate, stdenv, apple-sdk_11 }:
rustPlatform.buildRustPackage rec {
pname = "vimv-rs";
version = "3.1.0";
src = fetchCrate {
inherit version;
crateName = "vimv";
hash = "sha256-jbRsgEsRYF5hlvo0jEB4jhy5jzCAXNzOsNWWyh4XULQ=";
};
cargoHash = "sha256-rYQxIttuGBGEkYkFtSBl8ce1I/Akm6FxeITJcaIeP6M=";
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_11 ];
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 ];
};
}