me like nix
1{
2 pkgs,
3}:
4
5pkgs.stdenv.mkDerivation {
6 pname = "zjctl";
7 version = "0.1.3";
8
9 src = pkgs.fetchurl {
10 url = "https://github.com/mrshu/zjctl/releases/download/v0.1.3/zjctl-x86_64-linux.tar.gz";
11 hash = "sha256-jtCvbfGg6hlzS9omUtiquATgLJbIsdz2yVVydzU+XV4=";
12 };
13
14 sourceRoot = ".";
15
16 installPhase = ''
17 install -Dm755 zjctl $out/bin/zjctl
18 '';
19
20 meta = {
21 description = "Programmatic Zellij automation CLI";
22 homepage = "https://github.com/mrshu/zjctl";
23 license = pkgs.lib.licenses.mit;
24 platforms = [ "x86_64-linux" ];
25 };
26}