mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
51 lines
889 B
Nix
51 lines
889 B
Nix
{ lib
|
|
, mkXfceDerivation
|
|
, dbus
|
|
, dbus-glib
|
|
, gst_all_1
|
|
, gtk3
|
|
, libnotify
|
|
, libX11
|
|
, libxfce4ui
|
|
, libxfce4util
|
|
, taglib
|
|
, xfconf
|
|
}:
|
|
|
|
# Doesn't seem to find H.264 codec even though built with gst-plugins-bad.
|
|
|
|
mkXfceDerivation {
|
|
category = "apps";
|
|
pname = "parole";
|
|
version = "4.18.1";
|
|
|
|
sha256 = "sha256-g+Wy90tHpCeylbU7aUa8578ehmuyWI5WlCK7YdJKlNQ=";
|
|
|
|
postPatch = ''
|
|
substituteInPlace src/plugins/mpris2/Makefile.am \
|
|
--replace GST_BASE_CFLAGS GST_VIDEO_CFLAGS
|
|
'';
|
|
|
|
buildInputs = with gst_all_1; [
|
|
dbus
|
|
dbus-glib
|
|
gst-plugins-bad
|
|
gst-plugins-base
|
|
gst-plugins-good
|
|
gst-plugins-ugly
|
|
gtk3
|
|
libnotify
|
|
libX11
|
|
libxfce4ui
|
|
libxfce4util
|
|
taglib
|
|
xfconf
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Modern simple media player";
|
|
mainProgram = "parole";
|
|
maintainers = with maintainers; [ ] ++ teams.xfce.members;
|
|
};
|
|
}
|