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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c1f8ff82253f..b935e9fc3ec9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11066,6 +11066,8 @@ let rapidsvn = callPackage ../applications/version-management/rapidsvn { }; + ratox = callPackage ../applications/networking/instant-messengers/ratox { }; + ratpoison = callPackage ../applications/window-managers/ratpoison { }; rawtherapee = callPackage ../applications/graphics/rawtherapee {