mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
ab3eeabfed
Likewise for propagatedBuildNativeInputs, etc. "buildNativeInputs" sounds like an imperative rather than a noun phrase.
27 lines
670 B
Nix
27 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 ];
|
|
};
|
|
}
|