From: Raghav Gururajan <rg@raghavgururajan.name>
To: help-guix@gnu.org
Subject: IntelliJ IDEA - Community Edition
Date: Sun, 9 May 2021 15:00:32 -0400 [thread overview]
Message-ID: <f5553f67-6f55-8b09-10c8-46aff6c19b8d@raghavgururajan.name> (raw)
[-- Attachment #1.1.1: Type: text/plain, Size: 544 bytes --]
Hello Guix,
I am trying to package IDEA, which is an IDE for JVM.
This is the first time I am dealing with java and ant-build-system.
I was able to do some tinkering to get the build phase started, but it
fails at the beginning with the following error:
"Exception in thread "main" java.lang.RuntimeException: Could not create
parent directory for lock file
/.gradle/wrapper/dists/gradle-5.5-all/66q2j3qadt42ygj9lkubqor18/gradle-5.5-all.zip.lck".
I have attached the diff file with this email.
Thoughts?
Regards,
RG.
[-- Attachment #1.1.2: jetbrains.diff --]
[-- Type: text/x-patch, Size: 3029 bytes --]
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 <rg@raghavgururajan.name>
+;;;
+;;; 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 <http://www.gnu.org/licenses/>.
+
+(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)))
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
next reply other threads:[~2021-05-09 19:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-09 19:00 Raghav Gururajan [this message]
2021-05-09 19:27 ` IntelliJ IDEA - Community Edition Björn Höfling
2021-05-10 3:36 ` Julien Lepiller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f5553f67-6f55-8b09-10c8-46aff6c19b8d@raghavgururajan.name \
--to=rg@raghavgururajan.name \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).