This commit is contained in:
Geoffrey Frogeye 2024-11-28 17:07:55 +01:00
parent b16db77f04
commit 2951e81a77
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
3 changed files with 25 additions and 5 deletions

View file

@ -5,6 +5,7 @@ in
{
config = lib.mkIf cfg.enable {
home.packages = [
(pkgs.callPackage ./jjui.nix {})
(pkgs.writeShellApplication {
name = "git-sync";
text = (lib.strings.concatLines

21
hm/git/jjui.nix Normal file
View file

@ -0,0 +1,21 @@
{ buildGoModule, fetchFromGitHub }:
buildGoModule {
pname = "jjui";
version = "2024-11-28";
src = fetchFromGitHub {
owner = "GeoffreyFrogeye";
repo = "jjui";
rev = "push-sszqvsmvqxmy"; # base16 colors
sha256 = "sha256-jNi5Ek3Qy/MojlQXBNlqREy7UxnyMaJuUtKPysWBoNU=";
};
vendorHash = "sha256-kg5b3tzwyAhn00GwdUDf4OdYZvCJZHgkgpzHFWy5SxI=";
postInstall = ''
mv $out/bin/cmd $out/bin/jjui
'';
doCheck = false; # Some tests are not working
}