Commit 06b6e667 authored by Vincent Laporte's avatar Vincent Laporte Committed by github-actions[bot]
Browse files

ocamlPackages.ocaml-print-intf: small cleaning

(cherry picked from commit a72350e9)
parent 403f5d1a
Loading
Loading
Loading
Loading
+8 −12
Original line number Diff line number Diff line
@@ -5,20 +5,16 @@
  dune-build-info,
  bos,
}:
let
  author = "avsm";

buildDunePackage (finalAttrs: {
  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";
    owner = "avsm";
    repo = "ocaml-print-intf";
    tag = "v${finalAttrs.version}";
    hash = "sha256-16LVvyTHew7sYfr4x0WR/jikXq4dy7Yi9yyrHA99hEM=";
  };

  buildInputs = [
@@ -28,8 +24,8 @@ buildDunePackage rec {

  meta = {
    description = "Pretty print an OCaml cmi/cmt/cmti file in human-readable OCaml signature form";
    homepage = "https://github.com/${author}/${pname}";
    homepage = "https://github.com/avsm/ocaml-print-intf";
    license = lib.licenses.isc;
    maintainers = [ lib.maintainers.nerdypepper ];
  };
}
})