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