Merge pull request #80417 from Ma27/fix-waybar
waybar: 0.9.0 -> 0.9.1, fix build
This commit is contained in:
commit
3c0b262cee
@ -1,5 +1,6 @@
|
|||||||
{ stdenv, fetchFromGitHub, meson, pkgconfig, ninja, wrapGAppsHook
|
{ stdenv, fetchFromGitHub, meson, pkgconfig, ninja, wrapGAppsHook
|
||||||
, wayland, wlroots, gtkmm3, libinput, libsigcxx, jsoncpp, fmt, scdoc, spdlog, gtk-layer-shell
|
, wayland, wlroots, gtkmm3, libinput, libsigcxx, jsoncpp, fmt, scdoc, spdlog, gtk-layer-shell
|
||||||
|
, howard-hinnant-date, cmake
|
||||||
, traySupport ? true, libdbusmenu-gtk3
|
, traySupport ? true, libdbusmenu-gtk3
|
||||||
, pulseSupport ? false, libpulseaudio
|
, pulseSupport ? false, libpulseaudio
|
||||||
, nlSupport ? true, libnl
|
, nlSupport ? true, libnl
|
||||||
@ -9,21 +10,21 @@
|
|||||||
}:
|
}:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "waybar";
|
pname = "waybar";
|
||||||
version = "0.9.0";
|
version = "0.9.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Alexays";
|
owner = "Alexays";
|
||||||
repo = "Waybar";
|
repo = "Waybar";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1w8a6jih872ry288k8ic6mjfi9ccf1jwc24wnh9p5c7w73247c2c";
|
sha256 = "0drlv8im5phz39jxp3gxkc40b6f85bb3piff2v3hmnfzh7ib915s";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson ninja pkgconfig scdoc wrapGAppsHook
|
meson ninja pkgconfig scdoc wrapGAppsHook cmake
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = with stdenv.lib;
|
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 traySupport libdbusmenu-gtk3
|
||||||
++ optional pulseSupport libpulseaudio
|
++ optional pulseSupport libpulseaudio
|
||||||
++ optional nlSupport libnl
|
++ optional nlSupport libnl
|
||||||
@ -50,5 +51,6 @@
|
|||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ FlorianFranzen minijackson synthetica ];
|
maintainers = with maintainers; [ FlorianFranzen minijackson synthetica ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
|
homepage = "https://github.com/alexays/waybar";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
38
pkgs/development/libraries/howard-hinnant-date/default.nix
Normal file
38
pkgs/development/libraries/howard-hinnant-date/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -1562,6 +1562,8 @@ in
|
|||||||
|
|
||||||
datasette = with python3Packages; toPythonApplication datasette;
|
datasette = with python3Packages; toPythonApplication datasette;
|
||||||
|
|
||||||
|
howard-hinnant-date = callPackage ../development/libraries/howard-hinnant-date { };
|
||||||
|
|
||||||
datefudge = callPackage ../tools/system/datefudge { };
|
datefudge = callPackage ../tools/system/datefudge { };
|
||||||
|
|
||||||
dateutils = callPackage ../tools/misc/dateutils { };
|
dateutils = callPackage ../tools/misc/dateutils { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user