libbrotli: init at 53d53e8

knupfer bf6a8674 05bf6b2b

+38
+36
pkgs/development/libraries/libbrotli/default.nix
··· 1 + {stdenv, fetchFromGitHub, autoconf, automake, libtool, brotliUnstable}: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "libbrotli-20160120"; 5 + version = "53d53e8"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "bagder"; 9 + repo = "libbrotli"; 10 + rev = "53d53e8d9c0d37398d37bac2e7a7aa20b0025e9e"; 11 + sha256 = "10r4nx6n1r54f5cjck5mmmsj7bkasnmmz7m84imhil45q73kzd4m"; 12 + }; 13 + 14 + buildInputs = [autoconf automake libtool]; 15 + preConfigure = '' 16 + cp -r ${brotliUnstable.src}/* brotli/ 17 + chmod -R +700 brotli 18 + mkdir m4 19 + autoreconf --install --force --symlink 20 + ''; 21 + 22 + meta = with stdenv.lib; { 23 + description = "Meta project to build libraries from the brotli source code"; 24 + longDescription = '' 25 + Wrapper scripts and code around the brotli code base. 26 + Builds libraries out of the brotli decode and encode sources. Uses autotools. 27 + 'brotlidec' is the library for decoding, decompression 28 + 'brotlienc' is the library for encoding, compression 29 + ''; 30 + 31 + homepage = https://github.com/bagder/libbrotli; 32 + license = licenses.mit; 33 + platforms = platforms.all; 34 + maintainers = []; 35 + }; 36 + }
+2
pkgs/top-level/all-packages.nix
··· 1146 1146 1147 1147 brotliUnstable = callPackage ../tools/compression/brotli/unstable.nix { }; 1148 1148 1149 + libbrotli = callPackage ../development/libraries/libbrotli { }; 1150 + 1149 1151 biosdevname = callPackage ../tools/networking/biosdevname { }; 1150 1152 1151 1153 checkbashism = callPackage ../development/tools/misc/checkbashisms { };