Last active
May 15, 2025 02:03
-
-
Save Pinjontall94/099de2a4ea7e446cc48b78bd8b7fa014 to your computer and use it in GitHub Desktop.
s3fh-1.0.1_guix.scm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (define-module (gnu packages s3fh) | |
| #:use-module (guix packages) | |
| #:use-module (guix download) | |
| #:use-module (guix git) | |
| #:use-module (guix git-download) | |
| #:use-module (guix build-system gnu) | |
| #:use-module (guix build-system cmake) | |
| #:use-module (guix build utils) | |
| #:use-module (guix licenses) | |
| #:use-module (guix gexp) | |
| #:use-module (gnu packages cmake)) | |
| (define-public s3fh | |
| (package | |
| (name "s3fh") | |
| (version "1.0.1") | |
| (source | |
| (origin | |
| (method git-fetch) | |
| (uri (git-reference | |
| (url "https://github.com/hercules-390/SoftFloat-3a.git") | |
| (commit (string-append "v" version)))) | |
| (file-name (git-file-name name version)) | |
| (sha256 | |
| (base32 | |
| "1hb1qjqllnvkg3l937gx4l4hz6m8ijcy3akfldjwxjypm9g17pyz")))) | |
| (build-system cmake-build-system) | |
| (arguments (list #:tests? #f | |
| #:phases | |
| #~(modify-phases %standard-phases | |
| (add-before 'configure 'ch-build-dir | |
| (lambda _ | |
| (let ((build-dir (string-append "amd64" "/" "s3fh.release"))) | |
| (begin | |
| (display build-dir) | |
| (newline) | |
| (invoke "mkdir" "-p" build-dir) | |
| (chdir build-dir))))) | |
| (add-before 'configure 'debug-configure | |
| (lambda _ (display "henlo?? D:\n"))) | |
| (replace 'configure | |
| (lambda* (#:key configure-flags #:allow-other-keys) | |
| (apply invoke "cmake" "../../" configure-flags))) | |
| ))) | |
| (synopsis "SoftFloat-3a for Hercules") | |
| (description "SoftFloat-3a for Hercules. This is a modification of Dr. John Hauser's SoftFloat-3a package.") | |
| (home-page "https://hercules-390.github.io/html/") | |
| (license qpl))) | |
| s3fh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment