nixpkgs/pkgs/tools/networking/getmail/default.nix

31 lines
851 B
Nix
Raw Normal View History

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