f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
31 lines
855 B
Nix
31 lines
855 B
Nix
{ stdenv, fetchurl, python2Packages }:
|
|
|
|
python2Packages.buildPythonApplication rec {
|
|
version = "4.54.0";
|
|
name = "getmail-${version}";
|
|
namePrefix = "";
|
|
|
|
src = fetchurl {
|
|
url = "http://pyropus.ca/software/getmail/old-versions/${name}.tar.gz";
|
|
sha256 = "0r9s91zrdm6xklnj1fwzz74cxhkbmrgrrp86n62qgijkafa5fmnl";
|
|
};
|
|
|
|
doCheck = false;
|
|
|
|
postPatch = ''
|
|
# getmail spends a lot of effort to build an absolute path for
|
|
# documentation installation; too bad it is counterproductive now
|
|
sed -e '/datadir or prefix,/d' -i setup.py
|
|
'';
|
|
|
|
meta = {
|
|
description = "A program for retrieving mail";
|
|
maintainers = [ stdenv.lib.maintainers.raskin stdenv.lib.maintainers.domenkozar ];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
homepage = http://pyropus.ca/software/getmail/;
|
|
inherit version;
|
|
updateWalker = true;
|
|
};
|
|
}
|