tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
ocamlPackages.atd: 2.15.0 → 2.16.0
Vincent Laporte
1 year ago
158f4614
da85d37a
+25
-11
7 changed files
expand all
collapse all
unified
split
pkgs
development
ocaml-modules
atdgen
codec-runtime.nix
default.nix
runtime.nix
elpi
default.nix
github
data.nix
gitlab
default.nix
reason-native
refmterr.nix
+2
-2
pkgs/development/ocaml-modules/atdgen/codec-runtime.nix
reviewed
···
6
6
7
7
buildDunePackage rec {
8
8
pname = "atdgen-codec-runtime";
9
9
-
version = "2.15.0";
9
9
+
version = "2.16.0";
10
10
11
11
src = fetchurl {
12
12
url = "https://github.com/ahrefs/atd/releases/download/${version}/atd-${version}.tbz";
13
13
-
hash = "sha256-ukJ5vtVNE9zz9nA6SzF0TbgV3yLAUC2ZZdbGdM4IOTM=";
13
13
+
hash = "sha256-Wea0RWICQcvWkBqEKzNmg6+w6xJbOtv+4ovZTNVODe8=";
14
14
};
15
15
16
16
meta = {
+2
-2
pkgs/development/ocaml-modules/atdgen/default.nix
reviewed
···
4
4
atd,
5
5
atdgen-codec-runtime,
6
6
atdgen-runtime,
7
7
+
biniou,
7
8
re,
8
9
python3,
9
10
}:
···
11
12
buildDunePackage {
12
13
pname = "atdgen";
13
14
inherit (atdgen-codec-runtime) version src;
14
14
-
15
15
-
duneVersion = "3";
16
15
17
16
buildInputs = [
18
17
atd
···
24
23
doCheck = true;
25
24
nativeCheckInputs = [
26
25
atd
26
26
+
biniou
27
27
(python3.withPackages (ps: [ ps.jsonschema ]))
28
28
];
29
29
checkInputs = [
-1
pkgs/development/ocaml-modules/atdgen/runtime.nix
reviewed
···
10
10
inherit (atdgen-codec-runtime) version src;
11
11
12
12
minimalOCamlVersion = "4.08";
13
13
-
duneVersion = "3";
14
13
15
14
propagatedBuildInputs = [
16
15
biniou
+4
-2
pkgs/development/ocaml-modules/elpi/default.nix
reviewed
···
3
3
, ocaml
4
4
, menhir, menhirLib
5
5
, atdgen
6
6
+
, atdgen-runtime
6
7
, stdlib-shims
7
8
, re, perl, ncurses
8
9
, ppxlib, ppx_deriving
···
47
48
48
49
minimalOCamlVersion = "4.07";
49
50
50
50
-
# atdgen is both a library and executable
51
51
nativeBuildInputs = [ perl ]
52
52
++ [ (if lib.versionAtLeast version "1.15" || version == "dev" then menhir else camlp5) ]
53
53
++ lib.optional (lib.versionAtLeast version "1.16" || version == "dev") atdgen;
54
54
buildInputs = [ ncurses ]
55
55
-
++ lib.optional (lib.versionAtLeast version "1.16" || version == "dev") atdgen;
55
55
+
++ lib.optional (lib.versionAtLeast version "1.16" || version == "dev") atdgen-runtime;
56
56
57
57
propagatedBuildInputs = [ re stdlib-shims ]
58
58
++ (if lib.versionAtLeast version "1.15" || version == "dev"
···
73
73
74
74
postPatch = ''
75
75
substituteInPlace elpi_REPL.ml --replace-warn "tput cols" "${ncurses}/bin/tput cols"
76
76
+
'' + lib.optionalString (lib.versionAtLeast version "1.16" || version == "dev") ''
77
77
+
substituteInPlace src/dune --replace-warn ' atdgen re' ' atdgen-runtime re'
76
78
'';
77
79
}
+5
-2
pkgs/development/ocaml-modules/github/data.nix
reviewed
···
3
3
github,
4
4
yojson,
5
5
atdgen,
6
6
+
atdgen-runtime,
6
7
}:
7
8
8
9
buildDunePackage {
9
10
pname = "github-data";
10
11
inherit (github) version src;
11
12
12
12
-
duneVersion = "3";
13
13
+
postPatch = ''
14
14
+
substituteInPlace lib_data/dune --replace-warn 'atdgen)' 'atdgen-runtime)'
15
15
+
'';
13
16
14
17
nativeBuildInputs = [
15
18
atdgen
···
17
20
18
21
propagatedBuildInputs = [
19
22
yojson
20
20
-
atdgen
23
23
+
atdgen-runtime
21
24
];
22
25
23
26
meta = github.meta // {
+6
-1
pkgs/development/ocaml-modules/gitlab/default.nix
reviewed
···
5
5
uri,
6
6
cohttp-lwt,
7
7
atdgen,
8
8
+
atdgen-runtime,
8
9
yojson,
9
10
iso8601,
10
11
stringext,
···
21
22
hash = "sha256-7pUpH1SoP4eW8ild5j+Tcy+aTXq0+eSkhKUOXJ6Z30k=";
22
23
};
23
24
25
25
+
postPatch = ''
26
26
+
substituteInPlace lib/dune --replace-warn 'atdgen str' 'atdgen-runtime str'
27
27
+
'';
28
28
+
24
29
minimalOCamlVersion = "4.08";
25
30
26
31
buildInputs = [ stringext ];
···
30
35
propagatedBuildInputs = [
31
36
uri
32
37
cohttp-lwt
33
33
-
atdgen
38
38
+
atdgen-runtime
34
39
yojson
35
40
iso8601
36
41
];
+6
-1
pkgs/development/ocaml-modules/reason-native/refmterr.nix
reviewed
···
2
2
lib,
3
3
buildDunePackage,
4
4
atdgen,
5
5
+
atdgen-runtime,
5
6
re,
6
7
reason,
7
8
pastel,
···
14
15
pname = "refmterr";
15
16
version = "3.3.0-unstable-2024-05-07";
16
17
18
18
+
postPatch = ''
19
19
+
substituteInPlace src/refmterr/lib/dune --replace-warn 'atdgen re' 'atdgen-runtime re'
20
20
+
'';
21
21
+
17
22
nativeBuildInputs = [
18
23
atdgen
19
24
reason
20
25
];
21
26
22
27
propagatedBuildInputs = [
23
23
-
atdgen
28
28
+
atdgen-runtime
24
29
re
25
30
pastel
26
31
];