[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
165/184: gnu: Add ghc-ncurses.
From: |
guix-commits |
Subject: |
165/184: gnu: Add ghc-ncurses. |
Date: |
Wed, 27 Nov 2019 14:37:19 -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")
- 173/184: gnu: qtwebkit: Don't use NAME in source URI., (continued)
- 173/184: gnu: qtwebkit: Don't use NAME in source URI., guix-commits, 2019/11/27
- 168/184: gnu: delta: Use 'mirror-url'., guix-commits, 2019/11/27
- 183/184: Merge branch 'master' into wip-gnome-updates, guix-commits, 2019/11/27
- 132/184: gnu: rdesktop: Update to 1.9.0., guix-commits, 2019/11/27
- 137/184: gnu: perl-file-configdir: Update to 0.021., guix-commits, 2019/11/27
- 129/184: gnu: botan: Optimise., guix-commits, 2019/11/27
- 123/184: news: Add Spanish translation., guix-commits, 2019/11/27
- 153/184: gnu: gegl: Update to 0.4.18., guix-commits, 2019/11/27
- 163/184: gnu: monero-gui: Update to 0.15.0.0., guix-commits, 2019/11/27
- 166/184: gnu: Add scroll., guix-commits, 2019/11/27
- 165/184: gnu: Add ghc-ncurses.,
guix-commits <=
- 155/184: gnu: xfce4-whiskermenu-plugin: Don't use NAME in source URI., guix-commits, 2019/11/27
- 181/184: gnu: jalv: Fix gtkmm, add gtk+-2 and qtbase., guix-commits, 2019/11/27
- 174/184: gnu: xfce4-whiskermenu-plugin: Download over HTTPS., guix-commits, 2019/11/27
- 171/184: gnu: polkit-qt: Use https for home-page., guix-commits, 2019/11/27
- 170/184: gnu: polkit-qt: Use 'mirror-url'., guix-commits, 2019/11/27
- 184/184: Merge branch 'master' into wip-gnome-updates, guix-commits, 2019/11/27
- 88/184: gnu: libdvdread: Update to 6.0.2., guix-commits, 2019/11/27
- 120/184: gnu: botan: Update to 2.12.1., guix-commits, 2019/11/27
- 117/184: gnu: perl-data-compare: Update to 1.27., guix-commits, 2019/11/27
- 114/184: gnu: python-astroid: Update to 2.3.3., guix-commits, 2019/11/27