Merge pull request #33317 from Ma27/update-yabar

yabar-unstable: 2017-10-12 -> 2018-01-02
This commit is contained in:
adisbladis 2018-01-02 11:47:47 +01:00 committed by GitHub
commit aa0d820793
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 10 deletions

View file

@ -2,7 +2,6 @@
, xcbutilwm, alsaLib, wirelesstools, asciidoc, libxslt, makeWrapper, docbook_xsl
, configFile ? null, lib
, rev, sha256, version
, playerctl
}:
stdenv.mkDerivation {
@ -21,7 +20,6 @@ stdenv.mkDerivation {
buildInputs = [
cairo gdk_pixbuf libconfig pango xcbutilwm docbook_xsl
alsaLib wirelesstools asciidoc libxslt makeWrapper
playerctl
];
postPatch = ''
@ -30,7 +28,7 @@ stdenv.mkDerivation {
--replace "a2x" "${asciidoc}/bin/a2x --no-xmllint"
'';
makeFlags = [ "DESTDIR=$(out)" "PREFIX=/" "PLAYERCTL=1" ];
makeFlags = [ "DESTDIR=$(out)" "PREFIX=/" ];
postInstall = ''
mkdir -p $out/share/yabar/examples

View file

@ -1,10 +1,18 @@
{ callPackage, attrs ? {} }:
{ playerctl, libxkbcommon, callPackage, attrs ? {} }:
let
overrides = {
version = "unstable-2017-10-12";
pkg = callPackage ./build.nix ({
version = "unstable-2018-01-02";
rev = "cbecc7766e37f29d50705da0a82dc76ce7c3b86e";
sha256 = "1wprjas3k14rxfl06mgr0xq2ra735w1c7dq4xrdvii887wnl37xb";
} // attrs;
in callPackage ./build.nix overrides
rev = "d9f75933f1fdd7bec24bf7db104c7e1df2728b98";
sha256 = "0ry2pgqsnl6cmvkhakm73cjqdnirkimldnmbngl6hbvggx32z8c9";
} // attrs);
in pkg.overrideAttrs (o: {
buildInputs = o.buildInputs ++ [
playerctl libxkbcommon
];
makeFlags = o.makeFlags ++ [
"PLAYERCTL=1"
];
})