t # Ceci est la combinaison de 2 commits.
ncgopher: Init at 0.1.5
This commit is contained in:
parent
456ff6fe77
commit
582d0bcc0e
2 changed files with 40 additions and 0 deletions
38
pkgs/applications/networking/ncgopher/default.nix
Normal file
38
pkgs/applications/networking/ncgopher/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, pkg-config
|
||||
, ncurses6
|
||||
, openssl
|
||||
, sqlite
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "ncgopher";
|
||||
version = "0.1.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jansc";
|
||||
repo = "ncgopher";
|
||||
rev = "v${version}";
|
||||
sha256 = "1mv89sanmr49b9za95jl5slpq960b246j2054r8xfafzqmbp44af";
|
||||
};
|
||||
|
||||
cargoSha256 = "12r4vgrg2bkr3p61yxcsg02kppg84vn956l0v1vb08i94rxzc8zk";
|
||||
verifyCargoDeps = true;
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
(lib.getDev ncurses6)
|
||||
openssl
|
||||
sqlite
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A gopher and gemini client for the modern internet";
|
||||
homepage = "https://github.com/jansc/ncgopher";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ shamilton ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -5616,6 +5616,8 @@ in
|
|||
|
||||
ncftp = callPackage ../tools/networking/ncftp { };
|
||||
|
||||
ncgopher = callPackage ../applications/networking/ncgopher { };
|
||||
|
||||
ncompress = callPackage ../tools/compression/ncompress { };
|
||||
|
||||
ndisc6 = callPackage ../tools/networking/ndisc6 { };
|
||||
|
|
Loading…
Reference in a new issue