Merge pull request #145329 from fabaff/bump-sievelib
python3Packages.sievelib: 1.1.1 -> 1.2.1
This commit is contained in:
commit
9cad36c40a
1 changed files with 24 additions and 22 deletions
|
@ -1,37 +1,36 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi, fetchpatch, mock
|
{ lib
|
||||||
, future, six, setuptools-scm }:
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, mock
|
||||||
|
, pytestCheckHook
|
||||||
|
, setuptools-scm
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "sievelib";
|
pname = "sievelib";
|
||||||
version = "1.1.1";
|
version = "1.2.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1sl1fnwr5jdacrrnq2rvzh4vv1dyxd3x31vnqga36gj8h546h7mz";
|
sha256 = "sha256-7cubQWqYWjzFt9f01+wBPjcuv5DmTJ2eAOIDEpmvOP0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
nativeBuildInputs = [
|
||||||
(fetchpatch {
|
setuptools-scm
|
||||||
name = "pip-10-pip-req.patch";
|
|
||||||
url = "https://github.com/tonioo/sievelib/commit/1deef0e2bf039a0e817ea6f19aaf1947dc9fafbc.patch";
|
|
||||||
sha256 = "0vaj73mcij9dism8vfaai82irh8j1b2n8gf9jl1a19d2l26jrflk";
|
|
||||||
})
|
|
||||||
(fetchpatch {
|
|
||||||
name = "requirements-in-setup-py.patch";
|
|
||||||
url = "https://github.com/tonioo/sievelib/commit/91f40ec226ea288e98379da01672a46dabd89fc9.patch";
|
|
||||||
sha256 = "0hph89xn16r353rg6f05bh0cgigmwdc736bya089qc03jhssrgns";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ setuptools-scm ];
|
checkInputs = [
|
||||||
propagatedBuildInputs = [ future six ];
|
mock
|
||||||
checkInputs = [ mock ];
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
pythonImportsCheck = [
|
||||||
|
"sievelib"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
description = "Client-side Sieve and Managesieve library written in Python";
|
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 = ''
|
longDescription = ''
|
||||||
A library written in Python that implements RFC 5228 (Sieve: An Email
|
A library written in Python that implements RFC 5228 (Sieve: An Email
|
||||||
Filtering Language) and RFC 5804 (ManageSieve: A Protocol for
|
Filtering Language) and RFC 5804 (ManageSieve: A Protocol for
|
||||||
|
@ -43,5 +42,8 @@ buildPythonPackage rec {
|
||||||
* Vacation (RFC 5230)
|
* Vacation (RFC 5230)
|
||||||
* Imap4flags (RFC 5232)
|
* Imap4flags (RFC 5232)
|
||||||
'';
|
'';
|
||||||
|
homepage = "https://github.com/tonioo/sievelib";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ leenaars ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue