nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 41 lines 910 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitLab, 5}: 6 7rustPlatform.buildRustPackage { 8 pname = "ion"; 9 version = "unstable-2024-09-20"; 10 11 src = fetchFromGitLab { 12 domain = "gitlab.redox-os.org"; 13 owner = "redox-os"; 14 repo = "ion"; 15 rev = "8acd140eeec76cd5efbd36f9ea8425763200a76b"; 16 hash = "sha256-jiJ5XW7S6/pVEOPYJKurolLI3UrOyuaEP/cqm1a0rIU="; 17 }; 18 19 cargoHash = "sha256-Gqa2aA8jr6SZexa6EejYHv/aEYcm51qvEJSUm4m1AVc="; 20 21 patches = [ 22 # remove git revision from the build script to fix build 23 ./build-script.patch 24 ]; 25 26 passthru = { 27 shellPath = "/bin/ion"; 28 }; 29 30 meta = { 31 description = "Modern system shell with simple (and powerful) syntax"; 32 homepage = "https://gitlab.redox-os.org/redox-os/ion"; 33 license = lib.licenses.mit; 34 maintainers = with lib.maintainers; [ 35 dywedir 36 arthsmn 37 ]; 38 mainProgram = "ion"; 39 platforms = lib.platforms.unix; 40 }; 41}