5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
31 lines
622 B
Nix
31 lines
622 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;
|
|
};
|
|
}
|