2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tl-expected-unstable";
|
2023-02-22 10:55:15 +00:00
|
|
|
version = "2023-02-15"; # 37 commits ahead of version 1.0.0
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "TartanLlama";
|
|
|
|
repo = "expected";
|
2023-02-22 10:55:15 +00:00
|
|
|
rev = "9d812f5e3b5bc68023f6e31d29489cdcaacef606";
|
2020-04-24 23:36:52 +00:00
|
|
|
fetchSubmodules = true;
|
2023-02-22 10:55:15 +00:00
|
|
|
hash = "sha256-ZokcGQgHH37nmTMLmxFcun4S1RjXuXb9NfWHet8Fbc4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
2022-01-03 16:56:52 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|