Files
nixpkgs/pkgs/development/php-packages/smbclient/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
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>
2025-12-10 18:09:49 +01:00

25 lines
595 B
Nix

{
buildPecl,
lib,
samba,
pkg-config,
}:
buildPecl {
pname = "smbclient";
version = "1.1.2";
sha256 = "sha256-Hmp0RWOqxwCBXlca2YsRNahOhA1E5qxnmXSUx4Cpzec=";
# TODO: remove this when upstream merges a fix - https://github.com/eduardok/libsmbclient-php/pull/66
LIBSMBCLIENT_INCDIR = "${samba.dev}/include/samba-4.0";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ samba ];
meta = {
description = "PHP wrapper for libsmbclient";
license = lib.licenses.bsd2;
homepage = "https://github.com/eduardok/libsmbclient-php";
teams = [ lib.teams.php ];
};
}