summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorAndres Löh <mail@andres-loeh.de>2009-04-20 00:18:51 +0000
committerAndres Löh <mail@andres-loeh.de>2009-04-20 00:18:51 +0000
commit0fc7bf4f000c82962e0d4f2706898f77261514b3 (patch)
treebc8358411621d519e7cf3b60e3f9b57a22b2b940 /pkgs/development
parent035c84d06fad391c50854e821c964b14640bdfd9 (diff)
Added vacuum plus deps.
svn path=/nixpkgs/trunk/; revision=15166
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/libraries/haskell/haskell-src-exts/default.nix13
-rw-r--r--pkgs/development/libraries/haskell/haskell-src-meta/default.nix12
-rw-r--r--pkgs/development/libraries/haskell/vacuum/default.nix12
-rw-r--r--pkgs/development/tools/misc/cpphs/default.nix10
4 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/haskell-src-exts/default.nix b/pkgs/development/libraries/haskell/haskell-src-exts/default.nix
new file mode 100644
index 0000000000000..ad372e6ef7c78
--- /dev/null
+++ b/pkgs/development/libraries/haskell/haskell-src-exts/default.nix
@@ -0,0 +1,13 @@
+{cabal, cpphs, happy}:
+
+cabal.mkDerivation (self : {
+  pname = "haskell-src-exts";
+  version = "0.4.8";
+  sha256 = "f059f698681b262b2a4725735b99ecbafec721ccadab65fcf075c2fc5d346dec";
+  extraBuildInputs = [happy];
+  propagatedBuildInputs = [cpphs];
+  meta = {
+    description = "Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer";
+  };
+})  
+
diff --git a/pkgs/development/libraries/haskell/haskell-src-meta/default.nix b/pkgs/development/libraries/haskell/haskell-src-meta/default.nix
new file mode 100644
index 0000000000000..b6cb87155cc67
--- /dev/null
+++ b/pkgs/development/libraries/haskell/haskell-src-meta/default.nix
@@ -0,0 +1,12 @@
+{cabal, haskellSrcExts}:
+
+cabal.mkDerivation (self : {
+  pname = "haskell-src-meta";
+  version = "0.0.3.1";
+  sha256 = "74d450fd9d50edfd3cdad5c2860da2af3454b280bd37b401e16e2f492bfb5e15";
+  propagatedBuildInputs = [haskellSrcExts];
+  meta = {
+    description = "Parse source to template-haskell abstract syntax";
+  };
+})  
+
diff --git a/pkgs/development/libraries/haskell/vacuum/default.nix b/pkgs/development/libraries/haskell/vacuum/default.nix
new file mode 100644
index 0000000000000..75ac4778ed0ee
--- /dev/null
+++ b/pkgs/development/libraries/haskell/vacuum/default.nix
@@ -0,0 +1,12 @@
+{cabal, ghcPaths, haskellSrcMeta}:
+
+cabal.mkDerivation (self : {
+  pname = "vacuum";
+  version = "0.0.91";
+  sha256 = "9240ec35b39d60928a73469893adf1d2aa742b9a781dbc6dcdaa54e96d9bf1af";
+  propagatedBuildInputs = [ghcPaths haskellSrcMeta];
+  meta = {
+    description = "Generic programming with systems of recursive datatypes";
+  };
+})  
+
diff --git a/pkgs/development/tools/misc/cpphs/default.nix b/pkgs/development/tools/misc/cpphs/default.nix
new file mode 100644
index 0000000000000..9b806ff474f17
--- /dev/null
+++ b/pkgs/development/tools/misc/cpphs/default.nix
@@ -0,0 +1,10 @@
+{cabal} :
+
+cabal.mkDerivation (self : {
+  pname = "cpphs";
+  version = "1.6";
+  sha256 = "2e7c430fde17adbb3905e6d2a3c3845a40349c61a53fcfa40c733e8b43e73295";
+  meta = {
+    description = "A liberalised re-implementation of cpp, the C pre-processor";
+  };
+})