libfprint-2-tod1-goodix: fix driver path
Signed-off-by: Yurii Matsiuk <ymatsiuk@users.noreply.github.com>
This commit is contained in:
parent
b29ed56049
commit
1c552c29ca
|
@ -5,7 +5,7 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "https://git.launchpad.net/~oem-solutions-engineers/libfprint-2-tod1-goodix/+git/libfprint-2-tod1-goodix";
|
url = "https://git.launchpad.net/~oem-solutions-engineers/libfprint-2-tod1-goodix/+git/libfprint-2-tod1-goodix";
|
||||||
rev = "882735c6366fbe30149eea5cfd6d0ddff880f0e4"; # droped-lp1880058 on 20202-11-25
|
rev = "882735c6366fbe30149eea5cfd6d0ddff880f0e4"; # droped-lp1880058 on 2020-11-25
|
||||||
sha256 = "sha256-Uv+Rr4V31DyaZFOj79Lpyfl3G6zVWShh20roI0AvMPU=";
|
sha256 = "sha256-Uv+Rr4V31DyaZFOj79Lpyfl3G6zVWShh20roI0AvMPU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -18,14 +18,14 @@ stdenv.mkDerivation {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out/usr/lib/libfprint-2/tod-1/"
|
mkdir -p "$out/lib/libfprint-2/tod-1/"
|
||||||
mkdir -p "$out/usr/lib/udev/rules.d/"
|
mkdir -p "$out/lib/udev/rules.d/"
|
||||||
|
|
||||||
cp usr/lib/x86_64-linux-gnu/libfprint-2/tod-1/libfprint-tod-goodix-53xc-$version.so "$out/usr/lib/libfprint-2/tod-1/"
|
cp usr/lib/x86_64-linux-gnu/libfprint-2/tod-1/libfprint-tod-goodix-53xc-$version.so "$out/lib/libfprint-2/tod-1/"
|
||||||
cp lib/udev/rules.d/60-libfprint-2-tod1-goodix.rules "$out/usr/lib/udev/rules.d/"
|
cp lib/udev/rules.d/60-libfprint-2-tod1-goodix.rules "$out/lib/udev/rules.d/"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.driverPath = "/usr/lib/libfprint-2/tod-1";
|
passthru.driverPath = "/lib/libfprint-2/tod-1";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Goodix driver module for libfprint-2-tod Touch OEM Driver";
|
description = "Goodix driver module for libfprint-2-tod Touch OEM Driver";
|
||||||
|
|
Loading…
Reference in New Issue