1 { lib, stdenv, fetchFromGitHub, fetchpatch }:
3 stdenv.mkDerivation rec {
5 version = "0.pre+date=2022-06-25";
7 src = fetchFromGitHub {
10 rev = "4212f1fccf530e276a2e1b63d3f99fbfb84e86a4";
11 hash = "sha256-PM3gURXhyTZr59BWuLHvltjKOlKUSBT9/rqTeX5V//k=";
16 # Use implicit $AR variable in Makefile
17 # https://github.com/cktan/tomlcpp/pull/6
18 url = "https://github.com/cktan/tomlcpp/commit/abdb4e0db8b27f719434f5a0d6ec0b1a6b086ded.patch";
19 hash = "sha256-SurUKdAZNWqBC7ss5nv5mDnJyC3DqxG/Q/FweTrkLnk=";
26 "prefix=${placeholder "out"}"
30 homepage = "https://github.com/cktan/tomlcpp";
31 description = "No fanfare TOML C++ Library";
32 license = lib.licenses.mit;
33 maintainers = with lib.maintainers; [ AndersonTorres ];
34 platforms = with lib.platforms; unix;