]> saetta.ns0.it Git - nix/pkgs/commitdiff
Pacchetto libzakcgi.
authorAndrea Zagli <andrea.zagli@yahoo.com>
Wed, 7 Sep 2022 06:35:08 +0000 (08:35 +0200)
committerAndrea Zagli <andrea.zagli@yahoo.com>
Wed, 7 Sep 2022 06:35:08 +0000 (08:35 +0200)
libzakcgi.nix [new file with mode: 0644]

diff --git a/libzakcgi.nix b/libzakcgi.nix
new file mode 100644 (file)
index 0000000..dbe856a
--- /dev/null
@@ -0,0 +1,18 @@
+{ 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";
+}