c7e6337bd0
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
25 lines
632 B
Nix
25 lines
632 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "mmv-go";
|
|
version = "0.1.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "itchyny";
|
|
repo = "mmv";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-DNLiW0QX7WrBslwVCbvydLnE6JAcfcRALYqwsK/J5x0=";
|
|
};
|
|
|
|
vendorHash = "sha256-HHGiMSBu3nrIChSYaEu9i22nwhLKgVQkPvbTMHBWwAE=";
|
|
|
|
ldflags = [ "-s" "-w" "-X main.revision=${src.rev}" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/itchyny/mmv";
|
|
description = "Rename multiple files using your $EDITOR";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
mainProgram = "mmv";
|
|
};
|
|
}
|