Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
610 B · 31 lines
Nix
1234567891011121314151617181920212223242526272829303132{ buildPecl, fetchFromGitHub, lib, pkg-config, dlib,}:let pname = "pdlib"; version = "1.1.0";inbuildPecl { 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"; teams = [ lib.teams.php ]; };}