Merge branch 'master' into staging

* master: (271 commits)
  pysmbc: clarify license
  pysmbc: fix license
  bazel: 0.5.4 -> 0.6.0 (#29990)
  googler: init at 3.3
  go: declare support for aarch64
  firefox-beta-bin: 56.0b5 -> 57.0b4
  spotify: 1.0.64.401.g9d720389-21 -> 1.0.64.407.g9bd02c2d-26
  gogs: 0.11.19 -> 0.11.29
  grafana: 4.5.1 -> 4.5.2
  mopidy-iris: 3.4.1 -> 3.4.9
  nextcloud: 12.0.2 -> 12.0.3
  haskell-json-autotype: jailbreak to fix build within LTS 9.x
  kore: fix up
  kore: init at 2.0.0
  glusterfs service: fix issues with useRpcbind
  tig: 2.2.2 -> 2.3.0
  haskell-hspec-core: enable test suite again
  hackage-packages.nix: automatic Haskell package set update
  librsvg: fix thumbnailer path
  awscli: 1.11.108 -> 1.11.162
  ...
This commit is contained in:
Orivej Desh
2017-10-02 00:22:12 +00:00
260 changed files with 9682 additions and 4403 deletions

View File

@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
name = "cpp-hocon-${version}";
version = "0.1.5";
version = "0.1.6";
src = fetchFromGitHub {
sha256 = "0fc5468458mz572nbp45x5sblp6dsb4d1b6jqv77zf3mx5xyziz7";
sha256 = "0qf2nqp28ahypnzjrr37f54i06ylni40y18q9kwp5s7i5cwbjqgc";
rev = version;
repo = "cpp-hocon";
owner = "puppetlabs";
@@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
buildInputs = [ boost curl leatherman ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = " A C++ port of the Typesafe Config library";

View File

@@ -54,6 +54,6 @@ stdenv.mkDerivation {
homepage = http://www.mozilla.org/rhino/;
license = with licenses; [ mpl11 /* or */ gpl2Plus ];
platforms = platforms.linux;
platforms = platforms.linux ++ platforms.darwin;
};
}

View File

@@ -12,11 +12,11 @@ with stdenv.lib;
stdenv.mkDerivation rec {
name = "${type}krb5-${version}";
majorVersion = "1.15";
version = "${majorVersion}";
version = "${majorVersion}.2";
src = fetchurl {
url = "${meta.homepage}dist/krb5/${majorVersion}/krb5-${version}.tar.gz";
sha256 = "0z0jxm6ppbxi9anv2h12nrb5lpwl95f96kw6dx7sn268fhkpad7x";
sha256 = "0zn8s7anb10hw3nzwjz7vg10fgmmgvwnibn2zrn3nppjxn9f6f8n";
};
configureFlags = [ "--with-tcl=no" "--localstatedir=/var/lib"]

View File

@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
name = "leatherman-${version}";
version = "1.0.0";
version = "1.3.0";
src = fetchFromGitHub {
sha256 = "15kg6vdr1iav5x3pzwvrdsi54lbl8zh2xwqlp03gaq4n3kg5wj3y";
sha256 = "1pcbfgq9khlcvxjsqpdshjskwljzawryzps0ickazwm7l3m7hrln";
rev = version;
repo = "leatherman";
owner = "puppetlabs";
@@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
buildInputs = [ boost cmake curl ruby ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = https://github.com/puppetlabs/leatherman/;
description = "A collection of C++ and CMake utility libraries";

View File

@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
name = "libbson-${version}";
version = "1.6.1";
version = "1.8.0";
src = fetchFromGitHub {
owner = "mongodb";
repo = "libbson";
rev = version;
sha256 = "1ilxbv4yjgf0vfzaa8lzn40hv5x1737ny2g2q1wmm8bl39m0viiw";
sha256 = "1bd9z07q3faq5k4521d9inv0j836w6hrsd0vj2sapjlq8jmqgslg";
};
nativeBuildInputs = [ cmake ];

View File

@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, glib, python, udev, libgudev }:
stdenv.mkDerivation rec {
name = "libmbim-1.14.0";
name = "libmbim-1.14.2";
src = fetchurl {
url = "https://www.freedesktop.org/software/libmbim/${name}.tar.xz";
sha256 = "0nxb4x8l092xckk4dy84cn5qhviif8akzy0miypapjqqbalm53fa";
sha256 = "1krirl9881dnx7l29zhvagk2qlhi26vpvkzdifjklhrjhimzxji2";
};
outputs = [ "out" "dev" "man" ];

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, libgcrypt, curl, gnutls, pkgconfig }:
{ stdenv, fetchurl, libgcrypt, curl, gnutls, pkgconfig, libiconv, libintlOrEmpty }:
stdenv.mkDerivation rec {
name = "libmicrohttpd-0.9.55";
@@ -10,7 +10,8 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" "devdoc" "info" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libgcrypt curl gnutls ];
buildInputs = [ libgcrypt curl gnutls ]
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv libintlOrEmpty ];
preCheck = ''
# Since `localhost' can't be resolved in a chroot, work around it.
@@ -33,6 +34,7 @@ stdenv.mkDerivation rec {
homepage = http://www.gnu.org/software/libmicrohttpd/;
maintainers = with maintainers; [ eelco vrthra fpletz ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}

View File

@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "libraw-${version}";
version = "0.18.2";
version = "0.18.5";
src = fetchurl {
url = "http://www.libraw.org/data/LibRaw-${version}.tar.gz";
sha256 = "1imby9x88pjx4ad1frdi3bfb8dw90ccyj5pb6w3i6i0iijrnndnf";
sha256 = "0y519nlvl4bfnnxbwry35f6gbcv6jbbpd2lmiwv6pbyzv4a7saps";
};
outputs = [ "out" "lib" "dev" "doc" ];

View File

@@ -47,6 +47,10 @@ stdenv.mkDerivation rec {
-i gdk-pixbuf-loader/Makefile
sed -e "s#\$(GDK_PIXBUF_QUERYLOADERS)#GDK_PIXBUF_MODULEDIR=$GDK_PIXBUF/loaders \$(GDK_PIXBUF_QUERYLOADERS)#" \
-i gdk-pixbuf-loader/Makefile
# Fix thumbnailer path
sed -e "s#@bindir@\(/gdk-pixbuf-thumbnailer\)#${gdk_pixbuf}/bin\1#g" \
-i gdk-pixbuf-loader/librsvg.thumbnailer.in
'';
# Merge gdkpixbuf and librsvg loaders

View File

@@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
prePatch =let
debian = fetchurl {
url = http://snapshot.debian.org/archive/debian-debug/20170602T031313Z/pool/main/t/tiff/tiff_4.0.8-2.debian.tar.xz;
sha256 = "1ssjh6vn9rvl2jwm34i3p89g8lj0c7fj3cziva9rj4vasfps58ng";
url = http://snapshot.debian.org/archive/debian-debug/20170928T093547Z/pool/main/t/tiff/tiff_4.0.8-5.debian.tar.xz;
sha256 = "11qkiliw04dmdvdd5z2lv5hh2fiwa29qbhkxvlvmb4yslnmyywha";
};
in ''
tar xf '${debian}'

View File

@@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, cmake, boost, curl, leatherman }:
stdenv.mkDerivation rec {
name = "libwhereami-${version}";
version = "0.1.1";
src = fetchFromGitHub {
sha256 = "0nhbmxm626cgawprszw6c03a3hasxjn1i9ldhhj5xyvxp8r5l9q4";
rev = version;
repo = "libwhereami";
owner = "puppetlabs";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ boost curl leatherman ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Library to report hypervisor information from inside a VM";
license = licenses.asl20;
maintainers = [ maintainers.womfoo ];
platforms = platforms.linux;
};
}

View File

@@ -1,19 +1,19 @@
{ stdenv, fetchzip, perl, pkgconfig, libbson
, openssl, which
, openssl, which, zlib, snappy
}:
stdenv.mkDerivation rec {
name = "mongoc-${version}";
version = "1.7.0";
version = "1.8.0";
src = fetchzip {
url = "https://github.com/mongodb/mongo-c-driver/releases/download/${version}/mongo-c-driver-${version}.tar.gz";
sha256 = "1s0j7wmgdkgawzd75psh5ml35lkx68h6pimqrnfp2z1ggzcwajgn";
sha256 = "1vnnk3pwbcmwva1010bl111kdcdx3yb2w7j7a78hhvrm1k9r1wp8";
};
nativeBuildInputs = [ pkgconfig which perl ];
buildInputs = [ openssl zlib snappy ];
propagatedBuildInputs = [ libbson ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openssl perl which ];
meta = with stdenv.lib; {
description = "The official C client library for MongoDB";

View File

@@ -1,15 +1,20 @@
{ stdenv, fetchurl }:
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
name = "onig-5.9.5";
name = "onig-${version}";
version = "6.6.1";
src = fetchurl {
url = http://www.geocities.jp/kosako3/oniguruma/archive/onig-5.9.5.tar.gz;
sha256 = "12j3fsdb8hbhnj29hysal9l7i7s71l0ln3lx8hjpxx5535wawjcz";
src = fetchFromGitHub {
owner = "kkos";
repo = "oniguruma";
rev = "v${version}";
sha256 = "062g5443dyxsraq346panfqvbd6wal6nmb336n4dw1rszx576sxz";
};
nativeBuildInputs = [ cmake ];
meta = {
homepage = http://www.geocities.jp/kosako3/oniguruma/;
homepage = https://github.com/kkos/oniguruma;
description = "Regular expressions library";
license = stdenv.lib.licenses.bsd2;
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];

View File

@@ -35,6 +35,8 @@ stdenv.mkDerivation rec {
doCheck = true;
dontDisableStatic = true;
NIX_CFLAGS_COMPILE = with stdenv.lib;
# gcc before 6 doesn't know this option
optionalString (hasPrefix "gcc-6" stdenv.cc.cc.name) "-Wno-error=misleading-indentation";

View File

@@ -29,5 +29,6 @@ stdenv.mkDerivation rec {
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ forkk ];
broken = true;
};
}

View File

@@ -3,14 +3,14 @@
}:
let
version = "2.4.1";
version = "2.4.2";
in
stdenv.mkDerivation rec {
name = "sfml-${version}";
src = fetchurl {
url = "https://github.com/LaurentGomila/SFML/archive/${version}.tar.gz";
sha256 = "13irazmqk9vcgkigsjcxns7xjmnz1gifw0b656z1rpz208diklgr";
url = "https://github.com/SFML/SFML/archive/${version}.tar.gz";
sha256 = "cf268fb487e4048c85e5b2f53d62596854762c98cba1c1b61ccd91f78253ef4b";
};
buildInputs = [ cmake libX11 freetype libjpeg openal flac libvorbis glew
libXrandr libXrender udev xcbutilimage

View File

@@ -6,18 +6,20 @@
stdenv.mkDerivation rec {
name = "simgear-${version}";
version = "2016.4.4";
shortVersion = "2016.4";
version = "2017.3.1";
shortVersion = "2017.3";
src = fetchurl {
url = "mirror://sourceforge/flightgear/release-${shortVersion}/${name}.tar.bz2";
sha256 = "1p615wmh744m01mcqik27ah1wjdf3sj7vard1vfdpz5v0q0gs52m";
sha256 = "1x71wvycs2bjgmmacswgk6091p65p46fr40mr7f4kcipnx88bq0f";
};
buildInputs = [ plib freeglut xproto libX11 libXext xextproto libXi inputproto
libICE libSM libXt libXmu mesa boost zlib libjpeg freealut
openscenegraph openal expat cmake apr curl ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Simulation construction toolkit";
homepage = https://gitorious.org/fg/simgear;

View File

@@ -0,0 +1,32 @@
{ stdenv, fetchFromGitHub
, autoreconfHook, pkgconfig
, libsndfile }:
stdenv.mkDerivation rec {
name = "twolame-${version}";
version = "2017-09-27";
src = fetchFromGitHub {
owner = "njh";
repo = "twolame";
rev = "977c8ac55d8ca6d5f35d1d413a119dac2b3b0333";
sha256 = "1rq3yc8ygzdqid9zk6pixmm4w9sk2vrlx217lhn5bjaglv7iyf7x";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ libsndfile ];
meta = with stdenv.lib;{
description = "A MP2 encoder";
longDescription = ''
TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on
tooLAME by Mike Cheng, which in turn is based upon the ISO dist10
code and portions of LAME.
'';
homepage = http://www.twolame.org/;
license = with licenses; [ lgpl2Plus ];
platforms = with platforms; [ unix ];
maintainers = with maintainers; [ AndersonTorres ];
};
}