nixpkgs/pkgs/applications/video/kmplayer/default.nix

29 lines
673 B
Nix
Raw Normal View History

{ stdenv, fetchurl, cmake, pkgconfig, gettext, makeWrapper
, kdelibs, cairo, dbus_glib, mplayer
2013-06-23 06:53:18 +00:00
}:
stdenv.mkDerivation {
2013-06-23 06:53:18 +00:00
name = "kmplayer-0.11.3d";
src = fetchurl {
2013-06-23 06:53:18 +00:00
url = http://kmplayer.kde.org/pkgs/kmplayer-0.11.3d.tar.bz2;
sha256 = "1yvbkb1hh5y7fqfvixjf2rryzm0fm0fpkx4lmvhi7k7d0v4wpgky";
};
2013-06-23 06:53:18 +00:00
buildInputs = [
cmake gettext pkgconfig makeWrapper
kdelibs cairo dbus_glib
2013-06-23 06:53:18 +00:00
];
postInstall = ''
wrapProgram $out/bin/kmplayer --suffix PATH : ${mplayer}/bin
'';
meta = {
description = "MPlayer front-end for KDE";
license = "GPL";
homepage = http://kmplayer.kde.org;
2013-06-23 06:53:18 +00:00
maintainers = [ stdenv.lib.maintainers.sander ];
};
}