guix-more/more/packages/tcl.scm

tcl.scm

1
;;; GNU Guix --- Functional package management for GNU
2
;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
3
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
4
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
5
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
6
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
7
;;; Copyright © 2017 Kei Kebreau <kei@openmailbox.org>
8
;;;
9
;;; This file is part of GNU Guix.
10
;;;
11
;;; GNU Guix is free software; you can redistribute it and/or modify it
12
;;; under the terms of the GNU General Public License as published by
13
;;; the Free Software Foundation; either version 3 of the License, or (at
14
;;; your option) any later version.
15
;;;
16
;;; GNU Guix is distributed in the hope that it will be useful, but
17
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
18
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19
;;; GNU General Public License for more details.
20
;;;
21
;;; You should have received a copy of the GNU General Public License
22
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
23
24
(define-module (more packages tcl)
25
  #:use-module (guix packages)
26
  #:use-module (guix download)
27
  #:use-module (guix build-system gnu)
28
  #:use-module (guix build-system perl)
29
  #:use-module (gnu packages)
30
  #:use-module (gnu packages image)
31
  #:use-module (gnu packages fontutils)
32
  #:use-module (gnu packages perl)
33
  #:use-module (gnu packages pkg-config)
34
  #:use-module (gnu packages tcl)
35
  #:use-module (gnu packages xml)
36
  #:use-module (gnu packages xorg)
37
  #:use-module (guix licenses))
38
39
(define-public tcl-fix
40
  (package
41
    (inherit tcl)
42
    (name "tcl-fix")
43
    (native-search-paths
44
      (list (search-path-specification
45
              (variable "TCLLIBPATH")
46
              (separator " ")
47
              (files '("lib")))))))
48
49
(define-public tcllib-fix
50
  (package
51
    (inherit tcllib)
52
    (name "tcllib-fix")
53
    (native-search-paths
54
      (list (search-path-specification
55
              (variable "TCLLIBPATH")
56
              (separator " ")
57
              (files `("lib" ,(string-append "lib/tcllib" (package-version tcllib)))))))))
58
59
(define-public expect-fix
60
  (package
61
    (inherit expect)
62
    (name "expect-fix")
63
    (inputs
64
      `(("tcl" ,tcl-fix)))))
65