Files
nixpkgs/pkgs/development/php-packages/zstd/default.nix
Wolfgang Walther c283f32d29 treewide: remove unused with
Auto-fixed by nixf-diagnose.
2025-10-05 10:50:41 +02:00

36 lines
598 B
Nix

{
buildPecl,
lib,
zstd,
pkg-config,
fetchFromGitHub,
}:
let
version = "0.15.2";
in
buildPecl {
inherit version;
pname = "zstd";
src = fetchFromGitHub {
owner = "kjdev";
repo = "php-ext-zstd";
rev = version;
hash = "sha256-NGbrbvW2kNhgj3nqqjGLqowcp9EKqYffR1DOBIzdXeA=";
};
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 = [ ];
};
}