2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, python3Packages }:
|
2014-02-26 05:33:51 +00:00
|
|
|
|
2018-08-03 17:13:38 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
version = "1.8.1";
|
|
|
|
pname = "apt-offline";
|
2014-02-26 05:33:51 +00:00
|
|
|
|
2018-08-03 17:13:38 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rickysarraf";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0k79d1d8jiwg1s684r05njmk1dz8gsb8a9bl4agz7m31snc11j84";
|
2014-02-26 05:33:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
# Requires python-qt4 (feel free to get it working).
|
|
|
|
preFixup = ''rm "$out/bin/apt-offline-gui"'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-06-20 10:53:46 +00:00
|
|
|
description = "Offline APT package manager";
|
2014-02-26 05:48:36 +00:00
|
|
|
license = licenses.gpl3;
|
2020-02-16 22:12:44 +00:00
|
|
|
maintainers = [ ];
|
2014-03-10 20:38:24 +00:00
|
|
|
platforms = platforms.linux;
|
2014-02-26 05:33:51 +00:00
|
|
|
};
|
|
|
|
}
|