nixpkgs/pkgs/by-name/tl/tl-expected/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
585 B
Nix
Raw Permalink Normal View History

{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
2023-05-01 23:59:12 +01:00
pname = "tl-expected";
version = "1.1.0";
src = fetchFromGitHub {
owner = "TartanLlama";
repo = "expected";
2023-05-01 23:59:12 +01:00
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 = [ ];
};
}