summary refs log tree commit diff
path: root/pkgs/development/php-packages/smbclient/default.nix
blob: 0486db82cc3d7d2660fe4f52f5e2d41f5f402dd7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ buildPecl, lib, samba, pkg-config }:
buildPecl {
  pname = "smbclient";
  version = "1.0.5";
  sha256 = "sha256-cNvTa1qzYrlhuX4oNehXt+XKqmqfonyomW/usQdQQO0=";

  # 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.maintainers = lib.teams.php.members;
}