(define-module (ruther packages ruther)
#:use-module (ruther packages rust-crates)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (gnu packages glib)
#:use-module (gnu packages pkg-config)
#:use-module (guix build-system cargo))
(define-public mpris-ctl
(package
(name "mpris-ctl")
(version "0.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://git.ditigal.xyz/~ruther/mpris-ctl")
(commit "c5731a17d99553d79810791e5a5aff61344669d5")))
(file-name (git-file-name name version))
(sha256
(base32 "0jkfdyx3xcvv5nlzgb9qd15j4km9jfaj4x8rlf2il6vclmknj4xz"))))
(build-system cargo-build-system)
(native-inputs
(list pkg-config))
(inputs
`(,dbus
,@(my-cargo-inputs 'mpris-ctl)))
(synopsis "Lightweight mpris control client")
(description "Lightweight mpris control client")
(home-page "https://github.com/Rutherther/mpris-ctl")
(license #f)))
;; (define-configuration sequence-detector-config)
(define-public sequence-detector
(package
(name "sequence-detector")
(version "0.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://git.ditigal.xyz/~ruther/sequence-detector")
(commit "c447c0d83877907c3ade8a2e9b4f659d4ef92904")))
(file-name (git-file-name name version))
(sha256
(base32 "06719x0fv8arpld0n1kwc0v507gpbqjp3sx3kin72441fq9qi3q6"))))
(build-system cargo-build-system)
(inputs
(my-cargo-inputs 'sequence-detector))
(synopsis "Detects sequences of inputs in short time")
(description "For example, if you want to have more control
out of your headset, this gives more control by listening for a
sequence, such as clicking a button two times.")
(home-page "https://github.com/Rutherther/mpris-ctl")
(license #f)))