nixpkgs/pkgs/development/libraries/phonon/default.nix
2013-12-18 18:18:39 +02:00

25 lines
535 B
Nix

{ stdenv, fetchurl, cmake, automoc4, qt4, pulseaudio }:
let
v = "4.7.1";
in
stdenv.mkDerivation rec {
name = "phonon-${v}";
src = fetchurl {
url = "mirror://kde/stable/phonon/${v}/${name}.tar.xz";
sha256 = "0pdpj7xnalr511zx12akxg6smz7x5gybkpliclb5f5dcxqnq1xsg";
};
buildInputs = [ qt4 pulseaudio ];
nativeBuildInputs = [ cmake automoc4 ];
meta = {
homepage = http://phonon.kde.org/;
description = "Multimedia API for Qt";
license = "LGPLv2";
platforms = stdenv.lib.platforms.linux;
};
}