mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
Merge pull request #1474 from bennofs/editor-yi
New expressions: yi, yi contrib and dependencies
This commit is contained in:
commit
e480a68f4f
6 changed files with 107 additions and 0 deletions
14
pkgs/applications/editors/yi/yi-contrib.nix
Normal file
14
pkgs/applications/editors/yi/yi-contrib.nix
Normal file
|
@ -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;
|
||||
};
|
||||
})
|
38
pkgs/applications/editors/yi/yi.nix
Normal file
38
pkgs/applications/editors/yi/yi.nix
Normal file
|
@ -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
|
||||
})
|
|
@ -0,0 +1,18 @@
|
|||
{ cabal, binary, hashable, QuickCheck, testFramework
|
||||
, testFrameworkQuickcheck2
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "concrete-typerep";
|
||||
version = "0.1.0.2";
|
||||
sha256 = "07wy8drg4723zdy2172jrcvd5ir2c4ggcfz1n33jhm9iv3cl2app";
|
||||
buildDepends = [ binary hashable ];
|
||||
testDepends = [
|
||||
binary hashable QuickCheck testFramework testFrameworkQuickcheck2
|
||||
];
|
||||
meta = {
|
||||
description = "Binary and Hashable instances for TypeRep";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
|
@ -0,0 +1,14 @@
|
|||
{ cabal, dataAccessor, mtl }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "data-accessor-mtl";
|
||||
version = "0.2.0.3";
|
||||
sha256 = "1aksmm4ykb96khgq5y4vd40zbn4c73hgl21xvyc295cwxsyrbvbk";
|
||||
buildDepends = [ dataAccessor mtl ];
|
||||
meta = {
|
||||
homepage = "http://www.haskell.org/haskellwiki/Record_access";
|
||||
description = "Use Accessor to access state in mtl State monad class";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
13
pkgs/development/libraries/haskell/pointedlist/default.nix
Normal file
13
pkgs/development/libraries/haskell/pointedlist/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ cabal, binary, derive }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "pointedlist";
|
||||
version = "0.6";
|
||||
sha256 = "16sfw77w46f7rjd1lpdfzi1bdgf81siy2sj71xqkqbsz6cvkjakg";
|
||||
buildDepends = [ binary derive ];
|
||||
meta = {
|
||||
description = "A zipper-like comonad which works as a list, tracking a position";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
|
@ -767,6 +767,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
|
|||
|
||||
concatenative = callPackage ../development/libraries/haskell/concatenative {};
|
||||
|
||||
concreteTyperep = callPackage ../development/libraries/haskell/concreteTyperep {};
|
||||
|
||||
conduit = callPackage ../development/libraries/haskell/conduit {};
|
||||
|
||||
ConfigFile = callPackage ../development/libraries/haskell/ConfigFile {};
|
||||
|
@ -841,6 +843,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
|
|||
|
||||
dataAccessorTransformers = callPackage ../development/libraries/haskell/data-accessor/data-accessor-transformers.nix {};
|
||||
|
||||
dataAccessorMtl = callPackage ../development/libraries/haskell/data-accessor/data-accessor-mtl.nix {};
|
||||
|
||||
dataBinaryIeee754 = callPackage ../development/libraries/haskell/data-binary-ieee754 {};
|
||||
|
||||
dataDefault = callPackage ../development/libraries/haskell/data-default {};
|
||||
|
@ -1795,6 +1799,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
|
|||
|
||||
pointed = callPackage ../development/libraries/haskell/pointed {};
|
||||
|
||||
pointedlist = callPackage ../development/libraries/haskell/pointedlist {};
|
||||
|
||||
poolConduit = callPackage ../development/libraries/haskell/pool-conduit {};
|
||||
|
||||
pop3client = callPackage ../development/libraries/haskell/pop3-client {};
|
||||
|
@ -2604,6 +2610,10 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
|
|||
QuickCheck = self.QuickCheck2;
|
||||
};
|
||||
|
||||
yi = callPackage ../applications/editors/yi/yi.nix {};
|
||||
|
||||
yiContrib = callPackage ../applications/editors/yi/yi-contrib.nix {};
|
||||
|
||||
xmobar = callPackage ../applications/misc/xmobar {};
|
||||
|
||||
xmonad = callPackage ../applications/window-managers/xmonad {};
|
||||
|
|
Loading…
Reference in a new issue