nixpkgs-suyu/pkgs/development/libraries/haskell/email-validate/default.nix
2014-02-02 22:36:11 +01:00

21 lines
715 B
Nix

{ cabal, attoparsec, HUnit, QuickCheck, testFramework
, testFrameworkHunit, testFrameworkQuickcheck2
}:
cabal.mkDerivation (self: {
pname = "email-validate";
version = "2.0.1";
sha256 = "1qxvcm8xiyz50ganzic8cm8nxswq361i80yi939y3n89dk067lzj";
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 ];
};
})