about summary refs log tree commit diff
path: root/pkgs/development/libraries/yubico-pam/default.nix
blob: e6a3fa9fbe14367db97a85185f9a91fb5036104a (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
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
, asciidoc, libxslt, docbook_xsl
, pam, yubikey-personalization, libyubikey, libykclient }:

stdenv.mkDerivation rec {
  pname = "yubico-pam";
  version = "unstable-2019-07-01";
  src = fetchFromGitHub {
    owner = "Yubico";
    repo = pname;
    rev = "b5bd00db81e0e0e0ecced65c684080bb56ddc35b";
    sha256 = "10dq8dqi3jldllj6p8r9hldx9sank9n82c44w8akxrs1vli6nj3m";
  };

  nativeBuildInputs = [ autoreconfHook pkgconfig asciidoc libxslt docbook_xsl ];
  buildInputs = [ pam yubikey-personalization libyubikey libykclient ];

  meta = with stdenv.lib; {
    description = "Yubico PAM module";
    homepage = https://developers.yubico.com/yubico-pam;
    license = licenses.bsd2;
    maintainers = with maintainers; [ dtzWill ];
  };
}