Merge branch 'master' into staging

This commit is contained in:
Vladimír Čunát 2017-11-28 21:06:44 +01:00
commit 8b53b2ec2c
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
9 changed files with 38 additions and 18 deletions

View File

@ -31,5 +31,6 @@ python2Packages.buildPythonApplication rec {
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.all;
broken = true; # Incompatible with Git 2.15 object store.
};
}

View File

@ -149,14 +149,14 @@ rec {
joystick = mkKodiABIPlugin rec {
namespace = "peripheral.joystick";
version = "1.3.6";
version = "1.3.2";
plugin = namespace;
src = fetchFromGitHub {
owner = "kodi-game";
repo = namespace;
rev = "5b480ccdd4a87f2ca3283a7b8d1bd69a114af0db";
sha256 = "1zf5zwghx96bqk7bx53qra27lfbgfdi1dsk4s3hwixr8ii72cqpp";
rev = "96171dd32899553ffe8fc775fca66e8df5ff5cf1";
sha256 = "18m61v8z9fbh4imvzhh4g9629r9df49g2yk9ycaczirg131dhfbh";
};
meta = with stdenv.lib; {

View File

@ -49,8 +49,8 @@ with luaPackages; stdenv.mkDerivation rec {
postInstall = ''
wrapProgram $out/bin/awesome \
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
--prefix LUA_CPATH ";" '"${lgi}/lib/lua/${lua.luaversion}/?.so"' \
--prefix LUA_PATH ";" '"${lgi}/share/lua/${lua.luaversion}/?.lua;${lgi}/share/lua/${lua.luaversion}/lgi/?.lua"' \
--prefix LUA_CPATH ";" '${lgi}/lib/lua/${lua.luaversion}/?.so' \
--prefix LUA_PATH ";" '${lgi}/share/lua/${lua.luaversion}/?.lua' \
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
--prefix LD_LIBRARY_PATH : "$LD_LIBRARY_PATH" \
--prefix PATH : "${stdenv.lib.makeBinPath [ compton unclutter procps iproute coreutils curl alsaUtils findutils xterm ]}"

View File

@ -3,13 +3,13 @@
buildOcaml rec {
name = "reason";
version = "3.0.2";
version = "3.0.3";
src = fetchFromGitHub {
owner = "facebook";
repo = "reason";
rev = "v${version}";
sha256 = "1rpaazy0m76qidxwdr51qrgs3ryyz875rndwp9p30siqd04raswq";
rev = version;
sha256 = "19kp1cnxi6dq89xh07c14q7kzkawbxdkwrvn1rl48l78d04agnxx";
};
propagatedBuildInputs = [ menhir merlin_extend ppx_tools_versioned ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, perl, texinfo, yasm
{ stdenv, fetchurl, fetchpatch, pkgconfig, perl, texinfo, yasm
, hostPlatform
/*
* Licensing options (yes some are listed twice, filters and such are not listed)
@ -238,7 +238,16 @@ stdenv.mkDerivation rec {
sha256 = "1vzvpx8ixy8m44f8qwp833hv253hpghybgzbc4n8b3div3j0dvmf";
};
patchPhase = ''patchShebangs .
patches = [
(fetchurl {
name = "CVE-2017-16840.patch";
url = "http://git.videolan.org/?p=ffmpeg.git;a=patch;h=a94cb36ab2ad99d3a1331c9f91831ef593d94f74";
sha256 = "0zx0vh110hrykk7j863j04bx6igm2q8dlkv25mf5g4rbxafpqig3";
})
];
prePatch = ''
patchShebangs .
'' + stdenv.lib.optionalString stdenv.isDarwin ''
sed -i 's/#ifndef __MAC_10_11/#if 1/' ./libavcodec/audiotoolboxdec.c
'' + stdenv.lib.optionalString (frei0r != null) ''

View File

@ -1,4 +1,4 @@
{ stdenv, callPackage
{ stdenv, callPackage, fetchpatch
# Darwin frameworks
, Cocoa, CoreMedia
, ...
@ -9,4 +9,13 @@ callPackage ./generic.nix (args // rec {
branch = "3.4";
sha256 = "0pn8g3ab937ahslqd41crk0g4j4fh7kwimsrlfc0rl0pc3z132ax";
darwinFrameworks = [ Cocoa CoreMedia ];
patches = [
(fetchpatch{
name = "CVE-2017-16840.patch";
url = "http://git.videolan.org/?p=ffmpeg.git;a=patch;h=a94cb36ab2ad99d3a1331c9f91831ef593d94f74";
sha256 = "1rjr9lc71cyy43wsa2zxb9ygya292h9jflvr5wk61nf0vp97gjg3";
})
];
})

View File

@ -4,7 +4,7 @@ callPackage ./generic.nix (args // rec {
version = "3.5.10";
src = fetchurl {
url = "ftp://ftp.gnutls.org/gcrypt/gnutls/v3.5/gnutls-${version}.tar.xz";
url = "mirror://gnupg/gnutls/v3.5/gnutls-${version}.tar.xz";
sha256 = "17apwvdkkazh5w8z8mbanpj2yj8s2002qwy46wz4v3akpa33wi5g";
};
})

View File

@ -4,7 +4,7 @@ callPackage ./generic.nix (args // rec {
version = "3.6.1";
src = fetchurl {
url = "http://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/gnutls-${version}.tar.xz";
url = "mirror://gnupg/gnutls/v3.6/gnutls-${version}.tar.xz";
sha256 = "1vdsir53ddxyapnxh5fpnfyij3scx3818iri4hl07g4lk4n0vc90";
};

View File

@ -31,7 +31,9 @@ stdenv.mkDerivation rec {
cp src/snabb $out/bin
'';
enableParallelBuilding = true;
# Dependencies are underspecified: "make -C src obj/arch/sse2_c.o" fails with
# "Fatal error: can't create obj/arch/sse2_c.o: No such file or directory".
enableParallelBuilding = false;
meta = with stdenv.lib; {
homepage = https://github.com/SnabbCo/snabbswitch;
@ -49,4 +51,3 @@ stdenv.mkDerivation rec {
maintainers = [ maintainers.lukego maintainers.domenkozar ];
};
}