mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 01:24:47 +00:00
apt-offline: 1.8.4 -> 1.8.5
This commit is contained in:
parent
1751247c95
commit
48dc37ae96
@ -6,13 +6,13 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
pname = "apt-offline";
|
pname = "apt-offline";
|
||||||
version = "1.8.4";
|
version = "1.8.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rickysarraf";
|
owner = "rickysarraf";
|
||||||
repo = "apt-offline";
|
repo = "apt-offline";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-RBf/QG0ewLS6gnQTBXi0I18z8QrxoBAqEXZ7dro9z5A=";
|
hash = "sha256-KkJwQ9EpOSJK9PaM747l6Gqp8Z8SWvuo3TJ+Ry6d0l4=";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
python3Packages.buildPythonApplication {
|
python3Packages.buildPythonApplication {
|
||||||
@ -23,12 +23,11 @@ python3Packages.buildPythonApplication {
|
|||||||
--replace /usr/bin/ "$out/bin"
|
--replace /usr/bin/ "$out/bin"
|
||||||
|
|
||||||
substituteInPlace apt_offline_core/AptOfflineCoreLib.py \
|
substituteInPlace apt_offline_core/AptOfflineCoreLib.py \
|
||||||
--replace /usr/bin/gpgv "${gnupg}/bin/gpgv"
|
--replace /usr/bin/gpgv "${lib.getBin gnupg}/bin/gpgv"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preFixup = ''
|
postFixup = ''
|
||||||
rm "$out/bin/apt-offline-gui"
|
rm "$out/bin/apt-offline-gui" "$out/bin/apt-offline-gui-pkexec"
|
||||||
rm "$out/bin/apt-offline-gui-pkexec"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = false; # API incompatibilities, maybe?
|
doCheck = false; # API incompatibilities, maybe?
|
||||||
@ -43,3 +42,4 @@ python3Packages.buildPythonApplication {
|
|||||||
maintainers = with lib.maintainers; [ AndersonTorres ];
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
# TODO: verify GUI and pkexec
|
||||||
|
Loading…
Reference in New Issue
Block a user