Skip to content

Commit 5a45ce7

Browse files
committed
Update Go dependencies
1 parent fd370a5 commit 5a45ce7

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ go 1.12
44

55
require (
66
github.com/fhs/gompd/v2 v2.3.0
7-
github.com/godbus/dbus/v5 v5.0.3
7+
github.com/godbus/dbus/v5 v5.1.0
88
github.com/pkg/errors v0.9.1
99
)

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@ github.com/fhs/gompd/v2 v2.3.0 h1:wuruUjmOODRlJhrYx73rJnzS7vTSXSU7pWmZtM3VPE0=
22
github.com/fhs/gompd/v2 v2.3.0/go.mod h1:nNdZtcpD5VpmzZbRl5rV6RhxeMmAWTxEsSIMBkmMIy4=
33
github.com/godbus/dbus/v5 v5.0.3 h1:ZqHaoEF7TBzh4jzPmqVhE/5A1z9of6orkAe5uHoAeME=
44
github.com/godbus/dbus/v5 v5.0.3/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
5+
github.com/godbus/dbus/v5 v5.1.0 h1:4KLkAxT3aOY8Li4FRJe/KvhoNFFxo0m6fNuFUO8QJUk=
6+
github.com/godbus/dbus/v5 v5.1.0/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
57
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
68
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=

instance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func NewInstance(mpd *mpd.Client, opts ...Option) (ins *Instance, err error) {
6767

6868
ins.player.createStatus()
6969

70-
ins.props = prop.New(ins.dbus, "/org/mpris/MediaPlayer2", map[string]map[string]*prop.Prop{
70+
ins.props, err = prop.Export(ins.dbus, "/org/mpris/MediaPlayer2", map[string]map[string]*prop.Prop{
7171
"org.mpris.MediaPlayer2": ins.root.properties(),
7272
"org.mpris.MediaPlayer2.Player": ins.player.props,
7373
})

nix/package.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
{ buildGoModule }:
1+
{ buildGoModule, lib }:
22
buildGoModule (attrs: {
33
name = "mpd-mpris";
44
src = ./..;
5-
vendorHash = "sha256-HCDJrp9WFB1z+FnYpOI5e/AojtdnpN2ZNtgGVaH/v/Q=";
5+
vendorHash = "sha256-V0ogN36WgtWaEBo7DDmXusNuLBYmkB3CRHIqxQa2gDU=";
6+
# vendorHash = lib.fakeHash;
67

78
postInstall = ''
89
mkdir -p $out/lib/systemd/user

0 commit comments

Comments
 (0)