You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.4 KiB
Nix
58 lines
1.4 KiB
Nix
{ nixpkgs ? import <nixpkgs> {}
|
|
, stdenv ? nixpkgs.stdenv
|
|
#, callPackage
|
|
#, fetchurl
|
|
#, makeDesktopItem
|
|
#, makeWrapper
|
|
#, patchelf
|
|
|
|
#, coreutils
|
|
#, gnugrep
|
|
#, which
|
|
#, git
|
|
#, python
|
|
#, unzip
|
|
#, p7zip
|
|
|
|
#, androidsdk, jdk
|
|
}:
|
|
|
|
with nixpkgs;
|
|
assert stdenv.isLinux;
|
|
|
|
let
|
|
mkIdeaProduct = callPackage ./common.nix { };
|
|
|
|
buildIdea = { name, version, src, license, description, wmClass }:
|
|
(mkIdeaProduct rec {
|
|
inherit name version src wmClass jdk;
|
|
product = "IDEA";
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://www.jetbrains.com/idea/";
|
|
inherit description license;
|
|
longDescription = ''
|
|
IDE for Java SE, Groovy & Scala development Powerful
|
|
environment for building Google Android apps Integration
|
|
with JUnit, TestNG, popular SCMs, Ant & Maven.
|
|
'';
|
|
maintainers = with maintainers; [ edwtjo ];
|
|
platforms = platforms.linux;
|
|
};
|
|
});
|
|
in
|
|
|
|
{
|
|
idea14-ultimate = buildIdea rec {
|
|
name = "idea-ultimate-${version}";
|
|
version = "14.1.7";
|
|
description = "Integrated Development Environment (IDE) by Jetbrains, requires paid license";
|
|
license = stdenv.lib.licenses.bsd3;
|
|
#license = stdenv.lib.licenses.unfree;
|
|
src = fetchurl {
|
|
url = "https://download.jetbrains.com/idea/ideaIU-${version}.tar.gz";
|
|
sha256 = "1hhga1i2zbsipgq283gn19kv9n94inhr1bxh2yx19gz7yr4r49d2";
|
|
};
|
|
wmClass = "jetbrains-idea";
|
|
};
|
|
}
|