3
0
Fork 0
forked from mirrors/nixpkgs

gnome-mpv: init at 0.9

This commit is contained in:
Tobias Geerinckx-Rice 2016-05-23 20:08:28 +02:00
parent 4f281384a4
commit d07e9a8e21
No known key found for this signature in database
GPG key ID: 91CCDB9B48541B99
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ stdenv, fetchurl
, intltool, pkgconfig, wrapGAppsHook
, appstream-glib, epoxy, glib, gtk3, mpv
}:
stdenv.mkDerivation rec {
name = "gnome-mpv-${version}";
version = "0.9";
src = fetchurl {
sha256 = "06pgxl6f3kkgxv8nlmyl7gy3pg55sqf8vgr8m6426mlpm4p3qdn0";
url = "https://github.com/gnome-mpv/gnome-mpv/releases/download/v${version}/${name}.tar.xz";
};
nativeBuildInputs = [ intltool pkgconfig wrapGAppsHook ];
buildInputs = [ appstream-glib epoxy glib.dev gtk3 mpv ];
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
enableParallelBuilding = true;
doCheck = true;
meta = with stdenv.lib; {
description = "Simple GTK+ frontend for the mpv video player";
longDescription = ''
GNOME MPV interacts with mpv via the client API exported by libmpv,
allowing access to mpv's powerful playback capabilities through an
easy-to-use user interface.
'';
homepage = https://github.com/gnome-mpv/gnome-mpv;
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
}

View file

@ -12846,6 +12846,8 @@ in
inherit (gnome) GConf;
};
gnome-mpv = callPackage ../applications/video/gnome-mpv { };
gollum = callPackage ../applications/misc/gollum { };
google-chrome = callPackage ../applications/networking/browsers/google-chrome { gconf = gnome.GConf; };