Skip to content

Commit

Permalink
rusty-bash: init at 0.8.5 (#350897)
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol authored Oct 25, 2024
2 parents b50e35f + d6beb22 commit e4a128a
Show file tree
Hide file tree
Showing 2 changed files with 256 additions and 0 deletions.
223 changes: 223 additions & 0 deletions pkgs/by-name/ru/rusty-bash/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 33 additions & 0 deletions pkgs/by-name/ru/rusty-bash/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
lib,
rustPlatform,
fetchFromGitHub,
}:

rustPlatform.buildRustPackage rec {
pname = "rusty-bash";
version = "0.8.5";

src = fetchFromGitHub {
owner = "shellgei";
repo = "rusty_bash";
rev = "refs/tags/v${version}";
hash = "sha256-hUMkgsWlGSqOnYdFhDGBWbc13oAssklbuJAg8NkY398=";
};

postPatch = ''
cp ${./Cargo.lock} ./Cargo.lock
'';

cargoLock.lockFile = ./Cargo.lock;

passthru.shellPath = "/bin/sush";

meta = {
description = "Bash written with Rust, a.k.a. sushi shell";
homepage = "https://github.com/shellgei/rusty_bash";
license = lib.licenses.bsd3;
mainProgram = "sush";
maintainers = with lib.maintainers; [ aleksana ];
};
}

0 comments on commit e4a128a

Please sign in to comment.