diff options
author | James Cook <james.cook@utoronto.ca> | 2014-02-25 21:33:51 -0800 |
---|---|---|
committer | James Cook <james.cook@utoronto.ca> | 2014-02-25 21:33:51 -0800 |
commit | 2294553cb1c458d9cde5d9ae4baae886f4d07c93 (patch) | |
tree | 214ee2aae3149dc3ac5e6234c1b6ad415fee41a4 /pkgs/tools/misc/apt-offline | |
parent | 258c7536be8f74242f29b012dd1f1094cdd36fb7 (diff) |
apt-offline: offline APT package manager
Diffstat (limited to 'pkgs/tools/misc/apt-offline')
-rw-r--r-- | pkgs/tools/misc/apt-offline/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/misc/apt-offline/default.nix b/pkgs/tools/misc/apt-offline/default.nix new file mode 100644 index 0000000000000..bac0b94555b4a --- /dev/null +++ b/pkgs/tools/misc/apt-offline/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchurl, bash, buildPythonPackage }: + +buildPythonPackage rec { + 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; { + description = "offline APT package manager"; + license = licences.gpl3; + maintainers = [ maintainers.falsifian ]; + }; +} |