-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #80417 from Ma27/fix-waybar
waybar: 0.9.0 -> 0.9.1, fix build
- Loading branch information
Showing
3 changed files
with
46 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
pkgs/development/libraries/howard-hinnant-date/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters