diff options
author | Alexey Shmalko <rasen.dubi@gmail.com> | 2019-08-27 12:21:13 +0300 |
---|---|---|
committer | Alexey Shmalko <rasen.dubi@gmail.com> | 2019-08-27 12:23:59 +0300 |
commit | cc1fcec27829ba02495c95a010a65231c6ec48ab (patch) | |
tree | bab745b0e4c6ad27bab3ba3943123726fdaa506e /pkgs/applications/editors | |
parent | 7a8bbb6b9989711308a18593ef5e932e981ee869 (diff) | |
download | nixpkgs-cc1fcec27829ba02495c95a010a65231c6ec48ab.tar nixpkgs-cc1fcec27829ba02495c95a010a65231c6ec48ab.tar.gz nixpkgs-cc1fcec27829ba02495c95a010a65231c6ec48ab.tar.bz2 nixpkgs-cc1fcec27829ba02495c95a010a65231c6ec48ab.tar.lz nixpkgs-cc1fcec27829ba02495c95a010a65231c6ec48ab.tar.xz nixpkgs-cc1fcec27829ba02495c95a010a65231c6ec48ab.tar.zst nixpkgs-cc1fcec27829ba02495c95a010a65231c6ec48ab.zip |
jetbrains.mps: 2019.1.5 -> 2019.2
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r-- | pkgs/applications/editors/jetbrains/default.nix | 67 |
1 files changed, 32 insertions, 35 deletions
diff --git a/pkgs/applications/editors/jetbrains/default.nix b/pkgs/applications/editors/jetbrains/default.nix index f038682b6c0..9511b4fa025 100644 --- a/pkgs/applications/editors/jetbrains/default.nix +++ b/pkgs/applications/editors/jetbrains/default.nix @@ -1,6 +1,6 @@ { lib, stdenv, callPackage, fetchurl , python -, jdk, jdk8, cmake, libxml2, zlib, python3, ncurses +, jdk, cmake, libxml2, zlib, python3, ncurses }: with stdenv.lib; @@ -138,6 +138,24 @@ let }; }); + buildMps = { name, version, src, license, description, wmClass, ... }: + (mkJetBrainsProduct rec { + inherit name version src wmClass jdk; + product = "MPS"; + meta = with stdenv.lib; { + homepage = https://www.jetbrains.com/mps/; + inherit license description; + longDescription = '' + A metaprogramming system which uses projectional editing + which allows users to overcome the limits of language + parsers, and build DSL editors, such as ones with tables and + diagrams. + ''; + maintainers = with maintainers; [ rasendubi ]; + platforms = platforms.linux; + }; + }); + buildPhpStorm = { name, version, src, license, description, wmClass, ... }: (mkJetBrainsProduct { inherit name version src wmClass jdk; @@ -243,27 +261,6 @@ let rm -r jre64 ''; }); - - buildMps = { name, version, src, license, description, wmClass, ... }: - (mkJetBrainsProduct rec { - inherit name version src wmClass; - # MPS does not yet work with jbrsdk11 as of 2019.1.5 (it starts - # but is unable to generate any project) - jdk = jdk8; - product = "MPS"; - meta = with stdenv.lib; { - homepage = https://www.jetbrains.com/mps/; - inherit license description; - longDescription = '' - A metaprogramming system which uses projectional editing - which allows users to overcome the limits of language - parsers, and build DSL editors, such as ones with tables and - diagrams. - ''; - maintainers = with maintainers; [ rasendubi ]; - platforms = platforms.linux; - }; - }); in { @@ -334,6 +331,19 @@ in update-channel = "IntelliJ IDEA RELEASE"; }; + mps = buildMps rec { + name = "mps-${version}"; + version = "2019.2"; + description = "Create your own domain-specific language"; + license = stdenv.lib.licenses.unfree; + src = fetchurl { + url = "https://download.jetbrains.com/mps/2019.2/MPS-${version}.tar.gz"; + sha256 = "0rph3bibj74ddbyrn0az1npn4san4g1alci8nlq4gaqdlcz6zx22"; + }; + wmClass = "jetbrains-mps"; + update-channel = "MPS RELEASE"; + }; + phpstorm = buildPhpStorm rec { name = "phpstorm-${version}"; version = "2019.1.3"; /* updated by script */ @@ -412,17 +422,4 @@ in update-channel = "WebStorm RELEASE"; }; - mps = buildMps rec { - name = "mps-${version}"; - version = "2019.1.5"; - description = "Create your own domain-specific language"; - license = stdenv.lib.licenses.unfree; - src = fetchurl { - url = "https://download.jetbrains.com/mps/2019.1/MPS-${version}.tar.gz"; - sha256 = "0bq1gxciw9p9nd2h9vcill8rb6ghkjjj7b0dh812vx75rsfwsvl4"; - }; - wmClass = "jetbrains-mps"; - update-channel = "MPS RELEASE"; - }; - } |