mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 22:57:00 +00:00
ab3eeabfed
Likewise for propagatedBuildNativeInputs, etc. "buildNativeInputs" sounds like an imperative rather than a noun phrase.
26 lines
551 B
Nix
26 lines
551 B
Nix
{ stdenv, fetchurl, cmake, automoc4, qt4, pulseaudio }:
|
|
|
|
let
|
|
v = "4.6.0";
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "phonon-${v}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kde/stable/phonon/${v}/src/${name}.tar.xz";
|
|
sha256 = "2915e7a37c92a0a8237b9e6d2ef67ba8b005ee3529d03991cd3d137f039ba3c4";
|
|
};
|
|
|
|
buildInputs = [ qt4 pulseaudio ];
|
|
|
|
nativeBuildInputs = [ cmake automoc4 ];
|
|
|
|
meta = {
|
|
homepage = http://phonon.kde.org/;
|
|
description = "Multimedia API for Qt";
|
|
license = "LGPLv2";
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|