32 lines
509 B
Nix
32 lines
509 B
Nix
|
|
{ mkDerivation
|
||
|
|
, base
|
||
|
|
, containers
|
||
|
|
, filepath
|
||
|
|
, hakyll
|
||
|
|
, hakyll-contrib-tojnar
|
||
|
|
, pandoc
|
||
|
|
, lib
|
||
|
|
}:
|
||
|
|
|
||
|
|
mkDerivation {
|
||
|
|
pname = "hrob2022-krk-litvinov-cz";
|
||
|
|
version = "0.0.1";
|
||
|
|
|
||
|
|
# Keep the contents of the src/ directory and top-level .cabal file.
|
||
|
|
src = lib.sourceByRegex ./. [ "^src(/.+|$)" "[^/]+\.cabal$" ];
|
||
|
|
|
||
|
|
isLibrary = false;
|
||
|
|
isExecutable = true;
|
||
|
|
|
||
|
|
executableHaskellDepends = [
|
||
|
|
base
|
||
|
|
containers
|
||
|
|
filepath
|
||
|
|
hakyll
|
||
|
|
hakyll-contrib-tojnar
|
||
|
|
pandoc
|
||
|
|
];
|
||
|
|
|
||
|
|
license = lib.licenses.mit;
|
||
|
|
}
|