2018-08-03 18:13:38 +01:00
|
|
|
{ stdenv, fetchFromGitHub, python3Packages }:
|
2014-02-26 05:33:51 +00:00
|
|
|
|
2018-08-03 18:13:38 +01:00
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
version = "1.8.1";
|
|
|
|
pname = "apt-offline";
|
2014-02-26 05:33:51 +00:00
|
|
|
|
2018-08-03 18:13:38 +01: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"'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2016-06-20 11:53:46 +01:00
|
|
|
description = "Offline APT package manager";
|
2014-02-26 05:48:36 +00:00
|
|
|
license = licenses.gpl3;
|
2014-02-26 05:33:51 +00:00
|
|
|
maintainers = [ maintainers.falsifian ];
|
2014-03-10 20:38:24 +00:00
|
|
|
platforms = platforms.linux;
|
2014-02-26 05:33:51 +00:00
|
|
|
};
|
|
|
|
}
|