From eec040009d08560e1ccd6bb72c694610b9990d27 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 6 Apr 2016 19:49:19 +0200 Subject: [PATCH] tldr: 1.1.0 -> 1.2.0 --- pkgs/tools/misc/tldr/default.nix | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/pkgs/tools/misc/tldr/default.nix b/pkgs/tools/misc/tldr/default.nix index f223a97520b0..39a7dc25c094 100644 --- a/pkgs/tools/misc/tldr/default.nix +++ b/pkgs/tools/misc/tldr/default.nix @@ -2,10 +2,10 @@ stdenv.mkDerivation rec { name = "tldr-${version}"; - version = "1.1.0"; + version = "1.2.0"; src = fetchFromGitHub { - sha256 = "0hxkrzp5njhy7c19v8i3svcb148f1jni7dlv36gc1nmcrz5izsiz"; + sha256 = "1dyvmxdxm92bfs5i6cngk8isa65qp6xlpim4yizs5rnm0rynf9kr"; rev = "v${version}"; repo = "tldr-cpp-client"; owner = "tldr-pages"; @@ -14,13 +14,7 @@ stdenv.mkDerivation rec { buildInputs = [ curl clang libzip ]; nativeBuildInputs = [ pkgconfig ]; - preConfigure = '' - cd src - ''; - - installPhase = '' - install -Dm755 {.,$out/bin}/tldr - ''; + installFlags = [ "PREFIX=$(out)" ]; meta = with stdenv.lib; { description = "Simplified and community-driven man pages";