2021-01-25 00:26:54 -08:00
|
|
|
{ lib, 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";
|
2019-09-26 10:25:53 -07:00
|
|
|
version = "5.14";
|
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";
|
2019-09-26 10:25:53 -07:00
|
|
|
sha256 = "1hcrd9h4g12f5gvl1djsbchcjry02ghq4icdr897s8v48pkrzagk";
|
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";
|
2021-03-03 02:50:26 -08:00
|
|
|
maintainers = [ lib.maintainers.raskin ];
|
2021-01-15 01:19:50 -08:00
|
|
|
platforms = lib.platforms.linux;
|
2014-09-02 01:58:32 -07:00
|
|
|
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://pyropus.ca/software/getmail/";
|
2014-09-02 01:58:32 -07:00
|
|
|
inherit version;
|
|
|
|
updateWalker = true;
|
2021-01-15 01:19:50 -08:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2010-10-17 12:30:59 -07:00
|
|
|
};
|
2011-03-28 06:13:15 -07:00
|
|
|
}
|