clojure: 1.10.547 -> 1.10.590
This commit is contained in:
parent
22a81aa5fc
commit
81ae93437b
@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "clojure";
|
||||
version = "1.10.1.547";
|
||||
version = "1.10.1.590";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.clojure.org/install/clojure-tools-${version}.tar.gz";
|
||||
sha256 = "06lg4z3q0fzxlbmx92g5qb0w3nw83dbwkzh3zjdy9ixrpm7b84i0";
|
||||
sha256 = "18x8xkxsqwnv3k1mf42ylfv7zzjllm7yiagq16b2gkq62j5sm1k7";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -18,20 +18,20 @@ stdenv.mkDerivation rec {
|
||||
let
|
||||
binPath = stdenv.lib.makeBinPath [ rlwrap jdk11 ];
|
||||
in
|
||||
''
|
||||
mkdir -p $out/libexec
|
||||
cp clojure-tools-${version}.jar $out/libexec
|
||||
cp example-deps.edn $out
|
||||
cp deps.edn $out
|
||||
''
|
||||
mkdir -p $out/libexec
|
||||
cp clojure-tools-${version}.jar $out/libexec
|
||||
cp example-deps.edn $out
|
||||
cp deps.edn $out
|
||||
|
||||
substituteInPlace clojure --replace PREFIX $out
|
||||
substituteInPlace clojure --replace PREFIX $out
|
||||
|
||||
install -Dt $out/bin clj clojure
|
||||
wrapProgram $out/bin/clj --prefix PATH : $out/bin:${binPath}
|
||||
wrapProgram $out/bin/clojure --prefix PATH : $out/bin:${binPath}
|
||||
install -Dt $out/bin clj clojure
|
||||
wrapProgram $out/bin/clj --prefix PATH : $out/bin:${binPath}
|
||||
wrapProgram $out/bin/clojure --prefix PATH : $out/bin:${binPath}
|
||||
|
||||
installManPage clj.1 clojure.1
|
||||
'';
|
||||
installManPage clj.1 clojure.1
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
installCheckPhase = ''
|
||||
|
Loading…
Reference in New Issue
Block a user