php-embed: Drop the declaration of the php-embed attributes

This commit is contained in:
Elis Hirwing 2020-03-22 14:31:13 +01:00
parent 1983417a2f
commit be7bf5a18d
No known key found for this signature in database
GPG Key ID: D57EFA625C9A925F
3 changed files with 26 additions and 19 deletions

View File

@ -4,10 +4,15 @@
, pam, withPAM ? stdenv.isLinux
, systemd, withSystemd ? stdenv.isLinux
, python2, python3, ncurses
, ruby, php-embed, libmysqlclient
, ruby, php, libmysqlclient
}:
let pythonPlugin = pkg : lib.nameValuePair "python${if pkg.isPy2 then "2" else "3"}" {
let php-embed = php.override {
config.php.embed = true;
config.php.apxs2 = false;
};
pythonPlugin = pkg : lib.nameValuePair "python${if pkg.isPy2 then "2" else "3"}" {
interpreter = pkg.interpreter;
path = "plugins/python";
inputs = [ pkg ncurses ];

View File

@ -320,6 +320,25 @@ mapAliases ({
perlArchiveCpio = perlPackages.ArchiveCpio; # added 2018-10-12
pgp-tools = signing-party; # added 2017-03-26
pg_tmp = ephemeralpg; # added 2018-01-16
php-embed = throw ''
php*-embed has been dropped, you can build the same package by using
something similar with this following snippet:
(php74.override { config.php.embed = true; config.php.apxs2 = false; })
''; # added 2020-04-01
php72-embed = php-embed; # added 2020-04-01
php73-embed = php-embed; # added 2020-04-01
php74-embed = php-embed; # added 2020-04-01
phpPackages-embed = throw ''
php*Packages-embed has been dropped, you can build the same package by using
something similar with this following snippet:
(php74.override { config.php.embed = true; config.php.apxs2 = false; }).packages
''; # added 2020-04-01
php74Packages-embed = phpPackages-embed;
php73Packages-embed = phpPackages-embed;
php72Packages-embed = phpPackages-embed;
pidgin-with-plugins = pidgin; # added 2016-06
pidginlatex = pidgin-latex; # added 2018-01-08
pidginlatexSF = pidgin-latex; # added 2014-11-02

View File

@ -9403,23 +9403,6 @@ in
stdenv = if stdenv.cc.isClang then llvmPackages_6.stdenv else stdenv;
}) php74 php73 php72 php74base php73base php72base;
php-embed = php74-embed;
php72-embed = php72.override {
config.php.embed = true;
config.php.apxs2 = false;
};
php73-embed = php73.override {
config.php.embed = true;
config.php.apxs2 = false;
};
php74-embed = php74.override {
config.php.embed = true;
config.php.apxs2 = false;
};
php-unit = php74-unit;
php72-unit = php72.override {