1 { lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
3 rustPlatform.buildRustPackage rec {
5 version = "unstable-2020-03-22";
7 src = fetchFromGitHub {
10 rev = "1fbd29a6d539faa6eb0f3186a361e208d0a0bc05";
11 sha256 = "0r5c87cs8jlc9kpb6bi2aypldw1lngf6gzjirf13gi7iy4q08ik7";
14 cargoSha256 = "1ph3r3vspy700mb8pica8478v9arqz07k2nzpbrdkdkqgfcwlgcg";
17 description = "Modern system shell with simple (and powerful) syntax";
18 homepage = "https://gitlab.redox-os.org/redox-os/ion";
19 license = licenses.mit;
20 maintainers = with maintainers; [ dywedir ];
23 buildInputs = lib.optional stdenv.hostPlatform.isDarwin [
28 shellPath = "/bin/ion";