summary refs log blame commit diff
path: root/pkgs/servers/monitoring/prometheus/sql-exporter.nix
blob: 235e8863bc2f2e778a41810d9bc345fd9fea5500 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                    


                         
                    




                           
                 
                        
                                                                   

    
                    






                                                              
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:

buildGoModule rec {
  pname = "sql_exporter";
  version = "0.4.2";

  vendorSha256 = null;

  src = fetchFromGitHub {
    owner = "justwatchcom";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-Ujon6TLniQrYRxJe4+ZTu4/dI2K94r9M/lBmMizDZrA=";
  };

  meta = with lib; {
    description = "Flexible SQL exporter for Prometheus";
    homepage = "https://github.com/justwatchcom/sql_exporter";
    license = licenses.mit;
    maintainers = with maintainers; [ justinas ];
    platforms = platforms.unix;
  };
}