Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildPecl, lib, libssh2 }: 2 3buildPecl rec { 4 version = "1.3.1"; 5 pname = "ssh2"; 6 7 sha256 = "sha256-kJOh+NJNxlg2AnsOI5xQ3o1err+DlrwzMf3TjF1pr9k="; 8 9 buildInputs = [ libssh2 ]; 10 configureFlags = [ "--with-ssh2=${libssh2.dev}" ]; 11 12 meta = with lib; { 13 changelog = "https://pecl.php.net/package-info.php?package=ssh2&version=${version}"; 14 description = "PHP bindings for the libssh2 library"; 15 license = licenses.php301; 16 homepage = "https://github.com/php/pecl-networking-ssh2"; 17 maintainers = teams.php.members ++ [ maintainers.ostrolucky ]; 18 }; 19}