nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 buildDunePackage,
5 dune-build-info,
6 bos,
7}:
8
9buildDunePackage (finalAttrs: {
10 pname = "ocaml-print-intf";
11 version = "1.2.0";
12
13 src = fetchFromGitHub {
14 owner = "avsm";
15 repo = "ocaml-print-intf";
16 tag = "v${finalAttrs.version}";
17 hash = "sha256-16LVvyTHew7sYfr4x0WR/jikXq4dy7Yi9yyrHA99hEM=";
18 };
19
20 buildInputs = [
21 dune-build-info
22 bos
23 ];
24
25 meta = {
26 description = "Pretty print an OCaml cmi/cmt/cmti file in human-readable OCaml signature form";
27 homepage = "https://github.com/avsm/ocaml-print-intf";
28 license = lib.licenses.isc;
29 maintainers = [ lib.maintainers.nerdypepper ];
30 };
31})