2020-08-26 13:10:09 +00:00
|
|
|
{ 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";
|
2020-08-26 13:10:09 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jansc";
|
|
|
|
repo = "ncgopher";
|
|
|
|
rev = "v${version}";
|
2021-11-28 21:34:51 +00:00
|
|
|
sha256 = "sha256-1tiijW3q/8zS9437G9gJDzBtxqVE3QUxgw74P7rcv98=";
|
2020-08-26 13:10:09 +00:00
|
|
|
};
|
|
|
|
|
2021-11-28 21:34:51 +00:00
|
|
|
cargoSha256 = "sha256-LA8LjY8oZslGFQhKR8fJ2heYxSBqUnmeejXKRvZXjIs=";
|
2020-08-27 10:16:58 +00:00
|
|
|
|
2020-08-26 13:10:09 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [
|
2020-08-27 10:16:58 +00:00
|
|
|
ncurses6
|
2020-08-26 13:10:09 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|