Files
nixpkgs/pkgs/development/php-packages/maxminddb/default.nix
Janne Heß 5a6d0ee976 treewide: Drop a lot of my maintainership
I do not have the time or energy to handle all of this. Let alone my
GitHub notifications. This PR is in good faith and does not refer to
anything community-related. I will keep on doing nixpkgs work but the
pile of shame (let's call it that) needs to be cleaned. Thanks to
@mweinelt which whom I had a discussion and who made me aware of this
issue.
2026-08-12 16:24:54 +02:00

35 lines
697 B
Nix

{
buildPecl,
lib,
fetchFromGitHub,
libmaxminddb,
}:
let
pname = "maxminddb";
version = "1.13.1";
in
buildPecl {
inherit pname version;
src = fetchFromGitHub {
owner = "maxmind";
repo = "MaxMind-DB-Reader-php";
rev = "v${version}";
sha256 = "sha256-rOS6XAap94AtFSZnQO8kEXDRUfr1Y5IhWKRxP6fxSio=";
};
prePatch = ''
cd ext
'';
buildInputs = [ libmaxminddb ];
meta = {
description = "C extension that is a drop-in replacement for MaxMind\\Db\\Reader";
license = lib.licenses.asl20;
homepage = "https://github.com/maxmind/MaxMind-DB-Reader-php";
maintainers = with lib.maintainers; [ helsinki-Jo ];
teams = [ lib.teams.php ];
};
}