My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/ocaml-modules/otoml/default.nix

36 lines
656 B

{ lib
, fetchFromGitHub
, buildDunePackage
, menhir
, menhirLib
, uutf
}:
buildDunePackage rec {
pname = "otoml";
version = "1.0.1";
useDune2 = true;
minimalOCamlVersion = "4.08";
src = fetchFromGitHub {
owner = "dmbaturin";
repo = pname;
rev = version;
sha256 = "sha256-2WGuq4ZLbLvfG6WZ3iimiSMqMYHCuruZc1EttZ/5rBE=";
};
strictDeps = true;
nativeBuildInputs = [ menhir ];
propagatedBuildInputs = [ menhirLib uutf ];
meta = {
description = "A TOML parsing and manipulation library for OCaml";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
};
}