From 4f0b106aee47e185ccc4cf0ae14705c59e466c9a Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Tue, 11 Aug 2020 19:27:41 +0200 Subject: [PATCH] libtirpc: 1.2.6 -> 1.2.7-rc4 --- pkgs/development/libraries/ti-rpc/default.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/development/libraries/ti-rpc/default.nix b/pkgs/development/libraries/ti-rpc/default.nix index db434a5e62ed..3d163ef6ded6 100644 --- a/pkgs/development/libraries/ti-rpc/default.nix +++ b/pkgs/development/libraries/ti-rpc/default.nix @@ -1,21 +1,19 @@ { fetchurl, stdenv, autoreconfHook, libkrb5 }: stdenv.mkDerivation rec { - name = "libtirpc-1.2.6"; + pname = "libtirpc"; + version = "1.2.7-rc4"; src = fetchurl { - url = "mirror://sourceforge/libtirpc/${name}.tar.bz2"; - sha256 = "1k6i6wma3xs7gmp54z587nd4yi5wrvg2ycl5g36zjnhx32jyjy22"; + url = "http://git.linux-nfs.org/?p=steved/libtirpc.git;a=snapshot;h=5ca4ca92f629d9d83e83544b9239abaaacf0a527;sf=tgz"; + sha256 = "0w26yf9bwkpqj52sqd3n250dg9jlqnr8bjv0kc4fl5hkrv8akj8i"; + name = "${pname}-${version}.tar.gz"; }; outputs = [ "out" "dev" ]; postPatch = '' sed '1i#include ' -i src/xdr_sizeof.c - '' + stdenv.lib.optionalString stdenv.hostPlatform.isMusl '' - substituteInPlace tirpc/rpc/types.h \ - --replace '#if defined __APPLE_CC__ || defined __FreeBSD__' \ - '#if defined __APPLE_CC__ || defined __FreeBSD__ || !defined __GLIBC__' ''; KRB5_CONFIG = "${libkrb5.dev}/bin/krb5-config";