summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordan <i@dan.games>2022-11-05 01:28:45 +0800
committerJonathan Brielmaier <jonathan.brielmaier@web.de>2022-11-17 12:41:11 +0100
commita33e599a8d05fd66b46e0aa2cb3d13d6d0004b82 (patch)
tree6a529737e769eb64b2a31aecdd54e89beb6d3834
parent968ee1b01adae5142c313ea5d4b66f08f114c34f (diff)
nongnu: Add helix-core.
* nongnu/packages/version-control.scm (helix-core): New variable. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
-rw-r--r--nongnu/packages/version-control.scm69
1 files changed, 69 insertions, 0 deletions
diff --git a/nongnu/packages/version-control.scm b/nongnu/packages/version-control.scm
new file mode 100644
index 0000000..23f3bab
--- /dev/null
+++ b/nongnu/packages/version-control.scm
@@ -0,0 +1,69 @@
1;;; Copyright © 2022 dan <i@dan.games>
2;;;
3;;; This program is free software: you can redistribute it and/or modify
4;;; it under the terms of the GNU General Public License as published by
5;;; the Free Software Foundation, either version 3 of the License, or
6;;; (at your option) any later version.
7;;;
8;;; This program is distributed in the hope that it will be useful,
9;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
10;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11;;; GNU General Public License for more details.
12;;;
13;;; You should have received a copy of the GNU General Public License
14;;; along with this program. If not, see <https://www.gnu.org/licenses/>.
15
16(define-module (nongnu packages version-control)
17 #:use-module (gnu packages base)
18 #:use-module (guix packages)
19 #:use-module (guix download)
20 #:use-module (nonguix build-system binary)
21 #:use-module (nonguix licenses)
22 #:use-module (ice-9 match))
23
24(define-public helix-core
25 (package
26 (name "helix-core")
27 (version "r22.1")
28 (source (origin
29 (method url-fetch)
30 (uri (string-append "https://ftp.perforce.com/perforce/" version
31 "/bin.linux26"
32 (match (%current-system)
33 ("i686-linux" "x86")
34 ("x86_64-linux" "x86_64"))
35 "/helix-core-server.tgz"))
36 (sha256
37 (base32
38 (match (%current-system)
39 ("i686-linux"
40 "0f5qs55rspw86axnmml3nxx551lwbxwz1cgi9kmy2f9g5rrplnkn")
41 ("x86_64-linux"
42 "077rfbjgyhdgv76i2727s3yk3p52y75nml8n9wv8g7mvhfs9ypa9"))))))
43 (build-system binary-build-system)
44 (arguments
45 `(#:strip-binaries? #f
46 #:phases (modify-phases %standard-phases
47 (add-before 'patchelf 'patchelf-writable
48 (lambda _
49 (for-each make-file-writable
50 (find-files ".")))))
51 #:patchelf-plan '(("p4" ("glibc"))
52 ("p4d" ("glibc"))
53 ("p4p" ("glibc"))
54 ("p4broker" ("glibc")))
55 #:install-plan '(("p4" "bin/")
56 ("p4d" "bin/")
57 ("p4p" "bin/")
58 ("p4broker" "bin/"))))
59 (inputs (list glibc))
60 (home-page "https://www.perforce.com/products/helix-core")
61 (synopsis
62 "A version control software for large scale development environments")
63 (description
64 "Helix Core is a version control software for large scale development
65environments. The Helix Version Control System manages a central database and
66a master repository of file versions.")
67 (supported-systems '("i686-linux" "x86_64-linux"))
68 (license (nonfree
69 "https://www.perforce.com/sites/default/files/pdfs/Helix_Core%20On%20Prem%20Software%20License%20Agmt%20ClickThru_FINAL%2006.28.2021.pdf"))))