Merge pull request #80417 from Ma27/fix-waybar

waybar: 0.9.0 -> 0.9.1, fix build
This commit is contained in:
Maximilian Bosch 2020-02-20 01:50:44 +01:00 committed by GitHub
commit 3c0b262cee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 46 additions and 4 deletions

View file

@ -1,5 +1,6 @@
{ stdenv, fetchFromGitHub, meson, pkgconfig, ninja, wrapGAppsHook
, wayland, wlroots, gtkmm3, libinput, libsigcxx, jsoncpp, fmt, scdoc, spdlog, gtk-layer-shell
, howard-hinnant-date, cmake
, traySupport ? true, libdbusmenu-gtk3
, pulseSupport ? false, libpulseaudio
, nlSupport ? true, libnl
@ -9,21 +10,21 @@
}:
stdenv.mkDerivation rec {
pname = "waybar";
version = "0.9.0";
version = "0.9.1";
src = fetchFromGitHub {
owner = "Alexays";
repo = "Waybar";
rev = version;
sha256 = "1w8a6jih872ry288k8ic6mjfi9ccf1jwc24wnh9p5c7w73247c2c";
sha256 = "0drlv8im5phz39jxp3gxkc40b6f85bb3piff2v3hmnfzh7ib915s";
};
nativeBuildInputs = [
meson ninja pkgconfig scdoc wrapGAppsHook
meson ninja pkgconfig scdoc wrapGAppsHook cmake
];
buildInputs = with stdenv.lib;
[ wayland wlroots gtkmm3 libinput libsigcxx jsoncpp fmt spdlog gtk-layer-shell ]
[ wayland wlroots gtkmm3 libinput libsigcxx jsoncpp fmt spdlog gtk-layer-shell howard-hinnant-date ]
++ optional traySupport libdbusmenu-gtk3
++ optional pulseSupport libpulseaudio
++ optional nlSupport libnl
@ -50,5 +51,6 @@
license = licenses.mit;
maintainers = with maintainers; [ FlorianFranzen minijackson synthetica ];
platforms = platforms.unix;
homepage = "https://github.com/alexays/waybar";
};
}

View file

@ -0,0 +1,38 @@
{ stdenv, fetchFromGitHub, cmake, curl, fetchpatch }:
stdenv.mkDerivation rec {
pname = "howard-hinnant-date-unstable";
version = "2020-01-24";
src = fetchFromGitHub {
owner = "HowardHinnant";
repo = "date";
rev = "9a0ee2542848ab8625984fc8cdbfb9b5414c0082";
sha256 = "0yxsn0hj22n61bjywysxqgfv7hj5xvsl6isma95fl8xrimpny083";
};
patches = [
(fetchpatch {
url = "https://github.com/HowardHinnant/date/commit/e56b2dce7e89a92e1b9b35caa13b3e938c4cedea.patch";
sha256 = "0m3qbhq7kmm9qa3jm6d2px7c1dxdj5k9lffgdvqnrwmhxwj1p9n2";
})
];
nativeBuildInputs = [ cmake ];
buildInputs = [ curl ];
cmakeFlags = [
"-DBUILD_TZ_LIB=true"
"-DBUILD_SHARED_LIBS=true"
];
outputs = [ "out" "dev" ];
meta = with stdenv.lib; {
license = licenses.mit;
description = "A date and time library based on the C++11/14/17 <chrono> header";
homepage = "https://github.com/HowardHinnant/date";
platforms = platforms.linux;
maintainers = with maintainers; [ ma27 ];
};
}

View file

@ -1562,6 +1562,8 @@ in
datasette = with python3Packages; toPythonApplication datasette;
howard-hinnant-date = callPackage ../development/libraries/howard-hinnant-date { };
datefudge = callPackage ../tools/system/datefudge { };
dateutils = callPackage ../tools/misc/dateutils { };