summary refs log tree commit diff
path: root/pkgs/shells/ion
diff options
context:
space:
mode:
authorBenjamin Hipple <bhipple@protonmail.com>2020-03-27 19:17:03 -0400
committerBenjamin Hipple <bhipple@protonmail.com>2020-03-27 19:47:33 -0400
commit16cdff0711dc2871b49a1194efc3073aee6c7f04 (patch)
treead33eceb6fa13b82a04d3f691375eb12b4c3f59d /pkgs/shells/ion
parentb101527140022a9761f6f0b4816641a4e413fa66 (diff)
downloadnixpkgs-16cdff0711dc2871b49a1194efc3073aee6c7f04.tar
nixpkgs-16cdff0711dc2871b49a1194efc3073aee6c7f04.tar.gz
nixpkgs-16cdff0711dc2871b49a1194efc3073aee6c7f04.tar.bz2
nixpkgs-16cdff0711dc2871b49a1194efc3073aee6c7f04.tar.lz
nixpkgs-16cdff0711dc2871b49a1194efc3073aee6c7f04.tar.xz
nixpkgs-16cdff0711dc2871b49a1194efc3073aee6c7f04.tar.zst
nixpkgs-16cdff0711dc2871b49a1194efc3073aee6c7f04.zip
ion: 1.0.5 -> unstable-2020-03-22
The app is still maintained upstream, but they aren't cutting releases on
crates.io anymore:
https://crates.io/crates/ion-shell

This fixes the build with the latest Rust toolchain by upgrading to the current
commit off the project's `master`.

ZHF: #80379
Diffstat (limited to 'pkgs/shells/ion')
-rw-r--r--pkgs/shells/ion/default.nix17
1 files changed, 6 insertions, 11 deletions
diff --git a/pkgs/shells/ion/default.nix b/pkgs/shells/ion/default.nix
index c58302df210..ca2f7a6d515 100644
--- a/pkgs/shells/ion/default.nix
+++ b/pkgs/shells/ion/default.nix
@@ -1,29 +1,24 @@
 { stdenv, fetchFromGitHub, rustPlatform }:
 
-with rustPlatform;
-
-buildRustPackage rec {
+rustPlatform.buildRustPackage rec {
   pname = "ion";
-  version = "1.0.5";
+  version = "unstable-2020-03-22";
 
   src = fetchFromGitHub {
     owner = "redox-os";
     repo = "ion";
-    rev = version;
-    sha256 = "0i0acl5nw254mw8dbfmb4792rr71is98a5wg32yylfnlrk7zlf8z";
+    rev = "1fbd29a6d539faa6eb0f3186a361e208d0a0bc05";
+    sha256 = "0r5c87cs8jlc9kpb6bi2aypldw1lngf6gzjirf13gi7iy4q08ik7";
   };
 
-  cargoSha256 = "0f266kygvw2id771g49s25qsbqb6a0gr1r0czkcj96n5r0wg8wrn";
+  cargoSha256 = "1ph3r3vspy700mb8pica8478v9arqz07k2nzpbrdkdkqgfcwlgcg";
 
   meta = with stdenv.lib; {
     description = "Modern system shell with simple (and powerful) syntax";
-    homepage = https://github.com/redox-os/ion;
+    homepage = "https://gitlab.redox-os.org/redox-os/ion";
     license = licenses.mit;
     maintainers = with maintainers; [ dywedir ];
     platforms = platforms.all;
-    # This has not had a release since 2017, and no longer compiles with the
-    # latest Rust compiler.
-    broken = false;
   };
 
   passthru = {