uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
61
pkgs/applications/video/smplayer/default.nix
Normal file
61
pkgs/applications/video/smplayer/default.nix
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, qmake
|
||||
, qtscript
|
||||
, wrapQtAppsHook
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "smplayer";
|
||||
version = "22.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "smplayer-dev";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-7DMvIqW3vzjVzJPyjbXuHHcf1T6EFcf/a/mVYqa3XS8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
qmake
|
||||
wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qtscript
|
||||
];
|
||||
|
||||
dontUseQmakeConfigure = true;
|
||||
|
||||
makeFlags = [
|
||||
"PREFIX=${placeholder "out"}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.smplayer.info";
|
||||
description = "A complete front-end for MPlayer";
|
||||
longDescription = ''
|
||||
SMPlayer is a free media player for Windows and Linux with built-in codecs
|
||||
that can play virtually all video and audio formats. It doesn't need any
|
||||
external codecs. Just install SMPlayer and you'll be able to play all
|
||||
formats without the hassle to find and install codec packs.
|
||||
|
||||
One of the most interesting features of SMPlayer: it remembers the
|
||||
settings of all files you play. So you start to watch a movie but you have
|
||||
to leave... don't worry, when you open that movie again it will be resumed
|
||||
at the same point you left it, and with the same settings: audio track,
|
||||
subtitles, volume...
|
||||
|
||||
SMPlayer is a graphical user interface (GUI) for the award-winning
|
||||
MPlayer, which is capable of playing almost all known video and audio
|
||||
formats. But apart from providing access for the most common and useful
|
||||
options of MPlayer, SMPlayer adds other interesting features like the
|
||||
possibility to play Youtube videos or download subtitles.
|
||||
'';
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
# TODO [ AndersonTorres ]: some form of wrapping mplayer/mpv around it
|
||||
Loading…
Add table
Add a link
Reference in a new issue