depot/pkgs/development/ocaml-modules/ocaml-print-intf/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

31 lines
688 B
Nix

{ 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 ];
};
}