Commit 6501524 1 parent 2c4b368 commit 6501524 Copy full SHA for 6501524
File tree 3 files changed +34
-32
lines changed
3 files changed +34
-32
lines changed Original file line number Diff line number Diff line change 24
24
( depends
25
25
( ocaml ( >= " 4.14.1" ) )
26
26
dune
27
- ( base ( = " 0 .16" ) )
28
- ( core ( = " 0 .16" ) )
29
- ( yojson ( = " 2.2" ) )
27
+ ( base ( = " v0 .16.2 " ) )
28
+ ( core ( = " v0 .16.2 " ) )
29
+ ( yojson ( = " 2.2.0 " ) )
30
30
( non_empty_list ( = " 0.1" ) )
31
31
( pprint ( = " 0.1" ) )
32
- ( ppx_deriving_yojson ( = " 3.7" ) )
33
- ( ppx_yojson_conv ( = " 0 .15" ) )
34
- ( ppx_sexp_conv ( = " 0 .16" ) )
35
- ( ppx_compare ( = " 0 .16" ) )
36
- ( ppx_hash ( = " 0 .16" ) )
37
- ( ppx_deriving ( = " 5.2" ) )
38
- ( cmdliner ( = " 1.3" ) )
39
- ( angstrom ( = " 0.16" ) )
40
- ( re ( = " 1.11" ) )
32
+ ( ppx_deriving_yojson ( = " 3.7.0 " ) )
33
+ ( ppx_yojson_conv ( = " v0 .15.1 " ) )
34
+ ( ppx_sexp_conv ( = " v0 .16.0 " ) )
35
+ ( ppx_compare ( = " v0 .16.0 " ) )
36
+ ( ppx_hash ( = " v0 .16.0 " ) )
37
+ ( ppx_deriving ( = " 5.2.1 " ) )
38
+ ( cmdliner ( = " 1.3.0 " ) )
39
+ ( angstrom ( = " 0.16.0 " ) )
40
+ ( re ( = " 1.11.0 " ) )
41
41
( ppx_matches ( = " 0.1" ) )
42
- ( ppx_string ( = " 0 .16" ) )
43
- ( logs ( = " 0.7" ) )
42
+ ( ppx_string ( = " v0 .16.0 " ) )
43
+ ( logs ( = " 0.7.0 " ) )
44
44
( ocamlgraph ( = " 2.1" ) )
45
45
46
46
js_of_ocaml-compiler
Original file line number Diff line number Diff line change @@ -14,23 +14,23 @@ bug-reports: "https://github.com/hacspec/hax/issues"
14
14
depends: [
15
15
"ocaml" {>= "4.14.1"}
16
16
"dune" {>= "3.0"}
17
- "base" {= "0 .16"}
18
- "core" {= "0 .16"}
19
- "yojson" {= "2.2"}
17
+ "base" {= "v0 .16.2 "}
18
+ "core" {= "v0 .16.2 "}
19
+ "yojson" {= "2.2.0 "}
20
20
"non_empty_list" {= "0.1"}
21
21
"pprint" {= "0.1"}
22
- "ppx_deriving_yojson" {= "3.7"}
23
- "ppx_yojson_conv" {= "0 .15"}
24
- "ppx_sexp_conv" {= "0 .16"}
25
- "ppx_compare" {= "0 .16"}
26
- "ppx_hash" {= "0 .16"}
27
- "ppx_deriving" {= "5.2"}
28
- "cmdliner" {= "1.3"}
29
- "angstrom" {= "0.16"}
30
- "re" {= "1.11"}
22
+ "ppx_deriving_yojson" {= "3.7.0 "}
23
+ "ppx_yojson_conv" {= "v0 .15.1 "}
24
+ "ppx_sexp_conv" {= "v0 .16.0 "}
25
+ "ppx_compare" {= "v0 .16.0 "}
26
+ "ppx_hash" {= "v0 .16.0 "}
27
+ "ppx_deriving" {= "5.2.1 "}
28
+ "cmdliner" {= "1.3.0 "}
29
+ "angstrom" {= "0.16.0 "}
30
+ "re" {= "1.11.0 "}
31
31
"ppx_matches" {= "0.1"}
32
- "ppx_string" {= "0 .16"}
33
- "logs" {= "0.7"}
32
+ "ppx_string" {= "v0 .16.0 "}
33
+ "logs" {= "0.7.0 "}
34
34
"ocamlgraph" {= "2.1"}
35
35
"js_of_ocaml-compiler"
36
36
"js_of_ocaml"
Original file line number Diff line number Diff line change 127
127
hax-engine-names-extract = pkgs . hello ;
128
128
} ) . overrideAttrs ( old : {
129
129
name = "dune-project" ;
130
- outputs = [ "out" ] ;
130
+ outputs = [ "out" ] ;
131
131
buildPhase = ''
132
132
dune describe installed-libraries > /tmp/dune-installed-libraries
133
133
134
134
for package in $(grep -Po '^ {8}[(]\K\w+' dune-project); do
135
- version=$(cat /tmp/dune-installed-libraries | grep -Po "\b$package\b.*version: v?\K [0-9.]+" | head -n1 || true)
136
- version=$(echo "$version" | grep -Po "^\d+. \d+" || true)
135
+ version=$(cat /tmp/dune-installed-libraries | grep -Po "\b$package\b.*version: \Kv? [0-9.]+" | head -n1 || true)
136
+ version=$(echo "$version" | grep -Po "^v? \d+([.] \d+)* " || true)
137
137
if [ -z "${ "$" } {version}" ]; then
138
138
continue
139
139
fi
140
- ${ pkgs . sd } /bin/sd "(^ {8}[(]$package +)\([^)]+\)" '${ "$" } {1}'"(= \"$version\")" dune-project
140
+ ${ pkgs . sd } /bin/sd "(^ {8}[(]$package +)\([^)]+\)" '${
141
+ "$"
142
+ } {1}'"(= \"$version\")" dune-project
141
143
echo "-> $package: $version"
142
144
done
143
145
'' ;
You can’t perform that action at this time.
0 commit comments