dotfiles/oni/packages/utilities.scm

42 lines
1.6 KiB
Scheme

(define-module (oni packages utilities)
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages guile)
#:use-module (oni packages inkplate))
(define-public inkplate-display
(let ((commit "8b2782e00b37d6e94d17071b7fe570d654af56f6")
(revision "0"))
(package
(name "inkplate-display")
(version (git-version "0.0.0" revision commit))
(source
(origin
(uri (git-reference
(url "https://code.ryuslash.org/ryuslash/inkplate-display.git")
(commit commit)))
(method git-fetch)
(sha256
(base32 "0s8vm09zdhwyvdnna68yhwxcxn869g5xds8p87jfzwvi7rg08crr"))
(file-name (git-file-name name version))))
(propagated-inputs
(list guile-3.0 guile-inkplate))
(build-system gnu-build-system)
(arguments
`(#:tests? #f
#:phases
(modify-phases %standard-phases
(delete 'configure)
(delete 'build)
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((bin (string-append (assoc-ref outputs "out") "/bin")))
(install-file "inkplate-display" bin)))))))
(home-page "https://ryuslash.org/")
(synopsis "My script for displaying information on my Inkplate")
(description "My script for displaying information on my Inkplate.")
(license license:gpl3+))))