git.iko.soy/typeable/nixpkgs
on master help sign in
tldr: 1.0 -> 1.1.0; maintain
commitebad3ffeb4fd1d34c80bab5f7632b61147a7c439 authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> dateMon 18 Jan 2016, 02:46 (11 years ago) parent5db2412
1 file changed+17−19
pkgs/tools/misc/tldr/default.nix+17−19
pkgs/tools/misc/tldr/default.nix+17−19
@@ -1,30 +1,15 @@
1−{stdenv, clang, fetchurl, curl}:
1+{ stdenv, fetchurl, clang, curl, libzip }:
22
3−with stdenv.lib;
4−
5−let version = "1.0"; in
3+let version = "1.1.0"; in
64stdenv.mkDerivation {
75 name = "tldr-${version}";
86
97 src = fetchurl {
108 url = "https://github.com/tldr-pages/tldr-cpp-client/archive/v${version}.tar.gz";
11− sha256 = "11k2pc4vfhx9q3cfd1145sdwhis9g0zhw4qnrv7s7mqnslzrrkgw";
12− };
13−
14− meta = {
15− inherit version;
16− description = "Simplified and community-driven man pages";
17− longDescription = ''
18− tldr pages gives common use cases for commands, so you don't need to hunt through a man page for the correct flags.
19− '';
20− homepage = http://tldr-pages.github.io;
21− license = licenses.mit;
22− maintainers = [maintainers.taeer];
23− platforms = platforms.linux;
24−
9+ sha256 = "0f2ijx17hv64w6zrv0vhj1j1jikzsj42657510vxcqqr8zanzlpf";
2510 };
2611
27− buildInputs = [curl clang];
12+ buildInputs = [ curl clang libzip ];
2813
2914 preBuild = ''
3015 cd src
@@ -34,4 +19,17 @@ stdenv.mkDerivation {
3419 install -d $prefix/bin
3520 install tldr $prefix/bin
3621 '';
22+
23+ meta = with stdenv.lib; {
24+ inherit version;
25+ description = "Simplified and community-driven man pages";
26+ longDescription = ''
27+ tldr pages gives common use cases for commands, so you don't need to hunt
28+ through a man page for the correct flags.
29+ '';
30+ homepage = http://tldr-pages.github.io;
31+ license = licenses.mit;
32+ maintainers = with maintainers; [ taeer nckx ];
33+ platforms = platforms.linux;
34+ };
3735}