git.iko.soy/typeable/nixpkgs
on master help sign in
jebrains: sort packages alphabetically
commit3aaf146f0746e10f94f3151cdaa0932f1fbf3495 authorVasiliy Solovey <miltador@yandex.ua> dateSat 1 Apr 2017, 10:45 (10 years ago) parent23f5958
1 file changed+93−88
pkgs/applications/editors/jetbrains/default.nix+93−88
pkgs/applications/editors/jetbrains/default.nix+93−88
@@ -8,6 +8,8 @@ assert stdenv.isLinux;
88let
99 mkJetBrainsProduct = callPackage ./common.nix { };
1010
11+ # Sorted alphabetically
12+
1113 buildClion = { name, version, src, license, description, wmClass }:
1214 (mkJetBrainsProduct rec {
1315 inherit name version src wmClass jdk;
@@ -24,31 +26,35 @@ let
2426 };
2527 });
2628
27− buildIdea = { name, version, src, license, description, wmClass }:
28− (mkJetBrainsProduct rec {
29+ buildDataGrip = { name, version, src, license, description, wmClass }:
30+ (mkJetBrainsProduct {
2931 inherit name version src wmClass jdk;
30− product = "IDEA";
32+ product = "DataGrip";
3133 meta = with stdenv.lib; {
32− homepage = "https://www.jetbrains.com/idea/";
34+ homepage = "https://www.jetbrains.com/datagrip/";
3335 inherit description license;
3436 longDescription = ''
35− IDE for Java SE, Groovy & Scala development Powerful
36− environment for building Google Android apps Integration
37− with JUnit, TestNG, popular SCMs, Ant & Maven.
37+ DataGrip is a new IDE from JetBrains built for database admins.
38+ It allows you to quickly migrate and refactor relational databases,
39+ construct efficient, statically checked SQL queries and much more.
3840 '';
39− maintainers = with maintainers; [ edwtjo ];
41+ maintainers = with maintainers; [ loskutov ];
4042 platforms = platforms.linux;
4143 };
4244 });
4345
44− buildRubyMine = { name, version, src, license, description, wmClass }:
46+ buildIdea = { name, version, src, license, description, wmClass }:
4547 (mkJetBrainsProduct rec {
4648 inherit name version src wmClass jdk;
47− product = "RubyMine";
49+ product = "IDEA";
4850 meta = with stdenv.lib; {
49− homepage = "https://www.jetbrains.com/ruby/";
51+ homepage = "https://www.jetbrains.com/idea/";
5052 inherit description license;
51− longDescription = description;
53+ longDescription = ''
54+ IDE for Java SE, Groovy & Scala development Powerful
55+ environment for building Google Android apps Integration
56+ with JUnit, TestNG, popular SCMs, Ant & Maven.
57+ '';
5258 maintainers = with maintainers; [ edwtjo ];
5359 platforms = platforms.linux;
5460 };
@@ -71,23 +77,6 @@ let
7177 };
7278 });
7379
74− buildWebStorm = { name, version, src, license, description, wmClass }:
75− (mkJetBrainsProduct {
76− inherit name version src wmClass jdk;
77− product = "WebStorm";
78− meta = with stdenv.lib; {
79− homepage = "https://www.jetbrains.com/webstorm/";
80− inherit description license;
81− longDescription = ''
82− WebStorm provides an editor for HTML, JavaScript (incl. Node.js),
83− and CSS with on-the-fly code analysis, error prevention and
84− automated refactorings for JavaScript code.
85− '';
86− maintainers = with maintainers; [ abaldeau ];
87− platforms = platforms.linux;
88− };
89− });
90−
9180 buildPycharm = { name, version, src, license, description, wmClass }:
9281 (mkJetBrainsProduct rec {
9382 inherit name version src wmClass jdk;
@@ -115,25 +104,41 @@ let
115104 propagatedUserEnvPkgs = [ python ];
116105 };
117106
118− buildDataGrip = { name, version, src, license, description, wmClass }:
107+ buildRubyMine = { name, version, src, license, description, wmClass }:
108+ (mkJetBrainsProduct rec {
109+ inherit name version src wmClass jdk;
110+ product = "RubyMine";
111+ meta = with stdenv.lib; {
112+ homepage = "https://www.jetbrains.com/ruby/";
113+ inherit description license;
114+ longDescription = description;
115+ maintainers = with maintainers; [ edwtjo ];
116+ platforms = platforms.linux;
117+ };
118+ });
119+
120+ buildWebStorm = { name, version, src, license, description, wmClass }:
119121 (mkJetBrainsProduct {
120122 inherit name version src wmClass jdk;
121− product = "DataGrip";
123+ product = "WebStorm";
122124 meta = with stdenv.lib; {
123− homepage = "https://www.jetbrains.com/datagrip/";
125+ homepage = "https://www.jetbrains.com/webstorm/";
124126 inherit description license;
125127 longDescription = ''
126− DataGrip is a new IDE from JetBrains built for database admins.
127− It allows you to quickly migrate and refactor relational databases,
128− construct efficient, statically checked SQL queries and much more.
128+ WebStorm provides an editor for HTML, JavaScript (incl. Node.js),
129+ and CSS with on-the-fly code analysis, error prevention and
130+ automated refactorings for JavaScript code.
129131 '';
130− maintainers = with maintainers; [ loskutov ];
132+ maintainers = with maintainers; [ abaldeau ];
131133 platforms = platforms.linux;
132134 };
133135 });
136+
134137in
135138
136139{
140+ # Sorted alphabetically
141+
137142 clion = buildClion rec {
138143 name = "clion-${version}";
139144 version = "2017.1";
@@ -146,6 +151,18 @@ in
146151 wmClass = "jetbrains-clion";
147152 };
148153
154+ datagrip = buildDataGrip rec {
155+ name = "datagrip-${version}";
156+ version = "2017.1";
157+ description = "Your Swiss Army Knife for Databases and SQL";
158+ license = stdenv.lib.licenses.unfree;
159+ src = fetchurl {
160+ url = "https://download.jetbrains.com/datagrip/${name}.tar.gz";
161+ sha256 = "91ee6a1e43d75a45ae51829835e457da85262410d89e617324d0239ba5625dfa";
162+ };
163+ wmClass = "jetbrains-datagrip";
164+ };
165+
149166 idea14-community = buildIdea rec {
150167 name = "idea-community-${version}";
151168 version = "14.1.7";
@@ -206,40 +223,28 @@ in
206223 wmClass = "jetbrains-idea";
207224 };
208225
209− ruby-mine = buildRubyMine rec {
210− name = "ruby-mine-${version}";
211− version = "2016.3.2";
212− description = "The Most Intelligent Ruby and Rails IDE";
213− license = stdenv.lib.licenses.unfree;
214− src = fetchurl {
215− url = "https://download.jetbrains.com/ruby/RubyMine-${version}.tar.gz";
216− sha256 = "1fqlrvhlk09z8nx68qv4nqs5n8ldia3lixsl6r04gsfyl1a69sb6";
217− };
218− wmClass = "jetbrains-rubymine";
219− };
220−
221− ruby-mine7 = buildRubyMine rec {
222− name = "ruby-mine-${version}";
223− version = "7.1.5";
224− description = "The Most Intelligent Ruby and Rails IDE";
226+ phpstorm = buildPhpStorm rec {
227+ name = "phpstorm-${version}";
228+ version = "2017.1";
229+ description = "Professional IDE for Web and PHP developers";
225230 license = stdenv.lib.licenses.unfree;
226231 src = fetchurl {
227− url = "https://download.jetbrains.com/ruby/RubyMine-${version}.tar.gz";
228− sha256 = "04fcxj1xlap9mxmwf051s926p2darlj5kwl4lms2gy5d8b2lhd5l";
232+ url = "https://download.jetbrains.com/webide/PhpStorm-${version}.tar.gz";
233+ sha256 = "1ynffm5x8fqq2r71rr9rbvdifbwbvbhqb2x1hkyy4az38gxal1bm";
229234 };
230− wmClass = "jetbrains-rubymine";
235+ wmClass = "jetbrains-phpstorm";
231236 };
232237
233− ruby-mine8 = buildRubyMine rec {
234− name = "ruby-mine-${version}";
235− version = "8.0.4";
236− description = "The Most Intelligent Ruby and Rails IDE";
238+ phpstorm10 = buildPhpStorm rec {
239+ name = "phpstorm-${version}";
240+ version = "10.0.4";
241+ description = "Professional IDE for Web and PHP developers";
237242 license = stdenv.lib.licenses.unfree;
238243 src = fetchurl {
239− url = "https://download.jetbrains.com/ruby/RubyMine-${version}.tar.gz";
240− sha256 = "0hipxib7377232w1jbf8h98bmh0djkllsrq3lq0w3fdxqglma43a";
244+ url = "https://download.jetbrains.com/webide/PhpStorm-${version}.tar.gz";
245+ sha256 = "0fi042zvjpg5pn2mnhj3bbrdkl1b9vmhpf2l6ca4nr0rhjjv7dsm";
241246 };
242− wmClass = "jetbrains-rubymine";
247+ wmClass = "jetbrains-phpstorm";
243248 };
244249
245250 pycharm-community = buildPycharm rec {
@@ -266,28 +271,40 @@ in
266271 wmClass = "jetbrains-pycharm";
267272 };
268273
269− phpstorm = buildPhpStorm rec {
270− name = "phpstorm-${version}";
271− version = "2017.1";
272− description = "Professional IDE for Web and PHP developers";
274+ ruby-mine = buildRubyMine rec {
275+ name = "ruby-mine-${version}";
276+ version = "2016.3.2";
277+ description = "The Most Intelligent Ruby and Rails IDE";
273278 license = stdenv.lib.licenses.unfree;
274279 src = fetchurl {
275− url = "https://download.jetbrains.com/webide/PhpStorm-${version}.tar.gz";
276− sha256 = "1ynffm5x8fqq2r71rr9rbvdifbwbvbhqb2x1hkyy4az38gxal1bm";
280+ url = "https://download.jetbrains.com/ruby/RubyMine-${version}.tar.gz";
281+ sha256 = "1fqlrvhlk09z8nx68qv4nqs5n8ldia3lixsl6r04gsfyl1a69sb6";
277282 };
278− wmClass = "jetbrains-phpstorm";
283+ wmClass = "jetbrains-rubymine";
279284 };
280285
281− phpstorm10 = buildPhpStorm rec {
282− name = "phpstorm-${version}";
283− version = "10.0.4";
284− description = "Professional IDE for Web and PHP developers";
286+ ruby-mine7 = buildRubyMine rec {
287+ name = "ruby-mine-${version}";
288+ version = "7.1.5";
289+ description = "The Most Intelligent Ruby and Rails IDE";
285290 license = stdenv.lib.licenses.unfree;
286291 src = fetchurl {
287− url = "https://download.jetbrains.com/webide/PhpStorm-${version}.tar.gz";
288− sha256 = "0fi042zvjpg5pn2mnhj3bbrdkl1b9vmhpf2l6ca4nr0rhjjv7dsm";
292+ url = "https://download.jetbrains.com/ruby/RubyMine-${version}.tar.gz";
293+ sha256 = "04fcxj1xlap9mxmwf051s926p2darlj5kwl4lms2gy5d8b2lhd5l";
289294 };
290− wmClass = "jetbrains-phpstorm";
295+ wmClass = "jetbrains-rubymine";
296+ };
297+
298+ ruby-mine8 = buildRubyMine rec {
299+ name = "ruby-mine-${version}";
300+ version = "8.0.4";
301+ description = "The Most Intelligent Ruby and Rails IDE";
302+ license = stdenv.lib.licenses.unfree;
303+ src = fetchurl {
304+ url = "https://download.jetbrains.com/ruby/RubyMine-${version}.tar.gz";
305+ sha256 = "0hipxib7377232w1jbf8h98bmh0djkllsrq3lq0w3fdxqglma43a";
306+ };
307+ wmClass = "jetbrains-rubymine";
291308 };
292309
293310 webstorm = buildWebStorm rec {
@@ -325,16 +342,4 @@ in
325342 };
326343 wmClass = "jetbrains-webstorm";
327344 };
328−
329− datagrip = buildDataGrip rec {
330− name = "datagrip-${version}";
331− version = "2017.1";
332− description = "Your Swiss Army Knife for Databases and SQL";
333− license = stdenv.lib.licenses.unfree;
334− src = fetchurl {
335− url = "https://download.jetbrains.com/datagrip/${name}.tar.gz";
336− sha256 = "91ee6a1e43d75a45ae51829835e457da85262410d89e617324d0239ba5625dfa";
337− };
338− wmClass = "jetbrains-datagrip";
339− };
340345}