mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
a30df95691
This change brings support for building and running the regressions test suites.
22 lines
691 B
Nix
22 lines
691 B
Nix
{ cabal, conduit, filesystemConduit, hspec, HUnit, resourcet
|
|
, systemFilepath, tagstreamConduit, text, transformers, xmlConduit
|
|
, xmlTypes
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "html-conduit";
|
|
version = "1.1.0";
|
|
sha256 = "11mkr7plhbn8kyki0h362habzhsnlb7yrg4ypy48d0l3i7p7vm53";
|
|
buildDepends = [
|
|
conduit filesystemConduit resourcet systemFilepath tagstreamConduit
|
|
text transformers xmlConduit xmlTypes
|
|
];
|
|
testDepends = [ hspec HUnit xmlConduit ];
|
|
meta = {
|
|
homepage = "https://github.com/snoyberg/xml";
|
|
description = "Parse HTML documents using xml-conduit datatypes";
|
|
license = self.stdenv.lib.licenses.mit;
|
|
platforms = self.ghc.meta.platforms;
|
|
};
|
|
})
|