1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00
nixpkgs/pkgs/applications/video/kmplayer/default.nix
Vladimír Čunát ca850deb9e kde4.kmplayer: use gentoo mirror (fixes #5407)
The upstream server is down.
2014-12-20 10:34:44 +01:00

30 lines
738 B
Nix

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