2013-09-18 17:05:15 +02:00
|
|
|
{ cabal, c2hs, ncurses, text, transformers }:
|
2013-08-21 23:39:07 +02:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "ncurses";
|
2014-04-17 21:13:15 +02:00
|
|
|
version = "0.2.8";
|
|
|
|
sha256 = "0i8kbi8q0l6vka5i64aanhsid2yf8w2fj3fk33y7bv7kl791hynp";
|
2013-08-21 23:39:07 +02:00
|
|
|
buildDepends = [ text transformers ];
|
|
|
|
buildTools = [ c2hs ];
|
2013-09-18 17:05:15 +02:00
|
|
|
extraLibraries = [ ncurses ];
|
2013-09-21 10:23:44 +02:00
|
|
|
patchPhase = "find . -type f -exec sed -i -e 's|ncursesw/||' {} \\;";
|
2013-08-21 23:39:07 +02: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;
|
|
|
|
};
|
|
|
|
})
|