at master 583 B view raw
1{ 2 aspell, 3 buildPecl, 4 fetchFromGitHub, 5 lib, 6}: 7 8let 9 version = "1.0.1"; 10in 11buildPecl { 12 inherit version; 13 pname = "pspell"; 14 15 src = fetchFromGitHub { 16 owner = "php"; 17 repo = "pecl-text-pspell"; 18 rev = version; 19 hash = "sha256-IVBuEVsUKah8W+oVpIPT9Iln6MFox0e5/5Y14/Kgcg4="; 20 }; 21 22 configureFlags = [ "--with-pspell=${aspell}" ]; 23 24 doCheck = true; 25 26 meta = with lib; { 27 description = "PHP extension for checking the spelling of a word"; 28 homepage = "https://pecl.php.net/package/pspell"; 29 license = licenses.php301; 30 teams = [ teams.php ]; 31 }; 32}