567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
25 lines
586 B
Nix
25 lines
586 B
Nix
{
|
|
buildPecl,
|
|
lib,
|
|
libssh2,
|
|
}:
|
|
|
|
buildPecl rec {
|
|
version = "1.4.1";
|
|
pname = "ssh2";
|
|
|
|
sha256 = "sha256-e8pbI/cx252O0K6l25uxXaj/EzsPu6lhArguldpNh2Q=";
|
|
|
|
buildInputs = [ libssh2 ];
|
|
configureFlags = [ "--with-ssh2=${libssh2.dev}" ];
|
|
|
|
meta = {
|
|
changelog = "https://pecl.php.net/package-info.php?package=ssh2&version=${version}";
|
|
description = "PHP bindings for the libssh2 library";
|
|
license = lib.licenses.php301;
|
|
homepage = "https://github.com/php/pecl-networking-ssh2";
|
|
maintainers = [ lib.maintainers.ostrolucky ];
|
|
teams = [ lib.teams.php ];
|
|
};
|
|
}
|