mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 04:57:56 +03:00
python.pkgs.spambayes: 1.1b1 -> 1.1b2
This commit is contained in:
parent
a08837622d
commit
58b6d3fdcb
21
pkgs/development/python-modules/spambayes/default.nix
Normal file
21
pkgs/development/python-modules/spambayes/default.nix
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{ buildPythonPackage, isPy3k, fetchPypi, bsddb3, pydns, lockfile }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
pname = "spambayes";
|
||||||
|
version = "1.1b2";
|
||||||
|
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1542dwdsmkav38cfjlbgf3bzz3z8nk7wzq173ya8ipk7g8g6s64d";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ bsddb3 pydns lockfile ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Statistical anti-spam filter, initially based on the work of Paul Graham";
|
||||||
|
homepage = http://spambayes.sourceforge.net/;
|
||||||
|
};
|
||||||
|
}
|
@ -19829,21 +19829,7 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
spambayes = buildPythonPackage rec {
|
spambayes = callPackage ../development/python-modules/spambayes { };
|
||||||
name = "spambayes-1.1b1";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://sourceforge/spambayes/${name}.tar.gz";
|
|
||||||
sha256 = "0kqvjb89b02wp41p650ydfspi1s8d7akx1igcrw62diidqbxp04n";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ bsddb3 pydns lockfile ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Statistical anti-spam filter, initially based on the work of Paul Graham";
|
|
||||||
homepage = http://spambayes.sourceforge.net/;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
shapely = callPackage ../development/python-modules/shapely { };
|
shapely = callPackage ../development/python-modules/shapely { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user