diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2019-12-09 10:31:53 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2019-12-09 17:02:13 +0000 |
commit | bdd0a3fe8cf71ca3e8f0dae40455eed37a10ce8a (patch) | |
tree | d7fd83cb911c079bb417905d041249122cfc2d3d /pkgs/development/ocaml-modules | |
parent | ad95ea72238d8bcc88a1d5f95c873f33bf985e6a (diff) | |
download | nixpkgs-bdd0a3fe8cf71ca3e8f0dae40455eed37a10ce8a.tar nixpkgs-bdd0a3fe8cf71ca3e8f0dae40455eed37a10ce8a.tar.gz nixpkgs-bdd0a3fe8cf71ca3e8f0dae40455eed37a10ce8a.tar.bz2 nixpkgs-bdd0a3fe8cf71ca3e8f0dae40455eed37a10ce8a.tar.lz nixpkgs-bdd0a3fe8cf71ca3e8f0dae40455eed37a10ce8a.tar.xz nixpkgs-bdd0a3fe8cf71ca3e8f0dae40455eed37a10ce8a.tar.zst nixpkgs-bdd0a3fe8cf71ca3e8f0dae40455eed37a10ce8a.zip |
ocamlPackages.yaml: init at 2.0.1
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/yaml/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/yaml/default.nix b/pkgs/development/ocaml-modules/yaml/default.nix new file mode 100644 index 00000000000..31790755357 --- /dev/null +++ b/pkgs/development/ocaml-modules/yaml/default.nix @@ -0,0 +1,24 @@ +{ lib, fetchurl, buildDunePackage +, ppx_sexp_conv +, bos, ctypes, fmt, logs, rresult, sexplib +}: + +buildDunePackage rec { + pname = "yaml"; + version = "2.0.1"; + + src = fetchurl { + url = "https://github.com/avsm/ocaml-yaml/releases/download/v${version}/yaml-v${version}.tbz"; + sha256 = "1r8jj572h416g2zliwmxj2j9hkv73nxnpfb9gmbj9gixg24lskx0"; + }; + + propagatedBuildInputs = [ bos ctypes fmt logs ppx_sexp_conv rresult sexplib ]; + + meta = { + description = "Parse and generate YAML 1.1 files"; + homepage = "https://github.com/avsm/ocaml-yaml"; + license = lib.licenses.isc; + maintainers = [ lib.maintainers.vbgl ]; + }; + +} |