nixpkgs-suyu/pkgs/os-specific/linux/cifs-utils/default.nix

24 lines
701 B
Nix
Raw Normal View History

2018-02-04 11:43:13 +01:00
{ stdenv, fetchurl, autoreconfHook, pkgconfig, kerberos, keyutils, pam, talloc }:
2012-08-30 17:39:50 +02:00
stdenv.mkDerivation rec {
2016-05-24 22:09:49 +02:00
name = "cifs-utils-${version}";
2018-02-04 11:43:13 +01:00
version = "6.7";
2012-08-30 17:39:50 +02:00
src = fetchurl {
url = "mirror://samba/pub/linux-cifs/cifs-utils/${name}.tar.bz2";
2018-02-04 11:43:13 +01:00
sha256 = "1ayghnkryy1n1zm5dyvyyr7n3807nsm6glfcbbki5c2a8w91dwmj";
};
2018-02-04 11:43:13 +01:00
nativeBuildInputs = [ autoreconfHook pkgconfig ];
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;
};
}