forked from mirrors/nixpkgs
3b2254a3af
There is no point in receiving hundreds of e-mails; I cannot read them anyway.
22 lines
715 B
Nix
22 lines
715 B
Nix
{ cabal, attoparsec, HUnit, QuickCheck, testFramework
|
|
, testFrameworkHunit, testFrameworkQuickcheck2
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "email-validate";
|
|
version = "1.0.0";
|
|
sha256 = "0sj1cvn9ap0m8d4cg4cqavvmkd74vp86lyyra9g6f17815sxdbsg";
|
|
buildDepends = [ attoparsec ];
|
|
testDepends = [
|
|
HUnit QuickCheck testFramework testFrameworkHunit
|
|
testFrameworkQuickcheck2
|
|
];
|
|
meta = {
|
|
homepage = "http://porg.es/blog/email-address-validation-simpler-faster-more-correct";
|
|
description = "Validating an email address string against RFC 5322";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
};
|
|
})
|