libnsl: 1.1.0 -> 1.2.0, drop included patches

This commit is contained in:
Will Dietz
2019-05-06 04:03:06 -05:00
parent 0a4cd28f84
commit 6a496b3143
3 changed files with 5 additions and 82 deletions
@@ -1,21 +1,19 @@
{ stdenv, fetchFromGitHub, autoreconfHook, libtirpc, pkgconfig }:
stdenv.mkDerivation rec {
name = "libnsl-${version}";
version = "1.1.0";
pname = "libnsl";
version = "1.2.0";
src = fetchFromGitHub {
owner = "thkukuk";
repo = "libnsl";
rev = "libnsl-${version}";
sha256 = "0h8br0gmgw3fp5fmy6bfbj1qlk9hry1ssg25ssjgxbd8spczpscs";
repo = pname;
rev = "v${version}";
sha256 = "1chzqhcgh0yia9js8mh92cmhyka7rh32ql6b3mgdk26n94dqzs8b";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ libtirpc ];
patches = stdenv.lib.optionals stdenv.hostPlatform.isMusl [ ./cdefs.patch ./nis_h.patch ];
meta = with stdenv.lib; {
description = "Client interface library for NIS(YP) and NIS+";
homepage = https://github.com/thkukuk/libnsl;