summary refs log tree commit diff
path: root/pkgs/development/tools/ocaml/ocamlformat/default.nix
blob: 24d94fbcf24949b47b9f688d60aee525b1322e19 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{ lib, fetchurl, fetchzip, callPackage }:

let mkOCamlformat = callPackage ./generic.nix; in

# Older versions should be removed when their usage decrease
# This script scraps Github looking for OCamlformat's options and versions usage:
#  https://gist.github.com/Julow/110dc94308d6078225e0665e3eccd433

rec {
  ocamlformat_0_11_0 = mkOCamlformat {
    version = "0.11.0";
  };

  ocamlformat_0_12 = mkOCamlformat {
    version = "0.12";
  };

  ocamlformat_0_13_0 = mkOCamlformat rec {
    version = "0.13.0";
    tarballName = "ocamlformat-${version}-2.tbz";
  };

  ocamlformat_0_14_0 = mkOCamlformat {
    version = "0.14.0";
  };

  ocamlformat_0_14_1 = mkOCamlformat {
    version = "0.14.1";
  };

  ocamlformat_0_14_2 = mkOCamlformat {
    version = "0.14.2";
  };

  ocamlformat_0_14_3 = mkOCamlformat {
    version = "0.14.3";
  };

  ocamlformat_0_15_0 = mkOCamlformat {
    version = "0.15.0";
  };

  ocamlformat_0_15_1 = mkOCamlformat {
    version = "0.15.1";
  };

  ocamlformat_0_16_0 = mkOCamlformat {
    version = "0.16.0";
  };

  ocamlformat_0_17_0 = mkOCamlformat {
    version = "0.17.0";
  };

  ocamlformat_0_18_0 = mkOCamlformat {
    version = "0.18.0";
  };

  ocamlformat_0_19_0 = mkOCamlformat {
    version = "0.19.0";
  };

  ocamlformat = ocamlformat_0_19_0;
}