2016-02-19 12:12:11 +00:00
|
|
|
{ stdenv, fetchurl, bash, buildPythonApplication }:
|
2014-02-26 05:33:51 +00:00
|
|
|
|
2016-02-19 12:12:11 +00:00
|
|
|
buildPythonApplication rec {
|
2014-02-26 05:33:51 +00:00
|
|
|
version = "1.3";
|
|
|
|
name = "apt-offline-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
#url = "https://alioth.debian.org/frs/download.php/file/3855/${name}.tar.gz";
|
|
|
|
# The above URL has two problems: it requires one to be logged in, and it
|
|
|
|
# uses a CA that curl doesn't know about. Instead, we use this mirror:
|
|
|
|
url = "http://www.falsifian.org/a/cFi5/${name}.tar.gz";
|
|
|
|
sha256 = "1sp7ai2abzhbg9y84700qziybphvpzl2nk3mz1d1asivzyjvxlxy";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ];
|
|
|
|
|
|
|
|
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 10:53:46 +00: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
|
|
|
};
|
|
|
|
}
|