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
54 lines
980 B
Nix
54 lines
980 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
ncurses,
|
|
zlib,
|
|
bzip2,
|
|
sqlite,
|
|
pkg-config,
|
|
glib,
|
|
gnutls,
|
|
perl,
|
|
libmaxminddb,
|
|
versionCheckHook,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "ncdc";
|
|
version = "1.25";
|
|
|
|
src = fetchurl {
|
|
url = "https://dev.yorhel.nl/download/ncdc-${finalAttrs.version}.tar.gz";
|
|
# Hashes listed at https://dev.yorhel.nl/download
|
|
sha256 = "b9be58e7dbe677f2ac1c472f6e76fad618a65e2f8bf1c7b9d3d97bc169feb740";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
perl
|
|
pkg-config
|
|
versionCheckHook
|
|
];
|
|
buildInputs = [
|
|
ncurses
|
|
zlib
|
|
bzip2
|
|
sqlite
|
|
glib
|
|
gnutls
|
|
libmaxminddb
|
|
];
|
|
|
|
configureFlags = [ "--with-geoip" ];
|
|
|
|
doInstallCheck = true;
|
|
|
|
meta = {
|
|
changelog = "https://dev.yorhel.nl/ncdc/changes";
|
|
description = "Modern and lightweight direct connect client with a friendly ncurses interface";
|
|
homepage = "https://dev.yorhel.nl/ncdc";
|
|
license = lib.licenses.mit;
|
|
mainProgram = "ncdc";
|
|
};
|
|
})
|