3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/ncgopher/default.nix

38 lines
770 B
Nix
Raw Normal View History

{ lib
, fetchFromGitHub
, rustPlatform
, pkg-config
, ncurses6
, openssl
, sqlite
}:
rustPlatform.buildRustPackage rec {
pname = "ncgopher";
2021-11-28 21:34:51 +00:00
version = "0.3.0";
src = fetchFromGitHub {
owner = "jansc";
repo = "ncgopher";
rev = "v${version}";
2021-11-28 21:34:51 +00:00
sha256 = "sha256-1tiijW3q/8zS9437G9gJDzBtxqVE3QUxgw74P7rcv98=";
};
2021-11-28 21:34:51 +00:00
cargoSha256 = "sha256-LA8LjY8oZslGFQhKR8fJ2heYxSBqUnmeejXKRvZXjIs=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [
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;
};
}