libgssglue: 0.4 -> 0.9

libgssglue: format with nixfmt-rfc-style
This commit is contained in:
Sigmanificient 2024-07-26 09:18:15 +02:00
parent 4a8e77c706
commit d265ac739d

View File

@ -1,15 +1,27 @@
{ lib, stdenv, fetchurl, libkrb5 }:
{
lib,
stdenv,
fetchFromGitLab,
autoreconfHook,
libkrb5,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "libgssglue";
version = "0.4";
version = "0.9";
src = fetchurl {
url = "http://www.citi.umich.edu/projects/nfsv4/linux/libgssglue/${pname}-${version}.tar.gz";
sha256 = "0fh475kxzlabwz30wz3bf7i8kfqiqzhfahayx3jj79rba1sily9z";
src = fetchFromGitLab {
owner = "gsasl";
repo = "libgssglue";
rev = "tags/libgssglue-${finalAttrs.version}";
hash = "sha256-p9dujLklv2ZC1YA1gKGCRJf9EvF3stv5v4Z/5m1nSeM=";
};
nativeBuildInputs = [ autoreconfHook ];
postPatch = ''
touch ChangeLog
sed s:/etc/gssapi_mech.conf:$out/etc/gssapi_mech.conf: -i src/g_initialize.c
'';
@ -27,4 +39,4 @@ stdenv.mkDerivation rec {
platforms = platforms.linux;
maintainers = with maintainers; [ corngood ];
};
}
})