Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
45 lines
850 B
Nix
45 lines
850 B
Nix
{
|
|
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";
|
|
};
|
|
})
|