about summary refs log tree commit diff
path: root/pkgs/development/php-packages/ssh2/default.nix
blob: 058702d65c0b07c9481291f965e7c97ad20e9e2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ buildPecl, lib, libssh2 }:

buildPecl rec {
  version = "1.3.1";
  pname = "ssh2";

  sha256 = "sha256-kJOh+NJNxlg2AnsOI5xQ3o1err+DlrwzMf3TjF1pr9k=";

  buildInputs = [ libssh2 ];
  configureFlags = [ "--with-ssh2=${libssh2.dev}" ];

  meta = with lib; {
    changelog = "https://pecl.php.net/package-info.php?package=ssh2&version=${version}";
    description = "PHP bindings for the libssh2 library";
    license = licenses.php301;
    homepage = "https://github.com/php/pecl-networking-ssh2";
    maintainers = teams.php.members ++ [ maintainers.ostrolucky ];
  };
}