diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-04-14 16:13:57 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2021-04-15 11:51:06 +0200 |
commit | 894b606945ed4f6f0a24e14e88ce4427f4765c74 (patch) | |
tree | d5f6f65cf02ab7bfaab2590d73675e3fbbfca575 /pkgs/development/ocaml-modules/wayland | |
parent | 22c7e4f3d9e1a08e9083d4df160322c8b1d9ee19 (diff) | |
download | nixpkgs-894b606945ed4f6f0a24e14e88ce4427f4765c74.tar nixpkgs-894b606945ed4f6f0a24e14e88ce4427f4765c74.tar.gz nixpkgs-894b606945ed4f6f0a24e14e88ce4427f4765c74.tar.bz2 nixpkgs-894b606945ed4f6f0a24e14e88ce4427f4765c74.tar.lz nixpkgs-894b606945ed4f6f0a24e14e88ce4427f4765c74.tar.xz nixpkgs-894b606945ed4f6f0a24e14e88ce4427f4765c74.tar.zst nixpkgs-894b606945ed4f6f0a24e14e88ce4427f4765c74.zip |
ocamlPackages.wayland: init at 0.2
Diffstat (limited to 'pkgs/development/ocaml-modules/wayland')
-rw-r--r-- | pkgs/development/ocaml-modules/wayland/default.nix | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/wayland/default.nix b/pkgs/development/ocaml-modules/wayland/default.nix new file mode 100644 index 00000000000..82764af64f5 --- /dev/null +++ b/pkgs/development/ocaml-modules/wayland/default.nix @@ -0,0 +1,49 @@ +{ lib +, buildDunePackage +, fetchurl +, xmlm +, lwt +, logs +, fmt +, cstruct +, cmdliner +, alcotest-lwt +}: + +buildDunePackage rec { + pname = "wayland"; + version = "0.2"; + + minimumOCamlVersion = "4.08"; + + useDune2 = true; + + src = fetchurl { + url = "https://github.com/talex5/ocaml-wayland/releases/download/v${version}/wayland-v${version}.tbz"; + sha256 = "4eb323e42a8c64e9e49b15a588342bfcc1e99640305cb261d128c75612d9458c"; + }; + + propagatedBuildInputs = [ + lwt + logs + fmt + cstruct + ]; + + buildInputs = [ + cmdliner + xmlm + ]; + + checkInputs = [ + alcotest-lwt + ]; + doCheck = true; + + meta = { + description = "Pure OCaml Wayland protocol library"; + license = lib.licenses.asl20; + maintainers = [ lib.maintainers.sternenseemann ]; + homepage = "https://github.com/talex5/ocaml-wayland"; + }; +} |