c7e6337bd0
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
25 lines
611 B
Nix
25 lines
611 B
Nix
{ buildPecl, fetchFromGitHub, lib, pkg-config, dlib }:
|
|
let
|
|
pname = "pdlib";
|
|
version = "1.1.0";
|
|
in
|
|
buildPecl {
|
|
inherit pname version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "goodspb";
|
|
repo = "pdlib";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-AKZ3F2XzEQCeZkacSXBinxeGQrHBmqjP7mDGQ3RBAiE=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ (dlib.override { guiSupport = true; }) ];
|
|
|
|
meta = with lib; {
|
|
description = "A PHP extension for Dlib";
|
|
license = with licenses; [ mit ];
|
|
homepage = "https://github.com/goodspb/pdlib";
|
|
maintainers = lib.teams.php.members;
|
|
};
|
|
}
|