summary refs log tree commit diff
path: root/pkgs/applications/editors/yi
diff options
context:
space:
mode:
authorBenno Fünfstück <benno.fuenfstueck@gmail.com>2014-01-04 23:46:05 +0100
committerBenno Fünfstück <benno.fuenfstueck@gmail.com>2014-01-08 19:11:33 +0100
commiteddb74a5cf5d550be85e85c49d1885e7fadd9c62 (patch)
tree02af348bf30b01628fab4adc7ac977c278880848 /pkgs/applications/editors/yi
parentd1c1fce801e6c87cd1f46778d56e95e6fba4a885 (diff)
New expressions: yi, yi contrib and dependencies
Diffstat (limited to 'pkgs/applications/editors/yi')
-rw-r--r--pkgs/applications/editors/yi/yi-contrib.nix14
-rw-r--r--pkgs/applications/editors/yi/yi.nix38
2 files changed, 52 insertions, 0 deletions
diff --git a/pkgs/applications/editors/yi/yi-contrib.nix b/pkgs/applications/editors/yi/yi-contrib.nix
new file mode 100644
index 0000000000000..e2fadcca345d2
--- /dev/null
+++ b/pkgs/applications/editors/yi/yi-contrib.nix
@@ -0,0 +1,14 @@
+{ cabal, dataAccessor, filepath, mtl, split, yi }:
+
+cabal.mkDerivation (self: {
+  pname = "yi-contrib";
+  version = "0.7.0";
+  sha256 = "12x9ps5yrszr8dlj15kmsm9myq3gzd9x9nacvl3x6cq91wk53mzj";
+  buildDepends = [ dataAccessor filepath mtl split yi ];
+  meta = {
+    homepage = "http://haskell.org/haskellwiki/Yi";
+    description = "Add-ons to Yi, the Haskell-Scriptable Editor";
+    license = "GPL";
+    platforms = self.ghc.meta.platforms;
+  };
+})
diff --git a/pkgs/applications/editors/yi/yi.nix b/pkgs/applications/editors/yi/yi.nix
new file mode 100644
index 0000000000000..01ddd5a9d8e57
--- /dev/null
+++ b/pkgs/applications/editors/yi/yi.nix
@@ -0,0 +1,38 @@
+{ cabal, alex, binary, Cabal, cautiousFile, concreteTyperep
+, dataAccessor, dataAccessorMtl, dataAccessorTemplate, derive, Diff
+, dlist, dyre, filepath, fingertree, ghcPaths, hashable, hint
+, HUnit, mtl, parsec, pointedlist, pureMD5, QuickCheck, random
+, regexBase, regexTdfa, split, testFramework, testFrameworkHunit
+, time, uniplate, unixCompat, unorderedContainers, utf8String, vty
+, pango, gtk, gio, glib, cairo
+, xdgBasedir
+}:
+
+cabal.mkDerivation (self: {
+  pname = "yi";
+  version = "0.7.0";
+  sha256 = "0mzcjgp12k5mxb37r6chxsk726b1qxds49ch656bpgrg7n22w2j1";
+  isLibrary = true;
+  isExecutable = true;
+  buildDepends = [
+    binary Cabal cautiousFile concreteTyperep dataAccessor
+    dataAccessorMtl dataAccessorTemplate derive Diff dlist dyre
+    filepath fingertree ghcPaths hashable hint mtl parsec pointedlist
+    pureMD5 QuickCheck random regexBase regexTdfa split time uniplate
+    unixCompat unorderedContainers utf8String vty xdgBasedir pango gtk
+    gio glib cairo
+  ];
+  testDepends = [
+    filepath HUnit QuickCheck testFramework testFrameworkHunit
+  ];
+  buildTools = [ alex ];
+  meta = {
+    homepage = "http://haskell.org/haskellwiki/Yi";
+    description = "The Haskell-Scriptable Editor";
+    license = "GPL";
+    platforms = self.ghc.meta.platforms;
+  };
+  configureFlags="-fpango";
+  jailbreak=true;
+  doCheck=false; # Tests fail in version on hackage because files are missing
+})