waydroid: 1.3.4 -> 1.4.1

This commit is contained in:
Dmitriy Kholkin 2023-03-03 02:52:20 +03:00
parent c35303e987
commit 7800869591
No known key found for this signature in database
GPG key ID: FD266B810DF48DF2

View file

@ -11,7 +11,6 @@
, iproute2
, iptables
, util-linux
, which
, wrapGAppsHook
, xclip
, runtimeShell
@ -19,14 +18,14 @@
python3Packages.buildPythonApplication rec {
pname = "waydroid";
version = "1.3.4";
version = "1.4.1";
format = "other";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "sha256-0GBob9BUwiE5cFGdK8AdwsTjTOdc+AIWqUGN/gFfOqI=";
sha256 = "sha256-0AkNzMIumvgnVcLKX72E2+Eg54Y9j7tdIYPsroOTLWA=";
};
buildInputs = [
@ -39,6 +38,7 @@ python3Packages.buildPythonApplication rec {
];
propagatedBuildInputs = with python3Packages; [
dbus-python
gbinder-python
pyclip
pygobject3
@ -63,6 +63,7 @@ python3Packages.buildPythonApplication rec {
wrapPythonProgramsIn $out/lib/waydroid/ "${lib.concatStringsSep " " [
"$out"
python3Packages.dbus-python
python3Packages.gbinder-python
python3Packages.pygobject3
python3Packages.pyclip
@ -70,15 +71,11 @@ python3Packages.buildPythonApplication rec {
kmod
lxc
util-linux
which
xclip
]}"
substituteInPlace $out/lib/waydroid/tools/helpers/*.py \
--replace '"sh"' '"${runtimeShell}"'
substituteInPlace $out/share/applications/*.desktop \
--replace "/usr" "$out"
'';
meta = with lib; {