phpPackages.maxmindb: make src name independent

(cherry picked from commit d2a60deb9cd3cb63e0766fb7795108410adb18bd)
This commit is contained in:
Jonathan Ringer 2022-01-03 20:40:04 -08:00 committed by Jonathan Ringer
parent 2e1ec3aa22
commit 4e6c49b81b

View File

@ -13,8 +13,11 @@ buildPecl {
sha256 = "sha256-Dw1+pYJmZ3U2+rgSOEkx4a6HB8FebSr7YZodOjSipjI=";
};
prePatch = ''
cd ext
'';
buildInputs = [ libmaxminddb ];
sourceRoot = "source/ext";
meta = with lib; {
description = "C extension that is a drop-in replacement for MaxMind\\Db\\Reader";