chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / applications / graphics / yeetgif / default.nix
blob6e3b7ecee39fa6de8245d020e03993413d5066d4
1 { buildGoModule, fetchFromGitHub, fetchpatch, lib }:
3 buildGoModule rec {
4   pname = "yeetgif";
5   version = "1.23.6";
7   src = fetchFromGitHub {
8     owner = "sgreben";
9     repo = pname;
10     rev = version;
11     hash = "sha256-Z05GhtEPj3PLXpjF1wK8+pNUY3oDjbwZWQsYlTX14Rc=";
12   };
14   deleteVendor = true;
15   vendorHash = "sha256-LhkOMCuYO4GHezk21SlI2dP1UPmBp4bv2SdNbUQMKsI=";
17   patches = [
18     # Add Go Modules support
19     (fetchpatch {
20       url = "https://github.com/sgreben/yeetgif/commit/5d2067b9832898c2b1ac51bf6a5f107619038270.patch";
21       hash = "sha256-3eyqbpPyuQHjAN5mjQyZo0xY6L683T5Ytyx02II/iU4=";
22     })
23   ];
25   ldflags = [ "-s" "-w" ];
27   meta = with lib; {
28     description = "gif effects CLI. single binary, no dependencies. linux, osx, windows. #1 workplace productivity booster. #yeetgif #eggplant #golang";
29     homepage = "https://github.com/sgreben/yeetgif";
30     license = with licenses; [ mit asl20 cc-by-nc-sa-40 ];
31     maintainers = with maintainers; [ ajs124 ];
32     mainProgram = "gif";
33   };