Added overlay package for ly
This commit is contained in:
		
							parent
							
								
									f94242e4b5
								
							
						
					
					
						commit
						b453a32d70
					
				| @ -9,6 +9,8 @@ let | |||||||
|     wqy-zenhei = prev.callPackage ./fonts/wqy-zenhei.nix { }; |     wqy-zenhei = prev.callPackage ./fonts/wqy-zenhei.nix { }; | ||||||
|     wqy-microhei = prev.callPackage ./fonts/wqy-microhei.nix { }; |     wqy-microhei = prev.callPackage ./fonts/wqy-microhei.nix { }; | ||||||
|     wqy-bitmapsong = prev.callPackage ./fonts/wqy-bitmapsong.nix { }; |     wqy-bitmapsong = prev.callPackage ./fonts/wqy-bitmapsong.nix { }; | ||||||
|  | 
 | ||||||
|  |     ly = prev.callPackage ./programs/ly.nix { }; | ||||||
|   }; |   }; | ||||||
| in | in | ||||||
| { | { | ||||||
|  | |||||||
							
								
								
									
										47
									
								
								pkgs/programs/ly.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								pkgs/programs/ly.nix
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,47 @@ | |||||||
|  | { | ||||||
|  |   stdenv, | ||||||
|  |   lib, | ||||||
|  |   fetchFromGitHub, | ||||||
|  |   linux-pam, | ||||||
|  |   libxcb, | ||||||
|  |   makeBinaryWrapper, | ||||||
|  |   zig_0_12, | ||||||
|  |   callPackage, | ||||||
|  |   nixosTests, | ||||||
|  | }: | ||||||
|  | 
 | ||||||
|  | stdenv.mkDerivation { | ||||||
|  |   pname = "ly"; | ||||||
|  |   version = "1.0.2"; | ||||||
|  | 
 | ||||||
|  |   src = fetchFromGitHub { | ||||||
|  |     owner = "fairyglade"; | ||||||
|  |     repo = "ly"; | ||||||
|  |     rev = "v1.0.2"; | ||||||
|  |     hash = "sha256-VUtNEL7Te/ba+wvL0SsUHlyv2NPmkYKs76TnW8r3ysw="; | ||||||
|  |   }; | ||||||
|  | 
 | ||||||
|  |   nativeBuildInputs = [ | ||||||
|  |     makeBinaryWrapper | ||||||
|  |     zig_0_12.hook | ||||||
|  |   ]; | ||||||
|  |   buildInputs = [ | ||||||
|  |     libxcb | ||||||
|  |     linux-pam | ||||||
|  |   ]; | ||||||
|  | 
 | ||||||
|  |   postPatch = '' | ||||||
|  |     ln -s ${callPackage ./deps.nix { }} $ZIG_GLOBAL_CACHE_DIR/p | ||||||
|  |   ''; | ||||||
|  | 
 | ||||||
|  |   passthru.tests = { inherit (nixosTests) ly; }; | ||||||
|  | 
 | ||||||
|  |   meta = with lib; { | ||||||
|  |     description = "TUI display manager"; | ||||||
|  |     license = licenses.wtfpl; | ||||||
|  |     homepage = "https://github.com/fairyglade/ly"; | ||||||
|  |     maintainers = [ maintainers.vidister ]; | ||||||
|  |     platforms = platforms.linux; | ||||||
|  |     mainProgram = "ly"; | ||||||
|  |   }; | ||||||
|  | } | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Jan-Bulthuis
						Jan-Bulthuis