lzfse: modernize derivation (#348766)
This commit is contained in:
		
						commit
						964bdaac30
					
				| @ -1,19 +1,24 @@ | ||||
| { lib, stdenv, fetchFromGitHub, cmake }: | ||||
| { | ||||
|   cmake, | ||||
|   fetchFromGitHub, | ||||
|   lib, | ||||
|   stdenv, | ||||
| }: | ||||
| 
 | ||||
| stdenv.mkDerivation rec { | ||||
| stdenv.mkDerivation (finalAttrs: { | ||||
|   pname = "lzfse"; | ||||
|   version = "1.0"; | ||||
| 
 | ||||
|   src = fetchFromGitHub { | ||||
|     owner = "lzfse"; | ||||
|     repo = "lzfse"; | ||||
|     rev = "lzfse-${version}"; | ||||
|     sha256 = "1mfh6y6vpvxsdwmqmfbkqkwvxc0pz2dqqc72c6fk9sbsrxxaghd5"; | ||||
|     rev = "lzfse-${finalAttrs.version}"; | ||||
|     hash = "sha256-pcGnes966TSdYeIwjJv4F7C++cRzuYorb7rvu4030NU="; | ||||
|   }; | ||||
| 
 | ||||
|   nativeBuildInputs = [ cmake ]; | ||||
| 
 | ||||
|   meta = with lib; { | ||||
|   meta = { | ||||
|     homepage = "https://github.com/lzfse/lzfse"; | ||||
|     description = "Reference C implementation of the LZFSE compressor"; | ||||
|     longDescription = '' | ||||
| @ -21,9 +26,9 @@ stdenv.mkDerivation rec { | ||||
|       LZFSE is a Lempel-Ziv style data compression algorithm using Finite State Entropy coding. | ||||
|       It targets similar compression rates at higher compression and decompression speed compared to deflate using zlib. | ||||
|     ''; | ||||
|     platforms = platforms.unix; | ||||
|     license = licenses.bsd3; | ||||
|     maintainers = [ ]; | ||||
|     platforms = lib.platforms.unix; | ||||
|     license = lib.licenses.bsd3; | ||||
|     maintainers = with lib.maintainers; [ KSJ2000 ]; | ||||
|     mainProgram = "lzfse"; | ||||
|   }; | ||||
| } | ||||
| }) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Tomodachi94
						Tomodachi94