phpExtensions.maxminddb: Move to separate directory

This commit is contained in:
Elis Hirwing 2020-10-11 19:05:50 +02:00
parent f8180fed9a
commit df08b0fc00
No known key found for this signature in database
GPG Key ID: D57EFA625C9A925F
2 changed files with 25 additions and 20 deletions

@ -0,0 +1,24 @@
{ buildPecl, lib, pkgs }:
let
pname = "maxminddb";
version = "1.7.0";
in
buildPecl {
inherit pname version;
src = pkgs.fetchFromGitHub {
owner = "maxmind";
repo = "MaxMind-DB-Reader-php";
rev = "v${version}";
sha256 = "16msc9s15y43lxw89kj51aldlkd57dc8gms199i51jc984b68ljc";
};
buildInputs = [ pkgs.libmaxminddb ];
sourceRoot = "source/ext";
meta = with pkgs.lib; {
description = "C extension that is a drop-in replacement for MaxMind\\Db\\Reader";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ ajs124 das_j ] ++ teams.php.members;
};
}

@ -80,26 +80,7 @@ in
mailparse = callPackage ../development/php-packages/mailparse { };
maxminddb = buildPecl rec {
pname = "maxminddb";
version = "1.7.0";
src = pkgs.fetchFromGitHub {
owner = "maxmind";
repo = "MaxMind-DB-Reader-php";
rev = "v${version}";
sha256 = "16msc9s15y43lxw89kj51aldlkd57dc8gms199i51jc984b68ljc";
};
buildInputs = [ pkgs.libmaxminddb ];
sourceRoot = "source/ext";
meta = with pkgs.lib; {
description = "C extension that is a drop-in replacement for MaxMind\\Db\\Reader";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ ajs124 das_j ] ++ teams.php.members;
};
};
maxminddb = callPackage ../development/php-packages/maxminddb { };
memcached = buildPecl rec {
version = "3.1.5";