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

25 lines
791 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
2019-03-31 00:49:02 +00:00
, asciidoc, libxslt, docbook_xsl
, pam, yubikey-personalization, libyubikey, libykclient }:
stdenv.mkDerivation rec {
pname = "yubico-pam";
version = "unstable-2019-07-01";
2019-03-31 00:49:02 +00:00
src = fetchFromGitHub {
owner = "Yubico";
repo = pname;
rev = "b5bd00db81e0e0e0ecced65c684080bb56ddc35b";
sha256 = "10dq8dqi3jldllj6p8r9hldx9sank9n82c44w8akxrs1vli6nj3m";
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 ];
};
}