From 67aa9b723ef122070645420d3ca3da89ad1878b6 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 26 Oct 2014 19:37:12 +0100 Subject: [PATCH] haskell-hakyll: update to version 4.5.5.1 Jailbreak to fix build with random 1.1. https://github.com/jaspervdj/hakyll/issues/307 --- .../libraries/haskell/hakyll/default.nix | 12 +++++------ .../libraries/haskell/hakyll/deps.patch | 20 ------------------- 2 files changed, 5 insertions(+), 27 deletions(-) delete mode 100644 pkgs/development/libraries/haskell/hakyll/deps.patch diff --git a/pkgs/development/libraries/haskell/hakyll/default.nix b/pkgs/development/libraries/haskell/hakyll/default.nix index b5fc3115142d..5ea667542f40 100644 --- a/pkgs/development/libraries/haskell/hakyll/default.nix +++ b/pkgs/development/libraries/haskell/hakyll/default.nix @@ -11,12 +11,10 @@ cabal.mkDerivation (self: { pname = "hakyll"; - version = "4.5.5.0"; - sha256 = "1igna446dsidlq3f9myclgcdawgvyyjxjk3r3icjra6zgdqd6j4l"; + version = "4.5.5.1"; + sha256 = "060wcak242p2gja616bdair4sg2k04s8cld5nlk8p3b6an2isld9"; isLibrary = true; isExecutable = true; - patches = [ ./deps.patch ]; - doCheck = !self.stdenv.isDarwin; buildDepends = [ binary blazeHtml blazeMarkup cmdargs cryptohash dataDefault deepseq filepath fsnotify httpConduit httpTypes lrucache mtl network @@ -28,14 +26,14 @@ cabal.mkDerivation (self: { filepath fsnotify httpConduit httpTypes HUnit lrucache mtl network networkUri pandoc pandocCiteproc parsec QuickCheck random regexBase regexTdfa snapCore snapServer systemFilepath tagsoup testFramework - testFrameworkHunit testFrameworkQuickcheck2 text time - ] ++ (self.stdenv.lib.optional self.stdenv.isLinux utillinux); + testFrameworkHunit testFrameworkQuickcheck2 text time utillinux + ]; + jailbreak = true; meta = { homepage = "http://jaspervdj.be/hakyll"; description = "A static website compiler library"; license = self.stdenv.lib.licenses.bsd3; platforms = self.ghc.meta.platforms; maintainers = with self.stdenv.lib.maintainers; [ fuuzetsu ]; - broken = self.stdenv.lib.versionOlder "7.7" self.ghc.version; }; }) diff --git a/pkgs/development/libraries/haskell/hakyll/deps.patch b/pkgs/development/libraries/haskell/hakyll/deps.patch deleted file mode 100644 index 873d3159f9ab..000000000000 --- a/pkgs/development/libraries/haskell/hakyll/deps.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/hakyll.cabal.orig 2014-10-16 17:34:22.000000000 -0500 -+++ b/hakyll.cabal 2014-10-16 17:34:30.000000000 -0500 -@@ -163,7 +163,7 @@ - pandoc-citeproc >= 0.4 && < 0.5, - parsec >= 3.0 && < 3.2, - process >= 1.0 && < 1.3, -- random >= 1.0 && < 1.1, -+ random >= 1.0 && < 1.2, - regex-base >= 0.93 && < 0.94, - regex-tdfa >= 1.1 && < 1.3, - tagsoup >= 0.13.1 && < 0.14, -@@ -250,7 +250,7 @@ - pandoc-citeproc >= 0.4 && < 0.5, - parsec >= 3.0 && < 3.2, - process >= 1.0 && < 1.3, -- random >= 1.0 && < 1.1, -+ random >= 1.0 && < 1.2, - regex-base >= 0.93 && < 0.94, - regex-tdfa >= 1.1 && < 1.3, - tagsoup >= 0.13.1 && < 0.14,