mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
Merge pull request #33317 from Ma27/update-yabar
yabar-unstable: 2017-10-12 -> 2018-01-02
This commit is contained in:
commit
aa0d820793
2 changed files with 16 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
];
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue