[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
165/182: gnu: Add ghc-ncurses.
From: |
guix-commits |
Subject: |
165/182: gnu: Add ghc-ncurses. |
Date: |
Fri, 15 Nov 2019 00:02:03 -0500 (EST) |
kkebreau pushed a commit to branch wip-gnome-updates
in repository guix.
commit f3f54f217edad30dfd75f67ddbeac95172551e5a
Author: Efraim Flashner <address@hidden>
Date: Sun Nov 3 22:08:26 2019 +0200
gnu: Add ghc-ncurses.
* gnu/packages/haskell-xyz.scm (ghc-ncurses): New variable.
---
gnu/packages/haskell-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 217c78a..e0cb34c 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -6753,6 +6753,43 @@ between 2 and 3 times faster than the Mersenne Twister.")
`(("ghc-hashable" ,ghc-hashable-bootstrap)))
(properties '((hidden? #t)))))
+(define-public ghc-ncurses
+ (package
+ (name "ghc-ncurses")
+ (version "0.2.16")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/ncurses/ncurses-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0gsyyaqyh5r9zc0rhwpj5spyd6i4w2vj61h4nihgmmh0yyqvf3z5"))))
+ (build-system haskell-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'fix-includes
+ (lambda _
+ (substitute* '("cbits/hsncurses-shim.h"
+ "lib/UI/NCurses.chs"
+ "lib/UI/NCurses/Enums.chs"
+ "lib/UI/NCurses/Panel.chs")
+ (("<ncursesw/") "<"))
+ #t)))
+ #:cabal-revision
+ ("1"
+ "1wfdy716s5p1sqp2gsg43x8wch2dxg0vmbbndlb2h3d8c9jzxnca")))
+ (inputs `(("ncurses" ,ncurses)))
+ (native-inputs `(("ghc-c2hs" ,ghc-c2hs)))
+ (home-page "https://john-millikin.com/software/haskell-ncurses/")
+ (synopsis "Modernised bindings to GNU ncurses")
+ (description "GNU ncurses is a library for creating command-line
application
+with pseudo-graphical interfaces. This package is a nice, modern binding to
GNU
+ncurses.")
+ (license license:gpl3)))
+
(define-public ghc-network
(package
(name "ghc-network")
- 150/182: gnu: fvwm: Update to 2.6.9., (continued)
- 150/182: gnu: fvwm: Update to 2.6.9., guix-commits, 2019/11/15
- 149/182: gnu: fvwm: Don't use NAME in source URI., guix-commits, 2019/11/15
- 154/182: gnu: gimp: Update to 2.10.14., guix-commits, 2019/11/15
- 153/182: gnu: gegl: Update to 0.4.18., guix-commits, 2019/11/15
- 158/182: gnu: faad2: Use HTTPS home page., guix-commits, 2019/11/15
- 164/182: gnu: LibreSSL: Make search paths single-entry., guix-commits, 2019/11/15
- 169/182: gnu: raincat: Use 'mirror-url'., guix-commits, 2019/11/15
- 175/182: gnu: limnoria: Update to 2019.11.09 [security fix]., guix-commits, 2019/11/15
- 161/182: gnu: Remove monero-miniupnpc., guix-commits, 2019/11/15
- 160/182: gnu: cgal: Update to 4.14.2., guix-commits, 2019/11/15
- 165/182: gnu: Add ghc-ncurses.,
guix-commits <=
- 179/182: gnu: Add boost-with-python3., guix-commits, 2019/11/15
- 181/182: gnu: jalv: Fix gtkmm, add gtk+-2 and qtbase., guix-commits, 2019/11/15
- 180/182: gnu: zita-convolver: Update to 4.0.3., guix-commits, 2019/11/15
- 171/182: gnu: polkit-qt: Use https for home-page., guix-commits, 2019/11/15
- 168/182: gnu: delta: Use 'mirror-url'., guix-commits, 2019/11/15
- 166/182: gnu: Add scroll., guix-commits, 2019/11/15
- 174/182: gnu: xfce4-whiskermenu-plugin: Download over HTTPS., guix-commits, 2019/11/15
- 173/182: gnu: qtwebkit: Don't use NAME in source URI., guix-commits, 2019/11/15
- 178/182: gnu: gnome: Add gnome-screenshot to default apps., guix-commits, 2019/11/15
- 182/182: Merge branch 'master' into wip-gnome-updates, guix-commits, 2019/11/15