02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
37 lines
770 B
Nix
37 lines
770 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
, pkg-config
|
|
, ncurses6
|
|
, openssl
|
|
, sqlite
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "ncgopher";
|
|
version = "0.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jansc";
|
|
repo = "ncgopher";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-GLt+ByZzQ9v+PPyebTa8LFqySixXw85RjGZ2e3yLRss=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-VI+BTxgocv434wTr7nBeJRdt12wE53fEeqczE3o3768=";
|
|
|
|
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;
|
|
};
|
|
}
|