snicat: 0.0.1 -> 0.0.1-unstable-2024-09-05

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>

+12 -16
+12 -16
pkgs/by-name/sn/snicat/package.nix
··· 1 - { lib 2 - , buildGoModule 3 - , fetchFromGitHub 4 - , fetchpatch 5 }: 6 buildGoModule rec { 7 pname = "snicat"; 8 - version = "0.0.1"; 9 10 src = fetchFromGitHub { 11 owner = "CTFd"; 12 repo = "snicat"; 13 - rev = version; 14 - hash = "sha256-fFlTBOz127le2Y7F9KKhbcldcyFEpAU5QiJ4VCAPs9Y="; 15 }; 16 17 - patches = [ 18 - # Migrate to Go modules 19 - (fetchpatch { 20 - url = "https://github.com/CTFd/snicat/commit/098a5ce3141bae5d2e188338d78517d710d10f70.patch"; 21 - hash = "sha256-pIdXViUz14nkvL1H3u3oFkm308XA2POtKIGZOKDO6p8="; 22 - }) 23 - ]; 24 - 25 vendorHash = "sha256-27ykI9HK1jFanxwa6QrN6ZS548JbFNSZHaXr4ciCVOE="; 26 proxyVendor = true; 27 28 - ldflags = [ "-s" "-X main.version=v${version}" ]; 29 30 postInstall = '' 31 mv $out/bin/snicat $out/bin/sc
··· 1 + { 2 + lib, 3 + buildGoModule, 4 + fetchFromGitHub, 5 }: 6 + 7 buildGoModule rec { 8 pname = "snicat"; 9 + version = "0.0.1-unstable-2024-09-05"; 10 11 src = fetchFromGitHub { 12 owner = "CTFd"; 13 repo = "snicat"; 14 + rev = "8c8f06e59d5aedb9a97115a4e0eafa75b17a6cdf"; 15 + hash = "sha256-71wVth+VzEnGW8ErWmj6XjhNtVpx/q8lViIA71njwqU="; 16 }; 17 18 vendorHash = "sha256-27ykI9HK1jFanxwa6QrN6ZS548JbFNSZHaXr4ciCVOE="; 19 proxyVendor = true; 20 21 + ldflags = [ 22 + "-s" 23 + "-X main.version=v${version}" 24 + ]; 25 26 postInstall = '' 27 mv $out/bin/snicat $out/bin/sc