lol

Merge pull request #191715 from felixalbrigtsen/init-phetch

authored by

Sandro and committed by
GitHub
175667e8 17bbb993

+67
+7
maintainers/maintainer-list.nix
··· 5005 5005 keys = [{ fingerprint = "7391 BF2D A2C3 B2C9 BE25 ACA9 C7A7 4616 F302 5DF4"; }]; 5006 5006 matrix = "@felipeqq2:pub.solar"; 5007 5007 }; 5008 + felixalbrigtsen = { 5009 + email = "felixalbrigtsen@gmail.com"; 5010 + github = "felixalbrigtsen"; 5011 + githubId = 64613093; 5012 + name = "Felix Albrigtsen"; 5013 + matrix = "@felixalb:pvv.ntnu.no"; 5014 + }; 5008 5015 felixscheinost = { 5009 5016 name = "Felix Scheinost"; 5010 5017 email = "felix.scheinost@posteo.de";
+56
pkgs/applications/networking/gopher/phetch/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , installShellFiles 5 + , rustPlatform 6 + , pkg-config 7 + , openssl 8 + , scdoc 9 + , Security 10 + , which 11 + }: 12 + 13 + rustPlatform.buildRustPackage rec { 14 + pname = "phetch"; 15 + version = "1.2.0"; 16 + 17 + outputs = [ "out" "man" ]; 18 + 19 + src = fetchFromGitHub { 20 + owner = "xvxx"; 21 + repo = pname; 22 + rev = "refs/tags/v${version}"; 23 + hash = "sha256-J+ka7/B37WzVPPE2Krkd/TIiVwuKfI2QYWmT0JHgBGQ="; 24 + }; 25 + 26 + cargoSha256 = "sha256-y3Y5PnZ51Zc3LmVTijUGnb0KaGm28sWOSYxjuM3A1Zk="; 27 + 28 + nativeBuildInputs = [ installShellFiles pkg-config scdoc which ]; 29 + buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; 30 + 31 + postInstall = '' 32 + make manual 33 + installManPage doc/phetch.1 34 + ''; 35 + 36 + doCheck = true; 37 + 38 + meta = with lib; { 39 + description = "A quick lil gopher client for your terminal, written in rust"; 40 + longDescription = '' 41 + phetch is a terminal client designed to help you quickly navigate the gophersphere. 42 + - <1MB executable for Linux, Mac, and NetBSD 43 + - Technicolor design (based on GILD) 44 + - No-nonsense keyboard navigation 45 + - Supports Gopher searches, text and menu pages, and downloads 46 + - Save your favorite Gopher sites with bookmarks 47 + - Opt-in history tracking 48 + - Secure Gopher support (TLS) 49 + - Tor support 50 + ''; 51 + changelog = "https://github.com/xvxx/phetch/releases/tag/v${version}"; 52 + homepage = "https://github.com/xvxx/phetch"; 53 + license = licenses.mit; 54 + maintainers = with maintainers; [ felixalbrigtsen ]; 55 + }; 56 + }
+4
pkgs/top-level/all-packages.nix
··· 23034 23034 23035 23035 pe-parse = callPackage ../development/libraries/pe-parse { }; 23036 23036 23037 + phetch = callPackage ../applications/networking/gopher/phetch { 23038 + inherit (darwin.apple_sdk.frameworks) Security; 23039 + }; 23040 + 23037 23041 inherit (callPackage ../development/libraries/physfs { 23038 23042 inherit (darwin.apple_sdk.frameworks) Foundation; 23039 23043 })