1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/networking/instant-messengers/utox/default.nix

40 lines
987 B
Nix
Raw Normal View History

2017-02-14 07:00:22 +00:00
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libtoxcore, filter-audio, dbus, libvpx, libX11, openal, freetype, libv4l
2017-11-01 06:21:37 +00:00
, libXrender, fontconfig, libXext, libXft, utillinux, git, libsodium, libopus, check }:
2014-07-31 11:56:16 +01:00
2016-02-17 14:43:53 +00:00
stdenv.mkDerivation rec {
name = "utox-${version}";
2017-11-01 06:21:37 +00:00
version = "0.16.1";
2014-07-31 11:56:16 +01:00
src = fetchFromGitHub {
2017-02-14 07:00:22 +00:00
owner = "uTox";
repo = "uTox";
rev = "v${version}";
2017-11-01 06:21:37 +00:00
sha256 = "0ak10925v67yaga2pw9yzp0xkb5j1181srfjdyqpd29v8mi9j828";
2014-07-31 11:56:16 +01:00
};
2017-02-14 07:00:22 +00:00
buildInputs = [
libtoxcore dbus libvpx libX11 openal freetype
libv4l libXrender fontconfig libXext libXft filter-audio
2017-11-01 06:21:37 +00:00
libsodium libopus check
2017-02-14 07:00:22 +00:00
];
nativeBuildInputs = [
cmake git pkgconfig
];
2014-07-31 11:56:16 +01:00
2017-02-25 07:50:52 +00:00
cmakeFlags = [
"-DENABLE_UPDATER=OFF"
];
2014-07-31 11:56:16 +01:00
doCheck = false;
2016-02-17 14:43:53 +00:00
2014-07-31 11:56:16 +01:00
meta = with stdenv.lib; {
description = "Lightweight Tox client";
2017-02-25 07:50:52 +00:00
homepage = https://github.com/uTox/uTox;
2014-07-31 11:56:16 +01:00
license = licenses.gpl3;
maintainers = with maintainers; [ domenkozar jgeerds ];
platforms = platforms.all;
2014-07-31 11:56:16 +01:00
};
}