Unverified Commit d199bfdf authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

nfs-utils: 2.6.4 -> 2.7.1

The previous version wouldn't build anymore, maybe after kerberos update
https://hydra.nixos.org/build/270621926/nixlog/1/tail
parent b9ec6f58
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
{ stdenv, fetchurl, fetchpatch, lib, pkg-config, util-linux, libcap, libtirpc, libevent
, sqlite, libkrb5, kmod, libuuid, keyutils, lvm2, systemd, coreutils, tcp_wrappers
, python3, buildPackages, nixosTests, rpcsvc-proto, openldap
, python3, buildPackages, nixosTests, rpcsvc-proto, openldap, libxml2
, enablePython ? true, enableLdap ? true
}:

@@ -10,11 +10,11 @@ in

stdenv.mkDerivation rec {
  pname = "nfs-utils";
  version = "2.6.4";
  version = "2.7.1";

  src = fetchurl {
    url = "mirror://kernel/linux/utils/nfs-utils/${version}/${pname}-${version}.tar.xz";
    hash = "sha256-AbOw+5x9C7q/URTHNlQgMHSMeI7C/Zc0dEIB6bChEZ0=";
    hash = "sha256-iFyUioSli8pBSPRZWI+ac2nbtA3MRm8E5FXGsQ/Qqkg=";
  };

  # libnfsidmap is built together with nfs-utils from the same source,
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {

  buildInputs = [
    libtirpc libcap libevent sqlite lvm2
    libuuid keyutils libkrb5 tcp_wrappers
    libuuid keyutils libkrb5 tcp_wrappers libxml2
  ] ++ lib.optional enablePython python3
    ++ lib.optional enableLdap  openldap;