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

31 lines
879 B
Nix
Raw Normal View History

2016-10-17 13:47:37 +00:00
{ stdenv, fetchurl, python2Packages }:
2016-10-17 13:47:37 +00:00
python2Packages.buildPythonApplication rec {
2018-10-30 15:03:29 +00:00
pname = "getmail";
2018-11-10 11:08:07 +00:00
version = "5.8";
src = fetchurl {
2018-10-30 15:03:29 +00:00
url = "http://pyropus.ca/software/getmail/old-versions/${pname}-${version}.tar.gz";
2018-11-10 11:08:07 +00:00
sha256 = "0vl4cc733pd9d21y4pr4jc1ly657d0akxj1bdh1xfjggx33l3541";
};
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 08:58:32 +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;
};
}