12 src = fetchFromGitHub {
16 sha256 = "sha256-DFrA4bx+wSOxmt1CVA1oNiYVmcWeW6wpfR5F1tnhyDY=";
19 vendorHash = "sha256-mQdKw3DeBEkCOtV2/B5lUIHv5EBp+8QSxpA13nFxESw=";
24 ldflags = [ "-s" "-w" "-X main.version=${version}" ];
26 subPackages = [ "." ];
28 nativeBuildInputs = [ makeWrapper ];
31 mv "$out/bin/wtf" "$out/bin/wtfutil"
32 wrapProgram "$out/bin/wtfutil" --prefix PATH : "${ncurses.dev}/bin"
36 description = "Personal information dashboard for your terminal";
37 homepage = "https://wtfutil.com/";
38 changelog = "https://github.com/wtfutil/wtf/raw/v${version}/CHANGELOG.md";
39 license = licenses.mpl20;
40 maintainers = with maintainers; [ kalbasit ];
41 mainProgram = "wtfutil";
42 platforms = platforms.linux ++ platforms.darwin;