mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00: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