summary refs log blame commit diff
path: root/pkgs/applications/networking/dnscontrol/default.nix
blob: c6ada11d356c1e4e16ab3fe2039a81199e804a39 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                        
 
                   
                       
                     
 



                            
                                                                   

    
                                                                       
 

                        
                          
 
                    


                                                                                 
                                                               

    
{ lib, fetchFromGitHub, buildGoModule }:

buildGoModule rec {
  pname = "dnscontrol";
  version = "3.15.0";

  src = fetchFromGitHub {
    owner = "StackExchange";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-znBvV6z5rMfLeyEBRmAtfwVw1is5jJlGPQplXqEGAAM=";
  };

  vendorSha256 = "sha256-S2og/isDy6Jvo9XgIV6XbgrmRJsLnePwh/gll/14Ds0=";

  subPackages = [ "." ];

  ldflags = [ "-s" "-w" ];

  meta = with lib; {
    description = "Synchronize your DNS to multiple providers from a simple DSL";
    homepage = "https://stackexchange.github.io/dnscontrol/";
    license = licenses.mit;
    maintainers = with maintainers; [ mmahut SuperSandro2000 ];
  };
}