Merge branch 'master' into add_pkg_gorilla

This commit is contained in:
Roman Naumann 2016-12-28 23:33:56 +01:00
commit ec57a4bc50
72 changed files with 2328 additions and 672 deletions

View File

@ -129,6 +129,7 @@
dochang = "Desmond O. Chang <dochang@gmail.com>";
domenkozar = "Domen Kozar <domen@dev.si>";
doublec = "Chris Double <chris.double@double.co.nz>";
dpaetzel = "David Pätzel <david.a.paetzel@gmail.com>";
drets = "Dmytro Rets <dmitryrets@gmail.com>";
drewkett = "Andrew Burkett <burkett.andrew@gmail.com>";
dtzWill = "Will Dietz <nix@wdtz.org>";
@ -507,4 +508,5 @@
zimbatm = "zimbatm <zimbatm@zimbatm.com>";
zohl = "Al Zohali <zohl@fmap.me>";
zoomulator = "Kim Simmons <zoomulator@gmail.com>";
zraexy = "David Mell <zraexy@gmail.com>";
}

View File

@ -25,6 +25,6 @@ stdenv.mkDerivation {
# Generate the squashfs image.
mksquashfs nix-path-registration $storePaths $out \
-keep-as-directory -all-root -comp xz
-keep-as-directory -all-root -b 1048576 -comp xz -Xdict-size 100%
'';
}

View File

@ -1,11 +1,15 @@
# This module defines a small NixOS installation CD. It does not
# contain any graphical stuff.
{ config, lib, ... }:
{ config, lib, pkgs, ... }:
{
imports =
[ ./installation-cd-base.nix
../../profiles/minimal.nix
];
environment.systemPackages =
[
pkgs.vim
];
}

View File

@ -467,7 +467,7 @@
ihaskell = 189;
i2p = 190;
lambdabot = 191;
#asterisk = 192; # unused
asterisk = 192;
plex = 193;
sabnzbd = 194;
#grafana = 196; #unused

View File

@ -15,6 +15,15 @@ in {
'';
};
locate = mkOption {
type = types.package;
default = pkgs.findutils;
example = "pkgs.mlocate";
description = ''
The locate implementation to use
'';
};
interval = mkOption {
type = types.str;
default = "02:15";
@ -77,7 +86,7 @@ in {
script =
''
mkdir -m 0755 -p $(dirname ${toString cfg.output})
exec updatedb \
exec ${cfg.locate}/bin/updatedb \
--localuser=${cfg.localuser} \
${optionalString (!cfg.includeStore) "--prunepaths='/nix/store'"} \
--output=${toString cfg.output} ${concatStringsSep " " cfg.extraFlags}

View File

@ -45,7 +45,7 @@
];
# Include support for various filesystems.
boot.supportedFilesystems = [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "zfs" "ntfs" "cifs" ];
boot.supportedFilesystems = [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "ntfs" "cifs" ];
# Configure host id for ZFS to work
networking.hostId = lib.mkDefault "8425e349";

View File

@ -585,7 +585,7 @@ in {
serviceConfig = {
ExecStart = ''
${pkgs.pythonPackages.graphite_beacon}/bin/graphite-beacon \
--config ${pkgs.writeText "graphite-beacon.json" (builtins.toJSON cfg.beacon.config)}
--config=${pkgs.writeText "graphite-beacon.json" (builtins.toJSON cfg.beacon.config)}
'';
User = "graphite";
Group = "graphite";

View File

@ -62,8 +62,8 @@ in {
};
listenAddress = mkOption {
type = types.nullOr types.str;
default = null;
type = types.str;
default = "";
description = ''
Address to listen on for the web interface and API.
'';

View File

@ -6,29 +6,38 @@ let
cfg = config.services.asterisk;
asteriskUser = "asterisk";
asteriskGroup = "asterisk";
varlibdir = "/var/lib/asterisk";
spooldir = "/var/spool/asterisk";
logdir = "/var/log/asterisk";
# Add filecontents from files of useTheseDefaultConfFiles to confFiles, do not override
defaultConfFiles = subtractLists (attrNames cfg.confFiles) cfg.useTheseDefaultConfFiles;
allConfFiles =
cfg.confFiles //
builtins.listToAttrs (map (x: { name = x;
value = builtins.readFile (pkgs.asterisk + "/etc/asterisk/" + x); })
defaultConfFiles);
asteriskEtc = pkgs.stdenv.mkDerivation
((mapAttrs' (name: value: nameValuePair
# Fudge the names to make bash happy
((replaceChars ["."] ["_"] name) + "_")
(value)
) cfg.confFiles) //
) allConfFiles) //
{
confFilesString = concatStringsSep " " (
attrNames cfg.confFiles
attrNames allConfFiles
);
name = "asterisk.etc";
name = "asterisk-etc";
# Default asterisk.conf file
# (Notice that astetcdir will be set to the path of this derivation)
asteriskConf = ''
[directories]
astetcdir => @out@
astetcdir => /etc/asterisk
astmoddir => ${pkgs.asterisk}/lib/asterisk/modules
astvarlibdir => /var/lib/asterisk
astdbdir => /var/lib/asterisk
@ -169,6 +178,16 @@ in
'';
};
useTheseDefaultConfFiles = mkOption {
default = [ "ari.conf" "acl.conf" "agents.conf" "amd.conf" "calendar.conf" "cdr.conf" "cdr_syslog.conf" "cdr_custom.conf" "cel.conf" "cel_custom.conf" "cli_aliases.conf" "confbridge.conf" "dundi.conf" "features.conf" "hep.conf" "iax.conf" "pjsip.conf" "pjsip_wizard.conf" "phone.conf" "phoneprov.conf" "queues.conf" "res_config_sqlite3.conf" "res_parking.conf" "statsd.conf" "udptl.conf" "unistim.conf" ];
type = types.listOf types.str;
example = [ "sip.conf" "dundi.conf" ];
description = ''Sets these config files to the default content. The default value for
this option contains all necesscary files to avoid errors at startup.
This does not override settings via <option>services.asterisk.confFiles</option>.
'';
};
extraArguments = mkOption {
default = [];
type = types.listOf types.str;
@ -182,12 +201,22 @@ in
};
config = mkIf cfg.enable {
users.extraUsers = singleton
{ name = asteriskUser;
uid = config.ids.uids.asterisk;
description = "Asterisk daemon user";
home = varlibdir;
};
environment.systemPackages = [ pkgs.asterisk ];
environment.etc.asterisk.source = asteriskEtc;
users.extraUsers.asterisk =
{ name = asteriskUser;
group = asteriskGroup;
uid = config.ids.uids.asterisk;
description = "Asterisk daemon user";
home = varlibdir;
};
users.extraGroups.asterisk =
{ name = asteriskGroup;
gid = config.ids.gids.asterisk;
};
systemd.services.asterisk = {
description = ''
@ -196,14 +225,17 @@ in
wantedBy = [ "multi-user.target" ];
# Do not restart, to avoid disruption of running calls. Restart unit by yourself!
restartIfChanged = false;
preStart = ''
# Copy skeleton directory tree to /var
for d in '${varlibdir}' '${spooldir}' '${logdir}'; do
# TODO: Make exceptions for /var directories that likely should be updated
if [ ! -e "$d" ]; then
mkdir -p "$d"
cp --recursive ${pkgs.asterisk}/"$d" "$d"
chown --recursive ${asteriskUser} "$d"
cp --recursive ${pkgs.asterisk}/"$d"/* "$d"/
chown --recursive ${asteriskUser}:${asteriskGroup} "$d"
find "$d" -type d | xargs chmod 0755
fi
done
@ -215,7 +247,9 @@ in
# FIXME: This doesn't account for arguments with spaces
argString = concatStringsSep " " cfg.extraArguments;
in
"${pkgs.asterisk}/bin/asterisk -U ${asteriskUser} -C ${asteriskEtc}/asterisk.conf ${argString} -F";
"${pkgs.asterisk}/bin/asterisk -U ${asteriskUser} -C /etc/asterisk/asterisk.conf ${argString} -F";
ExecReload = ''${pkgs.asterisk}/bin/asterisk -x "core reload"
'';
Type = "forking";
PIDFile = "/var/run/asterisk/asterisk.pid";
};

View File

@ -34,6 +34,7 @@ let
###### implementation
config = mkIf cfg.enable {
environment.systemPackages = [ pkg ];
systemd.services.${variant} = {
description = "BIRD Internet Routing Daemon";
wantedBy = [ "multi-user.target" ];

View File

@ -22,7 +22,7 @@ in
which will make Xorg reconfigure the device ?
If you're not satisfied by the default behaviour you can override
<option>environment.etc."X11/xorg.conf.d/50-wacom.conf"</option> in
<option>environment.etc."X11/xorg.conf.d/70-wacom.conf"</option> in
configuration.nix easily.
'';
};
@ -40,7 +40,7 @@ in
services.udev.packages = [ pkgs.xf86_input_wacom ];
environment.etc."X11/xorg.conf.d/50-wacom.conf".source = "${pkgs.xf86_input_wacom}/share/X11/xorg.conf.d/50-wacom.conf";
environment.etc."X11/xorg.conf.d/70-wacom.conf".source = "${pkgs.xf86_input_wacom}/share/X11/xorg.conf.d/70-wacom.conf";
};

View File

@ -0,0 +1,89 @@
{ lib, stdenv, fetchurl, fetchpatch, pkgconfig, libtool
, bzip2, zlib, libX11, libXext, libXt, fontconfig, freetype, ghostscript, libjpeg
, lcms2, openexr, libpng, librsvg, libtiff, libxml2, openjpeg, libwebp
}:
let
arch =
if stdenv.system == "i686-linux" then "i686"
else if stdenv.system == "x86_64-linux" || stdenv.system == "x86_64-darwin" then "x86-64"
else if stdenv.system == "armv7l-linux" then "armv7l"
else throw "ImageMagick is not supported on this platform.";
cfg = {
version = "7.0.4-0";
sha256 = "0hfkdvfl60f9ksh07c06cpq8ib05apczl767yyvc671gd90n11ds";
patches = [];
};
in
stdenv.mkDerivation rec {
name = "imagemagick-${version}";
inherit (cfg) version;
src = fetchurl {
urls = [
"mirror://imagemagick/releases/ImageMagick-${version}.tar.xz"
# the original source above removes tarballs quickly
"http://distfiles.macports.org/ImageMagick/ImageMagick-${version}.tar.xz"
"https://bintray.com/homebrew/mirror/download_file?file_path=imagemagick-${version}.tar.xz"
];
inherit (cfg) sha256;
};
patches = [ ./imagetragick.patch ] ++ cfg.patches;
outputs = [ "out" "dev" "doc" ]; # bin/ isn't really big
outputMan = "out"; # it's tiny
enableParallelBuilding = true;
configureFlags =
[ "--with-frozenpaths" ]
++ [ "--with-gcc-arch=${arch}" ]
++ lib.optional (librsvg != null) "--with-rsvg"
++ lib.optionals (ghostscript != null)
[ "--with-gs-font-dir=${ghostscript}/share/ghostscript/fonts"
"--with-gslib"
]
++ lib.optionals (stdenv.cross.libc or null == "msvcrt")
[ "--enable-static" "--disable-shared" ] # due to libxml2 being without DLLs ATM
;
nativeBuildInputs = [ pkgconfig libtool ];
buildInputs =
[ zlib fontconfig freetype ghostscript
libpng libtiff libxml2
]
++ lib.optionals (stdenv.cross.libc or null != "msvcrt")
[ openexr librsvg openjpeg ]
;
propagatedBuildInputs =
[ bzip2 freetype libjpeg lcms2 ]
++ lib.optionals (stdenv.cross.libc or null != "msvcrt")
[ libX11 libXext libXt libwebp ]
;
postInstall = ''
(cd "$dev/include" && ln -s ImageMagick* ImageMagick)
moveToOutput "bin/*-config" "$dev"
moveToOutput "lib/ImageMagick-*/config-Q16HDRI" "$dev" # includes configure params
for file in "$dev"/bin/*-config; do
substituteInPlace "$file" --replace pkg-config \
"PKG_CONFIG_PATH='$dev/lib/pkgconfig' '${pkgconfig}/bin/pkg-config'"
done
'' + lib.optionalString (ghostscript != null) ''
for la in $out/lib/*.la; do
sed 's|-lgs|-L${lib.getLib ghostscript}/lib -lgs|' -i $la
done
'';
meta = with stdenv.lib; {
homepage = http://www.imagemagick.org/;
description = "A software suite to create, edit, compose, or convert bitmap images";
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ the-kenny wkennington ];
};
}

View File

@ -11,8 +11,8 @@ let
else throw "ImageMagick is not supported on this platform.";
cfg = {
version = "6.9.6-7";
sha256 = "1ls3g4gpdh094n03szr9arpr0rfwd1krv2s9gnck8j0ab10ccgs5";
version = "6.9.7-0";
sha256 = "0c6ff1am2mhc0dc26h50l78yx6acwqymwpwgkxgx69cb6jfpwrdx";
patches = [];
}
# Freeze version on mingw so we don't need to port the patch too often.

View File

@ -13,8 +13,10 @@ stdenv.mkDerivation rec {
buildInputs = [
ghostscript atk gtk2 glib fontconfig freetype
libgnomecanvas libgnomeprint libgnomeprintui
libgnomecanvas
pango libX11 xproto zlib poppler
] ++ stdenv.lib.optionals (!stdenv.isDarwin) [
libgnomeprint libgnomeprintui
];
nativeBuildInputs = [ autoconf automake libtool pkgconfig ];
@ -47,11 +49,11 @@ stdenv.mkDerivation rec {
cp $out/share/xournal/pixmaps/xournal.png $out/share/icons
'';
meta = {
meta = with stdenv.lib; {
homepage = http://xournal.sourceforge.net/;
description = "Note-taking application (supposes stylus)";
maintainers = [ stdenv.lib.maintainers.guibert ];
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = [ maintainers.guibert ];
license = licenses.gpl2;
platforms = with platforms; linux ++ darwin;
};
}

View File

@ -0,0 +1,28 @@
{ stdenv, fetchurl, qt4, qmake4Hook }:
let version = "0.6.1"; in
stdenv.mkDerivation {
name = "confclerk-${version}";
src = fetchurl {
url = "http://www.toastfreeware.priv.at/tarballs/confclerk/confclerk-${version}.tar.gz";
sha256 = "1wprndshmc7k1919n7k93c4ha2jp171q31gx7xsbzx7g4sw6432g";
};
buildInputs = [ qt4 ];
nativeBuildInputs = [ qmake4Hook ];
installPhase = ''
mkdir -p $out/bin
cp src/bin/confclerk $out/bin
'';
meta = {
description = "Offline conference schedule viewer";
homepage = "http://www.toastfreeware.priv.at/confclerk";
license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ ehmry ];
inherit (qt4.meta) platforms;
};
}

View File

@ -0,0 +1,41 @@
{ stdenv, fetchFromGitHub
, qtbase, qtwebengine
, qmakeHook }:
stdenv.mkDerivation rec {
version = "0.5.5rc2";
name = "qsyncthingtray-${version}";
src = fetchFromGitHub {
owner = "sieren";
repo = "QSyncthingTray";
rev = "${version}";
sha256 = "1x7j7ylgm4ih06m7gb5ls3c9bdjwbra675489caq2f04kgw4yxq2";
};
buildInputs = [ qtbase qtwebengine ];
nativeBuildInputs = [ qmakeHook ];
enableParallelBuilding = true;
postInstall = ''
mkdir -p $out/bin
cp binary/QSyncthingTray $out/bin
cat > $out/bin/qt.conf <<EOF
[Paths]
Prefix = ${qtwebengine.out}
EOF
'';
meta = with stdenv.lib; {
homepage = https://github.com/sieren/QSyncthingTray/;
description = "A Traybar Application for Syncthing written in C++";
longDescription = ''
A cross-platform status bar for Syncthing.
Currently supports OS X, Windows and Linux.
Written in C++ with Qt.
'';
license = licenses.lgpl3;
maintainers = with maintainers; [ zraexy ];
platforms = platforms.all;
};
}

View File

@ -0,0 +1,25 @@
{ stdenv, buildPythonPackage, isPy35, fetchFromGitHub, urwid, pythonOlder }:
buildPythonPackage rec {
name = "urlscan-${version}";
version = "0.8.3";
src = fetchFromGitHub {
owner = "firecat53";
repo = "urlscan";
rev = version;
# (equivalent but less nice(?): rev = "00333f6d03bf3151c9884ec778715fc605f58cc5")
sha256 = "0l40anfznam4d3q0q0jp2wwfrvfypz9ppbpjyzjdrhb3r2nizb0y";
};
propagatedBuildInputs = [ urwid ];
# FIXME doesn't work with 2.7; others than 2.7 and 3.5 were not tested (yet)
disabled = !pythonOlder "3.5";
meta = with stdenv.lib; {
description = "Mutt and terminal url selector (similar to urlview)";
license = licenses.gpl2;
maintainers = [ maintainers.dpaetzel ];
};
}

View File

@ -51,10 +51,13 @@ let
flac harfbuzz icu libpng opusWithCustomModes snappy speechd
bzip2 libcap
] ++ optional pulseSupport libpulseaudio;
suffix = if channel != "stable" then "-" + channel else "";
in stdenv.mkDerivation rec {
inherit version;
name = "google-chrome-${version}";
name = "google-chrome${suffix}-${version}";
src = binary;

View File

@ -0,0 +1,21 @@
{ stdenv, buildGoPackage, fetchFromGitLab }:
buildGoPackage rec {
name = "mm-${version}";
version = "2016.11.04";
goPackagePath = "gitlab.com/meutraa/mm";
src = fetchFromGitLab {
owner = "meutraa";
repo = "mm";
rev = "473fdd97285168054b672dbad2ffc4047324c518";
sha256 = "1s8v5gxpw1sms1g3i8nq2x2mmmyz97qkmxs1fzlspfcd6i8vknkp";
};
meta = {
description = "A file system based matrix client";
homepage = https://gitlab.com/meutraa/mm;
license = stdenv.lib.licenses.isc;
};
}

View File

@ -5,11 +5,11 @@
stdenv.mkDerivation rec {
name = "ricochet-${version}";
version = "1.1.2";
version = "1.1.4";
src = fetchurl {
url = "https://github.com/ricochet-im/ricochet/archive/v${version}.tar.gz";
sha256 = "1szb5vmlqal0vhan87kgbks184f7xbfay1hr3d3vm8r1lvcjjfkr";
sha256 = "1kfj42ksvj7axc809lb8siqzj5hck2pib427b63a3ipnqc5h1faf";
};
desktopItem = makeDesktopItem {
@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
description = "Anonymous peer-to-peer instant messaging";
homepage = "https://ricochet.im";
license = licenses.bsd3;
maintainers = [ maintainers.codsl maintainers.jgillich ];
maintainers = [ maintainers.codsl maintainers.jgillich maintainers.np ];
platforms = platforms.linux;
};
}

View File

@ -0,0 +1,612 @@
--- a/src/app-logic/ApplicationState.h
+++ b/src/app-logic/ApplicationState.h
@@ -33,6 +33,7 @@
#include <boost/shared_ptr.hpp>
#include <QObject>
+#ifndef Q_MOC_RUN
#include "FeatureCollectionFileState.h"
#include "Layer.h"
#include "LayerTaskRegistry.h"
@@ -48,6 +49,7 @@
#include "model/ModelInterface.h"
#include "model/types.h"
#include "model/WeakReferenceCallback.h"
+#endif
////////////////////////////////////////////////////////////////////////////////////////////////
// NOTE: Please use forward declarations (and boost::scoped_ptr) instead of including headers
--- a/src/app-logic/CoRegistrationLayerTask.h
+++ b/src/app-logic/CoRegistrationLayerTask.h
@@ -32,11 +32,13 @@
#include <QObject>
#include <QString>
+#ifndef Q_MOC_RUN
#include "CoRegistrationLayerParams.h"
#include "CoRegistrationLayerProxy.h"
#include "LayerTask.h"
#include "model/FeatureCollectionHandle.h"
+#endif
namespace GPlatesAppLogic
{
--- a/src/app-logic/RasterLayerTask.h
+++ b/src/app-logic/RasterLayerTask.h
@@ -32,11 +32,13 @@
#include <QObject>
#include <QString>
+#ifndef Q_MOC_RUN
#include "LayerTask.h"
#include "RasterLayerParams.h"
#include "RasterLayerProxy.h"
#include "model/FeatureCollectionHandle.h"
+#endif
namespace GPlatesAppLogic
--- a/src/app-logic/ReconstructGraph.h
+++ b/src/app-logic/ReconstructGraph.h
@@ -46,6 +46,7 @@
#include <boost/lambda/construct.hpp>
#include <QObject>
+#ifndef Q_MOC_RUN
#include "FeatureCollectionFileState.h"
#include "Layer.h"
#include "Reconstruction.h"
@@ -53,6 +54,7 @@
#include "model/FeatureCollectionHandle.h"
#include "model/WeakReferenceCallback.h"
+#endif
namespace GPlatesAppLogic
--- a/src/app-logic/ReconstructLayerTask.h
+++ b/src/app-logic/ReconstructLayerTask.h
@@ -33,6 +33,7 @@
#include <QObject>
#include <QString>
+#ifndef Q_MOC_RUN
#include "LayerTask.h"
#include "ReconstructLayerProxy.h"
#include "ReconstructLayerParams.h"
@@ -42,6 +43,7 @@
#include "maths/types.h"
#include "model/FeatureCollectionHandle.h"
+#endif
namespace GPlatesAppLogic
--- a/src/app-logic/ReconstructScalarCoverageLayerParams.h
+++ b/src/app-logic/ReconstructScalarCoverageLayerParams.h
@@ -30,6 +30,7 @@
#include <boost/optional.hpp>
#include <QObject>
+#ifndef Q_MOC_RUN
#include "LayerParams.h"
#include "ReconstructScalarCoverageLayerProxy.h"
#include "ReconstructScalarCoverageParams.h"
@@ -38,6 +39,7 @@
#include "property-values/ValueObjectType.h"
#include "utils/SubjectObserverToken.h"
+#endif
namespace GPlatesAppLogic
--- a/src/app-logic/ReconstructScalarCoverageLayerTask.h
+++ b/src/app-logic/ReconstructScalarCoverageLayerTask.h
@@ -30,12 +30,14 @@
#include <boost/shared_ptr.hpp>
#include <QObject>
+#ifndef Q_MOC_RUN
#include "LayerTask.h"
#include "ReconstructScalarCoverageLayerParams.h"
#include "ReconstructScalarCoverageLayerProxy.h"
#include "ScalarCoverageFeatureProperties.h"
#include "model/FeatureCollectionHandle.h"
+#endif
namespace GPlatesAppLogic
--- a/src/app-logic/TopologyNetworkResolverLayerTask.h
+++ b/src/app-logic/TopologyNetworkResolverLayerTask.h
@@ -33,6 +33,7 @@
#include <QObject>
#include <QString>
+#ifndef Q_MOC_RUN
#include "LayerParams.h"
#include "LayerTask.h"
#include "ReconstructLayerProxy.h"
@@ -41,6 +42,7 @@
#include "TopologyNetworkResolverLayerProxy.h"
#include "model/FeatureCollectionHandle.h"
+#endif
namespace GPlatesAppLogic
--- a/src/app-logic/VelocityFieldCalculatorLayerTask.h
+++ b/src/app-logic/VelocityFieldCalculatorLayerTask.h
@@ -32,9 +32,11 @@
#include <QObject>
#include <QString>
+#ifndef Q_MOC_RUN
#include "LayerTask.h"
#include "VelocityFieldCalculatorLayerParams.h"
#include "VelocityFieldCalculatorLayerProxy.h"
+#endif
#include "model/FeatureCollectionHandle.h"
--- a/src/data-mining/CoRegConfigurationTable.h
+++ b/src/data-mining/CoRegConfigurationTable.h
@@ -28,6 +28,7 @@
#include <vector>
#include <map>
+#ifndef Q_MOC_RUN
#include <boost/operators.hpp>
#include "CoRegFilter.h"
@@ -44,6 +45,7 @@
#include "scribe/Transcribe.h"
#include "scribe/TranscribeContext.h"
+#endif
namespace GPlatesDataMining
{
--- a/src/gui/CommandServer.h
+++ b/src/gui/CommandServer.h
@@ -38,9 +38,11 @@
#include <QRegExp>
#include <QtXml/QXmlStreamReader>
+#ifndef Q_MOC_RUN
#include "app-logic/ApplicationState.h"
#include "presentation/ViewState.h"
+#endif
namespace GPlatesGui
{
--- a/src/gui/FeatureTableModel.h
+++ b/src/gui/FeatureTableModel.h
@@ -32,8 +32,10 @@
#include <QItemSelection>
#include <QHeaderView>
+#ifndef Q_MOC_RUN
#include "app-logic/Layer.h"
#include "app-logic/ReconstructionGeometry.h"
+#endif
namespace GPlatesAppLogic
--- a/src/gui/TopologyTools.h
+++ b/src/gui/TopologyTools.h
@@ -35,6 +35,7 @@
#include <QDebug>
#include <QObject>
+#ifndef Q_MOC_RUN
#include "TopologySectionsContainer.h"
#include "app-logic/Layer.h"
@@ -64,6 +65,7 @@
#include "utils/UnicodeStringUtils.h"
#include "view-operations/RenderedGeometryCollection.h"
+#endif
namespace GPlatesAppLogic
--- a/src/opengl/GLVisualLayers.h
+++ b/src/opengl/GLVisualLayers.h
@@ -35,6 +35,7 @@
#include <boost/shared_ptr.hpp>
#include <QObject>
+#ifndef Q_MOC_RUN
#include "GLAgeGridMaskSource.h"
#include "GLContext.h"
#include "GLLight.h"
@@ -79,6 +80,7 @@
#include "view-operations/RenderedGeometry.h"
#include "view-operations/ScalarField3DRenderParameters.h"
+#endif
namespace GPlatesAppLogic
--- a/src/presentation/VisualLayer.h
+++ b/src/presentation/VisualLayer.h
@@ -32,6 +32,7 @@
#include <QString>
#include <QObject>
+#ifndef Q_MOC_RUN
#include "VisualLayerParams.h"
#include "VisualLayerType.h"
@@ -42,6 +43,7 @@
#include "model/FeatureCollectionHandle.h"
#include "view-operations/RenderedGeometryCollection.h"
+#endif
namespace GPlatesAppLogic
--- a/src/presentation/VisualLayers.h
+++ b/src/presentation/VisualLayers.h
@@ -34,6 +34,7 @@
#include <boost/weak_ptr.hpp>
#include <QObject>
+#ifndef Q_MOC_RUN
#include "VisualLayer.h"
#include "app-logic/FeatureCollectionFileState.h"
@@ -42,6 +43,7 @@
#include "gui/Symbol.h"
#include "view-operations/RenderedGeometryCollection.h"
+#endif
namespace GPlatesAppLogic
--- a/src/qt-widgets/AssignReconstructionPlateIdsDialog.h
+++ b/src/qt-widgets/AssignReconstructionPlateIdsDialog.h
@@ -39,6 +39,7 @@
#include "GPlatesDialog.h"
#include "InformationDialog.h"
+#ifndef Q_MOC_RUN
#include "app-logic/AssignPlateIds.h"
#include "file-io/File.h"
@@ -47,6 +48,7 @@
#include "model/ModelInterface.h"
#include "presentation/VisualLayer.h"
+#endif
namespace GPlatesAppLogic
--- a/src/qt-widgets/CoRegistrationLayerConfigurationDialog.h
+++ b/src/qt-widgets/CoRegistrationLayerConfigurationDialog.h
@@ -38,6 +38,7 @@
#include "OpenDirectoryDialog.h"
+#ifndef Q_MOC_RUN
#include "app-logic/ApplicationState.h"
#include "app-logic/Layer.h"
#include "app-logic/LayerInputChannelName.h"
@@ -45,6 +46,7 @@
#include "data-mining/CheckAttrTypeVisitor.h"
#include "data-mining/CoRegConfigurationTable.h"
+#endif
#include "global/PointerTraits.h"
--- a/src/qt-widgets/CoRegistrationOptionsWidget.h
+++ b/src/qt-widgets/CoRegistrationOptionsWidget.h
@@ -31,6 +31,7 @@
#include "CoRegistrationLayerConfigurationDialog.h"
#include "CoRegistrationOptionsWidgetUi.h"
#include "LayerOptionsWidget.h"
+#ifndef Q_MOC_RUN
#include "CoRegistrationResultTableDialog.h"
#include "app-logic/CoRegistrationLayerTask.h"
@@ -41,7 +42,7 @@
#include "file-io/File.h"
#include "presentation/VisualLayer.h"
-
+#endif
namespace GPlatesAppLogic
{
--- a/src/qt-widgets/CoRegistrationResultTableDialog.h
+++ b/src/qt-widgets/CoRegistrationResultTableDialog.h
@@ -36,6 +36,7 @@
#include <QEvent>
#include <qevent.h>
+#ifndef Q_MOC_RUN
#include "CoRegistrationResultTableDialogUi.h"
#include "SaveFileDialog.h"
@@ -43,6 +44,7 @@
#include "data-mining/OpaqueDataToQString.h"
#include "presentation/VisualLayer.h"
+#endif
namespace GPlatesPresentation
{
--- a/src/qt-widgets/DrawStyleDialog.h
+++ b/src/qt-widgets/DrawStyleDialog.h
@@ -33,6 +33,7 @@
#include <QMutex>
#include <QMutexLocker>
+#ifndef Q_MOC_RUN
#include "DrawStyleDialogUi.h"
#include "GPlatesDialog.h"
#include "PythonArgumentWidget.h"
@@ -41,6 +42,7 @@
#include "gui/PythonConfiguration.h"
#include "presentation/Application.h"
+#endif
namespace GPlatesAppLogic
{
--- a/src/qt-widgets/EditTableActionWidget.h
+++ b/src/qt-widgets/EditTableActionWidget.h
@@ -27,8 +27,11 @@
#define GPLATES_QTWIDGETS_EDITTABLEACTIONWIDGET_H
#include <QWidget>
+
+#ifndef Q_MOC_RUN
#include "app-logic/ApplicationState.h"
#include "EditTableActionWidgetUi.h"
+#endif
namespace GPlatesQtWidgets
{
--- a/src/qt-widgets/GlobeCanvas.h
+++ b/src/qt-widgets/GlobeCanvas.h
@@ -41,6 +41,7 @@
#include <QPainter>
#include <QtOpenGL/qgl.h>
+#ifndef Q_MOC_RUN
#include "gui/ColourScheme.h"
#include "gui/Globe.h"
#include "gui/ViewportZoom.h"
@@ -58,6 +59,7 @@
#include "qt-widgets/SceneView.h"
#include "view-operations/RenderedGeometryFactory.h"
+#endif
namespace GPlatesGui
--- a/src/qt-widgets/LogDialog.h
+++ b/src/qt-widgets/LogDialog.h
@@ -34,7 +34,9 @@
#include "GPlatesDialog.h"
#include "LogDialogUi.h"
+#ifndef Q_MOC_RUN
#include "app-logic/ApplicationState.h"
+#endif
namespace GPlatesGui
--- a/src/qt-widgets/MapCanvas.h
+++ b/src/qt-widgets/MapCanvas.h
@@ -39,6 +39,7 @@
#include <QSize>
#include <QTransform>
+#ifndef Q_MOC_RUN
#include "gui/ColourScheme.h"
#include "gui/Map.h"
#include "gui/TextOverlay.h"
@@ -47,6 +48,7 @@
#include "opengl/GLMatrix.h"
#include "opengl/GLOffScreenContext.h"
#include "opengl/GLVisualLayers.h"
+#endif
namespace GPlatesGui
--- a/src/qt-widgets/MapView.h
+++ b/src/qt-widgets/MapView.h
@@ -36,6 +36,7 @@
#include <QGLWidget>
#include <QMouseEvent>
+#ifndef Q_MOC_RUN
#include "gui/ColourScheme.h"
#include "maths/LatLonPoint.h"
@@ -44,6 +45,7 @@
#include "opengl/GLVisualLayers.h"
#include "qt-widgets/SceneView.h"
+#endif
namespace GPlatesGui
--- a/src/qt-widgets/MergeReconstructionLayersDialog.h
+++ b/src/qt-widgets/MergeReconstructionLayersDialog.h
@@ -33,7 +33,9 @@
#include "MergeReconstructionLayersDialogUi.h"
+#ifndef Q_MOC_RUN
#include "app-logic/Layer.h"
+#endif
namespace GPlatesAppLogic
--- a/src/qt-widgets/RasterLayerOptionsWidget.h
+++ b/src/qt-widgets/RasterLayerOptionsWidget.h
@@ -31,6 +31,7 @@
#include <QString>
#include <QToolButton>
+#ifndef Q_MOC_RUN
#include "RasterLayerOptionsWidgetUi.h"
#include "LayerOptionsWidget.h"
@@ -40,6 +41,7 @@
#include "gui/BuiltinColourPaletteType.h"
#include "gui/RasterColourPalette.h"
+#endif
namespace GPlatesAppLogic
--- a/src/qt-widgets/ReconstructScalarCoverageLayerOptionsWidget.h
+++ b/src/qt-widgets/ReconstructScalarCoverageLayerOptionsWidget.h
@@ -28,6 +28,7 @@
#include <utility>
+#ifndef Q_MOC_RUN
#include "ReconstructScalarCoverageLayerOptionsWidgetUi.h"
#include "LayerOptionsWidget.h"
@@ -37,6 +38,7 @@
#include "gui/BuiltinColourPaletteType.h"
#include "gui/RasterColourPalette.h"
+#endif
namespace GPlatesAppLogic
--- a/src/qt-widgets/ScalarField3DLayerOptionsWidget.h
+++ b/src/qt-widgets/ScalarField3DLayerOptionsWidget.h
@@ -30,6 +30,7 @@
#include <vector>
#include <QSlider>
+#ifndef Q_MOC_RUN
#include "ScalarField3DLayerOptionsWidgetUi.h"
#include "LayerOptionsWidget.h"
@@ -41,6 +42,7 @@
#include "gui/RasterColourPalette.h"
#include "view-operations/ScalarField3DRenderParameters.h"
+#endif
namespace GPlatesAppLogic
--- a/src/qt-widgets/TotalReconstructionPolesDialog.h
+++ b/src/qt-widgets/TotalReconstructionPolesDialog.h
@@ -32,12 +32,14 @@
#include <boost/weak_ptr.hpp>
#include <QDialog>
+#ifndef Q_MOC_RUN
#include "TotalReconstructionPolesDialogUi.h"
#include "GPlatesDialog.h"
#include "SaveFileDialog.h"
#include "presentation/VisualLayer.h"
+#endif
namespace GPlatesAppLogic
--- a/src/qt-widgets/VisualLayersComboBox.h
+++ b/src/qt-widgets/VisualLayersComboBox.h
@@ -32,8 +32,10 @@
#include <QComboBox>
#include <QObject>
+#ifndef Q_MOC_RUN
#include "presentation/VisualLayer.h"
#include "presentation/VisualLayerType.h"
+#endif
namespace GPlatesPresentation
--- a/src/qt-widgets/VisualLayerWidget.h
+++ b/src/qt-widgets/VisualLayerWidget.h
@@ -36,11 +36,13 @@
#include <QMenu>
#include <QStackedWidget>
+#ifndef Q_MOC_RUN
#include "VisualLayerWidgetUi.h"
#include "app-logic/Layer.h"
#include "gui/Colour.h"
+#endif
namespace GPlatesAppLogic
--- a/src/view-operations/InternalGeometryBuilder.h
+++ b/src/view-operations/InternalGeometryBuilder.h
@@ -30,9 +30,11 @@
#include <vector>
#include <boost/optional.hpp>
+#ifndef Q_MOC_RUN
#include "maths/GeometryOnSphere.h"
#include "maths/GeometryType.h"
#include "maths/PointOnSphere.h"
+#endif
namespace GPlatesViewOperations
{
--- a/src/view-operations/RenderedGeometryCollection.h
+++ b/src/view-operations/RenderedGeometryCollection.h
@@ -39,7 +39,9 @@
#include <boost/foreach.hpp>
#include <QObject>
+#ifndef Q_MOC_RUN
#include "RenderedGeometryLayer.h"
+#endif
namespace GPlatesViewOperations
{
--- a/src/view-operations/RenderedGeometryFactory.h
+++ b/src/view-operations/RenderedGeometryFactory.h
@@ -33,6 +33,7 @@
#include <QString>
#include <QFont>
+#ifndef Q_MOC_RUN
#include "RenderedGeometry.h"
#include "RenderedColouredEdgeSurfaceMesh.h"
#include "RenderedColouredTriangleSurfaceMesh.h"
@@ -62,6 +63,7 @@
#include "property-values/TextContent.h"
#include "view-operations/ScalarField3DRenderParameters.h"
+#endif
namespace GPlatesAppLogic
--- a/src/view-operations/RenderedGeometryLayer.h
+++ b/src/view-operations/RenderedGeometryLayer.h
@@ -35,10 +35,12 @@
#include <boost/optional.hpp>
#include <QObject>
+#ifndef Q_MOC_RUN
#include "RenderedGeometry.h"
#include "maths/CubeQuadTreeLocation.h"
+#endif
namespace GPlatesMaths
{

View File

@ -0,0 +1,24 @@
{ stdenv, fetchurl, qt4, qwt6_qt4, mesa, glew, gdal_1_11, cgal, proj, boost, cmake, python2, doxygen, graphviz, gmp }:
stdenv.mkDerivation rec {
name = "gplates-${version}";
version = "2.0.0";
src = fetchurl {
url = "mirror://sourceforge/gplates/${name}-unixsrc.tar.bz2";
sha256 = "02scnjj5nlc2d2c8lbx0xvj8gg1bgkjliv3wxsx564c55a9x69qw";
};
patches = [
./boostfix.patch
];
buildInputs = [ qt4 qwt6_qt4 mesa glew gdal_1_11 cgal proj boost cmake python2 doxygen graphviz gmp ];
meta = with stdenv.lib; {
description = "Desktop software for the interactive visualisation of plate-tectonics";
homepage = https://www.gplates.org;
license = licenses.gpl2;
platforms = platforms.all;
};
}

View File

@ -5,21 +5,19 @@
stdenv.mkDerivation rec {
name = "cgit-${version}";
version = "0.12";
version = "1.1";
src = fetchurl {
url = "http://git.zx2c4.com/cgit/snapshot/${name}.tar.xz";
sha256 = "1dx54hgfyabmg9nm5qp6d01f54nlbqbbdwhwl0llb9imjf237qif";
sha256 = "142qcgs8dwnzhymn0a7xx47p9fc2z5wrb86ah4a9iz0mpqlsz288";
};
# cgit is tightly coupled with git and needs a git source tree to build.
# IMPORTANT: Remember to check which git version cgit needs on every version
# bump (look in the Makefile).
# NOTE: as of 0.10.1, the git version is compatible from 1.9.0 to
# 1.9.2 (see the repository history)
# bump (look for "GIT_VER" in the top-level Makefile).
gitSrc = fetchurl {
url = "mirror://kernel/software/scm/git/git-2.7.0.tar.xz";
sha256 = "03bvb8s5j8i54qbi3yayl42bv0wf2fpgnh1a2lkhbj79zi7b77zs";
url = "mirror://kernel/software/scm/git/git-2.10.2.tar.xz";
sha256 = "0wc64dzcxrzgi6kwcljz6y3cwm3ajdgf6aws7g58azbhvl1jk04l";
};
buildInputs = [

View File

@ -0,0 +1,93 @@
{ stdenv, fetchurl, fetchpatch, python2, zlib, pkgconfig, glib
, ncurses, perl, pixman, vde2, alsaLib, texinfo, libuuid, flex
, bison, lzo, snappy, libaio, gnutls, nettle, curl
, makeWrapper
, attr, libcap, libcap_ng
, CoreServices, Cocoa, rez, setfile
, numaSupport ? stdenv.isLinux, numactl
, seccompSupport ? stdenv.isLinux, libseccomp
, pulseSupport ? !stdenv.isDarwin, libpulseaudio
, sdlSupport ? !stdenv.isDarwin, SDL
, vncSupport ? true, libjpeg, libpng
, spiceSupport ? !stdenv.isDarwin, spice, spice_protocol, usbredir
, x86Only ? false
, nixosTestRunner ? false
}:
with stdenv.lib;
let
version = "2.8.0";
audio = optionalString (hasSuffix "linux" stdenv.system) "alsa,"
+ optionalString pulseSupport "pa,"
+ optionalString sdlSupport "sdl,";
in
stdenv.mkDerivation rec {
name = "qemu-"
+ stdenv.lib.optionalString x86Only "x86-only-"
+ stdenv.lib.optionalString nixosTestRunner "for-vm-tests-"
+ version;
src = fetchurl {
url = "http://wiki.qemu.org/download/qemu-${version}.tar.bz2";
sha256 = "0qjy3rcrn89n42y5iz60kgr0rrl29hpnj8mq2yvbc1wrcizmvzfs";
};
buildInputs =
[ python2 zlib pkgconfig glib ncurses perl pixman
vde2 texinfo libuuid flex bison makeWrapper lzo snappy
gnutls nettle curl
]
++ optionals stdenv.isDarwin [ CoreServices Cocoa rez setfile ]
++ optionals seccompSupport [ libseccomp ]
++ optionals numaSupport [ numactl ]
++ optionals pulseSupport [ libpulseaudio ]
++ optionals sdlSupport [ SDL ]
++ optionals vncSupport [ libjpeg libpng ]
++ optionals spiceSupport [ spice_protocol spice usbredir ]
++ optionals stdenv.isLinux [ alsaLib libaio libcap_ng libcap attr ];
enableParallelBuilding = true;
patches = [
./no-etc-install.patch
] ++ optional nixosTestRunner ./force-uid0-on-9p.patch;
hardeningDisable = [ "stackprotector" ];
configureFlags =
[ "--smbd=smbd" # use `smbd' from $PATH
"--audio-drv-list=${audio}"
"--sysconfdir=/etc"
"--localstatedir=/var"
]
++ optional numaSupport "--enable-numa"
++ optional seccompSupport "--enable-seccomp"
++ optional spiceSupport "--enable-spice"
++ optional x86Only "--target-list=i386-softmmu,x86_64-softmmu"
++ optional stdenv.isDarwin "--enable-cocoa"
++ optional stdenv.isLinux "--enable-linux-aio";
postFixup =
''
for exe in $out/bin/qemu-system-* ; do
paxmark m $exe
done
'';
postInstall =
''
# Add a qemu-kvm wrapper for compatibility/convenience.
p="$out/bin/qemu-system-${if stdenv.system == "x86_64-linux" then "x86_64" else "i386"}"
if [ -e "$p" ]; then
makeWrapper "$p" $out/bin/qemu-kvm --add-flags "\$([ -e /dev/kvm ] && echo -enable-kvm)"
fi
'';
meta = with stdenv.lib; {
homepage = http://www.qemu.org/;
description = "A generic and open source machine emulator and virtualizer";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ viric eelco ];
platforms = platforms.linux ++ platforms.darwin;
};
}

View File

@ -2,16 +2,16 @@
stdenv.mkDerivation rec {
name = "tzdata-${version}";
version = "2016f";
version = "2016j";
srcs =
[ (fetchurl {
url = "http://www.iana.org/time-zones/repository/releases/tzdata${version}.tar.gz";
sha256 = "1c024mg4gy572vgdj9rk4dqnb33iap06zs8ibasisbyi1089b37d";
sha256 = "1j4xycpwhs57qnkcxwh3np8wnf3km69n3cf4w6p2yv2z247lxvpm";
})
(fetchurl {
url = "http://www.iana.org/time-zones/repository/releases/tzcode${version}.tar.gz";
sha256 = "1vb6n29ik7dzhffzzcnskbhmn6h1dxzan3zanbp118wh8hw5yckj";
sha256 = "1dxhrk4z0n2di8p0yd6q00pa6bwyz5xqbrfbasiz8785ni7zrvxr";
})
];

View File

@ -1 +1 @@
WGET_ARGS=( http://download.kde.org/stable/plasma/5.8.4/ -A '*.tar.xz' )
WGET_ARGS=( http://download.kde.org/stable/plasma/5.8.5/ -A '*.tar.xz' )

View File

@ -3,323 +3,323 @@
{
bluedevil = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/bluedevil-5.8.4.tar.xz";
sha256 = "1c49f35574948q541q25wsalhdz0yji9x18hpg7lc9mb117114fq";
name = "bluedevil-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/bluedevil-5.8.5.tar.xz";
sha256 = "07gj3m5f0rk26n0xm4yddsfny6l2sh0airm45hb33p7m5inaqzgv";
name = "bluedevil-5.8.5.tar.xz";
};
};
breeze = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/breeze-5.8.4.tar.xz";
sha256 = "0jxlvr9yf7pilwjvzzhhx8di6a2gx8812hl08fh4lszbkdia69yw";
name = "breeze-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/breeze-5.8.5.tar.xz";
sha256 = "1gcns00iq7a5f1a0w6vf8zck669gzcd785fiybnvc6s6q8x4bp61";
name = "breeze-5.8.5.tar.xz";
};
};
breeze-grub = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/breeze-grub-5.8.4.tar.xz";
sha256 = "1sysdw3agm568l8mc6bv7g2vhxny34h1b4k9wm36c1x1xyac72cm";
name = "breeze-grub-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/breeze-grub-5.8.5.tar.xz";
sha256 = "12ynrxdfcraphbwv9yrfhvwf3xkzrw0raqvgi7ksz5cvh78kl5qf";
name = "breeze-grub-5.8.5.tar.xz";
};
};
breeze-gtk = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/breeze-gtk-5.8.4.tar.xz";
sha256 = "127hhlxicc3rsxxi9cwcqj32w3yyi20p1sfmfk7gjnklm6zv8b0a";
name = "breeze-gtk-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/breeze-gtk-5.8.5.tar.xz";
sha256 = "15dx5hl9w9fiash30vgkbww6h7hck0dr42hh8gzysn0xyf0fzpgd";
name = "breeze-gtk-5.8.5.tar.xz";
};
};
breeze-plymouth = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/breeze-plymouth-5.8.4.tar.xz";
sha256 = "0lsdincygh75yib1nfyqnwghnpi3pwjyjvkgyza142s49vynkdkj";
name = "breeze-plymouth-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/breeze-plymouth-5.8.5.tar.xz";
sha256 = "1ryb2jrzw0bzpi7ig4h5k0i33d2qviqsjxw7mnqxcb9q49a4ziq1";
name = "breeze-plymouth-5.8.5.tar.xz";
};
};
discover = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/discover-5.8.4.tar.xz";
sha256 = "1wkwkk0cqyz9d68d9s651cjahimb9phwr7k55g6mkigdkljd18fx";
name = "discover-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/discover-5.8.5.tar.xz";
sha256 = "0fr6mksqw46aghfzj78nlq3f89xd63vq2hr4c3gb4vkl5y8v08hg";
name = "discover-5.8.5.tar.xz";
};
};
kactivitymanagerd = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/kactivitymanagerd-5.8.4.tar.xz";
sha256 = "0rb9gc584lhbqfn9q31rl1h0aqiv90b1cb5pd5rcsq6s2yz0g8i2";
name = "kactivitymanagerd-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/kactivitymanagerd-5.8.5.tar.xz";
sha256 = "07cqnbyznn5wy7vrqyid8h5ah7h3sb3pb30qlm83b4m29bkhggwh";
name = "kactivitymanagerd-5.8.5.tar.xz";
};
};
kde-cli-tools = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/kde-cli-tools-5.8.4.tar.xz";
sha256 = "0vzb5gq94hwyzz32z5gvdrpzj3ysvsqb6k25cfc3sy93hwla3a14";
name = "kde-cli-tools-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/kde-cli-tools-5.8.5.tar.xz";
sha256 = "1ig9x5h9xkzis9izggkjpiiy4sm77pk347jdngx01qpacz68iyp7";
name = "kde-cli-tools-5.8.5.tar.xz";
};
};
kdecoration = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/kdecoration-5.8.4.tar.xz";
sha256 = "06ch3871yifkimqs67z3j7rv673qw6wa01x6qnc6899rckg1kdl4";
name = "kdecoration-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/kdecoration-5.8.5.tar.xz";
sha256 = "1vhw57pj9i5224i9irk4qmingvkg5bip11vsqiwhmn5307bpnfiq";
name = "kdecoration-5.8.5.tar.xz";
};
};
kde-gtk-config = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/kde-gtk-config-5.8.4.tar.xz";
sha256 = "15jw7wvk3jl9rbcm2f3vx6i5mjqzibj87l85r9cr33cxaq06wdn4";
name = "kde-gtk-config-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/kde-gtk-config-5.8.5.tar.xz";
sha256 = "1j0mzmmdhqd3a8papps6cad0gqn081mc4kqzi2hjai7038l6951r";
name = "kde-gtk-config-5.8.5.tar.xz";
};
};
kdeplasma-addons = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/kdeplasma-addons-5.8.4.tar.xz";
sha256 = "0f1956dppgyx313ihjv8f21lql387rzzkvmg9y9lh7yidl75gfz4";
name = "kdeplasma-addons-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/kdeplasma-addons-5.8.5.tar.xz";
sha256 = "181kagb4nbl9a7akk79slwkb7m2j4vyhabagih0z8l45wl5wrz9d";
name = "kdeplasma-addons-5.8.5.tar.xz";
};
};
kgamma5 = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/kgamma5-5.8.4.tar.xz";
sha256 = "1r5mzdk2givjmq5j374hgbf17jni4n7836pli2vka4qbjbrlzfg1";
name = "kgamma5-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/kgamma5-5.8.5.tar.xz";
sha256 = "073z4w4i2hwsqqgxcfl0w8d57nhzc069h9zwp7fv93aaw4mgzci2";
name = "kgamma5-5.8.5.tar.xz";
};
};
khotkeys = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/khotkeys-5.8.4.tar.xz";
sha256 = "1q766aaq1l6ihgvjxlw69kpm91ai8nbcc9qc6xnz1924p9957nl3";
name = "khotkeys-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/khotkeys-5.8.5.tar.xz";
sha256 = "1fh0z9vfb908nbwj3snkf9z55jbcb5id87k5sa0v8dhazmp91ylh";
name = "khotkeys-5.8.5.tar.xz";
};
};
kinfocenter = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/kinfocenter-5.8.4.tar.xz";
sha256 = "1mnvp4bkhvmpqfqjag46fcx0kr7w8mq29djqlfd9akypqmzszbvd";
name = "kinfocenter-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/kinfocenter-5.8.5.tar.xz";
sha256 = "1fksnb9klbcrr9ly6dd2yx5y1ngcwcln43zykpc76pr4i49jpggp";
name = "kinfocenter-5.8.5.tar.xz";
};
};
kmenuedit = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/kmenuedit-5.8.4.tar.xz";
sha256 = "0wm40swxarnzv7hs11r1wmj6b0yjby3sxk8n59z6s2zza64n6n8h";
name = "kmenuedit-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/kmenuedit-5.8.5.tar.xz";
sha256 = "1vq5f69w75lj81nz75db88lqxc4zvhicd5w7r6k7amggnwxm9f3m";
name = "kmenuedit-5.8.5.tar.xz";
};
};
kscreen = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/kscreen-5.8.4.tar.xz";
sha256 = "1j43gzxv9j4fjszc839968vmlsrqg7bapwvjnwfc3mc8z2w7a6hl";
name = "kscreen-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/kscreen-5.8.5.tar.xz";
sha256 = "069x3vsfqirmq8r7yfa68srhjvygdwsxcj0b4vvb7zivs29zn1mh";
name = "kscreen-5.8.5.tar.xz";
};
};
kscreenlocker = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/kscreenlocker-5.8.4.tar.xz";
sha256 = "1n4wbzfi2h9lxj8g1qii43q205by1bqv48xxyr871mmmikxrk6qv";
name = "kscreenlocker-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/kscreenlocker-5.8.5.tar.xz";
sha256 = "11b2v3chhk1ma5kjbmf35qahfr8gbaw78mcqs8vw5m9x74vlimkj";
name = "kscreenlocker-5.8.5.tar.xz";
};
};
ksshaskpass = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/ksshaskpass-5.8.4.tar.xz";
sha256 = "033mjmry0hbz2daa9w0i2drxrdjyraynxhlnq0b331b6klxhzczc";
name = "ksshaskpass-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/ksshaskpass-5.8.5.tar.xz";
sha256 = "1gr48f4akrn0yhlnjw4yaas6ah5z40fb8iz06gi1dzry5axfmaxh";
name = "ksshaskpass-5.8.5.tar.xz";
};
};
ksysguard = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/ksysguard-5.8.4.tar.xz";
sha256 = "1hmj32c2jzvk6fwbvdh3ij1651bfslfqhy52y79mc6q816wm7fv3";
name = "ksysguard-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/ksysguard-5.8.5.tar.xz";
sha256 = "1gd81y2a459j5k1mpikfrvwcz7v09m526nrl7kpr4l4a1ps8zfy9";
name = "ksysguard-5.8.5.tar.xz";
};
};
kwallet-pam = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/kwallet-pam-5.8.4.tar.xz";
sha256 = "149qwri47yjv85abfv48232ldvl464df4id9gz0kwjp3cd5n12cn";
name = "kwallet-pam-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/kwallet-pam-5.8.5.tar.xz";
sha256 = "0310vr3p9fxl3vwdgklk0acx6w31pcpq8mi9yldahg1mkjqf7l44";
name = "kwallet-pam-5.8.5.tar.xz";
};
};
kwayland-integration = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/kwayland-integration-5.8.4.tar.xz";
sha256 = "1s3jy3bb15v49w9ym5d9x352lf57dsg72xqmw3w2jbvmmyacg2a7";
name = "kwayland-integration-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/kwayland-integration-5.8.5.tar.xz";
sha256 = "11f63mq7crsbrpdib16q8xg0hk8jr5x1cyv43q8qdqm0591cglli";
name = "kwayland-integration-5.8.5.tar.xz";
};
};
kwin = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/kwin-5.8.4.tar.xz";
sha256 = "1zglmz2c2aiw46vm813m5hznqjx1phs90djlva9vcvv5rvz7y3fn";
name = "kwin-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/kwin-5.8.5.tar.xz";
sha256 = "182z17d4sad9j15qagx9yz13wwzcyy6hlgpy5nlx6dlfcb8s00x7";
name = "kwin-5.8.5.tar.xz";
};
};
kwrited = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/kwrited-5.8.4.tar.xz";
sha256 = "055054i96yxi2pb5lg42d6yjhvwqc5vgqnrczh8f5g6j3ykl6p7s";
name = "kwrited-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/kwrited-5.8.5.tar.xz";
sha256 = "1nsr244niyq2bk29s0cqq1p2qj0h1hx4nl13nc3x3aycfhfkjfkr";
name = "kwrited-5.8.5.tar.xz";
};
};
libkscreen = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/libkscreen-5.8.4.tar.xz";
sha256 = "1vrh4ympdgnvnrl7c4l3hizxza05y0dr4ii6h109r8iqfhbis56p";
name = "libkscreen-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/libkscreen-5.8.5.tar.xz";
sha256 = "1zj2nzyl0nmg5za3iwr4q4nzfv69f35f0394b6k0g3dgh1zxmby9";
name = "libkscreen-5.8.5.tar.xz";
};
};
libksysguard = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/libksysguard-5.8.4.tar.xz";
sha256 = "0mc045qvkzsk1rhvasysbjcqvsm9nvmgha6ljsfn61gnwpb3fjzq";
name = "libksysguard-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/libksysguard-5.8.5.tar.xz";
sha256 = "1acp4kzdjhipsqw90n3rc1ydbkqhb12afwdsfl25fibv0c39avwp";
name = "libksysguard-5.8.5.tar.xz";
};
};
milou = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/milou-5.8.4.tar.xz";
sha256 = "169bcdgbqddmfzz39wdy5cbqqm8djayr3bxn8j28pjkc4l8i93c8";
name = "milou-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/milou-5.8.5.tar.xz";
sha256 = "0lj5cb43jkqs8qg2acs39dkfwskbw135ap65vxiv27ivxscyvz3d";
name = "milou-5.8.5.tar.xz";
};
};
oxygen = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/oxygen-5.8.4.tar.xz";
sha256 = "1g8zm71k31smyzxc1kmvcl889ljfv6l0ks6g9888qyyzhbqps2p4";
name = "oxygen-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/oxygen-5.8.5.tar.xz";
sha256 = "199jcn6qzyihxmw38b1cl0ah0rzn7f574khx72n9x5y9143p9lh7";
name = "oxygen-5.8.5.tar.xz";
};
};
plasma-desktop = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/plasma-desktop-5.8.4.tar.xz";
sha256 = "07dw8x74j0am52rxvig0jcwhlk3kx762hfw3vk6innjfcrkjx43q";
name = "plasma-desktop-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/plasma-desktop-5.8.5.tar.xz";
sha256 = "045990fvhqpwhfi6jqpkzhgbhc3lwvwhkia1y77m12n1djbynpnr";
name = "plasma-desktop-5.8.5.tar.xz";
};
};
plasma-integration = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/plasma-integration-5.8.4.tar.xz";
sha256 = "18w4ws0ydqf0lfd16svgs1sbf2q6rc1zkzfhxwj2jzdhqjqwdikn";
name = "plasma-integration-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/plasma-integration-5.8.5.tar.xz";
sha256 = "1sm7027ywz8xxqfsjv6jvk8zx11kx83rx88bb8cy31qfjipsakfb";
name = "plasma-integration-5.8.5.tar.xz";
};
};
plasma-nm = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/plasma-nm-5.8.4.tar.xz";
sha256 = "0dzk6wa6dsw9mlwxvhyhq8dmk88ia9paavcnw0am165ahpmkpzjq";
name = "plasma-nm-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/plasma-nm-5.8.5.tar.xz";
sha256 = "1g1yyzc8y2hsgycficvavpl5yizd54ns93cdky9cgsrnxlkfwbvc";
name = "plasma-nm-5.8.5.tar.xz";
};
};
plasma-pa = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/plasma-pa-5.8.4.tar.xz";
sha256 = "1p7f7ahr4xc50cn9iawkpq0xna7s7zar8vlkvizgji566sp1yf4i";
name = "plasma-pa-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/plasma-pa-5.8.5.tar.xz";
sha256 = "0vg1dyxfg8rxzyh0xnk41c95zp8rdbx1w462llrwchzp29p3xg1b";
name = "plasma-pa-5.8.5.tar.xz";
};
};
plasma-sdk = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/plasma-sdk-5.8.4.tar.xz";
sha256 = "0nkrppv15l4v2f9g3ihixmgya1ky2zrih1ynak7kqkv43d4827s9";
name = "plasma-sdk-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/plasma-sdk-5.8.5.tar.xz";
sha256 = "13lyb5x4a8aq4fykvdv1137yvc4s4q31fdxhxppza1wkw8lvbvpd";
name = "plasma-sdk-5.8.5.tar.xz";
};
};
plasma-tests = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/plasma-tests-5.8.4.tar.xz";
sha256 = "0hh8rp7sw8lyc61pizhc64138sv41iv9gnn0flbblvd912990i6k";
name = "plasma-tests-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/plasma-tests-5.8.5.tar.xz";
sha256 = "0wgqyqlqygi3z0cccpfrpi259jp4yhh2g4x3mqcxisv58mbjrj1b";
name = "plasma-tests-5.8.5.tar.xz";
};
};
plasma-workspace = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/plasma-workspace-5.8.4.tar.xz";
sha256 = "1hwdrwc43s0mfy86ywws2myr1byf4d1j7x685z05cvyg3ha2wwwd";
name = "plasma-workspace-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/plasma-workspace-5.8.5.tar.xz";
sha256 = "18bf5wmyb198jnbpivjjwsk65sksrvzlvykx3mr3wvj30mr0f9bd";
name = "plasma-workspace-5.8.5.tar.xz";
};
};
plasma-workspace-wallpapers = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/plasma-workspace-wallpapers-5.8.4.tar.xz";
sha256 = "088vmni3krybg5j6bd0amfqn806pxqjnyb0pvlwbakw53yjbsva3";
name = "plasma-workspace-wallpapers-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/plasma-workspace-wallpapers-5.8.5.tar.xz";
sha256 = "116s9qw888lbgxc9ggxf7fa99vggixr2ig1715xb5zmqm14yznyz";
name = "plasma-workspace-wallpapers-5.8.5.tar.xz";
};
};
polkit-kde-agent = {
version = "1-5.8.4";
version = "1-5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/polkit-kde-agent-1-5.8.4.tar.xz";
sha256 = "0jh1msiaig47114ccdpxf3zl77vgs5wvbsl2vibc05i19alr99jg";
name = "polkit-kde-agent-1-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/polkit-kde-agent-1-5.8.5.tar.xz";
sha256 = "1dwk848wljcd9bi0h58h0ljnjlz1qq50rd7i38f3cb848iipisw7";
name = "polkit-kde-agent-1-5.8.5.tar.xz";
};
};
powerdevil = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/powerdevil-5.8.4.tar.xz";
sha256 = "1b1cy98zjdc9w8jd0hqrzmvmvfxg5v6imd4pvnlgfix9bm0gcmcy";
name = "powerdevil-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/powerdevil-5.8.5.tar.xz";
sha256 = "0lj7jcaqfsipiwi7x4q684p4pfsqzflvddr7hrhirfl1p62bc704";
name = "powerdevil-5.8.5.tar.xz";
};
};
sddm-kcm = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/sddm-kcm-5.8.4.tar.xz";
sha256 = "03d2x6hvjvwdmpcs04vs7jqp4nnvw1gmiwfra5xk432argf0nxyx";
name = "sddm-kcm-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/sddm-kcm-5.8.5.tar.xz";
sha256 = "0dcvk3f3cqq4z5hc63ccpxyl3kknjvd8jsnx7r2hfrwsw0y90fqc";
name = "sddm-kcm-5.8.5.tar.xz";
};
};
systemsettings = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/systemsettings-5.8.4.tar.xz";
sha256 = "1j45yvvm8lx1nvwzq2x979s5x3k4i3phjcw73hxyqv9x7y0pnchv";
name = "systemsettings-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/systemsettings-5.8.5.tar.xz";
sha256 = "0pkwmgbjglbyc8i22hivh5gnaj742df3ff3f998k66k81mfjkwga";
name = "systemsettings-5.8.5.tar.xz";
};
};
user-manager = {
version = "5.8.4";
version = "5.8.5";
src = fetchurl {
url = "${mirror}/stable/plasma/5.8.4/user-manager-5.8.4.tar.xz";
sha256 = "0m2yv7qlj0y95z5x3f008aww3jzrs5lf32k9czqia3fyy9szpa1d";
name = "user-manager-5.8.4.tar.xz";
url = "${mirror}/stable/plasma/5.8.5/user-manager-5.8.5.tar.xz";
sha256 = "1ck8x860q3aqgbbgiwfdhs0i0bs2nhqqva19kl9x1b015p64gl5z";
name = "user-manager-5.8.5.tar.xz";
};
};
}

View File

@ -60,6 +60,9 @@ stdenv.mkDerivation rec {
# patch the script which launches the prebuilt compiler
substituteInPlace $(pwd)/crystal-${version}-1/bin/crystal --replace \
"/usr/bin/env bash" "${stdenv.shell}"
substituteInPlace $(pwd)/crystal-${version}/bin/crystal --replace \
"/usr/bin/env bash" "${stdenv.shell}"
${fixPrebuiltBinary}
cd crystal-${version}

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, fetchpatch, bootPkgs, perl, gmp, ncurses, libiconv, binutils, coreutils
, hscolour, patchutils
, hscolour, patchutils, sphinx
}:
let
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
(fetchFilteredPatch { url = https://git.haskell.org/ghc.git/patch/2f8cd14fe909a377b3e084a4f2ded83a0e6d44dd; sha256 = "06zvlgcf50ab58bw6yw3krn45dsmhg4cmlz4nqff8k4z1f1bj01v"; })
] ++ stdenv.lib.optional stdenv.isLinux ./ghc-no-madv-free.patch;
buildInputs = [ ghc perl hscolour ];
buildInputs = [ ghc perl hscolour sphinx];
enableParallelBuilding = true;

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, fetchpatch, bootPkgs, perl, gmp, ncurses, libiconv, binutils, coreutils
, hscolour, patchutils
, hscolour, patchutils, sphinx
}:
let
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
patches = [] ++ stdenv.lib.optional stdenv.isLinux ./ghc-no-madv-free.patch;
buildInputs = [ ghc perl hscolour ];
buildInputs = [ ghc perl hscolour sphinx ];
enableParallelBuilding = true;

View File

@ -998,7 +998,7 @@ self: super: {
# The most current version needs some packages to build that are not in LTS 7.x.
stack = super.stack.overrideScope (self: super: {
http-client = self.http-client_0_5_4;
http-client = self.http-client_0_5_5;
http-client-tls = self.http-client-tls_0_3_3;
http-conduit = self.http-conduit_2_2_3;
optparse-applicative = dontCheck self.optparse-applicative_0_13_0_0;
@ -1136,4 +1136,6 @@ self: super: {
# requires vty 5.13
brick = super.brick.overrideScope (self: super: { vty = self.vty_5_14; });
# https://github.com/krisajenkins/elm-export/pull/22
elm-export = doJailbreak super.elm-export;
}

View File

@ -19,6 +19,7 @@ self: super: {
directory = null;
filepath = null;
ghc-prim = null;
ghci = null;
haskeline = null;
hoopl = null;
hpc = null;

View File

@ -2068,10 +2068,13 @@ package-maintainers:
- ghc-srcspan-plugin
- located-base
jb55:
- skeletons
- bson-lens
- cased
- elm-export-persistent
- pipes-csv
- pipes-mongodb
- skeletons
- streaming-wai
khumba:
- hoppy-docs
- hoppy-generator

File diff suppressed because it is too large Load Diff

View File

@ -113,6 +113,7 @@ let
configureFlags = ["--enable-shared" "--enable-pthread"]
++ op useRailsExpress "--with-baseruby=${baseruby}/bin/ruby"
++ op (!docSupport) "--disable-install-doc"
++ ops stdenv.isDarwin [
# on darwin, we have /usr/include/tk.h -- so the configure script detects
# that tk is installed
@ -154,7 +155,7 @@ let
license = stdenv.lib.licenses.ruby;
homepage = http://www.ruby-lang.org/en/;
description = "The Ruby language";
maintainers = [ stdenv.lib.maintainers.vrthra ];
maintainers = with stdenv.lib.maintainers; [ vrthra manveru ];
platforms = stdenv.lib.platforms.all;
};
@ -218,4 +219,12 @@ in {
git = "0cwjf0nrzaa5g81bw0qp65byyadhxvbnvprkshv3ckjl7yi46zf6";
};
};
ruby_2_4_0 = generic {
version = rubyVersion "2" "4" "0" "";
sha256 = {
src = "0gcyn9328w2vma882l71c9v9ygmmsj2z8j1l44c4l2x92nyx0bqm";
git = "1w9zyx8xmka8jdiha57snnbfls2r6dc9g03d8cjx0nxkmwf3r2l3";
};
};
}

View File

@ -65,4 +65,9 @@ rec {
"${patchSet}/patches/ruby/2.3/head/railsexpress/02-improve-gc-stats.patch"
"${patchSet}/patches/ruby/2.3/head/railsexpress/03-display-more-detailed-stack-trace.patch"
];
"2.4.0" = ops useRailsExpress [
"${patchSet}/patches/ruby/2.4.0/railsexpress/01-skip-broken-tests.patch"
"${patchSet}/patches/ruby/2.4.0/railsexpress/02-improve-gc-stats.patch"
"${patchSet}/patches/ruby/2.4.0/railsexpress/03-display-more-detailed-stack-trace.patch"
];
}

View File

@ -1,8 +1,8 @@
{ fetchFromGitHub }:
fetchFromGitHub {
owner = "skaes";
owner = "manveru";
repo = "rvm-patchsets";
rev = "951e47ca1022cd1e41de9177fa87438cfb72d127";
sha256 = "18n2frwmn6lcnjywysyjam1zfzfad0r50141xs2h9kifsyak5xcf";
rev = "46e04f230ce91a786f5e583389443efec0ecd594";
sha256 = "0ayh8zj8knyz3344an942qdf33pi42jmksqk34frb346zi1ag693";
}

View File

@ -2,7 +2,10 @@
callPackage ./generic.nix (args // {
baseVersion = "1.10";
revision = "13";
sha256 = "144vl65z7bys43sxgb09mbisyf2nmh49wh0d957y0ksa9cyrgv13";
revision = "14";
sha256 = "072czy26vfjcqjww4qccsd29fzkb6mb8czamr4x76rdi9lwhpv8h";
extraConfigureFlags = "--with-gnump";
postPatch = ''
sed -e 's@lang_flags "@&--std=c++11 @' -i src/build-data/cc/{gcc,clang}.txt
'';
})

View File

@ -2,8 +2,8 @@
callPackage ./generic.nix (args // {
baseVersion = "1.11";
revision = "32";
sha256 = "0b4wgqyv6accsdh7fgr9as34r38f8r9024i6s3vhah6wiah7kddn";
revision = "34";
sha256 = "05hzffp0dxac7414a84z0fgv980cnfx55ch2y4vpg5nvin7m9bar";
openssl = null;
postPatch = "sed '1i#include <cmath>' -i src/tests/test_bigint.cpp";
})

View File

@ -3,18 +3,17 @@
let
ver_maj = "2.36";
ver_min = "0";
ver_min = "2";
in
stdenv.mkDerivation rec {
name = "gdk-pixbuf-${ver_maj}.${ver_min}";
src = fetchurl {
url = "mirror://gnome/sources/gdk-pixbuf/${ver_maj}/${name}.tar.xz";
sha256 = "85ab52ce9f2c26327141b3dcf21cca3da6a3f8de84b95fa1e727d8871a23245c";
sha256 = "3a082ad67d68b55970aed0b2034a06618167be98a42d5c70de736756b45d325d";
};
outputs = [ "out" "dev" "devdoc" ];
outputBin = "dev";
setupHook = ./setup-hook.sh;
@ -27,14 +26,21 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ glib libtiff libjpeg libpng jasper ];
configureFlags = "--with-libjasper --with-x11"
+ stdenv.lib.optionalString (gobjectIntrospection != null) " --enable-introspection=yes"
;
# on darwin, tests don't link
preBuild = stdenv.lib.optionalString (stdenv.isDarwin && !doCheck) ''
substituteInPlace Makefile --replace "docs tests" "docs"
'';
configureFlags = "--with-libjasper --with-x11"
+ stdenv.lib.optionalString (gobjectIntrospection != null) " --enable-introspection=yes"
;
postInstall =
# All except one utility seem to be only useful during building.
''
moveToOutput "bin" "$dev"
moveToOutput "bin/gdk-pixbuf-thumbnailer" "$out"
'';
# The tests take an excessive amount of time (> 1.5 hours) and memory (> 6 GB).
inherit (doCheck);

View File

@ -38,9 +38,13 @@ stdenv.mkDerivation rec {
++ optional xineramaSupport libXinerama
++ optionals cupsSupport [ cups ];
configureFlags = if stdenv.isDarwin
then "--disable-glibtest --disable-introspection --disable-visibility"
else "--with-xinput=yes";
configureFlags = [
"--with-xinput=yes"
] ++ stdenv.lib.optionals stdenv.isDarwin [
"--disable-glibtest"
"--disable-introspection"
"--disable-visibility"
];
postInstall = ''
moveToOutput share/gtk-2.0/demo "$devdoc"

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
name = "libstrophe-${version}";
version = "0.8.8";
version = "0.9.1";
src = fetchFromGitHub {
owner = "strophe";
repo = "libstrophe";
rev = version;
sha256 = "1xzyqqf99r0jfd0g3v0zwc68sac6y25v1d4m365zpc14l02midis";
sha256 = "099iv13c03y1dsn2ngdhfx2cnax0aj2gfh00w55hlzpvmjm8dsml";
};
buildInputs = [ automake autoconf openssl expat libtool pkgconfig check ];
@ -27,8 +27,8 @@ stdenv.mkDerivation rec {
runs well on both Linux, Unix, and Windows based platforms.
'';
homepage = http://strophe.im/libstrophe/;
license = stdenv.lib.licenses.gpl3;
license = with stdenv.lib.licenses; [gpl3 mit];
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.devhell ];
maintainers = with stdenv.lib.maintainers; [devhell flosse];
};
}

View File

@ -1,16 +1,22 @@
{ stdenv, fetchurl, sphinxbase, pkgconfig }:
{ stdenv
, fetchurl
, sphinxbase
, pkgconfig
, python27 # >= 2.6
, swig2 # 2.0
}:
stdenv.mkDerivation rec {
name = "pocketsphinx-0.8";
name = "pocketsphinx-5prealpha";
src = fetchurl {
url = "mirror://sourceforge/cmusphinx/${name}.tar.gz";
sha256 = "0ynf5ik4ib2d3ha3r4i8ywpr2dz5i6v51hmfl8kgzj4i7l44qk47";
sha256 = "1n9yazzdgvpqgnfzsbl96ch9cirayh74jmpjf7svs4i7grabanzg";
};
propagatedBuildInputs = [ sphinxbase ];
buildInputs = [ pkgconfig ];
buildInputs = [ pkgconfig python27 swig2 ];
meta = {
description = "Voice recognition library written in C";
@ -19,3 +25,22 @@ stdenv.mkDerivation rec {
platforms = stdenv.lib.platforms.linux;
};
}
/* Example usage:
1.
$ cat << EOF > vocabulary.txt
oh mighty computer /1e-40/
hello world /1e-30/
EOF
2.
$ pocketsphinx_continuous -inmic yes -kws vocabulary.txt 2> /dev/null
# after you say "hello world":
hello world
...
*/

View File

@ -0,0 +1,29 @@
{ stdenv, fetchurl, qt4, qmake4Hook }:
stdenv.mkDerivation rec {
name = "qwt-6.1.2";
src = fetchurl {
url = "mirror://sourceforge/qwt/${name}.tar.bz2";
sha256 = "031x4hz1jpbirv9k35rqb52bb9mf2w7qav89qv1yfw1r3n6z221b";
};
buildInputs = [ qt4 ];
nativeBuildInputs = [ qmake4Hook ];
postPatch = ''
sed -e "s|QWT_INSTALL_PREFIX.*=.*|QWT_INSTALL_PREFIX = $out|g" -i qwtconfig.pri
'';
qmakeFlags = [ "-after doc.path=$out/share/doc/${name}" ];
meta = with stdenv.lib; {
description = "Qt widgets for technical applications";
homepage = http://qwt.sourceforge.net/;
# LGPL 2.1 plus a few exceptions (more liberal)
license = stdenv.lib.licenses.qwt;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
branch = "6";
};
}

View File

@ -2,18 +2,20 @@
, fetchurl
, bison
, pkgconfig
, python27 # >= 2.6
, swig2 # 2.0
, multipleOutputs ? false #Uses incomplete features of nix!
}:
stdenv.mkDerivation (rec {
name = "sphinxbase-0.8";
name = "sphinxbase-5prealpha";
src = fetchurl {
url = "mirror://sourceforge/cmusphinx/${name}.tar.gz";
sha256 = "1a3c91g6rcfb2k8qyfhnd7s68ds6pxwv61xfp0ai1arbhx28jw2m";
sha256 = "0vr4k8pv5a8nvq9yja7kl13b5lh0f9vha8fc8znqnm8bwmcxnazp";
};
buildInputs = [ pkgconfig bison ];
buildInputs = [ swig2 python27 pkgconfig bison ];
meta = {
description = "Support Library for Pocketsphinx";

View File

@ -1,7 +1,9 @@
{ stdenv, fetchurl, zlib, bzip2, pkgconfig, curl, lzma, gettext
, sdlClient ? true, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_gfx, freetype, fluidsynth
, gtkClient ? false, gtk2
, server ? true, readline }:
, server ? true, readline
, enableSqlite ? true, sqlite
}:
let
inherit (stdenv.lib) optional optionals;
@ -10,14 +12,15 @@ let
gtkName = if gtkClient then "-gtk" else "";
name = "freeciv";
version = "2.5.3";
version = "2.5.6";
in
stdenv.mkDerivation {
name = "${name}${sdlName}${gtkName}-${version}";
inherit version;
src = fetchurl {
url = "mirror://sourceforge/freeciv/${name}-${version}.tar.bz2";
sha256 = "0p40bpkhbldsnlqdvfn3qd2vzadxfrfsf1r57x1akwabqs0h62s8";
sha256 = "16wrnsx5rmbz6rjs03bhy0vn20i6n6g73lx7fjpai98ixhzc5bfg";
};
nativeBuildInputs = [ pkgconfig ];
@ -25,10 +28,12 @@ stdenv.mkDerivation {
buildInputs = [ zlib bzip2 curl lzma gettext ]
++ optionals sdlClient [ SDL SDL_mixer SDL_image SDL_ttf SDL_gfx freetype fluidsynth ]
++ optionals gtkClient [ gtk2 ]
++ optional server readline;
++ optional server readline
++ optional enableSqlite sqlite;
configureFlags = []
configureFlags = [ "--enable-shared" ]
++ optional sdlClient "--enable-client=sdl"
++ optional enableSqlite "--enable-fcdb=sqlite3"
++ optional (!gtkClient) "--enable-fcmp=cli"
++ optional (!server) "--disable-server";

View File

@ -11,14 +11,14 @@ let
};
});
in stdenv.mkDerivation rec {
version = "0.40.0";
version = "0.41.0";
name = "openmw-${version}";
src = fetchFromGitHub {
owner = "OpenMW";
repo = "openmw";
rev = name;
sha256 = "0mqd4gpwvczwqfkw5zvnw7cl1nzv9lkiqq2yc2a0qasaby8qv94w";
sha256 = "1qay278965i7ja2rjllhcqfq7zpbapd7w57xly02apniadyfg0yz";
};
enableParallelBuilding = true;

View File

@ -44,7 +44,7 @@ let
libav
atk
# Only libraries are needed from those two
udev182
libudev0-shim
networkmanager098
# Verified games requirements

View File

@ -1,13 +1,10 @@
{ stdenv, fetchFromGitHub, utillinux
,autoconf, automake, libtool, gettext }:
, autoconf, automake, libtool, gettext }:
stdenv.mkDerivation rec {
name = "fuse-${version}";
version = "2.9.7";
#builder = ./builder.sh;
src = fetchFromGitHub {
owner = "libfuse";
repo = "libfuse";
@ -17,8 +14,6 @@ stdenv.mkDerivation rec {
buildInputs = [ utillinux autoconf automake libtool gettext ];
inherit utillinux;
preConfigure =
''
export MOUNT_FUSE_PATH=$out/sbin
@ -32,7 +27,7 @@ stdenv.mkDerivation rec {
sed -e 's@/bin/@${utillinux}/bin/@g' -i lib/mount_util.c
sed -e 's@CONFIG_RPATH=/usr/share/gettext/config.rpath@CONFIG_RPATH=${gettext}/share/gettext/config.rpath@' -i makeconf.sh
./makeconf.sh
'';

View File

@ -165,4 +165,14 @@ rec {
sha256 = "19viqjjgq8j8jiz5yhgmzwhqvhwv175q645qdazd1k69d25nv2ki";
};
};
panic_on_icmp6_frag_CVE_2016_9919 = rec
{ name = "panic_on_icmp6_frag_CVE_2016_9919.patch";
patch = fetchpatch {
inherit name;
url = "https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=79dc7e3f1cd323be4c81aa1a94faa1b3ed987fb2";
sha256 = "0mps33r4mnwiy0bmgrzgqkrk59yya17v6kzpv9024g4xlz61rk8p";
};
};
}

View File

@ -0,0 +1,29 @@
{ stdenv, fetchFromGitHub, udev }:
stdenv.mkDerivation rec {
name = "libudev0-shim-${version}";
version = "1";
src = fetchFromGitHub {
owner = "archlinux";
repo = "libudev0-shim";
rev = "v${version}";
sha256 = "1460qm6rp1cqnns39lj24z7191m8sbpvbjabqbzb55dkdd2kw50z";
};
buildInputs = [ udev ];
installPhase = ''
name="$(echo libudev.so.*)"
install -Dm755 "$name" "$out/lib/$name"
ln -s "$name" "$out/lib/libudev.so.0"
'';
meta = with stdenv.lib; {
description = "Shim to preserve libudev.so.0 compatibility";
homepage = "https://github.com/archlinux/libudev0-shim";
platforms = platforms.linux;
license = licenses.lgpl21;
maintainers = with maintainers; [ abbradar ];
};
}

View File

@ -1,53 +0,0 @@
{ stdenv, fetchurl, gperf, pkgconfig, glib, acl, libusb, usbutils, pciutils }:
assert stdenv ? glibc;
stdenv.mkDerivation rec {
name = "udev-145";
src = fetchurl {
url = "mirror://kernel/linux/utils/kernel/hotplug/${name}.tar.bz2";
sha256 = "1zmibp6n7d582fqx8vmg9vb2a1435hghfpz36056bc25ccwf7yiv";
};
buildInputs = [gperf pkgconfig glib acl libusb usbutils];
configureFlags = "--with-pci-ids-path=${pciutils}/share/pci.ids";
preConfigure =
''
substituteInPlace extras/keymap/Makefile.in \
--replace /usr/include ${stdenv.glibc.dev}/include
'';
postInstall =
''
# Install some rules that really should be installed by default.
for i in 40-alsa.rules 40-infiniband.rules 40-isdn.rules 40-pilot-links.rules 64-device-mapper.rules 64-md-raid.rules; do
cp rules/packages/$i $out/libexec/rules.d/
done
# The path to rule_generator.functions in write_cd_rules and
# write_net_rules is broken. Also, don't store the mutable
# persistant rules in /etc/udev/rules.d but in
# /var/lib/udev/rules.d.
for i in $out/libexec/write_cd_rules $out/libexec/write_net_rules; do
substituteInPlace $i \
--replace /lib/udev $out/libexec \
--replace /etc/udev/rules.d /var/lib/udev/rules.d
done
# Don't set PATH to /bin:/sbin; won't work in NixOS.
substituteInPlace $out/libexec/rule_generator.functions \
--replace 'PATH=' '#PATH='
# Don't hardcore the FIRMWARE_DIRS variable; obtain it from the
# environment of the caller.
sed '3,4d' -i $out/libexec/firmware.sh
'';
meta = {
homepage = http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html;
description = "Udev manages the /dev filesystem";
};
}

View File

@ -1,39 +0,0 @@
{ stdenv, fetchurl, pkgconfig
, pciutils, utillinux, kmod, usbutils, gperf
}:
assert stdenv ? glibc;
stdenv.mkDerivation rec {
name = "udev-182";
src = fetchurl {
url = "mirror://kernel/linux/utils/kernel/hotplug/${name}.tar.bz2";
sha256 = "143qvm0kij26j2l5icnch4x38fajys6li7j0c5mpwi6kqmc8hqx0";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ utillinux kmod usbutils #glib gobjectIntrospection
gperf
];
configureFlags = [ "--with-pci-ids-path=${pciutils}/share/pci.ids"
"--disable-gudev"
"--disable-introspection"
];
postPatch = ''
sed -i 's:input.h:input-event-codes.h:' Makefile.in
sed -i '20a#include <stdint.h>' src/mtd_probe/mtd_probe.h
'';
NIX_LDFLAGS = [ "-lrt" ];
meta = with stdenv.lib; {
homepage = http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html;
description = "Udev manages the /dev filesystem";
platforms = platforms.linux;
license = licenses.gpl2;
};
}

View File

@ -1,20 +1,25 @@
{ stdenv, fetchurl, fetchgit, jansson, libxml2, libxslt, ncurses, openssl, sqlite, utillinux }:
{ stdenv, pkgs, fetchurl, fetchgit,
jansson, libxml2, libxslt, ncurses, openssl, sqlite,
utillinux, dmidecode, libuuid, binutils, newt,
lua,
srtp, wget, curl,
subversionClient
}:
stdenv.mkDerivation rec {
name = "asterisk-${version}";
version = "13.6.0";
version = "14.1.2";
src = fetchurl {
url = "http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/asterisk-${version}.tar.gz";
sha256 = "0nh0fnqx84as92kk9d73s0386cndd17l06y1c72jl2bdjhyba0ca";
sha256 = "0w9s4334rwvpyxm169grmnb4k9yq0l2al73dyh4cb8769qcs0ij8";
};
# Note that these sounds are included with the release tarball. They are
# provided here verbatim for the convenience of anyone wanting to build
# Asterisk from other sources.
coreSounds = fetchurl {
url = http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-core-sounds-en-gsm-1.4.26.tar.gz;
sha256 = "2300e3ed1d2ded6808a30a6ba71191e7784710613a5431afebbd0162eb4d5d73";
url = http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-core-sounds-en-gsm-1.5.tar.gz;
sha256 = "01xzbg7xy0c5zg7sixjw5025pvr4z64kfzi9zvx19im0w331h4cd";
};
mohSounds = fetchurl {
url = http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-moh-opsound-wav-2.03.tar.gz;
@ -22,7 +27,7 @@ stdenv.mkDerivation rec {
};
# TODO: Sounds for other languages could be added here
buildInputs = [ jansson libxml2 libxslt ncurses openssl sqlite utillinux ];
buildInputs = [ jansson libxml2 libxslt ncurses openssl sqlite utillinux dmidecode libuuid binutils newt lua srtp wget curl subversionClient ];
patches = [
# Disable downloading of sound files (we will fetch them
@ -38,14 +43,24 @@ stdenv.mkDerivation rec {
# Use the following preConfigure section when building Asterisk from sources
# other than the release tarball.
# preConfigure = ''
# ln -s ${coreSounds} sounds/asterisk-core-sounds-en-gsm-1.4.26.tar.gz
# ln -s ${mohSounds} sounds/asterisk-moh-opsound-wav-2.03.tar.gz
# '';
# preConfigure = ''
# ln -s ${coreSounds} sounds/asterisk-core-sounds-en-gsm-1.5.tar.gz
# ln -s ${mohSounds} sounds/asterisk-moh-opsound-wav-2.03.tar.gz
#'';
# The default libdir is $PREFIX/usr/lib, which causes problems when paths
# compiled into Asterisk expect ${out}/usr/lib rather than ${out}/lib.
configureFlags = "--libdir=\${out}/lib";
configureFlags = [
"--libdir=\${out}/lib"
"--with-lua=${lua}/lib"
"--with-pjproject-bundled"
];
preBuild = ''
make menuselect.makeopts
substituteInPlace menuselect.makeopts --replace 'format_mp3 ' ""
./contrib/scripts/get_mp3_source.sh
'';
postInstall = ''
# Install sample configuration files for this version of Asterisk
@ -56,9 +71,6 @@ stdenv.mkDerivation rec {
description = "Software implementation of a telephone private branch exchange (PBX)";
homepage = http://www.asterisk.org/;
license = licenses.gpl2;
maintainers = with maintainers; [ auntie ];
# Marked as broken due to needing an update for security issues.
# See: https://github.com/NixOS/nixpkgs/issues/18856
broken = true;
maintainers = with maintainers; [ auntie DerTim1 ];
};
}

View File

@ -1,7 +1,7 @@
diff -ruN asterisk-13.2.0/sounds/Makefile asterisk-13.2.0-patched/sounds/Makefile
--- asterisk-13.2.0/sounds/Makefile 2014-09-09 14:01:11.000000000 -0600
+++ asterisk-13.2.0-patched/sounds/Makefile 2015-03-31 16:12:00.549133670 -0600
@@ -89,7 +89,7 @@
diff -ruN asterisk-14.1.2/sounds/Makefile asterisk-14.1.2-patched/sounds/Makefile
--- asterisk-14.1.2/sounds/Makefile 2016-11-10 20:43:02.000000000 +0100
+++ asterisk-14.1.2-patched/sounds/Makefile 2016-11-16 10:08:46.591615147 +0100
@@ -90,7 +90,7 @@
) && touch "$(1)$(if $(3),/$(3),)/$$@"; \
fi

View File

@ -1,6 +1,6 @@
diff -rupN asterisk-13.3.2/build_tools/make_defaults_h asterisk-13.3.2-patched/build_tools/make_defaults_h
--- asterisk-13.3.2/build_tools/make_defaults_h 2012-01-30 14:21:16.000000000 -0700
+++ asterisk-13.3.2-patched/build_tools/make_defaults_h 2015-04-15 19:07:46.760351155 -0600
diff -rupN asterisk-14.1.2/build_tools/make_defaults_h asterisk-14.1.2-patched/build_tools/make_defaults_h
--- asterisk-14.1.2/build_tools/make_defaults_h 2016-11-10 20:43:02.000000000 +0100
+++ asterisk-14.1.2-patched/build_tools/make_defaults_h 2016-11-16 10:09:04.189625495 +0100
@@ -1,4 +1,13 @@
#!/bin/sh
+

View File

@ -7,11 +7,11 @@ assert enableMagnet -> lua5_1 != null;
assert enableMysql -> mysql != null;
stdenv.mkDerivation rec {
name = "lighttpd-1.4.41";
name = "lighttpd-1.4.44";
src = fetchurl {
url = "http://download.lighttpd.net/lighttpd/releases-1.4.x/${name}.tar.xz";
sha256 = "0v3b6hp8hfwg7kmmxs64hdn9iqkql5qjv2389wl7pp6nyqz3ik2b";
sha256 = "08jlgcy08w1gd8hkmz0bccipv4dzxdairj89nbz5f6b5hnlnrdmd";
};
buildInputs = [ pkgconfig pcre libxml2 zlib attr bzip2 which file openssl ]

View File

@ -27,7 +27,6 @@ stdenv.mkDerivation {
"--with-http_realip_module"
"--with-http_addition_module"
"--with-http_xslt_module"
"--with-http_image_filter_module"
"--with-http_geoip_module"
"--with-http_sub_module"
"--with-http_dav_module"
@ -44,6 +43,7 @@ stdenv.mkDerivation {
# Install destination problems
# "--with-http_perl_module"
] ++ optional withStream "--with-stream"
++ optional (gd != null) "--with-http_image_filter_module"
++ optional (elem stdenv.system (with platforms; linux ++ freebsd)) "--with-file-aio"
++ map (mod: "--add-module=${mod.src}") modules;

View File

@ -98,15 +98,15 @@ diff --git a/src/lib-ssl-iostream/iostream-ssl.c b/src/lib-ssl-iostream/iostream
index a0659ab..dba3729 100644
--- a/src/lib-ssl-iostream/iostream-ssl.c
+++ b/src/lib-ssl-iostream/iostream-ssl.c
@@ -29,7 +29,7 @@ static int ssl_module_load(const char **error_r)
memset(&mod_set, 0, sizeof(mod_set));
@@ -34,7 +34,7 @@ static int ssl_module_load(const char **error_r)
mod_set.abi_version = DOVECOT_ABI_VERSION;
mod_set.setting_name = "<built-in lib-ssl-iostream lookup>";
mod_set.require_init_funcs = TRUE;
- ssl_module = module_dir_load(MODULE_DIR, plugin_name, &mod_set);
+ ssl_module = module_dir_load("/etc/dovecot/modules", plugin_name, &mod_set);
ssl_vfuncs = module_get_symbol(ssl_module, "ssl_vfuncs");
if (ssl_vfuncs == NULL) {
if (module_dir_try_load_missing(&ssl_module, MODULE_DIR, plugin_name,
&mod_set, error_r) < 0)
return -1;
diff --git a/src/lib-storage/mail-storage-settings.c b/src/lib-storage/mail-storage-settings.c
index e2233bf..bbf981e 100644
--- a/src/lib-storage/mail-storage-settings.c

View File

@ -8,7 +8,7 @@
}:
stdenv.mkDerivation rec {
name = "dovecot-2.2.25";
name = "dovecot-2.2.27";
nativeBuildInputs = [ perl pkgconfig ];
buildInputs = [ openssl bzip2 zlib clucene_core_2 icu openldap ]
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "http://dovecot.org/releases/2.2/${name}.tar.gz";
sha256 = "0rwn5wc5b8j9fzqcjggdgpzmb77myrf4ra294z1gg5v3hhng7nfq";
sha256 = "1s8qvr6fa9d0n179kdwgpsi72zkvpbh9q57q8fr2fjysgjl94zw9";
};
preConfigure = ''

View File

@ -0,0 +1,31 @@
{ stdenv, lib, fetchFromGitHub, gcc, postgresql }:
stdenv.mkDerivation {
name = "pg_similarity-1.0";
src = fetchFromGitHub {
owner = "eulerto";
repo = "pg_similarity";
rev = "be1a8b08c8716e59b89982557da9ea68cdf868c5";
sha256 = "1z4v4r2yccdr8kz3935fnk1bc5vj0qj0apscldyap4wxlyi89xim";
};
buildInputs = [ postgresql gcc ];
buildPhase = "USE_PGXS=1 make";
installPhase = ''
mkdir -p $out/bin # for buildEnv to setup proper symlinks
install -D pg_similarity.so -t $out/lib/
install -D ./{pg_similarity--unpackaged--1.0.sql,pg_similarity--1.0.sql,pg_similarity.control} -t $out/share/extension
'';
meta = {
description = ''
pg_similarity is an extension to support similarity queries on PostgreSQL. The implementation
is tightly integrated in the RDBMS in the sense that it defines operators so instead of the traditional
operators (= and <>) you can use ~~~ and ~!~ (any of these operators represents a similarity function).
'';
platforms = stdenv.lib.platforms.linux;
license = stdenv.lib.licenses.gpl2;
maintainers = with lib.maintainers; [ danbst ];
};
}

View File

@ -0,0 +1,21 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "mlocate-${version}";
version = "0.26";
src = fetchurl {
url = "http://fedorahosted.org/releases/m/l/mlocate/${name}.tar.xz";
sha256 = "0gi6y52gkakhhlnzy0p6izc36nqhyfx5830qirhvk3qrzrwxyqrh";
};
buildInputs = [ ];
meta = with stdenv.lib; {
description = "Merging locate is an utility to index and quickly search for files";
homepage = https://fedorahosted.org/mlocate/;
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ ];
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, openssl
{ stdenv, fetchurl, libressl
, privsepPath ? "/var/empty"
, privsepUser ? "ntp"
}:
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
"--localstatedir=/var"
];
buildInputs = [ openssl ];
buildInputs = [ libressl ];
installFlags = [
"sysconfdir=\${out}/etc"

View File

@ -1,12 +1,12 @@
{ stdenv, fetchurl, openssl, lzo, zlib, iproute, which, ronn }:
stdenv.mkDerivation rec {
version = "1.1.12";
version = "1.1.14";
name = "zerotierone";
src = fetchurl {
url = "https://github.com/zerotier/ZeroTierOne/archive/${version}.tar.gz";
sha256 = "0mji6bmxjvxy2mhvzfz4vpdz62n1wv6a02rapzbiad8zr2c869cm";
sha256 = "1brlyqk2p5h9sws15nbkmm4qhx911aib1v7crmcm2rhwsad0c1nj";
};
preConfigure = ''
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
description = "Create flat virtual Ethernet networks of almost unlimited size";
homepage = https://www.zerotier.com;
license = licenses.gpl3;
maintainers = with maintainers; [ sjmackenzie ];
maintainers = with maintainers; [ sjmackenzie zimbatm ];
platforms = platforms.allBut [ "i686-linux" ];
};
}

View File

@ -1,12 +1,12 @@
{
"amd64": {
"path": "pool/main/e/enpass/enpass_5.3.0_amd64.deb",
"sha256": "d9da061c6456281da836bdd78bdb7baeced4b7f1805bb2495e4f1d15038cf86b",
"version": "5.3.0"
"path": "pool/main/e/enpass/enpass_5.4.0-4_amd64.deb",
"sha256": "6b460fed2d7d8473e2b5d069dbe60263195b916c8b79a8fc7c2e8cb953134579",
"version": "5.4.0.post4"
},
"i386": {
"path": "pool/main/e/enpass/enpass_5.3.0_i386.deb",
"sha256": "58d9f3b83c2da477c13976e1826d112236eabd46a389de7e8767ee99ac41f469",
"version": "5.3.0"
"path": "pool/main/e/enpass/enpass_5.4.0-4_i386.deb",
"sha256": "1ec8088d5c3b2906d6820f96e1868c473e78dbe882f04e74a7816d19d43e3692",
"version": "5.4.0.post4"
}
}

View File

@ -44,16 +44,6 @@ let
inherit (data) version;
name = "enpass-${version}";
desktopItem = makeDesktopItem {
name = "Enpass";
exec = "$out/bin/Enpass";
#icon = "Enpass";
desktopName = "Enpass";
genericName = "Password manager";
categories = "Application;Security;";
};
src = fetchurl {
inherit (data) sha256;
url = "${baseUrl}/${data.path}";
@ -74,11 +64,12 @@ let
installPhase=''
mkdir $out
cp -r opt/Enpass/* $out
cp -r usr/* $out
rm $out/bin/runenpass.sh
# Make desktop item
mkdir -p "$out"/share/applications
cp "$desktopItem"/share/applications/* "$out"/share/applications/
mkdir -p "$out"/share/icons
sed \
-i s@/opt/Enpass/bin/runenpass.sh@$out/bin/Enpass@ \
$out/share/applications/enpass.desktop
patchelf \
--set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
@ -88,7 +79,8 @@ let
--set LD_LIBRARY_PATH "${libPath}:$out/lib:$out/plugins/sqldrivers" \
--set QT_PLUGIN_PATH "$out/plugins" \
--set QT_QPA_PLATFORM_PLUGIN_PATH "$out/plugins/platforms" \
--set QT_XKB_CONFIG_ROOT "${xkeyboardconfig}/share/X11/xkb"
--set QT_XKB_CONFIG_ROOT "${xkeyboardconfig}/share/X11/xkb" \
--set HIDE_TOOLBAR_LINE 0
'';
};
updater = {

View File

@ -0,0 +1,26 @@
# This file was generated by go2nix.
{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
buildGoPackage rec {
name = "codesearch-${version}";
version = "20150617-${stdenv.lib.strings.substring 0 7 rev}";
rev = "a45d81b686e85d01f2838439deaf72126ccd5a96";
goPackagePath = "github.com/google/codesearch";
src = fetchgit {
inherit rev;
url = "https://github.com/google/codesearch";
sha256 = "12bv3yz0l3bmsxbasfgv7scm9j719ch6pmlspv4bd4ix7wjpyhny";
};
goDeps = ./deps.nix;
meta = {
description = "Fast, indexed regexp search over large file trees";
homepage = "https://github.com/google/codesearch";
license = [ stdenv.lib.licenses.bsd3 ];
maintainers = [ stdenv.lib.maintainers.bennofs ];
platforms = stdenv.lib.platforms.unix;
};
}

View File

@ -0,0 +1,3 @@
# This file was generated by go2nix.
[
]

View File

@ -779,6 +779,8 @@ in
cpulimit = callPackage ../tools/misc/cpulimit { };
codesearch = callPackage ../tools/text/codesearch { };
contacts = callPackage ../tools/misc/contacts {
inherit (darwin.apple_sdk.frameworks) Foundation AddressBook;
};
@ -865,6 +867,7 @@ in
f3 = callPackage ../tools/filesystems/f3 { };
facter = callPackage ../tools/system/facter {
boost = boost160;
ruby = ruby_2_1;
};
@ -5139,6 +5142,8 @@ in
lizardfs = callPackage ../tools/filesystems/lizardfs { };
lldb = llvmPackages.lldb;
llvm = llvmPackages.llvm;
llvm_39 = llvmPackages_39.llvm;
@ -5776,7 +5781,8 @@ in
ruby_2_0_0
ruby_2_1_10
ruby_2_2_5
ruby_2_3_3;
ruby_2_3_3
ruby_2_4_0;
# Ruby aliases
ruby = ruby_2_3;
@ -5785,6 +5791,7 @@ in
ruby_2_1 = ruby_2_1_10;
ruby_2_2 = ruby_2_2_5;
ruby_2_3 = ruby_2_3_3;
ruby_2_4 = ruby_2_4_0;
scsh = callPackage ../development/interpreters/scsh { };
@ -8923,6 +8930,8 @@ in
pg_repack = callPackage ../servers/sql/postgresql/pg_repack {};
pg_similarity = callPackage ../servers/sql/postgresql/pg_similarity {};
phonon = callPackage ../development/libraries/phonon {};
phonon-backend-gstreamer = callPackage ../development/libraries/phonon/backends/gstreamer.nix {};
@ -9154,6 +9163,8 @@ in
qwt = callPackage ../development/libraries/qwt {};
qwt6_qt4 = callPackage ../development/libraries/qwt/6_qt4.nix { };
qxt = callPackage ../development/libraries/qxt {};
rabbitmq-c = callPackage ../development/libraries/rabbitmq-c {};
@ -11076,6 +11087,7 @@ in
# !!! 4.7 patch doesn't apply, 4.8 patch not up yet, will keep checking
# kernelPatches.cpu-cgroup-v2."4.7"
kernelPatches.modinst_arg_list_too_long
kernelPatches.panic_on_icmp6_frag_CVE_2016_9919
]
++ lib.optionals ((platform.kernelArch or null) == "mips")
[ kernelPatches.mips_fpureg_emu
@ -11659,8 +11671,7 @@ in
eudev = callPackage ../os-specific/linux/eudev {};
# libudev.so.0
udev182 = callPackage ../os-specific/linux/udev/182.nix { };
libudev0-shim = callPackage ../os-specific/linux/libudev0-shim/default.nix { };
udisks1 = callPackage ../os-specific/linux/udisks/1-default.nix { };
udisks2 = callPackage ../os-specific/linux/udisks/2-default.nix { };
@ -12537,6 +12548,8 @@ in
inherit (gnome2) GConf ORBit2 metacity;
};
confclerk = callPackage ../applications/misc/confclerk { };
copyq = callPackage ../applications/misc/copyq { };
coriander = callPackage ../applications/video/coriander {
@ -13561,6 +13574,32 @@ in
imagemagickBig = callPackage ../applications/graphics/ImageMagick { };
imagemagick7_light = lowPrio (imagemagick.override {
bzip2 = null;
zlib = null;
libX11 = null;
libXext = null;
libXt = null;
fontconfig = null;
freetype = null;
ghostscript = null;
libjpeg = null;
lcms2 = null;
openexr = null;
libpng = null;
librsvg = null;
libtiff = null;
libxml2 = null;
openjpeg = null;
libwebp = null;
});
imagemagick7 = lowPrio (imagemagickBig.override {
ghostscript = null;
});
imagemagick7Big = lowPrio (callPackage ../applications/graphics/ImageMagick/7.0.nix { });
# Impressive, formerly known as "KeyJNote".
impressive = callPackage ../applications/office/impressive { };
@ -14011,6 +14050,8 @@ in
normalize = callPackage ../applications/audio/normalize { };
mm = callPackage ../applications/networking/instant-messengers/mm { };
mplayer = callPackage ../applications/video/mplayer ({
pulseSupport = config.pulseaudio or false;
libdvdnav = libdvdnav_4_2_1;
@ -14161,6 +14202,8 @@ in
diffpdf = callPackage ../applications/misc/diffpdf { };
mlocate = callPackage ../tools/misc/mlocate { };
mypaint = callPackage ../applications/graphics/mypaint { };
mythtv = callPackage ../applications/video/mythtv { };
@ -14441,6 +14484,11 @@ in
inherit (darwin.stubs) rez setfile;
};
qemu_28 = callPackage ../applications/virtualization/qemu/2.8.nix {
inherit (darwin.apple_sdk.frameworks) CoreServices Cocoa;
inherit (darwin.stubs) rez setfile;
};
qgis = callPackage ../applications/gis/qgis {};
qgroundcontrol = qt55.callPackage ../applications/science/robotics/qgroundcontrol { };
@ -14462,6 +14510,8 @@ in
qscreenshot = callPackage ../applications/graphics/qscreenshot {
qt = qt4;
};
qsyncthingtray = qt5.callPackage ../applications/misc/qsyncthingtray { };
qsynth = callPackage ../applications/audio/qsynth { };
@ -17050,6 +17100,8 @@ in
fityk = callPackage ../applications/science/misc/fityk { };
gplates = callPackage ../applications/science/misc/gplates { };
gravit = callPackage ../applications/science/astronomy/gravit { };
golly = callPackage ../applications/science/misc/golly { };

View File

@ -238,6 +238,22 @@ let
};
};
haskell-unicode-input-method = melpaBuild rec {
pname = "emacs-haskell-unicode-input-method";
version = "20110905.2307";
src = fetchFromGitHub {
owner = "roelvandijk";
repo = "emacs-haskell-unicode-input-method";
rev = "d8d168148c187ed19350bb7a1a190217c2915a63";
sha256 = "09b7bg2s9aa4s8f2kdqs4xps3jxkq5wsvbi87ih8b6id38blhf78";
};
packageRequires = [];
meta = {
homepage = "https://melpa.org/#haskell-unicode-input-method/";
license = lib.licenses.free;
};
};
hindent = melpaBuild rec {
pname = "hindent";
version = external.hindent.version;

View File

@ -45,10 +45,12 @@ rec {
ghc801 = callPackage ../development/compilers/ghc/8.0.1.nix rec {
bootPkgs = packages.ghc7103;
inherit (bootPkgs) hscolour;
sphinx = pkgs.python27Packages.sphinx;
};
ghc802 = callPackage ../development/compilers/ghc/8.0.2.nix rec {
bootPkgs = packages.ghc7103;
inherit (bootPkgs) hscolour;
sphinx = pkgs.python27Packages.sphinx;
};
ghcHEAD = callPackage ../development/compilers/ghc/head.nix rec {
bootPkgs = packages.ghc7103;

View File

@ -9304,27 +9304,48 @@ in {
librosa = buildPythonPackage rec {
name = "librosa-${version}";
version = "0.4.0";
pname = "librosa";
name = "${pname}-${version}";
version = "0.4.3";
src = pkgs.fetchurl {
url = "mirror://pypi/l/librosa/librosa-0.4.0.tar.gz";
sha256 = "cc11dcc41f51c08e442292e8a2fc7d7ee77e0d47ff771259eb63f57fcee6f6e7";
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
sha256 = "209626c53556ca3922e52d2fae767bf5b398948c867fcc8898f948695dacb247";
};
propagatedBuildInputs = with self;
[ joblib matplotlib six scikitlearn decorator audioread samplerate ];
propagatedBuildInputs = with self; [ joblib matplotlib six scikitlearn
decorator audioread resampy ];
# No tests
doCheck = false;
meta = {
description = "Python module for audio and music processing";
homepage = http://librosa.github.io/;
license = licenses.isc;
};
};
joblib = buildPythonPackage rec {
name = "joblib-${version}";
version = "0.9.4";
pname = "joblib";
name = "${pname}-${version}";
version = "0.10.3";
src = pkgs.fetchurl {
url = "mirror://pypi/j/joblib/${name}.tar.gz";
sha256 = "e5faacf0da7b3035dbca9d56210962b86564aafca71a25f4ea376a405455cd60";
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
sha256 = "29b2965a9efbc90a5fe66a389ae35ac5b5b0c1feabfc7cab7fd5d19f429a071d";
};
buildInputs = with self; [ nose ];
buildInputs = with self; [ nose sphinx numpydoc ];
# Failing test on Python 3.x
postPatch = '''' + optionalString isPy3k ''
sed -i -e '70,84d' joblib/test/test_format_stack.py
'';
meta = {
description = "Lightweight pipelining: using Python functions as pipeline jobs";
homepage = http://pythonhosted.org/joblib/;
license = licenses.bsd3;
};
};
samplerate = buildPythonPackage rec {
@ -9969,15 +9990,16 @@ in {
};
deluge = buildPythonPackage rec {
name = "deluge-1.3.12";
name = "deluge-${version}";
version = "1.3.13";
src = pkgs.fetchurl {
url = "http://download.deluge-torrent.org/source/${name}.tar.bz2";
sha256 = "14rwc5k7q0d36b4jxnmxgnyvx9lnmaifxpyv0z07ymphlfr4amsn";
sha256 = "1ig8kv22009f0ny6n77a4lcfddhdsxrdklpmhdqvis1wx8na5crp";
};
propagatedBuildInputs = with self; [
pyGtkGlade pkgs.libtorrentRasterbar_1_0 twisted Mako chardet pyxdg self.pyopenssl service-identity
pyGtkGlade pkgs.libtorrentRasterbar twisted Mako chardet pyxdg self.pyopenssl service-identity
];
nativeBuildInputs = [ pkgs.intltool ];
@ -15185,14 +15207,15 @@ in {
};
pygraphviz = buildPythonPackage rec {
name = "pygraphviz-1.3.1";
name = "pygraphviz-${version}";
version = "1.4rc1";
src = pkgs.fetchurl {
url = "mirror://pypi/p/pygraphviz/${name}.tar.gz";
sha256 = "7c294cbc9d88946be671cc0d8602aac176d8c56695c0a7d871eadea75a958408";
sha256 = "00ck696rddjnrwfnh1zw87b9xzqfm6sqjy6kqf6kmn1xwsi6f19a";
};
buildInputs = with self; [ doctest-ignore-unicode ];
buildInputs = with self; [ doctest-ignore-unicode mock nose ];
propagatedBuildInputs = [ pkgs.graphviz pkgs.pkgconfig ];
meta = {
@ -16105,12 +16128,13 @@ in {
};
numpydoc = buildPythonPackage rec {
name = "numpydoc-${version}";
version = "0.5";
pname = "numpydoc";
name = "${pname}-${version}";
version = "0.6.0";
src = pkgs.fetchurl {
url = "mirror://pypi/n/numpydoc/${name}.tar.gz";
sha256 = "0d4dnifaxkll50jx6czj05y8cb4ny60njd2wz299sj2jxfy51w4k";
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
sha256 = "1ec573e91f6d868a9940d90a6599f3e834a2d6c064030fbe078d922ee21dcfa1";
};
buildInputs = [ self.nose ];
@ -22493,6 +22517,28 @@ in {
};
};
resampy = buildPythonPackage rec {
pname = "resampy";
version = "0.1.4";
name = "${pname}-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
sha256 = "cf4f149d8699af70a1b4b0769fa16fab21835d936ea7ff25e98446aa49e743d4";
};
checkInputs = with self; [ pytest pytestcov ];
# No tests included
doCheck = false;
propagatedBuildInputs = with self; [ numpy scipy cython six ];
meta = {
homepage = https://github.com/bmcfee/resampy;
description = "Efficient signal resampling";
license = licenses.isc;
};
};
robomachine = buildPythonPackage rec {
name = "robomachine-0.6";
@ -28311,14 +28357,14 @@ EOF
};
graphite_beacon = buildPythonPackage rec {
name = "graphite_beacon-0.22.1";
name = "graphite_beacon-0.27.0";
src = pkgs.fetchurl {
url = "mirror://pypi/g/graphite_beacon/${name}.tar.gz";
sha256 = "ebde1aba8030c8aeffaeea39f9d44a2be464b198583ad4a390a2bff5f4172543";
sha256 = "03bp4wyfn3xhcqyvs5hnk1n87m4smsmm1p7qp459m7j8hwpbq2ks";
};
propagatedBuildInputs = [ self.tornado ];
propagatedBuildInputs = [ self.tornado self.pyyaml self.funcparserlib ];
preBuild = "> requirements.txt";
@ -31679,6 +31725,8 @@ EOF
};
};
urlscan = callPackage ../applications/misc/urlscan { };
wp_export_parser = buildPythonPackage rec {
name = "${pname}-${version}";
pname = "wp_export_parser";