Patch overzealous dependency restrictions in Haskell packages.

This commit is contained in:
Peter Simons 2012-08-23 17:37:40 +02:00
parent 06f1a0bec4
commit 5318c4652c
8 changed files with 25 additions and 1 deletions

View File

@ -10,6 +10,9 @@ cabal.mkDerivation (self: {
base64Bytestring cereal cprngAes cryptoApi cryptocipher entropy
skein tagged
];
patchPhase = ''
sed -i -e 's|, base64-bytestring.*|, base64-bytestring|' clientsession.cabal
'';
meta = {
homepage = "http://github.com/yesodweb/clientsession/tree/master";
description = "Securely store session data in a client-side cookie";

View File

@ -11,6 +11,9 @@ cabal.mkDerivation (self: {
buildDepends = [
Diff filepath HUnit mtl parsec split time utf8String xml
];
patchPhase = ''
sed -i -e 's|split.*,|split,|' filestore.cabal
'';
noHaddock = true;
meta = {
description = "Interface for versioning file stores";

View File

@ -13,6 +13,9 @@ cabal.mkDerivation (self: {
html monadControl mtl network parsec sendfile syb systemFilepath
text time transformers transformersBase utf8String xhtml zlib
];
patchPhase = ''
sed -i -e 's|base64-bytestring.*,|base64-bytestring,|' happstack-server.cabal
'';
meta = {
homepage = "http://happstack.com";
description = "Web related tools and services";

View File

@ -10,6 +10,9 @@ cabal.mkDerivation (self: {
cmdargs csv filepath HUnit mtl parsec regexpr safe shakespeareText
split time transformers utf8String
];
patchPhase = ''
sed -i -e 's|,split.*|,split|' hledger-lib.cabal
'';
meta = {
homepage = "http://hledger.org";
description = "Core data types, parsers and utilities for the hledger accounting tool";

View File

@ -13,6 +13,9 @@ cabal.mkDerivation (self: {
cabalFileTh cmdargs filepath haskeline hledgerLib HUnit mtl parsec
regexpr safe shakespeareText split text time utf8String
];
patchPhase = ''
sed -i -e 's|,split.*|,split|' hledger.cabal
'';
meta = {
homepage = "http://hledger.org";
description = "The main command-line interface for the hledger accounting tool";

View File

@ -7,6 +7,9 @@ cabal.mkDerivation (self: {
buildDepends = [
base64Bytestring blazeBuilder filepath random text
];
patchPhase = ''
sed -i -e 's|, base64-bytestring.*|, base64-bytestring|' mime-mail.cabal
'';
meta = {
homepage = "http://github.com/snoyberg/mime-mail";
description = "Compose MIME email messages";

View File

@ -15,6 +15,9 @@ cabal.mkDerivation (self: {
highlightingKate HTTP json mtl network pandocTypes parsec random
syb tagsoup temporary texmath time utf8String xml zipArchive zlib
];
patchPhase = ''
sed -i -e 's|base64-bytestring.*,|base64-bytestring,|' pandoc.cabal
'';
meta = {
homepage = "http://johnmacfarlane.net/pandoc";
description = "Conversion between markup formats";

View File

@ -13,7 +13,10 @@ cabal.mkDerivation (self: {
cryptoConduit cryptohash fileEmbed httpDate httpTypes mimeTypes
systemFileio systemFilepath text time transformers unixCompat wai
];
meta = {
patchPhase = ''
sed -i -e 's|, base64-bytestring.*|, base64-bytestring|' wai-app-static.cabal
'';
meta = {
homepage = "http://www.yesodweb.com/book/wai";
description = "WAI application for static serving";
license = self.stdenv.lib.licenses.mit;