diff options
author | Elis Hirwing <elis@hirwing.se> | 2019-12-08 20:45:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-08 20:45:52 +0100 |
commit | 5b6e958b925e6f061c753031b0a4c704c1ae80c8 (patch) | |
tree | 7235fe1c5c619802db171457285c4c001d15ef2b /pkgs/top-level/php-packages.nix | |
parent | f640cf49d1ce044f7dc615094513234c979cb621 (diff) | |
parent | 5b20f660f6eed13c3a50a0ad13f6aeefea6328c4 (diff) | |
download | nixlib-5b6e958b925e6f061c753031b0a4c704c1ae80c8.tar nixlib-5b6e958b925e6f061c753031b0a4c704c1ae80c8.tar.gz nixlib-5b6e958b925e6f061c753031b0a4c704c1ae80c8.tar.bz2 nixlib-5b6e958b925e6f061c753031b0a4c704c1ae80c8.tar.lz nixlib-5b6e958b925e6f061c753031b0a4c704c1ae80c8.tar.xz nixlib-5b6e958b925e6f061c753031b0a4c704c1ae80c8.tar.zst nixlib-5b6e958b925e6f061c753031b0a4c704c1ae80c8.zip |
Merge pull request #73579 from helsinki-systems/php-maxminddb-init
phpPackages.maxminddb: Init at 1.5.0
Diffstat (limited to 'pkgs/top-level/php-packages.nix')
-rw-r--r-- | pkgs/top-level/php-packages.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix index f315d9277602..9bd304b7d961 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -199,6 +199,27 @@ let sha256 = "00nk14jbdbln93mx3ag691avc11ff94hkadrcv5pn51c6ihsxbmz"; }; + maxminddb = buildPecl rec { + pname = "maxminddb"; + version = "1.5.0"; + + src = pkgs.fetchFromGitHub { + owner = "maxmind"; + repo = "MaxMind-DB-Reader-php"; + rev = "v${version}"; + sha256 = "1ilgpx36rgihjr8s4bvkbms5hl6xy7mymna3ym2bl4lb15vkr0sm"; + }; + + 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 ]; + }; + }; + memcached = buildPecl rec { version = "3.1.5"; pname = "memcached"; |