Skip to content

Commit

Permalink
brotli: update to 0.5.2
Browse files Browse the repository at this point in the history
From 0.3.0
  • Loading branch information
viric committed Feb 16, 2017
1 parent bb797c1 commit 0cee46d
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions pkgs/tools/compression/brotli/default.nix
@@ -1,25 +1,19 @@
{ stdenv, fetchFromGitHub }:
{ stdenv, fetchFromGitHub, cmake }:

# ?TODO: there's also python lib in there

stdenv.mkDerivation rec {
name = "brotli-${version}";
version = "0.3.0";
version = "0.5.2";

src = fetchFromGitHub {
owner = "google";
repo = "brotli";
rev = "v" + version;
sha256 = "1ijwr8fbrajp4gh8x6lrrpf8gymm0i6w06s97rv294q5dcszn299";
sha256 = "0wjypkzhbv30x30j2z8ba45r6nm4k98hsa4i42kqx03vzarsr2l4";
};

preConfigure = "cd tools";

# Debian installs "brotli" instead of "bro" but let's keep upstream choice for now.
installPhase = ''
mkdir -p "$out/bin"
mv ./bro "$out/bin/"
'';
buildInputs = [ cmake ];

meta = with stdenv.lib; {
inherit (src.meta) homepage;
Expand Down

0 comments on commit 0cee46d

Please sign in to comment.