2017-07-09 01:23:53 +01:00
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
with rustPlatform;
|
|
|
|
|
|
|
|
buildRustPackage rec {
|
2019-08-31 12:41:23 +01:00
|
|
|
pname = "ion";
|
2017-10-23 09:12:38 +01:00
|
|
|
version = "1.0.5";
|
2017-07-09 01:23:53 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "redox-os";
|
|
|
|
repo = "ion";
|
|
|
|
rev = version;
|
2017-10-23 09:12:38 +01:00
|
|
|
sha256 = "0i0acl5nw254mw8dbfmb4792rr71is98a5wg32yylfnlrk7zlf8z";
|
2017-07-09 01:23:53 +01:00
|
|
|
};
|
|
|
|
|
2020-03-07 20:17:27 +00:00
|
|
|
cargoSha256 = "0f266kygvw2id771g49s25qsbqb6a0gr1r0czkcj96n5r0wg8wrn";
|
2017-07-09 01:23:53 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Modern system shell with simple (and powerful) syntax";
|
|
|
|
homepage = https://github.com/redox-os/ion;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dywedir ];
|
|
|
|
platforms = platforms.all;
|
2020-03-07 20:17:27 +00:00
|
|
|
# This has not had a release since 2017, and no longer compiles with the
|
|
|
|
# latest Rust compiler.
|
|
|
|
broken = false;
|
2017-07-09 01:23:53 +01:00
|
|
|
};
|
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 01:23:53 +01:00
|
|
|
}
|