at 23.05-pre 24 lines 712 B view raw
1{ lib, stdenv, fetchFromGitHub, cmake }: 2 3stdenv.mkDerivation rec { 4 pname = "tl-expected-unstable"; 5 version = "2019-11-11"; # 5 commits ahead of version 1.0.0 6 7 src = fetchFromGitHub { 8 owner = "TartanLlama"; 9 repo = "expected"; 10 rev = "1d9c5d8c0da84b8ddc54bd3d90d632eec95c1f13"; 11 fetchSubmodules = true; 12 sha256 = "0rzfn9yyg70zwpxbmv22qy0015baymi2rdd65ixmcb31fgnap68i"; 13 }; 14 15 nativeBuildInputs = [ cmake ]; 16 17 meta = with lib; { 18 description = "C++11/14/17 std::expected with functional-style extensions"; 19 homepage = "https://tl.tartanllama.xyz/en/latest/api/expected.html"; 20 license = licenses.cc0; 21 platforms = platforms.all; 22 maintainers = with maintainers; [ ]; 23 }; 24}