clojure: 1.10.0.442 -> 1.10.1.462

Updates jdk dependency from 8 to 11. Clojure 1.10.0 added support for
jdk11, and was released with a new develper tool: REBL
(https://github.com/cognitect-labs/REBL-distro). REBL depends on javafx,
currently only supported on Nix by jdk11 (see #63574)
This commit is contained in:
José Luis Lafuente 2019-06-30 10:56:34 +02:00
parent 20b993ef2c
commit bdf9dc59ff
No known key found for this signature in database
GPG key ID: 8A3455EBE455489A

View file

@ -1,12 +1,12 @@
{ stdenv, fetchurl, jdk, rlwrap, makeWrapper }:
{ stdenv, fetchurl, jdk11, rlwrap, makeWrapper }:
stdenv.mkDerivation rec {
name = "clojure-${version}";
version = "1.10.0.442";
pname = "clojure";
version = "1.10.1.462";
src = fetchurl {
url = "https://download.clojure.org/install/clojure-tools-${version}.tar.gz";
sha256 = "147pkid3pvw60gq8vansid3x6wwfy9pqdbla3wfd5qaxqbcrhclw";
sha256 = "0mi7fzqvkg2ihigxkkamc742m1iba0yzy8ivciavzmpcnw128sc6";
};
buildInputs = [ makeWrapper ];
@ -14,11 +14,11 @@ stdenv.mkDerivation rec {
outputs = [ "out" "prefix" ];
installPhase = let
binPath = stdenv.lib.makeBinPath [ rlwrap jdk ];
binPath = stdenv.lib.makeBinPath [ rlwrap jdk11 ];
in ''
mkdir -p $prefix/libexec
cp clojure-tools-${version}.jar $prefix/libexec
cp {,example-}deps.edn $prefix
cp example-deps.edn $prefix
substituteInPlace clojure --replace PREFIX $prefix
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
offers a software transactional memory system and reactive Agent
system that ensure clean, correct, multithreaded designs.
'';
maintainers = with maintainers; [ the-kenny ];
maintainers = with maintainers; [ jlesquembre ];
platforms = platforms.unix;
};
}