2016-10-17 06:47:37 -07:00
|
|
|
{ stdenv, fetchurl, python2Packages }:
|
2010-10-17 12:30:59 -07:00
|
|
|
|
2016-10-17 06:47:37 -07:00
|
|
|
python2Packages.buildPythonApplication rec {
|
2018-10-30 08:03:29 -07:00
|
|
|
pname = "getmail";
|
2018-11-10 03:08:07 -08:00
|
|
|
version = "5.8";
|
2011-03-28 06:13:15 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-30 08:03:29 -07:00
|
|
|
url = "http://pyropus.ca/software/getmail/old-versions/${pname}-${version}.tar.gz";
|
2018-11-10 03:08:07 -08:00
|
|
|
sha256 = "0vl4cc733pd9d21y4pr4jc1ly657d0akxj1bdh1xfjggx33l3541";
|
2010-10-17 12:30:59 -07:00
|
|
|
};
|
|
|
|
|
2011-03-28 06:13:15 -07:00
|
|
|
doCheck = false;
|
2010-10-17 12:30:59 -07:00
|
|
|
|
2017-03-04 15:48:17 -08: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 12:30:59 -07:00
|
|
|
meta = {
|
2011-03-28 06:13:15 -07:00
|
|
|
description = "A program for retrieving mail";
|
2016-05-17 04:57:28 -07:00
|
|
|
maintainers = [ stdenv.lib.maintainers.raskin stdenv.lib.maintainers.domenkozar ];
|
2011-03-28 06:13:15 -07:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-09-02 01:58:32 -07:00
|
|
|
|
2017-08-01 13:03:30 -07:00
|
|
|
homepage = http://pyropus.ca/software/getmail/;
|
2014-09-02 01:58:32 -07:00
|
|
|
inherit version;
|
|
|
|
updateWalker = true;
|
2018-08-05 07:43:09 -07:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2010-10-17 12:30:59 -07:00
|
|
|
};
|
2011-03-28 06:13:15 -07:00
|
|
|
}
|