do-agent: install .service from upstream

This commit is contained in:
Peter Hoeg 2020-07-23 19:21:56 +08:00
parent 5717d9d2f7
commit 961cc80742

View File

@ -18,6 +18,10 @@ buildGoModule rec {
vendorSha256 = null;
postInstall = ''
install -Dm444 -t $out/lib/systemd/system $src/packaging/etc/systemd/system/do-agent.service
'';
meta = with lib; {
description = "DigitalOcean droplet system metrics agent";
longDescription = ''
@ -30,4 +34,4 @@ buildGoModule rec {
maintainers = with maintainers; [ yvt ];
platforms = platforms.linux;
};
}
}