lzfse: enable Darwin build

- Enable Darwin build, since Darwin is supported.
- Replace the revision by the corresponding Git tag.
This commit is contained in:
Daniël de Kok 2020-07-31 08:21:05 +02:00
parent b95c871be5
commit 5d21f4c1d5

View File

@ -1,13 +1,13 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
stdenv.mkDerivation rec {
pname = "lzfse";
version = "2017-03-08";
version = "1.0";
src = fetchFromGitHub {
owner = "lzfse";
repo = "lzfse";
rev = "88e2d27";
rev = "lzfse-${version}";
sha256 = "1mfh6y6vpvxsdwmqmfbkqkwvxc0pz2dqqc72c6fk9sbsrxxaghd5";
};
@ -23,7 +23,7 @@ stdenv.mkDerivation {
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.linux;
platforms = platforms.unix;
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};