at 24.11-pre 25 lines 733 B view raw
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "stuffbin"; 5 version = "1.3.0"; 6 7 vendorHash = null; 8 9 src = fetchFromGitHub { 10 owner = "knadh"; 11 repo = "stuffbin"; 12 rev = "v${version}"; 13 sha256 = "sha256-dOlc/G2IiuMAN0LqiZtbpXLSYaOpe5cl1+cs3YhaAbg="; 14 }; 15 16 ldflags = [ "-s" "-w" "-X main.version=${version}" ]; 17 18 meta = with lib; { 19 description = "Compress and embed static files and assets into Go binaries and access them with a virtual file system in production"; 20 homepage = "https://github.com/knadh/stuffbin"; 21 changelog = "https://github.com/knadh/stuffbin/releases/tag/v${version}"; 22 maintainers = with maintainers; [ raitobezarius ]; 23 license = licenses.mit; 24 }; 25}