summaryrefslogtreecommitdiff
path: root/modules/ryan-packages/binaries.scm
diff options
context:
space:
mode:
authorRyan Schanzenbacher <ryan@rschanz.org>2024-10-19 00:11:58 -0400
committerRyan Schanzenbacher <ryan@rschanz.org>2024-10-19 00:11:58 -0400
commit9a7ddba442ef504daadb742d0648c21819bf0608 (patch)
tree2f7f0d63df68c04bef1777ac1c93cd354da86eeb /modules/ryan-packages/binaries.scm
parenta01f7ce1b0e79ade2d5871aa29170af2925de542 (diff)
added hyprland to flakes and added cursor theme
Diffstat (limited to 'modules/ryan-packages/binaries.scm')
-rw-r--r--modules/ryan-packages/binaries.scm55
1 files changed, 0 insertions, 55 deletions
diff --git a/modules/ryan-packages/binaries.scm b/modules/ryan-packages/binaries.scm
deleted file mode 100644
index f05636d..0000000
--- a/modules/ryan-packages/binaries.scm
+++ /dev/null
@@ -1,55 +0,0 @@
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
55superfile-bin