prometheus-openvpn-exporter: use fetchFromGitHub to fix meta
This commit is contained in:
parent
e54031d323
commit
ceee4003d0
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
name = "openvpn_exporter-unstable-${version}";
|
name = "openvpn_exporter-unstable-${version}";
|
||||||
@ -7,9 +7,10 @@ buildGoPackage rec {
|
|||||||
|
|
||||||
goPackagePath = "github.com/kumina/openvpn_exporter";
|
goPackagePath = "github.com/kumina/openvpn_exporter";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFromGitHub {
|
||||||
|
owner = "kumina";
|
||||||
|
repo = "openvpn_exporter";
|
||||||
inherit rev;
|
inherit rev;
|
||||||
url = "https://github.com/kumina/openvpn_exporter";
|
|
||||||
sha256 = "1cjx7ascf532a20wwzrsx3qqs6dr04jyf700s3jvlvhhhx43l8m4";
|
sha256 = "1cjx7ascf532a20wwzrsx3qqs6dr04jyf700s3jvlvhhhx43l8m4";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user