Skip to content

Commit

Permalink
iay: init at 0.4.0
Browse files Browse the repository at this point in the history
iay is a tool to configure a shell prompt. It supports bash and zsh.

Signed-off-by: Masanori Ogino <167209+omasanori@users.noreply.github.com>
  • Loading branch information
omasanori committed Dec 9, 2022
1 parent b67c445 commit 40c04f5
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pkgs/tools/misc/iay/default.nix
@@ -0,0 +1,30 @@
{ lib
, rustPlatform
, fetchCrate
, stdenv
, darwin
}:

rustPlatform.buildRustPackage rec {
pname = "iay";
version = "0.4.0";

src = fetchCrate {
inherit pname version;
sha256 = "sha256-xp+9WmzvuYf7vfNGTc/ZQ/fF8UsprS3S1SBHPYX/5fg=";
};

cargoSha256 = "sha256-SMqiwM6LrXXjV4Mb2BY9WbeKKPkxiYxPyZ4aepVIAqU=";

buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];

meta = with lib; {
description = "Minimalistic shell prompt";
homepage = "https://github.com/aaqaishtyaq/iay";
license = licenses.mit;
maintainers = with maintainers; [ omasanori ];
platforms = platforms.unix;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -1397,6 +1397,8 @@ with pkgs;

httm = callPackage ../tools/filesystems/httm { };

iay = callPackage ../tools/misc/iay { };

kanata = callPackage ../tools/system/kanata { };

kanata-with-cmd = kanata.override { withCmd = true; };
Expand Down

0 comments on commit 40c04f5

Please sign in to comment.