yabar-unstable: patch for playerctl-2.0 support

This commit is contained in:
Jörg Thalheim 2018-12-20 10:59:57 +01:00
parent 47cc83dcc8
commit f9c06d41dd
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA

View File

@ -1,4 +1,4 @@
{ playerctl, libxkbcommon, callPackage, attrs ? {} }: { fetchpatch, playerctl, libxkbcommon, callPackage, attrs ? {} }:
let let
pkg = callPackage ./build.nix ({ pkg = callPackage ./build.nix ({
@ -15,4 +15,11 @@ in pkg.overrideAttrs (o: {
makeFlags = o.makeFlags ++ [ makeFlags = o.makeFlags ++ [
"PLAYERCTL=1" "PLAYERCTL=1"
]; ];
patches = (o.patches or []) ++ [
(fetchpatch {
url = "https://github.com/geommer/yabar/commit/008dc1420ff684cf12ce2ef3ac9d642e054e39f5.patch";
sha256 = "1q7nd66ai6nr2m6iqxn55gvbr4r5gjc00c8wyjc3riv31qcbqbhv";
})
];
}) })