lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 22.05-pre 43 lines 963 B view raw
1{ buildGoModule 2, fetchFromGitHub 3, lib 4, makeWrapper 5, ncurses 6, stdenv 7}: 8 9buildGoModule rec { 10 pname = "wtf"; 11 version = "0.39.2"; 12 13 src = fetchFromGitHub { 14 owner = "wtfutil"; 15 repo = pname; 16 rev = "v${version}"; 17 sha256 = "sha256-nP56HzjtIg9EIOBda9TQl8soUqlGfRmixidWrmQ7+vs="; 18 }; 19 20 vendorSha256 = "sha256-yD4BUauYvyGk/D0Gr5Z15xWPtI/ZR9xTbmeS6RAxw1o="; 21 22 doCheck = false; 23 24 ldflags = [ "-s" "-w" "-X main.version=${version}" ]; 25 26 subPackages = [ "." ]; 27 28 nativeBuildInputs = [ makeWrapper ]; 29 30 postInstall = '' 31 mv "$out/bin/wtf" "$out/bin/wtfutil" 32 wrapProgram "$out/bin/wtfutil" --prefix PATH : "${ncurses.dev}/bin" 33 ''; 34 35 meta = with lib; { 36 description = "The personal information dashboard for your terminal"; 37 homepage = "https://wtfutil.com/"; 38 license = licenses.mpl20; 39 maintainers = with maintainers; [ kalbasit ]; 40 platforms = platforms.linux ++ platforms.darwin; 41 broken = stdenv.isDarwin; 42 }; 43}