--- /dev/null
+{ pkgs ? import <nixpkgs> {} }:
+
+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";
+}