nixpkgs/pkgs/applications/networking/instant-messengers/toxic/default.nix

29 lines
804 B
Nix
Raw Normal View History

{ stdenv, fetchurl, autoconf, libtool, automake, libsodium, ncurses
, libtoxcore, openal, libvpx, freealut, libconfig, pkgconfig }:
let
2014-09-18 09:23:01 +02:00
version = "0.5.0";
2014-08-25 17:13:50 +02:00
in stdenv.mkDerivation rec {
name = "toxic-${version}";
src = fetchurl {
2014-08-25 17:13:50 +02:00
url = "https://github.com/Tox/toxic/archive/v${version}.tar.gz";
2014-09-18 09:23:01 +02:00
sha256 = "01k32431zay1mdqvrw5qk0pjxb7gkcxr78w1a06g23b7ymjwfawv";
};
makeFlags = [ "-Cbuild" "VERSION=${version}" ];
installFlags = [ "PREFIX=$(out)" ];
buildInputs = [
autoconf libtool automake libtoxcore libsodium ncurses openal libvpx
freealut libconfig pkgconfig
];
meta = {
description = "Reference CLI for Tox";
license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.lib.maintainers; [ viric ];
platforms = stdenv.lib.platforms.all;
};
}