From 48e1e1cae649231b533c03a4f8ebda59b2c6424f Mon Sep 17 00:00:00 2001 From: Song Wenwu Date: Sun, 23 Jun 2013 17:48:21 +0800 Subject: [PATCH] add smplayer 0.8.5 --- pkgs/applications/video/smplayer/default.nix | 22 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/applications/video/smplayer/default.nix diff --git a/pkgs/applications/video/smplayer/default.nix b/pkgs/applications/video/smplayer/default.nix new file mode 100644 index 000000000000..21be1fdb74a6 --- /dev/null +++ b/pkgs/applications/video/smplayer/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl, qt4 }: + +stdenv.mkDerivation rec { + name = "smplayer-0.8.5"; + + src = fetchurl { + url = "mirror://sourceforge/smplayer/${name}.tar.bz2"; + sha256 = "0vbfvaqg5c25vabq1mf9xg6kzgvxnpd0i172y1gjznnlpcw2fxrw"; + }; + + buildInputs = [ qt4 ]; + + preConfigure = '' + makeFlags="PREFIX=$out" + ''; + + meta = { + description = "A complete front-end for MPlayer"; + homepage = "http://smplayer.sourceforge.net/"; + license = "GPLv3+"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1db460827c5c..9944bff7c3aa 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7874,6 +7874,8 @@ let ruby_ncursesw_sup = callPackage ../development/libraries/ruby_ncursesw_sup { }; + smplayer = callPackage ../applications/video/smplayer { }; + sup = callPackage ../applications/networking/mailreaders/sup { ruby = ruby19;