nixpkgs/pkgs/development/php-packages/pdlib/default.nix

25 lines
561 B
Nix
Raw Normal View History

{ buildPecl, fetchFromGitHub, lib, pkg-config, dlib }:
2020-12-28 23:38:50 +00:00
let
pname = "pdlib";
version = "1.0.2";
in
buildPecl {
inherit pname version;
src = fetchFromGitHub {
2020-12-28 23:38:50 +00:00
owner = "goodspb";
repo = "pdlib";
rev = "v${version}";
sha256 = "0qnmqwlw5vb2rvliap4iz9val6mal4qqixcw69pwskdw5jka6v5i";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ (dlib.override { guiSupport = true; }) ];
2020-12-28 23:38:50 +00:00
meta = with lib; {
description = "A PHP extension for Dlib";
license = with licenses; [ mit ];
maintainers = lib.teams.php.members;
};
}