3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/getmail/default.nix

31 lines
852 B
Nix
Raw Normal View History

2016-10-17 14:47:37 +01:00
{ stdenv, fetchurl, python2Packages }:
2016-10-17 14:47:37 +01:00
python2Packages.buildPythonApplication rec {
2017-11-11 14:21:56 +00:00
version = "5.4";
2014-09-02 09:58:32 +01:00
name = "getmail-${version}";
namePrefix = "";
src = fetchurl {
url = "http://pyropus.ca/software/getmail/old-versions/${name}.tar.gz";
2017-11-11 14:21:56 +00:00
sha256 = "1iwss9z94p165gxr2yw7s9q12a0bn71fcdbikzkykr5s7xxnz2ds";
};
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";
maintainers = [ stdenv.lib.maintainers.raskin stdenv.lib.maintainers.domenkozar ];
platforms = stdenv.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;
};
}