Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #52150 from r-ryantm/auto-update/playerctl

playerctl: 0.6.1 -> 2.0.1

authored by

Jörg Thalheim and committed by
GitHub
84fb36b4 65884808

+13 -9
+8 -1
pkgs/applications/window-managers/yabar/unstable.nix
··· 1 - { playerctl, libxkbcommon, callPackage, attrs ? {} }: 1 + { fetchpatch, playerctl, libxkbcommon, callPackage, attrs ? {} }: 2 2 3 3 let 4 4 pkg = callPackage ./build.nix ({ ··· 14 14 15 15 makeFlags = o.makeFlags ++ [ 16 16 "PLAYERCTL=1" 17 + ]; 18 + 19 + patches = (o.patches or []) ++ [ 20 + (fetchpatch { 21 + url = "https://github.com/geommer/yabar/commit/008dc1420ff684cf12ce2ef3ac9d642e054e39f5.patch"; 22 + sha256 = "1q7nd66ai6nr2m6iqxn55gvbr4r5gjc00c8wyjc3riv31qcbqbhv"; 23 + }) 17 24 ]; 18 25 })
+5 -8
pkgs/tools/audio/playerctl/default.nix
··· 1 - { stdenv, meson, ninja, fetchFromGitHub, glib, pkgconfig, gobject-introspection }: 1 + { stdenv, meson, ninja, fetchFromGitHub, glib, pkgconfig, gtk-doc, docbook_xsl, gobject-introspection }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "playerctl-${version}"; 5 - version = "0.6.1"; 5 + version = "2.0.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "acrisci"; 9 9 repo = "playerctl"; 10 10 rev = "v${version}"; 11 - sha256 = "0jnylj5d6i29c5y6yjxg1a88r2qfbac5pj95f2aljjkfh9428jbb"; 11 + sha256 = "0j1fvcc80307ybl1z9l752sr4bcza2fmb8qdivpnm4xmm82faigb"; 12 12 }; 13 13 14 - nativeBuildInputs = [ meson ninja pkgconfig gobject-introspection ]; 14 + nativeBuildInputs = [ meson ninja pkgconfig gtk-doc docbook_xsl gobject-introspection ]; 15 15 buildInputs = [ glib ]; 16 - 17 - # docs somehow crashes the install phase: 18 - # https://github.com/acrisci/playerctl/issues/85 19 - mesonFlags = [ "-Dgtk-doc=false" ]; 20 16 21 17 meta = with stdenv.lib; { 22 18 description = "Command-line utility and library for controlling media players that implement MPRIS"; ··· 24 20 license = licenses.lgpl3; 25 21 platforms = platforms.unix; 26 22 maintainers = with maintainers; [ puffnfresh ]; 23 + broken = stdenv.hostPlatform.isDarwin; 27 24 }; 28 25 }