mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
2e6bf42a22
There ver very many conflicts, basically all due to name -> pname+version. Fortunately, almost everything was auto-resolved by kdiff3, and for now I just fixed up a couple evaluation problems, as verified by the tarball job. There might be some fallback to these conflicts, but I believe it should be minimal. Hydra nixpkgs: ?compare=1538299
26 lines
660 B
Nix
26 lines
660 B
Nix
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "openvpn_exporter-unstable";
|
|
version = "2017-05-15";
|
|
rev = "a2a179a222144fa9a10030367045f075375a2803";
|
|
|
|
goPackagePath = "github.com/kumina/openvpn_exporter";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kumina";
|
|
repo = "openvpn_exporter";
|
|
inherit rev;
|
|
sha256 = "1cjx7ascf532a20wwzrsx3qqs6dr04jyf700s3jvlvhhhx43l8m4";
|
|
};
|
|
|
|
goDeps = ./openvpn-exporter-deps.nix;
|
|
|
|
meta = with stdenv.lib; {
|
|
inherit (src.meta) homepage;
|
|
description = "Prometheus exporter for OpenVPN";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ fpletz globin ];
|
|
};
|
|
}
|