blob: f97c2b8e80c6b628c09c0725b24366e36aa693d4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "f2";
version = "1.9.1";
src = fetchFromGitHub {
owner = "ayoisaiah";
repo = "f2";
rev = "v${version}";
sha256 = "sha256-vpyI6WtK/0UpPiB8y+HpPd0IsKKkMHa/eIreYo32iAA=";
};
vendorHash = "sha256-Bz3Igjcyq4rkMkgv1J3+JiAqroAjxyAvHw4d4eZJgAM=";
ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
# has no tests
doCheck = false;
meta = with lib; {
description = "Command-line batch renaming tool";
homepage = "https://github.com/ayoisaiah/f2";
license = licenses.mit;
maintainers = with maintainers; [ zendo ];
mainProgram = "f2";
};
}
|