13 src = fetchFromGitHub {
17 sha256 = "sha256-6dSKambBAi1JHVyhq9xBUx5X6QmjsZCV8lENB55Wzto=";
20 vendorSha256 = "sha256-Qe+u0u/NBXpEDvfKAF50Uxu5rh8BLa7N0wJ4bEuKOps=";
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 = "The 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;
43 broken = stdenv.isDarwin;