summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/hakyll/default.nix
blob: 4f50ab449508e392776e8cd8024a5c603f709981 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{ cabal, binary, blazeHtml, blazeMarkup, citeprocHs, cmdargs
, cryptohash, dataDefault, deepseq, filepath, httpConduit
, httpTypes, HUnit, lrucache, mtl, pandoc, parsec, QuickCheck
, random, regexBase, regexTdfa, snapCore, snapServer, tagsoup
, testFramework, testFrameworkHunit, testFrameworkQuickcheck2, text
, time
}:

cabal.mkDerivation (self: {
  pname = "hakyll";
  version = "4.2.2.0";
  sha256 = "0kz8v2ip0hmvqnrxgv44g2863z1dql88razl7aa3fw01q56ihz0y";
  isLibrary = true;
  isExecutable = true;
  buildDepends = [
    binary blazeHtml blazeMarkup citeprocHs cmdargs cryptohash
    dataDefault deepseq filepath httpConduit httpTypes lrucache mtl
    pandoc parsec random regexBase regexTdfa snapCore snapServer
    tagsoup text time
  ];
  testDepends = [
    binary blazeHtml blazeMarkup citeprocHs cmdargs cryptohash
    dataDefault deepseq filepath httpConduit httpTypes HUnit lrucache
    mtl pandoc parsec QuickCheck random regexBase regexTdfa snapCore
    snapServer tagsoup testFramework testFrameworkHunit
    testFrameworkQuickcheck2 text time
  ];
  doCheck = false;
  patchPhase = ''
    sed -i -e 's|cryptohash .*,|cryptohash,|' hakyll.cabal
  '';
  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
      self.stdenv.lib.maintainers.simons
    ];
  };
})