summary refs log tree commit diff
diff options
context:
space:
mode:
authorndowens <ndowens04@gmail.com>2017-03-03 20:06:15 -0600
committerEmery Hemingway <githubjunk@spam.works>2017-03-04 08:59:50 -0600
commit3fdd726b16cf39da25dd97d30631dc129e33fb0f (patch)
tree87fbe667d44e1ec630c2f03fb2ef56558303abe7
parent6011e3ea93e78e45dc2cb6cdf63afeb516670681 (diff)
downloadnixpkgs-3fdd726b16cf39da25dd97d30631dc129e33fb0f.tar
nixpkgs-3fdd726b16cf39da25dd97d30631dc129e33fb0f.tar.gz
nixpkgs-3fdd726b16cf39da25dd97d30631dc129e33fb0f.tar.bz2
nixpkgs-3fdd726b16cf39da25dd97d30631dc129e33fb0f.tar.lz
nixpkgs-3fdd726b16cf39da25dd97d30631dc129e33fb0f.tar.xz
nixpkgs-3fdd726b16cf39da25dd97d30631dc129e33fb0f.tar.zst
nixpkgs-3fdd726b16cf39da25dd97d30631dc129e33fb0f.zip
ncdc: 1.19.1 -> 1.20
-rw-r--r--pkgs/applications/networking/p2p/ncdc/default.nix19
1 files changed, 9 insertions, 10 deletions
diff --git a/pkgs/applications/networking/p2p/ncdc/default.nix b/pkgs/applications/networking/p2p/ncdc/default.nix
index b1181960f41..6d204de9ac4 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 ];
   };
 }