3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/p2p/ncdc/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
1,005 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, fetchpatch, ncurses, zlib, bzip2, sqlite, pkg-config, glib, gnutls }:
2017-03-04 02:06:15 +00:00
stdenv.mkDerivation rec {
pname = "ncdc";
version = "1.22.1";
src = fetchurl {
url = "https://dev.yorhel.nl/download/ncdc-${version}.tar.gz";
sha256 = "1bdgqd07f026qk6vpbxqsin536znd33931m3b4z44prlm9wd6pyi";
};
patches = [
# Upstream fix for ncurses-6.3 support:
(fetchpatch {
name = "ncurses-6.3.patch";
url = "https://g.blicky.net/ncdc.git/patch/?id=4126dd51e90deb9e22dfd139cc4518a7812fcad6";
sha256 = "13hqkmhmbazj6cllb5b2ccgf51vsn5lri7jqkqc5xwivgcisfrij";
})
];
nativeBuildInputs = [ pkg-config ];
2017-03-04 02:06:15 +00:00
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";
2017-03-04 02:06:15 +00:00
license = licenses.mit;
platforms = platforms.linux; # arbitrary
maintainers = with maintainers; [ ehmry ];
};
}