Add forgotten files
more/packages/kotlin.scm
53 | 53 | (file-name (string-append name "-" version ".tar.gz")) | |
54 | 54 | (sha256 | |
55 | 55 | (base32 | |
56 | - | "1lm1rvj1vf4z8nzpffqcdwcydnlf24ls07z0r0nc4by3hjxzs3sv")))) | |
56 | + | "1lm1rvj1vf4z8nzpffqcdwcydnlf24ls07z0r0nc4by3hjxzs3sv")) | |
57 | + | (modules '((guix build utils))) | |
58 | + | (snippet | |
59 | + | `(begin | |
60 | + | (for-each delete-file (find-files "." ".*.jar$")) | |
61 | + | #t)))) | |
57 | 62 | (build-system ant-build-system) | |
58 | 63 | (arguments | |
59 | 64 | `(#:phases |
more/packages/tls.scm unknown status 1
1 | + | ;;; GNU Guix --- Functional package management for GNU | |
2 | + | ;;; Copyright ?? 2017 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 tls) | |
20 | + | #:use-module (guix packages) | |
21 | + | #:use-module (guix download) | |
22 | + | #:use-module (guix git-download) | |
23 | + | #:use-module (guix build-system cmake) | |
24 | + | #:use-module ((guix licenses) #:prefix license:) | |
25 | + | #:use-module (gnu packages) | |
26 | + | #:use-module (gnu packages golang) | |
27 | + | #:use-module (gnu packages perl) | |
28 | + | #:use-module (gnu packages pkg-config)) | |
29 | + | ||
30 | + | (define-public boringssl | |
31 | + | (package | |
32 | + | (name "boringssl") | |
33 | + | ;; Latest version at the time of packaging | |
34 | + | (version "32e59d2d3264e4e104b355ef73663b8b79ac4093") | |
35 | + | (source (origin | |
36 | + | (method git-fetch) | |
37 | + | (uri (git-reference | |
38 | + | (url "https://boringssl.googlesource.com/boringssl") | |
39 | + | (commit version))) | |
40 | + | (file-name (git-file-name name version)) | |
41 | + | (sha256 | |
42 | + | (base32 | |
43 | + | "0hk90f5svx5zs86syydg3wy4b75m9469byrzj71xsyw6lh6zajjd")))) | |
44 | + | (build-system cmake-build-system) | |
45 | + | (arguments | |
46 | + | `(#:tests? #f; require ninja? | |
47 | + | #:configure-flags (list "-DBUILD_SHARED_LIBS=1") | |
48 | + | #:validate-runpath? #f; FIXME: this is buggy :/ | |
49 | + | #:phases | |
50 | + | (modify-phases %standard-phases | |
51 | + | (add-before 'build 'change-home | |
52 | + | (lambda _ | |
53 | + | (setenv "HOME" "/tmp") | |
54 | + | #t)) | |
55 | + | (replace 'install | |
56 | + | (lambda* (#:key outputs #:allow-other-keys) | |
57 | + | (let* ((out (assoc-ref outputs "out")) | |
58 | + | (lib (string-append out "/lib")) | |
59 | + | (include (string-append out "/include"))) | |
60 | + | (install-file "ssl/libssl.so" lib) | |
61 | + | (install-file "crypto/libcrypto.so" lib) | |
62 | + | (copy-recursively "../source/include" include)) | |
63 | + | #t))))) | |
64 | + | (native-inputs | |
65 | + | `(("go" ,go) | |
66 | + | ("perl" ,perl) | |
67 | + | ("pkg-config" ,pkg-config))) | |
68 | + | (home-page "") | |
69 | + | (synopsis "") | |
70 | + | (description "") | |
71 | + | (license license:expat))) |
more/packages/web.scm unknown status 1
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))) |