mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
32 lines
620 B
Nix
32 lines
620 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 = "PHP extension for Dlib";
|
|
license = with licenses; [ mit ];
|
|
homepage = "https://github.com/goodspb/pdlib";
|
|
maintainers = lib.teams.php.members;
|
|
};
|
|
}
|