python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / misc / f2 / default.nix
blob943ce72cc6ced428205c24c8a9c06db5a724621c
1 { lib, fetchFromGitHub, buildGoModule }:
3 buildGoModule rec {
4   pname = "f2";
5   version = "1.8.0";
7   src = fetchFromGitHub {
8     owner = "ayoisaiah";
9     repo = "f2";
10     rev = "v${version}";
11     sha256 = "sha256-bNcPzvjVBH7x60kNjlUILiQGG3GDmqIB5T2WP3+nZ+s=";
12   };
14   vendorSha256 = "sha256-Cahqk+7jDMUtZq0zhBll1Tfryu2zSPBN7JKscV38360=";
16   ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
18   # has no tests
19   doCheck = false;
21   meta = with lib; {
22     description = "Command-line batch renaming tool";
23     homepage = "https://github.com/ayoisaiah/f2";
24     license = licenses.mit;
25     maintainers = with maintainers; [ zendo ];
26   };