nixpkgs-suyu/pkgs/shells/ion/default.nix

31 lines
794 B
Nix
Raw Normal View History

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