nixpkgs/pkgs/by-name/to/tomlcpp/package.nix
Anderson Torres f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -03:00

27 lines
644 B
Nix

{ 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;
};
}