2016-10-17 14:47:37 +01:00
|
|
|
{ stdenv, fetchurl, python2Packages }:
|
2010-10-17 20:30:59 +01:00
|
|
|
|
2016-10-17 14:47:37 +01:00
|
|
|
python2Packages.buildPythonApplication rec {
|
2017-03-04 23:48:17 +00:00
|
|
|
version = "4.54.0";
|
2014-09-02 09:58:32 +01:00
|
|
|
name = "getmail-${version}";
|
2011-03-28 14:13:15 +01:00
|
|
|
namePrefix = "";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pyropus.ca/software/getmail/old-versions/${name}.tar.gz";
|
2017-03-04 23:48:17 +00:00
|
|
|
sha256 = "0r9s91zrdm6xklnj1fwzz74cxhkbmrgrrp86n62qgijkafa5fmnl";
|
2010-10-17 20:30:59 +01:00
|
|
|
};
|
|
|
|
|
2011-03-28 14:13:15 +01:00
|
|
|
doCheck = false;
|
2010-10-17 20:30:59 +01:00
|
|
|
|
2017-03-04 23:48:17 +00:00
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2010-10-17 20:30:59 +01:00
|
|
|
meta = {
|
2011-03-28 14:13:15 +01:00
|
|
|
description = "A program for retrieving mail";
|
2016-05-17 12:57:28 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.raskin stdenv.lib.maintainers.domenkozar ];
|
2011-03-28 14:13:15 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-09-02 09:58:32 +01:00
|
|
|
|
|
|
|
homepage = "http://pyropus.ca/software/getmail/";
|
|
|
|
inherit version;
|
|
|
|
updateWalker = true;
|
2010-10-17 20:30:59 +01:00
|
|
|
};
|
2011-03-28 14:13:15 +01:00
|
|
|
}
|