feat(pkgs): jj-starship

This commit is contained in:
2025-12-20 12:57:47 +08:00
parent 91c539ad99
commit 7a8e7ca9d7
3 changed files with 24 additions and 1 deletions

View File

@@ -46,10 +46,13 @@
final: prev:
let
paths = [
# keep-sorted start
./fcitx5-lightly
./jj-starship.nix
./mono-gtk-theme.nix
./ttf-wps-fonts.nix
./wps-office-fonts.nix
# keep-sorted end
];
in
builtins.listToAttrs (

18
pkgs/jj-starship.nix Normal file
View File

@@ -0,0 +1,18 @@
{ fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "jj-starship";
version = "0.2.1";
src = fetchFromGitHub {
owner = "dmmulroy";
repo = finalAttrs.pname;
tag = "v${finalAttrs.version}";
hash = "sha256-wmQn1qw+jfxH9xBS7bdgWiK369bCeGV9klZzlFHrGOw=";
};
cargoHash = "sha256-dGutKgOG0gPDYcTODrBUmmJBl2k437E5/lz+9cFzgs4=";
meta = {
mainProgram = "jj-starship";
};
})