tldr: 1.1.0 -> 1.2.0

This commit is contained in:
Tobias Geerinckx-Rice 2016-04-06 19:49:19 +02:00
parent 9435e53648
commit eec040009d
No known key found for this signature in database
GPG Key ID: 91CCDB9B48541B99

View File

@ -2,10 +2,10 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "tldr-${version}"; name = "tldr-${version}";
version = "1.1.0"; version = "1.2.0";
src = fetchFromGitHub { src = fetchFromGitHub {
sha256 = "0hxkrzp5njhy7c19v8i3svcb148f1jni7dlv36gc1nmcrz5izsiz"; sha256 = "1dyvmxdxm92bfs5i6cngk8isa65qp6xlpim4yizs5rnm0rynf9kr";
rev = "v${version}"; rev = "v${version}";
repo = "tldr-cpp-client"; repo = "tldr-cpp-client";
owner = "tldr-pages"; owner = "tldr-pages";
@ -14,13 +14,7 @@ stdenv.mkDerivation rec {
buildInputs = [ curl clang libzip ]; buildInputs = [ curl clang libzip ];
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
preConfigure = '' installFlags = [ "PREFIX=$(out)" ];
cd src
'';
installPhase = ''
install -Dm755 {.,$out/bin}/tldr
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Simplified and community-driven man pages"; description = "Simplified and community-driven man pages";