Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
850 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
ncurses6,
openssl,
sqlite,
perl,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "ncgopher";
version = "0.7.0";
src = fetchFromGitHub {
owner = "jansc";
repo = "ncgopher";
tag = "v${finalAttrs.version}";
hash = "sha256-9bwQgFZkwOV28qflWL7ZyUE3SLvPhf77sjomurqMK6E=";
};
cargoHash = "sha256-wfodxA1fvdsvWvmnzYmL4GzgdIiQbXuhGq/U9spM+0s=";
nativeBuildInputs = [
pkg-config
perl
];
buildInputs = [
ncurses6
openssl
sqlite
];
meta = {
description = "Gopher and gemini client for the modern internet";
homepage = "https://github.com/jansc/ncgopher";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ shamilton ];
platforms = lib.platforms.linux;
mainProgram = "ncgopher";
};
})