brotli: update to 0.5.2
From 0.3.0
This commit is contained in:
parent
bb797c1390
commit
0cee46dd21
@ -1,25 +1,19 @@
|
|||||||
{ stdenv, fetchFromGitHub }:
|
{ stdenv, fetchFromGitHub, cmake }:
|
||||||
|
|
||||||
# ?TODO: there's also python lib in there
|
# ?TODO: there's also python lib in there
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "brotli-${version}";
|
name = "brotli-${version}";
|
||||||
version = "0.3.0";
|
version = "0.5.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "google";
|
owner = "google";
|
||||||
repo = "brotli";
|
repo = "brotli";
|
||||||
rev = "v" + version;
|
rev = "v" + version;
|
||||||
sha256 = "1ijwr8fbrajp4gh8x6lrrpf8gymm0i6w06s97rv294q5dcszn299";
|
sha256 = "0wjypkzhbv30x30j2z8ba45r6nm4k98hsa4i42kqx03vzarsr2l4";
|
||||||
};
|
};
|
||||||
|
|
||||||
preConfigure = "cd tools";
|
buildInputs = [ cmake ];
|
||||||
|
|
||||||
# Debian installs "brotli" instead of "bro" but let's keep upstream choice for now.
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p "$out/bin"
|
|
||||||
mv ./bro "$out/bin/"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
inherit (src.meta) homepage;
|
inherit (src.meta) homepage;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user