mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
wp-cli: 0.24.1 -> 1.0.0
This commit is contained in:
parent
7926e754f8
commit
9471411a3c
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, lib, writeText, writeScript, fetchurl, php }:
|
{ stdenv, lib, writeText, writeScript, fetchurl, php }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "0.24.1";
|
version = "1.0.0";
|
||||||
name = "wp-cli-${version}";
|
name = "wp-cli-${version}";
|
||||||
|
|
||||||
phpIni = writeText "wp-cli-php.ini" ''
|
phpIni = writeText "wp-cli-php.ini" ''
|
||||||
@ -18,12 +18,12 @@ let
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/wp-cli/wp-cli/releases/download/v${version}/${name}.phar";
|
url = "https://github.com/wp-cli/wp-cli/releases/download/v${version}/${name}.phar";
|
||||||
sha256 = "027nclp8qbfr624ja6aixzcwnvb55d7dskk9l1i042bc86hmphfd";
|
sha256 = "06a80fz9na9arjdpmnislwr0121kkg11kxfqmac0axa9vkv9fjcp";
|
||||||
};
|
};
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
|
|
||||||
inherit name;
|
inherit name src;
|
||||||
|
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
Loading…
Reference in New Issue
Block a user