mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
bd01fad0ed
In line with the Nixpkgs manual. A mechanical change, done with this command: find pkgs -name "*.nix" | \ while read f; do \ sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \ done I manually skipped some: * Descriptions starting with an abbreviation, a user name or package name * Frequently generated expressions (haskell-packages.nix)
28 lines
864 B
Nix
28 lines
864 B
Nix
{ stdenv, fetchurl, bash, buildPythonApplication }:
|
|
|
|
buildPythonApplication 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 = licenses.gpl3;
|
|
maintainers = [ maintainers.falsifian ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|