mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
27 lines
630 B
Nix
27 lines
630 B
Nix
{ stdenv, fetchurl, qmakeHook, qtscript }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "smplayer-16.1.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/smplayer/${name}.tar.bz2";
|
|
sha256 = "1jfqpmbbjrs9lna44dp10zblj7b0cras9sb0nczycpkcsdi9np6j";
|
|
};
|
|
|
|
patches = [ ./basegui.cpp.patch ];
|
|
|
|
buildInputs = [ qmakeHook qtscript ];
|
|
|
|
dontUseQmakeConfigure = true;
|
|
|
|
preConfigure = ''
|
|
makeFlags="PREFIX=$out"
|
|
'';
|
|
|
|
meta = {
|
|
description = "A complete front-end for MPlayer";
|
|
homepage = "http://smplayer.sourceforge.net/";
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|