git.iko.soy/typeable/nixpkgs
on master help sign in
t # Ceci est la combinaison de 2 commits.

ncgopher: Init at 0.1.5

commitfd92dc2f257991e0534ae2d888f0a24e04ad5ea4 authorSCOTT-HAMILTON <sgn.hamilton+github@protonmail.com> dateWed 26 Aug 2020, 15:10 (6 years ago) parent60835d8
2 files changed+40
pkgs/applications/networking/ncgopher/default.nix+38 pkgs/top-level/all-packages.nix+2
pkgs/applications/networking/ncgopher/default.nixnew file+38
@@ -0,0 +1,38 @@
1+{ lib
2+, fetchFromGitHub
3+, rustPlatform
4+, pkg-config
5+, ncurses6
6+, openssl
7+, sqlite
8+}:
9+
10+rustPlatform.buildRustPackage rec {
11+ pname = "ncgopher";
12+ version = "0.1.5";
13+
14+ src = fetchFromGitHub {
15+ owner = "jansc";
16+ repo = "ncgopher";
17+ rev = "v${version}";
18+ sha256 = "1mv89sanmr49b9za95jl5slpq960b246j2054r8xfafzqmbp44af";
19+ };
20+
21+ cargoSha256 = "12r4vgrg2bkr3p61yxcsg02kppg84vn956l0v1vb08i94rxzc8zk";
22+ verifyCargoDeps = true;
23+
24+ nativeBuildInputs = [ pkg-config ];
25+ buildInputs = [
26+ (lib.getDev ncurses6)
27+ openssl
28+ sqlite
29+ ];
30+
31+ meta = with lib; {
32+ description = "A gopher and gemini client for the modern internet";
33+ homepage = "https://github.com/jansc/ncgopher";
34+ license = licenses.bsd2;
35+ maintainers = with maintainers; [ shamilton ];
36+ platforms = platforms.linux;
37+ };
38+}
pkgs/top-level/all-packages.nix+2
@@ -5616,6 +5616,8 @@ in
56165616
56175617 ncftp = callPackage ../tools/networking/ncftp { };
56185618
5619+ ncgopher = callPackage ../applications/networking/ncgopher { };
5620+
56195621 ncompress = callPackage ../tools/compression/ncompress { };
56205622
56215623 ndisc6 = callPackage ../tools/networking/ndisc6 { };