blob: a9428ca477a0b8b8f428526c950a16f5054e0aff (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ buildPecl, lib, zstd, pkg-config, fetchFromGitHub }:
let
version = "0.13.3";
in buildPecl {
inherit version;
pname = "zstd";
src = fetchFromGitHub {
owner = "kjdev";
repo = "php-ext-zstd";
rev = version;
hash = "sha256-jEuL93ScF0/FlfUvib6uZafOkIe0+VkWV/frpSjTkvY=";
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [ zstd ];
configureFlags = [
"--with-libzstd"
];
meta = with lib; {
description = "Zstd Extension for PHP";
license = licenses.mit;
homepage = "https://github.com/kjdev/php-ext-zstd";
maintainers = with lib.maintainers; [ shyim ];
};
}
|