2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
|
2017-07-09 00:23:53 +00:00
|
|
|
|
2020-03-27 23:17:03 +00:00
|
|
|
rustPlatform.buildRustPackage rec {
|
2019-08-31 11:41:23 +00:00
|
|
|
pname = "ion";
|
2020-03-27 23:17:03 +00:00
|
|
|
version = "unstable-2020-03-22";
|
2017-07-09 00:23:53 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "redox-os";
|
|
|
|
repo = "ion";
|
2020-03-27 23:17:03 +00:00
|
|
|
rev = "1fbd29a6d539faa6eb0f3186a361e208d0a0bc05";
|
|
|
|
sha256 = "0r5c87cs8jlc9kpb6bi2aypldw1lngf6gzjirf13gi7iy4q08ik7";
|
2017-07-09 00:23:53 +00:00
|
|
|
};
|
|
|
|
|
2020-03-27 23:17:03 +00:00
|
|
|
cargoSha256 = "1ph3r3vspy700mb8pica8478v9arqz07k2nzpbrdkdkqgfcwlgcg";
|
2017-07-09 00:23:53 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-07-09 00:23:53 +00:00
|
|
|
description = "Modern system shell with simple (and powerful) syntax";
|
2020-03-27 23:17:03 +00:00
|
|
|
homepage = "https://gitlab.redox-os.org/redox-os/ion";
|
2017-07-09 00:23:53 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dywedir ];
|
|
|
|
};
|
2019-12-31 05:40:07 +00:00
|
|
|
|
2020-11-29 20:35:14 +00:00
|
|
|
buildInputs = stdenv.lib.optional stdenv.hostPlatform.isDarwin [
|
|
|
|
Security
|
|
|
|
];
|
|
|
|
|
2019-12-31 05:40:07 +00:00
|
|
|
passthru = {
|
2020-03-07 20:17:27 +00:00
|
|
|
shellPath = "/bin/ion";
|
2019-12-31 05:40:07 +00:00
|
|
|
};
|
2017-07-09 00:23:53 +00:00
|
|
|
}
|