mailpile: use python2
This commit is contained in:
parent
862f981317
commit
eb926468e9
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchgit, pythonPackages, gnupg1orig, makeWrapper, openssl }:
|
{ stdenv, fetchgit, python2Packages, gnupg1orig, makeWrapper, openssl }:
|
||||||
|
|
||||||
pythonPackages.buildPythonApplication rec {
|
python2Packages.buildPythonApplication rec {
|
||||||
name = "mailpile-${version}";
|
name = "mailpile-${version}";
|
||||||
version = "0.4.1";
|
version = "0.4.1";
|
||||||
|
|
||||||
@ -11,11 +11,11 @@ pythonPackages.buildPythonApplication rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
substituteInPlace setup.py --replace "data_files.append((dir" "data_files.append(('lib/${pythonPackages.python.libPrefix}/site-packages/' + dir"
|
substituteInPlace setup.py --replace "data_files.append((dir" "data_files.append(('lib/${python2Packages.python.libPrefix}/site-packages/' + dir"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = with pythonPackages; [
|
propagatedBuildInputs = with python2Packages; [
|
||||||
makeWrapper pillow jinja2 spambayes pythonPackages.lxml
|
makeWrapper pillow jinja2 spambayes python2Packages.lxml
|
||||||
pgpdump gnupg1orig
|
pgpdump gnupg1orig
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -24,6 +24,9 @@ pythonPackages.buildPythonApplication rec {
|
|||||||
--prefix PATH ":" "${stdenv.lib.makeBinPath [ gnupg1orig openssl ]}"
|
--prefix PATH ":" "${stdenv.lib.makeBinPath [ gnupg1orig openssl ]}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# No tests were found
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A modern, fast web-mail client with user-friendly encryption and privacy features";
|
description = "A modern, fast web-mail client with user-friendly encryption and privacy features";
|
||||||
homepage = https://www.mailpile.is/;
|
homepage = https://www.mailpile.is/;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user