nixpkgs/pkgs/applications/networking/instant-messengers/skype-call-recorder/default.nix

29 lines
898 B
Nix

{ 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];
};
}