diff --git a/gnu/local.mk b/gnu/local.mk index 37166bb2fc..7f6a9f9340 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -304,6 +304,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/java-maths.scm \ %D%/packages/javascript.scm \ %D%/packages/jemalloc.scm \ + %D%/packages/jetbrains.scm \ %D%/packages/jrnl.scm \ %D%/packages/jose.scm \ %D%/packages/julia.scm \ diff --git a/gnu/packages/jetbrains.scm b/gnu/packages/jetbrains.scm new file mode 100644 index 0000000000..da86780406 --- /dev/null +++ b/gnu/packages/jetbrains.scm @@ -0,0 +1,65 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2021 Raghav Gururajan +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages jetbrains) + #:use-module (gnu packages) + #:use-module (gnu packages java) + #:use-module (gnu packages perl) + #:use-module (gnu packages python) + #:use-module (gnu packages ruby) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix git-download) + #:use-module (guix build utils) + #:use-module (guix build-system ant)) + +(define-public idea + (package + (name "idea") + (version "211.7142.45") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/JetBrains/intellij-community") + (commit (string-append "idea/" version)))) + (file-name + (git-file-name name version)) + (sha256 + (base32 "02y754c45pw1lr0x0pw459ng7s582c8yffpmmah66h4ipd95z5n0")))) + (build-system ant-build-system) + (arguments + `(#:jdk ,openjdk11 + #:source-dir "." + #:build-target "build" + #:test-target "test")) + (native-inputs + `(("perl" ,perl) + ("python" ,python-wrapper) + ("ruby" ,ruby))) + (inputs + `()) + (propagated-inputs + `()) + (home-page "https://www.jetbrains.com/idea/") + (synopsis "Capable and Ergonomic IDE for JVM") + (description "IDEA is an Integrated Development Environment (IDE) for JVM +languages. It does the routine and repetitive tasks for you by providing code +completion, static code analysis, and refactorings.") + (license license:asl2.0)))