web.scm
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2018 Julien Lepiller <julien@lepiller.eu> |
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 (more packages web) |
20 | #:use-module ((guix licenses) #:prefix license:) |
21 | #:use-module (gnu packages) |
22 | #:use-module (guix packages) |
23 | #:use-module (guix download) |
24 | #:use-module (guix git-download) |
25 | #:use-module (guix svn-download) |
26 | #:use-module (guix cvs-download) |
27 | #:use-module (guix utils) |
28 | #:use-module (guix build-system ant) |
29 | #:use-module (gnu packages) |
30 | #:use-module (gnu packages web) |
31 | #:use-module (more packages java)) |
32 | |
33 | (define-public java-eclipse-jetty-alpn-api |
34 | (package |
35 | (name "java-eclipse-jetty-alpn-api") |
36 | (version "1.1.2") |
37 | (source (origin |
38 | (method git-fetch) |
39 | (uri (git-reference |
40 | (url "https://github.com/eclipse/jetty.alpn.api") |
41 | (commit "0a2671867f1ad7067bf4070e1b4209f8796d605d"))) |
42 | (file-name (git-file-name name version)) |
43 | (sha256 |
44 | (base32 |
45 | "11f3iq9sdy8si3f3cb9dhd3d9xc0l7cwrsra21jarw01cc9priij")))) |
46 | (build-system ant-build-system) |
47 | (arguments |
48 | `(#:jar-name "jetty-alpn.jar" |
49 | #:source-dir "src/main/java" |
50 | #:tests? #f)) |
51 | (home-page "") |
52 | (synopsis "") |
53 | (description "") |
54 | (license license:asl2.0))) |
55 | |
56 | (define-public java-eclipse-jetty-npn-api |
57 | (package |
58 | (name "java-eclipse-jetty-npn-api") |
59 | (version "1.1.2") |
60 | (source (origin |
61 | (method git-fetch) |
62 | (uri (git-reference |
63 | (url "https://github.com/eclipse/jetty.project") |
64 | (commit "cc6196af50edf256c6fa3ead21d726073b08a087"))) |
65 | (file-name (git-file-name name version)) |
66 | (sha256 |
67 | (base32 |
68 | "0sn4w6fwbhhzdaizffv04329nd2a7y702a828vvzr6vl8ipxkcv6")) |
69 | (modules '((guix build utils))) |
70 | (snippet |
71 | `(begin |
72 | (for-each delete-file (find-files "." ".*.jar")) |
73 | #t)))) |
74 | (build-system ant-build-system) |
75 | (arguments |
76 | `(#:jar-name "jetty-npn.jar" |
77 | #:source-dir "jetty-npn/src/main/java" |
78 | #:tests? #f)) |
79 | (home-page "") |
80 | (synopsis "") |
81 | (description "") |
82 | (license license:asl2.0))) |
83 |