gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-exchange] branch master updated: move nix files to s


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: move nix files to separate dir
Date: Thu, 27 Jun 2019 00:49:52 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new bc4f3e09 move nix files to separate dir
bc4f3e09 is described below

commit bc4f3e09b59880e542dc3131de362d6f7afc09f3
Author: Florian Dold <address@hidden>
AuthorDate: Thu Jun 27 00:49:48 2019 +0200

    move nix files to separate dir
---
 default.nix => contrib/nix/default.nix |  0
 contrib/nix/taler-exchange-dev.nix     | 61 ++++++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/default.nix b/contrib/nix/default.nix
similarity index 100%
rename from default.nix
rename to contrib/nix/default.nix
diff --git a/contrib/nix/taler-exchange-dev.nix 
b/contrib/nix/taler-exchange-dev.nix
new file mode 100644
index 00000000..2e5e068e
--- /dev/null
+++ b/contrib/nix/taler-exchange-dev.nix
@@ -0,0 +1,61 @@
+{ stdenv, makeWrapper, pkgconfig, autoconf, automake, libtool, ccache, 
ccache_dir ? ""
+, gnunet-dev, postgresql, jansson, libgcrypt, libgnurl, libmicrohttpd }:
+
+stdenv.mkDerivation rec {
+  src = ./.;
+  name = "taler-exchange-dev";
+
+  buildInputs = [
+    makeWrapper pkgconfig autoconf automake libtool ccache
+    gnunet-dev postgresql jansson libgcrypt libgnurl libmicrohttpd
+  ];
+
+  patchPhase = ''
+    if [ -e Makefile ]; then
+      make distclean
+    fi
+  '';
+
+  NIX_CFLAGS_COMPILE = "-ggdb -O0";
+
+  configureFlags = [
+    "--enable-gcc-hardening"
+    "--enable-linker-hardening"
+
+    "--enable-logging=verbose"
+    "--enable-poisoning"
+  ];
+
+  preConfigure = ''
+    ./bootstrap
+
+    if [ -n "${ccache_dir}" ]; then
+      export CC='ccache gcc'
+      export CCACHE_COMPRESS=1
+      export CCACHE_DIR="${ccache_dir}"
+      export CCACHE_UMASK=007
+    fi
+  '';
+
+  doCheck = false;
+
+  postInstall = ''
+    # Tests can be run this way
+    #export GNUNET_PREFIX="$out"
+    #export PATH="$out/bin:$PATH"
+    #make -k check
+  '';
+
+  meta = with stdenv.lib; {
+    description = "Exchange for GNU Taler";
+
+    longDescription = ''
+    '';
+
+    homepage = https://taler.net/;
+
+    license = licenses.gpl3Plus;
+    platforms = platforms.gnu;
+    maintainers = with maintainers; [ ];
+  };
+}

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]