modules/ryan-packages/binaries.bak
f4b1d571ae0d6527fd933baadc64e9d67cd56456
· 3.0 KB · 68 lines
raw
| 1 | (define-module (ryan-packages binaries) |
| 2 | #:use-module ((guix licenses) #:prefix license:) |
| 3 | #:use-module (guix gexp) |
| 4 | #:use-module (guix packages) |
| 5 | #:use-module (guix download) |
| 6 | #:use-module (guix build-system copy) |
| 7 | #:use-module (gnu packages base) |
| 8 | #:use-module (gnu packages bootstrap) |
| 9 | #:use-module (gnu packages compression) |
| 10 | #:use-module (gnu packages elf) |
| 11 | #:use-module (gnu packages gcc) |
| 12 | #:use-module (gnu packages glib)) |
| 13 | |
| 14 | (define-public superfile-bin |
| 15 | (package |
| 16 | (name "superfile-bin") |
| 17 | (version "1.1.2") |
| 18 | (source (origin |
| 19 | (method url-fetch) |
| 20 | (uri (string-append |
| 21 | "https://github.com/yorukot/superfile" "/releases/download/v" |
| 22 | version "/superfile-linux-v" version "-amd64.tar.gz")) |
| 23 | (sha256 |
| 24 | (base32 |
| 25 | "1hnhkd6ihp0wcrn54ipyki500xmz1kapaj8sykg7ykh1vv8y6hmm")))) |
| 26 | (build-system copy-build-system) |
| 27 | (arguments |
| 28 | (list #:install-plan #~'((#$(string-append |
| 29 | "superfile-linux-v" (package-version this-package) "-amd64/spf") |
| 30 | "bin/spf")) |
| 31 | #:phases |
| 32 | #~(modify-phases %standard-phases |
| 33 | (delete 'strip) |
| 34 | (add-after 'install 'patch-elf |
| 35 | (lambda _ |
| 36 | (let ((spf (string-append #$output "/bin/spf"))) |
| 37 | (invoke "patchelf" "--set-interpreter" |
| 38 | (string-append #$(this-package-input "glibc") |
| 39 | #$(glibc-dynamic-linker)) |
| 40 | spf) |
| 41 | (invoke "patchelf" "--set-rpath" |
| 42 | (string-append (ungexp (this-package-input "gcc") |
| 43 | "lib") |
| 44 | "/lib") |
| 45 | spf))))))) |
| 46 | (supported-systems '("x86_64-linux")) |
| 47 | (native-inputs (list patchelf)) |
| 48 | (inputs (list `(,gcc "lib") glibc)) |
| 49 | (home-page "https://github.com/yorukot/superfile") |
| 50 | (synopsis "Pretty fancy and modern terminal file manager") |
| 51 | (description |
| 52 | "Terminal file-manager written in Go that is modern and extensible.") |
| 53 | (license license:expat))) |
| 54 | |
| 55 | (define-public brave-bin |
| 56 | (package |
| 57 | (name "brave-bin") |
| 58 | (version "nightly_1.72.12") |
| 59 | (source (origin |
| 60 | (method url-fetch) |
| 61 | (url (string-append "https://github.com/brave/brave-browser/releases/download/v1.72.12/brave-browser-" version "_amd64.deb")) |
| 62 | (sha256 |
| 63 | (base32 |
| 64 | "1ry62ck61gn4bxnkih3775pdlndp2ldxwifbjkxbj3wfd4f67xiv")))) |
| 65 | (build-system copy-build-system) |
| 66 | (arguments |
| 67 | (list #:install-plan |
| 68 | #~'(("bin" "bin" #:include ("wrap |