1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
nixpkgs/pkgs/development/libraries/haskell/hakyll/default.nix
2013-10-18 12:52:26 +02:00

40 lines
1.5 KiB
Nix

{ cabal, binary, blazeHtml, blazeMarkup, cmdargs, cryptohash
, dataDefault, deepseq, filepath, fsnotify, httpConduit, httpTypes
, HUnit, lrucache, mtl, network, pandoc, pandocCiteproc, parsec
, QuickCheck, random, regexBase, regexTdfa, snapCore, snapServer
, systemFilepath, tagsoup, testFramework, testFrameworkHunit
, testFrameworkQuickcheck2, text, time
}:
cabal.mkDerivation (self: {
pname = "hakyll";
version = "4.4.1.0";
sha256 = "17bns61l5d0h8qyhbz5gnc4j9yjjajk57whp0j4gfshaq0s2aif9";
isLibrary = true;
isExecutable = true;
buildDepends = [
binary blazeHtml blazeMarkup cmdargs cryptohash dataDefault deepseq
filepath fsnotify httpConduit httpTypes lrucache mtl network pandoc
pandocCiteproc parsec random regexBase regexTdfa snapCore
snapServer systemFilepath tagsoup text time
];
testDepends = [
binary blazeHtml blazeMarkup cmdargs cryptohash dataDefault deepseq
filepath fsnotify httpConduit httpTypes HUnit lrucache mtl network
pandoc pandocCiteproc parsec QuickCheck random regexBase regexTdfa
snapCore snapServer systemFilepath tagsoup testFramework
testFrameworkHunit testFrameworkQuickcheck2 text time
];
patchPhase = ''
sed -i -e 's|cryptohash.*,|cryptohash,|' -e 's|tagsoup.*,|tagsoup,|' hakyll.cabal
'';
doCheck = false;
meta = {
homepage = "http://jaspervdj.be/hakyll";
description = "A static website compiler library";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})