summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/ncurses/default.nix
blob: 3a5cd89b926704c1844348c90202ed48693709ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# This file was auto-generated by cabal2nix. Please do NOT edit manually!

{ cabal, c2hs, ncurses, text, transformers }:

cabal.mkDerivation (self: {
  pname = "ncurses";
  version = "0.2.11";
  sha256 = "08jr224i37jxrprka9c276sid6mw001m8r2krd6g8jscshwd5nzk";
  buildDepends = [ text transformers ];
  buildTools = [ c2hs ];
  extraLibraries = [ ncurses ];
  patchPhase = "find . -type f -exec sed -i -e 's|ncursesw/||' {} \\;";
  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;
  };
})