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