Unnecessary dependency & complexity. (Patch originally contributed by an anonymous contributor) Change-Id: Id49dc362cb0c1b29937404447bb0b1f9794dc117
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			471 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			471 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ pkgs, lib, ... }:
 | 
						|
 | 
						|
pkgs.buildGoModule {
 | 
						|
  pname = "gerrit-queue";
 | 
						|
  version = "master";
 | 
						|
  vendorSha256 = "1bqllafvd4yy4cy6barpqhycxmhzcx3p5shpzhd8qwxwwg0clxs6";
 | 
						|
  src = ./.;
 | 
						|
 | 
						|
  # gerrit-queue embeds static assets which need to be generated
 | 
						|
  nativeBuildInputs = [ pkgs.statik ];
 | 
						|
  preBuild = ''
 | 
						|
    statik -f
 | 
						|
  '';
 | 
						|
 | 
						|
  meta = with lib; {
 | 
						|
    description = "Gerrit submit bot";
 | 
						|
    homepage = "https://github.com/tweag/gerrit-queue";
 | 
						|
    license = licenses.asl20;
 | 
						|
  };
 | 
						|
}
 |