email_validator: init at 1.0.2

This commit is contained in:
Langston Barrett 2017-07-03 23:30:58 +00:00 committed by Frederik Rietdijk
parent cb77b9c2e9
commit d2c0a46797
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ stdenv, lib, buildPythonPackage, fetchPypi, isPy3k, dns, idna, ipaddress }:
buildPythonPackage rec {
pname = "email_validator";
version = "1.0.2";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "1ja9149l9ck5n45a72h3is7v476hjny5ybxbcamx1nw6iplsm7k6";
};
doCheck = false;
propagatedBuildInputs = [
dns
idna
] ++ (if isPy3k then [ ] else [ ipaddress ]);
meta = with lib; {
description = "A robust email syntax and deliverability validation library for Python 2.x/3.x.";
homepage = https://github.com/JoshData/python-email-validator;
license = licenses.cc0;
maintainers = with maintainers; [ siddharthist ];
platforms = platforms.unix;
};
}

View File

@ -136,6 +136,8 @@ in {
emcee = callPackage ../development/python-modules/emcee { }; emcee = callPackage ../development/python-modules/emcee { };
email_validator = callPackage ../development/python-modules/email-validator { };
dbus-python = callPackage ../development/python-modules/dbus { dbus-python = callPackage ../development/python-modules/dbus {
dbus = pkgs.dbus; dbus = pkgs.dbus;
}; };