 dd0f03a56c
			
		
	
	
		dd0f03a56c
		
	
	
	
	
		
			
			They are not doing anything right now. This is in preparation for their complete removal from the tree. Note: several changes that affect the derivation inputs (e.g. removal of references to stub paths in build instructions) were left out. They will be cleaned up the next iteration and will require special care. Note: this PR is a result of a mix of ugly regex (not AST) based automation and some manual labor. For reference, the regex automation part was hacked in: https://github.com/booxter/nix-clean-apple_sdk Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
		
			
				
	
	
		
			48 lines
		
	
	
		
			911 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			48 lines
		
	
	
		
			911 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| {
 | |
|   stdenv,
 | |
|   fetchFromGitHub,
 | |
|   cmake,
 | |
|   pkg-config,
 | |
|   libxcb,
 | |
|   libXau,
 | |
|   libXdmcp,
 | |
|   lib,
 | |
| }:
 | |
| 
 | |
| stdenv.mkDerivation (finalAttrs: {
 | |
|   name = "libclipboard";
 | |
|   version = "1.1";
 | |
| 
 | |
|   src = fetchFromGitHub {
 | |
|     owner = "jtanx";
 | |
|     repo = "libclipboard";
 | |
|     rev = "v${finalAttrs.version}";
 | |
|     hash = "sha256-553hNG8QUlt/Aff9EKYr6w279ELr+2MX7nh1SKIklhA=";
 | |
|   };
 | |
| 
 | |
|   buildInputs = [
 | |
|     libxcb
 | |
|     libXau
 | |
|     libXdmcp
 | |
|   ];
 | |
|   nativeBuildInputs = [
 | |
|     cmake
 | |
|     pkg-config
 | |
|   ];
 | |
| 
 | |
|   cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
 | |
|   outputs = [
 | |
|     "out"
 | |
|     "dev"
 | |
|   ];
 | |
| 
 | |
|   meta = {
 | |
|     description = "Lightweight cross-platform clipboard library";
 | |
|     homepage = "https://jtanx.github.io/libclipboard";
 | |
|     changelog = "https://github.com/jtanx/libclipboard/releases/tag/${finalAttrs.src.rev}";
 | |
|     platforms = lib.platforms.unix;
 | |
|     license = lib.licenses.mit;
 | |
|     maintainers = [ lib.maintainers.sigmanificient ];
 | |
|   };
 | |
| })
 |