3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/tldr/default.nix
Tobias Geerinckx-Rice 0f84673f3d
Remove nckx as a maintainer for all packages
Goodbye, and thanks for all the Nix...
2018-01-16 23:00:49 +01:00

31 lines
847 B
Nix

{ stdenv, fetchFromGitHub, clang, curl, libzip, pkgconfig }:
stdenv.mkDerivation rec {
name = "tldr-${version}";
version = "1.3.0";
src = fetchFromGitHub {
owner = "tldr-pages";
repo = "tldr-cpp-client";
rev = "v${version}";
sha256 = "10ylpiqc06p0qpma72vwksd7hd107s0vlx9c6s9rz4vc3i274lb6";
};
buildInputs = [ curl clang libzip ];
nativeBuildInputs = [ pkgconfig ];
installFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
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 ];
platforms = platforms.linux;
};
}