summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authorviric <viric@viric.name>2015-02-07 15:47:07 +0100
committerviric <viric@viric.name>2015-02-07 15:47:07 +0100
commit5ae6bf304cf451f0e950c4822f5b49f5a6e5a0bb (patch)
tree09f09bdbad85ceee83d714cdf9d48132cab45bff /pkgs/applications/networking
parent168b7bee6ffa30597cdacd6bc21bb7ddeb5077fd (diff)
parentb3118791e3ee99e84b26f89b1e0f6a4cbd685fec (diff)
downloadnixlib-5ae6bf304cf451f0e950c4822f5b49f5a6e5a0bb.tar
nixlib-5ae6bf304cf451f0e950c4822f5b49f5a6e5a0bb.tar.gz
nixlib-5ae6bf304cf451f0e950c4822f5b49f5a6e5a0bb.tar.bz2
nixlib-5ae6bf304cf451f0e950c4822f5b49f5a6e5a0bb.tar.lz
nixlib-5ae6bf304cf451f0e950c4822f5b49f5a6e5a0bb.tar.xz
nixlib-5ae6bf304cf451f0e950c4822f5b49f5a6e5a0bb.tar.zst
nixlib-5ae6bf304cf451f0e950c4822f5b49f5a6e5a0bb.zip
Merge pull request #6210 from ehmry/ratox
ratox: initial package at v0.2
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/instant-messengers/ratox/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/ratox/default.nix b/pkgs/applications/networking/instant-messengers/ratox/default.nix
new file mode 100644
index 000000000000..1fb7ad8b9552
--- /dev/null
+++ b/pkgs/applications/networking/instant-messengers/ratox/default.nix
@@ -0,0 +1,29 @@
+{ stdenv, fetchgit, libtoxcore
+, conf ? null }:
+
+with stdenv.lib;
+
+stdenv.mkDerivation rec {
+  name = "ratox-dev-20150107";
+
+  src = fetchgit {
+    url = "git://git.2f30.org/ratox";
+    rev = "8be76e4cc829d86b8e1cae43a0d932600d6ff9fb";
+    sha256 = "7fe492de3e69a08f9c1bb59a319d0e410905f06514abe99b4d4fe5c899650448";
+  };
+
+  buildInputs = [ libtoxcore ];
+
+  configFile = optionalString (conf!=null) (builtins.toFile "config.h" conf);
+  preConfigure = optionalString (conf!=null) "cp ${configFile} config.def.h";
+
+  preBuild = "makeFlags=PREFIX=$out";
+
+  meta =
+    { description = "FIFO based tox client";
+      homepage = http://ratox.2f30.org/;
+      license = licenses.isc;
+      maintainers = with maintainers; [ emery ];
+      platforms = platforms.linux;
+    };
+}