mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
kstart: init at 4.3
This commit is contained in:
parent
38b97e374d
commit
e86e7eb495
60
pkgs/tools/security/kstart/default.nix
Normal file
60
pkgs/tools/security/kstart/default.nix
Normal file
@ -0,0 +1,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;
|
||||
};
|
||||
})
|
@ -1561,6 +1561,8 @@ with pkgs;
|
||||
|
||||
ksnip = libsForQt5.callPackage ../tools/misc/ksnip { };
|
||||
|
||||
kstart = callPackage ../tools/security/kstart { };
|
||||
|
||||
kubevirt = callPackage ../tools/virtualization/kubevirt { };
|
||||
|
||||
license-generator = callPackage ../tools/misc/license-generator { };
|
||||
|
Loading…
Reference in New Issue
Block a user