git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlformat: 0.11.0 -> 0.12
commitd1685e81ef11c697df050fc9c146a27b0698d85c authorThéo Zimmermann <theo.zimmermann@univ-paris-diderot.fr> dateMon 9 Dec 2019, 11:14 (7 years ago) parentbc87c5d
1 file changed+6−8
pkgs/development/tools/ocaml/ocamlformat/default.nix+6−8
pkgs/development/tools/ocaml/ocamlformat/default.nix+6−8
@@ -1,16 +1,14 @@
1−{ lib, fetchFromGitHub, ocamlPackages }:
1+{ lib, fetchurl, ocamlPackages }:
22
33with ocamlPackages; buildDunePackage rec {
44 pname = "ocamlformat";
5− version = "0.11.0";
5+ version = "0.12";
66
77 minimumOCamlVersion = "4.06";
88
9− src = fetchFromGitHub {
10− owner = "ocaml-ppx";
11− repo = pname;
12− rev = version;
13− sha256 = "0zvjn71jd4d3znnpgh0yphb2w8ggs457b6bl6cg1fmpdgxnds6yx";
9+ src = fetchurl {
10+ url = "https://github.com/ocaml-ppx/ocamlformat/releases/download/${version}/ocamlformat-${version}.tbz";
11+ sha256 = "1zi8x597dhp2822j6j28s84yyiqppl7kykpwqqclx6ybypvlzdpj";
1412 };
1513
1614 buildInputs = [
@@ -25,7 +23,7 @@ with ocamlPackages; buildDunePackage rec {
2523 ];
2624
2725 meta = {
28− inherit (src.meta) homepage;
26+ homepage = "https://github.com/ocaml-ppx/ocamlformat";
2927 description = "Auto-formatter for OCaml code";
3028 maintainers = [ lib.maintainers.Zimmi48 ];
3129 license = lib.licenses.mit;