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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
850 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, rustPlatform, Security, libiconv }:
2017-07-09 02:23:53 +02:00
rustPlatform.buildRustPackage rec {
2019-08-31 13:41:23 +02:00
pname = "ion";
version = "unstable-2021-05-10";
2017-07-09 02:23:53 +02:00
src = fetchFromGitHub {
owner = "redox-os";
repo = "ion";
rev = "1170b84587bbad260a3ecac8e249a216cb1fd5e9";
sha256 = "sha256-lI1GwA3XerRJaC/Z8vTZc6GzRDLjv3w768C+Ui6Q+3Q=";
2017-07-09 02:23:53 +02:00
};
cargoSha256 = "sha256-hURpgxc99iIMtzIlR6Kbfqcbu1uYLDHnfVLqgmMbvFA=";
2017-07-09 02:23:53 +02:00
meta = with lib; {
2017-07-09 02:23:53 +02:00
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 ];
};
2021-01-15 07:28:56 +01:00
buildInputs = lib.optional stdenv.hostPlatform.isDarwin [
2020-11-29 21:35:14 +01:00
Security
libiconv
2020-11-29 21:35:14 +01:00
];
doCheck = !stdenv.hostPlatform.isDarwin;
passthru = {
shellPath = "/bin/ion";
};
2017-07-09 02:23:53 +02:00
}