diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/pprint/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/pprint/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/pprint/default.nix b/pkgs/development/ocaml-modules/pprint/default.nix new file mode 100644 index 00000000000..e0c5c269767 --- /dev/null +++ b/pkgs/development/ocaml-modules/pprint/default.nix @@ -0,0 +1,22 @@ +{ lib, fetchFromGitHub, buildDunePackage }: + +buildDunePackage rec { + pname = "pprint"; + version = "20220103"; + + useDune2 = true; + + src = fetchFromGitHub { + owner = "fpottier"; + repo = pname; + rev = version; + sha256 = "sha256:09y6nwnjldifm47406q1r9987njlk77g4ifqg6qs54dckhr64vax"; + }; + + meta = with lib; { + inherit (src.meta) homepage; + description = "An OCaml library for pretty-printing textual documents"; + license = licenses.lgpl2Only; + maintainers = [ maintainers.vbgl ]; + }; +} |