apt-offline: 1.8.4 -> 1.8.5

This commit is contained in:
Anderson Torres 2023-11-13 19:14:12 -03:00
parent 1751247c95
commit 48dc37ae96

View file

@ -6,13 +6,13 @@
let
pname = "apt-offline";
version = "1.8.4";
version = "1.8.5";
src = fetchFromGitHub {
owner = "rickysarraf";
repo = "apt-offline";
rev = "v${version}";
hash = "sha256-RBf/QG0ewLS6gnQTBXi0I18z8QrxoBAqEXZ7dro9z5A=";
hash = "sha256-KkJwQ9EpOSJK9PaM747l6Gqp8Z8SWvuo3TJ+Ry6d0l4=";
};
in
python3Packages.buildPythonApplication {
@ -23,12 +23,11 @@ python3Packages.buildPythonApplication {
--replace /usr/bin/ "$out/bin"
substituteInPlace apt_offline_core/AptOfflineCoreLib.py \
--replace /usr/bin/gpgv "${gnupg}/bin/gpgv"
--replace /usr/bin/gpgv "${lib.getBin gnupg}/bin/gpgv"
'';
preFixup = ''
rm "$out/bin/apt-offline-gui"
rm "$out/bin/apt-offline-gui-pkexec"
postFixup = ''
rm "$out/bin/apt-offline-gui" "$out/bin/apt-offline-gui-pkexec"
'';
doCheck = false; # API incompatibilities, maybe?
@ -43,3 +42,4 @@ python3Packages.buildPythonApplication {
maintainers = with lib.maintainers; [ AndersonTorres ];
};
}
# TODO: verify GUI and pkexec