mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
Merge pull request #125566 from LeSuisse/pam_u2f-1.1.1
pam_u2f: 1.1.0 -> 1.1.1
This commit is contained in:
commit
bac6826dd3
@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pam_u2f";
|
||||
version = "1.1.0";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://developers.yubico.com/pam-u2f/Releases/${pname}-${version}.tar.gz";
|
||||
sha256 = "01fwbrfnjkv93vvqm54jywdcxa1p7d4r32azicwnx75nxfbbzhqd";
|
||||
sha256 = "12p3pkrp32vzpg7707cgx8zgvgj8iqwhy39sm761k7plqi027mmp";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
@ -16,6 +16,14 @@ stdenv.mkDerivation rec {
|
||||
configureFlagsArray+=("--with-pam-dir=$out/lib/security")
|
||||
'';
|
||||
|
||||
# a no-op makefile to prevent building the fuzz targets
|
||||
postConfigure = ''
|
||||
cat > fuzz/Makefile <<EOF
|
||||
all:
|
||||
install:
|
||||
EOF
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://developers.yubico.com/pam-u2f/";
|
||||
description = "A PAM module for allowing authentication with a U2F device";
|
||||
|
Loading…
Reference in New Issue
Block a user