diff --git a/pkgs/development/tools/wp-cli/default.nix b/pkgs/development/tools/wp-cli/default.nix index a116e8b73e22..30d509a5e5eb 100644 --- a/pkgs/development/tools/wp-cli/default.nix +++ b/pkgs/development/tools/wp-cli/default.nix @@ -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