From 3fdd726b16cf39da25dd97d30631dc129e33fb0f Mon Sep 17 00:00:00 2001 From: ndowens Date: Fri, 3 Mar 2017 20:06:15 -0600 Subject: [PATCH] ncdc: 1.19.1 -> 1.20 --- .../networking/p2p/ncdc/default.nix | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/pkgs/applications/networking/p2p/ncdc/default.nix b/pkgs/applications/networking/p2p/ncdc/default.nix index b1181960f41a..6d204de9ac43 100644 --- a/pkgs/applications/networking/p2p/ncdc/default.nix +++ b/pkgs/applications/networking/p2p/ncdc/default.nix @@ -1,23 +1,22 @@ { stdenv, fetchurl, ncurses, zlib, bzip2, sqlite, pkgconfig, glib, gnutls }: -let - version = "1.19.1"; -in -stdenv.mkDerivation { +stdenv.mkDerivation rec { name = "ncdc-${version}"; + version = "1.20"; src = fetchurl { url = "http://dev.yorhel.nl/download/ncdc-${version}.tar.gz"; - sha256 = "0iwx4b3x207sw11qqjfynpwnhryhixjzbgcy9l9zfisa8f0k7cm6"; + sha256 = "0ccn7dqbqpqsbglqyalz32c20rjvf1pw0zr88jyvd2b2vxbqi6ca"; }; - buildInputs = [ ncurses zlib bzip2 sqlite pkgconfig glib gnutls ]; + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ ncurses zlib bzip2 sqlite glib gnutls ]; - meta = { + meta = with stdenv.lib; { description = "Modern and lightweight direct connect client with a friendly ncurses interface"; homepage = http://dev.yorhel.nl/ncdc; - license = stdenv.lib.licenses.mit; - platforms = stdenv.lib.platforms.linux; # arbitrary - maintainers = [ stdenv.lib.maintainers.ehmry ]; + license = licenses.mit; + platforms = platforms.linux; # arbitrary + maintainers = with maintainers; [ ehmry ]; }; }