Added catppuccin themes to gitea
This commit is contained in:
		
							parent
							
								
									7cb6605300
								
							
						
					
					
						commit
						f41904260b
					
				
					 2 changed files with 39 additions and 0 deletions
				
			
		
							
								
								
									
										26
									
								
								packages/catppuccin-gitea/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								packages/catppuccin-gitea/default.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,26 @@
 | 
			
		|||
{
 | 
			
		||||
  stdenv,
 | 
			
		||||
  fetchurl,
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
stdenv.mkDerivation {
 | 
			
		||||
  pname = "catppuccin-gitea";
 | 
			
		||||
  version = "0.4.1";
 | 
			
		||||
 | 
			
		||||
  src = fetchurl {
 | 
			
		||||
    url = "https://github.com/catppuccin/gitea/releases/download/v0.4.1/catppuccin-gitea.tar.gz";
 | 
			
		||||
    hash = "sha256-/P4fLvswitlfeaKaUykrEKvjbNpw5Q/nzGQ/GZaLyUI=";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  dontBuild = true;
 | 
			
		||||
 | 
			
		||||
  unpackPhase = ''
 | 
			
		||||
    mkdir themes
 | 
			
		||||
    tar xf "$src" --mode=+w --warning=no-timestamp -C themes
 | 
			
		||||
  '';
 | 
			
		||||
 | 
			
		||||
  installPhase = ''
 | 
			
		||||
    mkdir -p "$out/share/gitea-themes"
 | 
			
		||||
    cp -r themes/*.css "$out/share/gitea-themes/"
 | 
			
		||||
  '';
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue