2022-12-19 17:17:39 +01:00
|
|
|
;;; SPDX-License-Identifier: GPL-3.0-or-later
|
2022-11-04 18:28:45 +01:00
|
|
|
;;; Copyright © 2022 dan <i@dan.games>
|
2022-11-18 09:16:04 +01:00
|
|
|
;;; Copyright © 2022 Jonathan Brielmaier <jonathan.brielmaier@web.de>
|
2022-11-04 18:28:45 +01:00
|
|
|
|
|
|
|
(define-module (nongnu packages version-control)
|
|
|
|
#:use-module (gnu packages base)
|
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
|
|
|
#:use-module (nonguix build-system binary)
|
|
|
|
#:use-module (nonguix licenses)
|
|
|
|
#:use-module (ice-9 match))
|
|
|
|
|
|
|
|
(define-public helix-core
|
|
|
|
(package
|
|
|
|
(name "helix-core")
|
2023-12-28 17:06:16 +01:00
|
|
|
(version "r23.1")
|
2022-11-04 18:28:45 +01:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://ftp.perforce.com/perforce/" version
|
|
|
|
"/bin.linux26"
|
|
|
|
(match (%current-system)
|
|
|
|
("i686-linux" "x86")
|
2022-11-18 09:16:04 +01:00
|
|
|
(_ "x86_64"))
|
2022-11-04 18:28:45 +01:00
|
|
|
"/helix-core-server.tgz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
(match (%current-system)
|
|
|
|
("i686-linux"
|
|
|
|
"0f5qs55rspw86axnmml3nxx551lwbxwz1cgi9kmy2f9g5rrplnkn")
|
2022-11-18 09:16:04 +01:00
|
|
|
(_
|
2023-12-28 17:06:16 +01:00
|
|
|
"1vqfkhgbx6ch7710w8mmm7hydl6jmd9qgzs0gfjg8gvd5gnh1csr"))))))
|
2022-11-04 18:28:45 +01:00
|
|
|
(build-system binary-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:strip-binaries? #f
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
(add-before 'patchelf 'patchelf-writable
|
|
|
|
(lambda _
|
|
|
|
(for-each make-file-writable
|
|
|
|
(find-files ".")))))
|
|
|
|
#:patchelf-plan '(("p4" ("glibc"))
|
|
|
|
("p4d" ("glibc"))
|
|
|
|
("p4p" ("glibc"))
|
|
|
|
("p4broker" ("glibc")))
|
|
|
|
#:install-plan '(("p4" "bin/")
|
|
|
|
("p4d" "bin/")
|
|
|
|
("p4p" "bin/")
|
|
|
|
("p4broker" "bin/"))))
|
|
|
|
(inputs (list glibc))
|
|
|
|
(home-page "https://www.perforce.com/products/helix-core")
|
|
|
|
(synopsis
|
|
|
|
"A version control software for large scale development environments")
|
|
|
|
(description
|
|
|
|
"Helix Core is a version control software for large scale development
|
|
|
|
environments. The Helix Version Control System manages a central database and
|
|
|
|
a master repository of file versions.")
|
|
|
|
(supported-systems '("i686-linux" "x86_64-linux"))
|
|
|
|
(license (nonfree
|
|
|
|
"https://www.perforce.com/sites/default/files/pdfs/Helix_Core%20On%20Prem%20Software%20License%20Agmt%20ClickThru_FINAL%2006.28.2021.pdf"))))
|