parent
f217c0ea7c
commit
f66f47dd8c
@ -0,0 +1,31 @@ |
||||
{ stdenv, fetchFromGitHub, python3Packages, lib }: |
||||
|
||||
python3Packages.buildPythonApplication rec { |
||||
pname = "getmail6"; |
||||
version = "6.14"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = pname; |
||||
repo = pname; |
||||
rev = "v${version}"; |
||||
sha256 = "1a3bw4wwdapd9n051dgwqldd8gwiipb5shaz08qwp1jndpvylm7d"; |
||||
}; |
||||
|
||||
doCheck = false; |
||||
|
||||
pythonImportsCheck = [ "getmailcore" ]; |
||||
|
||||
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 = with lib; { |
||||
description = "A program for retrieving mail"; |
||||
homepage = "https://getmail6.org"; |
||||
updateWalker = true; |
||||
license = licenses.gpl2Plus; |
||||
maintainers = with maintainers; [ abbe ]; |
||||
}; |
||||
} |
Loading…
Reference in new issue