3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/cifs-utils/default.nix
Bjørn Forsman fc6d82cf76 cifs-utils: add 'talloc' to buildInputs, to build cifs.upcall
Fixes this ./configure symptom:

  configure: WARNING: talloc.h not found, consider installing libtalloc-devel. Disabling cifs.upcall.

and is needed to (eventually) fix CIFS + DFS kernel mount on NixOS.
2016-12-10 00:01:21 +02:00

24 lines
668 B
Nix

{ stdenv, fetchurl, kerberos, keyutils, pam, talloc }:
stdenv.mkDerivation rec {
name = "cifs-utils-${version}";
version = "6.5";
src = fetchurl {
url = "mirror://samba/pub/linux-cifs/cifs-utils/${name}.tar.bz2";
sha256 = "1xs9rwqfpx8qj5mcmagw6y1hzwc71zhzb5r8hv06sz16p1w6axz2";
};
buildInputs = [ kerberos keyutils pam talloc ];
makeFlags = "root_sbindir=$(out)/sbin";
meta = with stdenv.lib; {
homepage = http://www.samba.org/linux-cifs/cifs-utils/;
description = "Tools for managing Linux CIFS client filesystems";
platforms = platforms.linux;
license = licenses.lgpl3;
maintainers = with maintainers; [ nckx ];
};
}