lol
1{ lib
2, fetchFromGitHub
3, rustPlatform
4, pkg-config
5, ncurses6
6, openssl
7, sqlite
8}:
9
10rustPlatform.buildRustPackage rec {
11 pname = "ncgopher";
12 version = "0.5.0";
13
14 src = fetchFromGitHub {
15 owner = "jansc";
16 repo = "ncgopher";
17 rev = "v${version}";
18 sha256 = "sha256-KrvTwcIeINIBkia6PTnKXp4jFd6GEMBh/xbn0Ot/wmE=";
19 };
20
21 cargoSha256 = "sha256-Zft/ip+/uJbUIqCDDEa4hchmZZiYWGdaVnzWC74FgU8=";
22
23 nativeBuildInputs = [ pkg-config ];
24 buildInputs = [
25 ncurses6
26 openssl
27 sqlite
28 ];
29
30 meta = with lib; {
31 description = "A gopher and gemini client for the modern internet";
32 homepage = "https://github.com/jansc/ncgopher";
33 license = licenses.bsd2;
34 maintainers = with maintainers; [ shamilton ];
35 platforms = platforms.linux;
36 };
37}