about summary refs log tree commit diff
path: root/pkgs/tools/compression
diff options
context:
space:
mode:
authorRam Kromberg <ramkromberg@mail.com>2016-07-08 13:04:34 +0300
committerRam Kromberg <ramkromberg@mail.com>2016-07-08 13:09:16 +0300
commit5abd5603ed0a72a94050175f7b7b34008aec4174 (patch)
tree2091594ecab60f0ee49c28edd14355d2b3482bde /pkgs/tools/compression
parent56791034f6e9ae696d258e0f28460a65858bcfad (diff)
downloadnixlib-5abd5603ed0a72a94050175f7b7b34008aec4174.tar
nixlib-5abd5603ed0a72a94050175f7b7b34008aec4174.tar.gz
nixlib-5abd5603ed0a72a94050175f7b7b34008aec4174.tar.bz2
nixlib-5abd5603ed0a72a94050175f7b7b34008aec4174.tar.lz
nixlib-5abd5603ed0a72a94050175f7b7b34008aec4174.tar.xz
nixlib-5abd5603ed0a72a94050175f7b7b34008aec4174.tar.zst
nixlib-5abd5603ed0a72a94050175f7b7b34008aec4174.zip
lzfse: init at 2016-06-21
Diffstat (limited to 'pkgs/tools/compression')
-rw-r--r--pkgs/tools/compression/lzfse/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/tools/compression/lzfse/default.nix b/pkgs/tools/compression/lzfse/default.nix
new file mode 100644
index 000000000000..fca1a433ff33
--- /dev/null
+++ b/pkgs/tools/compression/lzfse/default.nix
@@ -0,0 +1,30 @@
+{ stdenv, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+  name = "lzfse-${version}";
+  version = "2016-06-21";
+
+  src = fetchFromGitHub {
+    owner = "lzfse";
+    repo = "lzfse";
+    rev = "45912281e3945a09c6ebfa8c6629f6906a99fc29";
+    sha256 = "1wbh3x874fjn548g1hw4bm7lkk60vlvy8ph0wsjkzcx8873hwj7h";
+  };
+
+  makeFlags = [ "INSTALL_PREFIX=$(out)" ];
+
+  enableParallelBuilding = false; #bug
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/lzfse/lzfse;
+    description = "a reference C implementation of the LZFSE compressor";
+    longDescription = ''
+      This is a reference C implementation of the LZFSE compressor introduced in the Compression library with OS X 10.11 and iOS 9.
+      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;
+    license = licenses.bsd3;
+    maintainers = with maintainers; [ ];
+  };
+}