lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 18.03-beta 29 lines 870 B view raw
1{ stdenv, fetchurl, pkgconfig, libu2f-host, libu2f-server, pam }: 2 3stdenv.mkDerivation rec { 4 name = "pam_u2f-${version}"; 5 version = "1.0.4"; 6 7 src = fetchurl { 8 url = "https://developers.yubico.com/pam-u2f/Releases/${name}.tar.gz"; 9 sha256 = "189j0wgx6fs146vfp88djqpl1flpfb3962l1a2marlp6d12jwm3i"; 10 }; 11 12 nativeBuildInputs = [ pkgconfig ]; 13 buildInputs = [ libu2f-host libu2f-server pam ]; 14 15 # Fix the broken include in 1.0.1 16 CFLAGS = "-I${libu2f-host}/include/u2f-host"; 17 18 preConfigure = '' 19 configureFlagsArray+=("--with-pam-dir=$out/lib/security") 20 ''; 21 22 meta = with stdenv.lib; { 23 homepage = https://developers.yubico.com/pam-u2f/; 24 description = "A PAM module for allowing authentication with a U2F device"; 25 license = licenses.bsd2; 26 platforms = platforms.unix; 27 maintainers = with maintainers; [ philandstuff ]; 28 }; 29}