summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/utox/default.nix
blob: 17a7f11cccea0d966cd0b17eaa3c92ca21ee5710 (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
35
36
37
38
39
40
41
42
43
44
{ stdenv, fetchFromGitHub, pkgconfig, libtoxcore, dbus, libvpx, libX11, openal, freetype, libv4l
, libXrender, fontconfig, libXext, libXft }:

let

  filteraudio = stdenv.mkDerivation rec {
    name = "filter_audio-20150128";

    src = fetchFromGitHub {
      owner = "irungentoo";
      repo = "filter_audio";
      rev = "76428a6cda";
      sha256 = "0c4wp9a7dzbj9ykfkbsxrkkyy0nz7vyr5map3z7q8bmv9pjylbk9";
    };

    doCheck = false;

    makeFlags = "PREFIX=$(out)";
  };

in stdenv.mkDerivation rec {
  name = "utox-dev-20150130";

  src = fetchFromGitHub {
    owner = "notsecure";
    repo = "uTox";
    rev = "cb7b8d09b08";
    sha256 = "0vg9h07ipwyf7p54p43z9bcymy0skiyjbm7zvyjg7r5cvqxv1vpa";
  };

  buildInputs = [ pkgconfig libtoxcore dbus libvpx libX11 openal freetype
                  libv4l libXrender fontconfig libXext libXft filteraudio ];

  doCheck = false;
  
  makeFlags = "PREFIX=$(out)";

  meta = with stdenv.lib; {
    description = "Lightweight Tox client";
    license = licenses.gpl3;
    maintainers = with maintainers; [ iElectric jgeerds ];
    platforms = platforms.all;
  };
}