Skip to content

Commit c467a40

Browse files
authored
flow-editor: 0.2.1 > 0.3.2 (#380678)
2 parents 137bd86 + 0a7ac24 commit c467a40

File tree

3 files changed

+49
-20
lines changed

3 files changed

+49
-20
lines changed

pkgs/by-name/fl/flow-editor/build.zig.zon.nix

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -97,19 +97,19 @@ linkFarm name [
9797
};
9898
}
9999
{
100-
name = "1220a2c8f8db1b5265458ac967ea1f7cc0a8ddcd1d774df3b73d86c4f529aadbfb94";
100+
name = "1220d0fb2bff7b453dbb39d1db3eb472b6680e2564f2b23b0e947671be47bbdd188f";
101101
path = fetchZigArtifact {
102102
name = "tracy";
103-
url = "https://github.com/neurocyte/zig-tracy/archive/58999b786089e5319dd0707f6afbfca04c6340e7.tar.gz";
104-
hash = "sha256-4q1UD2hRtp9mUPL5wIKzk8AhnAoVkl9xpaUN5sp4mWA=";
103+
url = "https://github.com/neurocyte/zig-tracy/archive/e04e31c64498149a324491b8534758e6af43a5c2.tar.gz";
104+
hash = "sha256-otvs9tKc8zMRFng0VJDn5iNf7lvbozjrtH0q8IFnP0w=";
105105
};
106106
}
107107
{
108-
name = "12202aac930cebaf2b57f443cacc2483478580a72f1316b4f0a720ddd91246fce69d";
108+
name = "122051b30656170b4628580e571d98b1fe45d7c0d581bc2d45e894c75c6376294ede";
109109
path = fetchZigArtifact {
110110
name = "tracy_src";
111-
url = "https://github.com/wolfpld/tracy/archive/refs/tags/v0.10.tar.gz";
112-
hash = "sha256-p2AX2Sjz8nJ1QPuVDt07c2yql7Etu05e3OZlQsvqZgA=";
111+
url = "https://github.com/neurocyte/tracy/archive/0ff0a1b324f497cf313a445637b7df25aabefb47.tar.gz";
112+
hash = "sha256-dzMilJsOSdjNyvhyDb1v5dPWcR5uvhnQmsBynAJH74I=";
113113
};
114114
}
115115
{
@@ -121,11 +121,11 @@ linkFarm name [
121121
};
122122
}
123123
{
124-
name = "1220f6fdc977fff899aaf624afc8cf01e29a0e100dbb52860902a3bc256f4ddd687b";
124+
name = "1220bbfd147f41fa49d2e5406096f3529c62e9335f4d2a89ae381e679a76ce398f1f";
125125
path = fetchZigArtifact {
126126
name = "thespian";
127-
url = "https://github.com/neurocyte/thespian/archive/9df7beb192dd0db647e55fe44272b77ca687f6cd.tar.gz";
128-
hash = "sha256-b8PPqmiURT9bOaa2ubz/v0J2WEyRmtL6iL4nBDkvgeQ=";
127+
url = "https://github.com/neurocyte/thespian/archive/db3ad5f45e707a04eaa51aa657995abe43ce967a.tar.gz";
128+
hash = "sha256-La5pv08xPAnkNxBHjpTmLpKxrcifRFWcqm8NYp92iRA=";
129129
};
130130
}
131131
{
@@ -137,11 +137,11 @@ linkFarm name [
137137
};
138138
}
139139
{
140-
name = "1220b2109e0aadf85e4ac5e1cd084e321fe50f1e59cea690c022a7a8f7eb6021eadb";
140+
name = "1220e4f3baf09dc23e48616f7dbf00bd45c3034faa2eddede7bb45ef4c23a19b962b";
141141
path = fetchZigArtifact {
142142
name = "themes";
143-
url = "https://github.com/neurocyte/flow-themes/releases/download/master-0c2a187c604c63031225847a966b6ca279b2be91/flow-themes.tar.gz";
144-
hash = "sha256-8zumZneeSPVrpw2wAQwKoEOXCLYqkKQFVXQ8oum08Hw=";
143+
url = "https://github.com/neurocyte/flow-themes/releases/download/master-8b79cf6d79373c142393ec26a81b19f4701f4372/flow-themes.tar.gz";
144+
hash = "sha256-xy0cTVc85U6JpI+oca2XKXE7GAs0EId21DeQCDa8+n0=";
145145
};
146146
}
147147
{
@@ -153,11 +153,11 @@ linkFarm name [
153153
};
154154
}
155155
{
156-
name = "12202ee9842d28927674e552f1ea41e2c41e59f6b4b5d290de9b6fd626fd332ac627";
156+
name = "12207e33747072d878fce61f587c133124dc95f4ae8aab7d2b3f467699586af07c77";
157157
path = fetchZigArtifact {
158158
name = "vaxis";
159-
url = "https://github.com/neurocyte/libvaxis/archive/ffe35b4342bd2913efd46c35c0ccd15544ac87e6.tar.gz";
160-
hash = "sha256-AQpYS1WnHLzcUMhD8BaCd+Dh+nqY5umL6KCBTuVlSQw=";
159+
url = "https://github.com/neurocyte/libvaxis/archive/d899244bc0a3775b59c18e90eb41acee11675f96.tar.gz";
160+
hash = "sha256-8bK0zM6rD/mqTaHDZKMgS3+qV1VviImM9jr9D0lkPdw=";
161161
};
162162
}
163163
{
@@ -185,11 +185,19 @@ linkFarm name [
185185
};
186186
}
187187
{
188-
name = "12204c99c6093230023380068f386f7eb32ab83df9a8eb8b586ffe5aa44afa34ff0e";
188+
name = "1220925614447b54ccc9894bbba8b202c6a8b750267890edab7732064867e46f3217";
189+
path = fetchZigArtifact {
190+
name = "win32";
191+
url = "https://github.com/marlersoft/zigwin32/archive/259b6f353a48968d7e3171573db4fd898b046188.tar.gz";
192+
hash = "sha256-N9Jp2vmq1+xPWByb+VZkbS2lm9FCrUW4UBAPhSP+dUw=";
193+
};
194+
}
195+
{
196+
name = "1220f9702ca6257f5464b31e576b1e92b0f441bf0e61733c4a2fbf95b7c0c55a3e22";
189197
path = fetchZigArtifact {
190198
name = "tree-sitter";
191-
url = "https://github.com/neurocyte/tree-sitter/releases/download/master-aea6072c6178d5cd0c97fff33e130f632f355bc2/source.tar.gz";
192-
hash = "sha256-eqJc3lx+tnbiqcD8R0u4+sH7wKOr4McYiZNUfPTNbRc=";
199+
url = "https://github.com/neurocyte/tree-sitter/releases/download/master-69775ce3ba8a5e331bba9feb760d1ba31394eea7/source.tar.gz";
200+
hash = "sha256-0ZLcPuhUV6Z3EsXfU7gXRrG/nRP9zuLRSL00Q5OGnus=";
193201
};
194202
}
195203
]

pkgs/by-name/fl/flow-editor/package.nix

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88

99
stdenv.mkDerivation (finalAttrs: {
1010
pname = "flow";
11-
version = "0.2.1";
11+
version = "0.3.2";
1212

1313
src = fetchFromGitHub {
1414
owner = "neurocyte";
1515
repo = "flow";
1616
tag = "v${finalAttrs.version}";
17-
hash = "sha256-dXWqxV66BwtjOvmreq4+u5+xBI+1v1PAep8RQBK3rlA=";
17+
hash = "sha256-D1pFP5tw323UJgWvLvh2sTiZG1hq5DP0FakdXEISRxs=";
1818
};
1919
postPatch = ''
2020
ln -s ${callPackage ./build.zig.zon.nix { }} $ZIG_GLOBAL_CACHE_DIR/p
@@ -24,6 +24,8 @@ stdenv.mkDerivation (finalAttrs: {
2424
zig_0_13.hook
2525
];
2626

27+
passthru.updateScript = ./update.sh;
28+
2729
env.VERSION = finalAttrs.version;
2830

2931
meta = {
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/usr/bin/env nix-shell
2+
#!nix-shell -i bash -p bash common-updater-scripts gnused nixfmt-rfc-style
3+
4+
latest_tag=$(list-git-tags --url=https://github.com/neurocyte/flow | sed 's/^v//' | tail -n 1)
5+
6+
update-source-version flow-editor "$latest_tag"
7+
8+
mkdir -p src/syntax
9+
10+
wget "https://raw.githubusercontent.com/neurocyte/flow/v${latest_tag}/build.zig.zon"
11+
wget -P src/syntax "https://raw.githubusercontent.com/neurocyte/flow/v${latest_tag}/src/syntax/build.zig.zon"
12+
13+
nix --extra-experimental-features 'nix-command flakes' run github:Cloudef/zig2nix#zon2nix -- build.zig.zon >pkgs/by-name/fl/flow-editor/build.zig.zon.nix
14+
15+
# strip file protocol
16+
sed -i '\|file = unpackZigArtifact { inherit name; artifact = /. + path; };|d' pkgs/by-name/fl/flow-editor/build.zig.zon.nix
17+
nixfmt pkgs/by-name/fl/flow-editor/build.zig.zon.nix
18+
19+
rm -rf build.zig.zon build.zig.zon2json-lock src/

0 commit comments

Comments
 (0)