about summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell
diff options
context:
space:
mode:
authorAndres Löh <mail@andres-loeh.de>2010-10-13 21:18:35 +0000
committerAndres Löh <mail@andres-loeh.de>2010-10-13 21:18:35 +0000
commitb421bbd0eaff6e50b438255e6cbf3a42dd4c7197 (patch)
tree61bf0862ad3d8238b408cce6a66a477d3a6b7bd9 /pkgs/development/libraries/haskell
parente82053ac947797f0bf49481a1acfc9aaa712b09c (diff)
Added a few Haskell packages as submitted by Ilya Cassina.
svn path=/nixpkgs/trunk/; revision=24269
Diffstat (limited to 'pkgs/development/libraries/haskell')
-rw-r--r--pkgs/development/libraries/haskell/Graphalyze/default.nix13
-rw-r--r--pkgs/development/libraries/haskell/bktrees/default.nix12
-rw-r--r--pkgs/development/libraries/haskell/colour/default.nix12
-rw-r--r--pkgs/development/libraries/haskell/graphviz/default.nix13
4 files changed, 50 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/Graphalyze/default.nix b/pkgs/development/libraries/haskell/Graphalyze/default.nix
new file mode 100644
index 0000000000000..0eca1c7edfc12
--- /dev/null
+++ b/pkgs/development/libraries/haskell/Graphalyze/default.nix
@@ -0,0 +1,13 @@
+{cabal, bktrees, fgl, graphviz, pandoc}:
+
+cabal.mkDerivation (self : {
+  pname = "Graphalyze";
+  version = "0.10.0.1";
+  sha256 = "8f273de41c7c340d2c7c8b4797d30535e4038616055099cc52bc5d21c10d9f22";
+  propagatedBuildInputs = [bktrees fgl graphviz pandoc ];
+  meta = {
+    description = "A library to use graph theory analysis";
+    license = "OtherLicene";
+  };
+})  
+
diff --git a/pkgs/development/libraries/haskell/bktrees/default.nix b/pkgs/development/libraries/haskell/bktrees/default.nix
new file mode 100644
index 0000000000000..03452a99f2bbb
--- /dev/null
+++ b/pkgs/development/libraries/haskell/bktrees/default.nix
@@ -0,0 +1,12 @@
+{cabal}:
+
+cabal.mkDerivation (self : {
+  pname = "bktrees";
+  version = "0.3";
+  sha256 = "ddef9fbf5114175cefe2908cd4360a4b94cbc91daac6d5194a8911bacaa1a5da";
+  meta = {
+    description = "Burkhard-Keller trees sets implementation";
+    license = "BSD3";
+  };
+})  
+
diff --git a/pkgs/development/libraries/haskell/colour/default.nix b/pkgs/development/libraries/haskell/colour/default.nix
new file mode 100644
index 0000000000000..661f1507ab182
--- /dev/null
+++ b/pkgs/development/libraries/haskell/colour/default.nix
@@ -0,0 +1,12 @@
+{cabal}:
+
+cabal.mkDerivation (self : {
+  pname = "colour";
+  version = "2.3.1";
+  sha256 = "58cf12b8abf7d01a752b1b778b64cc406903874702e3475d65c2aa35689fa49b";
+  meta = {
+    description = "Data type, conversion and composition of colours";
+    license = "OtherLicense";
+  };
+})  
+
diff --git a/pkgs/development/libraries/haskell/graphviz/default.nix b/pkgs/development/libraries/haskell/graphviz/default.nix
new file mode 100644
index 0000000000000..f747d81e6c6d5
--- /dev/null
+++ b/pkgs/development/libraries/haskell/graphviz/default.nix
@@ -0,0 +1,13 @@
+{cabal, colour, fgl, polyparse, transformers, QuickCheck}:
+
+cabal.mkDerivation (self : {
+  pname = "graphviz";
+  version = "2999.10.0.1";
+  sha256 = "5a3aebd3874303dcf554aef3bf511dd22e72053a9672c823d1d820d2b90ca076";
+  propagatedBuildInputs = [colour fgl polyparse transformers QuickCheck];
+  meta = {
+    description = "Bindings for the Dot language (Graphviz)";
+    license = "BSD3";
+  };
+})  
+