lol
at 23.05-pre 26 lines 731 B view raw
1{ lib, stdenv, cmake, fetchFromGitHub }: 2 3stdenv.mkDerivation rec { 4 pname = "marl"; 5 version = "1.0.0"; # Based on marl's CHANGES.md 6 7 src = fetchFromGitHub { 8 owner = "google"; 9 repo = pname; 10 sha256 = "0pnbarbyv82h05ckays2m3vgxzdhpcpg59bnzsddlb5v7rqhw51w"; 11 rev = "40209e952f5c1f3bc883d2b7f53b274bd454ca53"; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 16 # Turn on the flag to install after building the library. 17 cmakeFlags = ["-DMARL_INSTALL=ON"]; 18 19 meta = with lib; { 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 ]; 25 }; 26}