git.iko.soy/typeable/nixpkgs
on master help sign in
ratox: 0.2.1 -> 0.4
commit205d7f6297d8d10eb4364361d6a0d1104245926e authorSLNOS <anonymous@wired> dateFri 1 Dec 2017, 00:00 (9 years ago) parent8bcd948
3 files changed+26−17
pkgs/applications/networking/instant-messengers/ratox/default.nix+20−14 pkgs/applications/networking/instant-messengers/ratox/ldlibs.patch+5 pkgs/top-level/all-packages.nix+1−3
pkgs/applications/networking/instant-messengers/ratox/default.nix+20−14
@@ -1,28 +1,34 @@
1−{ stdenv, fetchurl, libtoxcore
1+{ stdenv, fetchgit, libtoxcore
22, conf ? null }:
33
44with stdenv.lib;
55
6+let
7+ configFile = optionalString (conf!=null) (builtins.toFile "config.h" conf);
8+in
9+
610stdenv.mkDerivation rec {
7− name = "ratox-0.2.1";
11+ name = "ratox-0.4";
812
9− src = fetchurl {
10− url = "http://git.2f30.org/ratox/snapshot/${name}.tar.gz";
11− sha256 = "0xnw3zcz9frmcxqhwg38hhnsy1g5xl9yc19nl0vwi5awz8wqqy19";
13+ src = fetchgit {
14+ url = "git://git.2f30.org/ratox.git";
15+ rev = "0db821b7bd566f6cfdc0cc5a7bbcc3e5e92adb4c";
16+ sha256 = "0wmf8hydbcq4bkpsld9vnqw4zfzf3f04vhgwy17nd4p5p389fbl5";
1217 };
1318
19+ patches = [ ./ldlibs.patch ];
20+
1421 buildInputs = [ libtoxcore ];
1522
16− configFile = optionalString (conf!=null) (builtins.toFile "config.h" conf);
1723 preConfigure = optionalString (conf!=null) "cp ${configFile} config.def.h";
1824
19− preBuild = "makeFlags=PREFIX=$out";
25+ makeFlags = [ "PREFIX=$(out)" ];
2026
21− meta =
22− { description = "FIFO based tox client";
23− homepage = http://ratox.2f30.org/;
24− license = licenses.isc;
25− maintainers = with maintainers; [ ehmry ];
26− platforms = platforms.linux;
27− };
27+ meta = {
28+ description = "FIFO based tox client";
29+ homepage = http://ratox.2f30.org/;
30+ license = licenses.isc;
31+ maintainers = with maintainers; [ ehmry ];
32+ platforms = platforms.linux;
33+ };
2834}
pkgs/applications/networking/instant-messengers/ratox/ldlibs.patchnew file+5
@@ -0,0 +1,5 @@
1+--- a/config.mk
2++++ b/config.mk
3+@@ -13 +13 @@ LDFLAGS = -L/usr/local/lib
4+-LDLIBS = -ltoxcore -ltoxav -ltoxencryptsave -lsodium -lopus -lvpx -lm -lpthread
5++LDLIBS = -ltoxcore -ltoxav -ltoxencryptsave -lm -lpthread
pkgs/top-level/all-packages.nix+1−3
@@ -16541,9 +16541,7 @@ with pkgs;
1654116541
1654216542 ratmen = callPackage ../tools/X11/ratmen {};
1654316543
16544− ratox = callPackage ../applications/networking/instant-messengers/ratox {
16545− libtoxcore = libtoxcore-old;
16546− };
16544+ ratox = callPackage ../applications/networking/instant-messengers/ratox { };
1654716545
1654816546 ratpoison = callPackage ../applications/window-managers/ratpoison { };
1654916547