about summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorIgnat Loskutov <loskutov@google.com>2016-12-06 00:28:09 +0300
committerIgnat Loskutov <loskutov@google.com>2016-12-06 00:28:09 +0300
commit1915170dde9b05d8547b6b04f41400aeed67f1b2 (patch)
treef16fec035957464e0892ef911c1589e7734d2a5f /pkgs/applications/editors
parente2ff3f160d2b308916ec86746675b09fbd445884 (diff)
downloadnixlib-1915170dde9b05d8547b6b04f41400aeed67f1b2.tar
nixlib-1915170dde9b05d8547b6b04f41400aeed67f1b2.tar.gz
nixlib-1915170dde9b05d8547b6b04f41400aeed67f1b2.tar.bz2
nixlib-1915170dde9b05d8547b6b04f41400aeed67f1b2.tar.lz
nixlib-1915170dde9b05d8547b6b04f41400aeed67f1b2.tar.xz
nixlib-1915170dde9b05d8547b6b04f41400aeed67f1b2.tar.zst
nixlib-1915170dde9b05d8547b6b04f41400aeed67f1b2.zip
idea.datagrip: init at 2016.3
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/idea/default.nix28
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";
+  };
 }