2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchurl, python2Packages }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
python2Packages.buildPythonApplication rec {
|
|
|
|
pname = "getmail";
|
|
|
|
version = "5.14";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pyropus.ca/software/getmail/old-versions/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "1hcrd9h4g12f5gvl1djsbchcjry02ghq4icdr897s8v48pkrzagk";
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A program for retrieving mail";
|
2021-01-17 00:15:33 +00:00
|
|
|
maintainers = [ lib.maintainers.raskin lib.maintainers.domenkozar ];
|
2021-01-15 22:18:51 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
homepage = "http://pyropus.ca/software/getmail/";
|
|
|
|
inherit version;
|
|
|
|
updateWalker = true;
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|