Initial commit
This commit is contained in:
commit
bab58dd626
3 changed files with 93 additions and 0 deletions
31
oni/packages/emacs-config.scm
Normal file
31
oni/packages/emacs-config.scm
Normal file
|
@ -0,0 +1,31 @@
|
|||
(define-module (oni packages emacs-config)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix git-download)
|
||||
#:use-module (guix build-system emacs)
|
||||
#:use-module ((guix licenses) #:prefix license:)
|
||||
#:use-module (gnu packages emacs-xyz))
|
||||
|
||||
(define-public emacs-oni-vterm
|
||||
(let ((commit "b1c7553275218dd89676a1136a0e0d708acd5bec")
|
||||
(revision "0"))
|
||||
(package
|
||||
(name "emacs-oni-vterm")
|
||||
(version (git-version "0.0.1" revision commit))
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://git.sr.ht/~ryuslash/emacs-config")
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1977csi34jgvvnsn2bv1rawnw1mqvw2j8i6g9c26l49wp7l63szi"))))
|
||||
(build-system emacs-build-system)
|
||||
(arguments
|
||||
'(#:include '("oni-vterm.el")))
|
||||
(propagated-inputs
|
||||
`(("emacs-vterm" ,emacs-vterm)))
|
||||
(home-page "https://git.sr.ht/~ryuslash/emacs-config")
|
||||
(synopsis "My Emacs vterm configuration")
|
||||
(description "This package provides my configuration for emacs-vterm")
|
||||
(license license:gpl3+))))
|
28
oni/packages/emacs-inkplate.scm
Normal file
28
oni/packages/emacs-inkplate.scm
Normal file
|
@ -0,0 +1,28 @@
|
|||
(define-module (oni packages emacs-inkplate)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix utils)
|
||||
#:use-module (guix git-download)
|
||||
#:use-module (guix build-system emacs)
|
||||
#:use-module ((guix licenses) #:prefix license:))
|
||||
|
||||
(define-public emacs-inkplate
|
||||
(let ((commit "0897721a7b3d84aa3f200ae85fddd5fdd370fc42")
|
||||
(revision "0"))
|
||||
(package
|
||||
(name "emacs-inkplate")
|
||||
(version (git-version "0.0.1" revision commit))
|
||||
(source
|
||||
(origin
|
||||
(uri (git-reference
|
||||
(url "https://git.sr.ht/~ryuslash/inkplatel")
|
||||
(commit commit)))
|
||||
(method git-fetch)
|
||||
(sha256
|
||||
(base32 "0mqnpf4vrzn3013pcwcr9150k4jy4klrdg0pd3amhg2y25054w4s"))
|
||||
(file-name (git-file-name name version))))
|
||||
(build-system emacs-build-system)
|
||||
(synopsis "Interface for my Inkplate")
|
||||
(description
|
||||
"This package provides a way to communicate with Inkplate in peripheral mode.")
|
||||
(license license:gpl3+)
|
||||
(home-page "https://sr.ht/~ryuslash/inkplate/"))))
|
34
oni/packages/stumpwm.scm
Normal file
34
oni/packages/stumpwm.scm
Normal file
|
@ -0,0 +1,34 @@
|
|||
(define-module (oni packages stumpwm)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix utils)
|
||||
#:use-module (gnu packages wm)
|
||||
#:use-module (gnu packages lisp-xyz))
|
||||
|
||||
(define-public stumpwm+swank
|
||||
(package
|
||||
(inherit stumpwm)
|
||||
(name "stumpwm-with-swank")
|
||||
(outputs '("out"))
|
||||
(inputs
|
||||
`(("stumpwm" ,stumpwm "lib")
|
||||
("swank" ,sbcl-slime-swank)))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments stumpwm)
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(replace 'build-program
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(program (string-append out "/bin/stumpwm")))
|
||||
(setenv "HOME" "/tmp")
|
||||
(build-program program outputs
|
||||
#:entry-program '((stumpwm:stumpwm) 0)
|
||||
#:dependencies '("stumpwm" "swank")
|
||||
#:dependency-prefixes
|
||||
(map (lambda (input) (assoc-ref inputs input))
|
||||
'("stumpwm" "swank")))
|
||||
#t)))
|
||||
(delete 'copy-source)
|
||||
(delete 'build)
|
||||
(delete 'check)
|
||||
(delete 'cleanup)))))))
|
Loading…
Reference in a new issue