kubernetes-controller-tools: 0.17.1 -> 0.17.2 (#380899)
[NixPkgs.git] / pkgs / by-name / gm / gmni / package.nix
blob47d3487767ae7b35609a51f64294d3a8bfdd58b3
2   stdenv,
3   lib,
4   fetchFromSourcehut,
5   bearssl,
6   scdoc,
7 }:
9 stdenv.mkDerivation rec {
10   pname = "gmni";
11   version = "1.0";
13   src = fetchFromSourcehut {
14     owner = "~sircmpwn";
15     repo = "gmni";
16     rev = version;
17     sha256 = "sha256-3MFNAI/SfFigNfitfFs3o9kkz7JeEflMHiH7iJpLfi4=";
18   };
20   nativeBuildInputs = [ scdoc ];
21   buildInputs = [ bearssl ];
23   # Fix build on `gcc-13`:
24   #       inlined from 'xt_end_chain' at src/tofu.c:82:3,
25   #   ...-glibc-2.38-27-dev/include/bits/stdio2.h:54:10: error: '__builtin___snprintf_chk' specified bound 4 exceeds destination size 3 [-Werror=stringop-overflow]
26   #
27   # The overflow will not happen in practice, but `snprintf()` gets
28   # passed one more byte than available.
29   hardeningDisable = [ "fortify3" ];
31   meta = with lib; {
32     description = "Gemini client";
33     homepage = "https://git.sr.ht/~sircmpwn/gmni";
34     license = licenses.gpl3Only;
35     maintainers = with maintainers; [
36       bsima
37       jb55
38     ];
39     platforms = platforms.linux;
40   };