2014-03-24 12:37:36 +00:00
|
|
|
{ stdenv, php, autoreconfHook }:
|
|
|
|
|
2014-07-03 14:19:57 +00:00
|
|
|
args@{ name, ... }: stdenv.mkDerivation (args // {
|
|
|
|
name = "php-${name}";
|
|
|
|
|
2014-03-24 12:37:36 +00:00
|
|
|
buildInputs = [ php autoreconfHook ] ++ args.buildInputs or [];
|
|
|
|
|
|
|
|
makeFlags = [ "EXTENSION_DIR=$(out)/lib/php/extensions" ] ++ args.makeFlags or [];
|
|
|
|
|
|
|
|
autoreconfPhase = "phpize";
|
|
|
|
})
|