ncdc: 1.23.1 -> 1.24

This commit is contained in:
Emery Hemingway 2024-01-09 12:52:08 +02:00
parent 792a7ddec9
commit 00985e97dd
3 changed files with 37 additions and 27 deletions

View File

@ -1,25 +0,0 @@
{ lib, stdenv, fetchurl, fetchpatch, ncurses, zlib, bzip2, sqlite, pkg-config
, glib, gnutls, perl, libmaxminddb }:
stdenv.mkDerivation rec {
pname = "ncdc";
version = "1.23.1";
src = fetchurl {
url = "https://dev.yorhel.nl/download/ncdc-${version}.tar.gz";
hash = "sha256-lYgSFAd6Wzwk+7rwIK2g0ITuO1lqfDzB4OaKqsTJteY=";
};
nativeBuildInputs = [ perl pkg-config ];
buildInputs = [ ncurses zlib bzip2 sqlite glib gnutls libmaxminddb ];
configureFlags = [ "--with-geoip" ];
meta = with lib; {
description = "Modern and lightweight direct connect client with a friendly ncurses interface";
homepage = "https://dev.yorhel.nl/ncdc";
license = licenses.mit;
platforms = platforms.linux; # arbitrary
maintainers = with maintainers; [ ehmry ];
};
}

View File

@ -0,0 +1,37 @@
{ 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";
};
})

View File

@ -34265,8 +34265,6 @@ with pkgs;
ncdu_1 = callPackage ../tools/misc/ncdu/1.nix { };
ncdc = callPackage ../applications/networking/p2p/ncdc { };
ncspot = callPackage ../applications/audio/ncspot {
inherit (darwin.apple_sdk.frameworks) Cocoa;