aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/applications/networking/instant-messengers/skype-call-recorder/default.nix
blob: 57d1ffece71a29d6a4466315d0e2234550f5f08f (plain)
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
{ stdenv, fetchurl, cmake, lame, id3lib, libvorbis, qt4, libogg }:

stdenv.mkDerivation {
  name = "skype-call-recorder-0.8";
  src = fetchurl {
    url = "https://atdot.ch/scr/files/0.8/skype-call-recorder-0.8.tar.gz";
    sha256 = "1iijkhq3aj9gr3bx6zl8ryvzkqcdhsm9yisimakwq0lnw0lgf5di";
  };

  # Keep an rpath reference to the used libogg
  prePatch = ''
    sed -i -e '/ADD_EXECUTABLE/aSET(LIBRARIES ''${LIBRARIES} ogg)' CMakeLists.txt
  '';

  # Better support for hosted conferences
  patches = [ ./conference.patch ];

  buildInputs = [ cmake lame id3lib libvorbis qt4 libogg ];
  NIX_LDFLAGS = "-lvorbis";

  meta = {
    homepage = "http://atdot.ch/scr/";
    description = "Open source tool to record your Skype calls on Linux";
    license = stdenv.lib.licenses.gpl2Plus;
    platforms = with stdenv.lib.platforms; linux;
    maintainers = with stdenv.lib.maintainers; [viric];
  };
}