Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / marl / default.nix
blob4545264aad9e1412f2fba6b07af235ee03cd73db
1 { lib, stdenv, cmake, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
4   pname = "marl";
5   version = "1.0.0";  # Based on marl's CHANGES.md
7   src = fetchFromGitHub {
8     owner = "google";
9     repo = pname;
10     sha256 = "0pnbarbyv82h05ckays2m3vgxzdhpcpg59bnzsddlb5v7rqhw51w";
11     rev = "40209e952f5c1f3bc883d2b7f53b274bd454ca53";
12   };
14   nativeBuildInputs = [ cmake ];
16   # Turn on the flag to install after building the library.
17   cmakeFlags = ["-DMARL_INSTALL=ON"];
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   };