2020-08-26 15:10:09 +02:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
, pkg-config
|
|
|
|
, ncurses6
|
|
|
|
, openssl
|
|
|
|
, sqlite
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "ncgopher";
|
2022-07-29 04:04:41 +02:00
|
|
|
version = "0.4.0";
|
2020-08-26 15:10:09 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jansc";
|
|
|
|
repo = "ncgopher";
|
|
|
|
rev = "v${version}";
|
2022-07-29 04:04:41 +02:00
|
|
|
sha256 = "sha256-GLt+ByZzQ9v+PPyebTa8LFqySixXw85RjGZ2e3yLRss=";
|
2020-08-26 15:10:09 +02:00
|
|
|
};
|
|
|
|
|
2022-07-29 04:04:41 +02:00
|
|
|
cargoSha256 = "sha256-VI+BTxgocv434wTr7nBeJRdt12wE53fEeqczE3o3768=";
|
2020-08-27 12:16:58 +02:00
|
|
|
|
2020-08-26 15:10:09 +02:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [
|
2020-08-27 12:16:58 +02:00
|
|
|
ncurses6
|
2020-08-26 15:10:09 +02: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;
|
|
|
|
};
|
|
|
|
}
|