mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
php.extensions.pspell: Fetch from PECL
PHP 8.4 will remove it from tree:
b035cb6c8e
This commit is contained in:
parent
1bf9d8abd0
commit
b92fa30124
32
pkgs/development/php-packages/pspell/default.nix
Normal file
32
pkgs/development/php-packages/pspell/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
aspell,
|
||||
buildPecl,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.0.1";
|
||||
in
|
||||
buildPecl {
|
||||
inherit version;
|
||||
pname = "pspell";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "php";
|
||||
repo = "pecl-text-pspell";
|
||||
rev = version;
|
||||
hash = "sha256-IVBuEVsUKah8W+oVpIPT9Iln6MFox0e5/5Y14/Kgcg4=";
|
||||
};
|
||||
|
||||
configureFlags = [ "--with-pspell=${aspell}" ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "PHP extension for checking the spelling of a word";
|
||||
homepage = "https://pecl.php.net/package/pspell";
|
||||
license = licenses.php301;
|
||||
maintainers = teams.php.members;
|
||||
};
|
||||
}
|
@ -6,7 +6,6 @@
|
||||
, phpPackage
|
||||
, autoconf
|
||||
, pkg-config
|
||||
, aspell
|
||||
, bzip2
|
||||
, curl
|
||||
, cyrus_sasl
|
||||
@ -324,6 +323,8 @@ in {
|
||||
|
||||
protobuf = callPackage ../development/php-packages/protobuf { };
|
||||
|
||||
pspell = callPackage ../development/php-packages/pspell { };
|
||||
|
||||
rdkafka = callPackage ../development/php-packages/rdkafka { };
|
||||
|
||||
redis = callPackage ../development/php-packages/redis { };
|
||||
@ -584,7 +585,6 @@ in {
|
||||
doCheck = false;
|
||||
}
|
||||
{ name = "posix"; doCheck = false; }
|
||||
{ name = "pspell"; configureFlags = [ "--with-pspell=${aspell}" ]; }
|
||||
{
|
||||
name = "readline";
|
||||
buildInputs = [
|
||||
|
Loading…
Reference in New Issue
Block a user