diff options
-rw-r--r-- | pkgs/applications/editors/idea/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/editors/idea/default.nix b/pkgs/applications/editors/idea/default.nix index 8c05026e7efe..b58d6816c974 100644 --- a/pkgs/applications/editors/idea/default.nix +++ b/pkgs/applications/editors/idea/default.nix @@ -115,6 +115,22 @@ let propagatedUserEnvPkgs = [ python ]; }; + buildDataGrip = { name, version, src, license, description, wmClass }: + (mkIdeaProduct { + inherit name version src wmClass jdk; + product = "DataGrip"; + meta = with stdenv.lib; { + homepage = "https://www.jetbrains.com/datagrip/"; + inherit description license; + longDescription = '' + DataGrip is a new IDE from JetBrains built for database admins. + It allows you to quickly migrate and refactor relational databases, + construct efficient, statically checked SQL queries and much more. + ''; + maintainers = with maintainers; [ loskutov ]; + platforms = platforms.linux; + }; + }); in { @@ -321,4 +337,16 @@ in }; wmClass = "jetbrains-webstorm"; }; + + datagrip = buildDataGrip rec { + name = "datagrip-${version}"; + version = "2016.3"; + description = "Your Swiss Army Knife for Databases and SQL"; + license = stdenv.lib.licenses.unfree; + src = fetchurl { + url = "https://download.jetbrains.com/datagrip/${name}.tar.gz"; + sha256 = "10nah7v330qrrczzz5jldnr0k7w2xzljiny32gm9pqmjbl0i70il"; + }; + wmClass = "jetbrains-datagrip"; + }; } |