about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/tomlcpp/default.nix
blob: f782719f2b6377a09bcb20d7b3616f6207267b65 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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;
  };
}