nixpkgs-suyu/pkgs/desktops/xfce4-13/parole/default.nix

37 lines
842 B
Nix
Raw Normal View History

{ mkXfceDerivation, makeWrapper, wrapGAppsHook, dbus, dbus-glib
2017-12-17 16:02:52 +01:00
, gst-plugins-bad ? null, gst-plugins-base, gst-plugins-good
, gst-plugins-ugly ? null, gtk3, libnotify, libxfce4ui, libxfce4util
, taglib ? null, xfconf }:
# Doesn't seem to find H.264 codec even though built with gst-plugins-bad.
mkXfceDerivation rec {
category = "apps";
pname = "parole";
version = "1.0.1";
2017-12-17 16:02:52 +01:00
sha256 = "0zq1imbjqmwfk3yrsha2s7lclzbh8xgggz0rbksa51siqk73swbb";
2017-12-17 16:02:52 +01:00
postPatch = ''
substituteInPlace src/plugins/mpris2/Makefile.am \
--replace GST_BASE_CFLAGS GST_VIDEO_CFLAGS
'';
nativeBuildInputs = [ makeWrapper wrapGAppsHook ];
buildInputs = [
dbus
dbus-glib
2017-12-17 16:02:52 +01:00
gst-plugins-bad
gst-plugins-base
gst-plugins-good
gst-plugins-ugly
gtk3
libnotify
libxfce4ui
libxfce4util
taglib
xfconf
];
}