mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
open-fprintd: add gapps wrapper
This commit is contained in:
parent
c6948af6ae
commit
2b5a6f021e
@ -1,4 +1,4 @@
|
||||
{ lib, fetchFromGitHub, python3Packages }:
|
||||
{ lib, fetchFromGitHub, python3Packages, gobject-introspection, wrapGAppsNoGuiHook }:
|
||||
|
||||
python3Packages.buildPythonPackage rec {
|
||||
pname = "open-fprintd";
|
||||
@ -11,6 +11,8 @@ python3Packages.buildPythonPackage rec {
|
||||
sha256 = "sha256-uVFuwtsmR/9epoqot3lJ/5v5OuJjuRjL7FJF7oXNDzU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ wrapGAppsNoGuiHook gobject-introspection ];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [ dbus-python pygobject3 ];
|
||||
|
||||
checkInputs = with python3Packages; [ dbus-python ];
|
||||
@ -30,6 +32,9 @@ python3Packages.buildPythonPackage rec {
|
||||
--replace /usr/lib/open-fprintd "$out/lib/open-fprintd"
|
||||
'';
|
||||
|
||||
dontWrapGApps = true;
|
||||
makeWrapperArgs = [ "\${gappsWrapperArgs[@]}" ];
|
||||
|
||||
postFixup = ''
|
||||
wrapPythonProgramsIn "$out/lib/open-fprintd" "$out $pythonPath"
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user