2013-09-18 16:05:15 +01:00
|
|
|
{ cabal, c2hs, ncurses, text, transformers }:
|
2013-08-21 22:39:07 +01:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "ncurses";
|
2013-09-28 09:48:09 +01:00
|
|
|
version = "0.2.7";
|
|
|
|
sha256 = "026p6b2apgi9r65py45h3rl57xgwzyamq511a0rsb7myzagw22vz";
|
2013-08-21 22:39:07 +01:00
|
|
|
buildDepends = [ text transformers ];
|
|
|
|
buildTools = [ c2hs ];
|
2013-09-18 16:05:15 +01:00
|
|
|
extraLibraries = [ ncurses ];
|
2013-09-21 09:23:44 +01:00
|
|
|
patchPhase = "find . -type f -exec sed -i -e 's|ncursesw/||' {} \\;";
|
2013-08-21 22:39:07 +01:00
|
|
|
meta = {
|
|
|
|
homepage = "https://john-millikin.com/software/haskell-ncurses/";
|
|
|
|
description = "Modernised bindings to GNU ncurses";
|
|
|
|
license = self.stdenv.lib.licenses.gpl3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|