mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:13:33 +00:00
a30df95691
This change brings support for building and running the regressions test suites.
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 ];
|
|
};
|
|
})
|