feat(tazblog): Add Nix build configuration
This commit is contained in:
parent
207c6dac0c
commit
5c3ac08fcf
2 changed files with 29 additions and 0 deletions
7
services/tazblog/default.nix
Normal file
7
services/tazblog/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Build configuration for the blog using plain Nix.
|
||||
#
|
||||
# tazblog.nix was generated using cabal2nix.
|
||||
|
||||
{ pkgs ? import <nixpkgs> {} }:
|
||||
|
||||
pkgs.haskell.packages.ghc865.callPackage ./tazblog.nix {}
|
22
services/tazblog/tazblog.nix
Normal file
22
services/tazblog/tazblog.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ mkDerivation, acid-state, base, base64-bytestring, blaze-html
|
||||
, blaze-markup, bytestring, crypto-api, cryptohash, hamlet
|
||||
, happstack-server, ixset, markdown, mtl, network, network-uri
|
||||
, old-locale, options, rss, safecopy, shakespeare, stdenv, text
|
||||
, time, transformers
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "tazblog";
|
||||
version = "5.1.3";
|
||||
src = ./.;
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
libraryHaskellDepends = [
|
||||
acid-state base base64-bytestring blaze-html blaze-markup
|
||||
bytestring crypto-api cryptohash hamlet happstack-server ixset
|
||||
markdown mtl network network-uri old-locale rss safecopy
|
||||
shakespeare text time transformers
|
||||
];
|
||||
executableHaskellDepends = [ acid-state base network options ];
|
||||
description = "Tazjin's Blog";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
}
|
Loading…
Reference in a new issue