mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
Use jailbreak to get rid of overspecified version restrictions to fix
builds of Agda, accelerate-cuda, clientsession, filestore, ghc-events, gitit, happstack, happstack, happstack, hledger-lib, hledger, mime-mail, pandoc, snap, wai-app-static, yesod-static, and urlencoded.
This commit is contained in:
parent
470ade254e
commit
d7d1f995e6
|
@ -13,9 +13,7 @@ cabal.mkDerivation (self: {
|
|||
QuickCheck syb xhtml zlib
|
||||
];
|
||||
buildTools = [ alex happy ];
|
||||
patchPhase = ''
|
||||
sed -i -e 's|mtl == 2.0.\*|mtl|' Agda.cabal
|
||||
'';
|
||||
jailbreak = true;
|
||||
meta = {
|
||||
homepage = "http://wiki.portal.chalmers.se/agda/";
|
||||
description = "A dependently typed functional programming language and proof assistant";
|
||||
|
|
|
@ -12,9 +12,6 @@ cabal.mkDerivation (self: {
|
|||
hashable hashtables languageCQuote mainlandPretty mtl srcloc
|
||||
transformers unorderedContainers
|
||||
];
|
||||
patchPhase = ''
|
||||
sed -i -e 's|\<defaultMain\>|defaultMainWithHooks autoconfUserHooks|' Setup.hs
|
||||
'';
|
||||
meta = {
|
||||
homepage = "http://www.cse.unsw.edu.au/~chak/project/accelerate/";
|
||||
description = "Accelerate backend for NVIDIA GPUs";
|
||||
|
|
|
@ -10,9 +10,7 @@ cabal.mkDerivation (self: {
|
|||
base64Bytestring cereal cprngAes cryptoApi cryptocipher entropy
|
||||
skein tagged
|
||||
];
|
||||
patchPhase = ''
|
||||
sed -i -e 's|, base64-bytestring.*|, base64-bytestring|' clientsession.cabal
|
||||
'';
|
||||
jailbreak = true;
|
||||
meta = {
|
||||
homepage = "http://github.com/yesodweb/clientsession/tree/master";
|
||||
description = "Securely store session data in a client-side cookie";
|
||||
|
|
|
@ -11,9 +11,7 @@ cabal.mkDerivation (self: {
|
|||
buildDepends = [
|
||||
Diff filepath HUnit mtl parsec split time utf8String xml
|
||||
];
|
||||
patchPhase = ''
|
||||
sed -i -e 's|split.*,|split,|' filestore.cabal
|
||||
'';
|
||||
jailbreak = true;
|
||||
noHaddock = true;
|
||||
meta = {
|
||||
description = "Interface for versioning file stores";
|
||||
|
|
|
@ -7,9 +7,7 @@ cabal.mkDerivation (self: {
|
|||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [ binary mtl ];
|
||||
patchPhase = ''
|
||||
sed -i -e 's|mtl *>=.*$|mtl,|' ghc-events.cabal
|
||||
'';
|
||||
jailbreak = true;
|
||||
noHaddock = true;
|
||||
meta = {
|
||||
description = "Library and tool for parsing .eventlog files from GHC";
|
||||
|
|
|
@ -18,9 +18,7 @@ cabal.mkDerivation (self: {
|
|||
safe SHA syb tagsoup text time url utf8String xhtml xml xssSanitize
|
||||
zlib
|
||||
];
|
||||
patchPhase = ''
|
||||
sed -i -e 's|hslogger.*,|hslogger,|' -e 's|base64-bytestring.*,|base64-bytestring,|' gitit.cabal
|
||||
'';
|
||||
jailbreak = true;
|
||||
meta = {
|
||||
homepage = "http://gitit.net";
|
||||
description = "Wiki using happstack, git or darcs, and pandoc";
|
||||
|
|
|
@ -5,9 +5,7 @@ cabal.mkDerivation (self: {
|
|||
version = "7.0.1";
|
||||
sha256 = "13ayypl2x402h6a7yq7fvgd2mn21gl5gcw2hk7f5vr2bdlvwv53n";
|
||||
buildDepends = [ hamlet happstackServer text ];
|
||||
patchPhase = ''
|
||||
sed -i -e 's|hamlet .*,|hamlet,|' happstack-hamlet.cabal
|
||||
'';
|
||||
jailbreak = true;
|
||||
meta = {
|
||||
homepage = "http://www.happstack.com/";
|
||||
description = "Support for Hamlet HTML templates in Happstack";
|
||||
|
|
|
@ -13,9 +13,7 @@ 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
|
||||
'';
|
||||
jailbreak = true;
|
||||
meta = {
|
||||
homepage = "http://happstack.com";
|
||||
description = "Web related tools and services";
|
||||
|
|
|
@ -12,9 +12,7 @@ cabal.mkDerivation (self: {
|
|||
extensibleExceptions filepath hslogger mtl network parsec random
|
||||
time unixCompat
|
||||
];
|
||||
patchPhase = ''
|
||||
sed -i -e 's|mtl >= 1.1 && < 2.1|mtl|' happstack-util.cabal
|
||||
'';
|
||||
jailbreak = true;
|
||||
meta = {
|
||||
homepage = "http://happstack.com";
|
||||
description = "Web framework";
|
||||
|
|
|
@ -10,9 +10,7 @@ cabal.mkDerivation (self: {
|
|||
cmdargs csv filepath HUnit mtl parsec regexpr safe shakespeareText
|
||||
split time transformers utf8String
|
||||
];
|
||||
patchPhase = ''
|
||||
sed -i -e 's|,split.*|,split|' -e 's|,cmdargs.*|,cmdargs|' hledger-lib.cabal
|
||||
'';
|
||||
jailbreak = true;
|
||||
meta = {
|
||||
homepage = "http://hledger.org";
|
||||
description = "Core data types, parsers and utilities for the hledger accounting tool";
|
||||
|
|
|
@ -13,9 +13,7 @@ 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|' -e 's|,cmdargs.*|,cmdargs|' hledger.cabal
|
||||
'';
|
||||
jailbreak = true;
|
||||
meta = {
|
||||
homepage = "http://hledger.org";
|
||||
description = "The main command-line interface for the hledger accounting tool";
|
||||
|
|
|
@ -7,9 +7,7 @@ cabal.mkDerivation (self: {
|
|||
buildDepends = [
|
||||
base64Bytestring blazeBuilder filepath random text
|
||||
];
|
||||
patchPhase = ''
|
||||
sed -i -e 's|, base64-bytestring.*|, base64-bytestring|' mime-mail.cabal
|
||||
'';
|
||||
jailbreak = true;
|
||||
meta = {
|
||||
homepage = "http://github.com/snoyberg/mime-mail";
|
||||
description = "Compose MIME email messages";
|
||||
|
|
|
@ -15,9 +15,7 @@ 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
|
||||
'';
|
||||
jailbreak = true;
|
||||
meta = {
|
||||
homepage = "http://johnmacfarlane.net/pandoc";
|
||||
description = "Conversion between markup formats";
|
||||
|
|
|
@ -19,9 +19,7 @@ cabal.mkDerivation (self: {
|
|||
snapServer stm syb text time transformers unorderedContainers
|
||||
utf8String vector vectorAlgorithms xmlhtml
|
||||
];
|
||||
patchPhase = ''
|
||||
sed -i snap.cabal -e 's|clientsession.*,|clientsession,|'
|
||||
'';
|
||||
jailbreak = true;
|
||||
meta = {
|
||||
homepage = "http://snapframework.com/";
|
||||
description = "Snap: A Haskell Web Framework: project starter executable and glue code library";
|
||||
|
|
|
@ -7,9 +7,7 @@ cabal.mkDerivation (self: {
|
|||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [ mtl network split ];
|
||||
patchPhase = ''
|
||||
sed -i -e 's|split.*|split|' urlencoded.cabal
|
||||
'';
|
||||
jailbreak = true;
|
||||
meta = {
|
||||
homepage = "https://github.com/pheaver/urlencoded";
|
||||
description = "Generate or process x-www-urlencoded data";
|
||||
|
|
|
@ -13,10 +13,8 @@ cabal.mkDerivation (self: {
|
|||
cryptoConduit cryptohash fileEmbed httpDate httpTypes mimeTypes
|
||||
systemFileio systemFilepath text time transformers unixCompat wai
|
||||
];
|
||||
patchPhase = ''
|
||||
sed -i -e 's|, base64-bytestring.*|, base64-bytestring|' wai-app-static.cabal
|
||||
'';
|
||||
meta = {
|
||||
jailbreak = true;
|
||||
meta = {
|
||||
homepage = "http://www.yesodweb.com/book/wai";
|
||||
description = "WAI application for static serving";
|
||||
license = self.stdenv.lib.licenses.mit;
|
||||
|
|
|
@ -12,9 +12,7 @@ cabal.mkDerivation (self: {
|
|||
httpTypes systemFilepath text transformers unixCompat wai
|
||||
waiAppStatic yesodCore
|
||||
];
|
||||
patchPhase = ''
|
||||
sed -i yesod-static.cabal -e 's|, base64-bytestring.*|, base64-bytestring|'
|
||||
'';
|
||||
jailbreak = true;
|
||||
meta = {
|
||||
homepage = "http://www.yesodweb.com/";
|
||||
description = "Static file serving subsite for Yesod Web Framework";
|
||||
|
|
Loading…
Reference in a new issue