summary refs log tree commit diff
path: root/services
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-06-29T13·11+0100
committerVincent Ambo <tazjin@google.com>2019-06-29T13·11+0100
commit5c3ac08fcfd5efdc7240c7a4ca99ad1e013e4d45 (patch)
tree76e0e6cd65fee5ddb057117603a4cf20d30828ef /services
parent207c6dac0c27c70429043b94b5ccd10979489230 (diff)
feat(tazblog): Add Nix build configuration r/3
Diffstat (limited to 'services')
-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;
+}