diff options
author | Robin Gloster <mail@glob.in> | 2016-03-01 21:09:17 +0000 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2016-03-01 21:09:17 +0000 |
commit | d47857c3d900c559dfb5134645311bd78b41a34e (patch) | |
tree | 2c0a02d76ce72b5210ea0f0cc97b7343d1bef5fb /pkgs/applications | |
parent | 1bbb2f0cf3f1303abd40e7bc801e7582b74f3c62 (diff) | |
parent | 02891a0de97d965be5b792c60d8287794d3c2e5f (diff) |
Merge remote-tracking branch 'upstream/master' into hardened-stdenv
Diffstat (limited to 'pkgs/applications')
17 files changed, 101 insertions, 59 deletions
diff --git a/pkgs/applications/editors/nano/default.nix b/pkgs/applications/editors/nano/default.nix index 9c8238244ff1b..61818561f74e1 100644 --- a/pkgs/applications/editors/nano/default.nix +++ b/pkgs/applications/editors/nano/default.nix @@ -1,5 +1,6 @@ { stdenv, fetchurl , ncurses +, texinfo , gettext ? null , enableNls ? true , enableTiny ? false @@ -16,7 +17,8 @@ stdenv.mkDerivation rec { url = "mirror://gnu/nano/${name}.tar.gz"; sha256 = "1vl9bim56k1b4zwc3icxp46w6pn6gb042j1h4jlz1jklxxpkwcpz"; }; - buildInputs = [ ncurses ] ++ optional enableNls gettext; + buildInputs = [ ncurses texinfo ] ++ optional enableNls gettext; + outputs = [ "out" "info" ]; configureFlags = '' --sysconfdir=/etc ${optionalString (!enableNls) "--disable-nls"} diff --git a/pkgs/applications/graphics/simple-scan/default.nix b/pkgs/applications/graphics/simple-scan/default.nix index 658df21a65456..7ee298f728116 100644 --- a/pkgs/applications/graphics/simple-scan/default.nix +++ b/pkgs/applications/graphics/simple-scan/default.nix @@ -3,10 +3,10 @@ stdenv.mkDerivation rec { name = "simple-scan-${version}"; - version = "3.19.90"; + version = "3.19.91"; src = fetchurl { - sha256 = "16s8855sqrn5iiirpqva0mys8abfpzk9xryrb6rpjbynvx2lanmd"; + sha256 = "1c5glf5vxgld41w4jxfqcv17q76qnh43fawpv33hncgh8d283xkf"; url = "https://launchpad.net/simple-scan/3.19/${version}/+download/${name}.tar.xz"; }; @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { configureFlags = [ "--disable-packagekit" ]; preBuild = '' - # Clean up stale generated .c files still referencing packagekit headers: + # Clean up stale .c files referencing packagekit headers as of 3.19.91: make clean ''; diff --git a/pkgs/applications/inferno/default.nix b/pkgs/applications/inferno/default.nix index a1c4bd912f298..3c970e40b4822 100644 --- a/pkgs/applications/inferno/default.nix +++ b/pkgs/applications/inferno/default.nix @@ -1,55 +1,47 @@ -{ fetchurl, fetchhg, stdenv, xorg, gcc46, makeWrapper }: +{ fetchurl, fetchhg, stdenv, xorg, makeWrapper }: stdenv.mkDerivation rec { # Inferno is a rolling release from a mercurial repository. For the verison number # of the package I'm using the mercurial commit number. - version = "645"; - name = "inferno-${version}"; - - # The mercurial repository does not contain all the components needed for the - # runtime system. The 'base' package contains these. For this package I download - # the base, extract the elements required from that, and add them to the source - # pulled from the mercurial repository. - srcBase = fetchurl { - url = "http://www.vitanuova.com/dist/4e/inferno-20100120.tgz"; - sha256 = "0msvy3iwl4n5k0ry0xiyysjkq0qsawmwn3hvg67hbi5y8g7f7l88"; - }; + rev = "785"; + name = "inferno-${rev}"; + host = "Linux"; + objtype = "386"; src = fetchhg { - url = "https://inferno-os.googlecode.com/hg"; - rev = "7ab390b860ca"; - sha256 = "09y0iclb3yy10gw1p0182sddg64xh60q2fx4ai7lxyfb65i76qbh"; + url = "https://bitbucket.org/inferno-os/inferno-os"; + sha256 = "1b428ma9fi5skvfrxp91dr43a62kax89wmx7950ahc1cxyx90k7x"; }; - # Fails with gcc48 due to inferno triggering an optimisation issue with floating point. - buildInputs = [ gcc46 xorg.libX11 xorg.libXpm xorg.libXext xorg.xextproto makeWrapper ]; + buildInputs = [ makeWrapper ] ++ (with xorg; [ libX11 libXpm libXext xextproto ]); infernoWrapper = ./inferno; configurePhase = '' - tar --strip-components=1 -xvf $srcBase inferno/fonts inferno/Mkdirs inferno/empties - sed -e 's@^ROOT=.*$@ROOT='"$out"'/share/inferno@g' -e 's@^OBJTYPE=.*$@OBJTYPE=386@g' -e 's@^SYSHOST=.*$@SYSHOST=Linux@g' -i mkconfig - mkdir prof - sh Mkdirs + sed -e 's@^ROOT=.*$@ROOT='"$out"'/share/inferno@g' \ + -e 's@^OBJTYPE=.*$@OBJTYPE=${objtype}@g' \ + -e 's@^SYSHOST=.*$@SYSHOST=${host}@g' \ + -i mkconfig + # Get rid of an annoying warning + sed -e 's/_BSD_SOURCE/_DEFAULT_SOURCE/g' \ + -i ${host}/${objtype}/include/lib9.h ''; buildPhase = '' - export PATH=$PATH:$out/share/inferno/Linux/386/bin mkdir -p $out/share/inferno cp -r . $out/share/inferno ./makemk.sh + export PATH=$PATH:$out/share/inferno/Linux/386/bin mk nuke mk ''; installPhase = '' + # Installs executables in $out/share/inferno/${host}/${objtype}/bin mk install mkdir -p $out/bin - makeWrapper $out/share/inferno/Linux/386/bin/emu $out/bin/emu \ - --suffix LD_LIBRARY_PATH ':' "${gcc46.cc}/lib" \ - --suffix PATH ':' "$out/share/inferno/Linux/386/bin" + # Install start-up script makeWrapper $infernoWrapper $out/bin/inferno \ - --suffix LD_LIBRARY_PATH ':' "${gcc46.cc}/lib" \ --suffix PATH ':' "$out/share/inferno/Linux/386/bin" \ --set INFERNO_ROOT "$out/share/inferno" ''; @@ -60,7 +52,7 @@ stdenv.mkDerivation rec { description = "A compact distributed operating system for building cross-platform distributed systems"; homepage = "http://inferno-os.org/"; license = stdenv.lib.licenses.gpl2; - maintainers = [ "Chris Double <chris.double@double.co.nz>" ]; + maintainers = with stdenv.lib.maintainers; [ doublec kovirobi ]; platforms = with stdenv.lib.platforms; linux; }; } diff --git a/pkgs/applications/misc/calibre/default.nix b/pkgs/applications/misc/calibre/default.nix index 5e1bebf900c23..5d936421d9eea 100644 --- a/pkgs/applications/misc/calibre/default.nix +++ b/pkgs/applications/misc/calibre/default.nix @@ -5,12 +5,12 @@ }: stdenv.mkDerivation rec { - version = "2.51.0"; + version = "2.52.0"; name = "calibre-${version}"; src = fetchurl { url = "http://download.calibre-ebook.com/${version}/${name}.tar.xz"; - sha256 = "1rhpcxic4g2zyr5s3xn8dayyb45l9r8zyniaig8j7pl5kmsfjijn"; + sha256 = "1la114vhkm73iv0rrzwws28ydiszl58q5y9d6aafn5sh16ph2aws"; }; inherit python; diff --git a/pkgs/applications/misc/josm/default.nix b/pkgs/applications/misc/josm/default.nix index 9bd7bbb4385cb..99e337baa1a4e 100644 --- a/pkgs/applications/misc/josm/default.nix +++ b/pkgs/applications/misc/josm/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { name = "josm-${version}"; - version = "9329"; + version = "9900"; src = fetchurl { url = "https://josm.openstreetmap.de/download/josm-snapshot-${version}.jar"; - sha256 = "084a3pizmz09abn2n7brhx6757bq9k3xq3jy8ip2ifbl2hcrw7pq"; + sha256 = "1dsfamh2bsiz3xkhmh7g4jz6bbh25x22k3zgj1k0v0gj8k6yl7dy"; }; phases = [ "installPhase" ]; diff --git a/pkgs/applications/networking/browsers/chromium/default.nix b/pkgs/applications/networking/browsers/chromium/default.nix index c0c5e485e59c6..f9ed1f31e5402 100644 --- a/pkgs/applications/networking/browsers/chromium/default.nix +++ b/pkgs/applications/networking/browsers/chromium/default.nix @@ -57,6 +57,9 @@ let "x-scheme-handler/unknown" ]; categories = "Network;WebBrowser"; + extraEntries = '' + StartupWMClass=chromium-browser + ''; }; suffix = if channel != "stable" then "-" + channel else ""; diff --git a/pkgs/applications/networking/dropbox/default.nix b/pkgs/applications/networking/dropbox/default.nix index 8030ab313a81d..a180e2a01edbf 100644 --- a/pkgs/applications/networking/dropbox/default.nix +++ b/pkgs/applications/networking/dropbox/default.nix @@ -20,11 +20,11 @@ let # NOTE: When updating, please also update in current stable, as older versions stop working - version = "3.12.6"; + version = "3.14.7"; sha256 = { - "x86_64-linux" = "16d0g9bygvaixv4r42p72z6a6wqhkf5qzb058lijih93zjr8zjlj"; - "i686-linux" = "1pgqz6axzzyaahql01g0l80an39hd9j4dnq0vfavwvb2qkb27dph"; + "x86_64-linux" = "1pwmghpr0kyca2biysyk90kk9k6ffv4i95vs5rq96vc0zbckws6n"; + "i686-linux" = "08yqrxh09cfd80kbiq1f2sirx9s85acij4khpklvvwrnf2x1i1zm"; }."${stdenv.system}" or (throw "system ${stdenv.system} not supported"); arch = diff --git a/pkgs/applications/networking/p2p/transmission/default.nix b/pkgs/applications/networking/p2p/transmission/default.nix index e81ef7a4f9ffc..dbd23195a1cd2 100644 --- a/pkgs/applications/networking/p2p/transmission/default.nix +++ b/pkgs/applications/networking/p2p/transmission/default.nix @@ -4,7 +4,7 @@ }: let - version = "2.84"; + version = "2.90"; in with { inherit (stdenv.lib) optional optionals optionalString; }; @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { src = fetchurl { url = "https://transmission.cachefly.net/transmission-${version}.tar.xz"; - sha256 = "1sxr1magqb5s26yvr5yhs1f7bmir8gl09niafg64lhgfnhv1kz59"; + sha256 = "1lig7y9fhmv2ajgq1isj9wqgpcgignzlczs3dy95ahb8h6pqrzv9"; }; buildInputs = [ pkgconfig intltool file openssl curl libevent inotify-tools zlib ] diff --git a/pkgs/applications/office/cb2bib/default.nix b/pkgs/applications/office/cb2bib/default.nix new file mode 100644 index 0000000000000..aa246d241ca66 --- /dev/null +++ b/pkgs/applications/office/cb2bib/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchurl, qt5Full, lzo, libX11 }: + +stdenv.mkDerivation rec { + name = pname + "-" + version; + pname = "cb2bib"; + version = "1.9.2"; + src = fetchurl { + url = "http://www.molspaces.com/dl/progs/${name}.tar.gz"; + sha256 = "0yz79v023w1229wzck3gij0iqah1xg8rg4a352q8idvg7bdmyfin"; + }; + buildInputs = [ qt5Full lzo libX11 ]; + QTDIR=qt5Full; + configurePhase ='' + ./configure --prefix $out + ''; + + meta = with stdenv.lib; { + description = "Rapidly extract unformatted, or unstandardized bibliographic references from email alerts, journal Web pages and PDF files"; + homepage = http://www.molspaces.com/d_cb2bib-overview.php; + maintainers = with maintainers; [ edwtjo ]; + license = licenses.gpl3; + }; + +} \ No newline at end of file diff --git a/pkgs/applications/office/zotero/default.nix b/pkgs/applications/office/zotero/default.nix index d74e1ac4b7c8a..5939478d695ff 100644 --- a/pkgs/applications/office/zotero/default.nix +++ b/pkgs/applications/office/zotero/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, bash, firefox, perl, unzipNLS, xorg }: +{ stdenv, fetchurl, fetchpatch, bash, firefox, perl, unzipNLS, xorg }: let @@ -7,6 +7,14 @@ let sha256 = "02h2ja08v8as4fawj683rh5rmxsjf5d0qmvqa77i176nm20y5s7s"; }; + firefox' = stdenv.lib.overrideDerivation (firefox) (attrs: { + patches = [ (fetchpatch { + url = "https://hg.mozilla.org/releases/mozilla-beta/raw-rev/0558da46f20c"; + sha256 = "08ibp7hny78x8ywfvrh56z90kf8fjpf04mibdlrwkw4f1vgm3fc3"; + name = "fix-external-xpi-loader"; + }) ]; + }); + version = "4.0.28"; in @@ -21,7 +29,9 @@ stdenv.mkDerivation { nativeBuildInputs = [ perl unzipNLS ]; - inherit bash firefox; + inherit bash; + + firefox = firefox'; phases = "unpackPhase installPhase fixupPhase"; diff --git a/pkgs/applications/science/logic/eprover/default.nix b/pkgs/applications/science/logic/eprover/default.nix index 97fe7065b85df..1f36858ae3208 100644 --- a/pkgs/applications/science/logic/eprover/default.nix +++ b/pkgs/applications/science/logic/eprover/default.nix @@ -20,7 +20,11 @@ stdenv.mkDerivation { buildInputs = [ which ]; - preConfigure = "sed -e 's@^EXECPATH\\s.*@EXECPATH = '\$out'/bin@' -i Makefile.vars"; + preConfigure = '' + sed -e 's@^EXECPATH\\s.*@EXECPATH = '\$out'/bin@' \ + -e 's/^CC *= gcc$//' \ + -i Makefile.vars + ''; buildPhase = "make install"; @@ -34,6 +38,8 @@ stdenv.mkDerivation { meta = { inherit (s) version; description = "Automated theorem prover for full first-order logic with equality"; + homepage = http://www.eprover.org/; + license = stdenv.lib.licenses.gpl2; maintainers = [stdenv.lib.maintainers.raskin]; platforms = stdenv.lib.platforms.all; }; diff --git a/pkgs/applications/version-management/redmine/Gemfile.lock b/pkgs/applications/version-management/redmine/Gemfile.lock index 7d83583c019df..c660e73f4a0f2 100644 --- a/pkgs/applications/version-management/redmine/Gemfile.lock +++ b/pkgs/applications/version-management/redmine/Gemfile.lock @@ -50,7 +50,7 @@ GEM jquery-rails (2.0.3) railties (>= 3.1.0, < 5.0) thor (~> 0.14) - json (1.8.1) + json (1.8.3) mail (2.5.4) mime-types (~> 1.16) treetop (~> 1.4.8) diff --git a/pkgs/applications/version-management/redmine/Gemfile.nix b/pkgs/applications/version-management/redmine/Gemfile.nix index a7339097b1466..77adfba334ec3 100644 --- a/pkgs/applications/version-management/redmine/Gemfile.nix +++ b/pkgs/applications/version-management/redmine/Gemfile.nix @@ -115,9 +115,9 @@ version = "2.0.3"; } { name = "json"; -hash = "961bfbbfa9fda1e857e9c791e964e6664e0d43bf687b19669dfbc7cdbc5e0200"; -url = "http://rubygems.org/downloads/json-1.8.1.gem"; -version = "1.8.1"; +hash = "1nsby6ry8l9xg3yw4adlhk2pnc7i0h0rznvcss4vk3v74qg0k8lc"; +url = "http://rubygems.org/downloads/json-1.8.3.gem"; +version = "1.8.3"; } { name = "mail"; diff --git a/pkgs/applications/video/kodi/default.nix b/pkgs/applications/video/kodi/default.nix index 5761a443df8aa..c2b3914f85026 100644 --- a/pkgs/applications/video/kodi/default.nix +++ b/pkgs/applications/video/kodi/default.nix @@ -7,7 +7,7 @@ , libXt, libXmu, libXext, xextproto , libXinerama, libXrandr, randrproto , libXtst, libXfixes, fixesproto, systemd -, SDL, SDL_image, SDL_mixer, alsaLib +, SDL, SDL2, SDL_image, SDL_mixer, alsaLib , mesa, glew, fontconfig, freetype, ftgl , libjpeg, jasper, libpng, libtiff , libmpeg2, libsamplerate, libmad @@ -26,6 +26,7 @@ , rtmpdump ? null, rtmpSupport ? true , libvdpau ? null, vdpauSupport ? true , libpulseaudio ? null, pulseSupport ? true +, joystickSupport ? true }: assert dbusSupport -> dbus_libs != null; @@ -78,7 +79,9 @@ in stdenv.mkDerivation rec { ++ lib.optional sambaSupport samba ++ lib.optional vdpauSupport libvdpau ++ lib.optional pulseSupport libpulseaudio - ++ lib.optional rtmpSupport rtmpdump; + ++ lib.optional rtmpSupport rtmpdump + ++ lib.optional joystickSupport SDL2; + dontUseCmakeConfigure = true; @@ -98,7 +101,8 @@ in stdenv.mkDerivation rec { ++ lib.optional (!sambaSupport) "--disable-samba" ++ lib.optional vdpauSupport "--enable-vdpau" ++ lib.optional pulseSupport "--enable-pulse" - ++ lib.optional rtmpSupport "--enable-rtmp"; + ++ lib.optional rtmpSupport "--enable-rtmp" + ++ lib.optional joystickSupport "--enable-joystick"; postInstall = '' for p in $(ls $out/bin/) ; do @@ -113,7 +117,8 @@ in stdenv.mkDerivation rec { --prefix LD_LIBRARY_PATH ":" "${libcec}/lib" \ --prefix LD_LIBRARY_PATH ":" "${libcec_platform}/lib" \ --prefix LD_LIBRARY_PATH ":" "${libass}/lib" \ - --prefix LD_LIBRARY_PATH ":" "${rtmpdump}/lib" + --prefix LD_LIBRARY_PATH ":" "${rtmpdump}/lib" \ + --prefix LD_LIBRARY_PATH ":" "${SDL2}/lib" done ''; diff --git a/pkgs/applications/video/kodi/plugins.nix b/pkgs/applications/video/kodi/plugins.nix index 34b454ddcddd3..96c47a15ef1ca 100644 --- a/pkgs/applications/video/kodi/plugins.nix +++ b/pkgs/applications/video/kodi/plugins.nix @@ -215,13 +215,13 @@ in pvr-hts = (mkKodiPlugin rec { plugin = "pvr-hts"; namespace = "pvr.hts"; - version = "2.1.18"; + version = "2.2.13"; src = fetchFromGitHub { owner = "kodi-pvr"; repo = "pvr.hts"; - rev = "016b0b3251d6d5bffaf68baf59010e4347759c4a"; - sha256 = "03lhxipz03r516pycabqc9b89kd7wih3c2dr4p602bk64bsmpi0j"; + rev = "3274354511e970e2101c2aa437001b2f245f80da"; + sha256 = "0i7cb61pjv6vbj3x96cm1n4w91mvc8z6lxa8ykjasrrbi95ph7ld"; }; meta = with stdenv.lib; { diff --git a/pkgs/applications/virtualization/virtualbox/default.nix b/pkgs/applications/virtualization/virtualbox/default.nix index 855694e041202..c0fd8214b3171 100644 --- a/pkgs/applications/virtualization/virtualbox/default.nix +++ b/pkgs/applications/virtualization/virtualbox/default.nix @@ -18,7 +18,7 @@ let # revision/hash as well. See # http://download.virtualbox.org/virtualbox/${version}/SHA256SUMS # for hashes. - version = "5.0.12"; + version = "5.0.14"; forEachModule = action: '' for mod in \ @@ -39,12 +39,12 @@ let ''; # See https://github.com/NixOS/nixpkgs/issues/672 for details - extpackRevision = "104815"; + extpackRevision = "105127"; extensionPack = requireFile rec { name = "Oracle_VM_VirtualBox_Extension_Pack-${version}-${extpackRevision}.vbox-extpack"; # IMPORTANT: Hash must be base16 encoded because it's used as an input to # VBoxExtPackHelperApp! - sha256 = "ac1bc8452b7fdf183325272149e9f18b9810cc07adf18e48755385a9cd1b236d"; + sha256 = "4a404b0d09dfd3952107e314ab63262293b2fb0a4dc6837b57fb7274bd016865"; message = '' In order to use the extension pack, you need to comply with the VirtualBox Personal Use and Evaluation License (PUEL) by downloading the related binaries from: @@ -63,7 +63,7 @@ in stdenv.mkDerivation { src = fetchurl { url = "http://download.virtualbox.org/virtualbox/${version}/VirtualBox-${version}.tar.bz2"; - sha256 = "de0362b1d404d1ca0298db1984acb6f0f1c6210313aeb744fea345ad9201e86e"; + sha256 = "69abac7255b2251a18fd73c0b7c200d5f8ce72a59fa019b53a5cdbf7f2843002"; }; buildInputs = diff --git a/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix b/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix index 0ef00550ee48a..d579a6445d12c 100644 --- a/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix +++ b/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation { src = fetchurl { url = "http://download.virtualbox.org/virtualbox/${version}/VBoxGuestAdditions_${version}.iso"; - sha256 = "61a19c9ec4b449cbc6bb41b636b03a16bf5a47ffa4943423d262863017e8bc9b"; + sha256 = "cec0df18671adfe62a34d3810543f76f76206b212b2b61791fe026214c77507c"; }; KERN_DIR = "${kernel.dev}/lib/modules/*/build"; |