summary refs log tree commit diff
path: root/pkgs/applications/networking/p2p/ncdc/default.nix
blob: dd7f4a7bb60fed7f50752fd4ed583d10661aeaef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, stdenv, fetchurl, ncurses, zlib, bzip2, sqlite, pkg-config, glib, gnutls }:

stdenv.mkDerivation rec {
  pname = "ncdc";
  version = "1.22.1";

  src = fetchurl {
    url = "https://dev.yorhel.nl/download/ncdc-${version}.tar.gz";
    sha256 = "1bdgqd07f026qk6vpbxqsin536znd33931m3b4z44prlm9wd6pyi";
  };

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ ncurses zlib bzip2 sqlite glib gnutls ];

  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 ];
  };
}