diff --git a/doc/release-notes.xml b/doc/release-notes.xml
index 2a1fb9f3109..a50ee877acd 100644
--- a/doc/release-notes.xml
+++ b/doc/release-notes.xml
@@ -446,7 +446,7 @@ xlink:href='http://nixos.org/releases/nix/nix-0.10/'>Nix
stdenv; the formed changes the C compiler, and
the latter adds additional packages to the front of
stdenv’s initial PATH, allowing
- tools to be overriden.
+ tools to be overridden.
For instance, the package strategoxt
doesn’t build with the GNU Make in stdenv
diff --git a/doc/stdenv.xml b/doc/stdenv.xml
index 74eb63b4b49..28e7b7d89f4 100644
--- a/doc/stdenv.xml
+++ b/doc/stdenv.xml
@@ -56,7 +56,7 @@ details.)
Often it is necessary to override or modify some aspect of the
build. To make this easier, the standard environment breaks the
package build into a number of phases, all of
-which can be overriden or modified individually: unpacking the
+which can be overridden or modified individually: unpacking the
sources, applying patches, configuring, building, and installing.
(There are some others; see .)
For instance, a package that doesn’t supply a makefile but instead has
@@ -233,7 +233,7 @@ specific parts of the build (e.g., unpacking the sources or installing
the binaries). Furthermore, it allows a nicer presentation of build
logs in the Nix build farm.
-Each phase can be overriden in its entirety either by setting
+Each phase can be overridden in its entirety either by setting
the environment variable
namePhase to a string
containing some shell commands to be executed, or by redefining the
diff --git a/lib/maintainers.nix b/lib/maintainers.nix
index 8a98cb14651..3a66f7a60b3 100644
--- a/lib/maintainers.nix
+++ b/lib/maintainers.nix
@@ -17,6 +17,7 @@
arobyn = "Alexei Robyn ";
astsmtl = "Alexander Tsamutali ";
aszlig = "aszlig ";
+ auntie = "Jonathan Glines ";
bbenoist = "Baptist BENOIST ";
bennofs = "Benno Fünfstück ";
berdario = "Dario Bertini ";
@@ -45,6 +46,7 @@
iElectric = "Domen Kozar ";
iyzsong = "Song Wenwu ";
jcumming = "Jack Cummings ";
+ joamaki = "Jussi Maki ";
joelteon = "Joel Taylor ";
jwiegley = "John Wiegley ";
kkallio = "Karn Kallio ";
diff --git a/lib/strings.nix b/lib/strings.nix
index 5f76da5c33c..efdc265465f 100644
--- a/lib/strings.nix
+++ b/lib/strings.nix
@@ -58,12 +58,13 @@ rec {
# Determine whether a string has given prefix/suffix.
hasPrefix = pref: str:
- substring 0 (stringLength pref) str == pref;
+ eqStrings (substring 0 (stringLength pref) str) pref;
hasSuffix = suff: str:
- let lenStr = stringLength str;
- lenSuff = stringLength suff;
+ let
+ lenStr = stringLength str;
+ lenSuff = stringLength suff;
in lenStr >= lenSuff &&
- substring (lenStr - lenSuff) lenStr str == suff;
+ eqStrings (substring (lenStr - lenSuff) lenStr str) suff;
# Convert a string to a list of characters (i.e. singleton strings).
@@ -118,17 +119,21 @@ rec {
toLower = replaceChars upperChars lowerChars;
toUpper = replaceChars lowerChars upperChars;
+ # Appends string context from another string
+ addContextFrom = a: b: (substring 0 0 a)+b;
# Compares strings not requiring context equality
# Obviously, a workaround but works on all Nix versions
- eqStrings = a: b: (a+(substring 0 0 b)) == ((substring 0 0 a)+b);
+ eqStrings = a: b: addContextFrom b a == addContextFrom a b;
# Cut a string with a separator and produces a list of strings which were
# separated by this separator. e.g.,
# `splitString "." "foo.bar.baz"' returns ["foo" "bar" "baz"].
- splitString = sep: s:
+ splitString = _sep: _s:
let
+ sep = addContextFrom _s _sep;
+ s = addContextFrom _sep _s;
sepLen = stringLength sep;
sLen = stringLength s;
lastSearch = sub sLen sepLen;
@@ -167,7 +172,7 @@ rec {
sufLen = stringLength suf;
sLen = stringLength s;
in
- if sufLen <= sLen && suf == substring (sLen - sufLen) sufLen s then
+ if sufLen <= sLen && eqStrings suf (substring (sLen - sufLen) sufLen s) then
substring 0 (sLen - sufLen) s
else
s;
diff --git a/nixos/doc/manual/configuration.xml b/nixos/doc/manual/configuration.xml
index 803a3393d15..98686a19f1e 100644
--- a/nixos/doc/manual/configuration.xml
+++ b/nixos/doc/manual/configuration.xml
@@ -873,7 +873,7 @@ Any package in Nixpkgs that depends on emacs will
be passed your customised instance. (However, the value
pkgs.emacs in
nixpkgs.config.packageOverrides refers to the
-original rather than overriden instance, to prevent an infinite
+original rather than overridden instance, to prevent an infinite
recursion.)
diff --git a/nixos/doc/manual/default.nix b/nixos/doc/manual/default.nix
index 6d5039e8177..a79a77f40df 100644
--- a/nixos/doc/manual/default.nix
+++ b/nixos/doc/manual/default.nix
@@ -12,11 +12,11 @@ let
declarations = map (fn: stripPrefix fn) opt.declarations;
});
- prefix = toString pkgs.path;
+ prefix = toString ../../..;
stripPrefix = fn:
if substring 0 (stringLength prefix) fn == prefix then
- substring (add (stringLength prefix) 1) 1000 fn
+ substring (stringLength prefix + 1) 1000 fn
else
fn;
diff --git a/nixos/modules/config/i18n.nix b/nixos/modules/config/i18n.nix
index 8182b8ae808..d3f24e280c7 100644
--- a/nixos/modules/config/i18n.nix
+++ b/nixos/modules/config/i18n.nix
@@ -76,7 +76,7 @@ in
environment.systemPackages = [ glibcLocales ];
- environment.variables =
+ environment.sessionVariables =
{ LANG = config.i18n.defaultLocale;
LOCALE_ARCHIVE = "/run/current-system/sw/lib/locale/locale-archive";
};
diff --git a/nixos/modules/config/shells-environment.nix b/nixos/modules/config/shells-environment.nix
index 9e212847e48..cc079cdc585 100644
--- a/nixos/modules/config/shells-environment.nix
+++ b/nixos/modules/config/shells-environment.nix
@@ -19,6 +19,7 @@ in
default = {};
description = ''
A set of environment variables used in the global environment.
+ These variables will be set on shell initialisation.
The value of each variable can be either a string or a list of
strings. The latter is concatenated, interspersed with colon
characters.
@@ -148,6 +149,12 @@ in
system.build.binsh = pkgs.bashInteractive;
+ # Set session variables in the shell as well. This is usually
+ # unnecessary, but it allows changes to session variables to take
+ # effect without restarting the session (e.g. by opening a new
+ # terminal instead of logging out of X11).
+ environment.variables = config.environment.sessionVariables;
+
environment.etc."shells".text =
''
${concatStringsSep "\n" cfg.shells}
diff --git a/nixos/modules/config/system-environment.nix b/nixos/modules/config/system-environment.nix
new file mode 100644
index 00000000000..3ab32f00fd1
--- /dev/null
+++ b/nixos/modules/config/system-environment.nix
@@ -0,0 +1,56 @@
+# This module defines a system-wide environment that will be
+# initialised by pam_env (that is, not only in shells).
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+
+ cfg = config.environment;
+
+in
+
+{
+
+ options = {
+
+ environment.sessionVariables = mkOption {
+ default = {};
+ description = ''
+ A set of environment variables used in the global environment.
+ These variables will be set by PAM.
+ The value of each variable can be either a string or a list of
+ strings. The latter is concatenated, interspersed with colon
+ characters.
+ '';
+ type = types.attrsOf (mkOptionType {
+ name = "a string or a list of strings";
+ merge = loc: defs:
+ let
+ defs' = filterOverrides defs;
+ res = (head defs').value;
+ in
+ if isList res then concatLists (getValues defs')
+ else if lessThan 1 (length defs') then
+ throw "The option `${showOption loc}' is defined multiple times, in ${showFiles (getFiles defs)}."
+ else if !isString res then
+ throw "The option `${showOption loc}' does not have a string value, in ${showFiles (getFiles defs)}."
+ else res;
+ });
+ apply = mapAttrs (n: v: if isList v then concatStringsSep ":" v else v);
+ };
+
+ };
+
+ config = {
+
+ system.build.pamEnvironment = pkgs.writeText "pam-environment"
+ ''
+ ${concatStringsSep "\n" (
+ (mapAttrsToList (n: v: ''${n}="${concatStringsSep ":" v}"'')
+ (zipAttrsWith (const concatLists) ([ (mapAttrs (n: v: [ v ]) cfg.sessionVariables) ]))))}
+ '';
+
+ };
+
+}
diff --git a/nixos/modules/config/timezone.nix b/nixos/modules/config/timezone.nix
index 65703d8bb08..c8592284077 100644
--- a/nixos/modules/config/timezone.nix
+++ b/nixos/modules/config/timezone.nix
@@ -30,7 +30,7 @@ in
config = {
- environment.variables.TZDIR = "/etc/zoneinfo";
+ environment.sessionVariables.TZDIR = "/etc/zoneinfo";
systemd.globalEnvironment.TZDIR = tzdir;
diff --git a/nixos/modules/config/zram.nix b/nixos/modules/config/zram.nix
new file mode 100644
index 00000000000..22b74847f87
--- /dev/null
+++ b/nixos/modules/config/zram.nix
@@ -0,0 +1,138 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+
+ cfg = config.zramSwap;
+
+ devices = map (nr: "zram${toString nr}") (range 0 (cfg.numDevices - 1));
+
+ modprobe = "${config.system.sbin.modprobe}/sbin/modprobe";
+
+in
+
+{
+
+ ###### interface
+
+ options = {
+
+ zramSwap = {
+
+ enable = mkOption {
+ default = false;
+ type = types.bool;
+ description = ''
+ Enable in-memory compressed swap space provided by the zram kernel
+ module. It is recommended to enable only for kernel 3.14 or higher.
+ '';
+ };
+
+ numDevices = mkOption {
+ default = 4;
+ type = types.int;
+ description = ''
+ Number of zram swap devices to create. It should be equal to the
+ number of CPU cores your system has.
+ '';
+ };
+
+ memoryPercent = mkOption {
+ default = 50;
+ type = types.int;
+ description = ''
+ Maximum amount of memory that can be used by the zram swap devices
+ (as a percentage of your total memory). Defaults to 1/2 of your total
+ RAM.
+ '';
+ };
+
+ priority = mkOption {
+ default = 5;
+ type = types.int;
+ description = ''
+ Priority of the zram swap devices. It should be a number higher than
+ the priority of your disk-based swap devices (so that the system will
+ fill the zram swap devices before falling back to disk swap).
+ '';
+ };
+
+ };
+
+ };
+
+ config = mkIf cfg.enable {
+
+ system.requiredKernelConfig = with config.lib.kernelConfig; [
+ (isModule "ZRAM")
+ ];
+
+ # Disabling this for the moment, as it would create and mkswap devices twice,
+ # once in stage 2 boot, and again when the zram-reloader service starts.
+ # boot.kernelModules = [ "zram" ];
+
+ boot.extraModprobeConfig = ''
+ options zram num_devices=${toString cfg.numDevices}
+ '';
+
+ services.udev.extraRules = ''
+ KERNEL=="zram[0-9]*", ENV{SYSTEMD_WANTS}="zram-init-%k.service", TAG+="systemd"
+ '';
+
+ systemd.services =
+ let
+ createZramInitService = dev:
+ nameValuePair "zram-init-${dev}" {
+ description = "Init swap on zram-based device ${dev}";
+ bindsTo = [ "dev-${dev}.swap" ];
+ after = [ "dev-${dev}.device" "zram-reloader.service" ];
+ requires = [ "dev-${dev}.device" "zram-reloader.service" ];
+ before = [ "dev-${dev}.swap" ];
+ requiredBy = [ "dev-${dev}.swap" ];
+ serviceConfig = {
+ Type = "oneshot";
+ RemainAfterExit = true;
+ ExecStop = "${pkgs.stdenv.shell} -c 'echo 1 > /sys/class/block/${dev}/reset'";
+ };
+ script = ''
+ set -u
+ set -o pipefail
+
+ PATH=${pkgs.procps}/bin:${pkgs.gnugrep}/bin:${pkgs.gnused}/bin
+
+ # Calculate memory to use for zram
+ totalmem=$(free | grep -e "^Mem:" | sed -e 's/^Mem: *//' -e 's/ *.*//')
+ mem=$(((totalmem * ${toString cfg.memoryPercent} / 100 / ${toString cfg.numDevices}) * 1024))
+
+ echo $mem > /sys/class/block/${dev}/disksize
+ ${pkgs.utillinux}/sbin/mkswap /dev/${dev}
+ '';
+ restartIfChanged = false;
+ };
+ in listToAttrs ((map createZramInitService devices) ++ [(nameValuePair "zram-reloader"
+ {
+ description = "Reload zram kernel module when number of devices changes";
+ serviceConfig = {
+ Type = "oneshot";
+ RemainAfterExit = true;
+ ExecStartPre = "${modprobe} -r zram";
+ ExecStart = "${modprobe} zram";
+ ExecStop = "${modprobe} -r zram";
+ };
+ restartTriggers = [ cfg.numDevices ];
+ restartIfChanged = true;
+ })]);
+
+ swapDevices =
+ let
+ useZramSwap = dev:
+ {
+ device = "/dev/${dev}";
+ priority = cfg.priority;
+ };
+ in map useZramSwap devices;
+
+ };
+
+}
diff --git a/nixos/modules/installer/cd-dvd/installation-cd-base.nix b/nixos/modules/installer/cd-dvd/installation-cd-base.nix
index eb7c4026857..4d87c20559d 100644
--- a/nixos/modules/installer/cd-dvd/installation-cd-base.nix
+++ b/nixos/modules/installer/cd-dvd/installation-cd-base.nix
@@ -19,7 +19,7 @@ with lib;
# ISO naming.
isoImage.isoName = "${config.isoImage.isoBaseName}-${config.system.nixosVersion}-${pkgs.stdenv.system}.iso";
- isoImage.volumeID = substring 0 11 "NIXOS_${config.system.nixosVersion}";
+ isoImage.volumeID = substring 0 11 "NIXOS_ISO";
# Make the installer more likely to succeed in low memory
# environments. The kernel's overcommit heustistics bite us
diff --git a/nixos/modules/installer/tools/nixos-build-vms/build-vms.nix b/nixos/modules/installer/tools/nixos-build-vms/build-vms.nix
index 5e77b701ff5..4372d196261 100644
--- a/nixos/modules/installer/tools/nixos-build-vms/build-vms.nix
+++ b/nixos/modules/installer/tools/nixos-build-vms/build-vms.nix
@@ -6,4 +6,4 @@ let nodes = import networkExpr; in
with import ../../../../lib/testing.nix { inherit system; };
-(complete { inherit nodes; testScript = ""; }).driver
+(makeTest { inherit nodes; testScript = ""; }).driver
diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl
index ab058efc709..66a8152a3a6 100644
--- a/nixos/modules/installer/tools/nixos-generate-config.pl
+++ b/nixos/modules/installer/tools/nixos-generate-config.pl
@@ -466,7 +466,7 @@ $bootLoaderConfig
# };
# List packages installed in system profile. To search by name, run:
- # $ nix-env -qaP | grep wget
+ # \$ nix-env -qaP | grep wget
# environment.systemPackages = with pkgs; [
# wget
# ];
diff --git a/nixos/modules/misc/ids.nix b/nixos/modules/misc/ids.nix
index db50a010e7d..f1028a479df 100644
--- a/nixos/modules/misc/ids.nix
+++ b/nixos/modules/misc/ids.nix
@@ -133,6 +133,7 @@
spiped = 123;
teamspeak = 124;
influxdb = 125;
+ nsd = 126;
# When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399!
@@ -240,6 +241,7 @@
spiped = 123;
teamspeak = 124;
influxdb = 125;
+ nsd = 126;
# When adding a gid, make sure it doesn't match an existing uid. And don't use gids above 399!
diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix
index c1b55cb5550..f4f1abba4de 100644
--- a/nixos/modules/module-list.nix
+++ b/nixos/modules/module-list.nix
@@ -14,12 +14,14 @@
./config/power-management.nix
./config/pulseaudio.nix
./config/shells-environment.nix
+ ./config/system-environment.nix
./config/swap.nix
./config/sysctl.nix
./config/system-path.nix
./config/timezone.nix
./config/unix-odbc-drivers.nix
./config/users-groups.nix
+ ./config/zram.nix
./hardware/all-firmware.nix
./hardware/cpu/intel-microcode.nix
./hardware/cpu/amd-microcode.nix
@@ -205,6 +207,7 @@
./services/networking/networkmanager.nix
./services/networking/ngircd.nix
./services/networking/notbit.nix
+ ./services/networking/nsd.nix
./services/networking/ntopng.nix
./services/networking/ntpd.nix
./services/networking/oidentd.nix
@@ -255,6 +258,7 @@
./services/ttys/agetty.nix
./services/ttys/kmscon.nix
./services/web-servers/apache-httpd/default.nix
+ ./services/web-servers/fcgiwrap.nix
./services/web-servers/jboss/default.nix
./services/web-servers/lighttpd/default.nix
./services/web-servers/lighttpd/cgit.nix
@@ -322,6 +326,7 @@
./tasks/network-interfaces.nix
./tasks/scsi-link-power-management.nix
./tasks/swraid.nix
+ ./tasks/trackpoint.nix
./testing/service-runner.nix
./virtualisation/container-config.nix
./virtualisation/containers.nix
diff --git a/nixos/modules/programs/environment.nix b/nixos/modules/programs/environment.nix
index aa9aec07834..2ff1db48757 100644
--- a/nixos/modules/programs/environment.nix
+++ b/nixos/modules/programs/environment.nix
@@ -19,13 +19,16 @@ in
environment.variables =
{ LOCATE_PATH = "/var/cache/locatedb";
NIXPKGS_CONFIG = "/etc/nix/nixpkgs-config.nix";
- NIX_PATH =
+ PAGER = "less -R";
+ EDITOR = "nano";
+ };
+
+ environment.sessionVariables =
+ { NIX_PATH =
[ "/nix/var/nix/profiles/per-user/root/channels/nixos"
"nixpkgs=/etc/nixos/nixpkgs"
"nixos-config=/etc/nixos/configuration.nix"
];
- PAGER = "less -R";
- EDITOR = "nano";
};
environment.profiles =
diff --git a/nixos/modules/security/ca.nix b/nixos/modules/security/ca.nix
index f159e359f96..dd4b0c529e5 100644
--- a/nixos/modules/security/ca.nix
+++ b/nixos/modules/security/ca.nix
@@ -12,9 +12,11 @@ with lib;
}
];
- environment.variables.OPENSSL_X509_CERT_FILE = "/etc/ssl/certs/ca-bundle.crt";
- environment.variables.CURL_CA_BUNDLE = "/etc/ssl/certs/ca-bundle.crt";
- environment.variables.GIT_SSL_CAINFO = "/etc/ssl/certs/ca-bundle.crt";
+ environment.sessionVariables =
+ { OPENSSL_X509_CERT_FILE = "/etc/ssl/certs/ca-bundle.crt";
+ CURL_CA_BUNDLE = "/etc/ssl/certs/ca-bundle.crt";
+ GIT_SSL_CAINFO = "/etc/ssl/certs/ca-bundle.crt";
+ };
};
diff --git a/nixos/modules/security/pam.nix b/nixos/modules/security/pam.nix
index 6a5eb4c720f..02340fd78e8 100644
--- a/nixos/modules/security/pam.nix
+++ b/nixos/modules/security/pam.nix
@@ -186,6 +186,7 @@ let
"password optional ${pkgs.samba}/lib/security/pam_smbpass.so nullok use_authtok try_first_pass"}
# Session management.
+ session required pam_env.so envfile=${config.system.build.pamEnvironment}
session required pam_unix.so
${optionalString cfg.setLoginUid
"session required pam_loginuid.so"}
diff --git a/nixos/modules/security/sudo.nix b/nixos/modules/security/sudo.nix
index 6cfeac0d7dc..e8ed545c8cc 100644
--- a/nixos/modules/security/sudo.nix
+++ b/nixos/modules/security/sudo.nix
@@ -58,9 +58,6 @@ in
# Don't edit this file. Set the NixOS option ‘security.sudo.configFile’ instead.
# Environment variables to keep for root and %wheel.
- Defaults:root,%wheel env_keep+=LOCALE_ARCHIVE
- Defaults:root,%wheel env_keep+=NIX_CONF_DIR
- Defaults:root,%wheel env_keep+=NIX_PATH
Defaults:root,%wheel env_keep+=TERMINFO_DIRS
Defaults:root,%wheel env_keep+=TERMINFO
@@ -81,10 +78,13 @@ in
security.pam.services.sudo = { sshAgentAuth = true; };
environment.etc = singleton
- { source = pkgs.writeText "sudoers-in" cfg.configFile;
+ { source =
+ pkgs.runCommand "sudoers"
+ {src = pkgs.writeText "sudoers-in" cfg.configFile; }
# Make sure that the sudoers file is syntactically valid.
# (currently disabled - NIXOS-66)
- #"${pkgs.sudo}/sbin/visudo -f $src -c && cp $src $out";
+ "${pkgs.sudo.override {keepVisudo = true;}}/sbin/visudo -f $src -c &&
+ cp $src $out";
target = "sudoers";
mode = "0440";
};
diff --git a/nixos/modules/services/databases/couchdb.nix b/nixos/modules/services/databases/couchdb.nix
index 5088c741681..e1fe6be6f6a 100644
--- a/nixos/modules/services/databases/couchdb.nix
+++ b/nixos/modules/services/databases/couchdb.nix
@@ -126,6 +126,16 @@ in {
Extra configuration. Overrides any other cofiguration.
'';
};
+
+ configFile = mkOption {
+ type = types.string;
+ default = "/var/lib/couchdb/couchdb.ini";
+ description = ''
+ Custom configuration file. File needs to be readable and writable
+ from couchdb user/group.
+ '';
+ };
+
};
};
@@ -146,11 +156,13 @@ in {
mkdir -p `dirname ${cfg.logFile}`;
mkdir -p ${cfg.databaseDir};
mkdir -p ${cfg.viewIndexDir};
+ touch ${cfg.configFile}
if [ "$(id -u)" = 0 ]; then
- chown ${cfg.user}:${cfg.group} `dirname ${cfg.uriFile}`
+ chown ${cfg.user}:${cfg.group} ${cfg.uriFile}
chown ${cfg.user}:${cfg.group} ${cfg.databaseDir}
chown ${cfg.user}:${cfg.group} ${cfg.viewIndexDir}
+ chown ${cfg.user}:${cfg.group} ${cfg.configFile}
fi
'';
@@ -158,7 +170,7 @@ in {
PermissionsStartOnly = true;
User = cfg.user;
Group = cfg.group;
- ExecStart = "${cfg.package}/bin/couchdb -a ${configFile} -a ${pkgs.writeText "couchdb-extra.ini" cfg.extraConfig}";
+ ExecStart = "${cfg.package}/bin/couchdb -a ${configFile} -a ${pkgs.writeText "couchdb-extra.ini" cfg.extraConfig} -a ${cfg.configFile}";
};
};
diff --git a/nixos/modules/services/misc/disnix.nix b/nixos/modules/services/misc/disnix.nix
index 94d0caaa76b..219c7ed9587 100644
--- a/nixos/modules/services/misc/disnix.nix
+++ b/nixos/modules/services/misc/disnix.nix
@@ -125,13 +125,14 @@ in
after = [ "dbus.service" ]
++ optional config.services.httpd.enable "httpd.service"
++ optional config.services.mysql.enable "mysql.service"
+ ++ optional config.services.postgresql.enable "postgresql.service"
++ optional config.services.tomcat.enable "tomcat.service"
++ optional config.services.svnserve.enable "svnserve.service"
++ optional config.services.mongodb.enable "mongodb.service";
restartIfChanged = false;
- path = [ pkgs.nix pkgs.disnix pkgs.dysnomia ];
+ path = [ pkgs.nix pkgs.disnix dysnomia ];
environment = {
HOME = "/root";
diff --git a/nixos/modules/services/misc/nix-daemon.nix b/nixos/modules/services/misc/nix-daemon.nix
index 4bfd6268234..1ebd3c3643d 100644
--- a/nixos/modules/services/misc/nix-daemon.nix
+++ b/nixos/modules/services/misc/nix-daemon.nix
@@ -318,7 +318,7 @@ in
};
# Set up the environment variables for running Nix.
- environment.variables = cfg.envVars;
+ environment.sessionVariables = cfg.envVars;
environment.extraInit =
''
diff --git a/nixos/modules/services/monitoring/graphite.nix b/nixos/modules/services/monitoring/graphite.nix
index d543d15b34e..dbfe0ee182a 100644
--- a/nixos/modules/services/monitoring/graphite.nix
+++ b/nixos/modules/services/monitoring/graphite.nix
@@ -12,7 +12,7 @@ let
name = "graphite-config";
paths = lists.filter (el: el != null) [
(writeTextOrNull "carbon.conf" cfg.carbon.config)
- (writeTextOrNull "storage-agregation.conf" cfg.carbon.storageAggregation)
+ (writeTextOrNull "storage-aggregation.conf" cfg.carbon.storageAggregation)
(writeTextOrNull "storage-schemas.conf" cfg.carbon.storageSchemas)
(writeTextOrNull "blacklist.conf" cfg.carbon.blacklist)
(writeTextOrNull "whitelist.conf" cfg.carbon.whitelist)
@@ -47,19 +47,19 @@ in {
web = {
enable = mkOption {
- description = "Whether to enable graphite web frontend";
+ description = "Whether to enable graphite web frontend.";
default = false;
type = types.uniq types.bool;
};
host = mkOption {
- description = "Graphite web frontend listen address";
+ description = "Graphite web frontend listen address.";
default = "127.0.0.1";
type = types.str;
};
port = mkOption {
- description = "Graphite web frontend port";
+ description = "Graphite web frontend port.";
default = 8080;
type = types.int;
};
@@ -67,7 +67,7 @@ in {
carbon = {
config = mkOption {
- description = "Content of carbon configuration file";
+ description = "Content of carbon configuration file.";
default = ''
[cache]
# Listen on localhost by default for security reasons
@@ -83,13 +83,13 @@ in {
};
enableCache = mkOption {
- description = "Whether to enable carbon cache, the graphite storage daemon";
+ description = "Whether to enable carbon cache, the graphite storage daemon.";
default = false;
type = types.uniq types.bool;
};
storageAggregation = mkOption {
- description = "Defines how to aggregate data to lower-precision retentions";
+ description = "Defines how to aggregate data to lower-precision retentions.";
default = null;
type = types.uniq (types.nullOr types.string);
example = ''
@@ -101,7 +101,7 @@ in {
};
storageSchemas = mkOption {
- description = "Defines retention rates for storing metrics";
+ description = "Defines retention rates for storing metrics.";
default = "";
type = types.uniq (types.nullOr types.string);
example = ''
@@ -112,21 +112,24 @@ in {
};
blacklist = mkOption {
- description = "Any metrics received which match one of the experssions will be dropped";
+ description = "Any metrics received which match one of the experssions will be dropped.";
default = null;
type = types.uniq (types.nullOr types.string);
example = "^some\.noisy\.metric\.prefix\..*";
};
whitelist = mkOption {
- description = "Only metrics received which match one of the experssions will be persisted";
+ description = "Only metrics received which match one of the experssions will be persisted.";
default = null;
type = types.uniq (types.nullOr types.string);
example = ".*";
};
rewriteRules = mkOption {
- description = "Regular expression patterns that can be used to rewrite metric names in a search and replace fashion";
+ description = ''
+ Regular expression patterns that can be used to rewrite metric names
+ in a search and replace fashion.
+ '';
default = null;
type = types.uniq (types.nullOr types.string);
example = ''
@@ -137,7 +140,7 @@ in {
};
enableRelay = mkOption {
- description = "Whether to enable carbon relay, the carbon replication and sharding service";
+ description = "Whether to enable carbon relay, the carbon replication and sharding service.";
default = false;
type = types.uniq types.bool;
};
@@ -154,13 +157,13 @@ in {
};
enableAggregator = mkOption {
- description = "Whether to enable carbon agregator, the carbon buffering service";
+ description = "Whether to enable carbon agregator, the carbon buffering service.";
default = false;
type = types.uniq types.bool;
};
aggregationRules = mkOption {
- description = "Defines if and how received metrics will be agregated";
+ description = "Defines if and how received metrics will be agregated.";
default = null;
type = types.uniq (types.nullOr types.string);
example = ''
@@ -188,10 +191,7 @@ in {
};
restartTriggers = [
pkgs.pythonPackages.carbon
- cfg.carbon.config
- cfg.carbon.storageAggregation
- cfg.carbon.storageSchemas
- cfg.carbon.rewriteRules
+ configDir
];
preStart = ''
mkdir -p ${cfg.dataDir}/whisper
@@ -212,7 +212,8 @@ in {
Group = "graphite";
};
restartTriggers = [
- pkgs.pythonPackages.carbon cfg.carbon.config cfg.carbon.aggregationRules
+ pkgs.pythonPackages.carbon
+ configDir
];
};
@@ -228,7 +229,8 @@ in {
Group = "graphite";
};
restartTriggers = [
- pkgs.pythonPackages.carbon cfg.carbon.config cfg.carbon.relayRules
+ pkgs.pythonPackages.carbon
+ configDir
];
};
@@ -271,7 +273,6 @@ in {
'';
restartTriggers = [
pkgs.python27Packages.graphite_web
- pkgs.python27Packages.waitress
];
};
diff --git a/nixos/modules/services/monitoring/statsd.nix b/nixos/modules/services/monitoring/statsd.nix
index 05950639c1e..74f3deb4c29 100644
--- a/nixos/modules/services/monitoring/statsd.nix
+++ b/nixos/modules/services/monitoring/statsd.nix
@@ -69,8 +69,8 @@ in
};
graphitePort = mkOption {
- description = "Port of Graphite server";
- default = config.services.graphite.web.port;
+ description = "Port of Graphite server (i.e. carbon-cache).";
+ default = 2003;
type = types.uniq types.int;
};
diff --git a/nixos/modules/services/networking/nsd.nix b/nixos/modules/services/networking/nsd.nix
new file mode 100644
index 00000000000..adfee1caec5
--- /dev/null
+++ b/nixos/modules/services/networking/nsd.nix
@@ -0,0 +1,751 @@
+{ config, pkgs, ... }:
+
+with pkgs.lib;
+
+let
+ cfg = config.services.nsd;
+
+ username = "nsd";
+ stateDir = "/var/lib/nsd";
+ pidFile = stateDir + "/var/nsd.pid";
+
+ zoneFiles = pkgs.stdenv.mkDerivation {
+ preferLocalBuild = true;
+ name = "nsd-env";
+ buildCommand = concatStringsSep "\n"
+ [ "mkdir -p $out"
+ (concatStrings (mapAttrsToList (zoneName: zoneOptions: ''
+ cat > "$out/${zoneName}" <<_EOF_
+ ${zoneOptions.data}
+ _EOF_
+ '') zoneConfigs))
+ ];
+ };
+
+ configFile = pkgs.writeText "nsd.conf" ''
+ server:
+ username: ${username}
+ chroot: "${stateDir}"
+
+ # The directory for zonefile: files. The daemon chdirs here.
+ zonesdir: "${stateDir}"
+
+ # the list of dynamically added zones.
+ zonelistfile: "${stateDir}/var/zone.list"
+ database: "${stateDir}/var/nsd.db"
+ logfile: "${stateDir}/var/nsd.log"
+ pidfile: "${pidFile}"
+ xfrdfile: "${stateDir}/var/xfrd.state"
+ xfrdir: "${stateDir}/tmp"
+
+ # interfaces
+ ${forEach " ip-address: " cfg.interfaces}
+
+ server-count: ${toString cfg.serverCount}
+ ip-transparent: ${yesOrNo cfg.ipTransparent}
+ do-ip4: ${yesOrNo cfg.ipv4}
+ do-ip6: ${yesOrNo cfg.ipv6}
+ port: ${toString cfg.port}
+ verbosity: ${toString cfg.verbosity}
+ hide-version: ${yesOrNo cfg.hideVersion}
+ identity: "${cfg.identity}"
+ ${maybeString "nsid: " cfg.nsid}
+ tcp-count: ${toString cfg.tcpCount}
+ tcp-query-count: ${toString cfg.tcpQueryCount}
+ tcp-timeout: ${toString cfg.tcpTimeout}
+ ipv4-edns-size: ${toString cfg.ipv4EDNSSize}
+ ipv6-edns-size: ${toString cfg.ipv6EDNSSize}
+ ${if cfg.statistics == null then "" else "statistics: ${toString cfg.statistics}"}
+ xfrd-reload-timeout: ${toString cfg.xfrdReloadTimeout}
+ zonefiles-check: ${yesOrNo cfg.zonefilesCheck}
+
+ rrl-size: ${toString cfg.ratelimit.size}
+ rrl-ratelimit: ${toString cfg.ratelimit.ratelimit}
+ rrl-whitelist-ratelimit: ${toString cfg.ratelimit.whitelistRatelimit}
+ ${maybeString "rrl-slip: " cfg.ratelimit.slip}
+ ${maybeString "rrl-ipv4-prefix-length: " cfg.ratelimit.ipv4PrefixLength}
+ ${maybeString "rrl-ipv6-prefix-length: " cfg.ratelimit.ipv6PrefixLength}
+
+ ${keyConfigFile}
+
+ remote-control:
+ control-enable: ${yesOrNo cfg.remoteControl.enable}
+ ${forEach " control-interface: " cfg.remoteControl.interfaces}
+ control-port: ${toString cfg.port}
+ server-key-file: "${cfg.remoteControl.serverKeyFile}"
+ server-cert-file: "${cfg.remoteControl.serverCertFile}"
+ control-key-file: "${cfg.remoteControl.controlKeyFile}"
+ control-cert-file: "${cfg.remoteControl.controlCertFile}"
+
+ # zone files reside in "${zoneFiles}" linked to "${stateDir}/zones"
+ ${concatStrings (mapAttrsToList zoneConfigFile zoneConfigs)}
+
+ ${cfg.extraConfig}
+ '';
+
+ yesOrNo = b: if b then "yes" else "no";
+ maybeString = pre: s: if s == null then "" else ''${pre} "${s}"'';
+ forEach = pre: l: concatMapStrings (x: pre + x + "\n") l;
+
+
+ keyConfigFile = concatStrings (mapAttrsToList (keyName: keyOptions: ''
+ key:
+ name: "${keyName}"
+ algorithm: "${keyOptions.algorithm}"
+ include: "${stateDir}/private/${keyName}"
+ '') cfg.keys);
+
+ copyKeys = concatStrings (mapAttrsToList (keyName: keyOptions: ''
+ secret=$(cat "${keyOptions.keyFile}")
+ dest="${stateDir}/private/${keyName}"
+ echo " secret: \"$secret\"" > "$dest"
+ ${pkgs.coreutils}/bin/chown ${username}:${username} "$dest"
+ ${pkgs.coreutils}/bin/chmod 0400 "$dest"
+ '') cfg.keys);
+
+
+ zoneConfigFile = name: zone: ''
+ zone:
+ name: "${name}"
+ zonefile: "${stateDir}/zones/${name}"
+ ${maybeString "outgoing-interface: " zone.outgoingInterface}
+ ${forEach " rrl-whitelist: " zone.rrlWhitelist}
+
+ ${forEach " allow-notify: " zone.allowNotify}
+ ${forEach " request-xfr: " zone.requestXFR}
+ allow-axfr-fallback: ${yesOrNo zone.allowAXFRFallback}
+
+ ${forEach " notify: " zone.notify}
+ notify-retry: ${toString zone.notifyRetry}
+ ${forEach " provide-xfr: " zone.provideXFR}
+
+ '';
+
+ zoneConfigs = zoneConfigs' {} "" { children = cfg.zones; };
+
+ zoneConfigs' = parent: name: zone:
+ if !(zone ? children) || zone.children == null || zone.children == { }
+ # leaf -> actual zone
+ then listToAttrs [ (nameValuePair name (parent // zone)) ]
+
+ # fork -> pattern
+ else zipAttrsWith (name: head) (
+ mapAttrsToList (name: child: zoneConfigs' (parent // zone // { children = {}; }) name child)
+ zone.children
+ );
+
+ # fighting infinite recursion
+ zoneOptions = zoneOptionsRaw // childConfig zoneOptions1 true;
+ zoneOptions1 = zoneOptionsRaw // childConfig zoneOptions2 false;
+ zoneOptions2 = zoneOptionsRaw // childConfig zoneOptions3 false;
+ zoneOptions3 = zoneOptionsRaw // childConfig zoneOptions4 false;
+ zoneOptions4 = zoneOptionsRaw // childConfig zoneOptions5 false;
+ zoneOptions5 = zoneOptionsRaw // childConfig zoneOptions6 false;
+ zoneOptions6 = zoneOptionsRaw // childConfig null false;
+
+ childConfig = x: v: { options.children = { type = types.attrsOf x; visible = v; }; };
+
+ zoneOptionsRaw = types.submodule (
+ { options, ... }:
+ { options = {
+ children = mkOption {
+ default = {};
+ description = ''
+ Children zones inherit all options of their parents. Attributes
+ defined in a child will overwrite the ones of its parent. Only
+ leaf zones will be actually served. This way it's possible to
+ define maybe zones which share most attributes without
+ duplicating everything. This mechanism replaces nsd's patterns
+ in a save and functional way.
+ '';
+ };
+
+ allowNotify = mkOption {
+ type = types.listOf types.str;
+ default = [ ];
+ example = [ "192.0.2.0/24 NOKEY" "10.0.0.1-10.0.0.5 my_tsig_key_name"
+ "10.0.3.4&255.255.0.0 BLOCKED"
+ ];
+ description = ''
+ Listed primary servers are allowed to notify this secondary server.
+
+
+ either a plain IPv4/IPv6 address or range. Valid patters for ranges:
+ * 10.0.0.0/24 # via subnet size
+ * 10.0.0.0&255.255.255.0 # via subnet mask
+ * 10.0.0.1-10.0.0.254 # via range
+
+ A optional port number could be added with a '@':
+ * 2001:1234::1@1234
+
+
+ * will use the specified TSIG key
+ * NOKEY no TSIG signature is required
+ * BLOCKED notifies from non-listed or blocked IPs will be ignored
+ * ]]>
+ '';
+ };
+
+ requestXFR = mkOption {
+ type = types.listOf types.str;
+ default = [];
+ example = [];
+ description = ''
+ Format: [AXFR|UDP] <ip-address> <key-name | NOKEY>
+ '';
+ };
+
+ allowAXFRFallback = mkOption {
+ type = types.bool;
+ default = true;
+ description = ''
+ If NSD as secondary server should be allowed to AXFR if the primary
+ server does not allow IXFR.
+ '';
+ };
+
+ notify = mkOption {
+ type = types.listOf types.str;
+ default = [];
+ example = [ "10.0.0.1@3721 my_key" "::5 NOKEY" ];
+ description = ''
+ This primary server will notify all given secondary servers about
+ zone changes.
+
+
+ a plain IPv4/IPv6 address with on optional port number (ip@port)
+
+
+ * sign notifies with the specified key
+ * NOKEY don't sign notifies
+ ]]>
+ '';
+ };
+
+ notifyRetry = mkOption {
+ type = types.int;
+ default = 5;
+ description = ''
+ Specifies the number of retries for failed notifies. Set this along with notify.
+ '';
+ };
+
+ provideXFR = mkOption {
+ type = types.listOf types.str;
+ default = [];
+ example = [ "192.0.2.0/24 NOKEY" "192.0.2.0/24 my_tsig_key_name" ];
+ description = ''
+ Allow these IPs and TSIG to transfer zones, addr TSIG|NOKEY|BLOCKED
+ address range 192.0.2.0/24, 1.2.3.4&255.255.0.0, 3.0.2.20-3.0.2.40
+ '';
+ };
+
+ outgoingInterface = mkOption {
+ type = types.nullOr types.str;
+ default = null;
+ example = "2000::1@1234";
+ description = ''
+ This address will be used for zone-transfere requests if configured
+ as a secondary server or notifications in case of a primary server.
+ Supply either a plain IPv4 or IPv6 address with an optional port
+ number (ip@port).
+ '';
+ };
+
+ rrlWhitelist = mkOption {
+ type = types.listOf types.str;
+ default = [];
+ description = ''
+ Whitelists the given rrl-types.
+ The RRL classification types are: nxdomain, error, referral, any,
+ rrsig, wildcard, nodata, dnskey, positive, all
+ '';
+ };
+
+ data = mkOption {
+ type = types.str;
+ default = "";
+ example = "";
+ description = ''
+ The actual zone data. This is the content of your zone file.
+ Use imports or pkgs.lib.readFile if you don't want this data in your config file.
+ '';
+ };
+
+ };
+ }
+ );
+
+in
+{
+ options = {
+ services.nsd = {
+
+ enable = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Whether to enable the NSD authoritative domain name server.
+ '';
+ };
+
+ rootServer = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Wheter if this server will be a root server (a DNS root server, you
+ usually don't want that).
+ '';
+ };
+
+ interfaces = mkOption {
+ type = types.listOf types.str;
+ default = [ "127.0.0.0" "::1" ];
+ description = ''
+ What addresses the server should listen to.
+ '';
+ };
+
+ serverCount = mkOption {
+ type = types.int;
+ default = 1;
+ description = ''
+ Number of NSD servers to fork. Put the number of CPUs to use here.
+ '';
+ };
+
+ ipTransparent = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Allow binding to non local addresses.
+ '';
+ };
+
+ ipv4 = mkOption {
+ type = types.bool;
+ default = true;
+ description = ''
+ Wheter to listen on IPv4 connections.
+ '';
+ };
+
+ ipv6 = mkOption {
+ type = types.bool;
+ default = true;
+ description = ''
+ Wheter to listen on IPv6 connections.
+ '';
+ };
+
+ port = mkOption {
+ type = types.int;
+ default = 53;
+ description = ''
+ Port the service should bind do.
+ '';
+ };
+
+ verbosity = mkOption {
+ type = types.int;
+ default = 0;
+ description = ''
+ Verbosity level.
+ '';
+ };
+
+ hideVersion = mkOption {
+ type = types.bool;
+ default = true;
+ description = ''
+ Wheter NSD should answer VERSION.BIND and VERSION.SERVER CHAOS class queries.
+ '';
+ };
+
+ identity = mkOption {
+ type = types.str;
+ default = "unidentified server";
+ description = ''
+ Identify the server (CH TXT ID.SERVER entry).
+ '';
+ };
+
+ nsid = mkOption {
+ type = types.nullOr types.str;
+ default = null;
+ description = ''
+ NSID identity (hex string, or "ascii_somestring").
+ '';
+ };
+
+ tcpCount = mkOption {
+ type = types.int;
+ default = 100;
+ description = ''
+ Maximum number of concurrent TCP connections per server.
+ '';
+ };
+
+ tcpQueryCount = mkOption {
+ type = types.int;
+ default = 0;
+ description = ''
+ Maximum number of queries served on a single TCP connection.
+ 0 means no maximum.
+ '';
+ };
+
+ tcpTimeout = mkOption {
+ type = types.int;
+ default = 120;
+ description = ''
+ TCP timeout in seconds.
+ '';
+ };
+
+ ipv4EDNSSize = mkOption {
+ type = types.int;
+ default = 4096;
+ description = ''
+ Preferred EDNS buffer size for IPv4.
+ '';
+ };
+
+ ipv6EDNSSize = mkOption {
+ type = types.int;
+ default = 4096;
+ description = ''
+ Preferred EDNS buffer size for IPv6.
+ '';
+ };
+
+ statistics = mkOption {
+ type = types.nullOr types.int;
+ default = null;
+ description = ''
+ Statistics are produced every number of seconds. Prints to log.
+ If null no statistics are logged.
+ '';
+ };
+
+ xfrdReloadTimeout = mkOption {
+ type = types.int;
+ default = 1;
+ description = ''
+ Number of seconds between reloads triggered by xfrd.
+ '';
+ };
+
+ zonefilesCheck = mkOption {
+ type = types.bool;
+ default = true;
+ description = ''
+ Wheter to check mtime of all zone files on start and sighup.
+ '';
+ };
+
+
+ extraConfig = mkOption {
+ type = types.str;
+ default = "";
+ description = ''
+ Extra nsd config.
+ '';
+ };
+
+
+ ratelimit = mkOption {
+ type = types.submodule (
+ { options, ... }:
+ { options = {
+
+ enable = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Enable ratelimit capabilities.
+ '';
+ };
+
+ size = mkOption {
+ type = types.int;
+ default = 1000000;
+ description = ''
+ Size of the hashtable. More buckets use more memory but lower
+ the chance of hash hash collisions.
+ '';
+ };
+
+ ratelimit = mkOption {
+ type = types.int;
+ default = 200;
+ description = ''
+ Max qps allowed from any query source.
+ 0 means unlimited. With an verbosity of 2 blocked and
+ unblocked subnets will be logged.
+ '';
+ };
+
+ whitelistRatelimit = mkOption {
+ type = types.int;
+ default = 2000;
+ description = ''
+ Max qps allowed from whitelisted sources.
+ 0 means unlimited. Set the rrl-whitelist option for specific
+ queries to apply this limit instead of the default to them.
+ '';
+ };
+
+ slip = mkOption {
+ type = types.nullOr types.int;
+ default = null;
+ description = ''
+ Number of packets that get discarded before replying a SLIP response.
+ 0 disables SLIP responses. 1 will make every response a SLIP response.
+ '';
+ };
+
+ ipv4PrefixLength = mkOption {
+ type = types.nullOr types.int;
+ default = null;
+ description = ''
+ IPv4 prefix length. Addresses are grouped by netblock.
+ '';
+ };
+
+ ipv6PrefixLength = mkOption {
+ type = types.nullOr types.int;
+ default = null;
+ description = ''
+ IPv6 prefix length. Addresses are grouped by netblock.
+ '';
+ };
+
+ };
+ });
+ default = {
+ };
+ example = {};
+ description = ''
+ '';
+ };
+
+
+ remoteControl = mkOption {
+ type = types.submodule (
+ { config, options, ... }:
+ { options = {
+
+ enable = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Wheter to enable remote control via nsd-control(8).
+ '';
+ };
+
+ interfaces = mkOption {
+ type = types.listOf types.str;
+ default = [ "127.0.0.1" "::1" ];
+ description = ''
+ Which interfaces NSD should bind to for remote control.
+ '';
+ };
+
+ port = mkOption {
+ type = types.int;
+ default = 8952;
+ description = ''
+ Port number for remote control operations (uses TLS over TCP).
+ '';
+ };
+
+ serverKeyFile = mkOption {
+ type = types.path;
+ default = "/etc/nsd/nsd_server.key";
+ description = ''
+ Path to the server private key, which is used by the server
+ but not by nsd-control. This file is generated by nsd-control-setup.
+ '';
+ };
+
+ serverCertFile = mkOption {
+ type = types.path;
+ default = "/etc/nsd/nsd_server.pem";
+ description = ''
+ Path to the server self signed certificate, which is used by the server
+ but and by nsd-control. This file is generated by nsd-control-setup.
+ '';
+ };
+
+ controlKeyFile = mkOption {
+ type = types.path;
+ default = "/etc/nsd/nsd_control.key";
+ description = ''
+ Path to the client private key, which is used by nsd-control
+ but not by the server. This file is generated by nsd-control-setup.
+ '';
+ };
+
+ controlCertFile = mkOption {
+ type = types.path;
+ default = "/etc/nsd/nsd_control.pem";
+ description = ''
+ Path to the client certificate signed with the server certificate.
+ This file is used by nsd-control and generated by nsd-control-setup.
+ '';
+ };
+
+ };
+
+ });
+ default = {
+ };
+ example = {};
+ description = ''
+ '';
+ };
+
+
+ keys = mkOption {
+ type = types.attrsOf (types.submodule (
+ { options, ... }:
+ { options = {
+
+ algorithm = mkOption {
+ type = types.str;
+ default = "hmac-sha256";
+ description = ''
+ Authentication algorithm for this key.
+ '';
+ };
+
+ keyFile = mkOption {
+ type = types.path;
+ description = ''
+ Path to the file which contains the actual base64 encoded
+ key. The key will be copied into "${stateDir}/private" before
+ NSD starts. The copied file is only accessibly by the NSD
+ user.
+ '';
+ };
+
+ };
+ }));
+ default = {
+ };
+ example = {
+ "tsig.example.org" = {
+ algorithm = "hmac-md5";
+ secret = "aaaaaabbbbbbccccccdddddd";
+ };
+ };
+ description = ''
+ Define your TSIG keys here.
+ '';
+ };
+
+ zones = mkOption {
+ type = types.attrsOf zoneOptions;
+ default = {};
+ example = {
+ "serverGroup1" = {
+ provideXFR = [ "10.1.2.3 NOKEY" ];
+ children = {
+ "example.com." = {
+ data = ''
+ $ORIGIN example.com.
+ $TTL 86400
+ @ IN SOA a.ns.example.com. admin.example.com. (
+ ...
+ '';
+ };
+ "example.org." = {
+ data = ''
+ $ORIGIN example.org.
+ $TTL 86400
+ @ IN SOA a.ns.example.com. admin.example.com. (
+ ...
+ '';
+ };
+ };
+ };
+
+ "example.net." = {
+ provideXFR = [ "10.3.2.1 NOKEY" ];
+ data = ''...'';
+ };
+ };
+ description = ''
+ Define your zones here. Zones can cascade other zones and therefore
+ inherit settings from parent zones. Look at the definition of
+ children to learn about inheritance and child zones.
+ The given example will define 3 zones (example.(com|org|net).). Both
+ example.com. and example.org. inherit their configuration from
+ serverGroup1.
+ '';
+ };
+
+ };
+ };
+
+ config = mkIf cfg.enable {
+
+ # this is not working :(
+ nixpkgs.config.nsd = {
+ ipv6 = cfg.ipv6;
+ ratelimit = cfg.ratelimit.enable;
+ rootServer = cfg.rootServer;
+ };
+
+ users.extraGroups = singleton {
+ name = username;
+ gid = config.ids.gids.nsd;
+ };
+
+ users.extraUsers = singleton {
+ name = username;
+ description = "NSD service user";
+ home = stateDir;
+ createHome = true;
+ uid = config.ids.uids.nsd;
+ group = username;
+ };
+
+ systemd.services.nsd = {
+ description = "NSD authoritative only domain name service";
+ wantedBy = [ "multi-user.target" ];
+ after = [ "network.target" ];
+
+ serviceConfig = {
+ Type = "forking";
+ PIDFile = pidFile;
+ Restart = "always";
+ ExecStart = "${pkgs.nsd}/sbin/nsd -c ${configFile}";
+ };
+
+ preStart = ''
+ ${pkgs.coreutils}/bin/mkdir -m 0700 -p "${stateDir}/private"
+ ${pkgs.coreutils}/bin/mkdir -m 0700 -p "${stateDir}/tmp"
+ ${pkgs.coreutils}/bin/mkdir -m 0700 -p "${stateDir}/var"
+
+ ${pkgs.coreutils}/bin/touch "${stateDir}/don't touch anything in here"
+
+ ${pkgs.coreutils}/bin/rm -f "${stateDir}/private/"*
+ ${pkgs.coreutils}/bin/rm -f "${stateDir}/tmp/"*
+
+ ${pkgs.coreutils}/bin/chown nsd:nsd -R "${stateDir}/private"
+ ${pkgs.coreutils}/bin/chown nsd:nsd -R "${stateDir}/tmp"
+ ${pkgs.coreutils}/bin/chown nsd:nsd -R "${stateDir}/var"
+
+ ${pkgs.coreutils}/bin/rm -rf "${stateDir}/zones"
+ ${pkgs.coreutils}/bin/cp -r "${zoneFiles}" "${stateDir}/zones"
+
+ ${copyKeys}
+ '';
+ };
+
+ };
+}
diff --git a/nixos/modules/services/search/elasticsearch.nix b/nixos/modules/services/search/elasticsearch.nix
index b7a3566f95d..0d604850d42 100644
--- a/nixos/modules/services/search/elasticsearch.nix
+++ b/nixos/modules/services/search/elasticsearch.nix
@@ -104,8 +104,9 @@ in {
after = [ "network-interfaces.target" ];
environment = { ES_HOME = cfg.dataDir; };
serviceConfig = {
- ExecStart = "${pkgs.elasticsearch}/bin/elasticsearch -f -Des.path.conf=${configDir}";
+ ExecStart = "${pkgs.elasticsearch}/bin/elasticsearch -Des.path.conf=${configDir}";
User = "elasticsearch";
+ PermissionsStartOnly = true;
};
preStart = ''
mkdir -m 0700 -p ${cfg.dataDir}
diff --git a/nixos/modules/services/web-servers/apache-httpd/default.nix b/nixos/modules/services/web-servers/apache-httpd/default.nix
index 75ec6671d15..b8359d4756b 100644
--- a/nixos/modules/services/web-servers/apache-httpd/default.nix
+++ b/nixos/modules/services/web-servers/apache-httpd/default.nix
@@ -594,14 +594,14 @@ in
message = "SSL is enabled for HTTPD, but sslServerCert and/or sslServerKey haven't been specified."; }
];
- users.extraUsers = optionalAttrs (mainCfg.user == "wwwrun") singleton
+ users.extraUsers = optional (mainCfg.user == "wwwrun")
{ name = "wwwrun";
group = "wwwrun";
description = "Apache httpd user";
uid = config.ids.uids.wwwrun;
};
- users.extraGroups = optionalAttrs (mainCfg.group == "wwwrun") singleton
+ users.extraGroups = optional (mainCfg.group == "wwwrun")
{ name = "wwwrun";
gid = config.ids.gids.wwwrun;
};
diff --git a/nixos/modules/services/web-servers/fcgiwrap.nix b/nixos/modules/services/web-servers/fcgiwrap.nix
new file mode 100644
index 00000000000..7e91e7b60ee
--- /dev/null
+++ b/nixos/modules/services/web-servers/fcgiwrap.nix
@@ -0,0 +1,49 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+ cfg = config.services.fcgiwrap;
+
+in {
+
+ options = {
+ services.fcgiwrap = {
+ enable = mkOption {
+ type = types.bool;
+ default = false;
+ description = "Whether to enable fcgiwrap, a server for running CGI applications over FastCGI.";
+ };
+
+ preforkProcesses = mkOption {
+ type = types.int;
+ default = 1;
+ description = "Number of processes to prefork.";
+ };
+
+ bindSocket = mkOption {
+ type = types.string;
+ default = "unix:/run/fcgiwrap.sock";
+ description = ''
+ Socket to bind to. Valid socket URLs are:
+ unix:/path/to/socket for Unix sockets
+ tcp:dot.ted.qu.ad:port for IPv4 sockets
+ tcp6:[ipv6_addr]:port for IPv6 sockets
+ '';
+ };
+ };
+ };
+
+ config = mkIf cfg.enable {
+
+ systemd.services.fcgiwrap = {
+ after = [ "nss-user-lookup.target" ];
+ wantedBy = [ "multi-user.target" ];
+
+ serviceConfig = {
+ ExecStart = "${pkgs.fcgiwrap}/sbin/fcgiwrap -c ${builtins.toString cfg.preforkProcesses} -s ${cfg.bindSocket}";
+ };
+ };
+
+ };
+}
diff --git a/nixos/modules/services/web-servers/tomcat.nix b/nixos/modules/services/web-servers/tomcat.nix
index b5eee8f8be8..1de3d40165e 100644
--- a/nixos/modules/services/web-servers/tomcat.nix
+++ b/nixos/modules/services/web-servers/tomcat.nix
@@ -119,6 +119,8 @@ in
startOn = "started network-interfaces";
stopOn = "stopping network-interfaces";
+ daemonType = "daemon";
+
preStart =
''
# Create the base directory
@@ -327,10 +329,12 @@ in
done
''
else ""}
-
- ${pkgs.su}/bin/su -s ${pkgs.bash}/bin/sh ${cfg.user} -c 'CATALINA_BASE=${cfg.baseDir} JAVA_HOME=${pkgs.jdk} JAVA_OPTS="${cfg.javaOpts}" CATALINA_OPTS="${cfg.catalinaOpts}" ${tomcat}/bin/startup.sh'
'';
+ script = ''
+ ${pkgs.su}/bin/su -s ${pkgs.bash}/bin/sh ${cfg.user} -c 'CATALINA_BASE=${cfg.baseDir} JAVA_HOME=${pkgs.jdk} JAVA_OPTS="${cfg.javaOpts}" CATALINA_OPTS="${cfg.catalinaOpts}" ${tomcat}/bin/startup.sh'
+ '';
+
postStop =
''
echo "Stopping tomcat..."
diff --git a/nixos/modules/system/activation/top-level.nix b/nixos/modules/system/activation/top-level.nix
index b739ef693ce..62999dceee3 100644
--- a/nixos/modules/system/activation/top-level.nix
+++ b/nixos/modules/system/activation/top-level.nix
@@ -95,7 +95,7 @@ let
# kernel, systemd units, init scripts, etc.) as well as a script
# `switch-to-configuration' that activates the configuration and
# makes it bootable.
- system = showWarnings (
+ baseSystem = showWarnings (
if [] == failed then pkgs.stdenv.mkDerivation {
name = "nixos-${config.system.nixosVersion}";
preferLocalBuild = true;
@@ -118,6 +118,10 @@ let
perl = "${pkgs.perl}/bin/perl -I${pkgs.perlPackages.FileSlurp}/lib/perl5/site_perl";
} else throw "\nFailed assertions:\n${concatStringsSep "\n" (map (x: "- ${x}") failed)}");
+ # Replace runtime dependencies
+ system = fold ({ oldDependency, newDependency }: drv:
+ pkgs.replaceDependency { inherit oldDependency newDependency drv; }
+ ) baseSystem config.system.replaceRuntimeDependencies;
in
@@ -184,6 +188,33 @@ in
'';
};
+ system.replaceRuntimeDependencies = mkOption {
+ default = [];
+ example = lib.literalExample "[ ({ original = pkgs.openssl; replacement = pkgs.callPackage /path/to/openssl { ... }; }) ]";
+ type = types.listOf (types.submodule (
+ { options, ... }: {
+ options.original = mkOption {
+ type = types.package;
+ description = "The original package to override.";
+ };
+
+ options.replacement = mkOption {
+ type = types.package;
+ description = "The replacement package.";
+ };
+ })
+ );
+ apply = map ({ original, replacement, ... }: {
+ oldDependency = original;
+ newDependency = replacement;
+ });
+ description = ''
+ List of packages to override without doing a full rebuild.
+ The original derivation and replacement derivation must have the same
+ name length, and ideally should have close-to-identical directory layout.
+ '';
+ };
+
};
diff --git a/nixos/modules/system/boot/stage-1-init.sh b/nixos/modules/system/boot/stage-1-init.sh
index 15586e68e7e..7adb932aba7 100644
--- a/nixos/modules/system/boot/stage-1-init.sh
+++ b/nixos/modules/system/boot/stage-1-init.sh
@@ -60,12 +60,12 @@ touch /etc/fstab # to shut up mount
touch /etc/mtab # to shut up mke2fs
touch /etc/initrd-release
mkdir -p /proc
-mount -t proc none /proc
+mount -t proc proc /proc
mkdir -p /sys
-mount -t sysfs none /sys
-mount -t devtmpfs -o "size=@devSize@" none /dev
+mount -t sysfs sysfs /sys
+mount -t devtmpfs -o "size=@devSize@" devtmpfs /dev
mkdir -p /run
-mount -t tmpfs -o "mode=0755,size=@runSize@" none /run
+mount -t tmpfs -o "mode=0755,size=@runSize@" tmpfs /run
# Process the kernel command line.
diff --git a/nixos/modules/system/boot/stage-2-init.sh b/nixos/modules/system/boot/stage-2-init.sh
index ab414e29eb2..eff2fb583ba 100644
--- a/nixos/modules/system/boot/stage-2-init.sh
+++ b/nixos/modules/system/boot/stage-2-init.sh
@@ -36,9 +36,9 @@ mount -n -o remount,rw /
# stage 1, we need to do that here.
if [ ! -e /proc/1 ]; then
mkdir -m 0755 -p /proc
- mount -n -t proc none /proc
+ mount -n -t proc proc /proc
mkdir -m 0755 -p /dev
- mount -t devtmpfs none /dev
+ mount -t devtmpfs devtmpfs /dev
fi
@@ -82,9 +82,9 @@ done
# More special file systems, initialise required directories.
mkdir -m 0755 /dev/shm
-mount -t tmpfs -o "rw,nosuid,nodev,size=@devShmSize@" none /dev/shm
+mount -t tmpfs -o "rw,nosuid,nodev,size=@devShmSize@" tmpfs /dev/shm
mkdir -m 0755 -p /dev/pts
-[ -e /proc/bus/usb ] && mount -t usbfs none /proc/bus/usb # UML doesn't have USB by default
+[ -e /proc/bus/usb ] && mount -t usbfs usbfs /proc/bus/usb # UML doesn't have USB by default
mkdir -m 01777 -p /tmp
mkdir -m 0755 -p /var /var/log /var/lib /var/db
mkdir -m 0755 -p /nix/var
@@ -114,7 +114,7 @@ rm -rf /nix/var/nix/gcroots/tmp /nix/var/nix/temproots
if ! mountpoint -q /run; then
rm -rf /run
mkdir -m 0755 -p /run
- mount -t tmpfs -o "mode=0755,size=@runSize@" none /run
+ mount -t tmpfs -o "mode=0755,size=@runSize@" tmpfs /run
fi
# Create a ramfs on /run/keys to hold secrets that shouldn't be
@@ -122,7 +122,7 @@ fi
if ! mountpoint -q /run/keys; then
rm -rf /run/keys
mkdir /run/keys
- mount -t ramfs none /run/keys
+ mount -t ramfs ramfs /run/keys
chown 0:96 /run/keys
chmod 0750 /run/keys
fi
@@ -153,7 +153,7 @@ fi
# Create /var/setuid-wrappers as a tmpfs.
rm -rf /var/setuid-wrappers
mkdir -m 0755 -p /var/setuid-wrappers
-mount -t tmpfs -o "mode=0755" none /var/setuid-wrappers
+mount -t tmpfs -o "mode=0755" tmpfs /var/setuid-wrappers
# Run the script that performs all configuration activation that does
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index 761600f9e55..ee94c91716c 100644
--- a/nixos/modules/system/boot/systemd.nix
+++ b/nixos/modules/system/boot/systemd.nix
@@ -15,13 +15,13 @@ let
pkgs.runCommand "unit" { preferLocalBuild = true; inherit (unit) text; }
''
mkdir -p $out
- echo -n "$text" > $out/${name}
+ echo -n "$text" > $out/${shellEscape name}
''
else
pkgs.runCommand "unit" { preferLocalBuild = true; }
''
mkdir -p $out
- ln -s /dev/null $out/${name}
+ ln -s /dev/null $out/${shellEscape name}
'';
upstreamSystemUnits =
@@ -187,9 +187,11 @@ let
"timers.target"
];
+ shellEscape = s: (replaceChars [ "\\" ] [ "\\\\" ] s);
+
makeJobScript = name: text:
- let x = pkgs.writeTextFile { name = "unit-script"; executable = true; destination = "/bin/${name}"; inherit text; };
- in "${x}/bin/${name}";
+ let x = pkgs.writeTextFile { name = "unit-script"; executable = true; destination = "/bin/${shellEscape name}"; inherit text; };
+ in "${x}/bin/${shellEscape name}";
unitConfig = { name, config, ... }: {
config = {
diff --git a/nixos/modules/tasks/network-interfaces.nix b/nixos/modules/tasks/network-interfaces.nix
index 9cc8b154324..991f9f26145 100644
--- a/nixos/modules/tasks/network-interfaces.nix
+++ b/nixos/modules/tasks/network-interfaces.nix
@@ -183,6 +183,15 @@ in
'';
};
+ networking.search = mkOption {
+ default = [];
+ example = [ "example.com" "local.domain" ];
+ type = types.listOf types.str;
+ description = ''
+ The list of search paths used when resolving domain names.
+ '';
+ };
+
networking.domain = mkOption {
default = "";
example = "home";
@@ -424,6 +433,7 @@ in
${optionalString (cfg.nameservers != [] && cfg.domain != "") ''
domain ${cfg.domain}
''}
+ ${optionalString (cfg.search != []) ("search " + concatStringsSep " " cfg.search)}
${flip concatMapStrings cfg.nameservers (ns: ''
nameserver ${ns}
'')}
diff --git a/nixos/modules/tasks/trackpoint.nix b/nixos/modules/tasks/trackpoint.nix
new file mode 100644
index 00000000000..4be2c3eb4c4
--- /dev/null
+++ b/nixos/modules/tasks/trackpoint.nix
@@ -0,0 +1,66 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+{
+ ###### interface
+
+ options = {
+
+ hardware.trackpoint = {
+
+ enable = mkOption {
+ default = false;
+ type = types.bool;
+ description = ''
+ Enable sensitivity and speed configuration for trackpoints.
+ '';
+ };
+
+ sensitivity = mkOption {
+ default = 128;
+ example = 255;
+ type = types.int;
+ description = ''
+ Configure the trackpoint sensitivity. By default, the kernel
+ configures 128.
+ '';
+ };
+
+ speed = mkOption {
+ default = 97;
+ example = 255;
+ type = types.int;
+ description = ''
+ Configure the trackpoint sensitivity. By default, the kernel
+ configures 97.
+ '';
+ };
+
+ };
+
+ };
+
+
+ ###### implementation
+
+ config = mkIf config.hardware.trackpoint.enable {
+
+ jobs.trackpoint =
+ { description = "Initialize trackpoint";
+
+ startOn = "started udev";
+
+ task = true;
+
+ script = ''
+ echo -n ${toString config.hardware.trackpoint.sensitivity} \
+ > /sys/devices/platform/i8042/serio1/sensitivity
+ echo -n ${toString config.hardware.trackpoint.speed} \
+ > /sys/devices/platform/i8042/serio1/speed
+ '';
+ };
+
+ };
+
+}
diff --git a/nixos/modules/virtualisation/nixos-container.pl b/nixos/modules/virtualisation/nixos-container.pl
index 718630fe8b9..5083abd8448 100644
--- a/nixos/modules/virtualisation/nixos-container.pl
+++ b/nixos/modules/virtualisation/nixos-container.pl
@@ -31,7 +31,7 @@ EOF
}
my $ensureUniqueName = 0;
-my $extraConfig = "";
+my $extraConfig;
GetOptions(
"help" => sub { showHelp() },
@@ -190,7 +190,7 @@ elsif ($action eq "update") {
# FIXME: may want to be more careful about clobbering the existing
# configuration.nix.
- writeNixOSConfig $nixosConfigFile if defined $extraConfig;
+ writeNixOSConfig $nixosConfigFile if (defined $extraConfig && $extraConfig ne "");
system("nix-env", "-p", "$profileDir/system",
"-I", "nixos-config=$nixosConfigFile", "-f", "",
diff --git a/nixos/tests/misc.nix b/nixos/tests/misc.nix
index e33581b4d2d..8caef146ec8 100644
--- a/nixos/tests/misc.nix
+++ b/nixos/tests/misc.nix
@@ -98,6 +98,10 @@ import ./make-test.nix {
$machine->succeed("touch /tmp2/x");
$machine->succeed("grep '/tmp2 tmpfs' /proc/mounts");
};
+
+ subtest "shell-vars", sub {
+ $machine->succeed('[ -n "$NIX_PATH" ]');
+ };
'';
}
diff --git a/pkgs/applications/audio/ladspa-plugins/ladspah.nix b/pkgs/applications/audio/ladspa-plugins/ladspah.nix
index 30ba34af16c..8c4d8a8c1ed 100644
--- a/pkgs/applications/audio/ladspa-plugins/ladspah.nix
+++ b/pkgs/applications/audio/ladspa-plugins/ladspah.nix
@@ -1,28 +1,17 @@
-{ stdenv, fetchurl, builderDefs }:
+{ runCommand, fetchurl }:
+
+let
-let
src = fetchurl {
url = http://www.ladspa.org/ladspa_sdk/ladspa.h.txt;
sha256 = "1b908csn85ng9sz5s5d1mqk711cmawain2z8px2ajngihdrynb67";
};
+
in
- let localDefs = builderDefs.passthru.function {
- buildInputs = [];
- inherit src;
- };
- in with localDefs;
-let
- copyFile = fullDepEntry ("
- mkdir -p \$out/include
- cp ${src} \$out/include/ladspa.h
- ") [minInit defEnsureDir];
-in
-stdenv.mkDerivation {
- name = "ladspa.h";
- builder = writeScript "ladspa.h-builder"
- (textClosure localDefs [copyFile]);
- meta = {
- description = "LADSPA format audio plugins";
- inherit src;
- };
-}
+
+runCommand "ladspa.h"
+ { meta.description = "LADSPA format audio plugins"; }
+ ''
+ mkdir -p $out/include
+ cp ${src} $out/include/ladspa.h
+ ''
diff --git a/pkgs/applications/audio/xmp/default.nix b/pkgs/applications/audio/xmp/default.nix
new file mode 100644
index 00000000000..7f21d389cf5
--- /dev/null
+++ b/pkgs/applications/audio/xmp/default.nix
@@ -0,0 +1,20 @@
+{ stdenv, fetchurl, pkgconfig, alsaLib, libxmp }:
+
+stdenv.mkDerivation rec {
+ name = "xmp-4.0.7";
+
+ meta = with stdenv.lib; {
+ description = "Extended module player";
+ homepage = "http://xmp.sourceforge.net/";
+ license = licenses.gpl2Plus;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ iyzsong ];
+ };
+
+ src = fetchurl {
+ url = "mirror://sourceforge/xmp/xmp/${name}.tar.gz";
+ sha256 = "0qgzzaxhshz5l7s21x89xb43pbbi0zap6a4lk4s7gjp1qca2agcw";
+ };
+
+ buildInputs = [ pkgconfig alsaLib libxmp ];
+}
diff --git a/pkgs/applications/editors/atom/default.nix b/pkgs/applications/editors/atom/default.nix
new file mode 100644
index 00000000000..725b4520e69
--- /dev/null
+++ b/pkgs/applications/editors/atom/default.nix
@@ -0,0 +1,68 @@
+{ stdenv, fetchurl, buildEnv, makeDesktopItem, makeWrapper, zlib, glib, alsaLib
+, dbus, gtk, atk, pango, freetype, fontconfig, libgnome_keyring3, gdk_pixbuf
+, cairo, cups, expat, libgpgerror, nspr, gconf, nss, xlibs
+}:
+
+let
+ atomEnv = buildEnv {
+ name = "env-atom";
+ paths = [
+ stdenv.gcc.gcc zlib glib dbus gtk atk pango freetype libgnome_keyring3
+ fontconfig gdk_pixbuf cairo cups expat libgpgerror alsaLib nspr gconf nss
+ xlibs.libXrender xlibs.libX11 xlibs.libXext xlibs.libXdamage xlibs.libXtst
+ xlibs.libXcomposite xlibs.libXi xlibs.libXfixes
+ ];
+ };
+in stdenv.mkDerivation rec {
+ name = "atom-${version}";
+ version = "0.99.0";
+
+ src = fetchurl {
+ url = https://github.com/hotice/webupd8/raw/master/atom-linux64-0.99.0~git20140525.tar.xz;
+ sha256 = "55c2415c96e1182ae1517751cbea1db64e9962683b384cfe5e182aec10aebecd";
+ name = "${name}.tar.xz";
+ };
+
+ iconsrc = fetchurl {
+ url = https://raw.githubusercontent.com/atom/atom/master/resources/atom.png;
+ sha256 = "66dc0b432eed7bcd738b7c1b194e539178a83d427c78f103041981f2b840e030";
+ };
+
+ desktopItem = makeDesktopItem {
+ name = "atom";
+ exec = "atom";
+ icon = iconsrc;
+ comment = "A hackable text editor for the 21st Century";
+ desktopName = "Atom";
+ genericName = "Text editor";
+ categories = "Development;TextEditor";
+ };
+
+ buildInputs = [ atomEnv makeWrapper ];
+
+ phases = [ "installPhase" ];
+
+ installPhase = ''
+ ensureDir $out/share/atom
+ ensureDir $out/bin
+ tar -C $out/share/atom -xvf $src
+ patchelf --set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
+ $out/share/atom/atom
+ patchelf --set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
+ $out/share/atom/resources/app/apm/node_modules/atom-package-manager/bin/node
+ makeWrapper $out/share/atom/atom $out/bin/atom \
+ --prefix "LD_LIBRARY_PATH" : "${atomEnv}/lib:${atomEnv}/lib64"
+
+ # Create a desktop item.
+ mkdir -p "$out/share/applications"
+ cp "${desktopItem}"/share/applications/* "$out/share/applications/"
+ '';
+
+ meta = with stdenv.lib; {
+ description = "A hackable text editor for the 21st Century";
+ homepage = https://atom.io/;
+ license = [ licenses.mit ];
+ maintainers = [ maintainers.offline ];
+ platforms = [ "x86_64-linux" ];
+ };
+}
diff --git a/pkgs/applications/editors/emacs-modes/org/default.nix b/pkgs/applications/editors/emacs-modes/org/default.nix
index 9af7c24e800..768444008ad 100644
--- a/pkgs/applications/editors/emacs-modes/org/default.nix
+++ b/pkgs/applications/editors/emacs-modes/org/default.nix
@@ -1,11 +1,11 @@
{ fetchurl, stdenv, emacs, texinfo, which, texLive }:
stdenv.mkDerivation rec {
- name = "org-8.2.6";
+ name = "org-8.2.7";
src = fetchurl {
url = "http://orgmode.org/${name}.tar.gz";
- sha256 = "0f196r0n9m2np123sjabsqdw68h9qp6qr7l5v257am8qs7rj0jm1";
+ sha256 = "1n864hnjvx5n2gfi7n0xbwvb1k8l5rdh4a3vpbhw23hy8rx3bvaw";
};
buildInputs = [ emacs ];
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
license = "GPLv3+";
- maintainers = with stdenv.lib.maintainers; [ chaoflow ];
+ maintainers = with stdenv.lib.maintainers; [ chaoflow pSub ];
platforms = stdenv.lib.platforms.gnu;
};
}
diff --git a/pkgs/applications/editors/emacs-modes/sbt-mode/default.nix b/pkgs/applications/editors/emacs-modes/sbt-mode/default.nix
new file mode 100644
index 00000000000..092026aca88
--- /dev/null
+++ b/pkgs/applications/editors/emacs-modes/sbt-mode/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchurl, emacs, unzip }:
+
+stdenv.mkDerivation {
+
+ name = "sbt-mode-2014-06-05";
+
+ src = fetchurl {
+ url = "https://github.com/hvesalai/sbt-mode/archive/676f22d9658989de401d299ed0250db9b911574d.zip";
+ sha256 = "0b8qrr3yp48ggl757d3a6bz633mbf4zxqpcwsh47b1ckiwa3nb2h";
+ };
+
+ buildInputs = [ unzip emacs ];
+
+ installPhase = ''
+ mkdir -p "$out/share/emacs/site-lisp"
+ cp -v *.el *.elc "$out/share/emacs/site-lisp/"
+ '';
+
+ meta = {
+ homepage = "https://github.com/hvesalai/scala-mode2";
+ description = "An Emacs mode for editing Scala code";
+ license = "permissive";
+ };
+}
diff --git a/pkgs/applications/editors/emacs-modes/scala-mode/default.nix b/pkgs/applications/editors/emacs-modes/scala-mode/v1.nix
similarity index 100%
rename from pkgs/applications/editors/emacs-modes/scala-mode/default.nix
rename to pkgs/applications/editors/emacs-modes/scala-mode/v1.nix
diff --git a/pkgs/applications/editors/emacs-modes/scala-mode/v2.nix b/pkgs/applications/editors/emacs-modes/scala-mode/v2.nix
new file mode 100644
index 00000000000..13d3f4b00d1
--- /dev/null
+++ b/pkgs/applications/editors/emacs-modes/scala-mode/v2.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchurl, emacs, unzip }:
+
+stdenv.mkDerivation {
+
+ name = "scala-mode2-2014-06-05";
+
+ src = fetchurl {
+ url = "https://github.com/hvesalai/scala-mode2/archive/af2dc30226c890ff7d49d727450f8006b90781df.zip";
+ sha256 = "1jj08li9lfg5291jzj170wa3cmyf3g2a0j80cy5307l0mdawp9vx";
+ };
+
+ buildInputs = [ unzip emacs ];
+
+ installPhase = ''
+ mkdir -p "$out/share/emacs/site-lisp"
+ cp -v *.el *.elc "$out/share/emacs/site-lisp/"
+ '';
+
+ meta = {
+ homepage = "https://github.com/hvesalai/scala-mode2";
+ description = "An Emacs mode for editing Scala code";
+ license = "permissive";
+ };
+}
diff --git a/pkgs/applications/editors/vim/macvim.nix b/pkgs/applications/editors/vim/macvim.nix
new file mode 100644
index 00000000000..e48cb2590f9
--- /dev/null
+++ b/pkgs/applications/editors/vim/macvim.nix
@@ -0,0 +1,93 @@
+{ stdenv, stdenvAdapters, gccApple, fetchFromGitHub, ncurses, gettext,
+ pkgconfig, cscope, python, ruby, tcl, perl, luajit
+}:
+
+let inherit (stdenvAdapters.overrideGCC stdenv gccApple) mkDerivation;
+in mkDerivation rec {
+ name = "macvim-${version}";
+
+ version = "7.4-73";
+
+ src = fetchFromGitHub {
+ owner = "b4winckler";
+ repo = "macvim";
+ rev = "snapshot-73";
+ sha256 = "0zv82y2wz8b482khkgbl08cnxq3pv5bm37c71wgfa0fzy3h12gcj";
+ };
+
+ enableParallelBuilding = true;
+
+ buildInputs = [
+ gettext ncurses pkgconfig luajit ruby tcl perl python
+ ];
+
+ patches = [ ./macvim.patch ];
+
+ postPatch = ''
+ substituteInPlace src/MacVim/mvim --replace "# VIM_APP_DIR=/Applications" "VIM_APP_DIR=$out/Applications"
+
+ # Don't create custom icons.
+ substituteInPlace src/MacVim/icons/Makefile --replace '$(MAKE) -C makeicns' ""
+ substituteInPlace src/MacVim/icons/make_icons.py --replace "dont_create = False" "dont_create = True"
+
+ # Full path to xcodebuild
+ substituteInPlace src/Makefile --replace "xcodebuild" "/usr/bin/xcodebuild"
+ '';
+
+ configureFlags = [
+ #"--enable-cscope" # TODO: cscope doesn't build on Darwin yet
+ "--enable-fail-if-missing"
+ "--with-features=huge"
+ "--enable-gui=macvim"
+ "--enable-multibyte"
+ "--enable-nls"
+ "--enable-luainterp=dynamic"
+ "--enable-pythoninterp=dynamic"
+ "--enable-perlinterp=dynamic"
+ "--enable-rubyinterp=dynamic"
+ "--enable-tclinterp=yes"
+ "--with-luajit"
+ "--with-lua-prefix=${luajit}"
+ "--with-ruby-command=${ruby}/bin/ruby"
+ "--with-tclsh=${tcl}/bin/tclsh"
+ "--with-tlib=ncurses"
+ "--with-compiledby=Nix"
+ ];
+
+ preConfigure = ''
+ DEV_DIR=$(/usr/bin/xcode-select -print-path)/Platforms/MacOSX.platform/Developer
+ configureFlagsArray+=(
+ "--with-developer-dir=$DEV_DIR"
+ )
+ '';
+
+ postInstall = ''
+ ensureDir $out/Applications
+ cp -r src/MacVim/build/Release/MacVim.app $out/Applications
+
+ rm $out/bin/{Vimdiff,Vimtutor,Vim,ex,rVim,rview,view}
+
+ cp src/MacVim/mvim $out/bin
+ cp src/vimtutor $out/bin
+
+ for prog in "vimdiff" "vi" "vim" "ex" "rvim" "rview" "view"; do
+ ln -s $out/bin/mvim $out/bin/$prog
+ done
+
+ # Fix rpaths
+ exe="$out/Applications/MacVim.app/Contents/MacOS/Vim"
+ libperl=$(dirname $(find ${perl} -name "libperl.dylib"))
+ install_name_tool -add_rpath ${luajit}/lib $exe
+ install_name_tool -add_rpath ${tcl}/lib $exe
+ install_name_tool -add_rpath ${python}/lib $exe
+ install_name_tool -add_rpath $libperl $exe
+ install_name_tool -add_rpath ${ruby}/lib $exe
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Vim - the text editor - for Mac OS X";
+ homepage = https://github.com/b4winckler/macvim;
+ maintainers = with maintainers; [ cstrahan ];
+ platforms = platforms.darwin;
+ };
+}
diff --git a/pkgs/applications/editors/vim/macvim.patch b/pkgs/applications/editors/vim/macvim.patch
new file mode 100644
index 00000000000..c721bbe149a
--- /dev/null
+++ b/pkgs/applications/editors/vim/macvim.patch
@@ -0,0 +1,159 @@
+diff --git a/src/vimtutor b/src/vimtutor
+index 70d9ec7..b565a1a 100755
+--- a/src/vimtutor
++++ b/src/vimtutor
+@@ -16,7 +16,7 @@ seq="vim vim8 vim75 vim74 vim73 vim72 vim71 vim70 vim7 vim6 vi"
+ if test "$1" = "-g"; then
+ # Try to use the GUI version of Vim if possible, it will fall back
+ # on Vim if Gvim is not installed.
+- seq="gvim gvim8 gvim75 gvim74 gvim73 gvim72 gvim71 gvim70 gvim7 gvim6 $seq"
++ seq="mvim gvim gvim8 gvim75 gvim74 gvim73 gvim72 gvim71 gvim70 gvim7 gvim6 $seq"
+ shift
+ fi
+
+
+diff --git a/src/auto/configure b/src/auto/configure
+index bc9f074..9b9125e 100755
+--- a/src/auto/configure
++++ b/src/auto/configure
+@@ -2252,7 +2252,7 @@ rm -f conftest.val
+ as_fn_set_status $ac_retval
+
+ } # ac_fn_c_compute_int
+-cat >auto/config.log <<_ACEOF
++cat >config.log <<_ACEOF
+ This file contains any messages produced by compilers while
+ running configure, to aid debugging if configure makes a mistake.
+
+@@ -2262,7 +2262,7 @@ generated by GNU Autoconf 2.69. Invocation command line was
+ $ $0 $@
+
+ _ACEOF
+-exec 5>>auto/config.log
++exec 5>>config.log
+ {
+ cat <<_ASUNAME
+ ## --------- ##
+@@ -5377,10 +5377,7 @@ $as_echo "no" >&6; }
+ fi
+
+ if test "X$vi_cv_path_mzscheme_pfx" != "X"; then
+- if test "x$MACOSX" = "xyes"; then
+- MZSCHEME_LIBS="-framework Racket"
+- MZSCHEME_CFLAGS="-DMZ_PRECISE_GC"
+- elif test -f "${vi_cv_path_mzscheme_pfx}/lib/libmzscheme3m.a"; then
++ if test -f "${vi_cv_path_mzscheme_pfx}/lib/libmzscheme3m.a"; then
+ MZSCHEME_LIBS="${vi_cv_path_mzscheme_pfx}/lib/libmzscheme3m.a"
+ MZSCHEME_CFLAGS="-DMZ_PRECISE_GC"
+ elif test -f "${vi_cv_path_mzscheme_pfx}/lib/libracket3m.a"; then
+@@ -5716,23 +5713,6 @@ $as_echo ">>> too old; need Perl version 5.003_01 or later <<<" >&6; }
+ fi
+
+ if test "x$MACOSX" = "xyes"; then
+- dir=/System/Library/Perl
+- darwindir=$dir/darwin
+- if test -d $darwindir; then
+- PERL=/usr/bin/perl
+- else
+- dir=/System/Library/Perl/5.8.1
+- darwindir=$dir/darwin-thread-multi-2level
+- if test -d $darwindir; then
+- PERL=/usr/bin/perl
+- fi
+- fi
+- if test -n "$PERL"; then
+- PERL_DIR="$dir"
+- PERL_CFLAGS="-DFEAT_PERL -I$darwindir/CORE"
+- PERL_OBJ="objects/if_perl.o objects/if_perlsfio.o $darwindir/auto/DynaLoader/DynaLoader.a"
+- PERL_LIBS="-L$darwindir/CORE -lperl"
+- fi
+ PERL_LIBS=`echo "$PERL_LIBS" | sed -e 's/-arch\ ppc//' -e 's/-arch\ i386//' -e 's/-arch\ x86_64//'`
+ PERL_CFLAGS=`echo "$PERL_CFLAGS" | sed -e 's/-arch\ ppc//' -e 's/-arch\ i386//' -e 's/-arch\ x86_64//'`
+ fi
+@@ -5926,10 +5906,6 @@ __:
+ eof
+ eval "`cd ${PYTHON_CONFDIR} && make -f "${tmp_mkf}" __ | sed '/ directory /d'`"
+ rm -f -- "${tmp_mkf}"
+- if test "x$MACOSX" = "xyes" && ${vi_cv_path_python} -c \
+- "import sys; sys.exit(${vi_cv_var_python_version} < 2.3)"; then
+- vi_cv_path_python_plibs="-framework Python"
+- else
+ if test "${vi_cv_var_python_version}" = "1.4"; then
+ vi_cv_path_python_plibs="${PYTHON_CONFDIR}/libModules.a ${PYTHON_CONFDIR}/libPython.a ${PYTHON_CONFDIR}/libObjects.a ${PYTHON_CONFDIR}/libParser.a"
+ else
+@@ -5937,7 +5913,6 @@ eof
+ fi
+ vi_cv_path_python_plibs="${vi_cv_path_python_plibs} ${python_BASEMODLIBS} ${python_LIBS} ${python_SYSLIBS} ${python_LINKFORSHARED}"
+ vi_cv_path_python_plibs=`echo $vi_cv_path_python_plibs | sed s/-ltermcap//`
+- fi
+
+ fi
+
+@@ -6004,13 +5979,6 @@ rm -f core conftest.err conftest.$ac_objext \
+ $as_echo "no" >&6; }
+ fi
+
+- if test -n "$MACSDK"; then
+- PYTHON_CFLAGS=
+- PYTHON_LIBS=-framework Python
+- PYTHON_CONFDIR=
+- PYTHON_GETPATH_CFLAGS=
+- fi
+-
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compile and link flags for Python are sane" >&5
+ $as_echo_n "checking if compile and link flags for Python are sane... " >&6; }
+ cflags_save=$CFLAGS
+@@ -6853,11 +6821,7 @@ $as_echo "$tclver - OK" >&6; };
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for location of Tcl include" >&5
+ $as_echo_n "checking for location of Tcl include... " >&6; }
+- if test "x$MACOSX" != "xyes"; then
+ tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include /usr/local/include/tcl$tclver /usr/include /usr/include/tcl$tclver"
+- else
+- tclinc="/System/Library/Frameworks/Tcl.framework/Headers"
+- fi
+ TCL_INC=
+ for try in $tclinc; do
+ if test -f "$try/tcl.h"; then
+@@ -6875,12 +6839,8 @@ $as_echo "" >&6; }
+ if test -z "$SKIP_TCL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for location of tclConfig.sh script" >&5
+ $as_echo_n "checking for location of tclConfig.sh script... " >&6; }
+- if test "x$MACOSX" != "xyes"; then
+ tclcnf=`echo $tclinc | sed s/include/lib/g`
+ tclcnf="$tclcnf `echo $tclinc | sed s/include/lib64/g`"
+- else
+- tclcnf="/System/Library/Frameworks/Tcl.framework"
+- fi
+ for try in $tclcnf; do
+ if test -f $try/tclConfig.sh; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $try/tclConfig.sh" >&5
+@@ -7050,10 +7010,6 @@ $as_echo "$rubyhdrdir" >&6; }
+ if test -f "$rubylibdir/$librubya"; then
+ librubyarg="$librubyarg"
+ RUBY_LIBS="$RUBY_LIBS -L$rubylibdir"
+- elif test -d "/System/Library/Frameworks/Ruby.framework"; then
+- RUBY_LIBS="-framework Ruby"
+- RUBY_CFLAGS="-DRUBY_VERSION=$rubyversion"
+- librubyarg=
+ fi
+
+ if test "X$librubyarg" != "X"; then
+@@ -14061,7 +14017,7 @@ fi
+
+ _ACEOF
+ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+-exec 5>>auto/config.log
++exec 5>>config.log
+ {
+ echo
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
+@@ -14653,7 +14609,7 @@ if test "$no_create" != yes; then
+ ac_config_status_args="$ac_config_status_args --quiet"
+ exec 5>/dev/null
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
+- exec 5>>auto/config.log
++ exec 5>>config.log
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
+ # would make configure fail if this is the last instruction.
+ $ac_cs_success || as_fn_exit 1
diff --git a/pkgs/applications/editors/yi/yi.nix b/pkgs/applications/editors/yi/yi.nix
index 96e4a06965c..e689bdff4f6 100644
--- a/pkgs/applications/editors/yi/yi.nix
+++ b/pkgs/applications/editors/yi/yi.nix
@@ -5,6 +5,12 @@
, split, tasty, tastyHunit, tastyQuickcheck, time, transformersBase
, uniplate, unixCompat, unorderedContainers, utf8String, vty
, xdgBasedir
+, withPango ? true
+
+# User may need extra dependencies for their configuration file so we
+# want to specify it here to have them available when wrapping the
+# produced binary.
+, extraDepends ? [ ]
}:
cabal.mkDerivation (self: {
@@ -15,21 +21,43 @@ cabal.mkDerivation (self: {
isExecutable = true;
buildDepends = [
binary Cabal cautiousFile concreteTyperep dataDefault derive Diff
- dlist dyre filepath fingertree glib gtk hashable hint lens mtl
- pango parsec pointedlist QuickCheck random regexBase regexTdfa safe
+ dlist dyre filepath fingertree hashable hint lens mtl
+ parsec pointedlist QuickCheck random regexBase regexTdfa safe
split time transformersBase uniplate unixCompat unorderedContainers
utf8String vty xdgBasedir
- ];
+ ] ++ (if withPango then [ pango gtk glib ] else [ ]) ++ extraDepends;
testDepends = [
filepath HUnit QuickCheck tasty tastyHunit tastyQuickcheck
];
buildTools = [ alex ];
- configureFlags = "-fpango";
+ configureFlags = if withPango then "-fpango" else "-f-pango";
doCheck = false;
+
+ # https://ghc.haskell.org/trac/ghc/ticket/9170
+ noHaddock = self.ghc.version == "7.6.3";
+
+ # Allows Yi to find the libraries it needs at runtime.
+ postInstall = ''
+ mv $out/bin/yi $out/bin/.yi-wrapped
+ cat - > $out/bin/yi <> dia
+ echo 'test -f "$HOME/.dia/persistence" || cp ${correctPersistence} "$HOME/.dia/persistence" ' >> dia
+ echo 'chmod u+rw "$HOME/.dia/persistence" ' >> dia
+ echo "\"$out/bin/"'.dia-wrapped" "$@"' >> dia
+ chmod a+x dia
+ '';
meta = {
description = "Gnome Diagram drawing software";
diff --git a/pkgs/applications/graphics/feh/default.nix b/pkgs/applications/graphics/feh/default.nix
index 47a52817549..d23f42fdbf9 100644
--- a/pkgs/applications/graphics/feh/default.nix
+++ b/pkgs/applications/graphics/feh/default.nix
@@ -1,22 +1,23 @@
-{ stdenv, makeWrapper, fetchurl, x11, imlib2, libjpeg, libpng, giblib
+{ stdenv, makeWrapper, fetchurl, x11, imlib2, libjpeg, libpng
, libXinerama, curl }:
stdenv.mkDerivation rec {
- name = "feh-2.11";
+ name = "feh-2.12";
src = fetchurl {
url = "http://feh.finalrewind.org/${name}.tar.bz2";
- sha256 = "1y41ixsp5nhvb29hhiyh8g1g28lc0kki619skgxcv5iisc93dk4x";
+ sha256 = "0ckhidmsms2l5jycp0qf71jzmb3bpbhjq3bcgfpvfvszah7pmq30";
};
- buildInputs = [makeWrapper x11 imlib2 giblib libjpeg libpng libXinerama curl ];
+ buildInputs = [makeWrapper x11 imlib2 libjpeg libpng libXinerama curl];
preBuild = ''
makeFlags="PREFIX=$out"
'';
postInstall = ''
- wrapProgram "$out/bin/feh" --prefix PATH : "${libjpeg}/bin"
+ wrapProgram "$out/bin/feh" --prefix PATH : "${libjpeg}/bin" \
+ --add-flags '--theme=feh'
'';
meta = {
diff --git a/pkgs/applications/graphics/potrace/default.nix b/pkgs/applications/graphics/potrace/default.nix
index 81af6db9a4c..365f88b19b4 100644
--- a/pkgs/applications/graphics/potrace/default.nix
+++ b/pkgs/applications/graphics/potrace/default.nix
@@ -10,12 +10,14 @@ stdenv.mkDerivation {
sha256 = "1bbyl7jgigawmwc8r14znv8lb6lrcxh8zpvynrl6s800dr4yp9as";
};
+ configureFlags = ["--with-libpotrace"];
+
buildInputs = [ zlib ];
meta = {
homepage = http://potrace.sourceforge.net/;
description = "A tool for tracing a bitmap, which means, transforming a bitmap into a smooth, scalable image";
- platforms = stdenv.lib.platforms.linux;
+ platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.pSub ];
license = "GPL2";
};
diff --git a/pkgs/applications/graphics/qiv/default.nix b/pkgs/applications/graphics/qiv/default.nix
index df18c6d1520..86891f2cb93 100644
--- a/pkgs/applications/graphics/qiv/default.nix
+++ b/pkgs/applications/graphics/qiv/default.nix
@@ -1,14 +1,15 @@
-{ stdenv, fetchurl, pkgconfig, gtk, imlib2, file } :
+{ stdenv, fetchurl, pkgconfig, gtk, imlib2, file, lcms2, libexif } :
stdenv.mkDerivation (rec {
- name = "qiv-2.2.4";
+ version = "2.3.1";
+ name = "qiv-${version}";
src = fetchurl {
url = "http://spiegl.de/qiv/download/${name}.tgz";
- sha256 = "ed6078dc550c1dc2fe35c1e0f46463c13589a24b83d4f7101b71a7485e51abb7";
+ sha256 = "1rlf5h67vhj7n1y7jqkm9k115nfnzpwngj3kzqsi2lg676srclv7";
};
- buildInputs = [ pkgconfig gtk imlib2 file ];
+ buildInputs = [ pkgconfig gtk imlib2 file lcms2 libexif ];
preBuild=''
substituteInPlace Makefile --replace /usr/local "$out"
@@ -18,5 +19,6 @@ stdenv.mkDerivation (rec {
meta = {
description = "qiv (quick image viewer)";
homepage = http://spiegl.de/qiv/;
+ inherit version;
};
})
diff --git a/pkgs/applications/graphics/qiv/default.upstream b/pkgs/applications/graphics/qiv/default.upstream
new file mode 100644
index 00000000000..e6c7ef2408e
--- /dev/null
+++ b/pkgs/applications/graphics/qiv/default.upstream
@@ -0,0 +1,3 @@
+url http://spiegl.de/qiv/download/
+version_link '[.]tgz$'
+do_overwrite() { do_overwrite_just_version; }
diff --git a/pkgs/applications/misc/calibre/default.nix b/pkgs/applications/misc/calibre/default.nix
index c2d8e7979e4..6c25a67147a 100644
--- a/pkgs/applications/misc/calibre/default.nix
+++ b/pkgs/applications/misc/calibre/default.nix
@@ -4,11 +4,11 @@
}:
stdenv.mkDerivation rec {
- name = "calibre-1.31.0";
+ name = "calibre-1.35.0";
src = fetchurl {
url = "mirror://sourceforge/calibre/${name}.tar.xz";
- sha256 = "1fl42y8ppw8s51v66dqsrg1ib28yi6z5779r9wfvdbl9v1clilfc";
+ sha256 = "0pzxp1f9d4pw7vksdfkdz6fdgrb8jfwgh4fckjfrarqs039422bi";
};
inherit python;
diff --git a/pkgs/applications/misc/llpp/default.nix b/pkgs/applications/misc/llpp/default.nix
new file mode 100644
index 00000000000..81ca87af707
--- /dev/null
+++ b/pkgs/applications/misc/llpp/default.nix
@@ -0,0 +1,75 @@
+{ stdenv, fetchgit, ocaml, mupdf, lablgl, mesa
+, libX11, libXext, gtk3, freetype, zlib, openjpeg
+, jbig2dec, libjpeg, ncurses }:
+
+stdenv.mkDerivation {
+ name = "llpp-2014-05-26";
+
+ src = fetchgit {
+ url = "git://repo.or.cz/llpp.git";
+ rev = "902143de64d86b5714b3a59d2cc7085083b87249";
+ sha256 = "038xl4gbvm57na2lz1fw36sf43zaxq407zi2d53985vc33677j9s";
+ };
+
+ buildInputs = [ ocaml mupdf lablgl mesa libX11 libXext gtk3
+ freetype jbig2dec libjpeg openjpeg zlib ncurses ];
+
+ # The build phase was extracted from buildall.sh, because that script
+ # fetched the dependencies on its own.
+ buildPhase = ''
+ ccopt="-O"
+ ccopt="$ccopt -I ${jbig2dec}/include"
+ ccopt="$ccopt -I ${libjpeg}/include"
+ ccopt="$ccopt -I ${freetype}/include"
+ ccopt="$ccopt -I ${openjpeg}/include"
+ ccopt="$ccopt -I ${zlib}/include"
+ ccopt="$ccopt -I ${mupdf}/include"
+ ccopt="$ccopt -include ${freetype}/include/ft2build.h"
+ ccopt="$ccopt -D_GNU_SOURCE"
+
+ cclib="$cclib -lmupdf"
+ cclib="$cclib -lz -ljpeg -lopenjp2 -ljbig2dec -lfreetype -lpthread"
+ cclib="$cclib -lX11"
+ cclib="$cclib -lfreetype"
+
+ comp=ocamlc.opt
+ cmsuf=cmo
+
+ sh mkhelp.sh keystoml.ml KEYS > help.ml
+
+ $comp -c -o link.o -ccopt "$ccopt" link.c
+ $comp -c -o help.$cmsuf help.ml
+ $comp -c -o utils.$cmsuf utils.ml
+ $comp -c -o wsi.cmi wsi.mli
+ $comp -c -o wsi.$cmsuf wsi.ml
+ $comp -c -o parser.$cmsuf parser.ml
+ $comp -c -o main.$cmsuf -I ${lablgl}/lib/ocaml/4.01.0/site-lib/lablgl main.ml
+
+ $comp -custom -o llpp \
+ -I ${lablgl}/lib/ocaml/4.01.0/site-lib/lablgl \
+ str.cma unix.cma lablgl.cma \
+ link.o \
+ -cclib "$cclib" \
+ help.cmo \
+ utils.cmo \
+ parser.cmo \
+ wsi.cmo \
+ main.cmo
+ '';
+
+ # Binary fails with 'No bytecode file specified.' if stripped.
+ dontStrip = true;
+
+ installPhase = ''
+ install -d $out/bin
+ install llpp llppac $out/bin
+ '';
+
+ meta = {
+ homepage = http://repo.or.cz/w/llpp.git;
+ description = "A MuPDF based PDF pager written in OCaml";
+ platforms = stdenv.lib.platforms.linux;
+ maintainers = [ stdenv.lib.maintainers.pSub ];
+ license = "GPL";
+ };
+}
diff --git a/pkgs/applications/misc/mupdf/default.nix b/pkgs/applications/misc/mupdf/default.nix
index a89735c093f..a56460827f5 100644
--- a/pkgs/applications/misc/mupdf/default.nix
+++ b/pkgs/applications/misc/mupdf/default.nix
@@ -1,20 +1,14 @@
{ stdenv, fetchurl, fetchpatch, pkgconfig, zlib, freetype, libjpeg, jbig2dec, openjpeg
, libX11, libXext }:
stdenv.mkDerivation rec {
- name = "mupdf-1.3";
+ version = "1.5";
+ name = "mupdf-${version}";
src = fetchurl {
url = "http://mupdf.com/download/archive/${name}-source.tar.gz";
- sha256 = "0y247nka5gkr1ajn47jrlp5rcnf6h4ff7dfsprma3h4wxqdv7a5b";
+ sha256 = "0sl47zqf4c9fhs4h5zg046vixjmwgy4vhljhr5g4md733nash7z4";
};
- patches = [(fetchpatch {
- name = "CVE-2014-2013.patch";
- url = "http://git.ghostscript.com/?p=mupdf.git;a=commitdiff_plain;"
- + "h=60dabde18d7fe12b19da8b509bdfee9cc886aafc";
- sha256 = "0p721f3g2djz9fy6rcgj83c20f5k257wg2d0yvvmp02m7sp06l0g";
- })];
-
buildInputs = [ pkgconfig zlib freetype libjpeg jbig2dec openjpeg libX11 libXext ];
enableParallelBuilding = true;
@@ -74,5 +68,6 @@ stdenv.mkDerivation rec {
license = "GPLv3+";
maintainers = with stdenv.lib.maintainers; [ viric ];
platforms = with stdenv.lib.platforms; linux;
+ inherit version;
};
}
diff --git a/pkgs/applications/misc/mupdf/default.upstream b/pkgs/applications/misc/mupdf/default.upstream
new file mode 100644
index 00000000000..07cafdb0c2a
--- /dev/null
+++ b/pkgs/applications/misc/mupdf/default.upstream
@@ -0,0 +1,7 @@
+url http://mupdf.com/downloads/archive/
+do_overwrite(){
+ ensure_hash
+ ensure_version
+ set_var_value version $CURRENT_VERSION
+ set_var_value sha256 $CURRENT_HASH
+}
diff --git a/pkgs/applications/misc/pgadmin/default.nix b/pkgs/applications/misc/pgadmin/default.nix
index aac15789a2d..f26326f4d4e 100644
--- a/pkgs/applications/misc/pgadmin/default.nix
+++ b/pkgs/applications/misc/pgadmin/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "pgadmin3-${version}";
- version = "1.16.1";
+ version = "1.18.1";
src = fetchurl {
url = "http://ftp.postgresql.org/pub/pgadmin3/release/v${version}/src/pgadmin3-${version}.tar.gz";
- sha256 = "13n2nyjnbmjbz9n0xp6627n3pavkqfp4n45l1mnqxhjdq8yj9fnl";
+ sha256 = "1h6bqslw53q44vy7z1q7wmxkgqdzxacfs8pfm2fxm8vcd8lkxb17";
};
buildInputs = [ postgresql wxGTK libxml2 libxslt openssl ];
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
description = "PostgreSQL administration GUI tool";
homepage = http://www.pgadmin.org;
license = licenses.gpl2;
- maintainers = [ maintainers.iElectric ];
+ maintainers = with maintainers; [ iElectric wmertens ];
platforms = platforms.unix;
};
}
diff --git a/pkgs/applications/networking/browsers/firefox/default.nix b/pkgs/applications/networking/browsers/firefox/default.nix
index 0c1a974ec69..a483399aa02 100644
--- a/pkgs/applications/networking/browsers/firefox/default.nix
+++ b/pkgs/applications/networking/browsers/firefox/default.nix
@@ -17,14 +17,14 @@ assert stdenv.gcc ? libc && stdenv.gcc.libc != null;
rec {
- firefoxVersion = "29.0.1";
+ firefoxVersion = "30.0";
- xulVersion = "29.0.1"; # this attribute is used by other packages
+ xulVersion = "30.0"; # this attribute is used by other packages
src = fetchurl {
url = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${firefoxVersion}/source/firefox-${firefoxVersion}.source.tar.bz2";
- sha1 = "2819ef63403de2bcfff5496bd21a3b8cb5dfce82";
+ sha1 = "bll9hxf31gvg9db6gxgmq25qsjif3p11";
};
commonConfigureFlags =
diff --git a/pkgs/applications/networking/browsers/vimb/default.nix b/pkgs/applications/networking/browsers/vimb/default.nix
index 6cb52be775c..8a3ff788d42 100644
--- a/pkgs/applications/networking/browsers/vimb/default.nix
+++ b/pkgs/applications/networking/browsers/vimb/default.nix
@@ -4,16 +4,16 @@
stdenv.mkDerivation rec {
name = "vimb-${version}";
- version = "2.2";
+ version = "2.4";
src = fetchurl {
url = "https://github.com/fanglingsu/vimb/archive/${version}.tar.gz";
- sha256 = "18gig6rcxv0i4a8mz3jv29zpj0323zw45jsg1ycx61a08rzag60m";
+ sha256 = "167ilbsd4y4zl493k6g4j5v85y784qz8z7qflzd1ccsjjznv7fm8";
};
# Nixos default ca bundle
patchPhase = ''
- sed -i s,/etc/ssl/certs/ca-certificates.crt,/etc/ssl/certs/ca-bundle.crt, src/default.h
+ sed -i s,/etc/ssl/certs/ca-certificates.crt,/etc/ssl/certs/ca-bundle.crt, src/setting.c
'';
buildInputs = [ makeWrapper gtk libsoup pkgconfig webkit gsettings_desktop_schemas ];
diff --git a/pkgs/applications/networking/davmail/default.nix b/pkgs/applications/networking/davmail/default.nix
index b95d2903154..3639f50c439 100644
--- a/pkgs/applications/networking/davmail/default.nix
+++ b/pkgs/applications/networking/davmail/default.nix
@@ -1,10 +1,10 @@
{ fetchurl, stdenv, jre, glib, libXtst, gtk, makeWrapper }:
stdenv.mkDerivation rec {
- name = "davmail-4.4.1";
+ name = "davmail-4.5.0";
src = fetchurl {
- url = "http://downloads.sourceforge.net/project/davmail/davmail/4.4.1/davmail-linux-x86_64-4.4.1-2225.tgz";
- sha256 = "66c7ae23c0242860cca1576e5fc29343431789a821f7623e420b91ba91e480a9";
+ url = "http://downloads.sourceforge.net/project/davmail/davmail/4.5.0/davmail-linux-x86_64-4.5.0-2292.tgz";
+ sha256 = "0ixg26s8535b4xf4i8jr0v3acwvaslmi2dvcxg2nmzkicvh6rfd4";
};
buildInputs = [ makeWrapper ];
diff --git a/pkgs/applications/networking/esniper/default.nix b/pkgs/applications/networking/esniper/default.nix
index 766ec0c17fc..9fd8e7412c2 100644
--- a/pkgs/applications/networking/esniper/default.nix
+++ b/pkgs/applications/networking/esniper/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, openssl, curl, coreutils, gawk, bash, which }:
stdenv.mkDerivation {
- name = "esniper-2.30.0";
+ name = "esniper-2.31.0";
src = fetchurl {
- url = "mirror://sourceforge/esniper/esniper-2-30-0.tgz";
- sha256 = "1p85d5qfr3f35xfj5555ck4wwk5hqkh65ivam1527p8dwcz00wpl";
+ url = "mirror://sourceforge/esniper/esniper-2-31-0.tgz";
+ sha256 = "0xn6gdyr0c18khwcsi2brp49wkancrsrxxca7hvbawhbf263glih";
};
buildInputs = [ openssl curl ];
diff --git a/pkgs/applications/networking/ftp/filezilla/default.nix b/pkgs/applications/networking/ftp/filezilla/default.nix
index e88cf5b3f73..5f695f80b19 100644
--- a/pkgs/applications/networking/ftp/filezilla/default.nix
+++ b/pkgs/applications/networking/ftp/filezilla/default.nix
@@ -1,13 +1,13 @@
{ stdenv, fetchurl, dbus, gnutls, wxGTK28, libidn, tinyxml, gettext
, pkgconfig, xdg_utils, gtk2, sqlite }:
-let version = "3.8.0"; in
+let version = "3.8.1"; in
stdenv.mkDerivation {
name = "filezilla-${version}";
src = fetchurl {
url = "mirror://sourceforge/project/filezilla/FileZilla_Client/${version}/FileZilla_${version}_src.tar.bz2";
- sha256 = "02635sh88zvmqhqs7yx982dmfa1qd0rhk4z1fqvgh5pr2ac1r74d";
+ sha256 = "0kqyz8yb15kbzx02l3riswg95prbp402k4672nwxrzs35049rg36";
};
configureFlags = [
diff --git a/pkgs/applications/networking/irc/weechat/default.nix b/pkgs/applications/networking/irc/weechat/default.nix
index b47018e0d97..954651d79e9 100644
--- a/pkgs/applications/networking/irc/weechat/default.nix
+++ b/pkgs/applications/networking/irc/weechat/default.nix
@@ -14,8 +14,8 @@ stdenv.mkDerivation rec {
buildInputs =
[ ncurses perl python openssl aspell gnutls zlib curl pkgconfig
libgcrypt ruby lua5 tcl guile pythonPackages.pycrypto makeWrapper
- cacert cmake
- ];
+ cacert cmake ]
+ ++ stdenv.lib.optional stdenv.isDarwin pythonPackages.pync;
# This patch is based on
# weechat/c324610226cef15ecfb1235113c8243b068084c8. It fixes
@@ -24,17 +24,23 @@ stdenv.mkDerivation rec {
# then.
patches = [ ./fix-gnutls-32.diff ];
+ NIX_CFLAGS_COMPILE = "-I${python}/include/${python.libPrefix}";
+
postInstall = ''
- wrapProgram "$out/bin/weechat" \
- --prefix PYTHONPATH : "$PYTHONPATH" \
- --prefix PYTHONPATH : "$out/lib/${python.libPrefix}/site-packages"
+ NIX_PYTHONPATH="$out/lib/${python.libPrefix}/site-packages"
+ '' + stdenv.lib.optionalString stdenv.isDarwin ''
+ NIX_PYTHONPATH+="${pythonPackages.pync}/lib/${python.libPrefix}/site-packages"
+ '' + ''
+ wrapProgram "$out/bin/weechat" \
+ --prefix PYTHONPATH : "$PYTHONPATH" \
+ --prefix PYTHONPATH : "$NIX_PYTHONPATH"
'';
meta = {
homepage = http://www.weechat.org/;
description = "A fast, light and extensible chat client";
license = stdenv.lib.licenses.gpl3;
- maintainers = with stdenv.lib.maintainers; [ garbas the-kenny ];
- platforms = stdenv.lib.platforms.linux;
+ maintainers = with stdenv.lib.maintainers; [ lovek323 garbas the-kenny ];
+ platforms = stdenv.lib.platforms.unix;
};
}
diff --git a/pkgs/applications/networking/irc/weechat/devel.nix b/pkgs/applications/networking/irc/weechat/devel.nix
index 0ad05089c62..25cc8dd7660 100644
--- a/pkgs/applications/networking/irc/weechat/devel.nix
+++ b/pkgs/applications/networking/irc/weechat/devel.nix
@@ -16,20 +16,26 @@ stdenv.mkDerivation rec {
buildInputs =
[ ncurses perl python openssl aspell gnutls zlib curl pkgconfig
libgcrypt ruby lua5 tcl guile pythonPackages.pycrypto makeWrapper
- cacert cmake
- ];
+ cacert cmake ]
+ ++ stdenv.lib.optional stdenv.isDarwin pythonPackages.pync;
+
+ NIX_CFLAGS_COMPILE = "-I${python}/include/${python.libPrefix}";
postInstall = ''
- wrapProgram "$out/bin/weechat" \
- --prefix PYTHONPATH : "$PYTHONPATH" \
- --prefix PYTHONPATH : "$out/lib/${python.libPrefix}/site-packages"
+ NIX_PYTHON_PATH="$out/lib/${python.libPrefix}/site-packages"
+ '' + stdenv.lib.optionalString stdenv.isDarwin ''
+ NIX_PYTHON_PATH+="${pythonPackages.pync}/lib/${python.libPrefix}/site-packages"
+ '' + ''
+ wrapProgram "$out/bin/weechat" \
+ --prefix PYTHONPATH : "$PYTHONPATH" \
+ --prefix PYTHONPATH : "$NIX_PYTHONPATH"
'';
meta = {
- homepage = http://www.weechat.org/;
+ homepage = http://www.weechat.org/;
description = "A fast, light and extensible chat client";
- license = stdenv.lib.licenses.gpl3;
- maintainers = with stdenv.lib.maintainers; [ garbas the-kenny ];
- platforms = stdenv.lib.platforms.linux;
+ license = stdenv.lib.licenses.gpl3;
+ maintainers = with stdenv.lib.maintainers; [ lovek323 garbas the-kenny ];
+ platforms = stdenv.lib.platforms.unix;
};
}
diff --git a/pkgs/applications/networking/mailreaders/sup/default.nix b/pkgs/applications/networking/mailreaders/sup/default.nix
index 70aeb000981..8efda554d73 100644
--- a/pkgs/applications/networking/mailreaders/sup/default.nix
+++ b/pkgs/applications/networking/mailreaders/sup/default.nix
@@ -1,32 +1,40 @@
-{ stdenv, fetchgit, ruby, rake, rubygems, makeWrapper, ncursesw_sup
+{ stdenv, fetchurl, ruby, rake, rubygems, makeWrapper, ncursesw_sup
, xapian_ruby, gpgme, libiconvOrEmpty, mime_types, chronic, trollop, lockfile
-, gettext, iconv, locale, text, highline, rmail_sup, unicode, gnupg, which }:
+, gettext, iconv, locale, text, highline, rmail_sup, unicode, gnupg, which
+, bundler, git }:
stdenv.mkDerivation rec {
- version = "20140312";
+ version = "0.18.0";
name = "sup-${version}";
-
+
meta = {
- homepage = http://supmua.org;
description = "A curses threads-with-tags style email client";
+ homepage = http://supmua.org;
+ license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ lovek323 ];
- license = stdenv.lib.licenses.gpl2;
- platforms = stdenv.lib.platforms.unix;
+ platforms = stdenv.lib.platforms.unix;
};
dontStrip = true;
- src = fetchgit {
- url = git://github.com/sup-heliotrope/sup.git;
- rev = "0cad7b308237c07b8a46149908b2ad4806ac3d1d";
- sha256 = "83534b6ad9fb6aa883d630c927e3a71bd09a646e3254b4eb0cc7a09f69a525bc";
+ src = fetchurl {
+ url = "https://github.com/sup-heliotrope/sup/archive/release-${version}.tar.gz";
+ sha256 = "1dhg0i2v0ddhwi32ih5lc56x00kbaikd2wdplgzlshq0nljr9xy0";
};
buildInputs =
- [ ruby rake rubygems makeWrapper gpgme ncursesw_sup xapian_ruby
- libiconvOrEmpty ];
+ [ rake ruby rubygems makeWrapper gpgme ncursesw_sup xapian_ruby
+ libiconvOrEmpty git ];
- buildPhase = "rake gem";
+ phases = [ "unpackPhase" "buildPhase" "installPhase" ];
+
+ buildPhase = ''
+ # the builder uses git to get a listing of the files
+ git init >/dev/null
+ git add .
+ git commit -m "message" >/dev/null
+ gem build sup.gemspec
+ '';
installPhase = ''
export HOME=$TMP/home; mkdir -pv "$HOME"
@@ -50,13 +58,13 @@ stdenv.mkDerivation rec {
# Don't install some dependencies -- we have already installed
# the dependencies but gem doesn't acknowledge this
gem install --no-verbose --install-dir "$out/${ruby.gemPath}" \
- --bindir "$out/bin" --no-rdoc --no-ri pkg/sup-999.gem \
- --ignore-dependencies
+ --bindir "$out/bin" --no-rdoc --no-ri sup-${version}.gem \
+ --ignore-dependencies >/dev/null
# specify ruby interpreter explicitly
sed -i '1 s|^.*$|#!${ruby}/bin/ruby|' bin/sup-sync-back-maildir
- cp bin/sup-sync-back-maildir "$out"/bin
+ cp bin/sup-sync-back-maildir "$out/bin"
for prog in $out/bin/*; do
wrapProgram "$prog" --prefix GEM_PATH : "$GEM_PATH" --prefix PATH : "${gnupg}/bin:${which}/bin"
diff --git a/pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix b/pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix
index c801c0f69b0..13facc90690 100644
--- a/pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix
+++ b/pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix
@@ -1,3 +1,8 @@
+# This file is generated from generate_nix.rb
+# Execute the following command in a temporary directory to update the file.
+#
+# ruby generate_nix.rb > default.nix
+
{ stdenv, fetchurl, config
, gconf
, alsaLib
@@ -33,121 +38,118 @@
}:
let
- version = "24.5.0";
-
+ version = "24.6.0";
sources = [
- { locale = "ar"; arch = "linux-i686"; sha256 = "a5d7a95ed93277c5e7191f868df343d1a1d14e6c692cac1e6069fd9ee7177273"; }
- { locale = "ar"; arch = "linux-x86_64"; sha256 = "b3100ead31d208968edd5b8545b641d0db9692d31a63e07fa9c391dca61de8a4"; }
- { locale = "ast"; arch = "linux-i686"; sha256 = "059ed2a01afabebc7bd28cc79841debcaaa0bf015f28145c719396d4e612f535"; }
- { locale = "ast"; arch = "linux-x86_64"; sha256 = "75874c6fcabb21332095562b9f86b7c6b668efdfb09904b83fa20743e1740790"; }
- { locale = "be"; arch = "linux-i686"; sha256 = "7eda8e02a15284a0e6814072a0212457a25bcfef5058e1c376fc22facb2970f1"; }
- { locale = "be"; arch = "linux-x86_64"; sha256 = "9fb0150098810b152ecf95e0826a3bac1dbffdfd2f8f2ce400841cb4981e3f3d"; }
- { locale = "bg"; arch = "linux-i686"; sha256 = "6929e9c0580e62cffb3bfffb1398f35b7ac59dcc3d76a4a5c49a20cfb72e6d60"; }
- { locale = "bg"; arch = "linux-x86_64"; sha256 = "19e2098131a6e280f1f8e8bae7c623ebe1081b0ea0dea81ebbaea51111774729"; }
- { locale = "bn-BD"; arch = "linux-i686"; sha256 = "30f95bf5d5974ab417ff5a24fad78687b88b3f16e2337a3a4a22dd4f1d670c7a"; }
- { locale = "bn-BD"; arch = "linux-x86_64"; sha256 = "85000f577549ccf35b2a43dc3a79264b78d100dce1e0cfd3418a0ec1f87cff90"; }
- { locale = "br"; arch = "linux-i686"; sha256 = "ef31dbfc1cc4528ee762e384d5e12fb6383f57ea34d4d1625975a2341d5004da"; }
- { locale = "br"; arch = "linux-x86_64"; sha256 = "d2f8330081a203477c6fc6007230f3893290c17aab4ba9e8ed591ddc337dd73c"; }
- { locale = "ca"; arch = "linux-i686"; sha256 = "86be66b6f8075cd85470e60a1e278fb7992fbd130b6481f0ebc21e9ad46c647f"; }
- { locale = "ca"; arch = "linux-x86_64"; sha256 = "a2b19e3ce3a747e4b1e5b52d463e3f5822e8e120a7e043d83057746552fa9867"; }
- { locale = "cs"; arch = "linux-i686"; sha256 = "632ece525a79537acad192f8ec37fbb1e3423bcf64b1af5d18da34f1410ffbae"; }
- { locale = "cs"; arch = "linux-x86_64"; sha256 = "f45e4701d4b81e4a5a052b5759616540317b9e89e241dc97ad1ffc39b18abaed"; }
- { locale = "da"; arch = "linux-i686"; sha256 = "9befe92c296b57c7a7b97ecb6eb23803c93949056177df72bc111c6e18d497f0"; }
- { locale = "da"; arch = "linux-x86_64"; sha256 = "343ef548a102a63a96b1a10745ff7866f30ac6524d4f7a2ced1be3cb3bd9f64c"; }
- { locale = "de"; arch = "linux-i686"; sha256 = "010c9225f56a3d9f552f77502daf2e70e88e45f85b39f183907741ad773cf811"; }
- { locale = "de"; arch = "linux-x86_64"; sha256 = "ed60c8dd0abda8c8cabdf34fcb96d39463cde9cdf1247af44438da7586490120"; }
- { locale = "el"; arch = "linux-i686"; sha256 = "03affa186bb66fabd9b61d0e53cb7f75aa13702a58fd2dd551e6da1b6e9cfd87"; }
- { locale = "el"; arch = "linux-x86_64"; sha256 = "d60419e5ebeec445e8efc8d9db59d093060be86af140605c8019a8f24680c4bb"; }
- { locale = "en-GB"; arch = "linux-i686"; sha256 = "e1b6c1f3f30ea522410f947c9cf331e3d580a1620af63401186d435707a041d8"; }
- { locale = "en-GB"; arch = "linux-x86_64"; sha256 = "6d873704a2cbeb2549dd2e55b8c915292b7167ce2f5022defd3bb2c0ad29da58"; }
- { locale = "en-US"; arch = "linux-i686"; sha256 = "6441f90eda22808c37bca023748efee7735cf9b18b1d21ce75878c10da8baad7"; }
- { locale = "en-US"; arch = "linux-x86_64"; sha256 = "a54afdf7dcadb94bfe2bc6ea3d6232d311568a74ed3fd93becff9cd57063ff0c"; }
- { locale = "es-AR"; arch = "linux-i686"; sha256 = "989f400b587a75160a4ef1b6913819e0bd2c8b0689753b233943e61412bdba4d"; }
- { locale = "es-AR"; arch = "linux-x86_64"; sha256 = "c294e1a4173dd14222d0edba31c529a3f9005412de728b1a17602e2a89c84af8"; }
- { locale = "es-ES"; arch = "linux-i686"; sha256 = "f6eac1108efaaa0c5f34c4856e7db5236c60b8aba7c99558b32b4e60f1df3dea"; }
- { locale = "es-ES"; arch = "linux-x86_64"; sha256 = "74132bc1e0fbe03c462399860168928bb1bca20ee1b0bf9a80262538ce320f57"; }
- { locale = "et"; arch = "linux-i686"; sha256 = "09fea4be7480ae51d7d68bc4b044c4d4a79e405893c4952ae083a8f417b99b85"; }
- { locale = "et"; arch = "linux-x86_64"; sha256 = "c8c5d621d975cfeb22695e589dd69a360d1b1dc6a4d0f52afc3b778835fbdb55"; }
- { locale = "eu"; arch = "linux-i686"; sha256 = "19af889a9205d99080aa1a0afc7c75d0c43a970f864d4cefb956cc37c618b7d7"; }
- { locale = "eu"; arch = "linux-x86_64"; sha256 = "0074802e84cab6ad21de7d960709ba15531705f4ff60bf141a917edb5295c201"; }
- { locale = "fi"; arch = "linux-i686"; sha256 = "ae301f557be17b60290ee0910053fc99ab367fd6a68b4f0c27e1e80316fea95d"; }
- { locale = "fi"; arch = "linux-x86_64"; sha256 = "567009788743148001e842418bfa520275ae6ed39857fd99da90ea37f6635008"; }
- { locale = "fr"; arch = "linux-i686"; sha256 = "0491d2760611a5709c23df1a3ae618b4bc069c4af5ce2b2b7ae491bac390c058"; }
- { locale = "fr"; arch = "linux-x86_64"; sha256 = "64e4cfe3e899cbd71ac3c3b6052d742bae4215704eeffb51f27c93f98ec7f3cb"; }
- { locale = "fy-NL"; arch = "linux-i686"; sha256 = "9d72a5fdc02ce45030bf44d7d8b31274cfb3579efc93d064824e6909fef2ed81"; }
- { locale = "fy-NL"; arch = "linux-x86_64"; sha256 = "f04d7404ce637abd3d807484422970852db0253da3da0a0654f3bea213f352a3"; }
- { locale = "ga-IE"; arch = "linux-i686"; sha256 = "853112a5c6fda45afed60a9c9f2d5f9fe972d21b092ae83cc4a3796f1be90b91"; }
- { locale = "ga-IE"; arch = "linux-x86_64"; sha256 = "36b0cef0ba9e483b13ce5f9fd12e7bc11e2bd0270b5b34e5b2690e79248724b5"; }
- { locale = "gd"; arch = "linux-i686"; sha256 = "fcb07754340c2558e94ce44ac6e1577fb4cd155577b6bece74ceb61b2bf204b1"; }
- { locale = "gd"; arch = "linux-x86_64"; sha256 = "cc842860d7abfc114c0db47d832508a70ea1ff0bc726fc58ccb875c245689d2b"; }
- { locale = "gl"; arch = "linux-i686"; sha256 = "325e8a27d49b1748ac7b5c2070d32df0d66c8d9b1b651136d500d2bb4bfefe14"; }
- { locale = "gl"; arch = "linux-x86_64"; sha256 = "dd4c6aad88ac32d6175320bd82026ae6b1c4f7b44fe04904743c7e7e3d270642"; }
- { locale = "he"; arch = "linux-i686"; sha256 = "cbf801085b4a7a3b2ac84790b176fbea8e254b13776bd19413d4c5b6522645ea"; }
- { locale = "he"; arch = "linux-x86_64"; sha256 = "9d60e3a8b5756bc3d3a9148dee458c28bed9bf1fac29587bd7e95318a78f59d8"; }
- { locale = "hr"; arch = "linux-i686"; sha256 = "4361a3dc02a0dc8a26716a96aa47f0c529e0942658fcd16b472d03ae1f0f50d7"; }
- { locale = "hr"; arch = "linux-x86_64"; sha256 = "b23b33c823ee55daa5a3f90a9f1f616fb8ea67be912182b6118521541f7039fa"; }
- { locale = "hu"; arch = "linux-i686"; sha256 = "3d2e37fbdd5af291bc90666460258b61e4b499007ad9bba5e6e48b3b3f9cb068"; }
- { locale = "hu"; arch = "linux-x86_64"; sha256 = "a7b904317bcf046f9139c415f1c453b66e355b31291211dc8dac76200902ac11"; }
- { locale = "hy-AM"; arch = "linux-i686"; sha256 = "8802522b5db21a9230ae856f90013d80a466a8c2caed35079318ece7028120cd"; }
- { locale = "hy-AM"; arch = "linux-x86_64"; sha256 = "43e899856a625d8dea84c79c0c7d1dfa15f286da628cec9f99c351139de1831e"; }
- { locale = "id"; arch = "linux-i686"; sha256 = "6ff994c056189d13a0c36cde5925e45ba3ba52ccab61486b338a1753eafc09c8"; }
- { locale = "id"; arch = "linux-x86_64"; sha256 = "287e89ba01280eb778b1cf1f2fd9859610b46f2abfe369fe54d4af8cc1f675ac"; }
- { locale = "is"; arch = "linux-i686"; sha256 = "5ee6ea3e48d526af3ef29ef374b40a0cafb299d32c1d6af4684382b8b171f88c"; }
- { locale = "is"; arch = "linux-x86_64"; sha256 = "aae33e6b2e75a9db69d17d356bc49e026bf39199cd1612ce42aa41a102a1ac03"; }
- { locale = "it"; arch = "linux-i686"; sha256 = "3a54ac3fc738e02c8ed9b7a730624497fab15dee4f9f82e84a526dd5600e300a"; }
- { locale = "it"; arch = "linux-x86_64"; sha256 = "cc99d99214e6d847fc885af036783fe3c1b2a55b04c758bbb2fd5bd0a39463ff"; }
- { locale = "ja"; arch = "linux-i686"; sha256 = "804485d204392b52b4bfdbb28804f729614c53fa692a89e58f97161c89809bf0"; }
- { locale = "ja"; arch = "linux-x86_64"; sha256 = "8bdce5e6f97c2747ff209acee7fad24f2dc0e07801ee30754370bb0450d383f7"; }
- { locale = "ko"; arch = "linux-i686"; sha256 = "61ab133865b2c62ea88154917ddf1383a3157b96ac3b073568e392036874f5d7"; }
- { locale = "ko"; arch = "linux-x86_64"; sha256 = "695ef59b94626f03151c8bd68ea799b0ae5e879a57f8185af5557799211bda1f"; }
- { locale = "lt"; arch = "linux-i686"; sha256 = "014e8604790af3fa4af504986b86dc0de4bd2e53267548c01bb85e48bc90ffc5"; }
- { locale = "lt"; arch = "linux-x86_64"; sha256 = "8c803b613526d39618c8e82d9f981293ebb6799136697488ef4d10eb2a485808"; }
- { locale = "nb-NO"; arch = "linux-i686"; sha256 = "bfc828d3882588a9909fef1d6731a6bc1636eaf53342a57d56e3fbc975133869"; }
- { locale = "nb-NO"; arch = "linux-x86_64"; sha256 = "f25bc7dacd28fd2c907565ab608d504abcc2896118e4cd8813de28c75d26c569"; }
- { locale = "nl"; arch = "linux-i686"; sha256 = "cb94f869fa63215686465bb29a8c05f80611cd60a82d7cbded6ddf55577172e1"; }
- { locale = "nl"; arch = "linux-x86_64"; sha256 = "ecb185013de3d55cfafaa156821308453a90a123b99d122ea4ef7a29e7d7fab5"; }
- { locale = "nn-NO"; arch = "linux-i686"; sha256 = "8719216b8cc0293d8aa23c04e2d663dfef515a7bc1b6e06a5f03bed3d6fb3b6a"; }
- { locale = "nn-NO"; arch = "linux-x86_64"; sha256 = "f6617cf98b49d28ae7fa8e7d022587c6ed8138c758ff088c5abc78f7bdd52613"; }
- { locale = "pa-IN"; arch = "linux-i686"; sha256 = "b0e57d139f359850558f40bad00b2c4e69da8e9d73ec9aa7d180b9f33d970449"; }
- { locale = "pa-IN"; arch = "linux-x86_64"; sha256 = "2efcfe4b366f7ff5dc95c45cb229aeed316315fe4554651e5d0239985cd64fdb"; }
- { locale = "pl"; arch = "linux-i686"; sha256 = "3d579ed8e18d98c446a5f069d6d2e94a3ee234c75feffbaf99f561ef7bd45a2e"; }
- { locale = "pl"; arch = "linux-x86_64"; sha256 = "04090e4b4b412f79d1879340c36e36c65e4f23fde5dc545b4d855c8497ca47f7"; }
- { locale = "pt-BR"; arch = "linux-i686"; sha256 = "9d202dd10b626ed9753ac5e243c14f6b1eee76e8edd40389f56003c4e8816c83"; }
- { locale = "pt-BR"; arch = "linux-x86_64"; sha256 = "3b82124d8956e83657b30347ef3b5e44cf3813c1b02998b197c817c6528423c0"; }
- { locale = "pt-PT"; arch = "linux-i686"; sha256 = "65ebb88e9e544c38a9d85a70a1920ed9c6ec03452762f98cb2fe104912074b44"; }
- { locale = "pt-PT"; arch = "linux-x86_64"; sha256 = "fba7f18daee4832b9851615a0597dbde98a5271c5882d56ab4c1e0cb6d8c4783"; }
- { locale = "rm"; arch = "linux-i686"; sha256 = "e0ffc4b23cbf4a92768eff507335dffb92fad26d02662adf77e0ccff4f4b6c8b"; }
- { locale = "rm"; arch = "linux-x86_64"; sha256 = "555e30eaa6942543c7b1cd3569a6480016be5826a474a76c2ba8e2078d6d5b83"; }
- { locale = "ro"; arch = "linux-i686"; sha256 = "38bf63ae8365fbe1ca88b683d94c21cd5620a7397b3b344c0e4e938287311ec3"; }
- { locale = "ro"; arch = "linux-x86_64"; sha256 = "328cb7395e61924240f8e29399bf1d64179bce5bb911595cda422b741d9b6f34"; }
- { locale = "ru"; arch = "linux-i686"; sha256 = "8df9749d8dbe4218910026a8e4c4145b1f155903e577a16758d15eefbc2715f9"; }
- { locale = "ru"; arch = "linux-x86_64"; sha256 = "99cd036facc18242e5ab5df00a480e5c7c779b50fa95eac191bbebfa7343a270"; }
- { locale = "si"; arch = "linux-i686"; sha256 = "4ce33a17b148329334e596186d274b9c262a779e7190f9777dd0673df12f7b4c"; }
- { locale = "si"; arch = "linux-x86_64"; sha256 = "c22cd896e651b2e664128411710a80a33471319951f5aff3cfc86ff86de39a86"; }
- { locale = "sk"; arch = "linux-i686"; sha256 = "30351a15f43f905bf69e578d9ce14506ade61e805e34097f81bf8ac50f1f9ee9"; }
- { locale = "sk"; arch = "linux-x86_64"; sha256 = "c8930d6ebff4f7429af5daf72648651162543fa000acad0fb63179c2c3f150e6"; }
- { locale = "sl"; arch = "linux-i686"; sha256 = "10c61d7e3bc592f23811d5a06fcdc892a088cbef7fc3298e8ed9937dc7518b37"; }
- { locale = "sl"; arch = "linux-x86_64"; sha256 = "81483f6bdc85eb244904d3a8328d81391be24ea2ae7604cb00bbf922025afd89"; }
- { locale = "sq"; arch = "linux-i686"; sha256 = "8ac202a6eb0a3f08e9c34502b26b0cf1a85ab43850658cce7042f0afd5f9f50a"; }
- { locale = "sq"; arch = "linux-x86_64"; sha256 = "23fc8634b6dfa984c530292f7f01f9a2d43b196a8092f93cc435abd7a8d131de"; }
- { locale = "sr"; arch = "linux-i686"; sha256 = "9c96c0935b7a0124059caea758ba3319cc3a5977e542965f663d2daa54f5a32e"; }
- { locale = "sr"; arch = "linux-x86_64"; sha256 = "2d64f970c70f34bd726296b8aa2db243c245d2c36167a36de7032ae17fc1ccb2"; }
- { locale = "sv-SE"; arch = "linux-i686"; sha256 = "1b0d6476248896b9224c5c69a944084677df45e273508bf8d629eb14b57662a9"; }
- { locale = "sv-SE"; arch = "linux-x86_64"; sha256 = "05977173bdd460eab1ff5a7065067b4074417297e38dbc70c6cceedca0c933b5"; }
- { locale = "ta-LK"; arch = "linux-i686"; sha256 = "3ef8950e8aa9f130aa66a1ad2cfdd21c2ba9572ef3e0d868d7a8fbf1ef8e3291"; }
- { locale = "ta-LK"; arch = "linux-x86_64"; sha256 = "be101ca34d96577ccc6ba715235eefa9dd065f04a651e9a35786f9edb6278a98"; }
- { locale = "tr"; arch = "linux-i686"; sha256 = "d5b35faa3e0e09af778aebec4b33f39bbce98465a39edb2da15197671b777abe"; }
- { locale = "tr"; arch = "linux-x86_64"; sha256 = "995c1abcd5357cfda831d07ad6e0b762fbabda61601a58122acc2e8942fb944a"; }
- { locale = "uk"; arch = "linux-i686"; sha256 = "6c5b0df0a1448fcf1cebc8d82072d5653cb0432e2f787179526bae4cef774352"; }
- { locale = "uk"; arch = "linux-x86_64"; sha256 = "86f3ce21bc863eb8f3e0099d9386e0f38ad8b2c8e29a79e47bfda37acecd991f"; }
- { locale = "vi"; arch = "linux-i686"; sha256 = "0a21d13abb629549df74d956cc1c5f99c879980fbee2d269e1532610aebb404c"; }
- { locale = "vi"; arch = "linux-x86_64"; sha256 = "29cbf72f4990eb55d30a85a767d01c8077ab89af69eba3b7299d43871aaa165e"; }
- { locale = "xpi"; arch = "linux-i686"; sha256 = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"; }
- { locale = "xpi"; arch = "linux-x86_64"; sha256 = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"; }
- { locale = "zh-CN"; arch = "linux-i686"; sha256 = "1527b8e9f245c96d0104f0b7d5c8dc696036fbb80067d14a1eee9a423ddd9368"; }
- { locale = "zh-CN"; arch = "linux-x86_64"; sha256 = "ae294571b8433b646b5d65a0cb1ab7f42295b17369f5ec82c2383c654df28e20"; }
- { locale = "zh-TW"; arch = "linux-i686"; sha256 = "98e5c8f912d1a03f5c0a2f14b63f350823d15f1253e15a318b61227ba82fec0e"; }
- { locale = "zh-TW"; arch = "linux-x86_64"; sha256 = "49ee58ad3978113e10de520eb094fc9c0f4d740ca6c0a0e07d5743e313163d0f"; }
+ { locale = "id"; arch = "linux-i686"; sha256 = "e19f6f5b8f19178350ec68386afd2ab7e5900b8c1fdb7bf81928fedcfcea5cbe"; }
+ { locale = "id"; arch = "linux-x86_64"; sha256 = "ece7445451150b2776f5debc818e288b9037dac1f2da9c7f7db584b6d2b73d34"; }
+ { locale = "he"; arch = "linux-i686"; sha256 = "0ff30ffc7ffe087056b0e72d66d2bc264c1060e3abb65e0c4d53d976855f436f"; }
+ { locale = "he"; arch = "linux-x86_64"; sha256 = "dd41d433644f7790ace1f246ec6703c060456260716710fc4318ca834ecd758b"; }
+ { locale = "el"; arch = "linux-i686"; sha256 = "eb6d53c00a6cd912279b56c5322d65b94fdd2a021c9ea2c854f664e476ae89e2"; }
+ { locale = "el"; arch = "linux-x86_64"; sha256 = "b0fdf2dc2de7ba5296f69694908aef4954b24b4c3092bddbec8995bf838bb817"; }
+ { locale = "tr"; arch = "linux-i686"; sha256 = "71f4f7738540445dc64399368bb63bf48ede79f055d6647ba9ed4d274040d623"; }
+ { locale = "tr"; arch = "linux-x86_64"; sha256 = "2be714b598bf8f1a3c6c9a13141d370c4d29bfec3e4053eb6f1c8a6a7988a96b"; }
+ { locale = "ast"; arch = "linux-i686"; sha256 = "8b2c3b83f4f88e33ac31b07dfb64e83fd1b2cce9ad877c8bb5715a0e6299ce6f"; }
+ { locale = "ast"; arch = "linux-x86_64"; sha256 = "93cd2c5c6c2ac05af3bb55a723bf3f02234d55064b5ea7cba6289bd07cca7647"; }
+ { locale = "nl"; arch = "linux-i686"; sha256 = "2f11b85055fa21b4e2677b92fef34a769ed56bdbd877fefb86599edb5dd39932"; }
+ { locale = "nl"; arch = "linux-x86_64"; sha256 = "d47057633c0ec5e785a723c45c5b8b0168e3d3fabe4aaedb4ca1adbff29a4dcd"; }
+ { locale = "bn-BD"; arch = "linux-i686"; sha256 = "902274548b7308e75c465f71912a7d1e5539e92420ffa17c80a2ac20d02d8630"; }
+ { locale = "bn-BD"; arch = "linux-x86_64"; sha256 = "044494d6bfc07b9cbeaa325dab3c1f0c5e554a05f1a050d960c39fbe093d9482"; }
+ { locale = "eu"; arch = "linux-i686"; sha256 = "e453a06a64c35ed81e661c67fbd4241a7c5494b1f3d2bf5ace7543798feb338c"; }
+ { locale = "eu"; arch = "linux-x86_64"; sha256 = "e8006f0e89153424c809de41ec1a714b91011b5a2a9601c1893a6ff30dcbd2ac"; }
+ { locale = "fr"; arch = "linux-i686"; sha256 = "fed414783f8e9bba5be6d4cb90ef04f274aabab34f3b4351a329d5c5ae7ae8f0"; }
+ { locale = "fr"; arch = "linux-x86_64"; sha256 = "e8f0203bf90bc30c89380c417921139f7b92ef1d38b3d95d292acee3be4e93c3"; }
+ { locale = "br"; arch = "linux-i686"; sha256 = "0948d002df401b9aaedbf8e3277ce312edeb635baa57b1bdf5de87cc13dd36cb"; }
+ { locale = "br"; arch = "linux-x86_64"; sha256 = "733e09671f00c693e13a726fa597b4705822e693ddce8a0494c57fde1de3cb56"; }
+ { locale = "pa-IN"; arch = "linux-i686"; sha256 = "c160c17e4b9b0e3d579a01b5973d142c711d4f87b03fd542d073d816ced9a9c9"; }
+ { locale = "pa-IN"; arch = "linux-x86_64"; sha256 = "0c281e6430a233aca5c6130e907e08c7d05aed8851214063546aff5a5df82232"; }
+ { locale = "gd"; arch = "linux-i686"; sha256 = "5d85eb78f01e1d52e733d4abf8d33281ec2c4adf9a9c65f50c6d6e2b6acf3d1d"; }
+ { locale = "gd"; arch = "linux-x86_64"; sha256 = "a7bb71bb08ccfc01f8e91b47b6ee0ac4592976e964454304da493e0582d262d1"; }
+ { locale = "bg"; arch = "linux-i686"; sha256 = "a63e060eac9efb27b4166e05ff6a035afd51cd29d45ddf69e5226e08441ac53c"; }
+ { locale = "bg"; arch = "linux-x86_64"; sha256 = "8a5f45352e180e984c7f1bc37f0e7602cbc6085a3dcdcac2d74f493941fd9f0e"; }
+ { locale = "sv-SE"; arch = "linux-i686"; sha256 = "ef70e1ff3ff3ce2fd9ecbe62ed010c06e63b410b843cdc3aa3c93fda2bf56708"; }
+ { locale = "sv-SE"; arch = "linux-x86_64"; sha256 = "af33cba52556057abf17df0e92c11ecbf39382bbf92c66b137113e5503ae170b"; }
+ { locale = "ja"; arch = "linux-i686"; sha256 = "f87eac6641ebccf018c76275adcba03976b9c62b9fa51533ec67ab0d2a5a91b9"; }
+ { locale = "ja"; arch = "linux-x86_64"; sha256 = "009b53f10bd785a799026dab028fbb7fa46c154569eba98db2673af12f6c19c4"; }
+ { locale = "pt-BR"; arch = "linux-i686"; sha256 = "ae2243346546cc2c768a9c24fc296013a45459637ab65477537f9d08d5ae193c"; }
+ { locale = "pt-BR"; arch = "linux-x86_64"; sha256 = "5cb2af1ec854e12b91bdf7f2fe88b56bfb45bf7144cf5cc3f0e307259d767a43"; }
+ { locale = "is"; arch = "linux-i686"; sha256 = "bf3a2e4efd86b1e73ac38ef3dc880ce2cee3102d2844b17ebf31aa6528040a92"; }
+ { locale = "is"; arch = "linux-x86_64"; sha256 = "d36f8d321d2952310dcb19a288f36f6496ca24e7f49fb483882c270c1c96571d"; }
+ { locale = "es-AR"; arch = "linux-i686"; sha256 = "e05f63d1f978029169a91719551b6e399be0e0d37310921168904d188e41f50d"; }
+ { locale = "es-AR"; arch = "linux-x86_64"; sha256 = "b8025a7a724a0d98c4f706e7ce59aae8c0f7bcd0082733ce6bee73a1d243feef"; }
+ { locale = "nn-NO"; arch = "linux-i686"; sha256 = "26ded9a3ebea58bcf80ca47759d4fdb86fe91aea8dcf56afdbaf7a32d548ee66"; }
+ { locale = "nn-NO"; arch = "linux-x86_64"; sha256 = "fd8321d5d6adaae042651d911df6ef587afda19ee82bdcfce98814144282b54d"; }
+ { locale = "sr"; arch = "linux-i686"; sha256 = "94b94517072901f34ab28b6cf3a2fd8852867f147ab4b47f34f7d9ae16fbd603"; }
+ { locale = "sr"; arch = "linux-x86_64"; sha256 = "e38f493ea1b8c0b183bad2f2627eb166e75e875a62b33704f50f8f831fd552ec"; }
+ { locale = "si"; arch = "linux-i686"; sha256 = "319ae8256ecf3d7623195e474040fffffff230cd612571872a38b52b608c0507"; }
+ { locale = "si"; arch = "linux-x86_64"; sha256 = "f776b8a9efad41f5c2f8770452a0bd053a3ba9ed4b74da3e3f24214c69e9779e"; }
+ { locale = "ro"; arch = "linux-i686"; sha256 = "f6aea954d3ba2334411a7ce9e7e1da926b0039935c5db3a5480f0fbda583b849"; }
+ { locale = "ro"; arch = "linux-x86_64"; sha256 = "9fef811764441b2b16e408808f4608e17cd21175cf45774162b3bce8b8612491"; }
+ { locale = "it"; arch = "linux-i686"; sha256 = "71df4de89a1eff632339dbaf48ce41182f7a20f7e55a223f6816ef86d3465443"; }
+ { locale = "it"; arch = "linux-x86_64"; sha256 = "076332c97a5c854b2313bd9f2138a6660d8e04fbddc3f8beb89acf071efd4c86"; }
+ { locale = "pl"; arch = "linux-i686"; sha256 = "1a45f7d1d8817f6c724dff556886edc3f2d0ee62ff45bea8d6b7ef63f7f92928"; }
+ { locale = "pl"; arch = "linux-x86_64"; sha256 = "8aa25320126052c9ebc3496e8731224e30fbd45ee2679f4d87f7f2050a01c312"; }
+ { locale = "sk"; arch = "linux-i686"; sha256 = "83a31a94eeb95e28612eeb1e696ed387b6793da350efda439de11833e0ea1173"; }
+ { locale = "sk"; arch = "linux-x86_64"; sha256 = "8c1647f8bfb210f7da8aa164777ef412bf3d4459ce53c95ee2211b4b5df440dc"; }
+ { locale = "vi"; arch = "linux-i686"; sha256 = "e5bb99de119fd6496674fb9cc8432f146e684afc652dec2861108d1ef20b49d7"; }
+ { locale = "vi"; arch = "linux-x86_64"; sha256 = "f35e62031154a32da68ea3d6960da8807f0de7ade7071526fafd6ace48c88976"; }
+ { locale = "rm"; arch = "linux-i686"; sha256 = "0826595dddc981b64d4f1a59cd71411c34ccd0aeac182925709abeedff8461fc"; }
+ { locale = "rm"; arch = "linux-x86_64"; sha256 = "b5b8d30251fc482861518e1c86001aa5eca6b53a65e14a8c6ff9e61eaf651044"; }
+ { locale = "ar"; arch = "linux-i686"; sha256 = "a9b2138cacc983142353ec09a5c4226fc731501da4c0200cc86026e6b28ca10c"; }
+ { locale = "ar"; arch = "linux-x86_64"; sha256 = "6c9a2ce8a8d3b4815475827caf89a3fee8371c422aa6c4984bb03f56728b682c"; }
+ { locale = "es-ES"; arch = "linux-i686"; sha256 = "813260cf5ab06e55c563e015e0172ce0192ccdd894a352ef6d4f439252032619"; }
+ { locale = "es-ES"; arch = "linux-x86_64"; sha256 = "c879fe62db6952f91c51ec7c172bc67d5351f55e99ab6df5cdd8639206f3444a"; }
+ { locale = "fi"; arch = "linux-i686"; sha256 = "33888c19b7e5e57155748d7372ad2b0e61f522ee96913f8846c754c3361fcb4a"; }
+ { locale = "fi"; arch = "linux-x86_64"; sha256 = "d5487588cf07cbd2b02b1c566b6515d087cf8fe9d528890b1dd5a0de53ab1d8c"; }
+ { locale = "hu"; arch = "linux-i686"; sha256 = "72b3a36269de70bd627589bad817e7702a4c83fff9b460e4f787486fa4bf15c7"; }
+ { locale = "hu"; arch = "linux-x86_64"; sha256 = "d458ed4b62f65ce7c3787930549cbee42842ae87a846e5d1565c1881b3bc17e8"; }
+ { locale = "zh-CN"; arch = "linux-i686"; sha256 = "3155a71e847020b2806f6b31acbaa702ccf20f8bd805c2aedb0c9c415f75b88f"; }
+ { locale = "zh-CN"; arch = "linux-x86_64"; sha256 = "b56beb864d247685cd9ba6820e5a8a143be28ff95440e38670c8963d2c769738"; }
+ { locale = "uk"; arch = "linux-i686"; sha256 = "74b7059580a4f389278b1059d80308101ffcfd0a738c6d614e56560ce116db34"; }
+ { locale = "uk"; arch = "linux-x86_64"; sha256 = "a351421c230f6629de0125a30767ff10d541264f6249f6fa2568eae76189398f"; }
+ { locale = "ko"; arch = "linux-i686"; sha256 = "d26ba336a555276c36f9a003df9bc3e0df1c40dd4da7062d1cd8b3a6cba6d52c"; }
+ { locale = "ko"; arch = "linux-x86_64"; sha256 = "078e5878f823b2d19568af8bda095e6ab46097a680b209bae9242d7658377abf"; }
+ { locale = "cs"; arch = "linux-i686"; sha256 = "c9aaab25dabdba0708459a82882b926155b475314d72463633af10c27d9e5dfb"; }
+ { locale = "cs"; arch = "linux-x86_64"; sha256 = "9a9fc61875f0427c26107b96ee3a6f7d71717c0d4aa6e41cc7b1b56bff2131e7"; }
+ { locale = "be"; arch = "linux-i686"; sha256 = "afc862a2a1054f08cffa0ec4facb2e9098fb042f7e4dab85c2ace7f30a384426"; }
+ { locale = "be"; arch = "linux-x86_64"; sha256 = "50353005857df556840fab0b18e8784dc18cbcdc5c45f4fc1f68f6b78b58048c"; }
+ { locale = "ru"; arch = "linux-i686"; sha256 = "4876fcda18fd01b51f392a56085ebfcb97cefd69355666f42d58ffe53b9eb8e9"; }
+ { locale = "ru"; arch = "linux-x86_64"; sha256 = "ef90a31aa408c6c86f3103d7bc82e3e8b5ac7bc9956d431ef46e1f44156b7dbf"; }
+ { locale = "ta-LK"; arch = "linux-i686"; sha256 = "ee4a961e76e63a79d08118e2355e37b1b2a1e0260613532ac6dc7c9a9e86caf1"; }
+ { locale = "ta-LK"; arch = "linux-x86_64"; sha256 = "9a1233c0ee7a72f8b1c071a6cd507d870d34bd64c71f7f960c00cf2e840ea5b1"; }
+ { locale = "zh-TW"; arch = "linux-i686"; sha256 = "00bf471763ca98d7c7e0243f5bbc75230b6cf8cea9c5dab17464c47544d102de"; }
+ { locale = "zh-TW"; arch = "linux-x86_64"; sha256 = "61e474bd0c930b9d6bcc553a87c07e415e1fe037dd033a6a97f9137d4fc73f49"; }
+ { locale = "de"; arch = "linux-i686"; sha256 = "e93520901aa59938e1c51c9943225dded88c668a91da6660de9f41714114ac8b"; }
+ { locale = "de"; arch = "linux-x86_64"; sha256 = "008156ddb73f4eb91d801d8bc35685e517328b5e5f13a4ed39873df471d01c67"; }
+ { locale = "nb-NO"; arch = "linux-i686"; sha256 = "20b3b10e12238238737fa0da3dce5e2fdff1161594b415c5872dd7416001482b"; }
+ { locale = "nb-NO"; arch = "linux-x86_64"; sha256 = "79f854469ac1a6fb0768934dc20ebc511a01904c71f321ed31ebe400ab88f4d8"; }
+ { locale = "fy-NL"; arch = "linux-i686"; sha256 = "61cec7fef6e75ecd7d459e973b258c5b62af0dbfd175b7000484594e63ead2e4"; }
+ { locale = "fy-NL"; arch = "linux-x86_64"; sha256 = "83b3761bfd949e3890c7006ba9610e858fab25815cd6e2f3f293ca707086a78c"; }
+ { locale = "sq"; arch = "linux-i686"; sha256 = "f36321189ed80130b9e4a3a6e387531c48745f4c109f35afe928cf2d44e1b424"; }
+ { locale = "sq"; arch = "linux-x86_64"; sha256 = "81da71b2ce832788213ed60f801fd79e61205a98c44e9082a35f2195af314de8"; }
+ { locale = "ga-IE"; arch = "linux-i686"; sha256 = "b759d93d78964eb8b9ce5aaad37d652fa425cfb5d6049f58a31c2492e3aa475d"; }
+ { locale = "ga-IE"; arch = "linux-x86_64"; sha256 = "62b32a8a4e7455c42bbf8cc5029919a64ca2ff61e06f535dd628a8dd612a15d9"; }
+ { locale = "da"; arch = "linux-i686"; sha256 = "4ad6ede882e973b37627105812619d2e8c804d50d496d96f68554bf75ca093fe"; }
+ { locale = "da"; arch = "linux-x86_64"; sha256 = "9fd6ce0edef1a8c8eb7d811afa39600a2c946f9ed87610a9e98a971d4cf31b08"; }
+ { locale = "hr"; arch = "linux-i686"; sha256 = "35254ef736865d1a7c368e62c9cba68fa64b7f017aca4d9569aeb18b5f559717"; }
+ { locale = "hr"; arch = "linux-x86_64"; sha256 = "6ff8a5b4ebfb9217b37afdfc4d5cab01f1ce66387010d2105a51bed486eea52c"; }
+ { locale = "ca"; arch = "linux-i686"; sha256 = "eb4af3ff107f6827d0288bd68486b8eef174c5dc6e9b5313099d99b2e695db0d"; }
+ { locale = "ca"; arch = "linux-x86_64"; sha256 = "80a6bf800a53af0cc9445c632546ce7cefcf5bd819e6e5e35e662330d58d757c"; }
+ { locale = "en-US"; arch = "linux-i686"; sha256 = "ba35f578095f79582341e988ce7c5e07f489833f7a309756c80caf4f56367987"; }
+ { locale = "en-US"; arch = "linux-x86_64"; sha256 = "09c193e865e90b6d2c547c17d10add7d43e8b89b630a8a490323d4ed391c924d"; }
+ { locale = "pt-PT"; arch = "linux-i686"; sha256 = "57610296c564291a8432fdb9215bcfbab6f09792c47e5606c1619bb203c7f5de"; }
+ { locale = "pt-PT"; arch = "linux-x86_64"; sha256 = "c702acf69957ffd1c4774f42d4f28dc239a4c5bcf6e003c236952167bf9e7e9f"; }
+ { locale = "gl"; arch = "linux-i686"; sha256 = "56ae2d38af2988791163e6b118c781d55e2c545097aa5afccc72998705312888"; }
+ { locale = "gl"; arch = "linux-x86_64"; sha256 = "c5386f149831aa2f48b65391f31f8f2e0a9c3b7a8bcaae67420a5819e80315ec"; }
+ { locale = "lt"; arch = "linux-i686"; sha256 = "8409401c0b87be071d081c03eb34e3338cb62e80669045f5d268f8da60d96bce"; }
+ { locale = "lt"; arch = "linux-x86_64"; sha256 = "4f93e9b0688e30586b3d372944ae5579f7249220733d6045e6bca3830e7f121a"; }
+ { locale = "en-GB"; arch = "linux-i686"; sha256 = "ae1608b9e15862f82d15c5acbcd9f65775efc4368588bc685ebff523ff93e2d6"; }
+ { locale = "en-GB"; arch = "linux-x86_64"; sha256 = "2466f020209de610f429315e0b090b43cf42c9ce540c6bc51e7ad11f5a3449f5"; }
+ { locale = "sl"; arch = "linux-i686"; sha256 = "76cbcf31388cbe72ebbf3fa3be66a0cfe20cd572febf062f3a58a9c50313aa03"; }
+ { locale = "sl"; arch = "linux-x86_64"; sha256 = "e4aa9dd8bb21f3d79ce5f9cfc907fc8a355fef349dcdec30403d534bf3cfbdf6"; }
+ { locale = "et"; arch = "linux-i686"; sha256 = "06561fa96d5166bfbe8eb492ebc08b3d2a768a8a7a251b357dec89ad33f3825e"; }
+ { locale = "et"; arch = "linux-x86_64"; sha256 = "85e663261cc6722c25dd36e1c0a15b7a82a3a6aaca54191effe8ea09ccb8c43e"; }
+ { locale = "hy-AM"; arch = "linux-i686"; sha256 = "d80f116d39e48b42a767fbda5b6e765be4bc3d210cf95d80bb014606785be3e6"; }
+ { locale = "hy-AM"; arch = "linux-x86_64"; sha256 = "c2e124736d63581a3034e60fe3d40bfef9458a712853ab5c8c5d391a9d3af6a9"; }
];
arch = if stdenv.system == "i686-linux"
@@ -263,4 +265,3 @@ stdenv.mkDerivation {
platforms = platforms.linux;
};
}
-
diff --git a/pkgs/applications/networking/mailreaders/thunderbird-bin/generate_nix.rb b/pkgs/applications/networking/mailreaders/thunderbird-bin/generate_nix.rb
new file mode 100644
index 00000000000..e19425c8e17
--- /dev/null
+++ b/pkgs/applications/networking/mailreaders/thunderbird-bin/generate_nix.rb
@@ -0,0 +1,210 @@
+version = if ARGV.empty?
+ "latest"
+ else
+ ARGV[0]
+ end
+
+base_path = "download-installer.cdn.mozilla.net/pub/thunderbird/releases"
+
+arches = ["linux-i686", "linux-x86_64"]
+
+arches.each do |arch|
+ system("wget", "--recursive", "--continue", "--no-parent", "--reject-regex", ".*\\?.*", "--reject", "xpi", "http://#{base_path}/#{version}/#{arch}/")
+end
+
+locales = Dir.glob("#{base_path}/#{version}/#{arches[0]}/*").map do |path|
+ File.basename(path)
+end
+
+locales.delete("index.html")
+locales.delete("xpi")
+
+real_version = Dir.glob("#{base_path}/#{version}/#{arches[0]}/#{locales[0]}/thunderbird-*")[0].match(/thunderbird-([0-9.]*)/)[1][0..-2]
+
+locale_arch_path_tuples = locales.flat_map do |locale|
+ arches.map do |arch|
+ path = Dir.glob("#{base_path}/#{version}/#{arch}/#{locale}/thunderbird-*")[0]
+
+ [locale, arch, path]
+ end
+end
+
+paths = locale_arch_path_tuples.map do |tuple| tuple[2] end
+
+hashes = IO.popen(["sha256sum", "--binary", *paths]) do |input|
+ input.each_line.map do |line|
+ $stderr.puts(line)
+
+ line.match(/^[0-9a-f]*/)[0]
+ end
+end
+
+
+puts(<<"EOH")
+# This file is generated from generate_nix.rb
+# Execute the following command in a temporary directory to update the file.
+#
+# ruby generate_nix.rb > default.nix
+
+{ stdenv, fetchurl, config
+, gconf
+, alsaLib
+, at_spi2_atk
+, atk
+, cairo
+, cups
+, curl
+, dbus_glib
+, dbus_libs
+, fontconfig
+, freetype
+, gdk_pixbuf
+, glib
+, glibc
+, gst_plugins_base
+, gstreamer
+, gtk
+, kerberos
+, libX11
+, libXScrnSaver
+, libXext
+, libXinerama
+, libXrender
+, libXt
+, libcanberra
+, libgnome
+, libgnomeui
+, mesa
+, nspr
+, nss
+, pango
+}:
+
+let
+ version = "#{real_version}";
+ sources = [
+EOH
+
+locale_arch_path_tuples.zip(hashes) do |tuple, hash|
+ locale, arch, path = tuple
+
+ puts(%Q| { locale = "#{locale}"; arch = "#{arch}"; sha256 = "#{hash}"; }|)
+end
+
+puts(<<'EOF')
+ ];
+
+ arch = if stdenv.system == "i686-linux"
+ then "linux-i686"
+ else "linux-x86_64";
+
+ isPrefixOf = prefix: string:
+ builtins.substring 0 (builtins.stringLength prefix) string == prefix;
+
+ sourceMatches = locale: source:
+ (isPrefixOf source.locale locale) && source.arch == arch;
+
+ systemLocale = config.i18n.defaultLocale or "en-US";
+
+ defaultSource = stdenv.lib.findFirst (sourceMatches "en-US") {} sources;
+
+ source = stdenv.lib.findFirst (sourceMatches systemLocale) defaultSource sources;
+
+in
+
+stdenv.mkDerivation {
+ name = "thunderbird-bin-${version}";
+
+ src = fetchurl {
+ url = "http://download-installer.cdn.mozilla.net/pub/thunderbird/releases/${version}/${source.arch}/${source.locale}/thunderbird-${version}.tar.bz2";
+ inherit (source) sha256;
+ };
+
+ phases = "unpackPhase installPhase";
+
+ libPath = stdenv.lib.makeLibraryPath
+ [ stdenv.gcc.gcc
+ gconf
+ alsaLib
+ at_spi2_atk
+ atk
+ cairo
+ cups
+ curl
+ dbus_glib
+ dbus_libs
+ fontconfig
+ freetype
+ gdk_pixbuf
+ glib
+ glibc
+ gst_plugins_base
+ gstreamer
+ gtk
+ kerberos
+ libX11
+ libXScrnSaver
+ libXext
+ libXinerama
+ libXrender
+ libXt
+ libcanberra
+ libgnome
+ libgnomeui
+ mesa
+ nspr
+ nss
+ pango
+ ] + ":" + stdenv.lib.makeSearchPath "lib64" [
+ stdenv.gcc.gcc
+ ];
+
+ installPhase =
+ ''
+ mkdir -p "$prefix/usr/lib/thunderbird-bin-${version}"
+ cp -r * "$prefix/usr/lib/thunderbird-bin-${version}"
+
+ mkdir -p "$out/bin"
+ ln -s "$prefix/usr/lib/thunderbird-bin-${version}/thunderbird" "$out/bin/"
+
+ for executable in \
+ thunderbird mozilla-xremote-client thunderbird-bin plugin-container \
+ updater
+ do
+ patchelf --interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
+ "$out/usr/lib/thunderbird-bin-${version}/$executable"
+ done
+
+ for executable in \
+ thunderbird mozilla-xremote-client thunderbird-bin plugin-container \
+ updater libxul.so
+ do
+ patchelf --set-rpath "$libPath" \
+ "$out/usr/lib/thunderbird-bin-${version}/$executable"
+ done
+
+ # Create a desktop item.
+ mkdir -p $out/share/applications
+ cat > $out/share/applications/thunderbird.desktop <
-Date: 07.05.2011 13:32:06
-Branch: net.venge.monotone
-
-Changelog:
-
-* src/rcs_file.cc: Rename struct "file_handle" to "rcs_file_handle"
- to avoid a name clash with a struct of same name defined by newer
- glibc's "fcntl.h". For aesthetic reasons, also rename struct
- "file_source".
-
-References:
-https://code.monotone.ca/p/monotone/source/commit/da62cad10eda55aa233ac124273f3db4f541137a/
-https://bugs.gentoo.org/396651
-
-============================================================
---- a/src/rcs_file.cc 885b3fbe7b6cfed78816f0e57cd71d44616213c6
-+++ b/src/rcs_file.cc 03cf68912a4a708545ebce3d415c0e970ddead0b
-@@ -42,12 +42,12 @@ struct
-
- #ifdef HAVE_MMAP
- struct
--file_handle
-+rcs_file_handle
- {
- string const & filename;
- off_t length;
- int fd;
-- file_handle(string const & fn) :
-+ rcs_file_handle(string const & fn) :
- filename(fn),
- length(0),
- fd(-1)
-@@ -60,13 +60,13 @@ file_handle
- if (fd == -1)
- throw oops("open of " + filename + " failed");
- }
-- ~file_handle()
-+ ~rcs_file_handle()
- {
- if (close(fd) == -1)
- throw oops("close of " + filename + " failed");
- }
- };
--struct file_source
-+struct rcs_file_source
- {
- string const & filename;
- int fd;
-@@ -91,7 +91,7 @@ struct file_source
- ++pos;
- return good();
- }
-- file_source(string const & fn,
-+ rcs_file_source(string const & fn,
- int f,
- off_t len) :
- filename(fn),
-@@ -104,7 +104,7 @@ struct file_source
- if (mapping == MAP_FAILED)
- throw oops("mmap of " + filename + " failed");
- }
-- ~file_source()
-+ ~rcs_file_source()
- {
- if (munmap(mapping, length) == -1)
- throw oops("munmapping " + filename + " failed, after reading RCS file");
-@@ -112,12 +112,12 @@ struct
- };
- #elif defined(WIN32)
- struct
--file_handle
-+rcs_file_handle
- {
- string const & filename;
- off_t length;
- HANDLE fd;
-- file_handle(string const & fn) :
-+ rcs_file_handle(string const & fn) :
- filename(fn),
- length(0),
- fd(NULL)
-@@ -134,7 +134,7 @@ file_handle
- if (fd == NULL)
- throw oops("open of " + filename + " failed");
- }
-- ~file_handle()
-+ ~rcs_file_handle()
- {
- if (CloseHandle(fd)==0)
- throw oops("close of " + filename + " failed");
-@@ -142,7 +142,7 @@ struct
- };
-
- struct
--file_source
-+rcs_file_source
- {
- string const & filename;
- HANDLE fd,map;
-@@ -167,7 +167,7 @@ file_source
- ++pos;
- return good();
- }
-- file_source(string const & fn,
-+ rcs_file_source(string const & fn,
- HANDLE f,
- off_t len) :
- filename(fn),
-@@ -183,7 +183,7 @@ file_source
- if (mapping==NULL)
- throw oops("MapViewOfFile of " + filename + " failed");
- }
-- ~file_source()
-+ ~rcs_file_source()
- {
- if (UnmapViewOfFile(mapping)==0)
- throw oops("UnmapViewOfFile of " + filename + " failed");
-@@ -193,7 +193,7 @@ file_source
- };
- #else
- // no mmap at all
--typedef istream file_source;
-+typedef istream rcs_file_source;
- #endif
-
- typedef enum
-@@ -220,7 +220,7 @@ static token_type
- }
-
- static token_type
--get_token(file_source & ist,
-+get_token(rcs_file_source & ist,
- string & str,
- size_t & line,
- size_t & col)
-@@ -303,14 +303,14 @@ struct parser
-
- struct parser
- {
-- file_source & ist;
-+ rcs_file_source & ist;
- rcs_file & r;
- string token;
- token_type ttype;
-
- size_t line, col;
-
-- parser(file_source & s,
-+ parser(rcs_file_source & s,
- rcs_file & r)
- : ist(s), r(r), line(1), col(1)
- {}
-@@ -489,8 +489,8 @@ parse_rcs_file(string const & filename,
- parse_rcs_file(string const & filename, rcs_file & r)
- {
- #if defined(HAVE_MMAP) || defined(WIN32)
-- file_handle handle(filename);
-- file_source ifs(filename, handle.fd, handle.length);
-+ rcs_file_handle handle(filename);
-+ rcs_file_source ifs(filename, handle.fd, handle.length);
- #else
- ifstream ifs(filename.c_str());
- ifs.unsetf(ios_base::skipws);
diff --git a/pkgs/applications/video/xbmc/default.nix b/pkgs/applications/video/xbmc/default.nix
index 94da757867e..3232267fa94 100644
--- a/pkgs/applications/video/xbmc/default.nix
+++ b/pkgs/applications/video/xbmc/default.nix
@@ -34,11 +34,11 @@ assert vdpauSupport -> libvdpau != null && ffmpeg.vdpauSupport;
assert pulseSupport -> pulseaudio != null;
stdenv.mkDerivation rec {
- name = "xbmc-13.0";
+ name = "xbmc-13.1";
src = fetchurl {
- url = "https://github.com/xbmc/xbmc/archive/13.0-Gotham.tar.gz";
- sha256 = "096hin8qp1864ypyw9xysy13niwf79bgfgivxi7w7mh2dagn0mjx";
+ url = "https://github.com/xbmc/xbmc/archive/13.1-Gotham.tar.gz";
+ sha256 = "0y56c5csfp8xhk088g47m3bzrri73z868yfx6b04gnrdmr760jrl";
};
buildInputs = [
diff --git a/pkgs/build-support/fetchbzr/nix-prefetch-bzr b/pkgs/build-support/fetchbzr/nix-prefetch-bzr
index 9ff86c20ae3..2f46819323f 100755
--- a/pkgs/build-support/fetchbzr/nix-prefetch-bzr
+++ b/pkgs/build-support/fetchbzr/nix-prefetch-bzr
@@ -52,6 +52,8 @@ if test -z "$finalPath"; then
# Perform the checkout.
bzr -Ossl.cert_reqs=none export $revarg --format=dir "$tmpFile" "$url"
+ echo "bzr revision is $(bzr revno $revarg "$url")"
+
# Compute the hash.
hash=$(nix-hash --type $hashType $hashFormat $tmpFile)
if ! test -n "$QUIET"; then echo "hash is $hash" >&2; fi
diff --git a/pkgs/build-support/fetchgit/nix-prefetch-git b/pkgs/build-support/fetchgit/nix-prefetch-git
index d4819574acb..3574f3b7539 100755
--- a/pkgs/build-support/fetchgit/nix-prefetch-git
+++ b/pkgs/build-support/fetchgit/nix-prefetch-git
@@ -217,7 +217,7 @@ clone_user_rev() {
fi;;
esac
- echo "git revision is $(cd $dir && git rev-parse $rev)"
+ echo "git revision is $(cd $dir && (git rev-parse $rev 2> /dev/null || git rev-parse refs/heads/fetchgit) | tail -n1)"
# Allow doing additional processing before .git removal
eval "$NIX_PREFETCH_GIT_CHECKOUT_HOOK"
diff --git a/pkgs/build-support/fetchhg/nix-prefetch-hg b/pkgs/build-support/fetchhg/nix-prefetch-hg
index f1f648f4aeb..075dbc9c367 100755
--- a/pkgs/build-support/fetchhg/nix-prefetch-hg
+++ b/pkgs/build-support/fetchhg/nix-prefetch-hg
@@ -51,6 +51,7 @@ if test -z "$finalPath"; then
hg archive -q -y -r "$rev" --cwd $tmpClone $tmpArchive
rm -f $tmpArchive/.hg_archival.txt
+ echo "hg revision is $(cd $tmpClone; hg id -r "$rev" -i)"
# Compute the hash.
hash=$(nix-hash --type $hashType $hashFormat $tmpArchive)
diff --git a/pkgs/build-support/fetchsvn/nix-prefetch-svn b/pkgs/build-support/fetchsvn/nix-prefetch-svn
index 2858a0b01ab..a2ee3ac6052 100755
--- a/pkgs/build-support/fetchsvn/nix-prefetch-svn
+++ b/pkgs/build-support/fetchsvn/nix-prefetch-svn
@@ -56,6 +56,7 @@ if test -z "$finalPath"; then
fi
echo p | svn "$command" --quiet -r "$rev" "$url" "$tmpFile" >&2
+ echo "svn revision is $(svn info -r "$rev" "$url" | grep "Revision: " | cut -d' ' -f2)"
# Compute the hash.
hash=$(nix-hash --type $hashType $hashFormat $tmpFile)
diff --git a/pkgs/build-support/setup-hooks/scatter_output.sh b/pkgs/build-support/setup-hooks/scatter_output.sh
new file mode 100644
index 00000000000..f2a501c55e4
--- /dev/null
+++ b/pkgs/build-support/setup-hooks/scatter_output.sh
@@ -0,0 +1,56 @@
+preFixupPhases+=" scatter_files"
+preDistPhases+=" propagate_bin_input"
+
+SCATTER_BIN_DEFAULT=${SCATTER_BIN_DEFAULT:-"/lib/*.so* /bin/*"}
+SCATTER_DOC_DEFAULT=${SCATTER_DOC_DEFAULT:-"/share/man/* /share/doc/*"}
+
+
+scatter_files() {
+ save_nullglob=$(shopt -p nullglob)
+ for o in $outputs; do
+ [[ "$o" == "out" ]] && continue
+ v=files_${o}
+
+ #if files_'output' isn't set in derivative, use defualts for some
+ [[ ${!v} ]] || {
+ case $o in
+ bin)
+ v=SCATTER_BIN_DEFAULT
+ ;;
+ doc)
+ v=SCATTER_DOC_DEFAULT
+ ;;
+ *)
+ continue
+ ;;
+ esac
+ }
+
+ # prepend each path with $out
+ paths=$out${!v// \// $out/}
+ shopt -s nullglob
+ for f in $paths; do
+ shopt -u nullglob
+ dist=${!o}${f#$out}
+ mkdir -p $(dirname $dist)
+ cp -pr $f $dist
+ # remove source, not forgetting to clean empty dirs
+ rm -r $f
+ rmdir --ignore-fail-on-non-empty $(dirname $f)
+ done
+ find ${!o} -type f -exec $SHELL -c 'patchelf --set-rpath $(patchelf --print-rpath {} 2>/dev/null):'${!o}'/lib {} 2>/dev/null && patchelf --shrink-rpath {}' \;
+ done
+ eval $save_nullglob
+}
+
+propagate_bin_input() {
+ if [[ -n ${bin:-} ]]; then
+ mkdir -p $out/nix-support
+ echo $bin >> $out/nix-support/propagated-native-build-inputs
+ fi
+
+ if [[ -n ${bin:-} && -n ${doc:-} ]]; then
+ mkdir -p $bin/nix-support
+ echo $doc >> $bin/nix-support/propagated-user-env-packages
+ fi
+}
diff --git a/pkgs/build-support/upstream-updater/update-walker.sh b/pkgs/build-support/upstream-updater/update-walker.sh
index 5743a289a4c..bc58f935f81 100755
--- a/pkgs/build-support/upstream-updater/update-walker.sh
+++ b/pkgs/build-support/upstream-updater/update-walker.sh
@@ -246,6 +246,12 @@ do_overwrite () {
mv "$1.new.tmp" "$1"
}
+do_overwrite_just_version () {
+ ensure_hash
+ set_var_value version $CURRENT_VERSION
+ set_var_value sha256 $CURRENT_HASH
+}
+
process_config () {
CONFIG_DIR="$(directory_of "$1")"
CONFIG_NAME="$(basename "$1")"
diff --git a/pkgs/desktops/gnome-3/3.10/default.nix b/pkgs/desktops/gnome-3/3.10/default.nix
index e2b8f414206..4376493c95b 100644
--- a/pkgs/desktops/gnome-3/3.10/default.nix
+++ b/pkgs/desktops/gnome-3/3.10/default.nix
@@ -106,7 +106,7 @@ rec {
gucharmap = callPackage ./core/gucharmap { };
- gvfs = pkgs.gvfs.override { gnome = pkgs.gnome3; };
+ gvfs = pkgs.gvfs.override { gnome = pkgs.gnome3; lightWeight = false; };
eog = callPackage ./core/eog { };
diff --git a/pkgs/desktops/gnome-3/3.12/default.nix b/pkgs/desktops/gnome-3/3.12/default.nix
index b33fad0e41e..f5369b2a3c3 100644
--- a/pkgs/desktops/gnome-3/3.12/default.nix
+++ b/pkgs/desktops/gnome-3/3.12/default.nix
@@ -116,7 +116,7 @@ rec {
gucharmap = callPackage ./core/gucharmap { };
- gvfs = pkgs.gvfs.override { gnome = gnome3; };
+ gvfs = pkgs.gvfs.override { gnome = gnome3; lightWeight = false; };
eog = callPackage ./core/eog { };
diff --git a/pkgs/development/compilers/compcert/default.nix b/pkgs/development/compilers/compcert/default.nix
index c4af878ba76..859c55662dc 100644
--- a/pkgs/development/compilers/compcert/default.nix
+++ b/pkgs/development/compilers/compcert/default.nix
@@ -1,15 +1,15 @@
-{ stdenv, fetchurl, coq, ocaml, gcc }:
+{ stdenv, fetchurl, coq, ocaml, ocamlPackages, gcc }:
stdenv.mkDerivation rec {
name = "compcert-${version}";
- version = "2.2";
+ version = "2.3pl2";
src = fetchurl {
url = "http://compcert.inria.fr/release/${name}.tgz";
- sha256 = "0zhqx9mixlsycckl6wq6yrd795byj1jz7m4njcgfv29cx33j1nrk";
+ sha256 = "1cq4my646ll1mszs5mbzwk4vp8l8qnsc96fpcv2pl35aw5i6jqm8";
};
- buildInputs = [ coq ocaml ];
+ buildInputs = [ coq ocaml ocamlPackages.menhir ];
enableParallelBuilding = true;
configurePhase = "./configure -prefix $out -toolprefix ${gcc}/bin/ ia32-linux";
diff --git a/pkgs/development/compilers/cudatoolkit/default.nix b/pkgs/development/compilers/cudatoolkit/default.nix
index af93cb13d37..99f0828012f 100644
--- a/pkgs/development/compilers/cudatoolkit/default.nix
+++ b/pkgs/development/compilers/cudatoolkit/default.nix
@@ -49,6 +49,7 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir $out $sdk
perl ./install-linux.pl --prefix="$out"
+ rm $out/tools/CUDA_Occupancy_Calculator.xls
perl ./install-sdk-linux.pl --prefix="$sdk" --cudaprefix="$out"
'';
diff --git a/pkgs/development/compilers/ghc/head.nix b/pkgs/development/compilers/ghc/head.nix
index a357a090e35..312f79e97a5 100644
--- a/pkgs/development/compilers/ghc/head.nix
+++ b/pkgs/development/compilers/ghc/head.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, ghc, perl, gmp, ncurses, happy, alex }:
stdenv.mkDerivation rec {
- version = "7.9.20140430";
+ version = "7.9.20140608";
name = "ghc-${version}";
src = fetchurl {
- url = "http://deb.haskell.org/dailies/2014-05-01/ghc_7.9.20140430.orig.tar.bz2";
- sha256 = "072c1d71idi7jw711icn1wz4q64laasvb0ii8xvg5mbhi9szbwk4";
+ url = "http://deb.haskell.org/dailies/2014-06-08/ghc_${version}.orig.tar.bz2";
+ sha256 = "0x3hgh4zfns2m6bbq9xwwlafav0a29azl0xh8549za256clz97w1";
};
buildInputs = [ ghc perl gmp ncurses happy alex ];
diff --git a/pkgs/development/compilers/haxe/default.nix b/pkgs/development/compilers/haxe/default.nix
index b2d69f2ea7d..3173b892261 100644
--- a/pkgs/development/compilers/haxe/default.nix
+++ b/pkgs/development/compilers/haxe/default.nix
@@ -1,30 +1,28 @@
-{ stdenv, fetchsvn, ocaml, zlib, neko }:
+{ stdenv, fetchgit, ocaml, zlib, neko }:
stdenv.mkDerivation {
- name = "haxe-3.00";
+ name = "haxe-3.1.3";
buildInputs = [ocaml zlib neko];
- src = fetchsvn {
- url = "http://haxe.googlecode.com/svn/trunk";
- sha256 = "0hg8qailhgrcdk7r4k9kmwfl9d9ds0vy0l7wbv5wdrrc34qzifm4";
- rev = 6706;
+ src = fetchgit {
+ url = "https://github.com/HaxeFoundation/haxe.git";
+ sha256 = "1p4yja6flv2r04q9lcrjxia3f3fsmhi3d88s0lz0nf0r4m61bjz0";
+ fetchSubmodules = true;
+
+ # Tag 3.1.3
+ rev = "7be30670b2f1f9b6082499c8fb9e23c0a6df6c28";
};
prePatch = ''
sed -i -e 's|com.class_path <- \[|&"'"$out/lib/haxe/std/"'";|' main.ml
'';
- postBuild = ''
- find std/tools -name '*.n' -delete
- rm -f std/tools/haxedoc/haxedoc std/tools/haxelib/haxelib
- '';
-
buildFlags = [ "all" "tools" ];
installPhase = ''
install -vd "$out/bin" "$out/lib/haxe/std"
- install -vt "$out/bin" haxe haxelib haxedoc
+ install -vt "$out/bin" haxe haxelib
cp -vr std "$out/lib/haxe"
'';
diff --git a/pkgs/development/compilers/hhvm/default.nix b/pkgs/development/compilers/hhvm/default.nix
new file mode 100644
index 00000000000..918b75156c3
--- /dev/null
+++ b/pkgs/development/compilers/hhvm/default.nix
@@ -0,0 +1,59 @@
+{ stdenv, fetchgit, cmake, boost, libunwind, mariadb, libmemcached, pcre
+, libevent, gd, curl, libxml2, icu, flex, bison, openssl, zlib, php, re2c
+, expat, libcap, oniguruma, libdwarf, libmcrypt, tbb, gperftools, glog
+, bzip2, openldap, readline, libelf, uwimap, binutils, cyrus_sasl, pam, libpng
+, libxslt, ocaml
+}:
+
+stdenv.mkDerivation rec {
+ name = "hhvm-${version}";
+ version = "3.1.0";
+
+ src = fetchgit {
+ url = "https://github.com/facebook/hhvm.git";
+ rev = "71ecbd8fb5e94b2a008387a2b5e9a8df5c6f5c7b";
+ sha256 = "1zv3k3bxahwyna2jgicwxm9lxs11jddpc9v41488rmzvfhdmzzkn";
+ fetchSubmodules = true;
+ };
+
+ buildInputs =
+ [ cmake boost libunwind mariadb libmemcached pcre libevent gd curl
+ libxml2 icu flex bison openssl zlib php expat libcap oniguruma
+ libdwarf libmcrypt tbb gperftools bzip2 openldap readline
+ libelf uwimap binutils cyrus_sasl pam glog libpng libxslt ocaml
+ ];
+
+ enableParallelBuilding = true;
+ dontUseCmakeBuildDir = true;
+ dontUseCmakeConfigure = true;
+ NIX_LDFLAGS = "-lpam -L${pam}/lib";
+ USE_HHVM=1;
+ MYSQL_INCLUDE_DIR="${mariadb}/include/mysql";
+ MYSQL_DIR=mariadb;
+
+ patchPhase = ''
+ substituteInPlace hphp/util/generate-buildinfo.sh \
+ --replace /bin/bash ${stdenv.shell}
+ '';
+ installPhase = ''
+ mkdir -p $out/bin $out/lib
+ mv hphp/hhvm/hhvm $out/bin
+ mv hphp/hack/bin/hh_server $out/bin
+ mv hphp/hack/bin/hh_client $out/bin
+ mv hphp/hack/hhi $out/lib/hack-hhi
+
+ cat > $out/bin/hhvm-hhi-copy < zlib != null;
let
- majorVersion = "2.2";
+ majorVersion = "2.3";
version = "${majorVersion}.1";
pythonVersion = "2.7";
libPrefix = "pypy${majorVersion}";
@@ -16,8 +16,8 @@ let
inherit majorVersion version;
src = fetchurl {
- url = "https://bitbucket.org/pypy/pypy/downloads/pypy-${version}-src.tar.bz2";
- sha256 = "0pq36n6bap96smpacx8gvgl8yvi9r7ddl4mlpsi5cdj4gqc4a815";
+ url = "https://bitbucket.org/pypy/pypy/get/release-${version}.tar.bz2";
+ sha256 = "0fg4l48c7n59n5j3b1dgcsr927xzylkfny4a6pnk6z0pq2bhvl9z";
};
buildInputs = [ bzip2 openssl pkgconfig pythonFull libffi ncurses expat sqlite ]
@@ -60,7 +60,8 @@ let
# disable test_mhlib because it fails for unknown reason
# disable test_multiprocessing due to transient errors
# disable sqlite3 due to https://bugs.pypy.org/issue1740
- ./pypy-c ./pypy/test_all.py --pypy=./pypy-c -k '-test_sqlite -test_socket -test_shutil -test_mhlib -test_multiprocessing' lib-python
+ # disable test_os because test_urandom_failure fails
+ ./pypy-c ./pypy/test_all.py --pypy=./pypy-c -k '-test_sqlite -test_socket -test_os -test_shutil -test_mhlib -test_multiprocessing' lib-python
'';
installPhase = ''
diff --git a/pkgs/development/interpreters/python/2.7/CVE-2014-1912.patch b/pkgs/development/interpreters/python/2.7/CVE-2014-1912.patch
deleted file mode 100644
index 95399bf7607..00000000000
--- a/pkgs/development/interpreters/python/2.7/CVE-2014-1912.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-# Edited from Mercurial patch: deleted the NEWS hunk, since it didn't apply cleanly.
-# It added the following line to NEWS:
-# - Issue #20246: Fix buffer overflow in socket.recvfrom_into.
-
-# HG changeset patch
-# User Benjamin Peterson
-# Date 1389671978 18000
-# Node ID 87673659d8f7ba1623cd4914f09ad3d2ade034e9
-# Parent 2631d33ee7fbd5f0288931ef37872218d511d2e8
-complain when nbytes > buflen to fix possible buffer overflow (closes #20246)
-
-diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
---- a/Lib/test/test_socket.py
-+++ b/Lib/test/test_socket.py
-@@ -1620,6 +1620,16 @@ class BufferIOTest(SocketConnectedTest):
-
- _testRecvFromIntoMemoryview = _testRecvFromIntoArray
-
-+ def testRecvFromIntoSmallBuffer(self):
-+ # See issue #20246.
-+ buf = bytearray(8)
-+ self.assertRaises(ValueError, self.cli_conn.recvfrom_into, buf, 1024)
-+
-+ def _testRecvFromIntoSmallBuffer(self):
-+ with test_support.check_py3k_warnings():
-+ buf = buffer(MSG*2048)
-+ self.serv_conn.send(buf)
-+
-
- TIPC_STYPE = 2000
- TIPC_LOWER = 200
-diff --git a/Misc/ACKS b/Misc/ACKS
---- a/Misc/ACKS
-+++ b/Misc/ACKS
-@@ -979,6 +979,7 @@ Eric V. Smith
- Christopher Smith
- Gregory P. Smith
- Roy Smith
-+Ryan Smith-Roberts
- Rafal Smotrzyk
- Dirk Soede
- Paul Sokolovsky
-diff --git a/Misc/NEWS b/Misc/NEWS
---- a/Modules/socketmodule.c
-+++ b/Modules/socketmodule.c
-@@ -2742,6 +2742,10 @@ sock_recvfrom_into(PySocketSockObject *s
- if (recvlen == 0) {
- /* If nbytes was not specified, use the buffer's length */
- recvlen = buflen;
-+ } else if (recvlen > buflen) {
-+ PyErr_SetString(PyExc_ValueError,
-+ "nbytes is greater than the length of the buffer");
-+ goto error;
- }
-
- readlen = sock_recvfrom_guts(s, buf.buf, recvlen, flags, &addr);
-
diff --git a/pkgs/development/interpreters/python/2.7/default.nix b/pkgs/development/interpreters/python/2.7/default.nix
index eeadc3c8cc7..fc91e5a4493 100644
--- a/pkgs/development/interpreters/python/2.7/default.nix
+++ b/pkgs/development/interpreters/python/2.7/default.nix
@@ -8,11 +8,11 @@ with stdenv.lib;
let
majorVersion = "2.7";
- version = "${majorVersion}.6";
+ version = "${majorVersion}.7";
src = fetchurl {
url = "http://www.python.org/ftp/python/${version}/Python-${version}.tar.xz";
- sha256 = "18gnpyh071dxa0rv3silrz92jw9qpblswzwv4gzqcwxzz20qxmhz";
+ sha256 = "0y6s12rdi89k24p8zarhy9fqmyy459yg0d125c7cac4v136y70r9";
};
patches =
@@ -28,10 +28,6 @@ let
# patch python to put zero timestamp into pyc
# if DETERMINISTIC_BUILD env var is set
./deterministic-build.patch
-
- # See http://bugs.python.org/issue20246
- # This will be fixed in 2.7.7.
- ./CVE-2014-1912.patch
];
postPatch = stdenv.lib.optionalString (stdenv.gcc.libc != null) ''
diff --git a/pkgs/development/interpreters/racket/default.nix b/pkgs/development/interpreters/racket/default.nix
index 8432c848d73..469ef118310 100644
--- a/pkgs/development/interpreters/racket/default.nix
+++ b/pkgs/development/interpreters/racket/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, cairo, file, pango, glib, gtk
, which, libtool, makeWrapper, libjpeg, libpng
-, fontconfig, liberation_ttf, sqlite } :
+, fontconfig, liberation_ttf, sqlite, openssl } :
stdenv.mkDerivation rec {
pname = "racket";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
};
# Various racket executables do run-time searches for these.
- ffiSharedLibs = "${glib}/lib:${cairo}/lib:${pango}/lib:${gtk}/lib:${libjpeg}/lib:${libpng}/lib:${sqlite}/lib";
+ ffiSharedLibs = "${glib}/lib:${cairo}/lib:${pango}/lib:${gtk}/lib:${libjpeg}/lib:${libpng}/lib:${sqlite}/lib:${openssl}/lib";
buildInputs = [ file libtool which makeWrapper fontconfig liberation_ttf sqlite ];
diff --git a/pkgs/development/interpreters/rakudo/default.nix b/pkgs/development/interpreters/rakudo/default.nix
new file mode 100644
index 00000000000..e788e1ad13d
--- /dev/null
+++ b/pkgs/development/interpreters/rakudo/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchurl, perl, jdk, icu, zlib, gmp, readline }:
+
+stdenv.mkDerivation rec {
+ name = "rakudo-star-${version}";
+ version = "2014.04";
+
+ src = fetchurl {
+ url = "http://rakudo.org/downloads/star/${name}.tar.gz";
+ sha256 = "0spdrxc2kiidpgni1vl71brgs4d76h8029w5jxvah3yvjcqixz7l";
+ };
+
+ buildInputs = [ icu zlib gmp readline jdk perl ];
+ configureScript = "perl ./Configure.pl";
+ configureFlags =
+ [ "--gen-moar"
+ "--gen-nqp"
+ "--gen-parrot"
+ ];
+
+ meta = {
+ description = "A Perl 6 implementation";
+ homepage = "http://www.rakudo.org";
+ license = stdenv.lib.licenses.artistic2;
+ platforms = stdenv.lib.platforms.unix;
+ maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
+ };
+}
diff --git a/pkgs/development/libraries/botan/default.nix b/pkgs/development/libraries/botan/default.nix
index 18de87b0667..64dd821c43f 100644
--- a/pkgs/development/libraries/botan/default.nix
+++ b/pkgs/development/libraries/botan/default.nix
@@ -14,12 +14,12 @@ let
sourceInfo = rec {
baseName="botan";
tarBaseName="Botan";
- baseVersion="1.8";
- revision="11";
+ baseVersion = "1.10";
+ revision = "8";
version="${baseVersion}.${revision}";
name="${baseName}-${version}";
url="http://files.randombit.net/${baseName}/v${baseVersion}/${tarBaseName}-${version}.tbz";
- hash="194vffc9gfb0912lzndn8nzblg2d2gjmk13fc8hppgpw7ln0mdn3";
+ hash = "182f316rbdd6jrqn92vjms3jyb9syn4ic0nzi3b7rfjbj3zdabxw";
};
in
rec {
@@ -32,8 +32,13 @@ rec {
inherit buildInputs;
/* doConfigure should be removed if not needed */
- phaseNames = ["doConfigure" "doMakeInstall"];
+ phaseNames = ["doConfigure" "doMakeInstall" "fixPkgConfig"];
configureCommand = "python configure.py --with-gnump --with-bzip2 --with-zlib --with-openssl --with-tr1-implementation=boost";
+
+ fixPkgConfig = a.fullDepEntry ''
+ cd "$out"/lib/pkgconfig
+ ln -s botan-*.pc botan.pc || true
+ '' ["minInit" "doMakeInstall"];
meta = {
description = "Cryptographic algorithms library";
@@ -43,6 +48,7 @@ rec {
];
platforms = with a.lib.platforms;
unix;
+ inherit version;
};
passthru = {
updateInfo = {
diff --git a/pkgs/development/libraries/botan/default.upstream b/pkgs/development/libraries/botan/default.upstream
new file mode 100644
index 00000000000..becbf348b34
--- /dev/null
+++ b/pkgs/development/libraries/botan/default.upstream
@@ -0,0 +1,9 @@
+url http://botan.randombit.net/download.html
+version_link 'Botan-[0-9]+[.][0-9]*[02468]([.][0-9]+)?[.](tbz|tbz2|tar[.]bz2)$'
+ensure_version
+ensure_hash
+do_overwrite(){
+ set_var_value hash $CURRENT_HASH
+ set_var_value baseVersion ${CURRENT_VERSION%.*}
+ set_var_value revision ${CURRENT_VERSION##*.}
+}
diff --git a/pkgs/development/libraries/haskell/BlogLiterately/default.nix b/pkgs/development/libraries/haskell/BlogLiterately/default.nix
index e4005ed4ec0..7d5c01f64bf 100644
--- a/pkgs/development/libraries/haskell/BlogLiterately/default.nix
+++ b/pkgs/development/libraries/haskell/BlogLiterately/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "BlogLiterately";
- version = "0.7.1.6";
- sha256 = "0mzq0br9jsymml57kcxqyr401lckzm43fy74l3wy25n6grv64hd4";
+ version = "0.7.1.7";
+ sha256 = "05i0v5mrmnxbmrqrm473z6hs9j4c2jv1l81i4kdmm2wia6p93s90";
isLibrary = true;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/development/libraries/haskell/BoundedChan/default.nix b/pkgs/development/libraries/haskell/BoundedChan/default.nix
new file mode 100644
index 00000000000..0ce294c2258
--- /dev/null
+++ b/pkgs/development/libraries/haskell/BoundedChan/default.nix
@@ -0,0 +1,12 @@
+{ cabal }:
+
+cabal.mkDerivation (self: {
+ pname = "BoundedChan";
+ version = "1.0.1.0";
+ sha256 = "1v4lmp3j8lzk1m2pv5l90j80y0c6yxm6gb1ww9ffsz2jxfzz8vd8";
+ meta = {
+ description = "Implementation of bounded channels";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ };
+})
diff --git a/pkgs/development/libraries/haskell/Cabal/1.20.0.0.nix b/pkgs/development/libraries/haskell/Cabal/1.20.0.1.nix
similarity index 89%
rename from pkgs/development/libraries/haskell/Cabal/1.20.0.0.nix
rename to pkgs/development/libraries/haskell/Cabal/1.20.0.1.nix
index 0dbd2acdd92..ee7f363318e 100644
--- a/pkgs/development/libraries/haskell/Cabal/1.20.0.0.nix
+++ b/pkgs/development/libraries/haskell/Cabal/1.20.0.1.nix
@@ -5,8 +5,8 @@
cabal.mkDerivation (self: {
pname = "Cabal";
- version = "1.20.0.0";
- sha256 = "1m2lp6v1959mdm9zfg6fg1xw2iv749r4rzj576lqvn66slwsjpw1";
+ version = "1.20.0.1";
+ sha256 = "0vcpw4rskqlg2swsxk93p77svb007qvpwlpj2ia55avpi4c3xf8m";
buildDepends = [ deepseq filepath time ];
testDepends = [
extensibleExceptions filepath HUnit QuickCheck regexPosix
diff --git a/pkgs/development/libraries/haskell/HTTP/4000.2.15.nix b/pkgs/development/libraries/haskell/HTTP/4000.2.17.nix
similarity index 89%
rename from pkgs/development/libraries/haskell/HTTP/4000.2.15.nix
rename to pkgs/development/libraries/haskell/HTTP/4000.2.17.nix
index 8e51ad6d2b5..583517260ac 100644
--- a/pkgs/development/libraries/haskell/HTTP/4000.2.15.nix
+++ b/pkgs/development/libraries/haskell/HTTP/4000.2.17.nix
@@ -5,8 +5,8 @@
cabal.mkDerivation (self: {
pname = "HTTP";
- version = "4000.2.15";
- sha256 = "1bw79hq5nzx1gab9p3d3szr0wkiv9zvf2ld9d4i48z6fnmil4qwj";
+ version = "4000.2.17";
+ sha256 = "1701mgf1gw00nxd70kkr86yl80qxy63rpqky2g9m2nfr6y4y5b59";
buildDepends = [ mtl network parsec ];
testDepends = [
caseInsensitive conduit conduitExtra deepseq httpdShed httpTypes
diff --git a/pkgs/development/libraries/haskell/MFlow/default.nix b/pkgs/development/libraries/haskell/MFlow/default.nix
new file mode 100644
index 00000000000..fe96af2de9e
--- /dev/null
+++ b/pkgs/development/libraries/haskell/MFlow/default.nix
@@ -0,0 +1,25 @@
+{ cabal, blazeHtml, blazeMarkup, caseInsensitive, clientsession
+, conduit, conduitExtra, cpphs, extensibleExceptions, httpTypes
+, monadloc, mtl, parsec, random, RefSerialize, stm, TCache, text
+, time, transformers, utf8String, vector, wai, warp, warpTls
+, Workflow
+}:
+
+cabal.mkDerivation (self: {
+ pname = "MFlow";
+ version = "0.4.5.4";
+ sha256 = "1ih9ni14xmqvcfvayjkggmpmw3s9yzp17gf4xzygldmjcs35j4n3";
+ buildDepends = [
+ blazeHtml blazeMarkup caseInsensitive clientsession conduit
+ conduitExtra extensibleExceptions httpTypes monadloc mtl parsec
+ random RefSerialize stm TCache text time transformers utf8String
+ vector wai warp warpTls Workflow
+ ];
+ buildTools = [ cpphs ];
+ meta = {
+ description = "stateful, RESTful web framework";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ maintainers = [ self.stdenv.lib.maintainers.tomberek ];
+ };
+})
diff --git a/pkgs/development/libraries/haskell/MonadCatchIO-transformers/default.nix b/pkgs/development/libraries/haskell/MonadCatchIO-transformers/default.nix
index 838c92fff3f..b6402f63abb 100644
--- a/pkgs/development/libraries/haskell/MonadCatchIO-transformers/default.nix
+++ b/pkgs/development/libraries/haskell/MonadCatchIO-transformers/default.nix
@@ -5,6 +5,7 @@ cabal.mkDerivation (self: {
version = "0.3.1.0";
sha256 = "1r5syyalk8a81byhk39yp0j7vdrvlrpppbg52dql1fx6kfhysaxn";
buildDepends = [ extensibleExceptions monadsTf transformers ];
+ jailbreak = true;
meta = {
description = "Monad-transformer compatible version of the Control.Exception module";
license = self.stdenv.lib.licenses.bsd3;
diff --git a/pkgs/development/libraries/haskell/QuickCheck/2.7.3.nix b/pkgs/development/libraries/haskell/QuickCheck/2.7.5.nix
similarity index 60%
rename from pkgs/development/libraries/haskell/QuickCheck/2.7.3.nix
rename to pkgs/development/libraries/haskell/QuickCheck/2.7.5.nix
index fafea2eb7d1..8dff2162c2d 100644
--- a/pkgs/development/libraries/haskell/QuickCheck/2.7.3.nix
+++ b/pkgs/development/libraries/haskell/QuickCheck/2.7.5.nix
@@ -1,14 +1,14 @@
-{ cabal, random, testFramework, tfRandom }:
+{ cabal, random, testFramework, tfRandom, transformers }:
cabal.mkDerivation (self: {
pname = "QuickCheck";
- version = "2.7.3";
- sha256 = "196pz0b32m84ydwm4wk7m8512bmsxw7nsqpxbyfxsyi3ykq220yh";
- buildDepends = [ random tfRandom ];
+ version = "2.7.5";
+ sha256 = "1bak50yxf8qfwfw1f5bd2p1ynx1ndjv24yp6gd2a2a1fag34x0rb";
+ buildDepends = [ random tfRandom transformers ];
testDepends = [ testFramework ];
noHaddock = self.stdenv.lib.versionOlder self.ghc.version "6.11";
meta = {
- homepage = "http://code.haskell.org/QuickCheck";
+ homepage = "https://github.com/nick8325/quickcheck";
description = "Automatic testing of Haskell programs";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
diff --git a/pkgs/development/libraries/haskell/RefSerialize/default.nix b/pkgs/development/libraries/haskell/RefSerialize/default.nix
new file mode 100644
index 00000000000..a16ce1332ed
--- /dev/null
+++ b/pkgs/development/libraries/haskell/RefSerialize/default.nix
@@ -0,0 +1,14 @@
+{ cabal, binary, hashtables, stringsearch }:
+
+cabal.mkDerivation (self: {
+ pname = "RefSerialize";
+ version = "0.3.1.3";
+ sha256 = "0qrca0jismpvjy7i4xx19ljrj72gqcmwqg47a51ykncsvci0fjrm";
+ buildDepends = [ binary hashtables stringsearch ];
+ meta = {
+ description = "Write to and read from ByteStrings maintaining internal memory references";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ maintainers = [ self.stdenv.lib.maintainers.tomberek ];
+ };
+})
diff --git a/pkgs/development/libraries/haskell/RepLib/default.nix b/pkgs/development/libraries/haskell/RepLib/default.nix
index 89e13f1eddc..769a1d534ba 100644
--- a/pkgs/development/libraries/haskell/RepLib/default.nix
+++ b/pkgs/development/libraries/haskell/RepLib/default.nix
@@ -5,6 +5,7 @@ cabal.mkDerivation (self: {
version = "0.5.3.3";
sha256 = "1772r6rfajcn622dxwy9z1bvv53l5xj6acbcv8n9p7h01fs52mpr";
buildDepends = [ mtl typeEquality ];
+ noHaddock = true;
meta = {
homepage = "http://code.google.com/p/replib/";
description = "Generic programming library with representation types";
diff --git a/pkgs/development/libraries/haskell/SVGFonts/default.nix b/pkgs/development/libraries/haskell/SVGFonts/default.nix
index 509efd61968..e617190b761 100644
--- a/pkgs/development/libraries/haskell/SVGFonts/default.nix
+++ b/pkgs/development/libraries/haskell/SVGFonts/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "SVGFonts";
- version = "1.4.0.2";
- sha256 = "1a1f0jdz36zpj1196zv5qwg35rm4ra0b4z5spr1m3696292nj8ph";
+ version = "1.4.0.3";
+ sha256 = "0jkjcf27xqjzv9lny7j181kcma26wngrq3vzw2sp2hwkdcjryyin";
buildDepends = [
attoparsec blazeMarkup blazeSvg dataDefaultClass diagramsLib parsec
split text tuple vector vectorSpace xml
diff --git a/pkgs/development/libraries/haskell/Shellac/Shellac.nix b/pkgs/development/libraries/haskell/Shellac/Shellac.nix
index d896eab923d..e6f3caac45b 100644
--- a/pkgs/development/libraries/haskell/Shellac/Shellac.nix
+++ b/pkgs/development/libraries/haskell/Shellac/Shellac.nix
@@ -2,11 +2,11 @@
cabal.mkDerivation (self: {
pname = "Shellac";
- version = "0.9.5.1";
- sha256 = "19fpbh5ijy9xc3rhl9qwyan8jfnz9nsqvnsjxb7kkb7l2bpz4qfp";
+ version = "0.9.5.2";
+ sha256 = "1js9la0hziqsmb56q9kzfycda2sw3xm4kv2y5q2h3zlw5gzc5xli";
buildDepends = [ mtl ];
meta = {
- homepage = "http://www.cs.princeton.edu/~rdockins/shellac/home/";
+ homepage = "http://rwd.rdockins.name/shellac/home/";
description = "A framework for creating shell envinronments";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
diff --git a/pkgs/development/libraries/haskell/TCache/default.nix b/pkgs/development/libraries/haskell/TCache/default.nix
new file mode 100644
index 00000000000..cec80a16d30
--- /dev/null
+++ b/pkgs/development/libraries/haskell/TCache/default.nix
@@ -0,0 +1,14 @@
+{ cabal, hashtables, mtl, RefSerialize, stm, text }:
+
+cabal.mkDerivation (self: {
+ pname = "TCache";
+ version = "0.12.0";
+ sha256 = "0marslz5jg66r3i2d0yjjrj11bpywpadcxs5k4j6782iczxybd7s";
+ buildDepends = [ hashtables mtl RefSerialize stm text ];
+ meta = {
+ description = "A Transactional cache with user-defined persistence";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ maintainers = [ self.stdenv.lib.maintainers.tomberek ];
+ };
+})
diff --git a/pkgs/development/libraries/haskell/Workflow/default.nix b/pkgs/development/libraries/haskell/Workflow/default.nix
new file mode 100644
index 00000000000..20a30438681
--- /dev/null
+++ b/pkgs/development/libraries/haskell/Workflow/default.nix
@@ -0,0 +1,19 @@
+{ cabal, binary, exceptions, extensibleExceptions, mtl
+, RefSerialize, stm, TCache, vector
+}:
+
+cabal.mkDerivation (self: {
+ pname = "Workflow";
+ version = "0.8.1";
+ sha256 = "0z23g68gcbbn43i78cql4is9js3m4z16rm2x8s57f73n0hx7f00l";
+ buildDepends = [
+ binary exceptions extensibleExceptions mtl RefSerialize stm TCache
+ vector
+ ];
+ meta = {
+ description = "Workflow patterns over a monad for thread state logging & recovery";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ maintainers = [ self.stdenv.lib.maintainers.tomberek ];
+ };
+})
diff --git a/pkgs/development/libraries/haskell/active/default.nix b/pkgs/development/libraries/haskell/active/default.nix
index b9488bbcf61..01441a39ce7 100644
--- a/pkgs/development/libraries/haskell/active/default.nix
+++ b/pkgs/development/libraries/haskell/active/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "active";
- version = "0.1.0.14";
- sha256 = "0ibigflx3krmf7gw0zqmqx73rw1p62cwjyl26rxbj5vzbl3bdb4g";
+ version = "0.1.0.16";
+ sha256 = "0x4z9n0avk9pr9v64vfmbbpxx2n6cl32d8sw8y2w61345s2z628k";
buildDepends = [ newtype semigroupoids semigroups vectorSpace ];
testDepends = [
newtype QuickCheck semigroupoids semigroups vectorSpace
diff --git a/pkgs/development/libraries/haskell/adjunctions/default.nix b/pkgs/development/libraries/haskell/adjunctions/default.nix
index d0804959ccb..74e564af62a 100644
--- a/pkgs/development/libraries/haskell/adjunctions/default.nix
+++ b/pkgs/development/libraries/haskell/adjunctions/default.nix
@@ -1,14 +1,15 @@
{ cabal, comonad, contravariant, distributive, free, mtl
-, semigroupoids, semigroups, tagged, transformers, void
+, profunctors, semigroupoids, semigroups, tagged, transformers
+, void
}:
cabal.mkDerivation (self: {
pname = "adjunctions";
- version = "4.0.3";
- sha256 = "0rh3vffbq407k9g95dingw6zqq3fk87pknyrqj1mrbmgrnllr8k0";
+ version = "4.1.0.1";
+ sha256 = "18p2pabid7dx96qcpd2ywv5mhjp55srhm5g013pn697jcxyq2xiv";
buildDepends = [
- comonad contravariant distributive free mtl semigroupoids
- semigroups tagged transformers void
+ comonad contravariant distributive free mtl profunctors
+ semigroupoids semigroups tagged transformers void
];
meta = {
homepage = "http://github.com/ekmett/adjunctions/";
diff --git a/pkgs/development/libraries/haskell/aeson-qq/default.nix b/pkgs/development/libraries/haskell/aeson-qq/default.nix
index fb53dd90257..1da43428f12 100644
--- a/pkgs/development/libraries/haskell/aeson-qq/default.nix
+++ b/pkgs/development/libraries/haskell/aeson-qq/default.nix
@@ -2,13 +2,13 @@
cabal.mkDerivation (self: {
pname = "aeson-qq";
- version = "0.6.1";
- sha256 = "164nqk1qfb8a9c95yv5hg0zgcjcg49vrra2wi00h325bgpq6wa5n";
+ version = "0.7.0";
+ sha256 = "1sq34pnwiyf5lngqph4m463ijr185akzbrdi3i40zmqlrymssv3c";
buildDepends = [ aeson haskellSrcMeta parsec text vector ];
testDepends = [ aeson hspec ];
meta = {
homepage = "http://github.com/zalora/aeson-qq";
- description = "Json Quasiquatation for Haskell";
+ description = "JSON quasiquoter for Haskell";
license = self.stdenv.lib.licenses.mit;
platforms = self.ghc.meta.platforms;
};
diff --git a/pkgs/development/libraries/haskell/alternative-io/default.nix b/pkgs/development/libraries/haskell/alternative-io/default.nix
deleted file mode 100644
index 9daf9406742..00000000000
--- a/pkgs/development/libraries/haskell/alternative-io/default.nix
+++ /dev/null
@@ -1,17 +0,0 @@
-{ cabal, liftedBase, monadControl, transformers, transformersBase
-}:
-
-cabal.mkDerivation (self: {
- pname = "alternative-io";
- version = "0.0.1";
- sha256 = "01hypbci3hw2czkmx78ls51ycx518ich4k753jgv0z8ilrq8isch";
- buildDepends = [
- liftedBase monadControl transformers transformersBase
- ];
- meta = {
- description = "IO as Alternative instance (deprecated)";
- license = self.stdenv.lib.licenses.bsd3;
- platforms = self.ghc.meta.platforms;
- maintainers = [ self.stdenv.lib.maintainers.andres ];
- };
-})
diff --git a/pkgs/development/libraries/haskell/arithmoi/default.nix b/pkgs/development/libraries/haskell/arithmoi/default.nix
index e4d1f522bc1..c027a92c38d 100644
--- a/pkgs/development/libraries/haskell/arithmoi/default.nix
+++ b/pkgs/development/libraries/haskell/arithmoi/default.nix
@@ -5,6 +5,7 @@ cabal.mkDerivation (self: {
version = "0.4.1.0";
sha256 = "1xmwxmvl9l1fa2sgr4ff7al8b5d5136h4fq9r05abj3nfnx1a0iq";
buildDepends = [ mtl random ];
+ jailbreak = true;
meta = {
homepage = "https://bitbucket.org/dafis/arithmoi";
description = "Efficient basic number-theoretic functions. Primes, powers, integer logarithms.";
diff --git a/pkgs/development/libraries/haskell/attoparsec-enumerator/default.nix b/pkgs/development/libraries/haskell/attoparsec-enumerator/default.nix
index cf40601d044..98f8f426ba3 100644
--- a/pkgs/development/libraries/haskell/attoparsec-enumerator/default.nix
+++ b/pkgs/development/libraries/haskell/attoparsec-enumerator/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "attoparsec-enumerator";
- version = "0.3.2";
- sha256 = "1jrrdhzqjfb78bhnjpy0j0qywqd2j67an41pcn8y6331nzmzsrl8";
+ version = "0.3.3";
+ sha256 = "0z57bbw97v92dkjp57zj9nfzsdas2n1qfw472k1aa84iqb6hbw9w";
buildDepends = [ attoparsec enumerator text ];
meta = {
homepage = "https://john-millikin.com/software/attoparsec-enumerator/";
diff --git a/pkgs/development/libraries/haskell/attoparsec/0.12.1.0.nix b/pkgs/development/libraries/haskell/attoparsec/0.12.1.0.nix
new file mode 100644
index 00000000000..72a58b1cce6
--- /dev/null
+++ b/pkgs/development/libraries/haskell/attoparsec/0.12.1.0.nix
@@ -0,0 +1,21 @@
+{ cabal, deepseq, QuickCheck, scientific, testFramework
+, testFrameworkQuickcheck2, text
+}:
+
+cabal.mkDerivation (self: {
+ pname = "attoparsec";
+ version = "0.12.1.0";
+ sha256 = "1y7sikk5hg9yj3mn21k026ni6lznsih0lx03rgdz4gmb6aqh54bn";
+ buildDepends = [ deepseq scientific text ];
+ testDepends = [
+ deepseq QuickCheck scientific testFramework
+ testFrameworkQuickcheck2 text
+ ];
+ meta = {
+ homepage = "https://github.com/bos/attoparsec";
+ description = "Fast combinator parsing for bytestrings and text";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ maintainers = [ self.stdenv.lib.maintainers.andres ];
+ };
+})
diff --git a/pkgs/development/libraries/haskell/base64-bytestring/default.nix b/pkgs/development/libraries/haskell/base64-bytestring/default.nix
index 67450dc8887..6b753f7b980 100644
--- a/pkgs/development/libraries/haskell/base64-bytestring/default.nix
+++ b/pkgs/development/libraries/haskell/base64-bytestring/default.nix
@@ -10,6 +10,7 @@ cabal.mkDerivation (self: {
HUnit QuickCheck testFramework testFrameworkHunit
testFrameworkQuickcheck2
];
+ doCheck = false;
meta = {
homepage = "https://github.com/bos/base64-bytestring";
description = "Fast base64 encoding and decoding for ByteStrings";
diff --git a/pkgs/development/libraries/haskell/blaze-builder-enumerator/default.nix b/pkgs/development/libraries/haskell/blaze-builder-enumerator/default.nix
index 00176d215ba..d08edb48b0e 100644
--- a/pkgs/development/libraries/haskell/blaze-builder-enumerator/default.nix
+++ b/pkgs/development/libraries/haskell/blaze-builder-enumerator/default.nix
@@ -2,9 +2,10 @@
cabal.mkDerivation (self: {
pname = "blaze-builder-enumerator";
- version = "0.2.0.5";
- sha256 = "0bbbv9wwzw9ss3d02mszdzxzhg6pcrnpwir9bvby7xkmfqpyffaa";
+ version = "0.2.0.6";
+ sha256 = "0pdw18drvikb465qh43b8wjyvpqj3wcilyczc21fri5ma4mxdkyp";
buildDepends = [ blazeBuilder enumerator transformers ];
+ jailbreak = true;
meta = {
homepage = "https://github.com/meiersi/blaze-builder-enumerator";
description = "Enumeratees for the incremental conversion of builders to bytestrings";
diff --git a/pkgs/development/libraries/haskell/bytes/default.nix b/pkgs/development/libraries/haskell/bytes/default.nix
new file mode 100644
index 00000000000..cb647f2cb16
--- /dev/null
+++ b/pkgs/development/libraries/haskell/bytes/default.nix
@@ -0,0 +1,19 @@
+{ cabal, binary, cereal, doctest, filepath, mtl, text, time
+, transformers, transformersCompat, void
+}:
+
+cabal.mkDerivation (self: {
+ pname = "bytes";
+ version = "0.14.0.2";
+ sha256 = "1bdradf5lq1kgiri64zd8cvcw2fxwbwv0apznl8vxyqlx406v3rn";
+ buildDepends = [
+ binary cereal mtl text time transformers transformersCompat void
+ ];
+ testDepends = [ doctest filepath ];
+ meta = {
+ homepage = "http://github.com/analytics/bytes";
+ description = "Sharing code for serialization between binary and cereal";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ };
+})
diff --git a/pkgs/development/libraries/haskell/cabal-cargs/default.nix b/pkgs/development/libraries/haskell/cabal-cargs/default.nix
new file mode 100644
index 00000000000..9ba31d333bb
--- /dev/null
+++ b/pkgs/development/libraries/haskell/cabal-cargs/default.nix
@@ -0,0 +1,24 @@
+{ cabal, Cabal, cabalLenses, cmdargs, either, filepath, lens
+, strict, systemFileio, systemFilepath, tasty, tastyGolden, text
+, transformers, unorderedContainers
+}:
+
+cabal.mkDerivation (self: {
+ pname = "cabal-cargs";
+ version = "0.7";
+ sha256 = "1dzmvwmb9sxwdgkzszhk9d5qvq2alnqmprx83dlb17sdi6f9jns1";
+ isLibrary = true;
+ isExecutable = true;
+ buildDepends = [
+ Cabal cabalLenses cmdargs either lens strict systemFileio
+ systemFilepath text transformers unorderedContainers
+ ];
+ testDepends = [ filepath tasty tastyGolden ];
+ jailbreak = true;
+ meta = {
+ description = "A command line program for extracting compiler arguments from a cabal file";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ maintainers = [ self.stdenv.lib.maintainers.tomberek ];
+ };
+})
diff --git a/pkgs/development/libraries/haskell/cabal-lenses/default.nix b/pkgs/development/libraries/haskell/cabal-lenses/default.nix
index 06777aadc4d..bd14dd1c089 100644
--- a/pkgs/development/libraries/haskell/cabal-lenses/default.nix
+++ b/pkgs/development/libraries/haskell/cabal-lenses/default.nix
@@ -2,9 +2,10 @@
cabal.mkDerivation (self: {
pname = "cabal-lenses";
- version = "0.1";
- sha256 = "0jss4h7crh7mndl5ghbpziy37cg9i29cc64fgxvxb63hpk0q2m17";
+ version = "0.2";
+ sha256 = "1wfr4rh7ba1hsvi0v7mzpab7fi5k93lz27v8qdfjqzkyybhjglv4";
buildDepends = [ Cabal lens unorderedContainers ];
+ jailbreak = true;
meta = {
description = "Lenses and traversals for the Cabal library";
license = self.stdenv.lib.licenses.bsd3;
diff --git a/pkgs/development/libraries/haskell/cassava/default.nix b/pkgs/development/libraries/haskell/cassava/default.nix
index 604cd9b3ed6..745969058f0 100644
--- a/pkgs/development/libraries/haskell/cassava/default.nix
+++ b/pkgs/development/libraries/haskell/cassava/default.nix
@@ -5,8 +5,8 @@
cabal.mkDerivation (self: {
pname = "cassava";
- version = "0.4.0.0";
- sha256 = "0w3npv3403n9rl9nmn8ngp04js28bvsb5c4js17sy1gqgsakqdrl";
+ version = "0.4.1.0";
+ sha256 = "0whky3mavmprr8cgnzlg2ich99w09bdlks8rg6z9m1x86q66ivw2";
buildDepends = [
attoparsec blazeBuilder deepseq text unorderedContainers vector
];
diff --git a/pkgs/development/libraries/haskell/concurrent-extra/default.nix b/pkgs/development/libraries/haskell/concurrent-extra/default.nix
index 5fe73a33964..29520fddd0c 100644
--- a/pkgs/development/libraries/haskell/concurrent-extra/default.nix
+++ b/pkgs/development/libraries/haskell/concurrent-extra/default.nix
@@ -1,15 +1,15 @@
-{ cabal, baseUnicodeSymbols, HUnit, stm, testFramework
-, testFrameworkHunit, unboundedDelays
+{ cabal, async, baseUnicodeSymbols, HUnit, random, stm
+, testFramework, testFrameworkHunit, unboundedDelays
}:
cabal.mkDerivation (self: {
pname = "concurrent-extra";
- version = "0.7.0.7";
- sha256 = "1736y8am24x29qq1016f2dvb6adavl1h46bsjfwnkw40a9djd5cr";
+ version = "0.7.0.8";
+ sha256 = "0q6n7wlakvnvfrjr3zmxbn9i0dxq96071j565vffp0r5abxkn83q";
buildDepends = [ baseUnicodeSymbols stm unboundedDelays ];
testDepends = [
- baseUnicodeSymbols HUnit stm testFramework testFrameworkHunit
- unboundedDelays
+ async baseUnicodeSymbols HUnit random stm testFramework
+ testFrameworkHunit unboundedDelays
];
meta = {
homepage = "https://github.com/basvandijk/concurrent-extra";
diff --git a/pkgs/development/libraries/haskell/conduit-extra/default.nix b/pkgs/development/libraries/haskell/conduit-extra/default.nix
index eb07ffc480f..084f9f38ca2 100644
--- a/pkgs/development/libraries/haskell/conduit-extra/default.nix
+++ b/pkgs/development/libraries/haskell/conduit-extra/default.nix
@@ -5,8 +5,8 @@
cabal.mkDerivation (self: {
pname = "conduit-extra";
- version = "1.1.0.3";
- sha256 = "117lirx05pgpmys6dlknkcni3znrvqyhmj6djqxnqbjcn3ynhqdk";
+ version = "1.1.0.4";
+ sha256 = "0l1cv65p8nvvb9qgcj87a682wh9xim0rbk2xzhdkd0r123csb118";
buildDepends = [
attoparsec blazeBuilder conduit filepath monadControl network
primitive resourcet streamingCommons text transformers
diff --git a/pkgs/development/libraries/haskell/conduit/default.nix b/pkgs/development/libraries/haskell/conduit/default.nix
index 94423cc41ef..630e9610bbb 100644
--- a/pkgs/development/libraries/haskell/conduit/default.nix
+++ b/pkgs/development/libraries/haskell/conduit/default.nix
@@ -4,13 +4,15 @@
cabal.mkDerivation (self: {
pname = "conduit";
- version = "1.1.3";
- sha256 = "14fc7v00zmrcwba2rdnh7c6sx0rv5mmbwlgq5p8p7nlald1dcr6z";
+ version = "1.1.6";
+ sha256 = "1nhjj5zz934fd6fdbmkl8xvnvlaprxccgpwxffmdgqwxhvxgprq3";
buildDepends = [
exceptions liftedBase mmorph monadControl mtl resourcet
transformers transformersBase void
];
- testDepends = [ hspec mtl QuickCheck resourcet transformers void ];
+ testDepends = [
+ exceptions hspec mtl QuickCheck resourcet transformers void
+ ];
doCheck = false;
meta = {
homepage = "http://github.com/snoyberg/conduit";
diff --git a/pkgs/development/libraries/haskell/crypto-numbers/default.nix b/pkgs/development/libraries/haskell/crypto-numbers/default.nix
index 7633c479e7c..b3f0b205af5 100644
--- a/pkgs/development/libraries/haskell/crypto-numbers/default.nix
+++ b/pkgs/development/libraries/haskell/crypto-numbers/default.nix
@@ -11,6 +11,7 @@ cabal.mkDerivation (self: {
byteable cryptoRandom HUnit QuickCheck testFramework
testFrameworkHunit testFrameworkQuickcheck2 vector
];
+ doCheck = false;
meta = {
homepage = "http://github.com/vincenthz/hs-crypto-numbers";
description = "Cryptographic numbers: functions and algorithms";
diff --git a/pkgs/development/libraries/haskell/cryptohash/default.nix b/pkgs/development/libraries/haskell/cryptohash/default.nix
index cefa8fbbdf8..894d317336d 100644
--- a/pkgs/development/libraries/haskell/cryptohash/default.nix
+++ b/pkgs/development/libraries/haskell/cryptohash/default.nix
@@ -1,15 +1,14 @@
-{ cabal, byteable, HUnit, QuickCheck, testFramework
-, testFrameworkHunit, testFrameworkQuickcheck2
+{ cabal, byteable, HUnit, QuickCheck, tasty, tastyHunit
+, tastyQuickcheck
}:
cabal.mkDerivation (self: {
pname = "cryptohash";
- version = "0.11.4";
- sha256 = "1laakkc1xzp2bmai0sfi86784wharqbyanlp1d1f1q6nj318by3y";
+ version = "0.11.5";
+ sha256 = "0vxnwnjch2r9d54q5f5bfz60npjc7s7x6a5233md7fa756822b9d";
buildDepends = [ byteable ];
testDepends = [
- byteable HUnit QuickCheck testFramework testFrameworkHunit
- testFrameworkQuickcheck2
+ byteable HUnit QuickCheck tasty tastyHunit tastyQuickcheck
];
meta = {
homepage = "http://github.com/vincenthz/hs-cryptohash";
diff --git a/pkgs/development/libraries/haskell/data-accessor/data-accessor.nix b/pkgs/development/libraries/haskell/data-accessor/data-accessor.nix
index 8fdde66f5fd..5f6dff99dd2 100644
--- a/pkgs/development/libraries/haskell/data-accessor/data-accessor.nix
+++ b/pkgs/development/libraries/haskell/data-accessor/data-accessor.nix
@@ -5,6 +5,7 @@ cabal.mkDerivation (self: {
version = "0.2.2.5";
sha256 = "0z63fv41cnpk3h404gprk2f5jl7rrpyv97xmsgac9zgdm5zkkhm6";
buildDepends = [ transformers ];
+ jailbreak = true;
meta = {
homepage = "http://www.haskell.org/haskellwiki/Record_access";
description = "Utilities for accessing and manipulating fields of records";
diff --git a/pkgs/development/libraries/haskell/data-checked/default.nix b/pkgs/development/libraries/haskell/data-checked/default.nix
new file mode 100644
index 00000000000..429f9da92bf
--- /dev/null
+++ b/pkgs/development/libraries/haskell/data-checked/default.nix
@@ -0,0 +1,14 @@
+{ cabal, deepseq }:
+
+cabal.mkDerivation (self: {
+ pname = "data-checked";
+ version = "0.3";
+ sha256 = "0xjn7iqlsgi51h8gz4x40kc2qb5lwf6nw5kjwgkck1w5gjfd11yw";
+ buildDepends = [ deepseq ];
+ meta = {
+ homepage = "https://github.com/mvv/data-checked";
+ description = "Type-indexed runtime-checked properties";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ };
+})
diff --git a/pkgs/development/libraries/haskell/dbmigrations/default.nix b/pkgs/development/libraries/haskell/dbmigrations/default.nix
index 008cb04f2fa..f8efb953799 100644
--- a/pkgs/development/libraries/haskell/dbmigrations/default.nix
+++ b/pkgs/development/libraries/haskell/dbmigrations/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "dbmigrations";
- version = "0.7";
- sha256 = "1mpmka6jszip8sm8k9mrk0fg1q7wp36n0szyiqy7fnbzijfw0xlz";
+ version = "0.8";
+ sha256 = "0m1zvc61y0n7p66iwsb8wzwgivxnc08cm1h3xvf1jnwrv294dwch";
isLibrary = true;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/development/libraries/haskell/diagrams/cairo.nix b/pkgs/development/libraries/haskell/diagrams/cairo.nix
index bd09b67196b..33e27cd9ff8 100644
--- a/pkgs/development/libraries/haskell/diagrams/cairo.nix
+++ b/pkgs/development/libraries/haskell/diagrams/cairo.nix
@@ -1,16 +1,16 @@
{ cabal, cairo, colour, dataDefaultClass, diagramsCore, diagramsLib
, filepath, hashable, JuicyPixels, lens, mtl, optparseApplicative
-, split, statestack, time, vector
+, pango, split, statestack, time, transformers, vector
}:
cabal.mkDerivation (self: {
pname = "diagrams-cairo";
- version = "1.1.0.2";
- sha256 = "0y36cx89rlbmj470a6g11wlzkwzznjkjmkcpm7dzbxvfxw4pp70z";
+ version = "1.2";
+ sha256 = "0vzjp1i5hk971r7f55gpdl0jibrjg9j4ny7p408kb8zl2ynlxv6l";
buildDepends = [
cairo colour dataDefaultClass diagramsCore diagramsLib filepath
- hashable JuicyPixels lens mtl optparseApplicative split statestack
- time vector
+ hashable JuicyPixels lens mtl optparseApplicative pango split
+ statestack time transformers vector
];
meta = {
homepage = "http://projects.haskell.org/diagrams";
diff --git a/pkgs/development/libraries/haskell/diagrams/contrib.nix b/pkgs/development/libraries/haskell/diagrams/contrib.nix
index 4cbe8b7c193..a433284ef7a 100644
--- a/pkgs/development/libraries/haskell/diagrams/contrib.nix
+++ b/pkgs/development/libraries/haskell/diagrams/contrib.nix
@@ -7,8 +7,8 @@
cabal.mkDerivation (self: {
pname = "diagrams-contrib";
- version = "1.1.1.5";
- sha256 = "1165qq5pzj3vr8f6545hpa5ri8jy43r1ydmimzy7xg9iynjgxass";
+ version = "1.1.2";
+ sha256 = "1gljmzlhc6vck5lcsq9lhf2k4dik5pp62k85y2kkxgq0mxnmqf0g";
buildDepends = [
arithmoi circlePacking colour dataDefault dataDefaultClass
diagramsCore diagramsLib forceLayout lens MonadRandom mtl parsec
diff --git a/pkgs/development/libraries/haskell/diagrams/core.nix b/pkgs/development/libraries/haskell/diagrams/core.nix
index 8c6a87b7e05..153f109d14b 100644
--- a/pkgs/development/libraries/haskell/diagrams/core.nix
+++ b/pkgs/development/libraries/haskell/diagrams/core.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "diagrams-core";
- version = "1.1.0.3";
- sha256 = "0kl4bc5mvly227rzalzy9q6ki321drcdfsjqriv3ac70qmcfqyma";
+ version = "1.2.0.1";
+ sha256 = "01rzd2zdg0pv7b299z6s6i6l6xggiszb2qs00vh5dbss295n1sps";
buildDepends = [
dualTree lens MemoTrie monoidExtras newtype semigroups vectorSpace
vectorSpacePoints
diff --git a/pkgs/development/libraries/haskell/diagrams/diagrams.nix b/pkgs/development/libraries/haskell/diagrams/diagrams.nix
index 6159270379e..5f94e2922a1 100644
--- a/pkgs/development/libraries/haskell/diagrams/diagrams.nix
+++ b/pkgs/development/libraries/haskell/diagrams/diagrams.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "diagrams";
- version = "1.1.0.1";
- sha256 = "0cxmrikcxgnrki9z8i33z7fbjpkx0vw849zj1cbq1zh8ry8xhhvg";
+ version = "1.2";
+ sha256 = "17j7hyd86h9msc8ni19agb0yhixga76q9kh4i109iyiyqizdnfhg";
buildDepends = [
diagramsContrib diagramsCore diagramsLib diagramsSvg
];
diff --git a/pkgs/development/libraries/haskell/diagrams/lib.nix b/pkgs/development/libraries/haskell/diagrams/lib.nix
index 775553bc2a4..03d6ad9f396 100644
--- a/pkgs/development/libraries/haskell/diagrams/lib.nix
+++ b/pkgs/development/libraries/haskell/diagrams/lib.nix
@@ -1,17 +1,18 @@
-{ cabal, active, colour, dataDefaultClass, diagramsCore, filepath
-, fingertree, hashable, intervals, lens, MemoTrie, monoidExtras
-, optparseApplicative, safe, semigroups, tagged, vectorSpace
-, vectorSpacePoints
+{ cabal, active, colour, dataDefaultClass, diagramsCore, dualTree
+, filepath, fingertree, hashable, intervals, JuicyPixels, lens
+, MemoTrie, monoidExtras, optparseApplicative, safe, semigroups
+, tagged, vectorSpace, vectorSpacePoints
}:
cabal.mkDerivation (self: {
pname = "diagrams-lib";
- version = "1.1.0.7";
- sha256 = "0ad5105aa2ds0hrx0184jhvzw1mw5l659hx745rsyl8wyi5yrcy7";
+ version = "1.2.0.1";
+ sha256 = "0p7rq97hnal90dciq1nln1s16kdb1xk9rrwaxhkxqr6kjjr2njf4";
buildDepends = [
- active colour dataDefaultClass diagramsCore filepath fingertree
- hashable intervals lens MemoTrie monoidExtras optparseApplicative
- safe semigroups tagged vectorSpace vectorSpacePoints
+ active colour dataDefaultClass diagramsCore dualTree filepath
+ fingertree hashable intervals JuicyPixels lens MemoTrie
+ monoidExtras optparseApplicative safe semigroups tagged vectorSpace
+ vectorSpacePoints
];
jailbreak = true;
meta = {
diff --git a/pkgs/development/libraries/haskell/diagrams/postscript.nix b/pkgs/development/libraries/haskell/diagrams/postscript.nix
index 55e2c975b0e..29dbafb890f 100644
--- a/pkgs/development/libraries/haskell/diagrams/postscript.nix
+++ b/pkgs/development/libraries/haskell/diagrams/postscript.nix
@@ -5,8 +5,8 @@
cabal.mkDerivation (self: {
pname = "diagrams-postscript";
- version = "1.0.2.4";
- sha256 = "0vjzvjyrbmnjgl8ln58a44nhh4abq5q2c6fvlpxpfhxh2ligsmas";
+ version = "1.1";
+ sha256 = "0l077libp6h8ka9ygkmajvzdymndlhx60nb5f6jaqvp7yx80hz3m";
buildDepends = [
dataDefaultClass diagramsCore diagramsLib dlist filepath hashable
lens monoidExtras mtl semigroups split vectorSpace
diff --git a/pkgs/development/libraries/haskell/diagrams/svg.nix b/pkgs/development/libraries/haskell/diagrams/svg.nix
index 663a6287c62..dbc148abaee 100644
--- a/pkgs/development/libraries/haskell/diagrams/svg.nix
+++ b/pkgs/development/libraries/haskell/diagrams/svg.nix
@@ -1,15 +1,16 @@
-{ cabal, blazeMarkup, blazeSvg, colour, diagramsCore, diagramsLib
-, filepath, hashable, lens, monoidExtras, mtl, split, time
-, vectorSpace
+{ cabal, base64Bytestring, blazeMarkup, blazeSvg, colour
+, diagramsCore, diagramsLib, filepath, hashable, JuicyPixels, lens
+, monoidExtras, mtl, split, time, vectorSpace
}:
cabal.mkDerivation (self: {
pname = "diagrams-svg";
- version = "1.0.2.1";
- sha256 = "1qm4vk67knl4bpp84kwm95blshf7slarpl620m8irslsq3yag507";
+ version = "1.1";
+ sha256 = "0b34rh35pay4x8dg0i06xvr3d865hbxzj2x77jly9l1j7sa1qaj1";
buildDepends = [
- blazeMarkup blazeSvg colour diagramsCore diagramsLib filepath
- hashable lens monoidExtras mtl split time vectorSpace
+ base64Bytestring blazeMarkup blazeSvg colour diagramsCore
+ diagramsLib filepath hashable JuicyPixels lens monoidExtras mtl
+ split time vectorSpace
];
jailbreak = true;
meta = {
diff --git a/pkgs/development/libraries/haskell/dns/default.nix b/pkgs/development/libraries/haskell/dns/default.nix
index badc718f32b..d563348c371 100644
--- a/pkgs/development/libraries/haskell/dns/default.nix
+++ b/pkgs/development/libraries/haskell/dns/default.nix
@@ -1,19 +1,18 @@
-{ cabal, attoparsec, attoparsecConduit, binary, blazeBuilder
-, conduit, conduitExtra, doctest, hspec, iproute, mtl, network
-, random, resourcet
+{ cabal, attoparsec, binary, blazeBuilder, conduit, conduitExtra
+, doctest, hspec, iproute, mtl, network, random, resourcet
}:
cabal.mkDerivation (self: {
pname = "dns";
- version = "1.2.3";
- sha256 = "0h03zh75yzrx08p99ll123qd9a7a2ccj9gad1f8y3340dz3pa7ld";
+ version = "1.3.0";
+ sha256 = "1zd639d69ha3g1yz7ssvwarwiwyi975ps4i5y8vrarcq2jnnsb6n";
buildDepends = [
- attoparsec attoparsecConduit binary blazeBuilder conduit
- conduitExtra iproute mtl network random resourcet
+ attoparsec binary blazeBuilder conduit conduitExtra iproute mtl
+ network random resourcet
];
testDepends = [
- attoparsec attoparsecConduit binary blazeBuilder conduit
- conduitExtra doctest hspec iproute mtl network random resourcet
+ attoparsec binary blazeBuilder conduit conduitExtra doctest hspec
+ iproute mtl network random resourcet
];
testTarget = "spec";
meta = {
diff --git a/pkgs/development/libraries/haskell/dual-tree/default.nix b/pkgs/development/libraries/haskell/dual-tree/default.nix
index 120fac409f0..2f47a96b853 100644
--- a/pkgs/development/libraries/haskell/dual-tree/default.nix
+++ b/pkgs/development/libraries/haskell/dual-tree/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "dual-tree";
- version = "0.2.0.3";
- sha256 = "17l0jjxi8lj17hbn73wg252gdpbnp81aay7xlmx42g99pj377bmb";
+ version = "0.2.0.4";
+ sha256 = "0visavx0zqgmcjcq07vfhk6dn867269w2gxa8nvc79gya56c6wdp";
buildDepends = [ monoidExtras newtype semigroups ];
jailbreak = true;
meta = {
diff --git a/pkgs/development/libraries/haskell/either/default.nix b/pkgs/development/libraries/haskell/either/default.nix
index 75e29603e5e..e7bbb47a47f 100644
--- a/pkgs/development/libraries/haskell/either/default.nix
+++ b/pkgs/development/libraries/haskell/either/default.nix
@@ -1,14 +1,14 @@
-{ cabal, monadControl, MonadRandom, mtl, semigroupoids, semigroups
-, transformers, transformersBase
+{ cabal, exceptions, free, monadControl, MonadRandom, mtl
+, semigroupoids, semigroups, transformers, transformersBase
}:
cabal.mkDerivation (self: {
pname = "either";
- version = "4.1.2";
- sha256 = "1c2dp22al9qq2w1xks5s3n8dcan9wpashvn24i4g8avs8yfrr5v4";
+ version = "4.3.0.1";
+ sha256 = "1ib6288gxzqfm2y198dzhhq588mlwqxm07pcrj4h66g1mcy54q1f";
buildDepends = [
- monadControl MonadRandom mtl semigroupoids semigroups transformers
- transformersBase
+ exceptions free monadControl MonadRandom mtl semigroupoids
+ semigroups transformers transformersBase
];
noHaddock = self.stdenv.lib.versionOlder self.ghc.version "7.6";
meta = {
diff --git a/pkgs/development/libraries/haskell/ekg-core/default.nix b/pkgs/development/libraries/haskell/ekg-core/default.nix
index 6c332f832cd..759a6040746 100644
--- a/pkgs/development/libraries/haskell/ekg-core/default.nix
+++ b/pkgs/development/libraries/haskell/ekg-core/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "ekg-core";
- version = "0.1.0.0";
- sha256 = "19ghqj9zbb198d45bw7k9mlf2z57yq74wgbkp62b9li2ndbcpdzh";
+ version = "0.1.0.1";
+ sha256 = "1zha9r43nalxdw22s79mf89fwfzi8lq0q9ldhw7f6c63dnwxyjja";
buildDepends = [ text unorderedContainers ];
meta = {
homepage = "https://github.com/tibbe/ekg-core";
diff --git a/pkgs/development/libraries/haskell/enclosed-exceptions/default.nix b/pkgs/development/libraries/haskell/enclosed-exceptions/default.nix
index 113c454d6db..5def0b895f0 100644
--- a/pkgs/development/libraries/haskell/enclosed-exceptions/default.nix
+++ b/pkgs/development/libraries/haskell/enclosed-exceptions/default.nix
@@ -1,16 +1,17 @@
{ cabal, async, deepseq, hspec, liftedBase, monadControl
-, QuickCheck, transformers
+, QuickCheck, transformers, transformersBase
}:
cabal.mkDerivation (self: {
pname = "enclosed-exceptions";
- version = "1.0.0.1";
- sha256 = "0imq5kp45yfkhkz51ld869pf9hnlkbh92nk0aig1z8cc6akjnjw0";
+ version = "1.0.0.2";
+ sha256 = "1jbgqqavkhz2x5br17bdhv17rcmyi7a5mxplakhgyyg73wkjq04h";
buildDepends = [
- async deepseq liftedBase monadControl transformers
+ async deepseq liftedBase monadControl transformers transformersBase
];
testDepends = [
async deepseq hspec liftedBase monadControl QuickCheck transformers
+ transformersBase
];
meta = {
homepage = "https://github.com/jcristovao/enclosed-exceptions";
diff --git a/pkgs/development/libraries/haskell/encoding/default.nix b/pkgs/development/libraries/haskell/encoding/default.nix
index 030e2da8364..d9f8710f7c5 100644
--- a/pkgs/development/libraries/haskell/encoding/default.nix
+++ b/pkgs/development/libraries/haskell/encoding/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "encoding";
- version = "0.7";
- sha256 = "1h6yki4d3912sr8nsk1cff2pdvzw8ys6xnzi97b5ay1f8i28bmi5";
+ version = "0.7.0.1";
+ sha256 = "18s6cfcjwjx5dja14rf35rx71cbpr8ylg4x29ffx2blsk8ib9zxh";
buildDepends = [
binary extensibleExceptions HaXml mtl regexCompat
];
diff --git a/pkgs/development/libraries/haskell/entropy/default.nix b/pkgs/development/libraries/haskell/entropy/default.nix
index f2154ddddf7..5c494f4a45d 100644
--- a/pkgs/development/libraries/haskell/entropy/default.nix
+++ b/pkgs/development/libraries/haskell/entropy/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "entropy";
- version = "0.2.2.4";
- sha256 = "1cjmpb0rh1ib4j9mwmf1irn401vmjawxkshxdmmb4643rmcgx1gm";
+ version = "0.3.2";
+ sha256 = "1kk0vmfmfqcsw0pzbii9rvz32fvhvxqpn6p6jw6q2x33z6gm5f9x";
meta = {
homepage = "https://github.com/TomMD/entropy";
description = "A platform independent entropy source";
diff --git a/pkgs/development/libraries/haskell/event-list/default.nix b/pkgs/development/libraries/haskell/event-list/default.nix
index 16b73d9bfb3..5305cd87d7d 100644
--- a/pkgs/development/libraries/haskell/event-list/default.nix
+++ b/pkgs/development/libraries/haskell/event-list/default.nix
@@ -1,12 +1,14 @@
-{ cabal, nonNegative, QuickCheck, transformers, utilityHt }:
+{ cabal, nonNegative, QuickCheck, random, transformers, utilityHt
+}:
cabal.mkDerivation (self: {
pname = "event-list";
- version = "0.1.0.2";
- sha256 = "01j48871nijhkbqdsfvbvq01yr9b5a056fn03ccgazikfsd368ri";
- isLibrary = true;
- isExecutable = true;
+ version = "0.1.1.1";
+ sha256 = "16qrjvn8z2nlpfp3xlgwsg2abn7b33n3z673qs5k6ashfbkdy5ja";
buildDepends = [ nonNegative QuickCheck transformers utilityHt ];
+ testDepends = [
+ nonNegative QuickCheck random transformers utilityHt
+ ];
meta = {
homepage = "http://code.haskell.org/~thielema/event-list/";
description = "Event lists with relative or absolute time stamps";
diff --git a/pkgs/development/libraries/haskell/exception-mtl/default.nix b/pkgs/development/libraries/haskell/exception-mtl/default.nix
index 2c64598d1d0..5799a94334e 100644
--- a/pkgs/development/libraries/haskell/exception-mtl/default.nix
+++ b/pkgs/development/libraries/haskell/exception-mtl/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "exception-mtl";
- version = "0.3.0.3";
- sha256 = "1mmkp16c5ixknhm69a2zjrs9q0dd5ragmljnjjd6lxpakdlw64ww";
+ version = "0.3.0.4";
+ sha256 = "16airfs3z1qmx42qww22m21fryr8210m7ji5rgkl2amjvj4lllvc";
buildDepends = [ exceptionTransformers mtl transformers ];
meta = {
homepage = "http://www.eecs.harvard.edu/~mainland/";
diff --git a/pkgs/development/libraries/haskell/extensible-effects/default.nix b/pkgs/development/libraries/haskell/extensible-effects/default.nix
index ba511f0b6a2..eb52756ce3b 100644
--- a/pkgs/development/libraries/haskell/extensible-effects/default.nix
+++ b/pkgs/development/libraries/haskell/extensible-effects/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "extensible-effects";
- version = "1.6.0";
- sha256 = "08g2py6iywwpsr09v6hfhq6ihjp1yq3aibz8jlqhsmagjjjxgfsq";
+ version = "1.7.1";
+ sha256 = "1i7bmyga63svnky03f5xvz63795pjsqp3x7rn9amj55yj11fmp05";
buildDepends = [ transformers transformersBase ];
testDepends = [
HUnit QuickCheck testFramework testFrameworkHunit
diff --git a/pkgs/development/libraries/haskell/failure/default.nix b/pkgs/development/libraries/haskell/failure/default.nix
index 9c0edece302..4181883f7b0 100644
--- a/pkgs/development/libraries/haskell/failure/default.nix
+++ b/pkgs/development/libraries/haskell/failure/default.nix
@@ -2,9 +2,10 @@
cabal.mkDerivation (self: {
pname = "failure";
- version = "0.2.0.2";
- sha256 = "0hvcsn7qx00613f23vvb3vjpjlcy0nfavsai9f6s3yvmyssk5kfv";
+ version = "0.2.0.3";
+ sha256 = "0jimc2x46zq7wnmzfbnqi67jl8yhbvr0fa65ljlc9p3fns9mca3p";
buildDepends = [ transformers ];
+ jailbreak = true;
meta = {
homepage = "http://www.haskell.org/haskellwiki/Failure";
description = "A simple type class for success/failure computations. (deprecated)";
diff --git a/pkgs/development/libraries/haskell/force-layout/default.nix b/pkgs/development/libraries/haskell/force-layout/default.nix
index a336c2a7e2b..55437747f8b 100644
--- a/pkgs/development/libraries/haskell/force-layout/default.nix
+++ b/pkgs/development/libraries/haskell/force-layout/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "force-layout";
- version = "0.3.0.3";
- sha256 = "0xix9syfiya5wx0iwzs7sp3ksqyp15vjlpir71x8md8v0hkrnh5a";
+ version = "0.3.0.5";
+ sha256 = "01wk8zygw9d3r5dwbycyab82kfk8s05ynnajb6kfjv7i09s9sgcb";
buildDepends = [
dataDefaultClass lens vectorSpace vectorSpacePoints
];
diff --git a/pkgs/development/libraries/haskell/free/default.nix b/pkgs/development/libraries/haskell/free/default.nix
index 9d84bf87435..b445bf49448 100644
--- a/pkgs/development/libraries/haskell/free/default.nix
+++ b/pkgs/development/libraries/haskell/free/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "free";
- version = "4.7.1";
- sha256 = "14qvc153g7n8fkl2giyyya8l7fs4limgnm18hdw5dpj841kwxgzm";
+ version = "4.9";
+ sha256 = "01pa9ax9i4pkh9a5achndx5s7sxvhnk6rm57g8rzav79hzsr4cnx";
buildDepends = [
bifunctors comonad distributive mtl preludeExtras profunctors
semigroupoids semigroups transformers
diff --git a/pkgs/development/libraries/haskell/fuzzcheck/default.nix b/pkgs/development/libraries/haskell/fuzzcheck/default.nix
new file mode 100644
index 00000000000..a1da7f8ebbf
--- /dev/null
+++ b/pkgs/development/libraries/haskell/fuzzcheck/default.nix
@@ -0,0 +1,19 @@
+{ cabal, hspec, hspecExpectations, HUnit, liftedBase, monadControl
+, QuickCheck, random, transformers
+}:
+
+cabal.mkDerivation (self: {
+ pname = "fuzzcheck";
+ version = "0.1.1";
+ sha256 = "0qfr4f0b50l368b45yzwhqd4g2y1kvfrfj4hr84cdxcwdrwn9mpc";
+ buildDepends = [
+ liftedBase monadControl QuickCheck random transformers
+ ];
+ testDepends = [ hspec hspecExpectations HUnit QuickCheck ];
+ meta = {
+ homepage = "https://github.com/fpco/fuzzcheck";
+ description = "A simple checker for stress testing monadic code";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ };
+})
diff --git a/pkgs/development/libraries/haskell/ghc-mod/default.nix b/pkgs/development/libraries/haskell/ghc-mod/default.nix
index b83d9de4552..04545dda87e 100644
--- a/pkgs/development/libraries/haskell/ghc-mod/default.nix
+++ b/pkgs/development/libraries/haskell/ghc-mod/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "ghc-mod";
- version = "4.1.1";
- sha256 = "0jsm881khbpa316rvka2ixzmm4kim7w9gbriz94m08b3yj3f00q9";
+ version = "4.1.2";
+ sha256 = "0xdpy61dc56zvpgr2z9cdyd85d65l426vnbfgsw6w494w0bp3sh7";
isLibrary = true;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/development/libraries/haskell/ghc-vis/default.nix b/pkgs/development/libraries/haskell/ghc-vis/default.nix
index 40700b52f61..a15ed9d1c47 100644
--- a/pkgs/development/libraries/haskell/ghc-vis/default.nix
+++ b/pkgs/development/libraries/haskell/ghc-vis/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "ghc-vis";
- version = "0.7.2.2";
- sha256 = "0abk76cy9qiblyways1r7jfsj996sj4laawzaz1j9p546plfkbnj";
+ version = "0.7.2.3";
+ sha256 = "1gl059n85yxksnq8y7i1vrsjdg4al6himzpdmw95v61y59bbs6c2";
buildDepends = [
cairo deepseq fgl ghcHeapView graphviz gtk mtl svgcairo text
transformers xdot
diff --git a/pkgs/development/libraries/haskell/ghcjs-dom/default.nix b/pkgs/development/libraries/haskell/ghcjs-dom/default.nix
index 20fc85b95f1..2c9770b20e3 100644
--- a/pkgs/development/libraries/haskell/ghcjs-dom/default.nix
+++ b/pkgs/development/libraries/haskell/ghcjs-dom/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "ghcjs-dom";
- version = "0.0.7";
- sha256 = "1yg2c0slndg3y9bk95xkbgl8zp4lmcgw9wk3jkk1sdizn3y3yggq";
+ version = "0.0.9";
+ sha256 = "0vphhm9wr80p4brcjzhmp2kh0a5rlwzif26w2q054fshxa97kv2a";
buildDepends = [ ghcjsBase mtl ];
meta = {
description = "DOM library that supports both GHCJS and WebKitGTK";
diff --git a/pkgs/development/libraries/haskell/haskeline/default.nix b/pkgs/development/libraries/haskell/haskeline/default.nix
index 83e49e746c6..bff64a72f69 100644
--- a/pkgs/development/libraries/haskell/haskeline/default.nix
+++ b/pkgs/development/libraries/haskell/haskeline/default.nix
@@ -2,10 +2,11 @@
cabal.mkDerivation (self: {
pname = "haskeline";
- version = "0.7.1.2";
- sha256 = "178hzal5gqw3rmgijv9ph9xa6d4sld279z4a8cjyx3hv4azciwr4";
+ version = "0.7.1.3";
+ sha256 = "1bwyfn7y9mi18g7zxz8wxjkld51azlfbxypxbiqdinpm2fdl63mi";
buildDepends = [ filepath terminfo transformers utf8String ];
configureFlags = "-fterminfo";
+ jailbreak = true;
meta = {
homepage = "http://trac.haskell.org/haskeline";
description = "A command-line interface for user input, written in Haskell";
diff --git a/pkgs/development/libraries/haskell/haskell-packages/default.nix b/pkgs/development/libraries/haskell/haskell-packages/default.nix
index 4081e246a34..168c6babb3d 100644
--- a/pkgs/development/libraries/haskell/haskell-packages/default.nix
+++ b/pkgs/development/libraries/haskell/haskell-packages/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "haskell-packages";
- version = "0.2.3.4";
- sha256 = "0qj5n1yc481n5c8gi5dgk22pxj58gf7z30621spr7gwlv001sk1y";
+ version = "0.2.4";
+ sha256 = "1ygpa2k0hyx2xwny33kr0h847zvvsp4z1pwqrd92sf7vzpyz5nch";
buildDepends = [
aeson Cabal deepseq either filepath haskellSrcExts hseCpp mtl
optparseApplicative tagged
diff --git a/pkgs/development/libraries/haskell/hedis/default.nix b/pkgs/development/libraries/haskell/hedis/default.nix
new file mode 100644
index 00000000000..c4e34b2d361
--- /dev/null
+++ b/pkgs/development/libraries/haskell/hedis/default.nix
@@ -0,0 +1,22 @@
+{ cabal, attoparsec, BoundedChan, bytestringLexing, HUnit, mtl
+, network, resourcePool, testFramework, testFrameworkHunit, time
+, vector
+}:
+
+cabal.mkDerivation (self: {
+ pname = "hedis";
+ version = "0.6.5";
+ sha256 = "1kn8i49yxms1bpjwpy4m8vyycgi755zvy4zc66w068nmnd1kiykh";
+ buildDepends = [
+ attoparsec BoundedChan bytestringLexing mtl network resourcePool
+ time vector
+ ];
+ testDepends = [ HUnit mtl testFramework testFrameworkHunit time ];
+ meta = {
+ homepage = "https://github.com/informatikr/hedis";
+ description = "Client library for the Redis datastore: supports full command set, pipelining";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ };
+ doCheck = false;
+})
diff --git a/pkgs/development/libraries/haskell/heist/default.nix b/pkgs/development/libraries/haskell/heist/default.nix
index faf5212a794..77128310d52 100644
--- a/pkgs/development/libraries/haskell/heist/default.nix
+++ b/pkgs/development/libraries/haskell/heist/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "heist";
- version = "0.13.1";
- sha256 = "0v9c5hhybn617nmjswqkjrf7bjb5073achfi05ivw1gblbvsj0ir";
+ version = "0.13.1.2";
+ sha256 = "0c80lf00n3iv55mw4p61bjx14gildvxnvfdaa755ghkg1wcd59s5";
buildDepends = [
aeson attoparsec blazeBuilder blazeHtml directoryTree dlist errors
filepath hashable MonadCatchIOTransformers mtl random text time
diff --git a/pkgs/development/libraries/haskell/highlighting-kate/default.nix b/pkgs/development/libraries/haskell/highlighting-kate/default.nix
index 0f984c50e5f..6418c7f0326 100644
--- a/pkgs/development/libraries/haskell/highlighting-kate/default.nix
+++ b/pkgs/development/libraries/haskell/highlighting-kate/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "highlighting-kate";
- version = "0.5.8.1";
- sha256 = "10hbsra6ifjj765shf6x4c8kgb5bmv3zcgya3lcswvwa9xn78h9p";
+ version = "0.5.8.2";
+ sha256 = "1c85yfzi3ri3j1fmqvd4pc4pp95jpm62a2nbbibpybl2h88dsjsb";
isLibrary = true;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/development/libraries/haskell/hit/default.nix b/pkgs/development/libraries/haskell/hit/default.nix
index 9e1a48d94e6..7e5b30ebbad 100644
--- a/pkgs/development/libraries/haskell/hit/default.nix
+++ b/pkgs/development/libraries/haskell/hit/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "hit";
- version = "0.6.0";
- sha256 = "1haslqhnpfdll5cl3vq1y03h916lydhc9mq4gagm9qzjfjqv54k2";
+ version = "0.6.1";
+ sha256 = "175i6gag596dy341jlr5sjj55qcaqgymrcr1czcaigsxsn5yx8b9";
isLibrary = true;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/development/libraries/haskell/hoauth2/default.nix b/pkgs/development/libraries/haskell/hoauth2/default.nix
index 77e84842723..fa0a913e181 100644
--- a/pkgs/development/libraries/haskell/hoauth2/default.nix
+++ b/pkgs/development/libraries/haskell/hoauth2/default.nix
@@ -1,14 +1,16 @@
-{ cabal, aeson, bytestringShow, conduit, httpConduit, httpTypes
-, monadControl, mtl, random, resourcet, text, transformers
+{ cabal, aeson, bytestringShow, httpConduit, httpTypes
+, monadControl, mtl, random, text, transformers
}:
cabal.mkDerivation (self: {
pname = "hoauth2";
- version = "0.3.6.1";
- sha256 = "0nfh77fxyl8vbdnrrp28hsl1zhxhmg8mjn0gfvc2i3w5rd6j0lda";
+ version = "0.4.0";
+ sha256 = "1499rgcn3h4921x21s6l0spnjf3wvmsaa07pimgjgb4rjib3z2d5";
+ isLibrary = true;
+ isExecutable = true;
buildDepends = [
- aeson bytestringShow conduit httpConduit httpTypes monadControl mtl
- random resourcet text transformers
+ aeson bytestringShow httpConduit httpTypes monadControl mtl random
+ text transformers
];
meta = {
homepage = "https://github.com/freizl/hoauth2";
diff --git a/pkgs/development/libraries/haskell/holy-project/default.nix b/pkgs/development/libraries/haskell/holy-project/default.nix
new file mode 100644
index 00000000000..4e751d9c003
--- /dev/null
+++ b/pkgs/development/libraries/haskell/holy-project/default.nix
@@ -0,0 +1,30 @@
+{ cabal, aeson, ansiTerminal, Cabal, filepath, hastache
+, httpConduit, HUnit, lens, QuickCheck, random, smallcheck, split
+, syb, tasty, tastyHunit, tastyQuickcheck, tastySmallcheck, text
+, time
+, fetchpatch}:
+
+cabal.mkDerivation (self: {
+ pname = "holy-project";
+ version = "0.1.1.0";
+ sha256 = "1dsyhgjcp54199zfazzzwsggxpj2dsbzfb64v6l3jz7qaapxnj9i";
+ isLibrary = true;
+ isExecutable = true;
+ patches = [ (fetchpatch { url = "https://github.com/yogsototh/holy-project/pull/3.patch"; sha256 = "1ndyhfrsvn94zxzyq1w4504gz91yfv33375933qmz3wdfkc3rqf0"; }) ];
+ buildDepends = [
+ aeson ansiTerminal Cabal filepath hastache httpConduit HUnit lens
+ QuickCheck random smallcheck split syb tasty tastyHunit
+ tastyQuickcheck tastySmallcheck text time
+ ];
+ testDepends = [
+ Cabal HUnit QuickCheck smallcheck tasty tastyHunit tastyQuickcheck
+ tastySmallcheck
+ ];
+ meta = {
+ homepage = "http://github.com/yogsototh/holy-project";
+ description = "Start your Haskell project with cabal, git and tests";
+ license = self.stdenv.lib.licenses.mit;
+ platforms = self.ghc.meta.platforms;
+ maintainers = [ self.stdenv.lib.maintainers.tomberek ];
+ };
+})
diff --git a/pkgs/development/libraries/haskell/hoogle/default.nix b/pkgs/development/libraries/haskell/hoogle/default.nix
index 9c3ed9e778c..624cc931981 100644
--- a/pkgs/development/libraries/haskell/hoogle/default.nix
+++ b/pkgs/development/libraries/haskell/hoogle/default.nix
@@ -2,6 +2,7 @@
, cmdargs, conduit, deepseq, filepath, haskellSrcExts, httpTypes
, parsec, QuickCheck, random, resourcet, safe, shake, tagsoup, text
, time, transformers, uniplate, vector, vectorAlgorithms, wai, warp
+, fetchurl
}:
cabal.mkDerivation (self: {
@@ -18,6 +19,9 @@ cabal.mkDerivation (self: {
];
testDepends = [ filepath ];
testTarget = "--test-option=--no-net";
+ patches = [ (fetchurl { url = "https://github.com/ndmitchell/hoogle/commit/5fc294f2b5412fda107c7700f4d833b52f26184c.diff";
+ sha256 = "1fn52g90p2jsy87gf5rqrcg49s8hfwway5hi4v9i2rpg5mzxaq3i"; })
+ ];
meta = {
homepage = "http://www.haskell.org/hoogle/";
description = "Haskell API Search";
diff --git a/pkgs/development/libraries/haskell/hoogle/local.nix b/pkgs/development/libraries/haskell/hoogle/local.nix
index 337cd4c8154..9f56d028c59 100644
--- a/pkgs/development/libraries/haskell/hoogle/local.nix
+++ b/pkgs/development/libraries/haskell/hoogle/local.nix
@@ -38,13 +38,13 @@ cabal.mkDerivation (self: rec {
sha256 = "1rhr7xh4x9fgflcszbsl176r8jq6rm81bwzmbz73f3pa1zf1v0zc";
isLibrary = true;
isExecutable = true;
- buildInputs = [ self.ghc Cabal parallel perl wget rehoo ]
- ++ self.extraBuildInputs ++ packages;
+ buildInputs = [self.ghc Cabal] ++ self.extraBuildInputs
+ ++ [ parallel perl wget rehoo ] ++ packages;
buildDepends = [
aeson binary blazeBuilder Cabal caseInsensitive cmdargs conduit
deepseq filepath haskellSrcExts httpTypes parsec QuickCheck random
resourcet safe shake tagsoup text time transformers uniplate vector
- vectorAlgorithms wai warp parallel perl wget rehoo
+ vectorAlgorithms wai warp
];
testDepends = [ filepath ];
testTarget = "--test-option=--no-net";
@@ -112,6 +112,6 @@ cabal.mkDerivation (self: rec {
description = "Haskell API Search";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
- maintainers = [ self.stdenv.lib.maintainers.andres ];
+ maintainers = [ self.stdenv.lib.maintainers.jwiegley ];
};
})
diff --git a/pkgs/development/libraries/haskell/hourglass/default.nix b/pkgs/development/libraries/haskell/hourglass/default.nix
index 3fc43ef6348..f7569ba3fa5 100644
--- a/pkgs/development/libraries/haskell/hourglass/default.nix
+++ b/pkgs/development/libraries/haskell/hourglass/default.nix
@@ -1,15 +1,12 @@
-{ cabal, deepseq, HUnit, mtl, QuickCheck, testFramework
-, testFrameworkHunit, testFrameworkQuickcheck2, time
-}:
+{ cabal, deepseq, mtl, tasty, tastyHunit, tastyQuickcheck, time }:
cabal.mkDerivation (self: {
pname = "hourglass";
- version = "0.1.2";
- sha256 = "18jvl4f8vfabvd9vlhxjjlswc80x8w4h6gdflvzdkjrknnyk118j";
+ version = "0.2.2";
+ sha256 = "015ipy9adi67nfddjsw9c0ihn0banghgawjli0lgrmiyjz01610c";
buildDepends = [ deepseq ];
testDepends = [
- deepseq HUnit mtl QuickCheck testFramework testFrameworkHunit
- testFrameworkQuickcheck2 time
+ deepseq mtl tasty tastyHunit tastyQuickcheck time
];
meta = {
homepage = "https://github.com/vincenthz/hs-hourglass";
diff --git a/pkgs/development/libraries/haskell/hsimport/default.nix b/pkgs/development/libraries/haskell/hsimport/default.nix
index ca2808e5aba..fdb3304ccd8 100644
--- a/pkgs/development/libraries/haskell/hsimport/default.nix
+++ b/pkgs/development/libraries/haskell/hsimport/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "hsimport";
- version = "0.3";
- sha256 = "124dimaa8v4x6vlh51v2r7569d8122l42q19bpzgqih33vw2djcs";
+ version = "0.4";
+ sha256 = "1pkj6cfdfyrcrm6gr4a43y6s4qhwpli6zgnlx4ycmhs3yh5kay60";
isLibrary = true;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/development/libraries/haskell/hsini/default.nix b/pkgs/development/libraries/haskell/hsini/default.nix
index 73368a1dd6c..52d8a26c92a 100644
--- a/pkgs/development/libraries/haskell/hsini/default.nix
+++ b/pkgs/development/libraries/haskell/hsini/default.nix
@@ -11,6 +11,7 @@ cabal.mkDerivation (self: {
HUnit mtl parsec QuickCheck testFramework testFrameworkHunit
testFrameworkQuickcheck2 testFrameworkTh
];
+ jailbreak = true;
meta = {
description = "Package for user configuration files (INI)";
license = self.stdenv.lib.licenses.bsd3;
diff --git a/pkgs/development/libraries/haskell/hspec-meta/default.nix b/pkgs/development/libraries/haskell/hspec-meta/default.nix
index 612f4989848..dbc6369dc7e 100644
--- a/pkgs/development/libraries/haskell/hspec-meta/default.nix
+++ b/pkgs/development/libraries/haskell/hspec-meta/default.nix
@@ -1,17 +1,17 @@
-{ cabal, ansiTerminal, deepseq, filepath, hspecExpectations, HUnit
-, QuickCheck, quickcheckIo, random, setenv, tfRandom, time
+{ cabal, ansiTerminal, async, deepseq, filepath, hspecExpectations
+, HUnit, QuickCheck, quickcheckIo, random, setenv, tfRandom, time
, transformers
}:
cabal.mkDerivation (self: {
pname = "hspec-meta";
- version = "1.9.5";
- sha256 = "0y39z9r5icz62dd7hvr3lwdcqas526w4m5rcd1468fp7rlz3402j";
+ version = "1.10.0";
+ sha256 = "1x32wgrd1i6rs6790dbr51j9g6abjpcf951cx3nmm4zdcwblyi6a";
isLibrary = true;
isExecutable = true;
buildDepends = [
- ansiTerminal deepseq filepath hspecExpectations HUnit QuickCheck
- quickcheckIo random setenv tfRandom time transformers
+ ansiTerminal async deepseq filepath hspecExpectations HUnit
+ QuickCheck quickcheckIo random setenv tfRandom time transformers
];
doCheck = false;
meta = {
diff --git a/pkgs/development/libraries/haskell/hspec/default.nix b/pkgs/development/libraries/haskell/hspec/default.nix
index b6d9365446d..c0f5e4c1468 100644
--- a/pkgs/development/libraries/haskell/hspec/default.nix
+++ b/pkgs/development/libraries/haskell/hspec/default.nix
@@ -1,22 +1,22 @@
-{ cabal, ansiTerminal, deepseq, doctest, filepath, ghcPaths
+{ cabal, ansiTerminal, async, deepseq, doctest, filepath, ghcPaths
, hspecExpectations, hspecMeta, HUnit, QuickCheck, quickcheckIo
, random, setenv, silently, tfRandom, time, transformers
}:
cabal.mkDerivation (self: {
pname = "hspec";
- version = "1.9.5";
- sha256 = "0y9gbm5rwwn80yzdllh1amaih4vxa61i9dzym88jr2kkwjrhxay4";
+ version = "1.10.0";
+ sha256 = "0lqc4sxl2c1rgnmp4a2fikc78f9caxswkmxfi8wajxlwaj58sy8p";
isLibrary = true;
isExecutable = true;
buildDepends = [
- ansiTerminal deepseq filepath hspecExpectations HUnit QuickCheck
- quickcheckIo random setenv tfRandom time transformers
+ ansiTerminal async deepseq filepath hspecExpectations HUnit
+ QuickCheck quickcheckIo random setenv tfRandom time transformers
];
testDepends = [
- ansiTerminal deepseq doctest filepath ghcPaths hspecExpectations
- hspecMeta HUnit QuickCheck quickcheckIo random setenv silently
- tfRandom time transformers
+ ansiTerminal async deepseq doctest filepath ghcPaths
+ hspecExpectations hspecMeta HUnit QuickCheck quickcheckIo random
+ setenv silently tfRandom time transformers
];
doCheck = false;
meta = {
diff --git a/pkgs/development/libraries/haskell/hspec2/default.nix b/pkgs/development/libraries/haskell/hspec2/default.nix
new file mode 100644
index 00000000000..88ecd25ce01
--- /dev/null
+++ b/pkgs/development/libraries/haskell/hspec2/default.nix
@@ -0,0 +1,27 @@
+{ cabal, ansiTerminal, async, deepseq, doctest, filepath, ghcPaths
+, hspecExpectations, hspecMeta, HUnit, QuickCheck, quickcheckIo
+, random, setenv, silently, tfRandom, time, transformers
+}:
+
+cabal.mkDerivation (self: {
+ pname = "hspec2";
+ version = "0.3.3";
+ sha256 = "0rza34smm30h6jfdb4f4is45j5bp59nq8bn34l1bmv3aiw9kjbmz";
+ isLibrary = true;
+ isExecutable = true;
+ buildDepends = [
+ ansiTerminal async deepseq filepath hspecExpectations HUnit
+ QuickCheck quickcheckIo random setenv tfRandom time transformers
+ ];
+ testDepends = [
+ ansiTerminal async deepseq doctest filepath ghcPaths
+ hspecExpectations hspecMeta HUnit QuickCheck quickcheckIo random
+ setenv silently tfRandom time transformers
+ ];
+ meta = {
+ homepage = "http://hspec.github.io/";
+ description = "Alpha version of Hspec 2.0";
+ license = self.stdenv.lib.licenses.mit;
+ platforms = self.ghc.meta.platforms;
+ };
+})
diff --git a/pkgs/development/libraries/haskell/http-client/default.nix b/pkgs/development/libraries/haskell/http-client/default.nix
index b447d9a1f11..be261bf6027 100644
--- a/pkgs/development/libraries/haskell/http-client/default.nix
+++ b/pkgs/development/libraries/haskell/http-client/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "http-client";
- version = "0.3.3";
- sha256 = "001nmy6f57l2f7gc4mchz1gwam28qldkwmcxzs8jnqwczcirgk38";
+ version = "0.3.3.1";
+ sha256 = "0zzh4vr563f8rb51b64gcwmal7gswif8ndsf2x5kw6f7q55md0dw";
buildDepends = [
base64Bytestring blazeBuilder caseInsensitive cookie
dataDefaultClass deepseq exceptions filepath httpTypes mimeTypes
diff --git a/pkgs/development/libraries/haskell/http-conduit/default.nix b/pkgs/development/libraries/haskell/http-conduit/default.nix
index fc6762c877e..918993e6be8 100644
--- a/pkgs/development/libraries/haskell/http-conduit/default.nix
+++ b/pkgs/development/libraries/haskell/http-conduit/default.nix
@@ -2,13 +2,13 @@
, connection, cookie, dataDefaultClass, hspec, httpClient
, httpClientTls, httpTypes, HUnit, liftedBase, monadControl, mtl
, network, networkConduit, resourcet, streamingCommons, text, time
-, transformers, utf8String, wai, warp, warpTls
+, transformers, utf8String, wai, waiConduit, warp, warpTls
}:
cabal.mkDerivation (self: {
pname = "http-conduit";
- version = "2.1.2";
- sha256 = "11g79yfgm2fzcy7gwk9f5np4p6fknsbjkm858v8khb4a1gmbrqvn";
+ version = "2.1.2.1";
+ sha256 = "17bq72qkgn7sh31ad5w7gqf15dlzl027nmx8k7kmm268mf9bz0b5";
buildDepends = [
conduit httpClient httpClientTls httpTypes liftedBase monadControl
mtl resourcet transformers
@@ -17,7 +17,7 @@ cabal.mkDerivation (self: {
blazeBuilder caseInsensitive conduit conduitExtra connection cookie
dataDefaultClass hspec httpClient httpTypes HUnit liftedBase
network networkConduit streamingCommons text time transformers
- utf8String wai warp warpTls
+ utf8String wai waiConduit warp warpTls
];
doCheck = false;
meta = {
diff --git a/pkgs/development/libraries/haskell/http-reverse-proxy/default.nix b/pkgs/development/libraries/haskell/http-reverse-proxy/default.nix
index ec34cc98d74..170d15aa707 100644
--- a/pkgs/development/libraries/haskell/http-reverse-proxy/default.nix
+++ b/pkgs/development/libraries/haskell/http-reverse-proxy/default.nix
@@ -7,13 +7,13 @@
cabal.mkDerivation (self: {
pname = "http-reverse-proxy";
- version = "0.3.1.7";
- sha256 = "0fhndk9zjv1kcqgrhj42brfg96p7flrcpy609asba1vc0i9213j4";
+ version = "0.4.0.1";
+ sha256 = "0gygmykxsy6rs3xmwb24s5c3brmabdgxb1w0ak82vyvfvsnqxz1h";
buildDepends = [
async blazeBuilder caseInsensitive conduit conduitExtra
dataDefaultClass httpClient httpTypes liftedBase monadControl
- network networkConduit resourcet streamingCommons text transformers
- wai waiLogger word8
+ network resourcet streamingCommons text transformers wai waiLogger
+ word8
];
testDepends = [
blazeBuilder conduit conduitExtra hspec httpConduit httpTypes
diff --git a/pkgs/development/libraries/haskell/io-memoize/default.nix b/pkgs/development/libraries/haskell/io-memoize/default.nix
new file mode 100644
index 00000000000..3343ee9cbe9
--- /dev/null
+++ b/pkgs/development/libraries/haskell/io-memoize/default.nix
@@ -0,0 +1,13 @@
+{ cabal, async }:
+
+cabal.mkDerivation (self: {
+ pname = "io-memoize";
+ version = "1.1.0.0";
+ sha256 = "1xnrzrvs5c3lrzdxm4hrqbh8chl8sxv2j98b28na73w8b7yv2agm";
+ buildDepends = [ async ];
+ meta = {
+ description = "Memoize IO actions";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ };
+})
diff --git a/pkgs/development/libraries/haskell/io-streams/default.nix b/pkgs/development/libraries/haskell/io-streams/default.nix
index 4813771cb53..864c0cdddae 100644
--- a/pkgs/development/libraries/haskell/io-streams/default.nix
+++ b/pkgs/development/libraries/haskell/io-streams/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "io-streams";
- version = "1.1.4.4";
- sha256 = "07kmmjn1bsjzfi27fk6fx56pchks866qwrxkyvwihfvd96wgqggd";
+ version = "1.1.4.6";
+ sha256 = "0vn6vlgfapmyd9y87i9i0y480w8w81xd3lnhh66a6lalskd4bjdw";
buildDepends = [
attoparsec blazeBuilder network primitive text time transformers
vector zlibBindings
diff --git a/pkgs/development/libraries/haskell/kan-extensions/default.nix b/pkgs/development/libraries/haskell/kan-extensions/default.nix
index d4b5c5752e0..fae884b2922 100644
--- a/pkgs/development/libraries/haskell/kan-extensions/default.nix
+++ b/pkgs/development/libraries/haskell/kan-extensions/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "kan-extensions";
- version = "4.0.2";
- sha256 = "05invi86i2a115jdy2nzdkc0i6g170j0xcxycw2z2qjigvjsaizi";
+ version = "4.0.3";
+ sha256 = "05zqlxm6i66d996jcpjhnmij28a4zwc0l0nc9cyxamfwmyd9754b";
buildDepends = [
adjunctions comonad contravariant distributive free mtl pointed
semigroupoids speculation transformers
diff --git a/pkgs/development/libraries/haskell/keys/default.nix b/pkgs/development/libraries/haskell/keys/default.nix
index 570c88b1fbd..d97066e57c7 100644
--- a/pkgs/development/libraries/haskell/keys/default.nix
+++ b/pkgs/development/libraries/haskell/keys/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "keys";
- version = "3.10";
- sha256 = "1s2xkzvaqk507wrgabpxli8g8n83arflmdhxq40f7qkvyflhhmyh";
+ version = "3.10.1";
+ sha256 = "007lbpfan5n1cgswsrzc4xjv0kjmjr9vn4lpqm3gwk3lnfpg8i4n";
buildDepends = [
comonad free semigroupoids semigroups transformers
];
diff --git a/pkgs/development/libraries/haskell/language-c-inline/default.nix b/pkgs/development/libraries/haskell/language-c-inline/default.nix
index 691c1e70662..1aef92fe678 100644
--- a/pkgs/development/libraries/haskell/language-c-inline/default.nix
+++ b/pkgs/development/libraries/haskell/language-c-inline/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "language-c-inline";
- version = "0.5.0.0";
- sha256 = "1cyl45bi2d38yyd1ybxippl8mv3hsl1chzn7rqm40fds97h07j2z";
+ version = "0.6.0.0";
+ sha256 = "08a22sr01kch365p5536fv32rxsfmdd6hkhcq1j7vhchjrsy3f6w";
buildDepends = [ filepath languageCQuote mainlandPretty ];
testDepends = [ languageCQuote ];
doCheck = false;
diff --git a/pkgs/development/libraries/haskell/lens/default.nix b/pkgs/development/libraries/haskell/lens/default.nix
index 8576ed1d804..f6f91da7083 100644
--- a/pkgs/development/libraries/haskell/lens/default.nix
+++ b/pkgs/development/libraries/haskell/lens/default.nix
@@ -1,22 +1,22 @@
-{ cabal, aeson, bifunctors, comonad, contravariant, deepseq
-, distributive, doctest, exceptions, filepath, free
+{ cabal, aeson, attoparsec, bifunctors, comonad, contravariant
+, deepseq, distributive, doctest, exceptions, filepath, free
, genericDeriving, hashable, hlint, HUnit, mtl, nats, parallel
, primitive, profunctors, QuickCheck, reflection, scientific
, semigroupoids, semigroups, simpleReflect, split, tagged
, testFramework, testFrameworkHunit, testFrameworkQuickcheck2
, testFrameworkTh, text, transformers, transformersCompat
-, unorderedContainers, utf8String, vector, void, zlib
+, unorderedContainers, vector, void, zlib
}:
cabal.mkDerivation (self: {
pname = "lens";
- version = "4.1.2.1";
- sha256 = "1fi6960m2rvr538mwhrxavvrj8pvjnyw3akcbgaaph5p8f214alw";
+ version = "4.2";
+ sha256 = "0aqhr8akb7wg270jxi1ns3mrpv42cfssi3g2kzyhkjmb39qxpp2w";
buildDepends = [
- aeson bifunctors comonad contravariant distributive exceptions
- filepath free hashable mtl parallel primitive profunctors
- reflection scientific semigroupoids semigroups split tagged text
- transformers transformersCompat unorderedContainers utf8String
+ aeson attoparsec bifunctors comonad contravariant distributive
+ exceptions filepath free hashable mtl parallel primitive
+ profunctors reflection scientific semigroupoids semigroups split
+ tagged text transformers transformersCompat unorderedContainers
vector void zlib
];
testDepends = [
diff --git a/pkgs/development/libraries/haskell/libjenkins/default.nix b/pkgs/development/libraries/haskell/libjenkins/default.nix
index 67f0b698d47..fc7c8b37323 100644
--- a/pkgs/development/libraries/haskell/libjenkins/default.nix
+++ b/pkgs/development/libraries/haskell/libjenkins/default.nix
@@ -1,24 +1,23 @@
{ cabal, async, conduit, doctest, filepath, free, hspec
, hspecExpectationsLens, httpClient, httpConduit, httpTypes, lens
-, monadControl, network, text, transformers, xmlConduit
+, monadControl, network, resourcet, text, transformers, xmlConduit
}:
cabal.mkDerivation (self: {
pname = "libjenkins";
- version = "0.4.2.0";
- sha256 = "11013klk2gvcaf2d2gmi0bf3jg2m82li19szqlwb325kdjmdf546";
- patches = [ ./new-conduit.patch ];
+ version = "0.4.3.0";
+ sha256 = "18z1yaf1a1ncvflxzv96b35d44933yrmsmxv5dr87iyfry28qbnv";
buildDepends = [
async conduit free httpClient httpConduit httpTypes lens
- monadControl network text transformers xmlConduit
+ monadControl network resourcet text transformers xmlConduit
];
testDepends = [
async conduit doctest filepath free hspec hspecExpectationsLens
- httpClient httpConduit httpTypes lens monadControl network text
- transformers xmlConduit
+ httpClient httpConduit httpTypes lens monadControl network
+ resourcet text transformers xmlConduit
];
- doCheck = false;
jailbreak = true;
+ doCheck = false;
meta = {
description = "Jenkins API interface";
license = self.stdenv.lib.licenses.bsd3;
diff --git a/pkgs/development/libraries/haskell/libmpd/default.nix b/pkgs/development/libraries/haskell/libmpd/default.nix
index 2c31b2efea8..e760421d4eb 100644
--- a/pkgs/development/libraries/haskell/libmpd/default.nix
+++ b/pkgs/development/libraries/haskell/libmpd/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "libmpd";
- version = "0.8.0.3";
- sha256 = "0xbbk2rg6awfz5ak20956nriifga81ndk7n58lbbf5i86380akwz";
+ version = "0.8.0.4";
+ sha256 = "0dk723zly9dkwpgp4157d3a559g9j0ndxfdyp85yqcsr987wplqb";
buildDepends = [
attoparsec dataDefault filepath mtl network text time utf8String
];
@@ -13,6 +13,7 @@ cabal.mkDerivation (self: {
dataDefault hspec HUnit mtl network QuickCheck text time utf8String
];
jailbreak = true;
+ doCheck = false;
meta = {
homepage = "http://github.com/joachifm/libmpd-haskell#readme";
description = "An MPD client library";
diff --git a/pkgs/development/libraries/haskell/linear/default.nix b/pkgs/development/libraries/haskell/linear/default.nix
index a1837b4baab..ce9fe66a126 100644
--- a/pkgs/development/libraries/haskell/linear/default.nix
+++ b/pkgs/development/libraries/haskell/linear/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "linear";
- version = "1.10.1.1";
- sha256 = "0falp5mpd9lifzz11dy3lvfph8n0i8n4mh5kk5kg974qvdvjilgq";
+ version = "1.10.1.2";
+ sha256 = "05zbqdcdjq7anng2nymy05wsnk9qpk8mgivqcndbfjpk4l1r9k94";
buildDepends = [
adjunctions binary distributive hashable lens reflection
semigroupoids semigroups tagged transformers unorderedContainers
diff --git a/pkgs/development/libraries/haskell/monad-unify/default.nix b/pkgs/development/libraries/haskell/monad-unify/default.nix
new file mode 100644
index 00000000000..7ee1f8c8704
--- /dev/null
+++ b/pkgs/development/libraries/haskell/monad-unify/default.nix
@@ -0,0 +1,13 @@
+{ cabal, mtl, unorderedContainers }:
+
+cabal.mkDerivation (self: {
+ pname = "monad-unify";
+ version = "0.2.2";
+ sha256 = "1icl4jaa4vc4lb75m6wv4vjvf8b2xx7aziqhsg2pshizdkfxmgwp";
+ buildDepends = [ mtl unorderedContainers ];
+ meta = {
+ description = "Generic first-order unification";
+ license = self.stdenv.lib.licenses.mit;
+ platforms = self.ghc.meta.platforms;
+ };
+})
diff --git a/pkgs/development/libraries/haskell/mongoDB/default.nix b/pkgs/development/libraries/haskell/mongoDB/default.nix
index 448fd3b2f5f..259a8e2fc2d 100644
--- a/pkgs/development/libraries/haskell/mongoDB/default.nix
+++ b/pkgs/development/libraries/haskell/mongoDB/default.nix
@@ -5,8 +5,8 @@
cabal.mkDerivation (self: {
pname = "mongoDB";
- version = "1.4.4";
- sha256 = "11v0k2i0ix67zwm19w1215dslnnqllkc4jlhbs5yva2ix4z7d4gh";
+ version = "1.5.0";
+ sha256 = "0dvy8pa79c26hcngds6nnwnayrhsyz1flj18m9bcyrcvwb5q3dd6";
buildDepends = [
binary bson cryptohash hashtables liftedBase monadControl mtl
network parsec random randomShuffle text transformersBase
diff --git a/pkgs/development/libraries/haskell/mono-traversable/default.nix b/pkgs/development/libraries/haskell/mono-traversable/default.nix
index a296b3d310e..b8acec758de 100644
--- a/pkgs/development/libraries/haskell/mono-traversable/default.nix
+++ b/pkgs/development/libraries/haskell/mono-traversable/default.nix
@@ -5,8 +5,8 @@
cabal.mkDerivation (self: {
pname = "mono-traversable";
- version = "0.6.0";
- sha256 = "1ibf7iz24ic2vz0dvmbn5w06vz73g05ipl2q8f93a6zlkqysrkm4";
+ version = "0.6.0.2";
+ sha256 = "1ckdx8szllk4np5samfdx7l6lzarmfabm8w4210b5m7yms2w98sy";
buildDepends = [
comonad dlist dlistInstances hashable semigroupoids semigroups text
transformers unorderedContainers vector vectorAlgorithms
diff --git a/pkgs/development/libraries/haskell/monoid-extras/default.nix b/pkgs/development/libraries/haskell/monoid-extras/default.nix
index e3be47f16a0..dc4bb6dbb66 100644
--- a/pkgs/development/libraries/haskell/monoid-extras/default.nix
+++ b/pkgs/development/libraries/haskell/monoid-extras/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "monoid-extras";
- version = "0.3.3.3";
- sha256 = "0i4c2yn0kbkqi478x93r2xvl05l4r3x7nyjd47zy3r4bb38qwj89";
+ version = "0.3.3.4";
+ sha256 = "0jbly9zxnsm15a5d3xg7i6w1mpqi4irdc76996xm5slg8bh0cji6";
buildDepends = [ groups semigroupoids semigroups ];
jailbreak = true;
meta = {
diff --git a/pkgs/development/libraries/haskell/mtl/1.1.1.1.nix b/pkgs/development/libraries/haskell/mtl/1.1.1.1.nix
deleted file mode 100644
index d7e6029a4ed..00000000000
--- a/pkgs/development/libraries/haskell/mtl/1.1.1.1.nix
+++ /dev/null
@@ -1,13 +0,0 @@
-{ cabal }:
-
-cabal.mkDerivation (self: {
- pname = "mtl";
- version = "1.1.1.1";
- sha256 = "157gbrgrg0l9r72nq45dkach53yncysif4qglsaql28g37djc4x6";
- meta = {
- description = "Monad transformer library";
- license = self.stdenv.lib.licenses.bsd3;
- platforms = self.ghc.meta.platforms;
- maintainers = [ self.stdenv.lib.maintainers.andres ];
- };
-})
diff --git a/pkgs/development/libraries/haskell/mtl/2.1.3.1.nix b/pkgs/development/libraries/haskell/mtl/2.2.1.nix
similarity index 81%
rename from pkgs/development/libraries/haskell/mtl/2.1.3.1.nix
rename to pkgs/development/libraries/haskell/mtl/2.2.1.nix
index e9fa49510c1..e7147b28767 100644
--- a/pkgs/development/libraries/haskell/mtl/2.1.3.1.nix
+++ b/pkgs/development/libraries/haskell/mtl/2.2.1.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "mtl";
- version = "2.1.3.1";
- sha256 = "1xpn2wjmqbh2cg1yssc6749xpgcqlrrg4iilwqgkcjgvaxlpdbvp";
+ version = "2.2.1";
+ sha256 = "1icdbj2rshzn0m1zz5wa7v3xvkf6qw811p4s7jgqwvx1ydwrvrfa";
buildDepends = [ transformers ];
meta = {
homepage = "http://github.com/ekmett/mtl";
diff --git a/pkgs/development/libraries/haskell/multiplate/default.nix b/pkgs/development/libraries/haskell/multiplate/default.nix
index 14310f50ef6..32626ae68e6 100644
--- a/pkgs/development/libraries/haskell/multiplate/default.nix
+++ b/pkgs/development/libraries/haskell/multiplate/default.nix
@@ -5,6 +5,7 @@ cabal.mkDerivation (self: {
version = "0.0.2";
sha256 = "02pqfkdcv4fn0pmxphg19b3fiazn4hpphfj8xgp77vpy2lczndsw";
buildDepends = [ transformers ];
+ jailbreak = true;
meta = {
homepage = "http://haskell.org/haskellwiki/Multiplate";
description = "Lightweight generic library for mutually recursive data types";
diff --git a/pkgs/development/libraries/haskell/non-negative/default.nix b/pkgs/development/libraries/haskell/non-negative/default.nix
index a50710791db..ae025f6cc64 100644
--- a/pkgs/development/libraries/haskell/non-negative/default.nix
+++ b/pkgs/development/libraries/haskell/non-negative/default.nix
@@ -2,11 +2,10 @@
cabal.mkDerivation (self: {
pname = "non-negative";
- version = "0.1";
- sha256 = "0aebb6f5518191a02b11230798444997a03b84d63d2aaa6c38cac6718f6c351c";
- isLibrary = true;
- isExecutable = true;
+ version = "0.1.1";
+ sha256 = "163g3j3xrx1jkrbg2wnha3yyxyg1mn7kabmbpg82y3rbl3ihy1p7";
buildDepends = [ QuickCheck utilityHt ];
+ testDepends = [ QuickCheck utilityHt ];
meta = {
homepage = "http://code.haskell.org/~thielema/non-negative/";
description = "Non-negative numbers";
diff --git a/pkgs/development/libraries/haskell/parsers/0.11.0.1.nix b/pkgs/development/libraries/haskell/parsers/0.11.0.2.nix
similarity index 84%
rename from pkgs/development/libraries/haskell/parsers/0.11.0.1.nix
rename to pkgs/development/libraries/haskell/parsers/0.11.0.2.nix
index f24c96b1fad..36c5f2ae998 100644
--- a/pkgs/development/libraries/haskell/parsers/0.11.0.1.nix
+++ b/pkgs/development/libraries/haskell/parsers/0.11.0.2.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "parsers";
- version = "0.11.0.1";
- sha256 = "0jg91zzsq12vxxsxrd1kx8h2c06asccymjbpx0zl7nvj5dhjfkpq";
+ version = "0.11.0.2";
+ sha256 = "0b2qb6lhn647926s2g7qrzhnvnym5dr7fny784bv19mfvimwi81c";
buildDepends = [
attoparsec charset parsec text transformers unorderedContainers
];
diff --git a/pkgs/development/libraries/haskell/pattern-arrows/default.nix b/pkgs/development/libraries/haskell/pattern-arrows/default.nix
new file mode 100644
index 00000000000..a73432fe62b
--- /dev/null
+++ b/pkgs/development/libraries/haskell/pattern-arrows/default.nix
@@ -0,0 +1,14 @@
+{ cabal, mtl }:
+
+cabal.mkDerivation (self: {
+ pname = "pattern-arrows";
+ version = "0.0.2";
+ sha256 = "13q7bj19hd60rnjfc05wxlyck8llxy11z3mns8kxg197wxrdkhkg";
+ buildDepends = [ mtl ];
+ meta = {
+ homepage = "http://blog.functorial.com/posts/2013-10-27-Pretty-Printing-Arrows.html";
+ description = "Arrows for Pretty Printing";
+ license = self.stdenv.lib.licenses.mit;
+ platforms = self.ghc.meta.platforms;
+ };
+})
diff --git a/pkgs/development/libraries/haskell/persistent-template/default.nix b/pkgs/development/libraries/haskell/persistent-template/default.nix
index 994632c40e2..b967e17f8f7 100644
--- a/pkgs/development/libraries/haskell/persistent-template/default.nix
+++ b/pkgs/development/libraries/haskell/persistent-template/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "persistent-template";
- version = "1.3.1.3";
- sha256 = "0q5ysv1r6p4mg79waq2g6ql11rap6znawkplddblpaa8lq9qalj6";
+ version = "1.3.1.4";
+ sha256 = "1ys5s1vb9w3nrv9kwvzgjwfs2j09pslpplz05idpfn02xx03hcfk";
buildDepends = [
aeson monadControl monadLogger persistent text transformers
unorderedContainers
@@ -13,6 +13,7 @@ cabal.mkDerivation (self: {
testDepends = [
aeson hspec persistent QuickCheck text transformers
];
+ jailbreak = true;
meta = {
homepage = "http://www.yesodweb.com/book/persistent";
description = "Type-safe, non-relational, multi-backend persistence";
diff --git a/pkgs/development/libraries/haskell/pgm/default.nix b/pkgs/development/libraries/haskell/pgm/default.nix
index b1be8dd6d03..560826a08b2 100644
--- a/pkgs/development/libraries/haskell/pgm/default.nix
+++ b/pkgs/development/libraries/haskell/pgm/default.nix
@@ -2,11 +2,11 @@
cabal.mkDerivation (self: {
pname = "pgm";
- version = "0.1.3";
- sha256 = "1byq8bacqgdpahf57ccwwa45wf9ij0kkgp89rg9flsv1g10364d4";
+ version = "0.1.4";
+ sha256 = "1s3kch1qsxrfzk9sa4b0jn9vzjhw7dvh1sajgnnz97gl5y0gydmv";
buildDepends = [ parsec ];
meta = {
- homepage = "https://github.com/sergeyastanin/haskell-pgm";
+ homepage = "https://github.com/astanin/haskell-pgm";
description = "Pure Haskell implementation of PGM image format";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
diff --git a/pkgs/development/libraries/haskell/pipes-aeson/default.nix b/pkgs/development/libraries/haskell/pipes-aeson/default.nix
index 85fd3a0a548..aa226aa4e3b 100644
--- a/pkgs/development/libraries/haskell/pipes-aeson/default.nix
+++ b/pkgs/development/libraries/haskell/pipes-aeson/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "pipes-aeson";
- version = "0.4";
- sha256 = "0cz9av3w8h2gh3cz7gs3ikplf60a111wcsr3z6vi8gqlmmgmck07";
+ version = "0.4.1";
+ sha256 = "06fxl4az5brbivc5db498fc3yawrc2rwnrn20rbssihd0lp9xm1i";
buildDepends = [
aeson attoparsec pipes pipesAttoparsec pipesBytestring pipesParse
transformers
diff --git a/pkgs/development/libraries/haskell/pipes-attoparsec/default.nix b/pkgs/development/libraries/haskell/pipes-attoparsec/default.nix
index d886d17478b..04efb0cee73 100644
--- a/pkgs/development/libraries/haskell/pipes-attoparsec/default.nix
+++ b/pkgs/development/libraries/haskell/pipes-attoparsec/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "pipes-attoparsec";
- version = "0.5.0";
- sha256 = "1xpqna850lxawx0m84lzaxwrwfw4vccr7jjf199ir7bmwwhqlr5h";
+ version = "0.5.1";
+ sha256 = "0qvsvbcn211xp4c669cpljmnsqn9zk1rn94ya1dbq77l970s8xah";
buildDepends = [ attoparsec pipes pipesParse text transformers ];
testDepends = [
attoparsec HUnit mmorph pipes pipesParse tasty tastyHunit text
diff --git a/pkgs/development/libraries/haskell/pipes-text/default.nix b/pkgs/development/libraries/haskell/pipes-text/default.nix
new file mode 100644
index 00000000000..7156b889789
--- /dev/null
+++ b/pkgs/development/libraries/haskell/pipes-text/default.nix
@@ -0,0 +1,19 @@
+{ cabal, pipes, pipesBytestring, pipesGroup, pipesParse, pipesSafe
+, profunctors, streamingCommons, text, transformers
+}:
+
+cabal.mkDerivation (self: {
+ pname = "pipes-text";
+ version = "0.0.0.11";
+ sha256 = "0c56gxm17bapdjgbp2f55z3f6vq8ryvsljqp3bcjjj18xv5pf1ls";
+ buildDepends = [
+ pipes pipesBytestring pipesGroup pipesParse pipesSafe profunctors
+ streamingCommons text transformers
+ ];
+ meta = {
+ homepage = "https://github.com/michaelt/text-pipes";
+ description = "Text pipes";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ };
+})
diff --git a/pkgs/development/libraries/haskell/postgresql-simple/default.nix b/pkgs/development/libraries/haskell/postgresql-simple/default.nix
index b9783089987..c88ba4e845d 100644
--- a/pkgs/development/libraries/haskell/postgresql-simple/default.nix
+++ b/pkgs/development/libraries/haskell/postgresql-simple/default.nix
@@ -5,8 +5,8 @@
cabal.mkDerivation (self: {
pname = "postgresql-simple";
- version = "0.4.2.2";
- sha256 = "0ipwpggzgqsi8ii12pk4c1bmwv2y5yj6yvyh8ma9rsz9f081bzyy";
+ version = "0.4.2.3";
+ sha256 = "1rg6virvz4nr0m39sr72h23yks5f8ih9nimgacx30zw7xvnx942p";
buildDepends = [
aeson attoparsec blazeBuilder blazeTextual hashable postgresqlLibpq
scientific text time transformers uuid vector
diff --git a/pkgs/development/libraries/haskell/process-conduit/default.nix b/pkgs/development/libraries/haskell/process-conduit/default.nix
index 8ed966cd05b..aea29a4d02b 100644
--- a/pkgs/development/libraries/haskell/process-conduit/default.nix
+++ b/pkgs/development/libraries/haskell/process-conduit/default.nix
@@ -11,8 +11,6 @@ cabal.mkDerivation (self: {
text
];
testDepends = [ conduit hspec ];
- # This check is being disabled until process-conduit is updated to properly
- # support conduit 1.1.x
doCheck = false;
meta = {
homepage = "http://github.com/tanakh/process-conduit";
diff --git a/pkgs/development/libraries/haskell/purescript/default.nix b/pkgs/development/libraries/haskell/purescript/default.nix
new file mode 100644
index 00000000000..4109fc89a2c
--- /dev/null
+++ b/pkgs/development/libraries/haskell/purescript/default.nix
@@ -0,0 +1,24 @@
+{ cabal, cmdtheline, filepath, haskeline, monadUnify, mtl, parsec
+, patternArrows, time, transformers, unorderedContainers
+, utf8String, xdgBasedir
+}:
+
+cabal.mkDerivation (self: {
+ pname = "purescript";
+ version = "0.5.2.3";
+ sha256 = "09z56gb3k1ya5c3yznm49sgd1g9i5wvn5ih4mycf5ys2wvy3v9sl";
+ isLibrary = true;
+ isExecutable = true;
+ buildDepends = [
+ cmdtheline filepath haskeline monadUnify mtl parsec patternArrows
+ time transformers unorderedContainers utf8String xdgBasedir
+ ];
+ testDepends = [ filepath mtl parsec transformers utf8String ];
+ doCheck = false;
+ meta = {
+ homepage = "http://www.purescript.org/";
+ description = "PureScript Programming Language Compiler";
+ license = self.stdenv.lib.licenses.mit;
+ platforms = self.ghc.meta.platforms;
+ };
+})
diff --git a/pkgs/development/libraries/haskell/reducers/default.nix b/pkgs/development/libraries/haskell/reducers/default.nix
index 7d7ad6d4917..ac00a1ca5c1 100644
--- a/pkgs/development/libraries/haskell/reducers/default.nix
+++ b/pkgs/development/libraries/haskell/reducers/default.nix
@@ -5,8 +5,8 @@
cabal.mkDerivation (self: {
pname = "reducers";
- version = "3.10.2";
- sha256 = "159srk8v6zmfprq80mx3rpqrxzgzvf7xiwm8ywfaxrqyfcwkkjmg";
+ version = "3.10.2.1";
+ sha256 = "1wn6q6cw9is1gan9y5n3fzjkhmpjpria4p13zp4kqxmj881067vy";
buildDepends = [
comonad fingertree hashable keys pointed semigroupoids semigroups
text transformers unorderedContainers
diff --git a/pkgs/development/libraries/haskell/resource-pool/default.nix b/pkgs/development/libraries/haskell/resource-pool/default.nix
index 677243190b1..72178ddc1cf 100644
--- a/pkgs/development/libraries/haskell/resource-pool/default.nix
+++ b/pkgs/development/libraries/haskell/resource-pool/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "resource-pool";
- version = "0.2.2.0";
- sha256 = "0h00q6lmv21nqjs81r7y3ig4y65zpap1r6xqz9lc3zxx29bgl8xk";
+ version = "0.2.3.0";
+ sha256 = "15igbvnqs6ig1k30l3jngyi60ay7k15mwgza5smv8zbpx86vb1mh";
buildDepends = [
hashable monadControl stm time transformers transformersBase vector
];
diff --git a/pkgs/development/libraries/haskell/scotty/default.nix b/pkgs/development/libraries/haskell/scotty/default.nix
index cc5ae260477..398d3a1dfb8 100644
--- a/pkgs/development/libraries/haskell/scotty/default.nix
+++ b/pkgs/development/libraries/haskell/scotty/default.nix
@@ -1,16 +1,17 @@
-{ cabal, aeson, blazeBuilder, caseInsensitive, conduit
-, conduitExtra, dataDefault, httpTypes, mtl, regexCompat, text
-, transformers, wai, waiExtra, warp
+{ cabal, aeson, blazeBuilder, caseInsensitive, conduit, dataDefault
+, hspec, httpTypes, mtl, regexCompat, text, transformers, wai
+, waiExtra, warp
}:
cabal.mkDerivation (self: {
pname = "scotty";
- version = "0.7.2";
- sha256 = "1y14af3qciwycgaxzx6rjan2jgfchjzs4zbxzh8p8s1d0l4gsqlb";
+ version = "0.8.0";
+ sha256 = "07198m8rsavdqr51abxsrmi8jail6h4ldzrr9s47il1djjba6lhh";
buildDepends = [
- aeson blazeBuilder caseInsensitive conduit conduitExtra dataDefault
- httpTypes mtl regexCompat text transformers wai waiExtra warp
+ aeson blazeBuilder caseInsensitive conduit dataDefault httpTypes
+ mtl regexCompat text transformers wai waiExtra warp
];
+ testDepends = [ hspec httpTypes wai waiExtra ];
jailbreak = true;
meta = {
homepage = "https://github.com/scotty-web/scotty";
diff --git a/pkgs/development/libraries/haskell/semigroupoids/default.nix b/pkgs/development/libraries/haskell/semigroupoids/default.nix
index 45e2adb35fd..455396564ec 100644
--- a/pkgs/development/libraries/haskell/semigroupoids/default.nix
+++ b/pkgs/development/libraries/haskell/semigroupoids/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "semigroupoids";
- version = "4.0.2";
- sha256 = "07xzqqdra2d5jr4wclislj1lhbb1nlry65m0y42hdxsjf3n05931";
+ version = "4.0.2.1";
+ sha256 = "00ga4spbnvwnk7j4h7zjw3bkd98glaganhcwq947ffadc0nansb1";
buildDepends = [
comonad contravariant distributive semigroups transformers
];
diff --git a/pkgs/development/libraries/haskell/semigroups/default.nix b/pkgs/development/libraries/haskell/semigroups/default.nix
index 7b68d75c906..21cbc893e22 100644
--- a/pkgs/development/libraries/haskell/semigroups/default.nix
+++ b/pkgs/development/libraries/haskell/semigroups/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "semigroups";
- version = "0.14";
- sha256 = "07jmfb3h4kz3a2ysrkhzzpfdhxglszq6qqsmg2011f0hdzm24ay7";
+ version = "0.15";
+ sha256 = "1fkinmjyx7r39c8hf8f6n9zgn6m7c2y7l0san43s4g2cfg8pxn5s";
buildDepends = [ hashable nats text unorderedContainers ];
meta = {
homepage = "http://github.com/ekmett/semigroups/";
diff --git a/pkgs/development/libraries/haskell/shake/default.nix b/pkgs/development/libraries/haskell/shake/default.nix
index 58325a1afe0..f07e0f54b9b 100644
--- a/pkgs/development/libraries/haskell/shake/default.nix
+++ b/pkgs/development/libraries/haskell/shake/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "shake";
- version = "0.12";
- sha256 = "060bvbhk84zagghalg5nh5g17vj8z2kv0qb8vibcq58ahfayj655";
+ version = "0.13.1";
+ sha256 = "00dvf1ydfgpnkv09fywsvyn0sphjwdrqhvkc21axj580ykbqxrn7";
isLibrary = true;
isExecutable = true;
buildDepends = [
diff --git a/pkgs/development/libraries/haskell/shelly/default.nix b/pkgs/development/libraries/haskell/shelly/default.nix
index 4549adaf43e..a37fb044bc0 100644
--- a/pkgs/development/libraries/haskell/shelly/default.nix
+++ b/pkgs/development/libraries/haskell/shelly/default.nix
@@ -5,8 +5,8 @@
cabal.mkDerivation (self: {
pname = "shelly";
- version = "1.5.3.2";
- sha256 = "0ilqg7mffw8cnl3w175if74xwfij7460qqqsp6hzml7gzjdb0rky";
+ version = "1.5.4";
+ sha256 = "1jxw3c25n7azvfyj9vark9149sk36d01pfij6lgamhjs28mb860d";
buildDepends = [
async enclosedExceptions exceptions liftedAsync liftedBase
monadControl mtl systemFileio systemFilepath text time transformers
diff --git a/pkgs/development/libraries/haskell/smtps-gmail/default.nix b/pkgs/development/libraries/haskell/smtps-gmail/default.nix
index 6361c9bd79a..2618b77be28 100644
--- a/pkgs/development/libraries/haskell/smtps-gmail/default.nix
+++ b/pkgs/development/libraries/haskell/smtps-gmail/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "smtps-gmail";
- version = "1.2.0";
- sha256 = "1gg3cglfsyfffh3b5cyrk3pnb8jg5s8s4yjzykdnfyjrdp1080xz";
+ version = "1.2.1";
+ sha256 = "04sancbfbbszajgb1jp613qp43qxvzz9b14c0v3sgfva7fdhaw9q";
buildDepends = [
base64Bytestring cprngAes dataDefault filepath mimeMail network
stringsearch text tls
diff --git a/pkgs/development/libraries/haskell/snap/core.nix b/pkgs/development/libraries/haskell/snap/core.nix
index 0a1d1b7c5cf..d208cadf8cf 100644
--- a/pkgs/development/libraries/haskell/snap/core.nix
+++ b/pkgs/development/libraries/haskell/snap/core.nix
@@ -7,8 +7,8 @@
cabal.mkDerivation (self: {
pname = "snap-core";
- version = "0.9.6.2";
- sha256 = "1s77p2q4zrpw2fksklqc9sgcb214fijsk88lqqasdiw9kb9xmwij";
+ version = "0.9.6.3";
+ sha256 = "0i3gl1kxzi2l76sqhyhda7lrcvq8hq6aqgwvfx5k9fa2xic01dw1";
buildDepends = [
attoparsec attoparsecEnumerator blazeBuilder blazeBuilderEnumerator
bytestringMmap caseInsensitive deepseq enumerator filepath hashable
diff --git a/pkgs/development/libraries/haskell/snap/server.nix b/pkgs/development/libraries/haskell/snap/server.nix
index 0f9a05177d6..a59252fb38c 100644
--- a/pkgs/development/libraries/haskell/snap/server.nix
+++ b/pkgs/development/libraries/haskell/snap/server.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "snap-server";
- version = "0.9.4.4";
- sha256 = "1y53baxyn6z6g4vc3j66w60s0vxdblkg8az712iw2030q2brilg2";
+ version = "0.9.4.5";
+ sha256 = "09399vlqgic0iwmx31c01bjpbdblw8gayxnz71lwzkixqibkbbip";
buildDepends = [
attoparsec attoparsecEnumerator blazeBuilder blazeBuilderEnumerator
caseInsensitive enumerator MonadCatchIOTransformers mtl network
diff --git a/pkgs/development/libraries/haskell/snap/snap.nix b/pkgs/development/libraries/haskell/snap/snap.nix
index 26533c8ce0e..435bccd9cb5 100644
--- a/pkgs/development/libraries/haskell/snap/snap.nix
+++ b/pkgs/development/libraries/haskell/snap/snap.nix
@@ -8,8 +8,8 @@
cabal.mkDerivation (self: {
pname = "snap";
- version = "0.13.2.5";
- sha256 = "1xvwx4zg2b78fdyb2yvqd5i5g195di7rzzpn3va43vkq2lk5vcqj";
+ version = "0.13.2.7";
+ sha256 = "1vw8c48rb1clahm1yw951si9dv9mk0gfldxvk3jd7rvsfzg97s4z";
isLibrary = true;
isExecutable = true;
buildDepends = [
@@ -20,6 +20,9 @@ cabal.mkDerivation (self: {
unorderedContainers vector vectorAlgorithms xmlhtml
];
jailbreak = true;
+ patchPhase = ''
+ sed -i -e 's|lens .*< 4.2|lens|' snap.cabal
+ '';
meta = {
homepage = "http://snapframework.com/";
description = "Top-level package for the Snap Web Framework";
diff --git a/pkgs/development/libraries/haskell/snaplet-redis/default.nix b/pkgs/development/libraries/haskell/snaplet-redis/default.nix
new file mode 100644
index 00000000000..83a82ac80ce
--- /dev/null
+++ b/pkgs/development/libraries/haskell/snaplet-redis/default.nix
@@ -0,0 +1,19 @@
+{ cabal, configurator, hedis, lens, mtl, network, snap
+, transformers
+}:
+
+cabal.mkDerivation (self: {
+ pname = "snaplet-redis";
+ version = "0.1.3.1";
+ sha256 = "1aprz9rxs01a86vfr8s7mjydafdfljg89grl7i43vmsw927izc6k";
+ buildDepends = [
+ configurator hedis lens mtl network snap transformers
+ ];
+ meta = {
+ homepage = "https://github.com/dzhus/snaplet-redis/";
+ description = "Redis support for Snap Framework";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ };
+ jailbreak = true;
+})
diff --git a/pkgs/development/libraries/haskell/spawn/default.nix b/pkgs/development/libraries/haskell/spawn/default.nix
new file mode 100644
index 00000000000..a69b7fd2641
--- /dev/null
+++ b/pkgs/development/libraries/haskell/spawn/default.nix
@@ -0,0 +1,12 @@
+{ cabal }:
+
+cabal.mkDerivation (self: {
+ pname = "spawn";
+ version = "0.3";
+ sha256 = "0xkkl0w30rqif2jwdzjv239raly4yaf0116vkqcwh1i41jqn7ij8";
+ meta = {
+ description = "Tiny library for concurrent computations";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ };
+})
diff --git a/pkgs/development/libraries/haskell/sqlite-simple/default.nix b/pkgs/development/libraries/haskell/sqlite-simple/default.nix
index d8a76210d08..515f22834ae 100644
--- a/pkgs/development/libraries/haskell/sqlite-simple/default.nix
+++ b/pkgs/development/libraries/haskell/sqlite-simple/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "sqlite-simple";
- version = "0.4.7.0";
- sha256 = "128b8n66j729g9mwndv5m3plww6av7hin7dmwsbs19v8klcaf4f5";
+ version = "0.4.8.0";
+ sha256 = "098d1s80wlvsp307422f79bm3a9knvgw5ni6jap62fl4rpa7fsmz";
buildDepends = [
attoparsec blazeBuilder blazeTextual directSqlite text time
transformers
diff --git a/pkgs/development/libraries/haskell/statestack/default.nix b/pkgs/development/libraries/haskell/statestack/default.nix
index 4275c5fc457..c073e00be17 100644
--- a/pkgs/development/libraries/haskell/statestack/default.nix
+++ b/pkgs/development/libraries/haskell/statestack/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "statestack";
- version = "0.2";
- sha256 = "0j1axjwlh270qy6nlvm0hbc8nbd1ggm7klkjv553qf1rprz4zc2d";
+ version = "0.2.0.3";
+ sha256 = "0w5vw8jmnwbfyma4a3ggdm9jvxf3c18kpwbvcmvr5szifaqv9sgx";
buildDepends = [ mtl transformers ];
meta = {
description = "Simple State-like monad transformer with saveable and restorable state";
diff --git a/pkgs/development/libraries/haskell/statistics/default.nix b/pkgs/development/libraries/haskell/statistics/default.nix
index 58a9c835696..485a5fe0c30 100644
--- a/pkgs/development/libraries/haskell/statistics/default.nix
+++ b/pkgs/development/libraries/haskell/statistics/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "statistics";
- version = "0.11.0.1";
- sha256 = "17p4dj7wimnl5fcwxpmcmgcmwpypfkk3gzmgmx9qvxl8p38lwacc";
+ version = "0.11.0.3";
+ sha256 = "184lzivqjjj69pxcnr5ibxjqikypfl5nd63i44qgwdhwyvcaqdh3";
buildDepends = [
binary deepseq erf mathFunctions monadPar mwcRandom primitive
vector vectorAlgorithms vectorBinaryInstances
diff --git a/pkgs/development/libraries/haskell/stm-conduit/default.nix b/pkgs/development/libraries/haskell/stm-conduit/default.nix
index 201a2ea02f9..deb76355f4a 100644
--- a/pkgs/development/libraries/haskell/stm-conduit/default.nix
+++ b/pkgs/development/libraries/haskell/stm-conduit/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "stm-conduit";
- version = "2.4.0";
- sha256 = "03ifxr3pspwmzf0xdh7mj3q1wiz13d86w9pdhiqa6b1d1qw6rvha";
+ version = "2.5.0";
+ sha256 = "1pxs1ggyyjm4x06cirdcjaqzvz3964spv34fcf0q9ddhxm5kb30q";
buildDepends = [
async cereal cerealConduit conduit conduitExtra liftedAsync
liftedBase monadControl monadLoops resourcet stm stmChans
diff --git a/pkgs/development/libraries/haskell/storable-record/default.nix b/pkgs/development/libraries/haskell/storable-record/default.nix
index 455d860ba5e..787956be46d 100644
--- a/pkgs/development/libraries/haskell/storable-record/default.nix
+++ b/pkgs/development/libraries/haskell/storable-record/default.nix
@@ -7,6 +7,7 @@ cabal.mkDerivation (self: {
isLibrary = true;
isExecutable = true;
buildDepends = [ transformers utilityHt ];
+ jailbreak = true;
meta = {
homepage = "http://code.haskell.org/~thielema/storable-record/";
description = "Elegant definition of Storable instances for records";
diff --git a/pkgs/development/libraries/haskell/syb/0.2.2.nix b/pkgs/development/libraries/haskell/syb/0.2.2.nix
deleted file mode 100644
index b03cb947d27..00000000000
--- a/pkgs/development/libraries/haskell/syb/0.2.2.nix
+++ /dev/null
@@ -1,14 +0,0 @@
-{ cabal }:
-
-cabal.mkDerivation (self: {
- pname = "syb";
- version = "0.2.2";
- sha256 = "0m29vnqkkmpf4m3gi42kcbr2gfyxgkcw85xsyrq0mgbxb0zg6ky9";
- meta = {
- homepage = "http://www.cs.uu.nl/wiki/GenericProgramming/SYB";
- description = "Scrap Your Boilerplate";
- license = self.stdenv.lib.licenses.bsd3;
- platforms = self.ghc.meta.platforms;
- maintainers = [ self.stdenv.lib.maintainers.andres ];
- };
-})
diff --git a/pkgs/development/libraries/haskell/syb/0.3.6.2.nix b/pkgs/development/libraries/haskell/syb/0.3.6.2.nix
deleted file mode 100644
index a37e238ff71..00000000000
--- a/pkgs/development/libraries/haskell/syb/0.3.6.2.nix
+++ /dev/null
@@ -1,14 +0,0 @@
-{ cabal }:
-
-cabal.mkDerivation (self: {
- pname = "syb";
- version = "0.3.6.2";
- sha256 = "0n1h0zlq2ygwkh7s914gfy4rg4b5kg6msd65id84c5412sri3mk4";
- meta = {
- homepage = "http://www.cs.uu.nl/wiki/GenericProgramming/SYB";
- description = "Scrap Your Boilerplate";
- license = self.stdenv.lib.licenses.bsd3;
- platforms = self.ghc.meta.platforms;
- maintainers = [ self.stdenv.lib.maintainers.andres ];
- };
-})
diff --git a/pkgs/development/libraries/haskell/syb/0.4.1.nix b/pkgs/development/libraries/haskell/syb/0.4.2.nix
similarity index 83%
rename from pkgs/development/libraries/haskell/syb/0.4.1.nix
rename to pkgs/development/libraries/haskell/syb/0.4.2.nix
index 38c4f2cae3f..fd67f63ced5 100644
--- a/pkgs/development/libraries/haskell/syb/0.4.1.nix
+++ b/pkgs/development/libraries/haskell/syb/0.4.2.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "syb";
- version = "0.4.1";
- sha256 = "1lkh4rrqdzvb8kyry07x2z88v478hrw5cp8wmhjgpg0ck8ywncma";
+ version = "0.4.2";
+ sha256 = "1gvyw2gbccip24wpp9xi6qgwvg4m5cijhzz1v51wvyamqv4p2b8l";
testDepends = [ HUnit mtl ];
doCheck = self.stdenv.lib.versionOlder self.ghc.version "7.9";
meta = {
diff --git a/pkgs/development/libraries/haskell/system-fileio/default.nix b/pkgs/development/libraries/haskell/system-fileio/default.nix
index f9cf911678a..bd0654f728a 100644
--- a/pkgs/development/libraries/haskell/system-fileio/default.nix
+++ b/pkgs/development/libraries/haskell/system-fileio/default.nix
@@ -1,10 +1,14 @@
-{ cabal, systemFilepath, text, time }:
+{ cabal, chell, systemFilepath, temporary, text, time, transformers
+}:
cabal.mkDerivation (self: {
pname = "system-fileio";
- version = "0.3.13";
- sha256 = "12xsxcg2jk63x8aiikj5gx1an794zdfxzkx1sjnr2qyqyirk311v";
+ version = "0.3.14";
+ sha256 = "1x5cricx2n1wwvdad4i3q8s3gb28a129v3kkj9rn9803xh43zh29";
buildDepends = [ systemFilepath text time ];
+ testDepends = [
+ chell systemFilepath temporary text time transformers
+ ];
meta = {
homepage = "https://john-millikin.com/software/haskell-filesystem/";
description = "Consistent filesystem interaction across GHC versions";
diff --git a/pkgs/development/libraries/haskell/system-filepath/default.nix b/pkgs/development/libraries/haskell/system-filepath/default.nix
index fba75d7b847..6bc7805cef6 100644
--- a/pkgs/development/libraries/haskell/system-filepath/default.nix
+++ b/pkgs/development/libraries/haskell/system-filepath/default.nix
@@ -1,10 +1,11 @@
-{ cabal, deepseq, text }:
+{ cabal, chell, chellQuickcheck, deepseq, QuickCheck, text }:
cabal.mkDerivation (self: {
pname = "system-filepath";
- version = "0.4.10";
- sha256 = "176g5jm1gd6lrkmhfz9qh5aqwfbpwyr30yknfcc49wl7jkfhisiq";
+ version = "0.4.12";
+ sha256 = "0sfralwgd5b9hfqmp20v31sq96s0v7j9g920qdj3n9i5mhslhwd2";
buildDepends = [ deepseq text ];
+ testDepends = [ chell chellQuickcheck QuickCheck text ];
meta = {
homepage = "https://john-millikin.com/software/haskell-filesystem/";
description = "High-level, byte-based file and directory path manipulations";
diff --git a/pkgs/development/libraries/haskell/tabular/default.nix b/pkgs/development/libraries/haskell/tabular/default.nix
index f90c5687193..10f78671013 100644
--- a/pkgs/development/libraries/haskell/tabular/default.nix
+++ b/pkgs/development/libraries/haskell/tabular/default.nix
@@ -5,6 +5,7 @@ cabal.mkDerivation (self: {
version = "0.2.2.5";
sha256 = "00d1f8yr7kbg30ziv09pb8f4apcvrfb6izb26my1s97kw9ixa740";
buildDepends = [ csv html mtl ];
+ jailbreak = true;
meta = {
homepage = "http://hub.darcs.net/kowey/tabular";
description = "Two-dimensional data tables with rendering functions";
diff --git a/pkgs/development/libraries/haskell/tasty-ant-xml/default.nix b/pkgs/development/libraries/haskell/tasty-ant-xml/default.nix
index 9ad4b2de747..2551b642fb1 100644
--- a/pkgs/development/libraries/haskell/tasty-ant-xml/default.nix
+++ b/pkgs/development/libraries/haskell/tasty-ant-xml/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "tasty-ant-xml";
- version = "1.0.0.7";
- sha256 = "0jjh2lyr33l5mps123azszwnk0h61ar99zlqbc4h04a8vkd9x813";
+ version = "1.0.0.8";
+ sha256 = "0khjx3anxp63ch6wkdhqnsk5miavkq014ab30rpir97gdqw0vykm";
buildDepends = [
genericDeriving mtl reducers stm tagged tasty transformers xml
];
diff --git a/pkgs/development/libraries/haskell/tasty-golden/default.nix b/pkgs/development/libraries/haskell/tasty-golden/default.nix
index 159a5fd9eb8..d6d8f2d625d 100644
--- a/pkgs/development/libraries/haskell/tasty-golden/default.nix
+++ b/pkgs/development/libraries/haskell/tasty-golden/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "tasty-golden";
- version = "2.2.1.1";
- sha256 = "0a265l7fwc0sxzdy9b0jf8f5w4nws6pwhhaw1pa7qx3c8fm9v54i";
+ version = "2.2.1.2";
+ sha256 = "107c6i1abw6dsd3cx1bgiyk8dnih7i9x4bl4kw6dfnva2kjkp4d1";
buildDepends = [
deepseq filepath mtl optparseApplicative tagged tasty temporaryRc
];
diff --git a/pkgs/development/libraries/haskell/test-framework-smallcheck/default.nix b/pkgs/development/libraries/haskell/test-framework-smallcheck/default.nix
new file mode 100644
index 00000000000..120425e8c01
--- /dev/null
+++ b/pkgs/development/libraries/haskell/test-framework-smallcheck/default.nix
@@ -0,0 +1,14 @@
+{ cabal, smallcheck, testFramework, transformers }:
+
+cabal.mkDerivation (self: {
+ pname = "test-framework-smallcheck";
+ version = "0.2";
+ sha256 = "1xpgpk1gp4w7w46b4rhj80fa0bcyz8asj2dcjb5x1c37b7rw90b0";
+ buildDepends = [ smallcheck testFramework transformers ];
+ meta = {
+ homepage = "https://github.com/feuerbach/smallcheck";
+ description = "Support for SmallCheck tests in test-framework";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ };
+})
diff --git a/pkgs/development/libraries/haskell/texmath/default.nix b/pkgs/development/libraries/haskell/texmath/default.nix
index 7c97f5b8e3f..76963ae36c5 100644
--- a/pkgs/development/libraries/haskell/texmath/default.nix
+++ b/pkgs/development/libraries/haskell/texmath/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "texmath";
- version = "0.6.6.1";
- sha256 = "0s6rh4frjc76g1nmwhnnpnsszrnhpi9zx478zqiln1fg0yc9fhxq";
+ version = "0.6.6.3";
+ sha256 = "1sly6acnb4299wd8380fkgnb7lzjrwml5lljyv73si84b3v0bnw2";
isLibrary = true;
isExecutable = true;
buildDepends = [ pandocTypes parsec syb xml ];
diff --git a/pkgs/development/libraries/haskell/text/0.11.1.13.nix b/pkgs/development/libraries/haskell/text/0.11.1.13.nix
deleted file mode 100644
index 71d0c28e48d..00000000000
--- a/pkgs/development/libraries/haskell/text/0.11.1.13.nix
+++ /dev/null
@@ -1,22 +0,0 @@
-{ cabal, deepseq, HUnit, QuickCheck, random, testFramework
-, testFrameworkHunit, testFrameworkQuickcheck2
-}:
-
-cabal.mkDerivation (self: {
- pname = "text";
- version = "0.11.1.13";
- sha256 = "0lbc4yfqpydps0rd1qjymnnhp87sl9w7n1f5vd5lsixby93zjv2f";
- buildDepends = [ deepseq ];
- testDepends = [
- deepseq HUnit QuickCheck random testFramework testFrameworkHunit
- testFrameworkQuickcheck2
- ];
- doCheck = false;
- meta = {
- homepage = "https://github.com/bos/text";
- description = "An efficient packed Unicode text type";
- license = self.stdenv.lib.licenses.bsd3;
- platforms = self.ghc.meta.platforms;
- maintainers = [ self.stdenv.lib.maintainers.andres ];
- };
-})
diff --git a/pkgs/development/libraries/haskell/text/1.1.1.2.nix b/pkgs/development/libraries/haskell/text/1.1.1.3.nix
similarity index 87%
rename from pkgs/development/libraries/haskell/text/1.1.1.2.nix
rename to pkgs/development/libraries/haskell/text/1.1.1.3.nix
index 6054e3c6471..0df511231c8 100644
--- a/pkgs/development/libraries/haskell/text/1.1.1.2.nix
+++ b/pkgs/development/libraries/haskell/text/1.1.1.3.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "text";
- version = "1.1.1.2";
- sha256 = "11kj0pf0v24a0xg61caaqz5d8w3s8i4nbgl416xgdvrbfd39ssj8";
+ version = "1.1.1.3";
+ sha256 = "1yrzg449nbbzh2fb9mdmf2jjfhk2g87kr9m2ibssbsqx53p98z0c";
buildDepends = [ deepseq ];
testDepends = [
deepseq HUnit QuickCheck random testFramework testFrameworkHunit
diff --git a/pkgs/development/libraries/haskell/th-lift-instances/default.nix b/pkgs/development/libraries/haskell/th-lift-instances/default.nix
index 27eb090443b..32354eabd4a 100644
--- a/pkgs/development/libraries/haskell/th-lift-instances/default.nix
+++ b/pkgs/development/libraries/haskell/th-lift-instances/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "th-lift-instances";
- version = "0.1.2";
- sha256 = "0xfz7jnhqxqxd6ijn6vpd0nay38kj862ylsb71xqi35137g5zl9w";
+ version = "0.1.3";
+ sha256 = "0snqgcdkskwvrsw239j3xq84mwnf5x79kfsn495kprdc6yh3qdkx";
buildDepends = [ text thLift vector ];
testDepends = [ doctest filepath QuickCheck text vector ];
meta = {
diff --git a/pkgs/development/libraries/haskell/threads/default.nix b/pkgs/development/libraries/haskell/threads/default.nix
index 932ef113fa7..48b4ee2fb11 100644
--- a/pkgs/development/libraries/haskell/threads/default.nix
+++ b/pkgs/development/libraries/haskell/threads/default.nix
@@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "threads";
- version = "0.5.1.1";
- sha256 = "196yjkq7wgjcck9wqj4f3x3k47ls9yiay3k6d8k7kzixc2xc621z";
+ version = "0.5.1.2";
+ sha256 = "1bq2aza6sam4zkgpgf8x4lhkk2na1i8annx9cwad3j68p5vdg929";
buildDepends = [ baseUnicodeSymbols stm ];
testDepends = [
baseUnicodeSymbols concurrentExtra HUnit stm testFramework
diff --git a/pkgs/development/libraries/haskell/timerep/default.nix b/pkgs/development/libraries/haskell/timerep/default.nix
index 6ebc44cb894..24bd1c017aa 100644
--- a/pkgs/development/libraries/haskell/timerep/default.nix
+++ b/pkgs/development/libraries/haskell/timerep/default.nix
@@ -1,9 +1,10 @@
-{ cabal }:
+{ cabal, time }:
cabal.mkDerivation (self: {
pname = "timerep";
version = "1.0.3";
sha256 = "14lz8nzfy1j7snvifbwjkk1fjc8wy4jk67xk9n87r25v3cva3x0p";
+ buildDepends = [ time ];
meta = {
description = "Parse and display time according to some RFCs (RFC3339, RFC2822)";
license = self.stdenv.lib.licenses.bsd3;
diff --git a/pkgs/development/libraries/haskell/transformers-compat/0.3.3.4.nix b/pkgs/development/libraries/haskell/transformers-compat/0.3.3.4.nix
new file mode 100644
index 00000000000..4647bbe2980
--- /dev/null
+++ b/pkgs/development/libraries/haskell/transformers-compat/0.3.3.4.nix
@@ -0,0 +1,14 @@
+{ cabal, transformers }:
+
+cabal.mkDerivation (self: {
+ pname = "transformers-compat";
+ version = "0.3.3.4";
+ sha256 = "1hab41ggyaxr4xn2szv8y9fg9np8zi8ifhimr33fspid1jz14xr5";
+ buildDepends = [ transformers ];
+ meta = {
+ homepage = "http://github.com/ekmett/transformers-compat/";
+ description = "A small compatibility shim exposing the new types from transformers 0.3 and 0.4 to older Haskell platforms.";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ };
+})
diff --git a/pkgs/development/libraries/haskell/transformers-compat/default.nix b/pkgs/development/libraries/haskell/transformers-compat/0.3.3.nix
similarity index 100%
rename from pkgs/development/libraries/haskell/transformers-compat/default.nix
rename to pkgs/development/libraries/haskell/transformers-compat/0.3.3.nix
diff --git a/pkgs/development/libraries/haskell/transformers/0.4.1.0.nix b/pkgs/development/libraries/haskell/transformers/0.4.1.0.nix
index 88ae33de784..dd3789e5802 100644
--- a/pkgs/development/libraries/haskell/transformers/0.4.1.0.nix
+++ b/pkgs/development/libraries/haskell/transformers/0.4.1.0.nix
@@ -4,6 +4,7 @@ cabal.mkDerivation (self: {
pname = "transformers";
version = "0.4.1.0";
sha256 = "0jlnz86f87jndv4sifg1zpv5b2g2cxy1x2575x727az6vyaarwwg";
+ noHaddock = self.stdenv.lib.versionOlder self.ghc.version "6.11";
meta = {
description = "Concrete functor and monad transformers";
license = self.stdenv.lib.licenses.bsd3;
diff --git a/pkgs/development/libraries/haskell/twitter-types/default.nix b/pkgs/development/libraries/haskell/twitter-types/default.nix
index 0d40217c3d5..4b73fc5cf5a 100644
--- a/pkgs/development/libraries/haskell/twitter-types/default.nix
+++ b/pkgs/development/libraries/haskell/twitter-types/default.nix
@@ -5,8 +5,8 @@
cabal.mkDerivation (self: {
pname = "twitter-types";
- version = "0.2.20140424";
- sha256 = "0ap2l3mclcilm58awz0fdayzcs7fckv69l6xdklp1yqyj6i7zk9a";
+ version = "0.3.20140601";
+ sha256 = "1z8vdhyklgb4s3jxkavb8n62h9cn3y80qqzab3hswfv5xwri20ni";
buildDepends = [ aeson httpTypes text unorderedContainers ];
testDepends = [
aeson attoparsec httpTypes HUnit shakespeare testFramework
diff --git a/pkgs/development/libraries/haskell/unlambda/default.nix b/pkgs/development/libraries/haskell/unlambda/default.nix
index a9e0def2bc7..474bb1a8b09 100644
--- a/pkgs/development/libraries/haskell/unlambda/default.nix
+++ b/pkgs/development/libraries/haskell/unlambda/default.nix
@@ -7,7 +7,6 @@ cabal.mkDerivation (self: {
isLibrary = true;
isExecutable = true;
buildDepends = [ mtl ];
- hyperlinkSource = false;
meta = {
description = "Unlambda interpreter";
license = "GPL";
diff --git a/pkgs/development/libraries/haskell/utf8-string/default.nix b/pkgs/development/libraries/haskell/utf8-string/default.nix
index e627c77bda2..1233ce8806d 100644
--- a/pkgs/development/libraries/haskell/utf8-string/default.nix
+++ b/pkgs/development/libraries/haskell/utf8-string/default.nix
@@ -2,8 +2,12 @@
cabal.mkDerivation (self: {
pname = "utf8-string";
- version = "0.3.7";
- sha256 = "1s59xsw1i311rpxb7arnd280pjqab5mrlfjmxbabknka8wqlnnvq";
+ version = "0.3.8";
+ sha256 = "1h29dn0scsfkhmkg14ywq9178lw40ah1r36w249zfzqr02y7qxc0";
+ noHaddock = self.stdenv.lib.versionOlder self.ghc.version "6.11";
+ patchPhase = ''
+ sed -ir -e 's|Extensions: | Extensions: UndecidableInstances, |' utf8-string.cabal
+ '';
meta = {
homepage = "http://github.com/glguy/utf8-string/";
description = "Support for reading and writing UTF8 Strings";
diff --git a/pkgs/development/libraries/haskell/vector/0.10.11.0.nix b/pkgs/development/libraries/haskell/vector/0.10.11.0.nix
new file mode 100644
index 00000000000..1b8cb381f0b
--- /dev/null
+++ b/pkgs/development/libraries/haskell/vector/0.10.11.0.nix
@@ -0,0 +1,15 @@
+{ cabal, deepseq, primitive }:
+
+cabal.mkDerivation (self: {
+ pname = "vector";
+ version = "0.10.11.0";
+ sha256 = "0f5jks8q0287zgzlfg3x7akpahck6dm1c37hb8kk6qn51csx515j";
+ buildDepends = [ deepseq primitive ];
+ meta = {
+ homepage = "https://github.com/haskell/vector";
+ description = "Efficient Arrays";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ maintainers = [ self.stdenv.lib.maintainers.andres ];
+ };
+})
diff --git a/pkgs/development/libraries/haskell/vector/0.10.9.2.nix b/pkgs/development/libraries/haskell/vector/0.10.9.3.nix
similarity index 81%
rename from pkgs/development/libraries/haskell/vector/0.10.9.2.nix
rename to pkgs/development/libraries/haskell/vector/0.10.9.3.nix
index 57c924aff48..b9a7df50ba6 100644
--- a/pkgs/development/libraries/haskell/vector/0.10.9.2.nix
+++ b/pkgs/development/libraries/haskell/vector/0.10.9.3.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "vector";
- version = "0.10.9.2";
- sha256 = "046w4w5dr5136smfxzhzkhzcx6jgpnqrc2x5lzy4vrlxhb8za6c1";
+ version = "0.10.9.3";
+ sha256 = "08mlg0v7an6mm04skvxrgfndab0wikfs4glv7jj8ylxwc8959kdx";
buildDepends = [ deepseq primitive ];
meta = {
homepage = "https://github.com/haskell/vector";
diff --git a/pkgs/development/libraries/haskell/vinyl/default.nix b/pkgs/development/libraries/haskell/vinyl/default.nix
index 239221dc048..725567ff16b 100644
--- a/pkgs/development/libraries/haskell/vinyl/default.nix
+++ b/pkgs/development/libraries/haskell/vinyl/default.nix
@@ -1,10 +1,10 @@
-{ cabal, doctest, lens }:
+{ cabal, doctest, lens, singletons }:
cabal.mkDerivation (self: {
pname = "vinyl";
- version = "0.3";
- sha256 = "0wa7pdk5ds1zq0yy6lbzhpjglpnz56hg36iwma09b6jk2x71sf5r";
- testDepends = [ doctest lens ];
+ version = "0.4.1";
+ sha256 = "1x8kxb4z4nj7h6pbl0r37rr7k88ly64cn0bf7izyaqjrsf0kxdci";
+ testDepends = [ doctest lens singletons ];
meta = {
description = "Extensible Records";
license = self.stdenv.lib.licenses.mit;
diff --git a/pkgs/development/libraries/haskell/vty/default.nix b/pkgs/development/libraries/haskell/vty/4.7.5.nix
similarity index 100%
rename from pkgs/development/libraries/haskell/vty/default.nix
rename to pkgs/development/libraries/haskell/vty/4.7.5.nix
diff --git a/pkgs/development/libraries/haskell/vty/5.1.0.nix b/pkgs/development/libraries/haskell/vty/5.1.0.nix
new file mode 100644
index 00000000000..b04f7ff33ed
--- /dev/null
+++ b/pkgs/development/libraries/haskell/vty/5.1.0.nix
@@ -0,0 +1,33 @@
+{ cabal, blazeBuilder, Cabal, dataDefault, deepseq, filepath
+, hashable, HUnit, lens, mtl, parallel, parsec, QuickCheck
+, quickcheckAssertions, random, smallcheck, stringQq, terminfo
+, testFramework, testFrameworkHunit, testFrameworkSmallcheck, text
+, transformers, utf8String, vector
+}:
+
+cabal.mkDerivation (self: {
+ pname = "vty";
+ version = "5.1.0";
+ sha256 = "0cq9y802z9wq69yw1yy916xsz6j7v8208k5mxixp41375cdm141x";
+ isLibrary = true;
+ isExecutable = true;
+ buildDepends = [
+ blazeBuilder dataDefault deepseq filepath hashable lens mtl
+ parallel parsec terminfo text transformers utf8String vector
+ ];
+ testDepends = [
+ blazeBuilder Cabal dataDefault deepseq HUnit lens mtl QuickCheck
+ quickcheckAssertions random smallcheck stringQq terminfo
+ testFramework testFrameworkHunit testFrameworkSmallcheck text
+ utf8String vector
+ ];
+ jailbreak = true;
+ doCheck = false;
+ meta = {
+ homepage = "https://github.com/coreyoconnor/vty";
+ description = "A simple terminal UI library";
+ license = self.stdenv.lib.licenses.bsd3;
+ platforms = self.ghc.meta.platforms;
+ maintainers = [ self.stdenv.lib.maintainers.andres ];
+ };
+})
diff --git a/pkgs/development/libraries/haskell/wai-app-static/default.nix b/pkgs/development/libraries/haskell/wai-app-static/default.nix
index 45dd5562a28..093fbb76f84 100644
--- a/pkgs/development/libraries/haskell/wai-app-static/default.nix
+++ b/pkgs/development/libraries/haskell/wai-app-static/default.nix
@@ -3,13 +3,13 @@
, hspec, httpDate, httpTypes, mimeTypes, network
, optparseApplicative, systemFileio, systemFilepath, text, time
, transformers, unixCompat, unorderedContainers, wai, waiExtra
-, waiTest, warp, zlib
+, warp, zlib
}:
cabal.mkDerivation (self: {
pname = "wai-app-static";
- version = "2.0.1";
- sha256 = "1mygyp70rmhnkc0s8626cxrkvcbil92v4gnx70iz26gfb5q9lc7d";
+ version = "3.0.0";
+ sha256 = "117r2ps440i2i156k50b674fkny2ywwbbla6ry0km041604cl733";
isLibrary = true;
isExecutable = true;
buildDepends = [
@@ -20,7 +20,7 @@ cabal.mkDerivation (self: {
];
testDepends = [
hspec httpDate httpTypes mimeTypes network text time transformers
- unixCompat wai waiTest zlib
+ unixCompat wai waiExtra zlib
];
meta = {
homepage = "http://www.yesodweb.com/book/web-application-interface";
diff --git a/pkgs/development/libraries/haskell/wai-conduit/default.nix b/pkgs/development/libraries/haskell/wai-conduit/default.nix
new file mode 100644
index 00000000000..10517e13d9c
--- /dev/null
+++ b/pkgs/development/libraries/haskell/wai-conduit/default.nix
@@ -0,0 +1,14 @@
+{ cabal, blazeBuilder, conduit, httpTypes, transformers, wai }:
+
+cabal.mkDerivation (self: {
+ pname = "wai-conduit";
+ version = "3.0.0";
+ sha256 = "0v92jyxkigq7yj3hzy7kg360036nav986ny7b558l6j7zc90jsdg";
+ buildDepends = [ blazeBuilder conduit httpTypes transformers wai ];
+ meta = {
+ homepage = "https://github.com/yesodweb/wai";
+ description = "conduit wrappers for WAI";
+ license = self.stdenv.lib.licenses.mit;
+ platforms = self.ghc.meta.platforms;
+ };
+})
diff --git a/pkgs/development/libraries/haskell/wai-extra/default.nix b/pkgs/development/libraries/haskell/wai-extra/default.nix
index 66d45f05912..d54e8351d4f 100644
--- a/pkgs/development/libraries/haskell/wai-extra/default.nix
+++ b/pkgs/development/libraries/haskell/wai-extra/default.nix
@@ -1,24 +1,23 @@
{ cabal, ansiTerminal, base64Bytestring, blazeBuilder
-, blazeBuilderConduit, caseInsensitive, conduit, conduitExtra
-, dataDefault, fastLogger, hspec, httpTypes, HUnit, liftedBase
-, network, resourcet, stringsearch, text, time, transformers, void
-, wai, waiLogger, waiTest, word8, zlib, zlibBindings, zlibConduit
+, caseInsensitive, dataDefault, dataDefaultClass, deepseq
+, fastLogger, hspec, httpTypes, HUnit, liftedBase, network
+, resourcet, streamingCommons, stringsearch, text, time
+, transformers, void, wai, waiLogger, word8, zlib
}:
cabal.mkDerivation (self: {
pname = "wai-extra";
- version = "2.1.1.2";
- sha256 = "000ksma1jmi7rfg2ib94baj31mcwqj2xfhkyv7lai89di0m0v6s4";
+ version = "3.0.0";
+ sha256 = "0spjyimqfj7hx8zgmal4laqy8p1inj8hl2402b5s6zqdn36lldfs";
buildDepends = [
- ansiTerminal base64Bytestring blazeBuilder blazeBuilderConduit
- caseInsensitive conduit conduitExtra dataDefault fastLogger
- httpTypes liftedBase network resourcet stringsearch text time
- transformers void wai waiLogger word8 zlibConduit
+ ansiTerminal base64Bytestring blazeBuilder caseInsensitive
+ dataDefaultClass deepseq fastLogger httpTypes liftedBase network
+ resourcet streamingCommons stringsearch text time transformers void
+ wai waiLogger word8
];
testDepends = [
- blazeBuilder conduit conduitExtra dataDefault fastLogger hspec
- httpTypes HUnit resourcet text transformers wai waiTest zlib
- zlibBindings
+ blazeBuilder dataDefault fastLogger hspec httpTypes HUnit resourcet
+ text transformers wai zlib
];
jailbreak = true;
meta = {
diff --git a/pkgs/development/libraries/haskell/wai-handler-fastcgi/default.nix b/pkgs/development/libraries/haskell/wai-handler-fastcgi/default.nix
index 9767f2d7750..7ecc3a34758 100644
--- a/pkgs/development/libraries/haskell/wai-handler-fastcgi/default.nix
+++ b/pkgs/development/libraries/haskell/wai-handler-fastcgi/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "wai-handler-fastcgi";
- version = "2.0.0.1";
- sha256 = "14jsibsqfj6z5yqgdrh43aiqps1yldxkgn6fkj4i80zxk099nbxp";
+ version = "3.0.0";
+ sha256 = "1cvy95qmbrhc1yjcral7f8y2929xp623abc9xasz7j28m4wwmynh";
buildDepends = [ wai waiExtra ];
extraLibraries = [ fcgi ];
meta = {
diff --git a/pkgs/development/libraries/haskell/wai-handler-launch/default.nix b/pkgs/development/libraries/haskell/wai-handler-launch/default.nix
index 9d59fd68ed6..d103b54ec6d 100644
--- a/pkgs/development/libraries/haskell/wai-handler-launch/default.nix
+++ b/pkgs/development/libraries/haskell/wai-handler-launch/default.nix
@@ -1,14 +1,13 @@
-{ cabal, blazeBuilder, blazeBuilderConduit, conduit, conduitExtra
-, httpTypes, transformers, wai, warp, zlibConduit
+{ cabal, blazeBuilder, httpTypes, streamingCommons, transformers
+, wai, warp
}:
cabal.mkDerivation (self: {
pname = "wai-handler-launch";
- version = "2.0.1.3";
- sha256 = "06im28x26jbzbdk9xz33kqvzblglk3b3b60qwal836hima69alsd";
+ version = "3.0.0";
+ sha256 = "1dv7w151szjkg9968v870abz11a440pdzy50zwm0xl6blk392nmk";
buildDepends = [
- blazeBuilder blazeBuilderConduit conduit conduitExtra httpTypes
- transformers wai warp zlibConduit
+ blazeBuilder httpTypes streamingCommons transformers wai warp
];
meta = {
description = "Launch a web app in the default browser";
diff --git a/pkgs/development/libraries/haskell/wai-logger/default.nix b/pkgs/development/libraries/haskell/wai-logger/default.nix
index dc00b9525eb..35b044bdfb4 100644
--- a/pkgs/development/libraries/haskell/wai-logger/default.nix
+++ b/pkgs/development/libraries/haskell/wai-logger/default.nix
@@ -11,6 +11,7 @@ cabal.mkDerivation (self: {
unixTime wai
];
testDepends = [ doctest waiTest ];
+ doCheck = false;
meta = {
description = "A logging system for WAI";
license = self.stdenv.lib.licenses.bsd3;
diff --git a/pkgs/development/libraries/haskell/wai-middleware-static/default.nix b/pkgs/development/libraries/haskell/wai-middleware-static/default.nix
index 8c0540ee101..9ca7992db68 100644
--- a/pkgs/development/libraries/haskell/wai-middleware-static/default.nix
+++ b/pkgs/development/libraries/haskell/wai-middleware-static/default.nix
@@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "wai-middleware-static";
- version = "0.5.0.0";
- sha256 = "0mvsm1ff7i2v09gchkc60r8klin1lb0w690m2kwhf9q6y7fxphdf";
+ version = "0.6.0";
+ sha256 = "1rsy8qkxcjqdpzqkar0smyy49p8vqapi47k8d24101lz3rym6018";
buildDepends = [ filepath httpTypes mtl text wai ];
jailbreak = true;
meta = {
diff --git a/pkgs/development/libraries/haskell/wai-test/default.nix b/pkgs/development/libraries/haskell/wai-test/default.nix
index b15aa1070ba..5d1cecc2e50 100644
--- a/pkgs/development/libraries/haskell/wai-test/default.nix
+++ b/pkgs/development/libraries/haskell/wai-test/default.nix
@@ -1,20 +1,14 @@
-{ cabal, blazeBuilder, blazeBuilderConduit, caseInsensitive
-, conduit, conduitExtra, cookie, deepseq, hspec, httpTypes, network
-, text, transformers, wai
-}:
+{ cabal, wai }:
cabal.mkDerivation (self: {
pname = "wai-test";
- version = "2.0.1.3";
- sha256 = "18j77l2n41941f95awj6fj0w712628v5lsc3bif00cqnaixjmz48";
- buildDepends = [
- blazeBuilder blazeBuilderConduit caseInsensitive conduit
- conduitExtra cookie deepseq httpTypes network text transformers wai
- ];
- testDepends = [ hspec wai ];
+ version = "3.0.0";
+ sha256 = "0xys01jniib0pnhadcm7s0v5z0wcxfgi0bf5ax808zm9qzvl3xfx";
+ buildDepends = [ wai ];
+ noHaddock = true;
meta = {
homepage = "http://www.yesodweb.com/book/web-application-interface";
- description = "Unit test framework (built on HUnit) for WAI applications";
+ description = "Unit test framework (built on HUnit) for WAI applications. (deprecated)";
license = self.stdenv.lib.licenses.mit;
platforms = self.ghc.meta.platforms;
};
diff --git a/pkgs/development/libraries/haskell/wai-websockets/default.nix b/pkgs/development/libraries/haskell/wai-websockets/default.nix
index 5d909c7d773..d0973881657 100644
--- a/pkgs/development/libraries/haskell/wai-websockets/default.nix
+++ b/pkgs/development/libraries/haskell/wai-websockets/default.nix
@@ -1,17 +1,17 @@
-{ cabal, blazeBuilder, caseInsensitive, conduit, fileEmbed
-, httpTypes, ioStreams, network, text, transformers, wai
-, waiAppStatic, warp, websockets
+{ cabal, blazeBuilder, caseInsensitive, fileEmbed, httpTypes
+, ioStreams, network, text, transformers, wai, waiAppStatic, warp
+, websockets
}:
cabal.mkDerivation (self: {
pname = "wai-websockets";
- version = "2.1.0.2";
- sha256 = "16hff38x6fpmp4r1wkjd922s02v5na8zwy6mq5f5gsj7b70n2ww2";
+ version = "3.0.0";
+ sha256 = "0bpzkh9a5j0a282z4dj9dqnjsgd0g8gyvvp0xm0a53582zfhfi5s";
isLibrary = true;
isExecutable = true;
buildDepends = [
- blazeBuilder caseInsensitive conduit fileEmbed httpTypes ioStreams
- network text transformers wai waiAppStatic warp websockets
+ blazeBuilder caseInsensitive fileEmbed httpTypes ioStreams network
+ text transformers wai waiAppStatic warp websockets
];
meta = {
homepage = "http://github.com/yesodweb/wai";
diff --git a/pkgs/development/libraries/haskell/wai/default.nix b/pkgs/development/libraries/haskell/wai/default.nix
index 540df207241..50ded58f44d 100644
--- a/pkgs/development/libraries/haskell/wai/default.nix
+++ b/pkgs/development/libraries/haskell/wai/default.nix
@@ -1,15 +1,11 @@
-{ cabal, blazeBuilder, conduit, conduitExtra, httpTypes, network
-, text, transformers, vault
-}:
+{ cabal, blazeBuilder, hspec, httpTypes, network, text, vault }:
cabal.mkDerivation (self: {
pname = "wai";
- version = "2.1.0.3";
- sha256 = "0qprvk63fvb4rddg9h385xbd5sr5bcgkpx6fqlw01pjzmmrig1m3";
- buildDepends = [
- blazeBuilder conduit conduitExtra httpTypes network text
- transformers vault
- ];
+ version = "3.0.0.1";
+ sha256 = "1f8alq4lygjdb4pzb7xm6jml3dviygk18siwfwb751va3j2fmi0v";
+ buildDepends = [ blazeBuilder httpTypes network text vault ];
+ testDepends = [ blazeBuilder hspec ];
meta = {
homepage = "https://github.com/yesodweb/wai";
description = "Web Application Interface";
diff --git a/pkgs/development/libraries/haskell/warp-tls/default.nix b/pkgs/development/libraries/haskell/warp-tls/default.nix
index e9e7ae39380..ca20fe2d6bf 100644
--- a/pkgs/development/libraries/haskell/warp-tls/default.nix
+++ b/pkgs/development/libraries/haskell/warp-tls/default.nix
@@ -1,15 +1,13 @@
-{ cabal, conduit, conduitExtra, cprngAes, dataDefaultClass, network
-, networkConduit, resourcet, streamingCommons, tls, transformers
+{ cabal, cprngAes, dataDefaultClass, network, streamingCommons, tls
, wai, warp
}:
cabal.mkDerivation (self: {
pname = "warp-tls";
- version = "2.0.5";
- sha256 = "11nc5drys75mjfqww87rs2clhxpx485q008y42f2ymj7s5856db4";
+ version = "3.0.0";
+ sha256 = "14gm43a811v9h87ia2b9y9kynafrvq3yw89gswlj832469jx9sfw";
buildDepends = [
- conduit conduitExtra cprngAes dataDefaultClass network
- networkConduit resourcet streamingCommons tls transformers wai warp
+ cprngAes dataDefaultClass network streamingCommons tls wai warp
];
meta = {
homepage = "http://github.com/yesodweb/wai";
diff --git a/pkgs/development/libraries/haskell/warp/default.nix b/pkgs/development/libraries/haskell/warp/default.nix
index be5dd392d16..d0940345a57 100644
--- a/pkgs/development/libraries/haskell/warp/default.nix
+++ b/pkgs/development/libraries/haskell/warp/default.nix
@@ -1,25 +1,22 @@
-{ cabal, async, blazeBuilder, blazeBuilderConduit, caseInsensitive
-, conduit, conduitExtra, doctest, hashable, hspec, HTTP, httpDate
-, httpTypes, HUnit, liftedBase, network, networkConduit, QuickCheck
-, simpleSendfile, streamingCommons, text, time, transformers
-, unixCompat, void, wai
+{ cabal, async, blazeBuilder, caseInsensitive, doctest, hashable
+, hspec, HTTP, httpDate, httpTypes, HUnit, liftedBase, network
+, QuickCheck, simpleSendfile, streamingCommons, text, time
+, transformers, unixCompat, void, wai
}:
cabal.mkDerivation (self: {
pname = "warp";
- version = "2.1.5.2";
- sha256 = "0rv5fxw1d5dh6jzvs3bg2vjjr702xw59fx7mflygpqh8zivfh4ds";
+ version = "3.0.0.1";
+ sha256 = "05x216fj7s1i963xipi0p7vmkz5l0nma1fjqiq040fg3rngw4yqb";
buildDepends = [
- blazeBuilder blazeBuilderConduit caseInsensitive conduit
- conduitExtra hashable httpDate httpTypes liftedBase network
- networkConduit simpleSendfile streamingCommons text transformers
- unixCompat void wai
+ blazeBuilder caseInsensitive hashable httpDate httpTypes network
+ simpleSendfile streamingCommons text unixCompat void wai
];
testDepends = [
- async blazeBuilder blazeBuilderConduit caseInsensitive conduit
- conduitExtra doctest hashable hspec HTTP httpDate httpTypes HUnit
- liftedBase network networkConduit QuickCheck simpleSendfile
- streamingCommons text time transformers unixCompat void wai
+ async blazeBuilder caseInsensitive doctest hashable hspec HTTP
+ httpDate httpTypes HUnit liftedBase network QuickCheck
+ simpleSendfile streamingCommons text time transformers unixCompat
+ void wai
];
doCheck = false;
meta = {
diff --git a/pkgs/development/libraries/haskell/websockets/default.nix b/pkgs/development/libraries/haskell/websockets/default.nix
index 9e22d0cab18..e712a5b2b81 100644
--- a/pkgs/development/libraries/haskell/websockets/default.nix
+++ b/pkgs/development/libraries/haskell/websockets/default.nix
@@ -6,8 +6,8 @@
cabal.mkDerivation (self: {
pname = "websockets";
- version = "0.8.2.3";
- sha256 = "0j4lm5hkipd4q6kizrjy1cjdw2b0588m4k6fh50ss5qnqw9rkjkd";
+ version = "0.8.2.4";
+ sha256 = "09mq04vhi53isj8z5930ibyai7bv634lnmhl4xl2d3fzz2afvff0";
buildDepends = [
attoparsec base64Bytestring binary blazeBuilder caseInsensitive
entropy ioStreams mtl network random SHA text
diff --git a/pkgs/development/libraries/haskell/yesod-auth/default.nix b/pkgs/development/libraries/haskell/yesod-auth/default.nix
index ecea7b9f99d..a54c714e979 100644
--- a/pkgs/development/libraries/haskell/yesod-auth/default.nix
+++ b/pkgs/development/libraries/haskell/yesod-auth/default.nix
@@ -1,20 +1,22 @@
-{ cabal, aeson, authenticate, base16Bytestring, base64Bytestring
-, binary, blazeHtml, blazeMarkup, byteable, cryptohash, dataDefault
-, emailValidate, fileEmbed, hamlet, httpConduit, httpTypes
-, liftedBase, mimeMail, network, persistent, persistentTemplate
-, random, resourcet, safe, shakespeare, shakespeareCss
-, shakespeareJs, text, time, transformers, unorderedContainers, wai
-, yesodCore, yesodForm, yesodPersistent
+{ cabal, aeson, attoparsecConduit, authenticate, base16Bytestring
+, base64Bytestring, binary, blazeBuilder, blazeHtml, blazeMarkup
+, byteable, conduit, conduitExtra, cryptohash, dataDefault
+, emailValidate, fileEmbed, hamlet, httpClient, httpConduit
+, httpTypes, liftedBase, mimeMail, network, persistent
+, persistentTemplate, random, resourcet, safe, shakespeare
+, shakespeareCss, shakespeareJs, text, time, transformers
+, unorderedContainers, wai, yesodCore, yesodForm, yesodPersistent
}:
cabal.mkDerivation (self: {
pname = "yesod-auth";
- version = "1.3.0.5";
- sha256 = "03vwmc2hql07mfl2s7a3sry82x0y0icr1977p1ljfhinyh35zc6l";
+ version = "1.3.1";
+ sha256 = "1fv5z938rpiyhkl4zjb2ss496bgqvdvn7di5im089zmxvx1m81lz";
buildDepends = [
- aeson authenticate base16Bytestring base64Bytestring binary
- blazeHtml blazeMarkup byteable cryptohash dataDefault emailValidate
- fileEmbed hamlet httpConduit httpTypes liftedBase mimeMail network
+ aeson attoparsecConduit authenticate base16Bytestring
+ base64Bytestring binary blazeBuilder blazeHtml blazeMarkup byteable
+ conduit conduitExtra cryptohash dataDefault emailValidate fileEmbed
+ hamlet httpClient httpConduit httpTypes liftedBase mimeMail network
persistent persistentTemplate random resourcet safe shakespeare
shakespeareCss shakespeareJs text time transformers
unorderedContainers wai yesodCore yesodForm yesodPersistent
diff --git a/pkgs/development/libraries/haskell/yesod-bin/default.nix b/pkgs/development/libraries/haskell/yesod-bin/default.nix
index d722d5cd608..145df1e625f 100644
--- a/pkgs/development/libraries/haskell/yesod-bin/default.nix
+++ b/pkgs/development/libraries/haskell/yesod-bin/default.nix
@@ -10,8 +10,8 @@
cabal.mkDerivation (self: {
pname = "yesod-bin";
- version = "1.2.9.3";
- sha256 = "1gjcg798d7xpd8hgz8s1napgxm9dnbsks1g1s5hgx8ml5xkp2la7";
+ version = "1.2.10.2";
+ sha256 = "18faylxjrd790xv6zr77wikkcy99l7824bb1sq1y225kd7a3alsm";
isLibrary = false;
isExecutable = true;
buildDepends = [
@@ -23,18 +23,6 @@ cabal.mkDerivation (self: {
systemFileio systemFilepath tar text time transformers unixCompat
unorderedContainers wai waiExtra warp yaml zlib
];
-
- postInstall = ''
- mv $out/bin/yesod $out/bin/.yesod-wrapped
- cat - > $out/bin/yesod < python != null;
+assert pythonSupport -> pythonPackages != null;
stdenv.mkDerivation rec {
version = "212";
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
/* cryptsetup */ libuuid m4 glib libxslt libgcrypt docbook_xsl
libmicrohttpd linuxHeaders
autoreconfHook
- ] ++ stdenv.lib.optional pythonSupport python;
+ ] ++ stdenv.lib.optionals pythonSupport [pythonPackages.python pythonPackages.lxml];
configureFlags =
[ "--localstatedir=/var"
diff --git a/pkgs/servers/dict/dictd-db.nix b/pkgs/servers/dict/dictd-db.nix
index c6c0bc73a08..5f109c58e6e 100644
--- a/pkgs/servers/dict/dictd-db.nix
+++ b/pkgs/servers/dict/dictd-db.nix
@@ -24,7 +24,6 @@ stdenv.mkDerivation rec {
[doInstall doForceShare doPropagate]);
meta = {
description = "${name} dictionary for dictd";
- inherit src;
};
};
# Probably a bug in some FreeDict release files, but easier to trivially
diff --git a/pkgs/servers/dns/nsd/default.nix b/pkgs/servers/dns/nsd/default.nix
new file mode 100644
index 00000000000..7279aa6d4ef
--- /dev/null
+++ b/pkgs/servers/dns/nsd/default.nix
@@ -0,0 +1,34 @@
+{ config, stdenv, fetchurl, libevent, openssl
+}:
+
+stdenv.mkDerivation rec {
+ name = "nsd-4.0.3";
+
+ src = fetchurl {
+ url = "http://www.nlnetlabs.nl/downloads/nsd/${name}.tar.gz";
+ sha256 = "4bf05f2234e1b41899198aa1070f409201fc3c4980feef6567cd92c7074c4a8b";
+ };
+
+ buildInputs = [ libevent openssl ];
+
+ configureFlags =
+ let flag = state: flags: if state then map (x: "--enable-${x}") flags
+ else map (x: "--disable-${x}") flags;
+ in flag (config.nsd.bind8Stats or false) [ "bind8-stats" ]
+ ++ flag (config.nsd.checking or false) [ "checking" ]
+ ++ flag (config.nsd.ipv6 or true) [ "ipv6" ]
+ ++ flag (config.nsd.mmap or false) [ "mmap" ]
+ ++ flag (config.nsd.minimalResponses or true) [ "minimal-responses" ]
+ ++ flag (config.nsd.nsec3 or true) [ "nsec3" ]
+ ++ flag (config.nsd.ratelimit or false) [ "ratelimit" ]
+ ++ flag (config.nsd.recvmmsg or false) [ "recvmmsg" ]
+ ++ flag (config.nsd.rootServer or false) [ "root-server" ]
+ ++ [ "--with-ssl=${openssl}" "--with-libevent=${libevent}" ];
+
+ meta = {
+ description = "Authoritative only, high performance, simple and open source name server.";
+ license = "BSD";
+ homepage = http://www.nlnetlabs.nl;
+ platforms = with stdenv.lib.platforms; linux;
+ };
+}
diff --git a/pkgs/servers/fcgiwrap/default.nix b/pkgs/servers/fcgiwrap/default.nix
new file mode 100644
index 00000000000..84deebcb8f5
--- /dev/null
+++ b/pkgs/servers/fcgiwrap/default.nix
@@ -0,0 +1,21 @@
+{ stdenv, fetchurl, systemd, fcgi, autoreconfHook, pkgconfig }:
+
+stdenv.mkDerivation rec {
+ name = "fcgiwrap-${version}";
+ version = "1.1.0";
+
+ src = fetchurl {
+ url = "http://github.com/gnosek/fcgiwrap/archive/${version}.tar.gz";
+ sha256 = "07y6s4mm86cv7p1ljz94sxnqa89y9amn3vzwsnbq5hrl4vdy0zac";
+ };
+
+ configureFlags = [ "--with-systemd" "--with-systemdsystemunitdir=$(out)/etc/systemd/system" ];
+
+ buildInputs = [ autoreconfHook systemd fcgi pkgconfig ];
+
+ meta = with stdenv.lib; {
+ homepage = https://nginx.localdomain.pl/wiki/FcgiWrap;
+ description = "Simple server for running CGI applications over FastCGI";
+ maintainers = with maintainers; [ lethalman ];
+ };
+}
diff --git a/pkgs/servers/mail/postfix/2.11.nix b/pkgs/servers/mail/postfix/2.11.nix
index 7164ace791e..3651b1b74a4 100644
--- a/pkgs/servers/mail/postfix/2.11.nix
+++ b/pkgs/servers/mail/postfix/2.11.nix
@@ -6,11 +6,11 @@ stdenv.mkDerivation rec {
name = "postfix-${version}";
- version = "2.11.0";
+ version = "2.11.1";
src = fetchurl {
url = "ftp://ftp.cs.uu.nl/mirror/postfix/postfix-release/official/${name}.tar.gz";
- sha256 = "0f0c6cv6j5m5n4bjp18llvbbxmzmhb70qw1z9vf7h9k6slr9s7fa";
+ sha256 = "1ql9cifjcfhfi81lrf6zvk0r3spgcp01xwna16a7k9cm7fkrhzs8";
};
patches = [ ./postfix-2.11.0.patch ];
diff --git a/pkgs/servers/mail/spamassassin/default.nix b/pkgs/servers/mail/spamassassin/default.nix
index 03e579bda20..ea69d036f95 100644
--- a/pkgs/servers/mail/spamassassin/default.nix
+++ b/pkgs/servers/mail/spamassassin/default.nix
@@ -16,7 +16,7 @@ buildPerlPackage rec {
name = "SpamAssassin-3.4.0";
src = fetchurl {
- url = "http://apache.imsam.info/spamassassin/source/Mail-${name}.tar.bz2";
+ url = "mirror://apache/spamassassin/source/Mail-${name}.tar.bz2";
sha256 = "0527rv6m5qd41l756fqh9q7sm9m2xfhhy2jchlhbmd39x6x3jfsm";
};
diff --git a/pkgs/servers/nosql/riak/1.3.1.nix b/pkgs/servers/nosql/riak/1.3.1.nix
index ccac6e331fd..96315c52f6b 100644
--- a/pkgs/servers/nosql/riak/1.3.1.nix
+++ b/pkgs/servers/nosql/riak/1.3.1.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, unzip, erlangR15B03 }:
+{ stdenv, fetchurl, unzip, erlangR15}:
let
srcs = {
@@ -15,7 +15,7 @@ in
stdenv.mkDerivation rec {
name = "riak-1.3.1";
- buildInputs = [unzip erlangR15B03];
+ buildInputs = [unzip erlangR15];
src = srcs.riak;
diff --git a/pkgs/servers/sabnzbd/builder.sh b/pkgs/servers/sabnzbd/builder.sh
index c263500cde4..3a5c8adb421 100644
--- a/pkgs/servers/sabnzbd/builder.sh
+++ b/pkgs/servers/sabnzbd/builder.sh
@@ -9,8 +9,8 @@ echo "$python/bin/python $out/SABnzbd.py \$*" > $out/bin/sabnzbd
chmod +x $out/bin/sabnzbd
for i in $(cd $out/bin && ls); do
- wrapProgram $out/bin/$i --prefix PYTHONPATH : "$(toPythonPath $python):$(toPythonPath $out):$(toPythonPath $cheetahTemplate)" \
- --prefix PATH : "$par2cmdline/bin:$unzip/bin:$unrar/bin"
+ wrapProgram $out/bin/$i --prefix PYTHONPATH : "$(toPythonPath $python):$(toPythonPath $out):$(toPythonPath $cheetahTemplate):$(toPythonPath $sqlite3)" \
+ --prefix PATH : "$par2cmdline/bin:$unzip/bin:$unrar/bin"
done
echo $out
diff --git a/pkgs/servers/sabnzbd/default.nix b/pkgs/servers/sabnzbd/default.nix
index ace96fbed63..09c0de9c74f 100644
--- a/pkgs/servers/sabnzbd/default.nix
+++ b/pkgs/servers/sabnzbd/default.nix
@@ -1,15 +1,16 @@
-{stdenv, fetchurl, python, cheetahTemplate, makeWrapper, par2cmdline, unzip, unrar}:
+{stdenv, fetchurl, python, pythonPackages, cheetahTemplate, makeWrapper, par2cmdline, unzip, unrar}:
-stdenv.mkDerivation {
- name = "sabnzbd-0.4.12";
+stdenv.mkDerivation rec {
+ name = "sabnzbd-0.7.17";
src = fetchurl {
- url = mirro://sourceforge/sabnzbdplus/SABnzbd-0.4.12-src.tar.gz;
- sha256 = "35ce4172688925ef608fba433ff676357dab7d2abdc1cf83112a1c99682fdd32";
+ url = mirror://sourceforge/sabnzbdplus/SABnzbd-0.7.17-src.tar.gz;
+ sha256 = "02gbh3q3qnbwy4xn1hw4i4fyw4j5nkrqy4ak46mxwqgip9ym20d5";
};
- buildInputs = [makeWrapper python cheetahTemplate];
+ buildInputs = [makeWrapper python sqlite3 cheetahTemplate];
inherit stdenv python cheetahTemplate par2cmdline unzip unrar;
+ inherit (pythonPackages) sqlite3;
builder = ./builder.sh;
diff --git a/pkgs/servers/search/elasticsearch/default.nix b/pkgs/servers/search/elasticsearch/default.nix
index c6939ce5f7a..b227832ad73 100644
--- a/pkgs/servers/search/elasticsearch/default.nix
+++ b/pkgs/servers/search/elasticsearch/default.nix
@@ -1,10 +1,10 @@
{ stdenv, fetchurl, makeWrapper, jre, utillinux }:
stdenv.mkDerivation rec {
- name = "elasticsearch-1.0.1";
+ name = "elasticsearch-1.2.1";
src = fetchurl {
url = "https://download.elasticsearch.org/elasticsearch/elasticsearch/${name}.tar.gz";
- sha256 = "0nwv7llw7gk94alfcpxxy0lybhnw7fggv30v7ylsxn20id9g7kba";
+ sha256 = "11lirxl0hb0xfd57accsgldq1adrlv9pak2520jll2sj5gg71cmj";
};
patches = [ ./es-home.patch ];
diff --git a/pkgs/servers/sql/mariadb/default.nix b/pkgs/servers/sql/mariadb/default.nix
index a6105c12890..d0f7f5ef3e5 100644
--- a/pkgs/servers/sql/mariadb/default.nix
+++ b/pkgs/servers/sql/mariadb/default.nix
@@ -1,16 +1,17 @@
{ stdenv, fetchurl, cmake, ncurses, openssl, bison, boost, libxml2, libaio, judy, libevent, groff }:
stdenv.mkDerivation rec {
- name = "mariadb-10.0.10";
+ name = "mariadb-${version}";
+ version = "10.0.11";
src = fetchurl {
- url = "https://fossies.org/linux/misc/${name}.tar.gz";
- md5 = "14ce22b8197d4eae88d237776d47220f";
+ url = "https://fossies.org/linux/misc/${name}.tar.gz";
+ sha256 = "1p8h06kns30rlbnzw9ddmihs7r3jhp8xlrl4r6h5d107wkcw86v3";
};
buildInputs = [ cmake ncurses openssl bison boost libxml2 libaio judy libevent groff ];
- cmakeFlags = [ "-DWITH_READLINE=yes" "-DWITH_EMBEDDED_SERVER=yes" "-DWITHOUT_TOKUDB=1" "-DINSTALL_SCRIPTDIR=bin" ];
+ cmakeFlags = [ "-DWITH_READLINE=yes" "-DWITH_EMBEDDED_SERVER=yes" "-DINSTALL_SCRIPTDIR=bin" ];
enableParallelBuilding = true;
@@ -20,7 +21,7 @@ stdenv.mkDerivation rec {
description = "An enhanced, drop-in replacement for MySQL";
homepage = https://mariadb.org/;
license = stdenv.lib.licenses.gpl2;
- maintainers = [ stdenv.lib.maintainers.shlevy ];
+ maintainers = with stdenv.lib.maintainers; [ shlevy thoughtpolice ];
platforms = stdenv.lib.platforms.all;
};
}
diff --git a/pkgs/servers/sql/mysql/jdbc/default.nix b/pkgs/servers/sql/mysql/jdbc/default.nix
index 424f6d02181..7fde706479d 100644
--- a/pkgs/servers/sql/mysql/jdbc/default.nix
+++ b/pkgs/servers/sql/mysql/jdbc/default.nix
@@ -1,12 +1,12 @@
{stdenv, fetchurl, ant, unzip}:
stdenv.mkDerivation {
- name = "mysql-connector-java-5.1.25";
+ name = "mysql-connector-java-5.1.31";
builder = ./builder.sh;
src = fetchurl {
- url = http://cdn.mysql.com/Downloads/Connector-J/mysql-connector-java-5.1.25.zip;
- sha256 = "1qwnha8w8xafcig8wdvbry93pbli2vmzks8ds6kbb9im2k0rrmrw";
+ url = http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.31.zip;
+ sha256 = "1j6jvpadlib2hb6n3kh7s9ygjyqvi5gawrmnk1dsvvdcbkk1v871";
};
buildInputs = [ unzip ant ];
diff --git a/pkgs/servers/squid/squids.nix b/pkgs/servers/squid/squids.nix
index 18778aa80db..642b713daaa 100644
--- a/pkgs/servers/squid/squids.nix
+++ b/pkgs/servers/squid/squids.nix
@@ -39,5 +39,16 @@ rec {
libtool openssl];
};
- latest = squid32;
+ squid34 = squid30.merge rec {
+ name = "squid-3.4.5";
+ src = args.fetchurl {
+ url = "http://www.squid-cache.org/Versions/v3/3.4/${name}.tar.bz2";
+ sha256 = "1d17l27bszdxnvdr78l7yry8ka38cq7g4774m5876q25ny1q1bmr";
+ };
+ buildInputs = [openldap pam db cyrus_sasl libcap expat libxml2
+ libtool openssl];
+ configureFlags = ["--enable-ssl" "--enable-ssl-crtd"];
+ };
+
+ latest = squid34;
}
diff --git a/pkgs/servers/xmpp/openfire/default.nix b/pkgs/servers/xmpp/openfire/default.nix
index e5e5273783f..736517b53f1 100644
--- a/pkgs/servers/xmpp/openfire/default.nix
+++ b/pkgs/servers/xmpp/openfire/default.nix
@@ -31,6 +31,5 @@ stdenv.mkDerivation rec {
[ installPhase doForceShare doPropagate]);
meta = {
description = "XMPP server in Java";
- inherit src;
};
}
diff --git a/pkgs/shells/fish/default.nix b/pkgs/shells/fish/default.nix
index 7b70e98d2cd..e69c033cf40 100644
--- a/pkgs/shells/fish/default.nix
+++ b/pkgs/shells/fish/default.nix
@@ -23,6 +23,8 @@ stdenv.mkDerivation rec {
-e "s|which |${which}/bin/which |" \
-i "$out/share/fish/functions/_.fish"
sed -i "s|Popen(\['manpath'|Popen(\['${man_db}/bin/manpath'|" "$out/share/fish/tools/create_manpage_completions.py"
+ sed -i "s|/sbin /usr/sbin||" \
+ "$out/share/fish/functions/__fish_complete_subcommand_root.fish"
'';
meta = with stdenv.lib; {
diff --git a/pkgs/tools/X11/nitrogen/default.nix b/pkgs/tools/X11/nitrogen/default.nix
index 1f233937cfe..5648b5715ec 100644
--- a/pkgs/tools/X11/nitrogen/default.nix
+++ b/pkgs/tools/X11/nitrogen/default.nix
@@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
meta = {
description = "A background browser and setter for X windows";
homepage = http://projects.l3ib.org/nitrogen/;
+ license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
+ maintainer = [ stdenv.lib.maintainers.auntie ];
};
}
diff --git a/pkgs/tools/archivers/zpaq/default.nix b/pkgs/tools/archivers/zpaq/default.nix
index 2f44a8dd4db..718a80e1406 100644
--- a/pkgs/tools/archivers/zpaq/default.nix
+++ b/pkgs/tools/archivers/zpaq/default.nix
@@ -3,11 +3,11 @@ let
s = # Generated upstream information
rec {
baseName="zpaq";
- version="651";
+ version="652";
name="${baseName}-${version}";
- hash="1n0qq4lia25n62jpa0gg29388xf8r75nv4h1vpc3s5rpymkq2qw5";
- url="http://mattmahoney.net/dc/zpaq651.zip";
- sha256="1n0qq4lia25n62jpa0gg29388xf8r75nv4h1vpc3s5rpymkq2qw5";
+ hash="16qdf0y8jwjp8ymbikz7jm2ldjmbcixvkyrvsx0zy3y7nyylcgky";
+ url="http://mattmahoney.net/dc/zpaq652.zip";
+ sha256="16qdf0y8jwjp8ymbikz7jm2ldjmbcixvkyrvsx0zy3y7nyylcgky";
};
buildInputs = [
unzip
diff --git a/pkgs/tools/filesystems/relfs/default.nix b/pkgs/tools/filesystems/relfs/default.nix
index 56dad0c1e3d..6d803f72531 100644
--- a/pkgs/tools/filesystems/relfs/default.nix
+++ b/pkgs/tools/filesystems/relfs/default.nix
@@ -48,7 +48,6 @@ stdenv.mkDerivation rec {
(textClosure localDefs ["build" "doMakeInstall" "doForceShare" "doPropagate"]);
meta = {
description = "A relational filesystem on top of FUSE";
- inherit src;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
};
diff --git a/pkgs/tools/graphics/nifskope/default.nix b/pkgs/tools/graphics/nifskope/default.nix
index 32410caeeff..13dc27921a4 100644
--- a/pkgs/tools/graphics/nifskope/default.nix
+++ b/pkgs/tools/graphics/nifskope/default.nix
@@ -46,6 +46,6 @@ stdenv.mkDerivation rec {
description = "A tool for analyzing and editing NetImmerse/Gamebryo '*.nif' files";
maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.linux;
- licence = stdenv.lib.licenses.bsd3;
+ license = stdenv.lib.licenses.bsd3;
};
}
diff --git a/pkgs/tools/misc/t1utils/default.nix b/pkgs/tools/misc/t1utils/default.nix
new file mode 100644
index 00000000000..60767405154
--- /dev/null
+++ b/pkgs/tools/misc/t1utils/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchurl }:
+
+stdenv.mkDerivation rec {
+ name = "t1utils-1.38";
+
+ src = fetchurl {
+ url = "http://www.lcdf.org/type/${name}.tar.gz";
+ sha256 = "1pnxpjabjyzfjrp319wsq4acxw99c8nnsaalbz7nwamj8kkim7zw";
+ };
+
+ meta = with stdenv.lib; {
+ description = "Collection of simple Type 1 font manipulation programs";
+ longDescription = ''
+ t1utils is a collection of simple type-1 font manipulation programs.
+ Together, they allow you to convert between PFA (ASCII) and PFB (binary)
+ formats, disassemble PFA or PFB files into human-readable form,
+ reassemble them into PFA or PFB format. Additionally you can extract font
+ resources from a Macintosh font file or create a Macintosh Type 1 font
+ file from a PFA or PFB font.
+ '';
+ homepage = http://www.lcdf.org/type/;
+ # README from tarball says "BSD-like" and points to non-existing LICENSE
+ # file...
+ license = "BSD-like";
+ platforms = platforms.linux;
+ maintainers = [ maintainers.bjornfor ];
+ };
+}
diff --git a/pkgs/tools/misc/tmpwatch/default.nix b/pkgs/tools/misc/tmpwatch/default.nix
index befe517c225..c19d58b9816 100644
--- a/pkgs/tools/misc/tmpwatch/default.nix
+++ b/pkgs/tools/misc/tmpwatch/default.nix
@@ -8,11 +8,11 @@ stdenv.mkDerivation rec {
sha256 = "1m5859ngwx61l1i4s6fja2avf1hyv6w170by273w8nsin89825lk";
};
- meta = {
+ meta = with stdenv.lib; {
homepage = https://fedorahosted.org/tmpwatch/;
description = "The tmpwatch utility recursively searches through specified directories and removes files which have not been accessed in a specified period of time.";
- licence = "GPLv2";
- maintainers = with stdenv.lib.maintainers; [ vlstill ];
- platforms = stdenv.lib.platforms.unix;
+ license = licenses.gpl2;
+ maintainers = with maintainers; [ vlstill ];
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/tools/networking/dd-agent/default.nix b/pkgs/tools/networking/dd-agent/default.nix
index 1674d01af8f..8ff45e733fb 100644
--- a/pkgs/tools/networking/dd-agent/default.nix
+++ b/pkgs/tools/networking/dd-agent/default.nix
@@ -2,14 +2,14 @@
, makeWrapper }:
stdenv.mkDerivation rec {
- version = "4.2.1";
+ version = "4.3.1";
name = "dd-agent-${version}";
src = fetchFromGitHub {
owner = "DataDog";
repo = "dd-agent";
rev = version;
- sha256 = "06f9nkvnpfzs2nw75cac2y9wnp2bay4sg94zz0wjm8886rigjjjm";
+ sha256 = "0z6b1s30fyd9ldahizrjwcxx7c7dd74xsqy19j3qykrb25j9cvmn";
};
buildInputs = [ python unzip makeWrapper pythonPackages.psycopg2 ];
diff --git a/pkgs/tools/networking/mailutils/default.nix b/pkgs/tools/networking/mailutils/default.nix
index 3ac82e51bf8..0453567c449 100644
--- a/pkgs/tools/networking/mailutils/default.nix
+++ b/pkgs/tools/networking/mailutils/default.nix
@@ -18,7 +18,8 @@ stdenv.mkDerivation rec {
gnutls mysql guile texinfo gnum4 ]
++ stdenv.lib.optional doCheck dejagnu;
- doCheck = true;
+ # Tests fail since gcc 4.8
+ doCheck = false;
meta = {
description = "GNU Mailutils is a rich and powerful protocol-independent mail framework";
@@ -51,8 +52,5 @@ stdenv.mkDerivation rec {
# Some of the dependencies fail to build on {cyg,dar}win.
platforms = stdenv.lib.platforms.gnu;
-
- # Tests fail since gcc 4.8
- broken = true;
};
}
diff --git a/pkgs/tools/networking/tinc/default.nix b/pkgs/tools/networking/tinc/default.nix
index 61ff721a847..f1f8801358c 100644
--- a/pkgs/tools/networking/tinc/default.nix
+++ b/pkgs/tools/networking/tinc/default.nix
@@ -1,12 +1,12 @@
{stdenv, fetchurl, lzo, openssl, zlib}:
stdenv.mkDerivation rec {
- version = "1.0.23";
+ version = "1.0.24";
name = "tinc-${version}";
src = fetchurl {
url = "http://www.tinc-vpn.org/packages/tinc-${version}.tar.gz";
- sha256 = "04i88hr46nx3x3s71kasm9qrjhnn35icxh9zwchki47z2vgnpw5w";
+ sha256 = "11xnz6lz917hq0zb544dvbxl0smlyjx65kv3181j4fcyygwmi3j9";
};
buildInputs = [ lzo openssl zlib ];
diff --git a/pkgs/tools/package-management/disnix/default.nix b/pkgs/tools/package-management/disnix/default.nix
index ff29316edbf..d89ab7667e8 100644
--- a/pkgs/tools/package-management/disnix/default.nix
+++ b/pkgs/tools/package-management/disnix/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, dbus_glib, libxml2, libxslt, getopt, nixUnstable, dysnomia, libintlOrEmpty, libiconvOrEmpty }:
stdenv.mkDerivation {
- name = "disnix-0.3pre8aa12b65ced9029f7c17a494cee25e6ffc69fdea";
+ name = "disnix-0.3pre174e883b7b09da822494876d2f297736f33707a7";
src = fetchurl {
- url = http://hydra.nixos.org/build/9876935/download/4/disnix-0.3pre15e93a364ad9439d8336e659921600d48252045d.tar.gz;
- sha256 = "1kgc6cacpp3ly7c62ah6pdprdl1bab08b4ir4dcrrm44x6fa1k63";
+ url = http://hydra.nixos.org/build/11773951/download/4/disnix-0.3pre174e883b7b09da822494876d2f297736f33707a7.tar.gz;
+ sha256 = "19hdh2mrlyiq1g3z6lnnqqvripmfcdnm18jpm4anp5iarhnwh3y4";
};
buildInputs = [ pkgconfig dbus_glib libxml2 libxslt getopt nixUnstable libintlOrEmpty libiconvOrEmpty dysnomia ];
diff --git a/pkgs/tools/package-management/disnix/dysnomia/default.nix b/pkgs/tools/package-management/disnix/dysnomia/default.nix
index 5c937bc8aef..d2f3ae6468c 100644
--- a/pkgs/tools/package-management/disnix/dysnomia/default.nix
+++ b/pkgs/tools/package-management/disnix/dysnomia/default.nix
@@ -19,10 +19,10 @@ assert enableEjabberdDump -> ejabberd != null;
assert enableMongoDatabase -> mongodb != null;
stdenv.mkDerivation {
- name = "dysnomia-0.3pred677260f77bb202c7490f7db08dbd8442c9db484";
+ name = "dysnomia-0.3pre09cc08f5ffc737d988923bb7329a7ec711badd82";
src = fetchurl {
- url = http://hydra.nixos.org/build/9146265/download/1/dysnomia-0.3pre313a5f99a166fee2e0245dfd25f41ec9ed958075.tar.gz;
- sha256 = "0fgbqybr9rfr95fkmv1hpq7al0p1kxa385k6sjc7iwwcxs4cmxf5";
+ url = http://hydra.nixos.org/build/11407191/download/1/dysnomia-0.3pre09cc08f5ffc737d988923bb7329a7ec711badd82.tar.gz;
+ sha256 = "1i7yb299bq1z7cy4sk83m5faahj8inh73xn5bi6jcv492zv3kgwz";
};
preConfigure = if enableEjabberdDump then "export PATH=$PATH:${ejabberd}/sbin" else "";
diff --git a/pkgs/tools/package-management/nix-prefetch-scripts/default.nix b/pkgs/tools/package-management/nix-prefetch-scripts/default.nix
new file mode 100644
index 00000000000..d7210b2f616
--- /dev/null
+++ b/pkgs/tools/package-management/nix-prefetch-scripts/default.nix
@@ -0,0 +1,33 @@
+{ stdenv, makeWrapper, git, subversion, mercurial, bazaar, cvs }:
+
+stdenv.mkDerivation {
+ name = "nix-prefetch-scripts";
+
+ buildInputs = [ makeWrapper ];
+
+ phases = [ "installPhase" "fixupPhase" ];
+ installPhase = ''
+ mkdir -p $out/bin
+ function copyScript {
+ local name=nix-prefetch-$1;
+ local src=$2;
+ local exe=$3/bin;
+ cp $src $out/bin/$name;
+ wrapProgram $out/bin/$name --suffix PATH : "$exe"
+ }
+
+ copyScript "hg" ${../../../build-support/fetchhg/nix-prefetch-hg} ${mercurial}
+ copyScript "git" ${../../../build-support/fetchgit/nix-prefetch-git} ${git}
+ copyScript "svn" ${../../../build-support/fetchsvn/nix-prefetch-svn} ${subversion}
+ copyScript "bzr" ${../../../build-support/fetchbzr/nix-prefetch-bzr} ${bazaar}
+ copyScript "cvs" ${../../../build-support/fetchcvs/nix-prefetch-cvs} ${cvs}
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Collection of all the nix-prefetch-* scripts which may be used to obtain source hashes";
+ maintainers = with maintainers; [ bennofs ];
+ platforms = with stdenv.lib.platforms; unix;
+ # Quicker to build than to download, I hope
+ hydraPlatforms = [];
+ };
+}
\ No newline at end of file
diff --git a/pkgs/tools/security/pass/default.nix b/pkgs/tools/security/pass/default.nix
index 505bdd2efc8..f9bc0171592 100644
--- a/pkgs/tools/security/pass/default.nix
+++ b/pkgs/tools/security/pass/default.nix
@@ -1,6 +1,10 @@
{ stdenv, fetchurl
, coreutils, gnused, getopt, pwgen, git, tree, gnupg
-, makeWrapper }:
+, makeWrapper
+, withX ? false, xclip ? null
+}:
+
+assert withX -> xclip != null;
stdenv.mkDerivation rec {
version = "1.6.2";
@@ -32,6 +36,7 @@ stdenv.mkDerivation rec {
};
installPhase = ''
+ mkdir -p "$out/share/bash-completion/completions"
mkdir -p "$out/share/zsh/site-functions"
mkdir -p "$out/share/fish/completions"
@@ -51,6 +56,6 @@ stdenv.mkDerivation rec {
# Ensure all dependencies are in PATH
wrapProgram $out/bin/pass \
- --prefix PATH : "${coreutils}/bin:${gnused}/bin:${getopt}/bin:${gnupg}/bin:${git}/bin:${tree}/bin:${pwgen}/bin"
+ --prefix PATH : "${coreutils}/bin:${gnused}/bin:${getopt}/bin:${gnupg}/bin:${git}/bin:${tree}/bin:${pwgen}/bin${if withX then ":${xclip}/bin" else ""}"
'';
}
diff --git a/pkgs/tools/security/sudo/default.nix b/pkgs/tools/security/sudo/default.nix
index 6d82744e1f9..6ed94da10ba 100644
--- a/pkgs/tools/security/sudo/default.nix
+++ b/pkgs/tools/security/sudo/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, coreutils, pam, groff }:
+{ stdenv, fetchurl, coreutils, pam, groff, keepVisudo ? false }:
stdenv.mkDerivation rec {
name = "sudo-1.8.9p4";
@@ -32,8 +32,10 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
postInstall = ''
- # ‘visudo’ does not make sense on NixOS.
- rm $out/sbin/visudo $out/share/man/man8/visudo.8
+ # ‘visudo’ does not make sense on NixOS - except for checking sudoers
+ # file syntax
+ rm ${if keepVisudo then "" else "$out/sbin/visudo"} \
+ $out/share/man/man8/visudo.8
rm $out/share/doc/sudo/ChangeLog
'';
diff --git a/pkgs/tools/security/tor/default.nix b/pkgs/tools/security/tor/default.nix
index 5062d26595e..57c4a9c5662 100644
--- a/pkgs/tools/security/tor/default.nix
+++ b/pkgs/tools/security/tor/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, libevent, openssl, zlib }:
stdenv.mkDerivation rec {
- name = "tor-0.2.4.21";
+ name = "tor-0.2.4.22";
src = fetchurl {
url = "https://archive.torproject.org/tor-package-archive/${name}.tar.gz";
- sha256 = "1kpijqapml7y4sl54qgyrzppxxhmy4xgk2y7wkqwjxn7q24g97d1";
+ sha256 = "0k39ppcvld6p08yaf4rpspb34z4f5863j0d605yrm4dqjcp99xvb";
};
buildInputs = [ libevent openssl zlib ];
diff --git a/pkgs/tools/security/tor/torbrowser.nix b/pkgs/tools/security/tor/torbrowser.nix
index 8ee33272eda..7be7c79888e 100644
--- a/pkgs/tools/security/tor/torbrowser.nix
+++ b/pkgs/tools/security/tor/torbrowser.nix
@@ -20,13 +20,13 @@ let
in stdenv.mkDerivation rec {
name = "tor-browser-${version}";
- version = "3.6.1";
+ version = "3.6.2";
src = fetchurl {
url = "https://archive.torproject.org/tor-package-archive/torbrowser/${version}/tor-browser-linux${bits}-${version}_en-US.tar.xz";
sha256 = if bits == "64" then
- "1461l54zc7xgx2zcmi8wra38dknjyy8d2xk84chrwl6ckn2dfzv3" else
- "183a1wf4a88sijfqr3m6gmvncq8w60i2rkymccg422n7q96j7hqs";
+ "1rfv59k9mia6hr1z1k4im20dy59ir7i054cgf78sfj1zsh08q7hf" else
+ "1klkk1k5r51pcx44r1z3sw08fqcl2f2v5iblf4yh83js482c37r8";
};
patchPhase = ''
diff --git a/pkgs/tools/system/ansible/default.nix b/pkgs/tools/system/ansible/default.nix
new file mode 100644
index 00000000000..7d96092a3ce
--- /dev/null
+++ b/pkgs/tools/system/ansible/default.nix
@@ -0,0 +1,37 @@
+{ stdenv, fetchurl, pythonPackages, python }:
+
+pythonPackages.buildPythonPackage rec {
+ version = "1.6.1";
+ name = "ansible-${version}";
+ namePrefix = "";
+
+ src = fetchurl {
+ url = "https://github.com/ansible/ansible/archive/v${version}.tar.gz";
+ sha256 = "1iz1q2h0zll4qsxk0pndc59knasw663kv53sm21q57qz7lf30q9z";
+ };
+
+ prePatch = ''
+ sed -i "s,\/usr\/share\/ansible\/,$out/share/ansible," lib/ansible/constants.py
+ '';
+
+ doCheck = false;
+ dontStrip = true;
+ dontPatchELF = true;
+ dontPatchShebangs = true;
+
+ propagatedBuildInputs = with pythonPackages; [
+ paramiko jinja2 pyyaml httplib2 boto
+ ];
+
+ postFixup = ''
+ wrapPythonProgramsIn $out/bin "$out $pythonPath"
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = "http://www.ansible.com";
+ description = "A simple automation tool";
+ license = licenses.gpl3;
+ maintainers = [ maintainers.joamaki ];
+ platforms = platforms.linux; # Only tested on Linux
+ };
+}
diff --git a/pkgs/tools/typesetting/tex/texlive/default.nix b/pkgs/tools/typesetting/tex/texlive/default.nix
index 22ce7739a74..b9e71a7cde2 100644
--- a/pkgs/tools/typesetting/tex/texlive/default.nix
+++ b/pkgs/tools/typesetting/tex/texlive/default.nix
@@ -1,20 +1,20 @@
args : with args;
rec {
src = fetchurl {
- url = mirror://debian/pool/main/t/texlive-bin/texlive-bin_2013.20130729.30972.orig.tar.xz;
- sha256 = "1idgyim6r4bi3id245k616qrdarfh65xv3gi2psarqqmsw504yhd";
+ url = mirror://debian/pool/main/t/texlive-bin/texlive-bin_2014.20140528.34243.orig.tar.xz;
+ sha256 = "0nh8hfayyf60nm4z8zyclrbc3792c62azgsvrwxnl28iq223200s";
};
- texmfVersion = "2013.20140408";
+ texmfVersion = "2014.20140528";
texmfSrc = fetchurl {
url = "mirror://debian/pool/main/t/texlive-base/texlive-base_${texmfVersion}.orig.tar.xz";
- sha256 = "1pdbbp4sy6kypiqss9zfvr3m0agqzghagfr609pfjh9ka3ihv0kh";
+ sha256 = "09z3jp5if0llszm02x3f93izrspjh14g77034c677r0sj4xrb63w";
};
- langTexmfVersion = "2013.20140408";
+ langTexmfVersion = "2014.20140528";
langTexmfSrc = fetchurl {
url = "mirror://debian/pool/main/t/texlive-lang/texlive-lang_${langTexmfVersion}.orig.tar.xz";
- sha256 = "05qyhcfdbrrc8mnps5sv3fggjbxdj3bp9jd12ldzkjxxdbzhp475";
+ sha256 = "0c7rppqya74g8fb431i3bbga88xzjiarj540fcn34plar5wz4k31";
};
passthru = { inherit texmfSrc langTexmfSrc; };
@@ -40,7 +40,7 @@ rec {
sed -e '/ubidi_open/i#include ' -i $(find . -name configure)
sed -e 's/-lttf/-lfreetype/' -i $(find . -name configure)
- sed -e s@ncurses/curses.h@curses.h@g -i $(grep ncurses/curses.h -rl . )
+ # sed -e s@ncurses/curses.h@curses.h@g -i $(grep ncurses/curses.h -rl . )
sed -e '1i\#include \n\#include ' -i $( find libs/teckit -name '*.cpp' -o -name '*.c' )
NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${icu}/include/layout";
@@ -111,8 +111,9 @@ rec {
buildInputs = [ zlib bzip2 ncurses libpng flex bison libX11 libICE xproto
freetype t1lib gd libXaw icu ghostscript ed libXt libXpm libXmu libXext
xextproto perl libSM ruby expat curl libjpeg python fontconfig xz pkgconfig
- poppler graphite2 lesstif zziplib harfbuzz texinfo ]
- ++ stdenv.lib.optionals stdenv.isDarwin [ makeWrapper ];
+ poppler libpaper graphite2 lesstif zziplib harfbuzz texinfo potrace ]
+ ++ stdenv.lib.optionals stdenv.isDarwin [ makeWrapper ]
+ ;
configureFlags = [ "--with-x11" "--enable-ipc" "--with-mktexfmt"
"--enable-shared" "--disable-native-texlive-build" "--with-system-zziplib"
@@ -134,7 +135,7 @@ rec {
phaseNames = [ "addInputs" "doMainBuild" "doMakeInstall" "doPostInstall" ];
- name = "texlive-core-2013";
+ name = "texlive-core-2014";
meta = with stdenv.lib; {
description = "A TeX distribution";
diff --git a/pkgs/tools/typesetting/tex/texlive/extra.nix b/pkgs/tools/typesetting/tex/texlive/extra.nix
index 8549c8c4548..1195eaa58f3 100644
--- a/pkgs/tools/typesetting/tex/texlive/extra.nix
+++ b/pkgs/tools/typesetting/tex/texlive/extra.nix
@@ -1,11 +1,11 @@
args: with args;
rec {
- name = "texlive-extra-2013";
- version = "2013.20140408";
+ name = "texlive-extra-2014";
+ version = "2014.20140528";
src = fetchurl {
url = "mirror://debian/pool/main/t/texlive-extra/texlive-extra_${version}.orig.tar.xz";
- sha256 = "0d6b5kip7j8ljqn92bkdncvqxyk2756404hzsp4mh0s1jhfwws7y";
+ sha256 = "1wlvafvc03qlic4gr883q3lvgjis0czw3z6gdp4qw8f51a0fyam9";
};
buildInputs = [texLive xz];
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index f8f56151282..a9b8f9ef77a 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -278,6 +278,8 @@ let
dotnetfx = dotnetfx40;
};
+ scatterOutputHook = makeSetupHook {} ../build-support/setup-hooks/scatter_output.sh;
+
vsenv = callPackage ../build-support/vsenv {
vs = vs90wrapper;
};
@@ -2116,6 +2118,8 @@ let
privoxy = callPackage ../tools/networking/privoxy { };
+ t1utils = callPackage ../tools/misc/t1utils { };
+
tarsnap = callPackage ../tools/backup/tarsnap { };
tcpcrypt = callPackage ../tools/security/tcpcrypt { };
@@ -2941,11 +2945,8 @@ let
haxe = callPackage ../development/compilers/haxe { };
- hiphopvm = callPackage ../development/interpreters/hiphopvm {
- libevent = libevent14;
- boost = boost149;
- stdenv = overrideGCC stdenv gcc48;
- };
+ hhvm = callPackage ../development/compilers/hhvm { };
+ hiphopvm = hhvm; /* Compatibility alias */
falcon = builderDefsPackage (import ../development/interpreters/falcon) {
inherit cmake;
@@ -3383,9 +3384,9 @@ let
clooj = callPackage ../development/interpreters/clojure/clooj.nix { };
- erlangR14B04 = callPackage ../development/interpreters/erlang/R14B04.nix { };
- erlangR15B03 = callPackage ../development/interpreters/erlang/R15B03.nix { };
- erlangR16B02 = callPackage ../development/interpreters/erlang/R16B02.nix { };
+ erlangR14 = callPackage ../development/interpreters/erlang/R14.nix { };
+ erlangR15 = callPackage ../development/interpreters/erlang/R15.nix { };
+ erlangR16 = callPackage ../development/interpreters/erlang/R16.nix { };
erlangR17 = callPackage ../development/interpreters/erlang/R17.nix { };
erlang = erlangR17;
@@ -3554,6 +3555,8 @@ let
racket = callPackage ../development/interpreters/racket { };
+ rakudo = callPackage ../development/interpreters/rakudo { };
+
rascal = callPackage ../development/interpreters/rascal { };
regina = callPackage ../development/interpreters/regina { };
@@ -3675,6 +3678,8 @@ let
### DEVELOPMENT / TOOLS
+ ansible = callPackage ../tools/system/ansible { };
+
antlr = callPackage ../development/tools/parsing/antlr/2.7.7.nix { };
antlr3 = callPackage ../development/tools/parsing/antlr { };
@@ -3980,6 +3985,8 @@ let
omake = callPackage ../development/tools/ocaml/omake { };
omake_rc1 = callPackage ../development/tools/ocaml/omake/0.9.8.6-rc1.nix { };
+ opengrok = callPackage ../development/tools/misc/opengrok { };
+
openocd = callPackage ../development/tools/misc/openocd { };
oprofile = callPackage ../development/tools/profiling/oprofile { };
@@ -4635,7 +4642,9 @@ let
gperftools = callPackage ../development/libraries/gperftools { };
- gst_all_1 = recurseIntoAttrs(callPackage ../development/libraries/gstreamer { });
+ gst_all_1 = recurseIntoAttrs(callPackage ../development/libraries/gstreamer {
+ callPackage = pkgs.newScope (pkgs // { libav = pkgs.libav_9; });
+ });
gst_all = {
inherit (pkgs) gstreamer gnonlin gst_python qt_gstreamer;
@@ -4842,8 +4851,6 @@ let
iniparser = callPackage ../development/libraries/iniparser { };
- inteltbb = callPackage ../development/libraries/intel-tbb { };
-
intltool = callPackage ../development/tools/misc/intltool { };
irrlicht3843 = callPackage ../development/libraries/irrlicht { };
@@ -4930,9 +4937,9 @@ let
libassuan2_1 = callPackage ../development/libraries/libassuan/git.nix { };
- libav = libav_9;
+ libav = libav_10;
libav_all = callPackage ../development/libraries/libav { };
- inherit (libav_all) libav_9 libav_0_8;
+ inherit (libav_all) libav_0_8 libav_9 libav_10;
libavc1394 = callPackage ../development/libraries/libavc1394 { };
@@ -5486,6 +5493,8 @@ let
libxmlxx = callPackage ../development/libraries/libxmlxx { };
+ libxmp = callPackage ../development/libraries/libxmp { };
+
libxslt = callPackage ../development/libraries/libxslt { };
libixp_for_wmii = lowPrio (import ../development/libraries/libixp_for_wmii {
@@ -6568,6 +6577,7 @@ let
spidermonkey = spidermonkey_185;
python = python27;
sphinx = python27Packages.sphinx;
+ erlang = erlangR16;
};
dico = callPackage ../servers/dico { };
@@ -6599,11 +6609,13 @@ let
dovecot_pigeonhole = callPackage ../servers/mail/dovecot-pigeonhole { };
ejabberd = callPackage ../servers/xmpp/ejabberd {
- erlang = erlangR16B02;
+ erlang = erlangR16;
};
elasticmq = callPackage ../servers/elasticmq { };
+ fcgiwrap = callPackage ../servers/fcgiwrap { };
+
felix = callPackage ../servers/felix { };
felix_remoteshell = callPackage ../servers/felix/remoteshell.nix { };
@@ -6673,6 +6685,8 @@ let
ngircd = callPackage ../servers/irc/ngircd { };
+ nsd = callPackage ../servers/dns/nsd { };
+
opensmtpd = callPackage ../servers/mail/opensmtpd { };
petidomo = callPackage ../servers/mail/petidomo { };
@@ -7050,7 +7064,12 @@ let
hostapd = callPackage ../os-specific/linux/hostapd { };
- htop = callPackage ../os-specific/linux/htop { };
+ htop =
+ if stdenv.isLinux then
+ callPackage ../os-specific/linux/htop { }
+ else if stdenv.isDarwin then
+ callPackage ../os-specific/darwin/htop { }
+ else null;
# GNU/Hurd core packages.
gnu = recurseIntoAttrs (callPackage ../os-specific/gnu {
@@ -7193,6 +7212,24 @@ let
];
};
+ linux_3_15 = makeOverridable (import ../os-specific/linux/kernel/linux-3.15.nix) {
+ inherit fetchurl stdenv perl buildLinux;
+ kernelPatches = lib.optionals ((platform.kernelArch or null) == "mips")
+ [ kernelPatches.mips_fpureg_emu
+ kernelPatches.mips_fpu_sigill
+ kernelPatches.mips_ext3_n32
+ ];
+ };
+
+ linux_testing = makeOverridable (import ../os-specific/linux/kernel/linux-testing.nix) {
+ inherit fetchurl stdenv perl buildLinux;
+ kernelPatches = lib.optionals ((platform.kernelArch or null) == "mips")
+ [ kernelPatches.mips_fpureg_emu
+ kernelPatches.mips_fpu_sigill
+ kernelPatches.mips_ext3_n32
+ ];
+ };
+
/* grsec configuration
We build several flavors of 'default' grsec kernels. These are
@@ -7323,8 +7360,8 @@ let
linuxPackages = linuxPackages_3_12;
# Update this when adding the newest kernel major version!
- linux_latest = pkgs.linux_3_14;
- linuxPackages_latest = pkgs.linuxPackages_3_14;
+ linux_latest = pkgs.linux_3_15;
+ linuxPackages_latest = pkgs.linuxPackages_3_15;
# Build the kernel modules for the some of the kernels.
linuxPackages_3_2 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_2 linuxPackages_3_2);
@@ -7336,6 +7373,8 @@ let
linuxPackages_3_12 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_12 linuxPackages_3_12);
linuxPackages_3_13 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_13 linuxPackages_3_13);
linuxPackages_3_14 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_14 linuxPackages_3_14);
+ linuxPackages_3_15 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_15 linuxPackages_3_15);
+ linuxPackages_testing = recurseIntoAttrs (linuxPackagesFor pkgs.linux_testing linuxPackages_testing);
# grsecurity flavors
# Stable kernels
@@ -7927,6 +7966,10 @@ let
arora = callPackage ../applications/networking/browsers/arora { };
+ atom = callPackage ../applications/editors/atom {
+ gconf = gnome.GConf;
+ };
+
aseprite = callPackage ../applications/editors/aseprite {
giflib = giflib_4_1;
};
@@ -8330,7 +8373,10 @@ let
rudel = callPackage ../applications/editors/emacs-modes/rudel { };
- scalaMode = callPackage ../applications/editors/emacs-modes/scala-mode { };
+ sbtMode = callPackage ../applications/editors/emacs-modes/sbt-mode { };
+
+ scalaMode1 = callPackage ../applications/editors/emacs-modes/scala-mode/v1.nix { };
+ scalaMode2 = callPackage ../applications/editors/emacs-modes/scala-mode/v2.nix { };
sunriseCommander = callPackage ../applications/editors/emacs-modes/sunrise-commander { };
@@ -8889,6 +8935,8 @@ let
bison = bison2;
};
+ llpp = callPackage ../applications/misc/llpp { inherit (ocamlPackages) lablgl; };
+
lmms = callPackage ../applications/audio/lmms { };
lxdvdrip = callPackage ../applications/video/lxdvdrip { };
@@ -9070,11 +9118,19 @@ let
inherit gettext highline iconv locale lockfile rmail_sup
text trollop unicode xapian_ruby which;
+ # See https://github.com/NixOS/nixpkgs/issues/1804 and
+ # https://github.com/NixOS/nixpkgs/issues/2146
+ bundler = pkgs.lib.overrideDerivation pkgs.rubyLibs.bundler (
+ oldAttrs: {
+ dontPatchShebangs = 1;
+ }
+ );
+
chronic = chronic_0_9_1;
gpgme = ruby_gpgme;
mime_types = mime_types_1_25;
ncursesw_sup = ruby_ncursesw_sup;
- rake = rake_10_1_0;
+ rake = rubyLibs.rake_10_1_0;
};
synfigstudio = callPackage ../applications/graphics/synfigstudio { };
@@ -9588,6 +9644,8 @@ let
vim = callPackage ../applications/editors/vim { };
+ macvim = callPackage ../applications/editors/vim/macvim.nix { };
+
vimWrapper = wrapVim vim;
vimHugeX = vim_configurable;
@@ -9682,8 +9740,8 @@ let
winswitch = callPackage ../tools/X11/winswitch { };
wings = callPackage ../applications/graphics/wings {
- erlang = erlangR14B04;
- esdl = esdl.override { erlang = erlangR14B04; };
+ erlang = erlangR14;
+ esdl = esdl.override { erlang = erlangR14; };
};
wmname = callPackage ../applications/misc/wmname { };
@@ -9837,6 +9895,8 @@ let
xmove = callPackage ../applications/misc/xmove { };
+ xmp = callPackage ../applications/audio/xmp { };
+
xnee = callPackage ../tools/X11/xnee {
# Work around "missing separator" error.
stdenv = overrideInStdenv stdenv [ gnumake381 ];
@@ -9934,7 +9994,7 @@ let
crack_attack = callPackage ../games/crack-attack { };
- crafty = callPackage ../games/crafty { fullVariant = false; };
+ crafty = callPackage ../games/crafty { };
craftyFull = appendToName "full" (crafty.override { fullVariant = true; });
crrcsim = callPackage ../games/crrcsim {};
@@ -10161,6 +10221,8 @@ let
trigger = callPackage ../games/trigger { };
+ typespeed = callPackage ../games/typespeed { };
+
ufoai = callPackage ../games/ufoai { };
ultimatestunts = callPackage ../games/ultimatestunts { };
@@ -10599,6 +10661,11 @@ let
picosat = callPackage ../applications/science/logic/picosat {};
+ prooftree = callPackage ../applications/science/logic/prooftree {
+ inherit (ocamlPackages) findlib lablgtk;
+ camlp5 = ocamlPackages.camlp5_transitional;
+ };
+
prover9 = callPackage ../applications/science/logic/prover9 { };
satallax = callPackage ../applications/science/logic/satallax {};
@@ -10611,7 +10678,7 @@ let
tptp = callPackage ../applications/science/logic/tptp {};
- verifast = callPackage_i686 ../applications/science/logic/verifast {};
+ verifast = callPackage ../applications/science/logic/verifast {};
why3 = callPackage ../applications/science/logic/why3 {};
@@ -10766,6 +10833,8 @@ let
fakenes = callPackage ../misc/emulators/fakenes { };
+ fceux = callPackage ../misc/emulators/fceux { };
+
foldingathome = callPackage ../misc/foldingathome { };
foo2zjs = callPackage ../misc/drivers/foo2zjs {};
@@ -10841,6 +10910,8 @@ let
nixops = callPackage ../tools/package-management/nixops { };
+ nix-prefetch-scripts = callPackage ../tools/package-management/nix-prefetch-scripts { };
+
nix-repl = callPackage ../tools/package-management/nix-repl { };
nut = callPackage ../applications/misc/nut { };
@@ -10955,9 +11026,10 @@ let
texFunctions = import ../tools/typesetting/tex/nix pkgs;
texLive = builderDefsPackage (import ../tools/typesetting/tex/texlive) {
- inherit builderDefs zlib bzip2 ncurses libpng ed lesstif ruby
+ inherit builderDefs zlib bzip2 ncurses libpng ed lesstif ruby potrace
gd t1lib freetype icu perl expat curl xz pkgconfig zziplib texinfo
- libjpeg bison python fontconfig flex poppler graphite2 makeWrapper;
+ libjpeg bison python fontconfig flex poppler libpaper graphite2
+ makeWrapper;
inherit (xlibs) libXaw libX11 xproto libXt libXpm
libXmu libXext xextproto libSM libICE;
ghostscript = ghostscriptX;
diff --git a/pkgs/top-level/haskell-defaults.nix b/pkgs/top-level/haskell-defaults.nix
index d803883413d..beeee5663dc 100644
--- a/pkgs/top-level/haskell-defaults.nix
+++ b/pkgs/top-level/haskell-defaults.nix
@@ -15,13 +15,15 @@
# Older compilers inherit the overrides from newer ones.
ghcHEADPrefs = self : super : super // {
- mtl = self.mtl_2_1_3_1;
cabalInstall_1_20_0_2 = super.cabalInstall_1_20_0_2.override { Cabal = null; };
+ mtl = self.mtl_2_2_1;
+ transformersCompat = super.transformersCompat_0_3_3;
};
ghc782Prefs = self : super : ghcHEADPrefs self super // {
- cabalInstall_1_20_0_2 = super.cabalInstall_1_20_0_2.override { Cabal = self.Cabal_1_20_0_0; };
- codex = super.codex.override { hackageDb = super.hackageDb.override { Cabal = self.Cabal_1_20_0_0; }; };
+ cabalInstall_1_20_0_2 = super.cabalInstall_1_20_0_2.override { Cabal = self.Cabal_1_20_0_1; };
+ codex = super.codex.override { hackageDb = super.hackageDb.override { Cabal = self.Cabal_1_20_0_1; }; };
+ mtl = self.mtl_2_1_2;
};
ghc763Prefs = self : super : ghc782Prefs self super // {
@@ -42,6 +44,8 @@
haddock = self.haddock_2_13_2;
modularArithmetic = null; # requires base >= 4.7
pipesBinary = super.pipesBinary.override { binary = self.binary_0_7_2_1; };
+ singletons = null; # requires base >= 4.7
+ vty_5_1_0 = super.vty_5_1_0.override { cabal = self.cabal.override { Cabal = self.Cabal_1_18_1_3; }; };
transformers = self.transformers_0_3_0_0; # core packagen in ghc > 7.6.x
zipArchive = super.zipArchive_0_2_2_1; # works without binary 0.7.x
};
@@ -54,6 +58,7 @@
haddock = self.haddock_2_11_0;
haskeline = super.haskeline.override { cabal = self.cabal.override { Cabal = self.Cabal_1_16_0_3; }; };
scientific = self.scientific_0_2_0_2;
+ shelly = self.shelly_0_15_4_1;
};
ghc722Prefs = self : super : ghc742Prefs self super // {
@@ -111,11 +116,13 @@
hashtables = super.hashtables.override { cabal = self.cabal.override { Cabal = self.Cabal_1_16_0_3; }; };
HTTP = super.HTTP.override { cabal = self.cabal.override { Cabal = self.Cabal_1_16_0_3; }; };
HUnit = super.HUnit.override { cabal = self.cabal.override { Cabal = self.Cabal_1_16_0_3; }; };
- network = super.network.override { cabal = self.cabal.override { Cabal = self.Cabal_1_16_0_3; }; };
+ network = super.network_2_2_1_7.override { cabal = self.cabal.override { Cabal = self.Cabal_1_16_0_3; }; };
OpenGLRaw = self.OpenGLRaw_1_3_0_0;
OpenGL = self.OpenGL_2_6_0_1;
QuickCheck = super.QuickCheck.override { cabal = self.cabal.override { Cabal = self.Cabal_1_16_0_3; }; };
stm = self.stm_2_4_2.override { cabal = self.cabal.override { Cabal = self.Cabal_1_16_0_3; }; };
+ systemFilepath = super.systemFilepath.override { cabal = self.cabal.override { Cabal = self.Cabal_1_16_0_3; }; };
+ systemFileio = super.systemFileio.override { cabal = self.cabal.override { Cabal = self.Cabal_1_16_0_3; }; };
tar = super.tar.override { cabal = self.cabal.override { Cabal = self.Cabal_1_16_0_3; }; };
text = self.text_0_11_2_3.override { cabal = self.cabal.override { Cabal = self.Cabal_1_16_0_3; }; };
time = self.time_1_1_2_4.override { cabal = self.cabal.override { Cabal = self.Cabal_1_16_0_3; }; };
diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix
index be1571bc902..803dc897eb7 100644
--- a/pkgs/top-level/haskell-packages.nix
+++ b/pkgs/top-level/haskell-packages.nix
@@ -147,8 +147,6 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
aesonQq = callPackage ../development/libraries/haskell/aeson-qq {};
- alternativeIo = callPackage ../development/libraries/haskell/alternative-io {};
-
alsaCore = callPackage ../development/libraries/haskell/alsa-core {};
alsaMixer = callPackage ../development/libraries/haskell/alsa-mixer {};
@@ -195,7 +193,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
attoparsec_0_10_4_0 = callPackage ../development/libraries/haskell/attoparsec/0.10.4.0.nix {};
attoparsec_0_11_3_1 = callPackage ../development/libraries/haskell/attoparsec/0.11.3.1.nix {};
attoparsec_0_11_3_4 = callPackage ../development/libraries/haskell/attoparsec/0.11.3.4.nix {};
- attoparsec = self.attoparsec_0_11_3_4;
+ attoparsec_0_12_1_0 = callPackage ../development/libraries/haskell/attoparsec/0.12.1.0.nix {};
+ attoparsec = self.attoparsec_0_12_1_0;
attoparsecBinary = callPackage ../development/libraries/haskell/attoparsec-binary {};
@@ -287,6 +286,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
boundingboxes_0_2 = callPackage ../development/libraries/haskell/boundingboxes/0.2.nix {};
boundingboxes = self.boundingboxes_0_2;
+ BoundedChan = callPackage ../development/libraries/haskell/BoundedChan {};
+
brainfuck = callPackage ../development/libraries/haskell/brainfuck {};
bson = callPackage ../development/libraries/haskell/bson {};
@@ -301,6 +302,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
byteorder = callPackage ../development/libraries/haskell/byteorder {};
+ bytes = callPackage ../development/libraries/haskell/bytes {};
+
bytestringNums = callPackage ../development/libraries/haskell/bytestring-nums {};
bytestringLexing = callPackage ../development/libraries/haskell/bytestring-lexing {};
@@ -322,9 +325,11 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
Cabal_1_14_0 = callPackage ../development/libraries/haskell/Cabal/1.14.0.nix {};
Cabal_1_16_0_3 = callPackage ../development/libraries/haskell/Cabal/1.16.0.3.nix {};
Cabal_1_18_1_3 = callPackage ../development/libraries/haskell/Cabal/1.18.1.3.nix {};
- Cabal_1_20_0_0 = callPackage ../development/libraries/haskell/Cabal/1.20.0.0.nix {};
+ Cabal_1_20_0_1 = callPackage ../development/libraries/haskell/Cabal/1.20.0.1.nix {};
Cabal = null; # core package since forever
+ cabalCargs = callPackage ../development/libraries/haskell/cabal-cargs {};
+
cabalFileTh = callPackage ../development/libraries/haskell/cabal-file-th {};
cabalLenses = callPackage ../development/libraries/haskell/cabal-lenses {};
@@ -564,6 +569,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
dateCache = callPackage ../development/libraries/haskell/date-cache {};
+ dataChecked = callPackage ../development/libraries/haskell/data-checked {};
+
datetime = callPackage ../development/libraries/haskell/datetime {};
DAV = callPackage ../development/libraries/haskell/DAV {};
@@ -800,6 +807,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
freetype2 = callPackage ../development/libraries/haskell/freetype2 {};
+ fuzzcheck = callPackage ../development/libraries/haskell/fuzzcheck {};
+
gamma = callPackage ../development/libraries/haskell/gamma {};
geniplate = callPackage ../development/libraries/haskell/geniplate {};
@@ -995,6 +1004,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
hcltest = callPackage ../development/libraries/haskell/hcltest {};
+ hedis = callPackage ../development/libraries/haskell/hedis {};
+
heredoc = callPackage ../development/libraries/haskell/heredoc {};
hexpat = callPackage ../development/libraries/haskell/hexpat {};
@@ -1016,10 +1027,10 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
HTTP_4000_2_1 = callPackage ../development/libraries/haskell/HTTP/4000.2.1.nix {};
HTTP_4000_2_2 = callPackage ../development/libraries/haskell/HTTP/4000.2.2.nix {};
HTTP_4000_2_3 = callPackage ../development/libraries/haskell/HTTP/4000.2.3.nix {};
- HTTP_4000_2_5 = callPackage ../development/libraries/haskell/HTTP/4000.2.5.nix { network = self.network_2_4_1_2; };
+ HTTP_4000_2_5 = callPackage ../development/libraries/haskell/HTTP/4000.2.5.nix {};
HTTP_4000_2_8 = callPackage ../development/libraries/haskell/HTTP/4000.2.8.nix {};
- HTTP_4000_2_15 = callPackage ../development/libraries/haskell/HTTP/4000.2.15.nix {};
- HTTP = self.HTTP_4000_2_15;
+ HTTP_4000_2_17 = callPackage ../development/libraries/haskell/HTTP/4000.2.17.nix {};
+ HTTP = self.HTTP_4000_2_17;
httpAttoparsec = callPackage ../development/libraries/haskell/http-attoparsec {};
@@ -1149,6 +1160,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
hspec = callPackage ../development/libraries/haskell/hspec {};
+ hspec2 = callPackage ../development/libraries/haskell/hspec2 {};
+
hspecExpectations = callPackage ../development/libraries/haskell/hspec-expectations {};
hspecExpectationsLens = callPackage ../development/libraries/haskell/hspec-expectations-lens {};
@@ -1174,6 +1187,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
httpTypes = callPackage ../development/libraries/haskell/http-types {};
+ holyProject = callPackage ../development/libraries/haskell/holy-project {};
+
HUnit_1_2_0_3 = callPackage ../development/libraries/haskell/HUnit/1.2.0.3.nix {};
HUnit_1_2_2_1 = callPackage ../development/libraries/haskell/HUnit/1.2.2.1.nix {};
HUnit_1_2_2_3 = callPackage ../development/libraries/haskell/HUnit/1.2.2.3.nix {};
@@ -1227,6 +1242,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
ioChoice = callPackage ../development/libraries/haskell/io-choice {};
+ ioMemoize = callPackage ../development/libraries/haskell/io-memoize {};
+
IORefCAS = callPackage ../development/libraries/haskell/IORefCAS {};
IOSpec = callPackage ../development/libraries/haskell/IOSpec {};
@@ -1391,6 +1408,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
mersenneRandomPure64 = callPackage ../development/libraries/haskell/mersenne-random-pure64 {};
+ MFlow = callPackage ../development/libraries/haskell/MFlow {};
+
midi = callPackage ../development/libraries/haskell/midi {};
mime = callPackage ../development/libraries/haskell/mime {};
@@ -1455,6 +1474,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
monadsTf = callPackage ../development/libraries/haskell/monads-tf {};
+ monadUnify = callPackage ../development/libraries/haskell/monad-unify {};
+
monoidExtras = callPackage ../development/libraries/haskell/monoid-extras {};
monoidTransformer = callPackage ../development/libraries/haskell/monoid-transformer {};
@@ -1470,12 +1491,10 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
msgpack = callPackage ../development/libraries/haskell/msgpack {};
mtl_1_1_0_2 = callPackage ../development/libraries/haskell/mtl/1.1.0.2.nix {};
- mtl_1_1_1_1 = callPackage ../development/libraries/haskell/mtl/1.1.1.1.nix {};
mtl_2_0_1_0 = callPackage ../development/libraries/haskell/mtl/2.0.1.0.nix {};
mtl_2_1_1 = callPackage ../development/libraries/haskell/mtl/2.1.1.nix {};
mtl_2_1_2 = callPackage ../development/libraries/haskell/mtl/2.1.2.nix {};
- mtl_2_1_3_1 = callPackage ../development/libraries/haskell/mtl/2.1.3.1.nix {};
- mtl_2_2_0_1 = callPackage ../development/libraries/haskell/mtl/2.2.0.1.nix {};
+ mtl_2_2_1 = callPackage ../development/libraries/haskell/mtl/2.2.1.nix {};
mtl = null; # tightly coupled with 'transformers' which is a core package
mtlparse = callPackage ../development/libraries/haskell/mtlparse {};
@@ -1633,13 +1652,15 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
parsec = self.parsec_3_1_5;
parsers_0_10_3 = callPackage ../development/libraries/haskell/parsers/0.10.3.nix {};
- parsers_0_11_0_1 = callPackage ../development/libraries/haskell/parsers/0.11.0.1.nix {};
- parsers = self.parsers_0_11_0_1;
+ parsers_0_11_0_2 = callPackage ../development/libraries/haskell/parsers/0.11.0.2.nix {};
+ parsers = self.parsers_0_11_0_2;
parsimony = callPackage ../development/libraries/haskell/parsimony {};
pathtype = callPackage ../development/libraries/haskell/pathtype {};
+ patternArrows = callPackage ../development/libraries/haskell/pattern-arrows {};
+
pbkdf = callPackage ../development/libraries/haskell/pbkdf {};
pcap = callPackage ../development/libraries/haskell/pcap {};
@@ -1686,6 +1707,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
pipesSafe = callPackage ../development/libraries/haskell/pipes-safe {};
+ pipesText = callPackage ../development/libraries/haskell/pipes-text {};
+
pipesZlib = callPackage ../development/libraries/haskell/pipes-zlib {};
polyparse = callPackage ../development/libraries/haskell/polyparse {};
@@ -1763,6 +1786,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
pureMD5 = callPackage ../development/libraries/haskell/pureMD5 {};
+ purescript = callPackage ../development/libraries/haskell/purescript {};
+
pwstoreFast = callPackage ../development/libraries/haskell/pwstore-fast {};
QuickCheck_1_2_0_0 = callPackage ../development/libraries/haskell/QuickCheck/1.2.0.0.nix {};
@@ -1773,8 +1798,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
QuickCheck_2_4_2 = callPackage ../development/libraries/haskell/QuickCheck/2.4.2.nix {};
QuickCheck_2_5_1_1 = callPackage ../development/libraries/haskell/QuickCheck/2.5.1.1.nix {};
QuickCheck_2_6 = callPackage ../development/libraries/haskell/QuickCheck/2.6.nix {};
- QuickCheck_2_7_3 = callPackage ../development/libraries/haskell/QuickCheck/2.7.3.nix {};
- QuickCheck = self.QuickCheck_2_7_3;
+ QuickCheck_2_7_5 = callPackage ../development/libraries/haskell/QuickCheck/2.7.5.nix {};
+ QuickCheck = self.QuickCheck_2_7_5;
quickcheckAssertions = callPackage ../development/libraries/haskell/quickcheck-assertions {};
@@ -1823,6 +1848,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
reflection = callPackage ../development/libraries/haskell/reflection {};
+ RefSerialize = callPackage ../development/libraries/haskell/RefSerialize {};
+
regexApplicative = callPackage ../development/libraries/haskell/regex-applicative {};
regexBase_0_72_0_2 = callPackage ../development/libraries/haskell/regex-base/0.72.0.2.nix {};
@@ -1921,9 +1948,7 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
shelly_0_15_4_1 = callPackage ../development/libraries/haskell/shelly/0.15.4.1.nix {};
shelly_1_5_3_1 = callPackage ../development/libraries/haskell/shelly {};
- shelly = if (pkgs.stdenv.lib.versionOlder ghc.version "7.6")
- then self.shelly_0_15_4_1
- else self.shelly_1_5_3_1;
+ shelly = self.shelly_1_5_3_1;
simpleReflect = callPackage ../development/libraries/haskell/simple-reflect {};
@@ -1947,6 +1972,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
snapletAcidState = callPackage ../development/libraries/haskell/snaplet-acid-state {};
+ snapletRedis = callPackage ../development/libraries/haskell/snaplet-redis {};
+
snapletStripe = callPackage ../development/libraries/haskell/snaplet-stripe {};
snapBlaze = callPackage ../development/libraries/haskell/snap-blaze/default.nix {};
@@ -1967,6 +1994,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
sparse = callPackage ../development/libraries/haskell/sparse {};
+ spawn = callPackage ../development/libraries/haskell/spawn {};
+
speculation = callPackage ../development/libraries/haskell/speculation {};
spoon = callPackage ../development/libraries/haskell/spoon {};
@@ -2007,15 +2036,13 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
stylishHaskell = callPackage ../development/libraries/haskell/stylish-haskell {};
- syb_0_2_2 = callPackage ../development/libraries/haskell/syb/0.2.2.nix {};
syb_0_3 = callPackage ../development/libraries/haskell/syb/0.3.nix {};
syb_0_3_3 = callPackage ../development/libraries/haskell/syb/0.3.3.nix {};
syb_0_3_6_1 = callPackage ../development/libraries/haskell/syb/0.3.6.1.nix {};
- syb_0_3_6_2 = callPackage ../development/libraries/haskell/syb/0.3.6.2.nix {};
syb_0_3_7 = callPackage ../development/libraries/haskell/syb/0.3.7.nix {};
syb_0_4_0 = callPackage ../development/libraries/haskell/syb/0.4.0.nix {};
- syb_0_4_1 = callPackage ../development/libraries/haskell/syb/0.4.1.nix {};
- syb = self.syb_0_4_1;
+ syb_0_4_2 = callPackage ../development/libraries/haskell/syb/0.4.2.nix {};
+ syb = self.syb_0_4_2;
sybWithClass = callPackage ../development/libraries/haskell/syb/syb-with-class.nix {};
@@ -2143,6 +2170,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
tastyTh = callPackage ../development/libraries/haskell/tasty-th {};
+ TCache = callPackage ../development/libraries/haskell/TCache {};
+
templateDefault = callPackage ../development/libraries/haskell/template-default {};
temporary = callPackage ../development/libraries/haskell/temporary {};
@@ -2169,6 +2198,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
testFrameworkQuickcheck2 = callPackage ../development/libraries/haskell/test-framework-quickcheck2 {};
+ testFrameworkSmallcheck = callPackage ../development/libraries/haskell/test-framework-smallcheck {};
+
testFrameworkTh = callPackage ../development/libraries/haskell/test-framework-th {};
testFrameworkThPrime = callPackage ../development/libraries/haskell/test-framework-th-prime {};
@@ -2180,12 +2211,11 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
text_0_11_0_5 = callPackage ../development/libraries/haskell/text/0.11.0.5.nix {};
text_0_11_0_6 = callPackage ../development/libraries/haskell/text/0.11.0.6.nix {};
text_0_11_1_5 = callPackage ../development/libraries/haskell/text/0.11.1.5.nix {};
- text_0_11_1_13 = callPackage ../development/libraries/haskell/text/0.11.1.13.nix {};
text_0_11_2_0 = callPackage ../development/libraries/haskell/text/0.11.2.0.nix {};
text_0_11_2_3 = callPackage ../development/libraries/haskell/text/0.11.2.3.nix {};
text_0_11_3_1 = callPackage ../development/libraries/haskell/text/0.11.3.1.nix {};
- text_1_1_1_2 = callPackage ../development/libraries/haskell/text/1.1.1.2.nix {};
- text = self.text_1_1_1_2;
+ text_1_1_1_3 = callPackage ../development/libraries/haskell/text/1.1.1.3.nix {};
+ text = self.text_1_1_1_3;
textFormat = callPackage ../development/libraries/haskell/text-format {};
@@ -2253,7 +2283,9 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
transformersBase = callPackage ../development/libraries/haskell/transformers-base {};
- transformersCompat = callPackage ../development/libraries/haskell/transformers-compat {};
+ transformersCompat_0_3_3 = callPackage ../development/libraries/haskell/transformers-compat/0.3.3.nix {};
+ transformersCompat_0_3_3_4 = callPackage ../development/libraries/haskell/transformers-compat/0.3.3.4.nix {};
+ transformersCompat = self.transformersCompat_0_3_3_4;
transformersFree = callPackage ../development/libraries/haskell/transformers-free {};
@@ -2358,8 +2390,9 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
vect = callPackage ../development/libraries/haskell/vect {};
vector_0_10_0_1 = callPackage ../development/libraries/haskell/vector/0.10.0.1.nix {};
- vector_0_10_9_2 = callPackage ../development/libraries/haskell/vector/0.10.9.2.nix {};
- vector = self.vector_0_10_9_2;
+ vector_0_10_9_3 = callPackage ../development/libraries/haskell/vector/0.10.9.3.nix {};
+ vector_0_10_11_0 = callPackage ../development/libraries/haskell/vector/0.10.11.0.nix {};
+ vector = self.vector_0_10_11_0;
vectorAlgorithms = callPackage ../development/libraries/haskell/vector-algorithms {};
@@ -2377,7 +2410,9 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
void = callPackage ../development/libraries/haskell/void {};
- vty = callPackage ../development/libraries/haskell/vty {};
+ vty_4_7_5 = callPackage ../development/libraries/haskell/vty/4.7.5.nix {};
+ vty_5_1_0 = callPackage ../development/libraries/haskell/vty/5.1.0.nix {};
+ vty = self.vty_4_7_5;
vtyUi = callPackage ../development/libraries/haskell/vty-ui {};
@@ -2385,6 +2420,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
waiAppStatic = callPackage ../development/libraries/haskell/wai-app-static {};
+ waiConduit = callPackage ../development/libraries/haskell/wai-conduit {};
+
waiExtra = callPackage ../development/libraries/haskell/wai-extra {};
waiHandlerLaunch = callPackage ../development/libraries/haskell/wai-handler-launch {};
@@ -2429,6 +2466,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
word8 = callPackage ../development/libraries/haskell/word8 {};
+ Workflow = callPackage ../development/libraries/haskell/Workflow {};
+
wreq = callPackage ../development/libraries/haskell/wreq {};
wx = callPackage ../development/libraries/haskell/wxHaskell/wx.nix {};
@@ -2617,10 +2656,16 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
hlint = callPackage ../development/tools/haskell/hlint {};
hscolour = callPackage ../development/tools/haskell/hscolour {};
- hscolourBootstrap = self.hscolour.override { hyperlinkSource = false; };
+ hscolourBootstrap = self.hscolour.override {
+ cabal = self.cabal.override {
+ extension = self : super : { hyperlinkSource = false; };
+ };
+ };
hslogger = callPackage ../development/tools/haskell/hslogger {};
+ ShellCheck = callPackage ../development/tools/misc/ShellCheck { };
+
tar = callPackage ../development/libraries/haskell/tar {};
threadscope = callPackage ../development/tools/haskell/threadscope {};
@@ -2668,6 +2713,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
# Tools.
+ cabalDb = callPackage ../development/tools/haskell/cabal-db {};
+
cabal2nix = callPackage ../development/tools/haskell/cabal2nix {};
# Build a cabal package given a local .cabal file
@@ -2701,10 +2748,6 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
else self.Cabal_1_18_1_3;
};
- cabalDev = callPackage ../development/tools/haskell/cabal-dev {
- HTTP = self.HTTP.override { network = self.network_2_4_1_2; };
- };
-
cabalMeta = callPackage ../development/tools/haskell/cabal-meta {};
cabal2Ghci = callPackage ../development/tools/haskell/cabal2ghci {};
@@ -2718,7 +2761,7 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
cabalInstall_0_14_0 = callPackage ../tools/package-management/cabal-install/0.14.0.nix {};
cabalInstall_1_16_0_2 = callPackage ../tools/package-management/cabal-install/1.16.0.2.nix { Cabal = self.Cabal_1_16_0_3; };
cabalInstall_1_18_0_3 = callPackage ../tools/package-management/cabal-install/1.18.0.3.nix { Cabal = self.Cabal_1_18_1_3; };
- cabalInstall_1_20_0_2 = callPackage ../tools/package-management/cabal-install/1.20.0.2.nix { Cabal = self.Cabal_1_20_0_0; };
+ cabalInstall_1_20_0_2 = callPackage ../tools/package-management/cabal-install/1.20.0.2.nix { Cabal = self.Cabal_1_20_0_1; };
cabalInstall = self.cabalInstall_1_20_0_2;
codex = callPackage ../development/tools/haskell/codex {};
diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix
index 7ee05031404..8a01151bd77 100644
--- a/pkgs/top-level/php-packages.nix
+++ b/pkgs/top-level/php-packages.nix
@@ -40,4 +40,12 @@ let self = with self; {
sha256 = "0vss35da615709kdvqji8pblckfvmabmj2njjjz6h8zzvj9gximd";
};
};
+
+ apc = buildPecl rec {
+ name = "apc-3.1.13";
+ src = pkgs.fetchurl {
+ url = "http://pecl.php.net/get/${name}.tgz";
+ sha256 = "1gcsh9iar5qa1yzpjki9bb5rivcb6yjp45lmjmp98wlyf83vmy2y";
+ };
+ };
}; in self
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index cf0eea9c2fb..23b927cb8cb 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -4073,7 +4073,7 @@ rec {
src = fetchurl {
url = "${meta.homepage}/download/${name}.tar.gz";
- sha256 = "1ddqni6d4kc8ypl6yig4nc00izvbk359sz6hykb9g0lfcpfqlngj";
+ sha256 = "0mpyw8iw4l4jv175qlbn0rrlgiz1k79m44jncbdxfj8ddvvvyz2j";
};
buildInputs = [
@@ -4090,7 +4090,7 @@ rec {
'';
meta = {
- version = "0.9";
+ version = "0.10.1";
description = ''Man-in-the-middle proxy'';
homepage = "http://mitmproxy.org/";
license = licenses.mit;
@@ -4385,7 +4385,7 @@ rec {
src = fetchurl {
url = "https://github.com/cortesi/netlib/archive/v${meta.version}.tar.gz";
name = "${name}.tar.gz";
- sha256 = "1y8lx2j1jrr93mqfb06zg1x5jm9lllw744sb61ib8dagw43nnq3v";
+ sha256 = "1x2n126b7fal64fb5fzkp4by7ym0iswn3w9mh6pm4c1vjdpnk592";
};
buildInputs = [
@@ -4395,7 +4395,7 @@ rec {
doCheck = false;
meta = {
- version = "0.9";
+ version = "0.10";
description = ''Man-in-the-middle proxy'';
homepage = "https://github.com/cortesi/netlib";
license = licenses.mit;
@@ -4637,17 +4637,17 @@ rec {
};
};
- livestreamer = if isPy34 then null else (buildPythonPackage {
- #version = "1.8.0";
- name = "livestreamer-1.8.0";
+ livestreamer = if isPy34 then null else (buildPythonPackage rec {
+ version = "1.8.2";
+ name = "livestreamer-${version}";
src = fetchurl {
- url = "https://github.com/chrippa/livestreamer/archive/v1.8.0.tar.gz";
- sha256 = "0fzpznbnhzrqawxdljvyml5251wbr3nifdrvnmh2b8vz356js4l8";
+ url = "https://github.com/chrippa/livestreamer/archive/v${version}.tar.gz";
+ sha256 = "130h97qdb7qx8xg0gz54p5a6cb2zbffi5hsi305xf0ah9nf4rbrc";
};
buildInputs = [ pkgs.makeWrapper ];
- propagatedBuildInputs = [ requests ];
+ propagatedBuildInputs = [ requests pkgs.rtmpdump pycrypto ];
postInstall = ''
wrapProgram $out/bin/livestreamer --prefix PATH : ${pkgs.rtmpdump}/bin
'';
@@ -5507,11 +5507,11 @@ rec {
};
pygments = buildPythonPackage rec {
- name = "Pygments-1.5";
+ name = "Pygments-1.6";
src = fetchurl {
url = "http://pypi.python.org/packages/source/P/Pygments/${name}.tar.gz";
- md5 = "ef997066cc9ee7a47d01fb4f3da0b5ff";
+ md5 = "a18feedf6ffd0b0cc8c8b0fbdb2027b1";
};
meta = {
@@ -5800,11 +5800,11 @@ rec {
});
ldap = buildPythonPackage rec {
- name = "ldap-2.4.10";
+ name = "ldap-2.4.15";
src = fetchurl {
- url = "http://pypi.python.org/packages/source/p/python-ldap/${name}.tar.gz";
- sha256 = "0m6fm2alcb5v9xdcjv2nw2lhz9nnd3mnr5lrmf397hi4pw0pik37";
+ url = "http://pypi.python.org/packages/source/p/python-ldap/python-${name}.tar.gz";
+ sha256 = "0w0nn5yj0nbbkvpbqgfni56v7sjx6jf6s6zvp9zmahyrvqrsrg1h";
};
NIX_CFLAGS_COMPILE = "-I${pkgs.cyrus_sasl}/include/sasl";
@@ -8919,7 +8919,7 @@ rec {
preConfigure = ''
substituteInPlace webapp/graphite/thirdparty/pytz/__init__.py --replace '/usr/share/zoneinfo' '/etc/zoneinfo'
- substituteInPlace webapp/graphite/settings.py --replace "join(WEBAPP_DIR, 'content')" "join(WEBAPP_DIR, 'webapp', 'content')"
+ substituteInPlace webapp/graphite/settings.py --replace "join(WEBAPP_DIR, 'content')" "join('$out', 'webapp', 'content')"
cp webapp/graphite/manage.py bin/manage-graphite.py
substituteInPlace bin/manage-graphite.py --replace 'settings' 'graphite.settings'
'';
@@ -9083,11 +9083,11 @@ rec {
libvirt = pkgs.stdenv.mkDerivation rec {
name = "libvirt-python-${version}";
- version = "1.2.4";
+ version = "1.2.5";
src = fetchurl {
url = "http://libvirt.org/sources/python/${name}.tar.gz";
- sha256 = "0zi1mxjcv9dz5hy54lwgk9j4i8r20hhijbxxn843h2w7p1ch1wx2";
+ sha256 = "0r0v48nkkxfagckizbcf67xkmyd1bnq36d30b58zmhvl0abryz7p";
};
buildInputs = [ python pkgs.pkgconfig pkgs.libvirt lxml ];
@@ -9283,4 +9283,33 @@ rec {
};
};
+ pync = buildPythonPackage rec {
+ version = "1.4";
+ baseName = "pync";
+ name = "${baseName}-${version}";
+
+ src = fetchurl {
+ url = "https://pypi.python.org/packages/source/p/${baseName}/${name}.tar.gz";
+ md5 = "5cc79077f386a17b539f1e51c05a3650";
+ };
+
+ buildInputs = [ pkgs.coreutils ];
+
+ propagatedBuildInputs = [ dateutil ];
+
+ preInstall = stdenv.lib.optionalString stdenv.isDarwin ''
+ sed -i 's|^\([ ]*\)self.bin_path.*$|\1self.bin_path = "${pkgs.rubyLibs.terminal_notifier}/bin/terminal-notifier"|' build/lib/pync/TerminalNotifier.py
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Python Wrapper for Mac OS 10.8 Notification Center";
+ homepage = https://pypi.python.org/pypi/pync/1.4;
+ license = licenses.mit;
+ platforms = platforms.darwin;
+ maintainers = [ maintainers.lovek323 ];
+ };
+ };
+
+
+
}); in pythonPackages