nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 30 lines 632 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6}: 7 8buildPythonPackage rec { 9 pname = "imaplib2"; 10 version = "3.6"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "jazzband"; 15 repo = "imaplib2"; 16 rev = "v${version}"; 17 sha256 = "14asi3xnvf4bb394k5j8c3by6svvmrr75pawzy6kaax5jx0h793m"; 18 }; 19 20 nativeCheckInputs = [ pytestCheckHook ]; 21 22 pythonImportsCheck = [ "imaplib2" ]; 23 24 meta = { 25 description = "Threaded Python IMAP4 client"; 26 homepage = "https://github.com/jazzband/imaplib2"; 27 license = lib.licenses.mit; 28 maintainers = with lib.maintainers; [ dotlambda ]; 29 }; 30}