mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-15 07:04:47 +00:00
clean wt rm etc
This commit is contained in:
parent
4b436bdbfa
commit
23f876dc7c
12 changed files with 16 additions and 202 deletions
|
|
@ -6,56 +6,8 @@
|
|||
let
|
||||
gwsPackage = inputs.googleworkspace-cli.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
||||
claudePackage = inputs.claudeCode.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
||||
agentcomputerPackage = inputs.agentcomputer-cli.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
||||
openspecPackage = inputs.openspec.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
||||
|
||||
graphite = pkgs.stdenvNoCC.mkDerivation rec {
|
||||
pname = "graphite";
|
||||
version = "1.7.20";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/withgraphite/homebrew-tap/releases/download/v${version}/gt-macos-arm64";
|
||||
hash = "sha256-ho9VQw1ic3jhG3yxNwUL0W1WvNFku9zw6DQnGehs7+8=";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 "$src" "$out/bin/gt"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Manage stacked Git changes and submit them for review";
|
||||
homepage = "https://graphite.dev/";
|
||||
license = lib.licenses.agpl3Only;
|
||||
mainProgram = "gt";
|
||||
platforms = lib.platforms.darwin;
|
||||
};
|
||||
};
|
||||
|
||||
worktrunk = pkgs.rustPlatform.buildRustPackage rec {
|
||||
pname = "worktrunk";
|
||||
version = "0.23.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/max-sixty/worktrunk/archive/refs/tags/v${version}.tar.gz";
|
||||
hash = "sha256-cdQDUz7to3JkriWE9i5iJ2RftJFZivw7CTwGxDZPAqw=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-DHjwNqMiVkWqL3CuOCITvyqkdKe+GOZ2nlMSstDIcTg=";
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "CLI for Git worktree management";
|
||||
homepage = "https://worktrunk.dev";
|
||||
license = with lib.licenses; [
|
||||
asl20
|
||||
mit
|
||||
];
|
||||
mainProgram = "wt";
|
||||
platforms = lib.platforms.darwin;
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
core = with pkgs; [
|
||||
|
|
@ -107,15 +59,10 @@ in
|
|||
yt-dlp
|
||||
])
|
||||
++ lib.optionals pkgs.stdenv.isDarwin [
|
||||
agentcomputerPackage
|
||||
pkgs.texliveFull
|
||||
]
|
||||
++ [
|
||||
openspecPackage
|
||||
]
|
||||
++ lib.optionals pkgs.stdenv.isDarwin [
|
||||
graphite
|
||||
worktrunk
|
||||
];
|
||||
|
||||
fonts = with pkgs; [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue