13 src = fetchFromGitHub {
17 sha256 = "sha256-DFrA4bx+wSOxmt1CVA1oNiYVmcWeW6wpfR5F1tnhyDY=";
20 vendorHash = "sha256-mQdKw3DeBEkCOtV2/B5lUIHv5EBp+8QSxpA13nFxESw=";
25 ldflags = [ "-s" "-w" "-X main.version=${version}" ];
27 subPackages = [ "." ];
29 nativeBuildInputs = [ makeWrapper ];
32 mv "$out/bin/wtf" "$out/bin/wtfutil"
33 wrapProgram "$out/bin/wtfutil" --prefix PATH : "${ncurses.dev}/bin"
37 description = "The personal information dashboard for your terminal";
38 homepage = "https://wtfutil.com/";
39 changelog = "https://github.com/wtfutil/wtf/raw/v${version}/CHANGELOG.md";
40 license = licenses.mpl20;
41 maintainers = with maintainers; [ kalbasit ];
42 mainProgram = "wtfutil";
43 platforms = platforms.linux ++ platforms.darwin;