wp-cli: 0.24.1 -> 1.0.0

This commit is contained in:
Peter Hoeg 2016-12-04 21:45:42 +08:00
parent 7926e754f8
commit 9471411a3c

View File

@ -1,7 +1,7 @@
{ stdenv, lib, writeText, writeScript, fetchurl, php }:
let
version = "0.24.1";
version = "1.0.0";
name = "wp-cli-${version}";
phpIni = writeText "wp-cli-php.ini" ''
@ -18,12 +18,12 @@ let
src = fetchurl {
url = "https://github.com/wp-cli/wp-cli/releases/download/v${version}/${name}.phar";
sha256 = "027nclp8qbfr624ja6aixzcwnvb55d7dskk9l1i042bc86hmphfd";
sha256 = "06a80fz9na9arjdpmnislwr0121kkg11kxfqmac0axa9vkv9fjcp";
};
in stdenv.mkDerivation rec {
inherit name;
inherit name src;
buildCommand = ''
mkdir -p $out/bin