blob: 88ccc960bc9f4c129be0f1883b8cfdd810df0710 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, keyutils
, libkrb5
, openafs
, perl
, pkg-config
, enableSetPAG ? false
}:
stdenv.mkDerivation (finalAttrs: {
pname = "kstart";
version = "4.3";
src = fetchFromGitHub {
owner = "rra";
repo = "kstart";
rev = "release/${finalAttrs.version}";
hash = "sha256-MGWL4oNc0MZTGWqBEt2wRTkqoagiUTDrS0kz4ewbZZA=";
};
nativeBuildInputs = [
autoreconfHook
perl
pkg-config
];
buildInputs = [
keyutils
libkrb5
openafs
];
configureFlags = [
"--enable-silent-rules"
]
++ (lib.optional enableSetPAG "--enable-setpag");
preBuild = ''
for f in k5start krenew; do
pod2man --release="${finalAttrs.version}" --center="kstart" docs/"$f".pod >docs/"$f".1
done
'';
doCheck = true;
preCheck = ''
patchShebangs tests
'';
outputs = [ "out" "man" ];
meta = with lib; {
outputsToInstall = [ "out" "man" ];
description = "Modified version of kerberos tools that support automatic ticket refresh";
license = licenses.mit;
platforms = platforms.linux ++ platforms.darwin;
};
})
|