mmv-go: init at 0.1.2

This commit is contained in:
zowoq 2020-11-20 09:51:24 +10:00
parent e37934ae5d
commit ac963ef717
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "mmv-go";
version = "0.1.2";
src = fetchFromGitHub {
owner = "itchyny";
repo = "mmv";
rev = "v${version}";
sha256 = "0kpf6abzhsikm7vyk5735p8sfjhsh7klla9qnmc43mgh0560f020";
};
vendorSha256 = "1nnfi5zad7nlp44mj0fdg09q8pm093di7rr7pknl9whqghv36dfi";
buildFlagsArray = [ "-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; [ zowoq ];
};
}

View file

@ -5203,6 +5203,8 @@ in
mmv = callPackage ../tools/misc/mmv { };
mmv-go = callPackage ../tools/misc/mmv-go { };
most = callPackage ../tools/misc/most { };
motion = callPackage ../applications/video/motion { };