blob: 5d004db60e3ad10dc51bb7383cbdbc9209d2a885 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{ stdenv, fetchgit, libtoxcore
, conf ? null }:
with stdenv.lib;
let
configFile = optionalString (conf!=null) (builtins.toFile "config.h" conf);
in
stdenv.mkDerivation rec {
name = "ratox-0.4";
src = fetchgit {
url = "git://git.2f30.org/ratox.git";
rev = "0db821b7bd566f6cfdc0cc5a7bbcc3e5e92adb4c";
sha256 = "0wmf8hydbcq4bkpsld9vnqw4zfzf3f04vhgwy17nd4p5p389fbl5";
};
patches = [ ./ldlibs.patch ];
buildInputs = [ libtoxcore ];
preConfigure = optionalString (conf!=null) "cp ${configFile} config.def.h";
makeFlags = [ "PREFIX=$(out)" ];
meta = {
description = "FIFO based tox client";
homepage = http://ratox.2f30.org/;
license = licenses.isc;
maintainers = with maintainers; [ ehmry ];
platforms = platforms.linux;
};
}
|