F2: init at 1.8.0
This commit is contained in:
parent
891d0226de
commit
2034eb4a27
2 changed files with 29 additions and 0 deletions
27
pkgs/tools/misc/f2/default.nix
Normal file
27
pkgs/tools/misc/f2/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ lib, fetchFromGitHub, buildGoModule }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "f2";
|
||||
version = "1.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ayoisaiah";
|
||||
repo = "f2";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-bNcPzvjVBH7x60kNjlUILiQGG3GDmqIB5T2WP3+nZ+s=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-Cahqk+7jDMUtZq0zhBll1Tfryu2zSPBN7JKscV38360=";
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -3132,6 +3132,8 @@ with pkgs;
|
|||
|
||||
extrude = callPackage ../tools/security/extrude { };
|
||||
|
||||
f2 = callPackage ../tools/misc/f2 {};
|
||||
|
||||
f3 = callPackage ../tools/filesystems/f3 { };
|
||||
|
||||
f3d = callPackage ../applications/graphics/f3d {
|
||||
|
|
Loading…
Reference in a new issue