clojure: 1.10.3.839 -> 1.10.3.849

launchpad/nixpkgs/master
José Luis Lafuente 3 years ago
parent ea7d4aa9b8
commit b38eb1b34c
No known key found for this signature in database
GPG Key ID: 8A3455EBE455489A
  1. 7
      pkgs/development/interpreters/clojure/default.nix

@ -2,12 +2,12 @@
stdenv.mkDerivation rec {
pname = "clojure";
version = "1.10.3.839";
version = "1.10.3.849";
src = fetchurl {
# https://clojure.org/releases/tools
url = "https://download.clojure.org/install/clojure-tools-${version}.tar.gz";
sha256 = "sha256-nf8Vd60Opobj3gUPyYohQTzkG1G4kW9wWdBKRUba9+c=";
sha256 = "sha256-0bHb6FsCZP1LdxY21+hz6lF+ka9N0yoIHUWVd+zc7wg=";
};
nativeBuildInputs = [
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
makeWrapper
];
# See https://github.com/clojure/brew-install/blob/1.10.1/src/main/resources/clojure/install/linux-install.sh
# See https://github.com/clojure/brew-install/blob/1.10.3/src/main/resources/clojure/install/linux-install.sh
installPhase =
let
binPath = lib.makeBinPath [ rlwrap jdk ];
@ -34,6 +34,7 @@ stdenv.mkDerivation rec {
echo "Installing clojure and clj into $bin_dir"
substituteInPlace clojure --replace PREFIX $out
substituteInPlace clj --replace BINDIR $bin_dir
install -Dm755 clojure "$bin_dir/clojure"
install -Dm755 clj "$bin_dir/clj"

Loading…
Cancel
Save