about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2016-01-18 02:46:23 +0100
committerTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2016-01-18 02:47:10 +0100
commitebad3ffeb4fd1d34c80bab5f7632b61147a7c439 (patch)
tree29c81e4343bd748ca88a80b021a6ec9dc97533fc /pkgs
parent5db2412159d743f709215ec1fcb364a97a2dc9a9 (diff)
downloadnixlib-ebad3ffeb4fd1d34c80bab5f7632b61147a7c439.tar
nixlib-ebad3ffeb4fd1d34c80bab5f7632b61147a7c439.tar.gz
nixlib-ebad3ffeb4fd1d34c80bab5f7632b61147a7c439.tar.bz2
nixlib-ebad3ffeb4fd1d34c80bab5f7632b61147a7c439.tar.lz
nixlib-ebad3ffeb4fd1d34c80bab5f7632b61147a7c439.tar.xz
nixlib-ebad3ffeb4fd1d34c80bab5f7632b61147a7c439.tar.zst
nixlib-ebad3ffeb4fd1d34c80bab5f7632b61147a7c439.zip
tldr: 1.0 -> 1.1.0; maintain
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/misc/tldr/default.nix36
1 files changed, 17 insertions, 19 deletions
diff --git a/pkgs/tools/misc/tldr/default.nix b/pkgs/tools/misc/tldr/default.nix
index 49c2736095e4..f6ba3d171006 100644
--- a/pkgs/tools/misc/tldr/default.nix
+++ b/pkgs/tools/misc/tldr/default.nix
@@ -1,30 +1,15 @@
-{stdenv, clang, fetchurl, curl}:
+{ stdenv, fetchurl, clang, curl, libzip }:
 
-with stdenv.lib;
-
-let version = "1.0"; in
+let version = "1.1.0"; in
 stdenv.mkDerivation {
   name = "tldr-${version}";
 
   src = fetchurl {
     url = "https://github.com/tldr-pages/tldr-cpp-client/archive/v${version}.tar.gz";
-    sha256 = "11k2pc4vfhx9q3cfd1145sdwhis9g0zhw4qnrv7s7mqnslzrrkgw";
-  };
-
-  meta = {
-    inherit version;
-    description = "Simplified and community-driven man pages";
-    longDescription = ''
-      tldr pages gives common use cases for commands, so you don't need to hunt through a man page for the correct flags.
-    '';
-    homepage = http://tldr-pages.github.io;
-    license = licenses.mit;
-    maintainers = [maintainers.taeer];
-    platforms = platforms.linux;
-
+    sha256 = "0f2ijx17hv64w6zrv0vhj1j1jikzsj42657510vxcqqr8zanzlpf";
   };
 
-  buildInputs = [curl clang];
+  buildInputs = [ curl clang libzip ];
 
   preBuild = ''
     cd src
@@ -34,4 +19,17 @@ stdenv.mkDerivation {
     install -d $prefix/bin
     install tldr $prefix/bin
   '';
+
+  meta = with stdenv.lib; {
+    inherit version;
+    description = "Simplified and community-driven man pages";
+    longDescription = ''
+      tldr pages gives common use cases for commands, so you don't need to hunt
+      through a man page for the correct flags.
+    '';
+    homepage = http://tldr-pages.github.io;
+    license = licenses.mit;
+    maintainers = with maintainers; [ taeer nckx ];
+    platforms = platforms.linux;
+  };
 }