mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
mailpile: add spambayes dependency to spam/ham emails
This commit is contained in:
parent
9b538a96f1
commit
15006a1788
@ -5,12 +5,12 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "https://github.com/pagekite/Mailpile.git";
|
url = "https://github.com/pagekite/Mailpile.git";
|
||||||
rev = "59b96150822780138ab3567502952caadbc1d73e";
|
rev = "cbb3bbf1f1da653124e63e11a51a6864dcb534a0";
|
||||||
sha256 = "2edf82cbe6d3f17ba776fb5a70caa553f646db30ce207ab957038d845a9677e1";
|
sha256 = "1m2qkhcygidxqnnj2ajsxv8y5wjyp5il3919sl3vyl47gx02xa8j";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with pythonPackages; [
|
propagatedBuildInputs = with pythonPackages; [
|
||||||
pillow jinja2 pythonPackages."lxml-2.3.6" python.modules.readline or null];
|
pillow jinja2 spambayes pythonPackages."lxml-2.3.6" python.modules.readline or null];
|
||||||
|
|
||||||
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";
|
||||||
|
@ -6085,6 +6085,36 @@ pythonPackages = modules // import ./python-packages-generated.nix {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
spambayes = buildPythonPackage rec {
|
||||||
|
name = "spambayes-1.1a6";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/spambayes/${name}.tar.gz";
|
||||||
|
sha256 = "0lqhn2v0avgwxmk4dq9lkwr2g39ls2p6x8hqk5w07wd462cjsx8l";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ pydns lockfile ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Statistical anti-spam filter, initially based on the work of Paul Graham";
|
||||||
|
homepage = http://spambayes.sourceforge.net/;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
pydns = buildPythonPackage rec {
|
||||||
|
name = "pydns-2.3.6";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://pypi.python.org/packages/source/p/pydns/${name}.tar.gz";
|
||||||
|
sha256 = "0qnv7i9824nb5h9psj0rwzjyprwgfiwh5s5raa9avbqazy5hv5pi";
|
||||||
|
};
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
sympy = buildPythonPackage rec {
|
sympy = buildPythonPackage rec {
|
||||||
name = "sympy-0.7.3";
|
name = "sympy-0.7.3";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user