mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
38 lines
841 B
Nix
38 lines
841 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, ncurses
|
|
, zlib
|
|
, bzip2
|
|
, sqlite
|
|
, pkg-config
|
|
, glib
|
|
, gnutls
|
|
, perl
|
|
, libmaxminddb
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "ncdc";
|
|
version = "1.24";
|
|
|
|
src = fetchurl {
|
|
url = "https://dev.yorhel.nl/download/ncdc-${finalAttrs.version}.tar.gz";
|
|
hash = "sha256-IzUQ1TVfxy/a01eOvIqzXR2pWyHSd0mQ86E1a3ES2h4=";
|
|
};
|
|
|
|
nativeBuildInputs = [ perl pkg-config ];
|
|
buildInputs = [ ncurses zlib bzip2 sqlite glib gnutls libmaxminddb ];
|
|
|
|
configureFlags = [ "--with-geoip" ];
|
|
|
|
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;
|
|
maintainers = with lib.maintainers; [ ehmry ];
|
|
mainProgram = "ncdc";
|
|
};
|
|
})
|