From c13e3289161d91afed3308c1c4400e6f4dc980dd Mon Sep 17 00:00:00 2001 From: Tim Steinbach Date: Tue, 2 May 2017 08:56:20 -0400 Subject: [PATCH] ammonite: 0.8.3 -> 0.8.4 Also rename package and add alias for the old name. --- pkgs/development/tools/ammonite/default.nix | 9 +++++---- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/development/tools/ammonite/default.nix b/pkgs/development/tools/ammonite/default.nix index 4c64141fd4d2..04916b1ef75f 100644 --- a/pkgs/development/tools/ammonite/default.nix +++ b/pkgs/development/tools/ammonite/default.nix @@ -1,12 +1,13 @@ { stdenv, lib, fetchurl, makeWrapper, jre }: stdenv.mkDerivation rec { - name = "ammonite-repl-${version}"; - version = "0.8.3"; + name = "ammonite-${version}"; + version = "0.8.4"; + scalaVersion = "2.12"; src = fetchurl { - url = "https://github.com/lihaoyi/Ammonite/releases/download/${version}/2.12-${version}"; - sha256 = "0y4524y2w7aq300djcazb7ckkr3gqpim2grcgb237mxq3fdvb0r8"; + url = "https://github.com/lihaoyi/Ammonite/releases/download/${version}/${scalaVersion}-${version}"; + sha256 = "04kni08yd53w8dhkkgbydzkka4cnp31l2d8g23iinkn10ckmz5jm"; }; propagatedBuildInputs = [ jre ] ; diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 94fedabd562d..7fb271682d0f 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -20,6 +20,7 @@ doNotDisplayTwice rec { accounts-qt = libsForQt5.accounts-qt; # added 2015-12-19 adobeReader = adobe-reader; aircrackng = aircrack-ng; # added 2016-01-14 + ammonite-repl = ammonite; # added 2017-05-02 arduino_core = arduino-core; # added 2015-02-04 asciidocFull = asciidoc-full; # added 2014-06-22 bar = lemonbar; # added 2015-01-16 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 67014b02d9c2..f8f7587d6a44 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -402,7 +402,7 @@ with pkgs; amazon-glacier-cmd-interface = callPackage ../tools/backup/amazon-glacier-cmd-interface { }; - ammonite-repl = callPackage ../development/tools/ammonite {}; + ammonite = callPackage ../development/tools/ammonite {}; amtterm = callPackage ../tools/system/amtterm {};