mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
php.extensions.pdlib: init at 1.0.2
This commit is contained in:
parent
1995d8d919
commit
b5707ce9c0
24
pkgs/development/php-packages/pdlib/default.nix
Normal file
24
pkgs/development/php-packages/pdlib/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ buildPecl, lib, pkgs }:
|
||||
let
|
||||
pname = "pdlib";
|
||||
version = "1.0.2";
|
||||
in
|
||||
buildPecl {
|
||||
inherit pname version;
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "goodspb";
|
||||
repo = "pdlib";
|
||||
rev = "v${version}";
|
||||
sha256 = "0qnmqwlw5vb2rvliap4iz9val6mal4qqixcw69pwskdw5jka6v5i";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgs.pkg-config ];
|
||||
buildInputs = [ (pkgs.dlib.override { guiSupport = true; }) ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A PHP extension for Dlib";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = lib.teams.php.members;
|
||||
};
|
||||
}
|
@ -80,6 +80,8 @@ lib.makeScope pkgs.newScope (self: with self; {
|
||||
|
||||
oci8 = callPackage ../development/php-packages/oci8 { };
|
||||
|
||||
pdlib = callPackage ../development/php-packages/pdlib { };
|
||||
|
||||
pcov = callPackage ../development/php-packages/pcov { };
|
||||
|
||||
pcs = buildPecl {
|
||||
|
Loading…
Reference in New Issue
Block a user