prometheus-openvpn-exporter: use fetchFromGitHub to fix meta

This commit is contained in:
Robin Gloster 2017-08-04 01:59:54 +02:00
parent e54031d323
commit ceee4003d0
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882

View File

@ -1,4 +1,4 @@
{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "openvpn_exporter-unstable-${version}";
@ -7,9 +7,10 @@ buildGoPackage rec {
goPackagePath = "github.com/kumina/openvpn_exporter";
src = fetchgit {
src = fetchFromGitHub {
owner = "kumina";
repo = "openvpn_exporter";
inherit rev;
url = "https://github.com/kumina/openvpn_exporter";
sha256 = "1cjx7ascf532a20wwzrsx3qqs6dr04jyf700s3jvlvhhhx43l8m4";
};