haskell-vty: add version 5.1.0

This commit is contained in:
Mateusz Kowalczyk 2014-06-06 23:56:29 +02:00 committed by Peter Simons
parent f481b682b6
commit 3287542c57
4 changed files with 36 additions and 1 deletions

View file

@ -0,0 +1,32 @@
{ cabal, blazeBuilder, Cabal, dataDefault, deepseq, filepath
, hashable, HUnit, lens, mtl, parallel, parsec, QuickCheck
, quickcheckAssertions, random, smallcheck, stringQq, terminfo
, testFramework, testFrameworkHunit, testFrameworkSmallcheck, text
, transformers, utf8String, vector
}:
cabal.mkDerivation (self: {
pname = "vty";
version = "5.1.0";
sha256 = "0cq9y802z9wq69yw1yy916xsz6j7v8208k5mxixp41375cdm141x";
isLibrary = true;
isExecutable = true;
buildDepends = [
blazeBuilder dataDefault deepseq filepath hashable lens mtl
parallel parsec terminfo text transformers utf8String vector
];
testDepends = [
blazeBuilder Cabal dataDefault deepseq HUnit lens mtl QuickCheck
quickcheckAssertions random smallcheck stringQq terminfo
testFramework testFrameworkHunit testFrameworkSmallcheck text
utf8String vector
];
doCheck = false;
meta = {
homepage = "https://github.com/coreyoconnor/vty";
description = "A simple terminal UI library";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})

View file

@ -44,6 +44,7 @@
modularArithmetic = null; # requires base >= 4.7
pipesBinary = super.pipesBinary.override { binary = self.binary_0_7_2_1; };
singletons = null; # requires base >= 4.7
vty_5_1_0 = super.vty_5_1_0.override { cabal = self.cabal.override { Cabal = self.Cabal_1_18_1_3; }; };
transformers = self.transformers_0_3_0_0; # core packagen in ghc > 7.6.x
zipArchive = super.zipArchive_0_2_2_1; # works without binary 0.7.x
};

View file

@ -2397,7 +2397,9 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
void = callPackage ../development/libraries/haskell/void {};
vty = callPackage ../development/libraries/haskell/vty {};
vty_4_7_5 = callPackage ../development/libraries/haskell/vty/4.7.5.nix {};
vty_5_1_0 = callPackage ../development/libraries/haskell/vty/5.1.0.nix {};
vty = self.vty_4_7_5;
vtyUi = callPackage ../development/libraries/haskell/vty-ui {};