Skip to content

Commit

Permalink
haskell-vty: add version 5.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuuzetsu authored and peti committed Jun 9, 2014
1 parent f481b68 commit 3287542
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 1 deletion.
32 changes: 32 additions & 0 deletions pkgs/development/libraries/haskell/vty/5.1.0.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
})
1 change: 1 addition & 0 deletions pkgs/top-level/haskell-defaults.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
Expand Down
4 changes: 3 additions & 1 deletion pkgs/top-level/haskell-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {};

Expand Down

0 comments on commit 3287542

Please sign in to comment.