Tom Willemse
5f46121fc7
This also includes an attempt at installing a custom SCSH that defines some search paths. But unfortunately it didn't work, so the SCSH ends up being the usual one and the ‘mpd-random-albums’ package doesn't actually work. The main MPD configuration does work, though. This also includes the instruction to install tmsu which I want to try out again.
42 lines
1.6 KiB
Scheme
42 lines
1.6 KiB
Scheme
(define-module (oni packages count-emails)
|
|
#: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 (oni packages scsh)
|
|
#:use-module (gnu packages mail))
|
|
|
|
(define-public count-emails
|
|
(let ((commit "66165bdecea54888967fcc6a8c29a3df09a18256")
|
|
(revision "0"))
|
|
(package
|
|
(name "count-emails")
|
|
(version (git-version "0.0.0" revision commit))
|
|
(source
|
|
(origin
|
|
(uri (git-reference
|
|
(url "git://ryuslash.org/util/tom/count-emails")
|
|
(commit commit)))
|
|
(method git-fetch)
|
|
(sha256
|
|
(base32 "0pv4wbxbg0szs2jiskmxvivrq44ha5ljdn18j3j2pi8q1dp9rmb3"))
|
|
(file-name (git-file-name name version))))
|
|
(propagated-inputs
|
|
(list scsh notmuch))
|
|
(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 "count-emails" bin)))))))
|
|
(home-page "https://ryuslash.org/")
|
|
(synopsis "A simple script that counts the number of unread emails.")
|
|
(description "Counts the number of unread emails.")
|
|
(license license:gpl3+))))
|