1{ lib, stdenv, fetchFromGitHub }:
2
3stdenv.mkDerivation rec {
4 pname = "tomlcpp";
5 version = "0.pre+date=2022-06-25";
6
7 src = fetchFromGitHub {
8 owner = "cktan";
9 repo = pname;
10 rev = "4212f1fccf530e276a2e1b63d3f99fbfb84e86a4";
11 hash = "sha256-PM3gURXhyTZr59BWuLHvltjKOlKUSBT9/rqTeX5V//k=";
12 };
13
14 dontConfigure = true;
15
16 installFlags = [
17 "prefix=${placeholder "out"}"
18 ];
19
20 meta = with lib;{
21 homepage = "https://github.com/cktan/tomlcpp";
22 description = "No fanfare TOML C++ Library";
23 license = licenses.mit;
24 maintainers = with maintainers; [ AndersonTorres ];
25 platforms = with platforms; unix;
26 };
27}