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 base64Bytestring cereal cprngAes cryptoApi cryptocipher entropy
skein tagged skein tagged
]; ];
patchPhase = ''
sed -i -e 's|, base64-bytestring.*|, base64-bytestring|' clientsession.cabal
'';
meta = { meta = {
homepage = "http://github.com/yesodweb/clientsession/tree/master"; homepage = "http://github.com/yesodweb/clientsession/tree/master";
description = "Securely store session data in a client-side cookie"; description = "Securely store session data in a client-side cookie";

View File

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

View File

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

View File

@ -10,6 +10,9 @@ cabal.mkDerivation (self: {
cmdargs csv filepath HUnit mtl parsec regexpr safe shakespeareText cmdargs csv filepath HUnit mtl parsec regexpr safe shakespeareText
split time transformers utf8String split time transformers utf8String
]; ];
patchPhase = ''
sed -i -e 's|,split.*|,split|' hledger-lib.cabal
'';
meta = { meta = {
homepage = "http://hledger.org"; homepage = "http://hledger.org";
description = "Core data types, parsers and utilities for the hledger accounting tool"; 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 cabalFileTh cmdargs filepath haskeline hledgerLib HUnit mtl parsec
regexpr safe shakespeareText split text time utf8String regexpr safe shakespeareText split text time utf8String
]; ];
patchPhase = ''
sed -i -e 's|,split.*|,split|' hledger.cabal
'';
meta = { meta = {
homepage = "http://hledger.org"; homepage = "http://hledger.org";
description = "The main command-line interface for the hledger accounting tool"; description = "The main command-line interface for the hledger accounting tool";

View File

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

View File

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

View File

@ -13,7 +13,10 @@ cabal.mkDerivation (self: {
cryptoConduit cryptohash fileEmbed httpDate httpTypes mimeTypes cryptoConduit cryptohash fileEmbed httpDate httpTypes mimeTypes
systemFileio systemFilepath text time transformers unixCompat wai 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"; homepage = "http://www.yesodweb.com/book/wai";
description = "WAI application for static serving"; description = "WAI application for static serving";
license = self.stdenv.lib.licenses.mit; license = self.stdenv.lib.licenses.mit;