git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #42154 from jokogr/f/jetbrains-channel

jetbrains.editors: Fix update script and update versions

commitf61eb5d105656d4f64acea6f92c54838ded88d08 authorJörg Thalheim <Mic92@users.noreply.github.com> dateMon 18 Jun 2018, 10:23 (8 years ago) parentc9c7c98efe77a8
2 files changed+32−32
pkgs/applications/editors/jetbrains/default.nix+31−31 pkgs/applications/editors/jetbrains/update.pl+1−1
pkgs/applications/editors/jetbrains/default.nix+31−31
@@ -237,119 +237,119 @@ in
237237
238238 clion = buildClion rec {
239239 name = "clion-${version}";
240− version = "2018.1.3";
240+ version = "2018.1.5"; /* updated by script */
241241 description = "C/C++ IDE. New. Intelligent. Cross-platform";
242242 license = stdenv.lib.licenses.unfree;
243243 src = fetchurl {
244244 url = "https://download.jetbrains.com/cpp/CLion-${version}.tar.gz";
245− sha256 = "0daj1ha7d9kxgb60mx2yzyj01m6ahw5d6wzs0vvwp5fh5qf4mpw5";
245+ sha256 = "0hd58i531schyjlm99vff9bi5gjskdbsljd367k9zafjfh53z91l"; /* updated by script */
246246 };
247247 wmClass = "jetbrains-clion";
248− update-channel = "CLion_Release"; # channel's id as in http://www.jetbrains.com/updates/updates.xml
248+ update-channel = "CLion Release"; # channel's id as in http://www.jetbrains.com/updates/updates.xml
249249 };
250250
251251 datagrip = buildDataGrip rec {
252252 name = "datagrip-${version}";
253− version = "2018.1.3"; /* updated by script */
253+ version = "2018.1.4"; /* updated by script */
254254 description = "Your Swiss Army Knife for Databases and SQL";
255255 license = stdenv.lib.licenses.unfree;
256256 src = fetchurl {
257257 url = "https://download.jetbrains.com/datagrip/${name}.tar.gz";
258− sha256 = "0y959p9jsfqlf6cnj2k5m4bxc85yn5lv549rbacwicx4f0g6zp6r"; /* updated by script */
258+ sha256 = "1m0qckq645jw7cj40m5vfgr212b8hji539skavch2j5s5fbqy3ln"; /* updated by script */
259259 };
260260 wmClass = "jetbrains-datagrip";
261− update-channel = "datagrip_2018_1";
261+ update-channel = "DataGrip 2018.1";
262262 };
263263
264264 goland = buildGoland rec {
265265 name = "goland-${version}";
266− version = "2018.1.3"; /* updated by script */
266+ version = "2018.1.4"; /* updated by script */
267267 description = "Up and Coming Go IDE";
268268 license = stdenv.lib.licenses.unfree;
269269 src = fetchurl {
270270 url = "https://download.jetbrains.com/go/${name}.tar.gz";
271− sha256 = "02nl6dssf2r4lk0fy40cvgm1m0nnfvaz2k6yygwzr35qmbsw2xjq"; /* updated by script */
271+ sha256 = "1ipib91443sb27snnqik8rm3bm9w6gb5niildbd538lhc9agc9xb"; /* updated by script */
272272 };
273273 wmClass = "jetbrains-goland";
274− update-channel = "goland_release";
274+ update-channel = "GoLand Release";
275275 };
276276
277277 idea-community = buildIdea rec {
278278 name = "idea-community-${version}";
279− version = "2018.1.4"; /* updated by script */
279+ version = "2018.1.5"; /* updated by script */
280280 description = "Integrated Development Environment (IDE) by Jetbrains, community edition";
281281 license = stdenv.lib.licenses.asl20;
282282 src = fetchurl {
283283 url = "https://download.jetbrains.com/idea/ideaIC-${version}.tar.gz";
284− sha256 = "1qb425wg4690474g348yizhkcqcgigz2synp4blcfv4p0pg79ri6"; /* updated by script */
284+ sha256 = "0bhajghwh5r5mdv3lbnq0xlr6669hid5kyzlsxnsfzc2z737zwc5"; /* updated by script */
285285 };
286286 wmClass = "jetbrains-idea-ce";
287− update-channel = "IDEA_Release";
287+ update-channel = "IntelliJ IDEA Release";
288288 };
289289
290290 idea-ultimate = buildIdea rec {
291291 name = "idea-ultimate-${version}";
292− version = "2018.1.4"; /* updated by script */
292+ version = "2018.1.5"; /* updated by script */
293293 description = "Integrated Development Environment (IDE) by Jetbrains, requires paid license";
294294 license = stdenv.lib.licenses.unfree;
295295 src = fetchurl {
296296 url = "https://download.jetbrains.com/idea/ideaIU-${version}-no-jdk.tar.gz";
297− sha256 = "0jn771z09bscnk283kwrki0zyzhh4v4n6mr2swbd0ccs9v12dx71"; /* updated by script */
297+ sha256 = "046wyvk2f7vbh4zam1bbri4yxzb34q43rjpk6i6npxrb25jv6clx"; /* updated by script */
298298 };
299299 wmClass = "jetbrains-idea";
300− update-channel = "IDEA_Release";
300+ update-channel = "IntelliJ IDEA Release";
301301 };
302302
303303 phpstorm = buildPhpStorm rec {
304304 name = "phpstorm-${version}";
305− version = "2018.1.4"; /* updated by script */
305+ version = "2018.1.6"; /* updated by script */
306306 description = "Professional IDE for Web and PHP developers";
307307 license = stdenv.lib.licenses.unfree;
308308 src = fetchurl {
309309 url = "https://download.jetbrains.com/webide/PhpStorm-${version}.tar.gz";
310− sha256 = "0rrcsn44va942nrznldjkxymir45q8gq1lf3f8vg1w3k87cfk1zp"; /* updated by script */
310+ sha256 = "0v07sfg7ywawk6wb52zhr3753hscpxw3m53ppgw4n50dcdwx0kdn"; /* updated by script */
311311 };
312312 wmClass = "jetbrains-phpstorm";
313− update-channel = "PS2018.1";
313+ update-channel = "PhpStorm 2018.1";
314314 };
315315
316316 pycharm-community = buildPycharm rec {
317317 name = "pycharm-community-${version}";
318− version = "2018.1.3"; /* updated by script */
318+ version = "2018.1.4"; /* updated by script */
319319 description = "PyCharm Community Edition";
320320 license = stdenv.lib.licenses.asl20;
321321 src = fetchurl {
322322 url = "https://download.jetbrains.com/python/${name}.tar.gz";
323− sha256 = "1cwrqdcp6hwr8wd234g120bblc4bjmhwxwsgj9mmxblj31c7c6an"; /* updated by script */
323+ sha256 = "0frzasqh3jx7wcip4dnwdl9ap2g1nkx7anapwd416cxv4jj3r5ch"; /* updated by script */
324324 };
325325 wmClass = "jetbrains-pycharm-ce";
326− update-channel = "PyCharm_Release";
326+ update-channel = "PyCharm Release";
327327 };
328328
329329 pycharm-professional = buildPycharm rec {
330330 name = "pycharm-professional-${version}";
331− version = "2018.1.3"; /* updated by script */
331+ version = "2018.1.4"; /* updated by script */
332332 description = "PyCharm Professional Edition";
333333 license = stdenv.lib.licenses.unfree;
334334 src = fetchurl {
335335 url = "https://download.jetbrains.com/python/${name}.tar.gz";
336− sha256 = "1chri4cknfvvqhxy973dyf7dl5linqdxc97zshrzdqhmwq6y7580"; /* updated by script */
336+ sha256 = "1kv1d5y2ph36aq91sq08lbz8hvfp765xi7m0hdwkhqdi2wkrpnkc"; /* updated by script */
337337 };
338338 wmClass = "jetbrains-pycharm";
339− update-channel = "PyCharm_Release";
339+ update-channel = "PyCharm Release";
340340 };
341341
342342 rider = buildRider rec {
343343 name = "rider-${version}";
344− version = "2018.1"; /* updated by script */
344+ version = "2018.1.2"; /* updated by script */
345345 description = "A cross-platform .NET IDE based on the IntelliJ platform and ReSharper";
346346 license = stdenv.lib.licenses.unfree;
347347 src = fetchurl {
348348 url = "https://download.jetbrains.com/rider/JetBrains.Rider-${version}.tar.gz";
349− sha256 = "0jhzfi9r18hy6mig8rrrr2n55lrfn5ysa7h347w5yv2dm7kx09ib"; /* updated by script */
349+ sha256 = "1jsj0g4mv7fci3jgwx9skaz2m40g3ray2n17djaln08731rls5cc"; /* updated by script */
350350 };
351351 wmClass = "jetbrains-rider";
352− update-channel = "rider_2018_1";
352+ update-channel = "Rider 2018.1.2";
353353 };
354354
355355 ruby-mine = buildRubyMine rec {
@@ -362,20 +362,20 @@ in
362362 sha256 = "033rjsx6zjrfbl89i513ms14iw53ip56h4bkilrij32hshb7c2c5"; /* updated by script */
363363 };
364364 wmClass = "jetbrains-rubymine";
365− update-channel = "rm2018.1";
365+ update-channel = "RubyMine 2018.1";
366366 };
367367
368368 webstorm = buildWebStorm rec {
369369 name = "webstorm-${version}";
370− version = "2018.1.3"; /* updated by script */
370+ version = "2018.1.5"; /* updated by script */
371371 description = "Professional IDE for Web and JavaScript development";
372372 license = stdenv.lib.licenses.unfree;
373373 src = fetchurl {
374374 url = "https://download.jetbrains.com/webstorm/WebStorm-${version}.tar.gz";
375− sha256 = "03nhs4vmqbm5s4ykjz475nvcbwvp2hb0bq5ijfjxwayj3jgv0zbm"; /* updated by script */
375+ sha256 = "1mqms8gzmsaqvwzfk821vj1z1cxdgjw5nnwq63mag6rly04h60n6"; /* updated by script */
376376 };
377377 wmClass = "jetbrains-webstorm";
378− update-channel = "WS_Release";
378+ update-channel = "WebStorm Release";
379379 };
380380
381381}
pkgs/applications/editors/jetbrains/update.pl+1−1
@@ -17,7 +17,7 @@ sub get_latest_versions {
1717 my @channels = get("http://www.jetbrains.com/updates/updates.xml") =~ /(<channel .+?<\/channel>)/gs;
1818 my %h = {};
1919 for my $ch (@channels) {
20− my ($id) = $ch =~ /^<channel id="([^"]+)"/;
20+ my ($id) = $ch =~ /^<channel id="[^"]+" name="([^"]+)"/;
2121 my @builds = $ch =~ /(<build .+?<\/build>)/gs;
2222 my $latest_build = reduce {
2323 my ($aversion) = $a =~ /^<build [^>]*version="([^"]+)"/; die "no version in $a" unless $aversion;