pythonPackages.sievelib: init at 1.1.1 (#48817)
* pythonPackages.sievelib: init at 1.1.1 (#48817)
This commit is contained in:
parent
bea10bfcab
commit
f7b2518397
41
pkgs/development/python-modules/sievelib/default.nix
Normal file
41
pkgs/development/python-modules/sievelib/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, fetchpatch, mock
|
||||
, future, six, setuptools_scm }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sievelib";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1sl1fnwr5jdacrrnq2rvzh4vv1dyxd3x31vnqga36gj8h546h7mz";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/tonioo/sievelib/commit/1deef0e2bf039a0e817ea6f19aaf1947dc9fafbc.patch";
|
||||
sha256 = "0vaj73mcij9dism8vfaai82irh8j1b2n8gf9jl1a19d2l26jrflk";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ setuptools_scm ];
|
||||
propagatedBuildInputs = [ future six ];
|
||||
checkInputs = [ mock ];
|
||||
|
||||
meta = {
|
||||
description = "Client-side Sieve and Managesieve library written in Python";
|
||||
homepage = https://github.com/tonioo/sievelib;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ leenaars ];
|
||||
longDescription = ''
|
||||
A library written in Python that implements RFC 5228 (Sieve: An Email
|
||||
Filtering Language) and RFC 5804 (ManageSieve: A Protocol for
|
||||
Remotely Managing Sieve Scripts), as well as the following extensions:
|
||||
|
||||
* Copying Without Side Effects (RFC 3894)
|
||||
* Body (RFC 5173)
|
||||
* Date and Index (RFC 5260)
|
||||
* Vacation (RFC 5230)
|
||||
* Imap4flags (RFC 5232)
|
||||
'';
|
||||
};
|
||||
}
|
@ -2068,6 +2068,8 @@ in {
|
||||
|
||||
setuptools-git = callPackage ../development/python-modules/setuptools-git { };
|
||||
|
||||
sievelib = callPackage ../development/python-modules/sievelib { };
|
||||
|
||||
watchdog = callPackage ../development/python-modules/watchdog { };
|
||||
|
||||
zope_deprecation = callPackage ../development/python-modules/zope_deprecation { };
|
||||
|
Loading…
Reference in New Issue
Block a user