39ea7d4244296e21e6a2a804fcdf82b692a4d3f7
[software/guix-rekado.git] / libre / custom / packages / staging.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
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
19 (define-module (custom packages staging)
20 #:use-module (guix utils)
21 #:use-module (guix packages)
22 #:use-module (guix download)
23 #:use-module (guix git-download)
24 #:use-module ((guix licenses) #:prefix license:)
25 #:use-module (guix build-system gnu)
26 #:use-module (gnu packages)
27 #:use-module (gnu packages autotools)
28 #:use-module (gnu packages pkg-config))
29
30 (define-public fcgi
31 (package
32 (name "fcgi")
33 (version "2.4.0")
34 (source
35 (origin
36 (method url-fetch)
37 ;; Upstream has disappeared
38 (uri (string-append "https://sources.archlinux.org/other/packages/fcgi/"
39 "fcgi-" version ".tar.gz"))
40 (sha256
41 (base32
42 "1f857wnl1d6jfrgfgfpz3zdaj8fch3vr13mnpcpvy8bang34bz36"))
43 (patches (search-patches "fcgi-2.4.0-poll.patch"
44 "fcgi-2.4.0-gcc44-fixes.patch"))))
45 (build-system gnu-build-system)
46 (home-page "http://www.fastcgi.com")
47 (synopsis "Language-independent, high-performant extension to CGI")
48 (description "FastCGI is a language independent, scalable extension to CGI
49 that provides high performance without the limitations of server specific
50 APIs.")
51 ;; This package is released under the Open Market License, a variant of
52 ;; the Expat license, incompatible with the GPL.
53 (license (license:non-copyleft "file://LICENSE.TERMS"))))
54
55 (define-public fcgiwrap
56 (package
57 (name "fcgiwrap")
58 (version "1.1.0")
59 (source
60 (origin
61 (method url-fetch)
62 (uri (string-append "https://github.com/gnosek/fcgiwrap/"
63 "archive/" version ".tar.gz"))
64 (file-name (string-append name "-" version ".tar.gz"))
65 (sha256
66 (base32
67 "07y6s4mm86cv7p1ljz94sxnqa89y9amn3vzwsnbq5hrl4vdy0zac"))))
68 (build-system gnu-build-system)
69 (arguments
70 `(#:tests? #f ; no tests included
71 #:make-flags (list "CC=gcc")
72 #:phases
73 (modify-phases %standard-phases
74 (add-after 'unpack 'bootstrap
75 (lambda _
76 (zero? (system* "autoreconf" "-vif")))))))
77 (native-inputs
78 `(("autoconf" ,autoconf)
79 ("automake" ,automake)
80 ("pkg-config" ,pkg-config)))
81 (inputs
82 `(("fcgi" ,fcgi)))
83 (home-page "https://nginx.localdomain.pl/wiki/FcgiWrap")
84 (synopsis "Simple server for running CGI applications over FastCGI")
85 (description "Fcgiwrap is a simple server for running CGI applications
86 over FastCGI. It hopes to provide clean CGI support to Nginx (and other web
87 servers that may need it).")
88 (license license:expat)))