First working* version after rewrite
This commit is contained in:
		
							parent
							
								
									18271ac1d3
								
							
						
					
					
						commit
						5df9833edd
					
				
					 22 changed files with 2768 additions and 396 deletions
				
			
		
							
								
								
									
										35
									
								
								default.nix
									
										
									
									
									
								
							
							
						
						
									
										35
									
								
								default.nix
									
										
									
									
									
								
							|  | @ -1,32 +1,29 @@ | |||
| { lib | ||||
| , stdenv | ||||
| , cmake | ||||
| , nlohmann_json | ||||
| }: | ||||
| { pkgs ? import <nixpkgs> { } }: | ||||
| 
 | ||||
| stdenv.mkDerivation { | ||||
| pkgs.rustPlatform.buildRustPackage { | ||||
|   pname = "desktop-utils"; | ||||
|   version = "1.0.0"; | ||||
| 
 | ||||
|   src = builtins.path { path = ./.; name = "desktop-utils"; }; | ||||
| 
 | ||||
|   cargoLock = { | ||||
|     lockFile = ./Cargo.lock; | ||||
|   }; | ||||
| 
 | ||||
|   nativeBuildInputs = [ | ||||
|     cmake | ||||
|   ];  | ||||
| 
 | ||||
|   buildInputs = [ | ||||
|     nlohmann_json | ||||
|   ];  | ||||
| 
 | ||||
|   cmakeFlags = [ | ||||
|     pkgs.pkg-config | ||||
|   ]; | ||||
| 
 | ||||
|   installPhase = '' | ||||
|     mkdir -p $out/bin | ||||
|     cp clients $out/bin/clients | ||||
|   ''; | ||||
|   buildInputs = [ | ||||
|     pkgs.libxkbcommon | ||||
|   ]; | ||||
| 
 | ||||
|   meta = with lib; { | ||||
|   #  installPhase = '' | ||||
|   #  mkdir -p $out/bin | ||||
|   #  cp clients $out/bin/clients | ||||
|   #''; | ||||
| 
 | ||||
|   meta = with pkgs.lib; { | ||||
|     description = "utils for my desktop"; | ||||
|     homepage = " git.huwe.mooo.com/willifan/desktop-utils"; | ||||
|     license = licenses.gpl3; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue