mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
ab3eeabfed
Likewise for propagatedBuildNativeInputs, etc. "buildNativeInputs" sounds like an imperative rather than a noun phrase.
27 lines
659 B
Nix
27 lines
659 B
Nix
{ stdenv, fetchurl, cmake, automoc4, qt4, pkgconfig, phonon, gstreamer
|
|
, gst_plugins_base }:
|
|
|
|
let
|
|
version = "4.6.0";
|
|
pname = "phonon-backend-gstreamer";
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kde/stable/phonon/${pname}/${version}/src/${name}.tar.xz";
|
|
sha256 = "0bwkd1dmj8p4m5xindh6ixfvifq36qmvfn246vx22syqfl6f1m2v";
|
|
};
|
|
|
|
buildInputs = [ phonon qt4 gstreamer gst_plugins_base ];
|
|
|
|
nativeBuildInputs = [ cmake automoc4 pkgconfig ];
|
|
|
|
meta = {
|
|
homepage = http://phonon.kde.org/;
|
|
description = "GStreamer backend for Phonon";
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|