From eddb74a5cf5d550be85e85c49d1885e7fadd9c62 Mon Sep 17 00:00:00 2001 From: Benno Fünfstück Date: Sat, 4 Jan 2014 23:46:05 +0100 Subject: New expressions: yi, yi contrib and dependencies --- pkgs/applications/editors/yi/yi-contrib.nix | 14 +++++++++++ pkgs/applications/editors/yi/yi.nix | 38 +++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 pkgs/applications/editors/yi/yi-contrib.nix create mode 100644 pkgs/applications/editors/yi/yi.nix (limited to 'pkgs/applications/editors') diff --git a/pkgs/applications/editors/yi/yi-contrib.nix b/pkgs/applications/editors/yi/yi-contrib.nix new file mode 100644 index 000000000000..e2fadcca345d --- /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 000000000000..01ddd5a9d8e5 --- /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 +}) -- cgit 1.4.1