git.iko.soy/typeable/nixpkgs
on master help sign in
libbrotli: init at 53d53e8
commitbf6a8674d43de385d9168f1fbfa939987e4fc361 authorknupfer <fknupfer@gmail.com> dateThu 21 Jan 2016, 22:13 (11 years ago) parent05bf6b2
2 files changed+38
pkgs/development/libraries/libbrotli/default.nix+36 pkgs/top-level/all-packages.nix+2
pkgs/development/libraries/libbrotli/default.nixnew file+36
@@ -0,0 +1,36 @@
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+}
pkgs/top-level/all-packages.nix+2
@@ -1146,6 +1146,8 @@ let
11461146
11471147 brotliUnstable = callPackage ../tools/compression/brotli/unstable.nix { };
11481148
1149+ libbrotli = callPackage ../development/libraries/libbrotli { };
1150+
11491151 biosdevname = callPackage ../tools/networking/biosdevname { };
11501152
11511153 checkbashism = callPackage ../development/tools/misc/checkbashisms { };