Unverified Commit 0ef024b9 authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

libfprint-tod: 1.90.7+git20210222+tod1 -> 1.94.9+tod1 (#388905)

parents 5164b0c6 392773a1
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -66,5 +66,8 @@ stdenv.mkDerivation {
    license = licenses.lgpl21Plus;
    platforms = platforms.linux;
    maintainers = with maintainers; [ valodim ];
    # Does not compile against libfprint-tod, hasn't seen any maintenance
    # since 2020.
    broken = true;
  };
}
+7 −3
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ libfprint.overrideAttrs (
    ...
  }:
  let
    version = "1.90.7+git20210222+tod1";
    version = "1.94.9+tod1";
  in
  {
    pname = "libfprint-tod";
@@ -24,18 +24,22 @@ libfprint.overrideAttrs (
      owner = "3v1n0";
      repo = "libfprint";
      rev = "v${version}";
      sha256 = "0cj7iy5799pchyzqqncpkhibkq012g3bdpn18pfb19nm43svhn4j";
      hash = "sha256-xkywuFbt8EFJOlIsSN2hhZfMUhywdgJ/uT17uiO3YV4=";
    };

    mesonFlags = [
      # Include virtual drivers for fprintd tests
      "-Ddrivers=all"
      "-Dudev_hwdb_dir=${placeholder "out"}/lib/udev/hwdb.d"
      "-Dudev_rules_dir=${placeholder "out"}/lib/udev/rules.d"
    ];

    postPatch = ''
      ${postPatch}
      patchShebangs ./tests/*.py ./tests/*.sh
      patchShebangs \
        ./libfprint/tod/tests/*.sh \
        ./tests/*.py \
        ./tests/*.sh \
    '';

    meta = with lib; {