94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
23 lines
603 B
Nix
23 lines
603 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "tl-expected";
|
|
version = "1.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "TartanLlama";
|
|
repo = "expected";
|
|
rev = "v${version}";
|
|
hash = "sha256-AuRU8VI5l7Th9fJ5jIc/6mPm0Vqbbt6rY8QCCNDOU50=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = with lib; {
|
|
description = "C++11/14/17 std::expected with functional-style extensions";
|
|
homepage = "https://tl.tartanllama.xyz/en/latest/api/expected.html";
|
|
license = licenses.cc0;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|