summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-08-07 09:34:57 +0200
committertv <tv@krebsco.de>2016-08-07 09:34:57 +0200
commit3a760096f6b3b49d4bf32465c860ccfd23d174fa (patch)
treecccf6a27255dc64fda77c99034e1593f6337888c /krebs
parent048986e09bfe9195ccd434c4c143d374db5488d2 (diff)
tarantool: init at 1.7.1-164-g0fd0239
Diffstat (limited to 'krebs')
-rw-r--r--krebs/5pkgs/tarantool/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/krebs/5pkgs/tarantool/default.nix b/krebs/5pkgs/tarantool/default.nix
new file mode 100644
index 00000000..9e22fd4f
--- /dev/null
+++ b/krebs/5pkgs/tarantool/default.nix
@@ -0,0 +1,21 @@
+{ stdenv, fetchgit, cmake, ncurses, openssl, readline, ... }:
+
+stdenv.mkDerivation rec {
+ name = "tarantool-1.7.1-164-g0fd0239";
+ src = fetchgit {
+ url = https://github.com/tarantool/tarantool;
+ rev = builtins.elemAt (builtins.match ".*-g([0-9a-f]+)" name) 0;
+ sha256 = "1jnaiizbl9j4a8vsihqx75iqa9bkh1kpwsyrgmim8ikiyzfw54dz";
+ fetchSubmodules = true;
+ };
+ buildInputs = [
+ cmake
+ ncurses
+ openssl
+ readline
+ ];
+ preConfigure = ''
+ echo ${(builtins.parseDrvName name).version} > VERSION
+ sed -i 's/NAMES termcap/NAMES ncurses/' cmake/FindTermcap.cmake
+ '';
+}