1 { lib, stdenv, cmake, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
5 version = "1.0.0"; # Based on marl's CHANGES.md
7 src = fetchFromGitHub {
10 sha256 = "0pnbarbyv82h05ckays2m3vgxzdhpcpg59bnzsddlb5v7rqhw51w";
11 rev = "40209e952f5c1f3bc883d2b7f53b274bd454ca53";
14 nativeBuildInputs = [ cmake ];
16 # Turn on the flag to install after building the library.
17 cmakeFlags = ["-DMARL_INSTALL=ON"];
20 homepage = "https://github.com/google/marl";
21 description = "A hybrid thread / fiber task scheduler written in C++ 11";
22 platforms = platforms.all;
23 license = licenses.asl20;
24 maintainers = with maintainers; [ breakds ];