Commit aff75d6a authored by Thomas Gerbet's avatar Thomas Gerbet
Browse files
parent 3715e881
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -6,15 +6,16 @@
  libfido2,
  pam,
  openssl,
  nixosTests,
}:

stdenv.mkDerivation rec {
  pname = "pam_u2f";
  version = "1.3.1";
  version = "1.3.2";

  src = fetchurl {
    url = "https://developers.yubico.com/pam-u2f/Releases/${pname}-${version}.tar.gz";
    hash = "sha256-mhNUmUf4RPazq2kdca+09vAKRdFl/tJ7AcZsB3UKk4c=";
    hash = "sha256-OL59GJcnHLP+45HSODs1r8EmrUMakanebpkQjBLMlJA=";
  };

  nativeBuildInputs = [ pkg-config ];
@@ -36,6 +37,10 @@ stdenv.mkDerivation rec {
    EOF
  '';

  passthru.tests = {
    pam_u2f = nixosTests.pam-u2f;
  };

  meta = with lib; {
    homepage = "https://developers.yubico.com/pam-u2f/";
    description = "PAM module for allowing authentication with a U2F device";