mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
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 {
|
||||
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 New Issue
Block a user