Merge pull request #145329 from fabaff/bump-sievelib

python3Packages.sievelib: 1.1.1 -> 1.2.1
This commit is contained in:
Fabian Affolter 2021-11-11 23:36:30 +01:00 committed by GitHub
commit 9cad36c40a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ];
}; };
} }