nixpkgs-suyu/pkgs/development/libraries/phonon-backend-vlc/default.nix
Eelco Dolstra ab3eeabfed Rename buildNativeInputs -> nativeBuildInputs
Likewise for propagatedBuildNativeInputs, etc.  "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
2012-12-28 19:20:09 +01:00

26 lines
670 B
Nix

{ stdenv, fetchurl, xz, qt4, vlc, automoc4, cmake, phonon }:
let
pname = "phonon-backend-vlc";
v = "0.5.0";
vlc_ = vlc.override { inherit qt4; }; #Force using the same qt version
in
stdenv.mkDerivation {
name = "${pname}-${v}";
src = fetchurl {
url = "mirror://kde/stable/phonon/${pname}/${v}/src/${pname}-${v}.tar.xz";
sha256 = "1233szd05ahaxyk1sjis374n90m40svfks2aq9jx3g3lxygzwmi2";
};
nativeBuildInputs = [ cmake automoc4 xz ];
buildInputs = [ qt4 vlc_ phonon ];
meta = {
description = "VideoLAN backend for Phonon multimedia framework";
inherit (qt4.meta) platforms;
maintainers = [ stdenv.lib.maintainers.urkud ];
};
}