diff options
author | Akshay <nerdy@peppe.rs> | 2021-08-15 11:17:51 +0530 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2021-08-27 07:38:37 +0200 |
commit | 2fe4420941201068b6d2ee63d94b654bb276ac9b (patch) | |
tree | 7f31a9047b0aa2d38bf43c83ad1c0ed88c71a447 /pkgs/development/ocaml-modules | |
parent | ff220d3b3f96fb3920946af8521494f19415e90f (diff) | |
download | nixlib-2fe4420941201068b6d2ee63d94b654bb276ac9b.tar nixlib-2fe4420941201068b6d2ee63d94b654bb276ac9b.tar.gz nixlib-2fe4420941201068b6d2ee63d94b654bb276ac9b.tar.bz2 nixlib-2fe4420941201068b6d2ee63d94b654bb276ac9b.tar.lz nixlib-2fe4420941201068b6d2ee63d94b654bb276ac9b.tar.xz nixlib-2fe4420941201068b6d2ee63d94b654bb276ac9b.tar.zst nixlib-2fe4420941201068b6d2ee63d94b654bb276ac9b.zip |
ocamlPackages.ocaml-print-intf: init at 1.2.0
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/ocaml-print-intf/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/ocaml-print-intf/default.nix b/pkgs/development/ocaml-modules/ocaml-print-intf/default.nix new file mode 100644 index 000000000000..5180b58601af --- /dev/null +++ b/pkgs/development/ocaml-modules/ocaml-print-intf/default.nix @@ -0,0 +1,31 @@ +{ lib +, fetchFromGitHub +, buildDunePackage +, dune-build-info +, bos +}: +let + author = "avsm"; + pname = "ocaml-print-intf"; + version = "1.2.0"; +in +buildDunePackage rec { + inherit pname version; + useDune2 = true; + + src = fetchFromGitHub { + owner = author; + repo = pname; + rev = "v${version}"; + sha256 = "0hw4gl7irarcywibdjqxmrga8f7yj52wgy7sc7n0wyy74jzxb8np"; + }; + + buildInputs = [ dune-build-info bos ]; + + meta = with lib; { + description = "Pretty print an OCaml cmi/cmt/cmti file in human-readable OCaml signature form "; + homepage = "https://github.com/${author}/${pname}"; + license = lib.licenses.isc; + maintainers = [ lib.maintainers.nerdypepper ]; + }; +} |