mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 09:43:14 +00:00
16cdff0711
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
28 lines
729 B
Nix
28 lines
729 B
Nix
{ stdenv, fetchFromGitHub, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "ion";
|
|
version = "unstable-2020-03-22";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "redox-os";
|
|
repo = "ion";
|
|
rev = "1fbd29a6d539faa6eb0f3186a361e208d0a0bc05";
|
|
sha256 = "0r5c87cs8jlc9kpb6bi2aypldw1lngf6gzjirf13gi7iy4q08ik7";
|
|
};
|
|
|
|
cargoSha256 = "1ph3r3vspy700mb8pica8478v9arqz07k2nzpbrdkdkqgfcwlgcg";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Modern system shell with simple (and powerful) syntax";
|
|
homepage = "https://gitlab.redox-os.org/redox-os/ion";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dywedir ];
|
|
platforms = platforms.all;
|
|
};
|
|
|
|
passthru = {
|
|
shellPath = "/bin/ion";
|
|
};
|
|
}
|