8 rustPlatform.buildRustPackage rec {
10 version = "unstable-2022-11-27";
12 src = fetchFromGitHub {
15 rev = "3bb8966fc99ba223033e1e02b0a6d50fc25cbef4";
16 sha256 = "sha256-6KW/YkMQFeGb1i+1YdADZRW89UruHsfPhMq9Cvxjl/4=";
20 lockFile = ./Cargo.lock;
22 "calculate-0.7.0" = "sha256-wUmi8XLgEMgECeaCM0r1KxJ+oTd47QozgFBANKSwt24=";
23 "decimal-2.1.0" = "sha256-s5mDRCkaDBUdaywYEJzTfe7qH25sG5UUo5iVmPE+zrw=";
24 "nix-0.23.1" = "sha256-yWJYrQt9piJHhqBkH/hn9dsXR8oqzl0RKPrzx9fvqlw=";
25 "object-pool-0.5.3" = "sha256-LWP0b62sk2dcqnQEEvLmZVvWSVLJ722yH/zIIPL93W4=";
26 "redox_liner-0.5.1" = "sha256-OT9E4AwQgm5NngcCtcno1VKhkS4d8Eq/l+8aYHvXtTY=";
27 "small-0.1.0" = "sha256-QIzEfFc0EDEllf+YxVyV7j/PvC7nVWiK0YYBoZBQZ3Q=";
28 "termion-1.5.6" = "sha256-NTY/2SbqkSyslnN5Xg6lrQ0MTrOhTMHqN+XXqN6Nkr8=";
33 # remove git revision from the build script to fix build
37 buildInputs = lib.optionals stdenv.isDarwin [
38 darwin.apple_sdk.frameworks.Security
41 checkFlags = lib.optionals stdenv.isDarwin [
43 "--skip=binary::completer::tests::filename_completion"
47 shellPath = "/bin/ion";
51 description = "Modern system shell with simple (and powerful) syntax";
53 homepage = "https://gitlab.redox-os.org/redox-os/ion";
54 license = licenses.mit;
55 maintainers = with maintainers; [ dywedir ];