lol
at master 41 lines 962 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 fetchpatch, 6}: 7 8stdenv.mkDerivation { 9 pname = "tomlcpp"; 10 version = "0.pre+date=2022-06-25"; 11 12 src = fetchFromGitHub { 13 owner = "cktan"; 14 repo = "tomlcpp"; 15 rev = "4212f1fccf530e276a2e1b63d3f99fbfb84e86a4"; 16 hash = "sha256-PM3gURXhyTZr59BWuLHvltjKOlKUSBT9/rqTeX5V//k="; 17 }; 18 19 patches = [ 20 (fetchpatch { 21 # Use implicit $AR variable in Makefile 22 # https://github.com/cktan/tomlcpp/pull/6 23 url = "https://github.com/cktan/tomlcpp/commit/abdb4e0db8b27f719434f5a0d6ec0b1a6b086ded.patch"; 24 hash = "sha256-SurUKdAZNWqBC7ss5nv5mDnJyC3DqxG/Q/FweTrkLnk="; 25 }) 26 ]; 27 28 dontConfigure = true; 29 30 installFlags = [ 31 "prefix=${placeholder "out"}" 32 ]; 33 34 meta = { 35 homepage = "https://github.com/cktan/tomlcpp"; 36 description = "No fanfare TOML C++ Library"; 37 license = lib.licenses.mit; 38 maintainers = with lib.maintainers; [ ]; 39 platforms = with lib.platforms; unix; 40 }; 41}