From: Andrea Zagli Date: Wed, 7 Sep 2022 06:35:08 +0000 (+0200) Subject: Pacchetto libzakcgi. X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=18f4895fba14b10bf560e60df72570e83209dfd1;p=nix%2Fpkgs Pacchetto libzakcgi. --- diff --git a/libzakcgi.nix b/libzakcgi.nix new file mode 100644 index 0000000..dbe856a --- /dev/null +++ b/libzakcgi.nix @@ -0,0 +1,18 @@ +{ pkgs ? import {} }: + +pkgs.stdenv.mkDerivation { + pname = "libzakcgi"; + version = "0.0.1"; + + src = pkgs.fetchgit { + url = "https://saetta.ns0.it/git/libzakcgi"; + sha256 = "/iY/Q/eCjo2IrHkHQD3KUyPUDSSGm4y3BGWwlBAFEUo="; + rev = "05dbeabedf10025522fed5dff753c83fc082e4a7"; + }; + + nativeBuildInputs = [ pkgs.gnome.gnome-common pkgs.autoconf pkgs.automake pkgs.glib pkgs.intltool pkgs.libtool pkgs.pkg-config pkgs.gtk-doc pkgs.gobject-introspection ]; + + preConfigure="sed -i -e 's/bin\\/bash/bin\\/sh/g' ./autogen.sh; ./autogen.sh"; + + NIX_CFLAGS_COMPILE = "-Wno-format-security"; +}