Skip to content

Commit

Permalink
clojure: 1.10.547 -> 1.10.590
Browse files Browse the repository at this point in the history
  • Loading branch information
jlesquembre committed Jul 27, 2020
1 parent 22a81aa commit 81ae934
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions pkgs/development/interpreters/clojure/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand All @@ -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 = ''
Expand Down

0 comments on commit 81ae934

Please sign in to comment.