forked from mirrors/nixpkgs
ocamlformat: 0.11.0 -> 0.12
This commit is contained in:
parent
bc87c5dfb7
commit
d1685e81ef
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue