diff --git a/pkgs/by-name/li/libfprint-focaltech-2808-a658/package.nix b/pkgs/by-name/li/libfprint-focaltech-2808-a658/package.nix deleted file mode 100644 index f112bc9e5b90..000000000000 --- a/pkgs/by-name/li/libfprint-focaltech-2808-a658/package.nix +++ /dev/null @@ -1,105 +0,0 @@ -{ - stdenv, - lib, - fetchurl, - rpm, - cpio, - glib, - gusb, - pixman, - libgudev, - nss, - libfprint, - cairo, - pkg-config, - autoPatchelfHook, - makePkgconfigItem, - copyPkgconfigItems, -}: - -# https://discourse.nixos.org/t/request-for-libfprint-port-for-2808-a658/55474 -let - # The provided `.so`'s name in the binary package we fetch and unpack - libso = "libfprint-2.so.2.0.0"; -in -stdenv.mkDerivation rec { - pname = "libfprint-focaltech-2808-a658"; - version = "1.94.4"; - # https://gitlab.freedesktop.org/libfprint/libfprint/-/merge_requests/413#note_2476573 - src = fetchurl { - url = "https://github.com/ftfpteams/RTS5811-FT9366-fingerprint-linux-driver-with-VID-2808-and-PID-a658/raw/b040ccd953c27e26c1285c456b4264e70b36bc3f/libfprint-2-2-${version}+tod1-FT9366_20240627.x86_64.rpm"; - hash = "sha256-MRWHwBievAfTfQqjs1WGKBnht9cIDj9aYiT3YJ0/CUM="; - }; - - nativeBuildInputs = [ - rpm - cpio - pkg-config - autoPatchelfHook - copyPkgconfigItems - ]; - - buildInputs = [ - stdenv.cc.cc - glib - gusb - pixman - nss - libgudev - libfprint - cairo - ]; - - unpackPhase = '' - runHook preUnpack - - rpm2cpio $src | cpio -idmv - - runHook postUnpack - ''; - - # custom pkg-config based on libfprint's pkg-config - pkgconfigItems = [ - (makePkgconfigItem rec { - name = "libfprint-2"; - inherit version; - inherit (meta) description; - cflags = [ "-I${variables.includedir}/libfprint-2" ]; - libs = [ - "-L${variables.libdir}" - "-lfprint-2" - ]; - variables = rec { - prefix = "${placeholder "out"}"; - includedir = "${prefix}/include"; - libdir = "${prefix}/lib"; - }; - }) - ]; - - installPhase = '' - runHook preInstall - - install -Dm444 usr/lib64/${libso} -t $out/lib - - # create this symlink as it was there in libfprint - ln -s -T $out/lib/${libso} $out/lib/libfprint-2.so - ln -s -T $out/lib/${libso} $out/lib/libfprint-2.so.2 - - # get files from libfprint required to build the package - cp -r ${libfprint}/lib/girepository-1.0 $out/lib - cp -r ${libfprint}/include $out - - runHook postInstall - ''; - - meta = { - description = "Focaltech Fingerprint driver for focaltech 0x2808:0xa658"; - homepage = "https://github.com/ftfpteams/RTS5811-FT9366-fingerprint-linux-driver-with-VID-2808-and-PID-a658"; - license = lib.licenses.unfree; - maintainers = [ lib.maintainers.imsick ]; - platforms = [ "x86_64-linux" ]; - sourceProvenance = [ lib.sourceTypes.binaryNativeCode ]; - broken = true; # needs older version of fprintd (v1.94.4) - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 47bc57b53499..8e4071c5bcc9 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -782,6 +782,7 @@ mapAliases { libdevil = throw "libdevil has been removed, as it was unmaintained in Nixpkgs and upstream since 2017"; # Added 2025-09-16 libdevil-nox = throw "libdevil has been removed, as it was unmaintained in Nixpkgs and upstream since 2017"; # Added 2025-09-16 libdwarf-lite = throw "`libdwarf-lite` has been replaced by `libdwarf` as it's mostly a mirror"; # Added 2025-06-16 + libfprint-focaltech-2808-a658 = throw "'libfprint-focaltech-2808-a658' has been removed as it was broken and upstream was taken down"; # Added 2025-11-04 libfpx = throw "libfpx has been removed as it was unmaintained in Nixpkgs and had known vulnerabilities"; # Added 2025-05-20 libgadu = throw "'libgadu' has been removed as upstream is unmaintained and has no dependents or maintainers in Nixpkgs"; # Added 2025-05-17 libgda = throw "'libgda' has been renamed to/replaced by 'libgda5'"; # Converted to throw 2025-10-27