diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/tomlcpp')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/tomlcpp/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/tomlcpp/default.nix b/nixpkgs/pkgs/development/libraries/tomlcpp/default.nix new file mode 100644 index 000000000000..f782719f2b63 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/tomlcpp/default.nix @@ -0,0 +1,27 @@ +{ lib, stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "tomlcpp"; + version = "0.pre+date=2022-06-25"; + + src = fetchFromGitHub { + owner = "cktan"; + repo = pname; + rev = "4212f1fccf530e276a2e1b63d3f99fbfb84e86a4"; + hash = "sha256-PM3gURXhyTZr59BWuLHvltjKOlKUSBT9/rqTeX5V//k="; + }; + + dontConfigure = true; + + installFlags = [ + "prefix=${placeholder "out"}" + ]; + + meta = with lib;{ + homepage = "https://github.com/cktan/tomlcpp"; + description = "No fanfare TOML C++ Library"; + license = licenses.mit; + maintainers = with maintainers; [ AndersonTorres ]; + platforms = with platforms; unix; + }; +} |