nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 28 lines 594 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "tl-expected"; 10 version = "1.1.0"; 11 12 src = fetchFromGitHub { 13 owner = "TartanLlama"; 14 repo = "expected"; 15 rev = "v${version}"; 16 hash = "sha256-AuRU8VI5l7Th9fJ5jIc/6mPm0Vqbbt6rY8QCCNDOU50="; 17 }; 18 19 nativeBuildInputs = [ cmake ]; 20 21 meta = with lib; { 22 description = "C++11/14/17 std::expected with functional-style extensions"; 23 homepage = "https://tl.tartanllama.xyz/en/latest/api/expected.html"; 24 license = licenses.cc0; 25 platforms = platforms.all; 26 maintainers = [ ]; 27 }; 28}