gnu: Python: use /nix/.../sh instead of /bin/sh in the subprocess module
[jackhill/guix/guix.git] / gnu / packages / pth.scm
CommitLineData
233e7676
LC
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2012 Ludovic Courtès <ludo@gnu.org>
d373e57e 3;;;
233e7676 4;;; This file is part of GNU Guix.
d373e57e 5;;;
233e7676 6;;; GNU Guix is free software; you can redistribute it and/or modify it
d373e57e
LC
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;;;
233e7676 11;;; GNU Guix is distributed in the hope that it will be useful, but
d373e57e
LC
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
233e7676 17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
d373e57e 18
1ffa7090 19(define-module (gnu packages pth)
4a44e743 20 #:use-module (guix licenses)
d373e57e 21 #:use-module (guix packages)
87f5d366 22 #:use-module (guix download)
d373e57e
LC
23 #:use-module (guix build-system gnu))
24
25(define-public pth
26 (package
27 (name "pth")
28 (version "2.0.7")
29 (source
30 (origin
87f5d366 31 (method url-fetch)
0db342a5 32 (uri (string-append "mirror://gnu/pth/pth-" version
d373e57e
LC
33 ".tar.gz"))
34 (sha256
35 (base32
36 "0ckjqw5kz5m30srqi87idj7xhpw6bpki43mj07bazjm2qmh3cdbj"))))
37 (build-system gnu-build-system)
38 (arguments '(#:parallel-build? #f))
39 (home-page "http://www.gnu.org/software/pth")
f50d2669 40 (synopsis "Portable thread library")
d373e57e 41 (description
79c311b8 42 "GNU Pth is a portable library providing non-preemptive, priority-based
a22dc0c4
LC
43scheduling for multiple execution threads. Each thread has its own
44program-counter, run-time stack, signal mask and errno variable. Threads are
45scheduled in a cooperative way, rather than in the standard preemptive way,
46such that they are managed according to priority and events. However, Pth
79c311b8 47also features emulation of POSIX.1c threads (\"pthreads\") for backwards
a22dc0c4 48compatibility.")
4a44e743 49 (license lgpl2.1+)))