diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2023-10-01 04:20:00 +0000 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2023-10-03 13:16:41 +0200 |
commit | 0c1938bfd9917397196d291a9d4250cd4fa14567 (patch) | |
tree | 951d3e8418dbb663417d854f314c9e8cf07d1795 | |
parent | 7b6b919f3a707c566b8592106bb7ce070721b137 (diff) | |
download | nixlib-0c1938bfd9917397196d291a9d4250cd4fa14567.tar nixlib-0c1938bfd9917397196d291a9d4250cd4fa14567.tar.gz nixlib-0c1938bfd9917397196d291a9d4250cd4fa14567.tar.bz2 nixlib-0c1938bfd9917397196d291a9d4250cd4fa14567.tar.lz nixlib-0c1938bfd9917397196d291a9d4250cd4fa14567.tar.xz nixlib-0c1938bfd9917397196d291a9d4250cd4fa14567.tar.zst nixlib-0c1938bfd9917397196d291a9d4250cd4fa14567.zip |
ocamlPackages.lun: init at 0.0.1
-rw-r--r-- | pkgs/development/ocaml-modules/lun/default.nix | 20 | ||||
-rw-r--r-- | pkgs/top-level/ocaml-packages.nix | 2 |
2 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/lun/default.nix b/pkgs/development/ocaml-modules/lun/default.nix new file mode 100644 index 000000000000..aab83d4c3cdb --- /dev/null +++ b/pkgs/development/ocaml-modules/lun/default.nix @@ -0,0 +1,20 @@ +{ lib, buildDunePackage, fetchurl }: + +buildDunePackage rec { + pname = "lun"; + version = "0.0.1"; + + minimalOCamlVersion = "4.12.0"; + + src = fetchurl { + url = "https://github.com/robur-coop/lun/releases/download/v${version}/lun-${version}.tbz"; + hash = "sha256-zKi63/g7Rw/c+xhAEW+Oim8suGzeL0TtKM8my/aSp5M="; + }; + + meta = { + description = "Optics in OCaml"; + homepage = "https://git.robur.coop/robur/lun"; + license = lib.licenses.isc; + maintainers = with lib.maintainers; [ marsam ]; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 71fc1d9a460f..051676955485 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -964,6 +964,8 @@ let lua-ml = callPackage ../development/ocaml-modules/lua-ml { }; + lun = callPackage ../development/ocaml-modules/lun { }; + lustre-v6 = callPackage ../development/ocaml-modules/lustre-v6 { }; lutils = callPackage ../development/ocaml-modules/lutils { }; |