tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
deno: 1.23.4 -> 1.25.1
06kellyjac
3 years ago
de52d136
0fbff09d
+11
-20
3 changed files
expand all
collapse all
unified
split
pkgs
development
web
deno
default.nix
librusty_v8.nix
update
librusty_v8.ts
+5
-14
pkgs/development/web/deno/default.nix
···
4
4
, fetchFromGitHub
5
5
, rustPlatform
6
6
, installShellFiles
7
7
-
, fetchpatch
8
7
, tinycc
9
8
, libiconv
10
9
, libobjc
···
30
29
in
31
30
rustPlatform.buildRustPackage rec {
32
31
pname = "deno";
33
33
-
version = "1.23.4";
32
32
+
version = "1.25.1";
34
33
35
34
src = fetchFromGitHub {
36
35
owner = "denoland";
37
36
repo = pname;
38
37
rev = "v${version}";
39
39
-
sha256 = "sha256-nLQqfLRuh9mhZfjeiPaGpQbi5bXEg7HiGwrwDmaIRWM=";
38
38
+
sha256 = "sha256-nKMQDfCU1HsOfdzVwmgCIWa/rUmvufHlsS9jcDwcZzw=";
40
39
};
41
41
-
cargoSha256 = "sha256-l5Ce/ypYXZKEi859OFskwC/Unpo842ZPxIHvp6lCjQc=";
42
42
-
43
43
-
patches = [
44
44
-
# remove after https://github.com/denoland/deno/pull/15193 is in a release
45
45
-
(fetchpatch {
46
46
-
name = "byo-tcc.patch";
47
47
-
url = "https://github.com/denoland/deno/pull/15193/commits/c43698b2b58af1ef69b1558d55c8ebea0268dfea.patch";
48
48
-
sha256 = "sha256-YE5mGHyEm20FjFhr8yveBRlrOVL3+qQYxz2xp/IfmJs=";
49
49
-
})
50
50
-
];
40
40
+
cargoSha256 = "sha256-jFoVQK74gnhC6Ume/PHe8NG7rNeTkwPMBBWn/hT7nCs=";
51
41
52
42
postPatch = ''
53
43
# upstream uses lld on aarch64-darwin for faster builds
···
68
58
# The deno_ffi package currently needs libtcc.a on linux and macos and will try to compile it at build time
69
59
# To avoid this we point it to our copy (dir)
70
60
# In the future tinycc will be replaced with asm
71
71
-
DENO_FFI_LIBTCC = "${libtcc}/lib";
61
61
+
TCC_PATH = "${libtcc}/lib";
72
62
73
63
# Tests have some inconsistencies between runs with output integration tests
74
64
# Skipping until resolved
···
111
101
license = licenses.mit;
112
102
maintainers = with maintainers; [ jk ];
113
103
platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
104
104
+
broken = stdenv.isDarwin; # currently fail to build tinycc on darwin in nixpkgs
114
105
};
115
106
}
+5
-5
pkgs/development/web/deno/librusty_v8.nix
···
11
11
};
12
12
in
13
13
fetch_librusty_v8 {
14
14
-
version = "0.45.0";
14
14
+
version = "0.49.0";
15
15
shas = {
16
16
-
x86_64-linux = "sha256-yZw6zwEhJyRntqOmyk03N+sHxzIrbY/e67AQ21ePlAU=";
17
17
-
aarch64-linux = "sha256-2p21Smm5wZycv9u+yDbyerKTjSTB7yau5WC2aJ+Vr8w=";
18
18
-
x86_64-darwin = "sha256-HO287V+iBwdqKZUWhZJnuGJO9RE4wGG4cQMN8CkB7WQ=";
19
19
-
aarch64-darwin = "sha256-ekoMhWMQpBUdM7R7i82NWrNtQMNqCujNYy1ijOxT64U=";
16
16
+
x86_64-linux = "sha256-l6+NdMzYI9r2aHU7/OUhbgmc/LmAZjEFL8y8GrJ+EX8=";
17
17
+
aarch64-linux = "sha256-uo+/Wsrlkm+xotoIr8xlQWoiWzMz02TKFW+olfXtpz8=";
18
18
+
x86_64-darwin = "sha256-gWxljTgt6aXUzwex2zu46B9YzTvhN0Pi9C1Ll1eiohg=";
19
19
+
aarch64-darwin = "sha256-/UnBIQ/wA/0biIG9vIDKylhqFJ8QCoqjKH7xiePZ/eg=";
20
20
};
21
21
}
+1
-1
pkgs/development/web/deno/update/librusty_v8.ts
···
27
27
) =>
28
28
fetch(`https://github.com/${owner}/${repo}/raw/${version}/core/Cargo.toml`)
29
29
.then((res) => res.text())
30
30
-
.then((txt) => mod.parse(txt).dependencies.v8.version);
30
30
+
.then((txt) => toml.parse(txt).dependencies.v8.version);
31
31
32
32
const fetchArchShaTasks = (version: string, arches: Architecture[]) =>
33
33
arches.map(