From 7bd4b1cdbd6461de4bdfcfb33f6bf03b610e35b3 Mon Sep 17 00:00:00 2001 From: Vasiliy Solovey Date: Sat, 1 Apr 2017 12:04:06 +0300 Subject: [PATCH] gogland: init at 171.3780.106 --- .../editors/jetbrains/default.nix | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/pkgs/applications/editors/jetbrains/default.nix b/pkgs/applications/editors/jetbrains/default.nix index db5320da8a1..7e9c5e48ad0 100644 --- a/pkgs/applications/editors/jetbrains/default.nix +++ b/pkgs/applications/editors/jetbrains/default.nix @@ -43,6 +43,24 @@ let }; }); + buildGogland = { name, version, src, license, description, wmClass }: + (mkJetBrainsProduct { + inherit name version src wmClass jdk; + product = "Gogland"; + meta = with stdenv.lib; { + homepage = "https://www.jetbrains.com/go/"; + inherit description license; + longDescription = '' + Gogland is the codename for a new commercial IDE by JetBrains + aimed at providing an ergonomic environment for Go development. + The new IDE extends the IntelliJ platform with the coding assistance + and tool integrations specific for the Go language + ''; + maintainers = [ maintainers.miltador ]; + platforms = platforms.linux; + }; + }); + buildIdea = { name, version, src, license, description, wmClass }: (mkJetBrainsProduct rec { inherit name version src wmClass jdk; @@ -189,6 +207,18 @@ in wmClass = "jetbrains-datagrip"; }; + gogland = buildGogland rec { + name = "gogland-${version}"; + version = "171.3780.106"; + description = "Up and Coming Go IDE"; + license = stdenv.lib.licenses.unfree; + src = fetchurl { + url = "https://download.jetbrains.com/go/${name}.tar.gz"; + sha256 = "cbe84d07fdec6425d8ac63b0ecd5e04148299c1c0c6d05751523aaaa9360110b"; + }; + wmClass = "jetbrains-gogland"; + }; + idea14-community = buildIdea rec { name = "idea-community-${version}"; version = "14.1.7";