Add pipes-binary Haskell package

This commit is contained in:
Mihaly Barasz 2014-03-04 17:35:22 +01:00
parent b97d6b0318
commit 66c9ac3b77
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ cabal, binary, lensFamilyCore, pipes, pipesBytestring, pipesParse
, smallcheck, tasty, tastyHunit, tastySmallcheck, transformers
}:
cabal.mkDerivation (self: {
pname = "pipes-binary";
version = "0.4.0";
sha256 = "021shl5czrr82b06awy7biy93qf6nh0wwiadhr7qsawzdnzqz2vc";
buildDepends = [
binary pipes pipesBytestring pipesParse transformers
];
testDepends = [
binary lensFamilyCore pipes pipesParse smallcheck tasty tastyHunit
tastySmallcheck transformers
];
# Depends on an out-of-date version of smallcheck
doCheck = false;
meta = {
homepage = "https://github.com/k0001/pipes-binary";
description = "Encode and decode binary streams using the pipes and binary libraries";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1929,6 +1929,10 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
pipesAttoparsec = callPackage ../development/libraries/haskell/pipes-attoparsec {};
pipesBinary = callPackage ../development/libraries/haskell/pipes-binary {
binary = self.binary_0_7_1_0;
};
pipesBytestring = callPackage ../development/libraries/haskell/pipes-bytestring {};
pipesConcurrency = callPackage ../development/libraries/haskell/pipes-concurrency {};