1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00
nixpkgs/pkgs/desktops/gnome-3/extensions/mediaplayer/default.nix

38 lines
907 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, glib, meson, gettext, ninja, python3 }:
stdenv.mkDerivation rec {
name = "gnome-shell-extensions-mediaplayer-${version}";
version = "unstable-2019-03-21";
src = fetchFromGitHub {
owner = "JasonLG1979";
repo = "gnome-shell-extensions-mediaplayer";
rev = "b382c98481fa421501684e2ff3eafc53971ef22b";
sha256 = "01z2dml8dvl5sljw62g7x19mz02dz1g4gkmyp0h5bx49djcw1nnh";
};
nativeBuildInputs = [
meson
ninja
python3
];
buildInputs = [
glib
gettext
];
postPatch = ''
rm build
chmod +x meson_post_install.py
patchShebangs meson_post_install.py
'';
meta = with stdenv.lib; {
description = "Control MPRIS Version 2 Capable Media Players";
license = licenses.gpl2Plus;
homepage = https://github.com/JasonLG1979/gnome-shell-extensions-mediaplayer/;
maintainers = with maintainers; [ tiramiseb ];
};
}