prometheus-openvpn-exporter: use fetchFromGitHub to fix meta
This commit is contained in:
parent
e54031d323
commit
ceee4003d0
1 changed files with 4 additions and 3 deletions
|
@ -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";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue