offlineimap: use python2

This commit is contained in:
rnhmjoj 2018-06-03 03:18:29 +02:00
parent 1ba3d8b7d1
commit 026ec8cfb5
No known key found for this signature in database
GPG Key ID: 91BE884FBA4B591A

View File

@ -1,10 +1,9 @@
{ stdenv, fetchFromGitHub, pythonPackages,
{ stdenv, fetchFromGitHub, python2Packages,
asciidoc, libxml2, libxslt, docbook_xsl }:
pythonPackages.buildPythonApplication rec {
python2Packages.buildPythonApplication rec {
version = "7.2.1";
name = "offlineimap-${version}";
namePrefix = "";
pname = "offlineimap";
src = fetchFromGitHub {
owner = "OfflineIMAP";
@ -21,7 +20,7 @@ pythonPackages.buildPythonApplication rec {
doCheck = false;
nativeBuildInputs = [ asciidoc libxml2 libxslt docbook_xsl ];
propagatedBuildInputs = [ pythonPackages.six pythonPackages.kerberos ];
propagatedBuildInputs = with python2Packages; [ six kerberos ];
postInstall = ''
make -C docs man