nixpkgs/pkgs/development/libraries/yubico-pam/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
750 B
Nix
Raw Normal View History

{ 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";
version = "2.27";
2019-03-31 00:49:02 +00:00
src = fetchFromGitHub {
owner = "Yubico";
repo = pname;
rev = version;
sha256 = "0hb773zlf11xz4bwmsqv2mq5d4aq2g0crdr5cp9xwc4ivi5gd4kg";
2019-03-31 00:49:02 +00:00
};
nativeBuildInputs = [ autoreconfHook pkg-config asciidoc libxslt docbook_xsl ];
2019-03-31 00:49:02 +00:00
buildInputs = [ pam yubikey-personalization libyubikey libykclient ];
meta = with lib; {
2019-03-31 00:49:02 +00:00
description = "Yubico PAM module";
homepage = "https://developers.yubico.com/yubico-pam";
2019-03-31 00:49:02 +00:00
license = licenses.bsd2;
maintainers = with maintainers; [ dtzWill ];
};
}