anchor.diff:            developer on Linux, OS X and Windows.
           '';
           maintainers = with maintainers; [ edwtjo ];
  +        platforms = platforms.linux;
  +      };
  +    });
  +
  +  buildDataGrip = { name, version, src, license, description, wmClass }:
  +    (mkJetBrainsProduct {
  +      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;
         };
       });
  
positive.code: let
    mkJetBrainsProduct = callPackage ./common.nix { };
  
    buildClion = { name, version, src, license, description, wmClass }:
      (mkJetBrainsProduct rec {
        inherit name version src wmClass jdk;
  
negative.code:       propagatedUserEnvPkgs = [ python ];
      };
  
    buildRubyMine = { name, version, src, license, description, wmClass }:
      (mkJetBrainsProduct rec {
        inherit name version src wmClass jdk;
        product = "RubyMine";
        meta = with stdenv.lib; {
          homepage = "https://www.jetbrains.com/ruby/";
          inherit description license;
          longDescription = description;
          maintainers = with maintainers; [ edwtjo ];
          platforms = platforms.linux;
        };
      });
  
    buildWebStorm = { name, version, src, license, description, wmClass }:
      (mkJetBrainsProduct {
        inherit name version src wmClass jdk;
        product = "WebStorm";
        meta = with stdenv.lib; {
          homepage = "https://www.jetbrains.com/webstorm/";
          inherit description license;
          longDescription = ''
            WebStorm provides an editor for HTML, JavaScript (incl. Node.js),
            and CSS with on-the-fly code analysis, error prevention and
            automated refactorings for JavaScript code.
          '';
          maintainers = with maintainers; [ abaldeau ];
          platforms = platforms.linux;
        };
      });
  
  in
  
  {
    # Sorted alphabetically
  
    clion = buildClion rec {
      name = "clion-${version}";
      version = "2017.1";
  