From 18f4895fba14b10bf560e60df72570e83209dfd1 Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Wed, 7 Sep 2022 08:35:08 +0200 Subject: [PATCH] Pacchetto libzakcgi. --- libzakcgi.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 libzakcgi.nix 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"; +} -- 2.49.0