13 rustPlatform.buildRustPackage rec {
17 outputs = [ "out" "man" ];
19 src = fetchFromGitHub {
22 rev = "refs/tags/v${version}";
23 hash = "sha256-J+ka7/B37WzVPPE2Krkd/TIiVwuKfI2QYWmT0JHgBGQ=";
26 cargoSha256 = "sha256-y3Y5PnZ51Zc3LmVTijUGnb0KaGm28sWOSYxjuM3A1Zk=";
28 nativeBuildInputs = [ installShellFiles pkg-config scdoc which ];
29 buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
33 installManPage doc/phetch.1
39 description = "A quick lil gopher client for your terminal, written in rust";
40 mainProgram = "phetch";
42 phetch is a terminal client designed to help you quickly navigate the gophersphere.
43 - <1MB executable for Linux, Mac, and NetBSD
44 - Technicolor design (based on GILD)
45 - No-nonsense keyboard navigation
46 - Supports Gopher searches, text and menu pages, and downloads
47 - Save your favorite Gopher sites with bookmarks
48 - Opt-in history tracking
49 - Secure Gopher support (TLS)
52 changelog = "https://github.com/xvxx/phetch/releases/tag/v${version}";
53 homepage = "https://github.com/xvxx/phetch";
54 license = licenses.mit;
55 maintainers = with maintainers; [ felixalbrigtsen ];