2021-08-23 18:06:30 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, pkg-config
|
|
|
|
, asciidoc
|
|
|
|
, libxslt
|
|
|
|
, docbook_xsl
|
|
|
|
, pam
|
|
|
|
, yubikey-personalization
|
|
|
|
, libyubikey
|
|
|
|
, libykclient
|
|
|
|
}:
|
2019-03-31 00:49:02 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "yubico-pam";
|
2021-08-23 18:06:30 +00:00
|
|
|
version = "2.27";
|
2019-03-31 00:49:02 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Yubico";
|
|
|
|
repo = pname;
|
2021-08-23 18:06:30 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "0hb773zlf11xz4bwmsqv2mq5d4aq2g0crdr5cp9xwc4ivi5gd4kg";
|
2019-03-31 00:49:02 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config asciidoc libxslt docbook_xsl ];
|
2019-03-31 00:49:02 +00:00
|
|
|
buildInputs = [ pam yubikey-personalization libyubikey libykclient ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2019-03-31 00:49:02 +00:00
|
|
|
description = "Yubico PAM module";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://developers.yubico.com/yubico-pam";
|
2019-03-31 00:49:02 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
|
|
};
|
|
|
|
}
|