uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
28
pkgs/development/php-packages/maxminddb/default.nix
Normal file
28
pkgs/development/php-packages/maxminddb/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ buildPecl, lib, fetchFromGitHub, libmaxminddb }:
|
||||
let
|
||||
pname = "maxminddb";
|
||||
version = "1.11.0";
|
||||
in
|
||||
buildPecl {
|
||||
inherit pname version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "maxmind";
|
||||
repo = "MaxMind-DB-Reader-php";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-Dw1+pYJmZ3U2+rgSOEkx4a6HB8FebSr7YZodOjSipjI=";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
cd ext
|
||||
'';
|
||||
|
||||
buildInputs = [ libmaxminddb ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "C extension that is a drop-in replacement for MaxMind\\Db\\Reader";
|
||||
license = with licenses; [ asl20 ];
|
||||
homepage = "https://github.com/maxmind/MaxMind-DB-Reader-php";
|
||||
maintainers = with maintainers; [ ajs124 das_j ] ++ teams.php.members;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue