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
32
pkgs/development/php-packages/memcached/default.nix
Normal file
32
pkgs/development/php-packages/memcached/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ buildPecl, lib, fetchFromGitHub, php, cyrus_sasl, zlib, pkg-config, libmemcached }:
|
||||
|
||||
buildPecl rec {
|
||||
pname = "memcached";
|
||||
version = "3.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "php-memcached-dev";
|
||||
repo = "php-memcached";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-g9IzGSZUxLlOE32o9ZJOa3erb5Qs1ntR8nzS3kRd/EU=";
|
||||
};
|
||||
|
||||
internalDeps = [
|
||||
php.extensions.session
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--with-zlib-dir=${zlib.dev}"
|
||||
"--with-libmemcached-dir=${libmemcached}"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ cyrus_sasl zlib ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "PHP extension for interfacing with memcached via libmemcached library";
|
||||
license = licenses.php301;
|
||||
homepage = "https://github.com/php-memcached-dev/php-memcached";
|
||||
maintainers = teams.php.members;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue