lol
at 24.11-pre 40 lines 785 B view raw
1{ lib 2, buildGoModule 3, fetchFromGitHub 4, testers 5, tailer 6}: 7 8buildGoModule rec { 9 pname = "tailer"; 10 version = "0.1.1"; 11 12 src = fetchFromGitHub { 13 owner = "hionay"; 14 repo = "tailer"; 15 rev = "v${version}"; 16 hash = "sha256-gPezz2ksqdCffgdAHwU2NMTar2glp5YGfA5C+tMYPtE="; 17 }; 18 19 vendorHash = "sha256-nQqSvfN+ed/g5VkbD6XhZNA1G3CGGfwFDdadJ5+WoD0="; 20 21 ldflags = [ 22 "-s" 23 "-w" 24 "-X=main.version=${version}" 25 ]; 26 27 passthru.tests = { 28 version = testers.testVersion { 29 package = tailer; 30 }; 31 }; 32 33 meta = with lib; { 34 description = "A CLI tool to insert lines when command output stops"; 35 homepage = "https://github.com/hionay/tailer"; 36 license = licenses.mit; 37 maintainers = with maintainers; [ figsoda ]; 38 mainProgram = "tailer"; 39 }; 40}