You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
2.4 KiB

  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
  3. ;;;
  4. ;;; This file is part of GNU Guix.
  5. ;;;
  6. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  7. ;;; under the terms of the GNU General Public License as published by
  8. ;;; the Free Software Foundation; either version 3 of the License, or (at
  9. ;;; your option) any later version.
  10. ;;;
  11. ;;; GNU Guix is distributed in the hope that it will be useful, but
  12. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  13. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. ;;; GNU General Public License for more details.
  15. ;;;
  16. ;;; You should have received a copy of the GNU General Public License
  17. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  18. (define-module (gnu packages irssi)
  19. #:use-module (guix licenses)
  20. #:use-module (guix packages)
  21. #:use-module (guix download)
  22. #:use-module (guix build-system gnu)
  23. #:use-module (gnu packages)
  24. #:use-module (gnu packages glib)
  25. #:use-module (gnu packages ncurses)
  26. #:use-module (gnu packages perl)
  27. #:use-module (gnu packages pkg-config))
  28. (define-public irssi
  29. (package
  30. (name "irssi")
  31. (version "0.8.15")
  32. (source (origin
  33. (method url-fetch)
  34. (uri (string-append "http://www.irssi.org/files/irssi-"
  35. version ".tar.bz2"))
  36. (sha256
  37. (base32
  38. "19m0aah9bhc70dnhh7kpydbsz5n35l0l9knxav1df0sic3xicbf1"))))
  39. (build-system gnu-build-system)
  40. (arguments
  41. `(#:phases
  42. (alist-replace
  43. 'configure
  44. (lambda* (#:key inputs outputs #:allow-other-keys)
  45. (let ((out (assoc-ref outputs "out"))
  46. (ncurses (assoc-ref inputs "ncurses")))
  47. (setenv "CONFIG_SHELL" (which "bash"))
  48. (zero?
  49. (system* "./configure"
  50. (string-append "--prefix=" out)
  51. (string-append "--with-ncurses=" ncurses)))))
  52. %standard-phases)))
  53. (inputs
  54. `(("glib" ,glib)
  55. ("pkg-config" ,pkg-config)
  56. ("ncurses" ,ncurses)
  57. ("perl" ,perl)))
  58. (home-page "http://www.irssi.org/")
  59. (synopsis "Irssi, a terminal-based IRC client")
  60. (description
  61. "Irssi is a terminal based IRC client for UNIX systems. It also supports
  62. SILC and ICB protocols via plugins.")
  63. (license gpl2+)))