about summary refs log tree commit diff
path: root/services/tazblog
diff options
context:
space:
mode:
Diffstat (limited to 'services/tazblog')
-rw-r--r--services/tazblog/default.nix7
-rw-r--r--services/tazblog/tazblog.nix22
2 files changed, 29 insertions, 0 deletions
diff --git a/services/tazblog/default.nix b/services/tazblog/default.nix
new file mode 100644
index 000000000000..3999f2b278cd
--- /dev/null
+++ b/services/tazblog/default.nix
@@ -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 {}
diff --git a/services/tazblog/tazblog.nix b/services/tazblog/tazblog.nix
new file mode 100644
index 000000000000..1b65384fa6b6
--- /dev/null
+++ b/services/tazblog/tazblog.nix
@@ -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;
+}