3
0
Fork 0
forked from mirrors/nixpkgs

ocamlformat: 0.11.0 -> 0.12

This commit is contained in:
Théo Zimmermann 2019-12-09 11:14:40 +01:00 committed by Vincent Laporte
parent bc87c5dfb7
commit d1685e81ef

View file

@ -1,16 +1,14 @@
{ lib, fetchFromGitHub, ocamlPackages }:
{ lib, fetchurl, ocamlPackages }:
with ocamlPackages; buildDunePackage rec {
pname = "ocamlformat";
version = "0.11.0";
version = "0.12";
minimumOCamlVersion = "4.06";
src = fetchFromGitHub {
owner = "ocaml-ppx";
repo = pname;
rev = version;
sha256 = "0zvjn71jd4d3znnpgh0yphb2w8ggs457b6bl6cg1fmpdgxnds6yx";
src = fetchurl {
url = "https://github.com/ocaml-ppx/ocamlformat/releases/download/${version}/ocamlformat-${version}.tbz";
sha256 = "1zi8x597dhp2822j6j28s84yyiqppl7kykpwqqclx6ybypvlzdpj";
};
buildInputs = [
@ -25,7 +23,7 @@ with ocamlPackages; buildDunePackage rec {
];
meta = {
inherit (src.meta) homepage;
homepage = "https://github.com/ocaml-ppx/ocamlformat";
description = "Auto-formatter for OCaml code";
maintainers = [ lib.maintainers.Zimmi48 ];
license = lib.licenses.mit;