lazyjj: nixpkgs caught up and ran by

This commit is contained in:
Daniel Lundin 2024-12-08 23:03:11 +01:00
parent 2d5364c5de
commit 264546666c
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI
3 changed files with 13 additions and 44 deletions

View file

@ -103,11 +103,11 @@
"zig": "zig" "zig": "zig"
}, },
"locked": { "locked": {
"lastModified": 1733686035, "lastModified": 1733704542,
"narHash": "sha256-uhbYV9gdMAPgBFm5CiH3defxuzrVXD1HsxkZPUqMxoQ=", "narHash": "sha256-tGY+WuCTF/hoZpISys+jLaPXvQV4QyGmSTyecFV1R3I=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "40ad31deea3d236ad762f2c21f2834af3b767bdb", "rev": "ae2cf8dc371c960aa0772065c7f2a741c8bdc91b",
"revCount": 8184, "revCount": 8188,
"type": "git", "type": "git",
"url": "ssh://git@github.com/ghostty-org/ghostty" "url": "ssh://git@github.com/ghostty-org/ghostty"
}, },
@ -145,11 +145,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1733318908, "lastModified": 1733665616,
"narHash": "sha256-SVQVsbafSM1dJ4fpgyBqLZ+Lft+jcQuMtEL3lQWx2Sk=", "narHash": "sha256-+XTFXYlFJBxohhMGLDpYdEnhUNdxN8dyTA8WAd+lh2A=",
"owner": "cachix", "owner": "cachix",
"repo": "git-hooks.nix", "repo": "git-hooks.nix",
"rev": "6f4e2a2112050951a314d2733a994fbab94864c6", "rev": "d8c02f0ffef0ef39f6063731fc539d8c71eb463a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -232,11 +232,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1733618008, "lastModified": 1733703025,
"narHash": "sha256-8MM4WF1AapF9QWDJhoXGLcEKrLE3S75QA74YEQt0A18=", "narHash": "sha256-lMWofhJTYhnqvd+QzeRb5J58cYGOEI+zzqcHybKxkWU=",
"owner": "nix-community", "owner": "nix-community",
"repo": "neovim-nightly-overlay", "repo": "neovim-nightly-overlay",
"rev": "b75d6c354368841ce4291142b79882362e574f61", "rev": "dae2f13b6d2a39d1e56df54fabe5c6452ddf6b2a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -248,11 +248,11 @@
"neovim-src": { "neovim-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1733614558, "lastModified": 1733660965,
"narHash": "sha256-JcI4DL5fn0KGX5TxoSLIxwTfi6rikRHsG/gI/7SUDIg=", "narHash": "sha256-Nm+9/OZfpb4hayCz/IpAzO2waQimlt+kM1fMOM1viWo=",
"owner": "neovim", "owner": "neovim",
"repo": "neovim", "repo": "neovim",
"rev": "4fcc5cd34a75df9a3088c83dc1a87aa6e37051e1", "rev": "84d9f4f9f9efbfc72630f01f5f837c50fd7020d4",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,5 +1,4 @@
pkgs: { pkgs: {
gnome-ssh-askpass4 = pkgs.callPackage ./gnome-ssh-askpass4 { }; gnome-ssh-askpass4 = pkgs.callPackage ./gnome-ssh-askpass4 { };
jujutsu-openssh = pkgs.callPackage ./jujutsu-openssh { }; jujutsu-openssh = pkgs.callPackage ./jujutsu-openssh { };
lazyjj = pkgs.callPackage ./lazyjj { };
} }

View file

@ -1,30 +0,0 @@
{
stdenvNoCC,
fetchzip,
}:
let
version = "0.3.1";
in
stdenvNoCC.mkDerivation {
name = "lazyjj";
inherit version;
src = fetchzip {
url = "https://github.com/Cretezy/lazyjj/releases/download/v0.3.1/lazyjj-v0.3.1-x86_64-unknown-linux-musl.tar.gz";
hash = "sha256-6R4W6uyq8sns8WLoJxp06xAYaJ0Zn+pZLtwhVIPobmc=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/bin
install -m755 -D $src/lazyjj $out/bin/lazyjj
runHook postInstall
'';
meta = {
homepage = "https://github.com/Cretezy/lazyjj";
description = "TUI for jj";
mainProgram = "lazyjj";
platforms = [ "x86_64-linux" ];
};
}