diff --git a/doc/functions.xml b/doc/functions.xml
index 53b3654fc45..1f2d00b9e1a 100644
--- a/doc/functions.xml
+++ b/doc/functions.xml
@@ -16,6 +16,7 @@
+
diff --git a/doc/functions/appimagetools.xml b/doc/functions/appimagetools.xml
new file mode 100644
index 00000000000..270ab067bc3
--- /dev/null
+++ b/doc/functions/appimagetools.xml
@@ -0,0 +1,121 @@
+
+ pkgs.appimageTools
+
+
+ pkgs.appimageTools is a set of functions for extracting and wrapping
+ AppImage files.
+
+ They are meant to be used if traditional packaging from source is infeasible, or it would take too long.
+ To quickly run an AppImage file, pkgs.appimage-run can be used as well.
+
+
+
+
+ The appimageTools API is unstable and may be subject to
+ backwards-incompatible changes in the future.
+
+
+
+
+
+ AppImage formats
+
+
+ There are different formats for AppImages, see
+ the specification for details.
+
+
+
+
+
+ Type 1 images are ISO 9660 files that are also ELF executables.
+
+
+
+
+
+ Type 2 images are ELF executables with an appended filesystem.
+
+
+
+
+
+ They can be told apart with file -k:
+
+
+
+$ file -k type1.AppImage
+type1.AppImage: ELF 64-bit LSB executable, x86-64, version 1 (SYSV) ISO 9660 CD-ROM filesystem data 'AppImage' (Lepton 3.x), scale 0-0,
+spot sensor temperature 0.000000, unit celsius, color scheme 0, calibration: offset 0.000000, slope 0.000000, dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.18, BuildID[sha1]=d629f6099d2344ad82818172add1d38c5e11bc6d, stripped\012- data
+
+$ file -k type2.AppImage
+type2.AppImage: ELF 64-bit LSB executable, x86-64, version 1 (SYSV) (Lepton 3.x), scale 232-60668, spot sensor temperature -4.187500, color scheme 15, show scale bar, calibration: offset -0.000000, slope 0.000000 (Lepton 2.x), scale 4111-45000, spot sensor temperature 412442.250000, color scheme 3, minimum point enabled, calibration: offset -75402534979642766821519867692934234112.000000, slope 5815371847733706829839455140374904832.000000, dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.18, BuildID[sha1]=79dcc4e55a61c293c5e19edbd8d65b202842579f, stripped\012- data
+
+
+
+ Note how the type 1 AppImage is described as an ISO 9660 CD-ROM filesystem, and the type 2 AppImage is not.
+
+
+
+
+ Wrapping
+
+
+ Depending on the type of AppImage you're wrapping, you'll have to use
+ wrapType1 or wrapType2.
+
+
+
+
+appimageTools.wrapType2 { # or wrapType1
+ name = "patchwork";
+ src = fetchurl {
+ url = https://github.com/ssbc/patchwork/releases/download/v3.11.4/Patchwork-3.11.4-linux-x86_64.AppImage;
+ sha256 = "1blsprpkvm0ws9b96gb36f0rbf8f5jgmw4x6dsb1kswr4ysf591s";
+ };
+ extraPkgs = pkgs: with pkgs; [ ];
+}
+
+
+
+
+
+ name specifies the name of the resulting image.
+
+
+
+
+ src specifies the AppImage file to extract.
+
+
+
+
+ extraPkgs allows you to pass a function to include additional packages
+ inside the FHS environment your AppImage is going to run in.
+
+ There are a few ways to learn which dependencies an application needs:
+
+
+
+
+ Looking through the extracted AppImage files, reading its scripts and running patchelf and ldd on its executables.
+ This can also be done in appimage-run, by setting APPIMAGE_DEBUG_EXEC=bash.
+
+
+
+
+
+ Running strace -vfefile on the wrapped executable, looking for libraries that can't be found.
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/default.nix b/lib/default.nix
index d400907ebb0..dbb90081b2c 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -109,7 +109,7 @@ let
mkFixStrictness mkOrder mkBefore mkAfter mkAliasDefinitions
mkAliasAndWrapDefinitions fixMergeModules mkRemovedOptionModule
mkRenamedOptionModule mkMergedOptionModule mkChangedOptionModule
- mkAliasOptionModule mkAliasOptionModuleWithPriority doRename filterModules;
+ mkAliasOptionModule doRename filterModules;
inherit (options) isOption mkEnableOption mkSinkUndeclaredOptions
mergeDefaultOption mergeOneOption mergeEqualOption getValues
getFiles optionAttrSetToDocList optionAttrSetToDocList'
diff --git a/lib/licenses.nix b/lib/licenses.nix
index b022d8bc11b..d285ba2ea0a 100644
--- a/lib/licenses.nix
+++ b/lib/licenses.nix
@@ -561,6 +561,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
fullName = "OpenSSL License";
};
+ osl2 = spdx {
+ spdxId = "OSL-2.0";
+ fullName = "Open Software License 2.0";
+ };
+
osl21 = spdx {
spdxId = "OSL-2.1";
fullName = "Open Software License 2.1";
diff --git a/lib/modules.nix b/lib/modules.nix
index 5c9d66d8f97..a41c9da610a 100644
--- a/lib/modules.nix
+++ b/lib/modules.nix
@@ -596,6 +596,9 @@ rec {
forwards any definitions of boot.copyKernels to
boot.loader.grub.copyKernels while printing a warning.
+
+ This also copies over the priority from the aliased option to the
+ non-aliased option.
*/
mkRenamedOptionModule = from: to: doRename {
inherit from to;
@@ -690,16 +693,7 @@ rec {
use = id;
};
- /* Like ‘mkAliasOptionModule’, but copy over the priority of the option as well. */
- mkAliasOptionModuleWithPriority = from: to: doRename {
- inherit from to;
- visible = true;
- warn = false;
- use = id;
- withPriority = true;
- };
-
- doRename = { from, to, visible, warn, use, withPriority ? false }:
+ doRename = { from, to, visible, warn, use, withPriority ? true }:
{ config, options, ... }:
let
fromOpt = getAttrFromPath from options;
diff --git a/lib/tests/modules.sh b/lib/tests/modules.sh
index a72777cbf2a..eadaa0521b3 100755
--- a/lib/tests/modules.sh
+++ b/lib/tests/modules.sh
@@ -149,7 +149,7 @@ checkConfigOutput "1 2 3 4 5 6 7 8 9 10" config.result ./loaOf-with-long-list.ni
# Check loaOf with many merges of lists.
checkConfigOutput "1 2 3 4 5 6 7 8 9 10" config.result ./loaOf-with-many-list-merges.nix
-# Check mkAliasOptionModuleWithPriority.
+# Check mkAliasOptionModule.
checkConfigOutput "true" config.enable ./alias-with-priority.nix
checkConfigOutput "true" config.enableAlias ./alias-with-priority.nix
checkConfigOutput "false" config.enable ./alias-with-priority-can-override.nix
diff --git a/lib/tests/modules/alias-with-priority-can-override.nix b/lib/tests/modules/alias-with-priority-can-override.nix
index a6b26895f3a..9a18c9d9f61 100644
--- a/lib/tests/modules/alias-with-priority-can-override.nix
+++ b/lib/tests/modules/alias-with-priority-can-override.nix
@@ -1,5 +1,8 @@
# This is a test to show that mkAliasOptionModule sets the priority correctly
# for aliased options.
+#
+# This test shows that an alias with a high priority is able to override
+# a non-aliased option.
{ config, lib, ... }:
@@ -32,10 +35,10 @@ with lib;
imports = [
# Create an alias for the "enable" option.
- (mkAliasOptionModuleWithPriority [ "enableAlias" ] [ "enable" ])
+ (mkAliasOptionModule [ "enableAlias" ] [ "enable" ])
- # Disable the aliased option, but with a default (low) priority so it
- # should be able to be overridden by the next import.
+ # Disable the aliased option with a high priority so it
+ # should override the next import.
( { config, lib, ... }:
{
enableAlias = lib.mkForce false;
diff --git a/lib/tests/modules/alias-with-priority.nix b/lib/tests/modules/alias-with-priority.nix
index 923483684cb..a35a06fc697 100644
--- a/lib/tests/modules/alias-with-priority.nix
+++ b/lib/tests/modules/alias-with-priority.nix
@@ -1,5 +1,8 @@
# This is a test to show that mkAliasOptionModule sets the priority correctly
# for aliased options.
+#
+# This test shows that an alias with a low priority is able to be overridden
+# with a non-aliased option.
{ config, lib, ... }:
@@ -32,7 +35,7 @@ with lib;
imports = [
# Create an alias for the "enable" option.
- (mkAliasOptionModuleWithPriority [ "enableAlias" ] [ "enable" ])
+ (mkAliasOptionModule [ "enableAlias" ] [ "enable" ])
# Disable the aliased option, but with a default (low) priority so it
# should be able to be overridden by the next import.
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix
index 63d8385eeb3..d4c9d3e0fd2 100644
--- a/maintainers/maintainer-list.nix
+++ b/maintainers/maintainer-list.nix
@@ -817,6 +817,11 @@
github = "cdepillabout";
name = "Dennis Gosnell";
};
+ ceedubs = {
+ email = "ceedubs@gmail.com";
+ github = "ceedubs";
+ name = "Cody Allen";
+ };
cfouche = {
email = "chaddai.fouche@gmail.com";
github = "Chaddai";
@@ -4308,6 +4313,15 @@
github = "sleexyz";
name = "Sean Lee";
};
+ smakarov = {
+ email = "setser200018@gmail.com";
+ github = "setser";
+ name = "Sergey Makarov";
+ keys = [{
+ longkeyid = "rsa2048/6AA23A1193B7064B";
+ fingerprint = "6F8A 18AE 4101 103F 3C54 24B9 6AA2 3A11 93B7 064B";
+ }];
+ };
smaret = {
email = "sebastien.maret@icloud.com";
github = "smaret";
@@ -4881,9 +4895,13 @@
name = "Vincent Bernardoff";
};
vcunat = {
- email = "vcunat@gmail.com";
- github = "vcunat";
name = "Vladimír Čunát";
+ email = "v@cunat.cz"; # vcunat@gmail.com predominated in commits before 2019/03
+ github = "vcunat";
+ keys = [{
+ longkeyid = "rsa4096/0xE747DF1F9575A3AA";
+ fingerprint = "B600 6460 B60A 80E7 8206 2449 E747 DF1F 9575 A3AA";
+ }];
};
vdemeester = {
email = "vincent@sbr.pm";
@@ -5006,6 +5024,11 @@
email = "windenntw@gmail.com";
name = "Antonio Vargas Gonzalez";
};
+ winpat = {
+ email = "patrickwinter@posteo.ch";
+ github = "winpat";
+ name = "Patrick Winter";
+ };
wizeman = {
email = "rcorreia@wizy.org";
github = "wizeman";
diff --git a/nixos/doc/manual/release-notes/rl-1903.xml b/nixos/doc/manual/release-notes/rl-1903.xml
index fd4bb975a05..2a5669e2af1 100644
--- a/nixos/doc/manual/release-notes/rl-1903.xml
+++ b/nixos/doc/manual/release-notes/rl-1903.xml
@@ -54,6 +54,8 @@
to false and enable your preferred display manager.
+
+
A major refactoring of the Kubernetes module has been completed.
Refactorings primarily focus on decoupling components and enhancing
@@ -91,6 +93,18 @@
in nixos/modules/virtualisation/google-compute-config.nix.
+
+
+ ./services/misc/beanstalkd.nix
+
+
+
+
+ There is a new services.cockroachdb module for running
+ CockroachDB databases. NixOS now ships with CockroachDB 2.1.x as well, available
+ on x86_64-linux and aarch64-linux.
+
+
@@ -543,6 +557,20 @@
use nixos-rebuild boot; reboot.
+
+
+ Symlinks in /etc (except /etc/static)
+ are now relative instead of absolute. This makes possible to examine
+ NixOS container's /etc directory from host system
+ (previously it pointed to host /etc when viewed from host,
+ and to container /etc when viewed from container chroot).
+
+
+ This also makes /etc/os-release adhere to
+ the standard
+ for NixOS containers.
+
+
Flat volumes are now disabled by default in hardware.pulseaudio.
@@ -613,6 +641,29 @@
environment.systemPackages implicitly.
+
+
+ The intel driver has been removed from the default list of
+ X.org video drivers.
+ The modesetting driver should take over automatically,
+ it is better maintained upstream and has less problems with advanced X11 features.
+ This can lead to a change in the output names used by xrandr.
+ Some performance regressions on some GPU models might happen.
+ Some OpenCL and VA-API applications might also break
+ (Beignet seems to provide OpenCL support with
+ modesetting driver, too).
+ Users who need this functionality more than multi-output XRandR are advised
+ to add `intel` to `videoDrivers` and report an issue (or provide additional
+ details in an existing one)
+
+
+
+
+ Openmpi has been updated to version 4.0.0, which removes some deprecated MPI-1 symbols.
+ This may break some older applications that still rely on those symbols.
+ An upgrade guide can be found here.
+
+
diff --git a/nixos/maintainers/scripts/cloudstack/cloudstack-image.nix b/nixos/maintainers/scripts/cloudstack/cloudstack-image.nix
new file mode 100644
index 00000000000..37b46db059c
--- /dev/null
+++ b/nixos/maintainers/scripts/cloudstack/cloudstack-image.nix
@@ -0,0 +1,23 @@
+# nix-build '' -A config.system.build.cloudstackImage --arg configuration "{ imports = [ ./nixos/maintainers/scripts/cloudstack/cloudstack-image.nix ]; }"
+
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+{
+ imports =
+ [ ../../../modules/virtualisation/cloudstack-config.nix ];
+
+ system.build.cloudstackImage = import ../../../lib/make-disk-image.nix {
+ inherit lib config pkgs;
+ diskSize = 8192;
+ format = "qcow2";
+ configFile = pkgs.writeText "configuration.nix"
+ ''
+ {
+ imports = [ ];
+ }
+ '';
+ };
+
+}
diff --git a/nixos/modules/config/fonts/fontconfig-penultimate.nix b/nixos/modules/config/fonts/fontconfig-penultimate.nix
index 7e05e77d967..2c18244621a 100644
--- a/nixos/modules/config/fonts/fontconfig-penultimate.nix
+++ b/nixos/modules/config/fonts/fontconfig-penultimate.nix
@@ -55,7 +55,9 @@ let
localConf = pkgs.writeText "fc-local.conf" cfg.localConf;
# The configuration to be included in /etc/font/
- penultimateConf = pkgs.runCommand "font-penultimate-conf" {} ''
+ penultimateConf = pkgs.runCommand "font-penultimate-conf" {
+ preferLocalBuild = true;
+ } ''
support_folder=$out/etc/fonts/conf.d
latest_folder=$out/etc/fonts/${latestVersion}/conf.d
diff --git a/nixos/modules/config/fonts/fontconfig-ultimate.nix b/nixos/modules/config/fonts/fontconfig-ultimate.nix
index 7549dc6c065..45328f3eaf1 100644
--- a/nixos/modules/config/fonts/fontconfig-ultimate.nix
+++ b/nixos/modules/config/fonts/fontconfig-ultimate.nix
@@ -7,7 +7,7 @@ let cfg = config.fonts.fontconfig.ultimate;
latestVersion = pkgs.fontconfig.configVersion;
# The configuration to be included in /etc/font/
- confPkg = pkgs.runCommand "font-ultimate-conf" {} ''
+ confPkg = pkgs.runCommand "font-ultimate-conf" { preferLocalBuild = true; } ''
support_folder=$out/etc/fonts/conf.d
latest_folder=$out/etc/fonts/${latestVersion}/conf.d
diff --git a/nixos/modules/config/fonts/fontconfig.nix b/nixos/modules/config/fonts/fontconfig.nix
index 12f5ca2e799..d79c43c0b5b 100644
--- a/nixos/modules/config/fonts/fontconfig.nix
+++ b/nixos/modules/config/fonts/fontconfig.nix
@@ -190,7 +190,7 @@ let cfg = config.fonts.fontconfig;
'';
# fontconfig configuration package
- confPkg = pkgs.runCommand "fontconfig-conf" {} ''
+ confPkg = pkgs.runCommand "fontconfig-conf" { preferLocalBuild = true; } ''
support_folder=$out/etc/fonts
latest_folder=$out/etc/fonts/${latestVersion}
diff --git a/nixos/modules/config/fonts/fontdir.nix b/nixos/modules/config/fonts/fontdir.nix
index 180e38f81f4..cc70fbf8744 100644
--- a/nixos/modules/config/fonts/fontdir.nix
+++ b/nixos/modules/config/fonts/fontdir.nix
@@ -4,7 +4,7 @@ with lib;
let
- x11Fonts = pkgs.runCommand "X11-fonts" { } ''
+ x11Fonts = pkgs.runCommand "X11-fonts" { preferLocalBuild = true; } ''
mkdir -p "$out/share/X11-fonts"
find ${toString config.fonts.fonts} \
\( -name fonts.dir -o -name '*.ttf' -o -name '*.otf' \) \
diff --git a/nixos/modules/config/nsswitch.nix b/nixos/modules/config/nsswitch.nix
index b601e908e49..13277fe56e4 100644
--- a/nixos/modules/config/nsswitch.nix
+++ b/nixos/modules/config/nsswitch.nix
@@ -61,6 +61,15 @@ in {
};
};
+ system.nssHosts = mkOption {
+ type = types.listOf types.str;
+ default = [];
+ example = [ "mdns" ];
+ description = ''
+ List of host entries to configure in /etc/nsswitch.conf.
+ '';
+ };
+
};
config = {
@@ -85,7 +94,7 @@ in {
group: ${concatStringsSep " " passwdArray}
shadow: ${concatStringsSep " " shadowArray}
- hosts: ${concatStringsSep " " hostArray}
+ hosts: ${concatStringsSep " " config.system.nssHosts}
networks: files
ethers: files
@@ -94,6 +103,8 @@ in {
rpc: files
'';
+ system.nssHosts = hostArray;
+
# Systemd provides nss-myhostname to ensure that our hostname
# always resolves to a valid IP address. It returns all locally
# configured IP addresses, or ::1 and 127.0.0.2 as
diff --git a/nixos/modules/hardware/acpilight.nix b/nixos/modules/hardware/acpilight.nix
new file mode 100644
index 00000000000..34e8a222096
--- /dev/null
+++ b/nixos/modules/hardware/acpilight.nix
@@ -0,0 +1,24 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+let
+ cfg = config.hardware.acpilight;
+in
+{
+ options = {
+ hardware.acpilight = {
+ enable = mkOption {
+ default = false;
+ type = types.bool;
+ description = ''
+ Enable acpilight.
+ This will allow brightness control via xbacklight from users in the video group
+ '';
+ };
+ };
+ };
+
+ config = mkIf cfg.enable {
+ services.udev.packages = with pkgs; [ acpilight ];
+ };
+}
diff --git a/nixos/modules/hardware/ledger.nix b/nixos/modules/hardware/ledger.nix
new file mode 100644
index 00000000000..41abe74315a
--- /dev/null
+++ b/nixos/modules/hardware/ledger.nix
@@ -0,0 +1,14 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+ cfg = config.hardware.ledger;
+
+in {
+ options.hardware.ledger.enable = mkEnableOption "udev rules for Ledger devices";
+
+ config = mkIf cfg.enable {
+ services.udev.packages = [ pkgs.ledger-udev-rules ];
+ };
+}
diff --git a/nixos/modules/hardware/video/uvcvideo/uvcdynctrl-udev-rules.nix b/nixos/modules/hardware/video/uvcvideo/uvcdynctrl-udev-rules.nix
index 2cf5f13bc15..a808429c999 100644
--- a/nixos/modules/hardware/video/uvcvideo/uvcdynctrl-udev-rules.nix
+++ b/nixos/modules/hardware/video/uvcvideo/uvcdynctrl-udev-rules.nix
@@ -29,6 +29,7 @@ runCommand "uvcdynctrl-udev-rules-${version}"
];
dontPatchELF = true;
dontStrip = true;
+ preferLocalBuild = true;
}
''
mkdir -p "$out/lib/udev"
diff --git a/nixos/modules/installer/cd-dvd/channel.nix b/nixos/modules/installer/cd-dvd/channel.nix
index e946c4abc57..ab5e7c0645f 100644
--- a/nixos/modules/installer/cd-dvd/channel.nix
+++ b/nixos/modules/installer/cd-dvd/channel.nix
@@ -13,7 +13,7 @@ let
# user, as expected by nixos-rebuild/nixos-install. FIXME: merge
# with make-channel.nix.
channelSources = pkgs.runCommand "nixos-${config.system.nixos.version}"
- { }
+ { preferLocalBuild = true; }
''
mkdir -p $out
cp -prd ${nixpkgs.outPath} $out/nixos
diff --git a/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix b/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix
index 228ef371d25..917b3758d38 100644
--- a/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix
+++ b/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix
@@ -31,6 +31,10 @@ with lib;
# there is no power management backend such as upower).
powerManagement.enable = true;
+ # Enable sound in graphical iso's.
+ hardware.pulseaudio.enable = true;
+ hardware.pulseaudio.systemWide = true; # Needed since we run plasma as root.
+
environment.systemPackages = [
# Include gparted for partitioning disks.
pkgs.gparted
diff --git a/nixos/modules/misc/ids.nix b/nixos/modules/misc/ids.nix
index 5f134b51939..e78673514e3 100644
--- a/nixos/modules/misc/ids.nix
+++ b/nixos/modules/misc/ids.nix
@@ -272,7 +272,7 @@
nzbget = 245;
mosquitto = 246;
toxvpn = 247;
- squeezelite = 248;
+ # squeezelite = 248; # DynamicUser = true
turnserver = 249;
smokeping = 250;
gocd-agent = 251;
diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix
index 7af6e117c51..32b3f14e82d 100644
--- a/nixos/modules/module-list.nix
+++ b/nixos/modules/module-list.nix
@@ -44,6 +44,7 @@
./hardware/digitalbitbox.nix
./hardware/sensor/iio.nix
./hardware/ksm.nix
+ ./hardware/ledger.nix
./hardware/mcelog.nix
./hardware/network/b43.nix
./hardware/nitrokey.nix
@@ -361,6 +362,7 @@
./services/misc/apache-kafka.nix
./services/misc/autofs.nix
./services/misc/autorandr.nix
+ ./services/misc/beanstalkd.nix
./services/misc/bees.nix
./services/misc/bepasty.nix
./services/misc/canto-daemon.nix
diff --git a/nixos/modules/profiles/graphical.nix b/nixos/modules/profiles/graphical.nix
index fba756391b1..649f5564ac6 100644
--- a/nixos/modules/profiles/graphical.nix
+++ b/nixos/modules/profiles/graphical.nix
@@ -14,5 +14,9 @@
libinput.enable = true; # for touchpad support on many laptops
};
+ # Enable sound in virtualbox appliances.
+ hardware.pulseaudio.enable = true;
+ hardware.pulseaudio.systemWide = true; # Needed since we run plasma as root.
+
environment.systemPackages = [ pkgs.glxinfo pkgs.firefox ];
}
diff --git a/nixos/modules/programs/less.nix b/nixos/modules/programs/less.nix
index d39103a5805..9fdf99e9c69 100644
--- a/nixos/modules/programs/less.nix
+++ b/nixos/modules/programs/less.nix
@@ -25,7 +25,7 @@ let
'';
lessKey = pkgs.runCommand "lesskey"
- { src = pkgs.writeText "lessconfig" configText; }
+ { src = pkgs.writeText "lessconfig" configText; preferLocalBuild = true; }
"${pkgs.less}/bin/lesskey -o $out $src";
in
diff --git a/nixos/modules/security/ca.nix b/nixos/modules/security/ca.nix
index 67469be18b4..1c4ee421fc5 100644
--- a/nixos/modules/security/ca.nix
+++ b/nixos/modules/security/ca.nix
@@ -14,6 +14,7 @@ let
{ files =
cfg.certificateFiles ++
[ (builtins.toFile "extra.crt" (concatStringsSep "\n" cfg.certificates)) ];
+ preferLocalBuild = true;
}
''
cat $files > $out
diff --git a/nixos/modules/security/sudo.nix b/nixos/modules/security/sudo.nix
index 69a2a4f8f9a..573588aaeec 100644
--- a/nixos/modules/security/sudo.nix
+++ b/nixos/modules/security/sudo.nix
@@ -215,7 +215,10 @@ in
environment.etc = singleton
{ source =
pkgs.runCommand "sudoers"
- { src = pkgs.writeText "sudoers-in" cfg.configFile; }
+ {
+ src = pkgs.writeText "sudoers-in" cfg.configFile;
+ preferLocalBuild = true;
+ }
# Make sure that the sudoers file is syntactically valid.
# (currently disabled - NIXOS-66)
"${pkgs.buildPackages.sudo}/sbin/visudo -f $src -c && cp $src $out";
diff --git a/nixos/modules/services/audio/squeezelite.nix b/nixos/modules/services/audio/squeezelite.nix
index 57ae3855993..05506f5bcc7 100644
--- a/nixos/modules/services/audio/squeezelite.nix
+++ b/nixos/modules/services/audio/squeezelite.nix
@@ -3,8 +3,7 @@
with lib;
let
-
- uid = config.ids.uids.squeezelite;
+ dataDir = "/var/lib/squeezelite";
cfg = config.services.squeezelite;
in {
@@ -17,14 +16,6 @@ in {
enable = mkEnableOption "Squeezelite, a software Squeezebox emulator";
- dataDir = mkOption {
- default = "/var/lib/squeezelite";
- type = types.str;
- description = ''
- The directory where Squeezelite stores its name file.
- '';
- };
-
extraArguments = mkOption {
default = "";
type = types.str;
@@ -46,22 +37,14 @@ in {
wantedBy = [ "multi-user.target" ];
after = [ "network.target" "sound.target" ];
description = "Software Squeezebox emulator";
- preStart = "mkdir -p ${cfg.dataDir} && chown -R squeezelite ${cfg.dataDir}";
serviceConfig = {
- ExecStart = "${pkgs.squeezelite}/bin/squeezelite -N ${cfg.dataDir}/player-name ${cfg.extraArguments}";
- User = "squeezelite";
- PermissionsStartOnly = true;
+ DynamicUser = true;
+ ExecStart = "${pkgs.squeezelite}/bin/squeezelite -N ${dataDir}/player-name ${cfg.extraArguments}";
+ StateDirectory = builtins.baseNameOf dataDir;
+ SupplementaryGroups = "audio";
};
};
- users.users.squeezelite= {
- inherit uid;
- group = "nogroup";
- extraGroups = [ "audio" ];
- description = "Squeezelite user";
- home = "${cfg.dataDir}";
- };
-
};
}
diff --git a/nixos/modules/services/cluster/kubernetes/proxy.nix b/nixos/modules/services/cluster/kubernetes/proxy.nix
index 6bcf2eaca82..83cd3e23100 100644
--- a/nixos/modules/services/cluster/kubernetes/proxy.nix
+++ b/nixos/modules/services/cluster/kubernetes/proxy.nix
@@ -64,6 +64,8 @@ in
${cfg.extraOpts}
'';
WorkingDirectory = top.dataDir;
+ Restart = "on-failure";
+ RestartSec = 5;
};
};
diff --git a/nixos/modules/services/cluster/kubernetes/scheduler.nix b/nixos/modules/services/cluster/kubernetes/scheduler.nix
index 655e6f8b6e2..0305b9aefe5 100644
--- a/nixos/modules/services/cluster/kubernetes/scheduler.nix
+++ b/nixos/modules/services/cluster/kubernetes/scheduler.nix
@@ -76,6 +76,8 @@ in
WorkingDirectory = top.dataDir;
User = "kubernetes";
Group = "kubernetes";
+ Restart = "on-failure";
+ RestartSec = 5;
};
};
diff --git a/nixos/modules/services/continuous-integration/buildkite-agent.nix b/nixos/modules/services/continuous-integration/buildkite-agent.nix
index 9daf391c73c..2136778aff4 100644
--- a/nixos/modules/services/continuous-integration/buildkite-agent.nix
+++ b/nixos/modules/services/continuous-integration/buildkite-agent.nix
@@ -24,7 +24,7 @@ let
EOF
chmod 755 $out/${name}
'';
- in pkgs.runCommand "buildkite-agent-hooks" {} ''
+ in pkgs.runCommand "buildkite-agent-hooks" { preferLocalBuild = true; } ''
mkdir $out
${concatStringsSep "\n" (mapAttrsToList mkHookEntry (filterAttrs (n: v: v != null) cfg.hooks))}
'';
diff --git a/nixos/modules/services/continuous-integration/gitlab-runner.nix b/nixos/modules/services/continuous-integration/gitlab-runner.nix
index a0aff1b8b5b..3ceaa6f5ff3 100644
--- a/nixos/modules/services/continuous-integration/gitlab-runner.nix
+++ b/nixos/modules/services/continuous-integration/gitlab-runner.nix
@@ -8,6 +8,7 @@ let
if (cfg.configFile == null) then
(pkgs.runCommand "config.toml" {
buildInputs = [ pkgs.remarshal ];
+ preferLocalBuild = true;
} ''
remarshal -if json -of toml \
< ${pkgs.writeText "config.json" (builtins.toJSON cfg.configOptions)} \
diff --git a/nixos/modules/services/databases/hbase.nix b/nixos/modules/services/databases/hbase.nix
index 4772e897efe..52f2d95b4e0 100644
--- a/nixos/modules/services/databases/hbase.nix
+++ b/nixos/modules/services/databases/hbase.nix
@@ -18,7 +18,7 @@ let
'';
- configDir = pkgs.runCommand "hbase-config-dir" {} ''
+ configDir = pkgs.runCommand "hbase-config-dir" { preferLocalBuild = true; } ''
mkdir -p $out
cp ${cfg.package}/conf/* $out/
rm $out/hbase-site.xml
diff --git a/nixos/modules/services/databases/influxdb.nix b/nixos/modules/services/databases/influxdb.nix
index d7a028b25d8..888bf13c3df 100644
--- a/nixos/modules/services/databases/influxdb.nix
+++ b/nixos/modules/services/databases/influxdb.nix
@@ -98,6 +98,7 @@ let
configFile = pkgs.runCommand "config.toml" {
buildInputs = [ pkgs.remarshal ];
+ preferLocalBuild = true;
} ''
remarshal -if json -of toml \
< ${pkgs.writeText "config.json" (builtins.toJSON configOptions)} \
diff --git a/nixos/modules/services/hardware/acpid.nix b/nixos/modules/services/hardware/acpid.nix
index 0f05876aee3..4c97485d972 100644
--- a/nixos/modules/services/hardware/acpid.nix
+++ b/nixos/modules/services/hardware/acpid.nix
@@ -21,7 +21,7 @@ let
};
};
- acpiConfDir = pkgs.runCommand "acpi-events" {}
+ acpiConfDir = pkgs.runCommand "acpi-events" { preferLocalBuild = true; }
''
mkdir -p $out
${
diff --git a/nixos/modules/services/hardware/tlp.nix b/nixos/modules/services/hardware/tlp.nix
index b894025c0fd..092ff051a04 100644
--- a/nixos/modules/services/hardware/tlp.nix
+++ b/nixos/modules/services/hardware/tlp.nix
@@ -17,6 +17,7 @@ tlp = pkgs.tlp.override {
confFile = pkgs.runCommand "tlp"
{ config = cfg.extraConfig;
passAsFile = [ "config" ];
+ preferLocalBuild = true;
}
''
cat ${tlp}/etc/default/tlp > $out
diff --git a/nixos/modules/services/logging/logcheck.nix b/nixos/modules/services/logging/logcheck.nix
index 1477d273d5e..9c64160e92b 100644
--- a/nixos/modules/services/logging/logcheck.nix
+++ b/nixos/modules/services/logging/logcheck.nix
@@ -5,7 +5,7 @@ with lib;
let
cfg = config.services.logcheck;
- defaultRules = pkgs.runCommand "logcheck-default-rules" {} ''
+ defaultRules = pkgs.runCommand "logcheck-default-rules" { preferLocalBuild = true; } ''
cp -prd ${pkgs.logcheck}/etc/logcheck $out
chmod u+w $out
rm -r $out/logcheck.*
diff --git a/nixos/modules/services/logging/logstash.nix b/nixos/modules/services/logging/logstash.nix
index aa019d855ea..9b707e9deb5 100644
--- a/nixos/modules/services/logging/logstash.nix
+++ b/nixos/modules/services/logging/logstash.nix
@@ -27,7 +27,10 @@ let
logstashSettingsYml = pkgs.writeText "logstash.yml" cfg.extraSettings;
- logstashSettingsDir = pkgs.runCommand "logstash-settings" {inherit logstashSettingsYml;} ''
+ logstashSettingsDir = pkgs.runCommand "logstash-settings" {
+ inherit logstashSettingsYml;
+ preferLocalBuild = true;
+ } ''
mkdir -p $out
ln -s $logstashSettingsYml $out/logstash.yml
'';
diff --git a/nixos/modules/services/mail/opensmtpd.nix b/nixos/modules/services/mail/opensmtpd.nix
index 4276552d4f0..a870550ba50 100644
--- a/nixos/modules/services/mail/opensmtpd.nix
+++ b/nixos/modules/services/mail/opensmtpd.nix
@@ -8,7 +8,7 @@ let
conf = pkgs.writeText "smtpd.conf" cfg.serverConfiguration;
args = concatStringsSep " " cfg.extraServerArgs;
- sendmail = pkgs.runCommand "opensmtpd-sendmail" {} ''
+ sendmail = pkgs.runCommand "opensmtpd-sendmail" { preferLocalBuild = true; } ''
mkdir -p $out/bin
ln -s ${cfg.package}/sbin/smtpctl $out/bin/sendmail
'';
diff --git a/nixos/modules/services/misc/beanstalkd.nix b/nixos/modules/services/misc/beanstalkd.nix
new file mode 100644
index 00000000000..8a3e0ab1949
--- /dev/null
+++ b/nixos/modules/services/misc/beanstalkd.nix
@@ -0,0 +1,52 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+ cfg = config.services.beanstalkd;
+ pkg = pkgs.beanstalkd;
+in
+
+{
+ # interface
+
+ options = {
+ services.beanstalkd = {
+ enable = mkEnableOption "Enable the Beanstalk work queue.";
+
+ listen = {
+ port = mkOption {
+ type = types.int;
+ description = "TCP port that will be used to accept client connections.";
+ default = 11300;
+ };
+
+ address = mkOption {
+ type = types.str;
+ description = "IP address to listen on.";
+ default = "127.0.0.1";
+ example = "0.0.0.0";
+ };
+ };
+ };
+ };
+
+ # implementation
+
+ config = mkIf cfg.enable {
+
+ environment.systemPackages = [ pkg ];
+
+ systemd.services.beanstalkd = {
+ description = "Beanstalk Work Queue";
+ after = [ "network.target" ];
+ wantedBy = [ "multi-user.target" ];
+ serviceConfig = {
+ DynamicUser = true;
+ Restart = "always";
+ ExecStart = "${pkg}/bin/beanstalkd -l ${cfg.listen.address} -p ${toString cfg.listen.port}";
+ };
+ };
+
+ };
+}
diff --git a/nixos/modules/services/misc/gitolite.nix b/nixos/modules/services/misc/gitolite.nix
index b9c2a966e6f..c7f2a168f8a 100644
--- a/nixos/modules/services/misc/gitolite.nix
+++ b/nixos/modules/services/misc/gitolite.nix
@@ -110,7 +110,7 @@ in
config = mkIf cfg.enable (
let
manageGitoliteRc = cfg.extraGitoliteRc != "";
- rcDir = pkgs.runCommand "gitolite-rc" { } rcDirScript;
+ rcDir = pkgs.runCommand "gitolite-rc" { preferLocalBuild = true; } rcDirScript;
rcDirScript =
''
mkdir "$out"
diff --git a/nixos/modules/services/misc/home-assistant.nix b/nixos/modules/services/misc/home-assistant.nix
index 4ccfa22c89e..95a7f2ea989 100644
--- a/nixos/modules/services/misc/home-assistant.nix
+++ b/nixos/modules/services/misc/home-assistant.nix
@@ -19,7 +19,7 @@ let
${pkgs.remarshal}/bin/json2yaml -i ${lovelaceConfigJSON} -o $out
'';
- availableComponents = pkgs.home-assistant.availableComponents;
+ availableComponents = cfg.package.availableComponents;
# Given component "parentConfig.platform", returns whether config.parentConfig
# is a list containing a set with set.platform == "platform".
diff --git a/nixos/modules/services/misc/matrix-synapse.nix b/nixos/modules/services/misc/matrix-synapse.nix
index a01e34d7362..87999c3614f 100644
--- a/nixos/modules/services/misc/matrix-synapse.nix
+++ b/nixos/modules/services/misc/matrix-synapse.nix
@@ -651,16 +651,12 @@ in {
services.postgresql.enable = mkIf usePostgresql (mkDefault true);
- systemd.services.matrix-synapse =
- let
- python = (pkgs.python3.withPackages (ps: with ps; [ (ps.toPythonModule cfg.package) ]));
- in
- {
+ systemd.services.matrix-synapse = {
description = "Synapse Matrix homeserver";
after = [ "network.target" "postgresql.service" ];
wantedBy = [ "multi-user.target" ];
preStart = ''
- ${python.interpreter} -m synapse.app.homeserver \
+ ${cfg.package}/bin/homeserver \
--config-path ${configFile} \
--keys-directory ${cfg.dataDir} \
--generate-keys
@@ -691,7 +687,7 @@ in {
WorkingDirectory = cfg.dataDir;
PermissionsStartOnly = true;
ExecStart = ''
- ${python.interpreter} -m synapse.app.homeserver \
+ ${cfg.package}/bin/homeserver \
${ concatMapStringsSep "\n " (x: "--config-path ${x} \\") ([ configFile ] ++ cfg.extraConfigFiles) }
--keys-directory ${cfg.dataDir}
'';
diff --git a/nixos/modules/services/misc/nix-daemon.nix b/nixos/modules/services/misc/nix-daemon.nix
index 9a8116a03e8..665215822af 100644
--- a/nixos/modules/services/misc/nix-daemon.nix
+++ b/nixos/modules/services/misc/nix-daemon.nix
@@ -33,7 +33,7 @@ let
sh = pkgs.runtimeShell;
binshDeps = pkgs.writeReferencesToFile sh;
in
- pkgs.runCommand "nix.conf" { extraOptions = cfg.extraOptions; } (''
+ pkgs.runCommand "nix.conf" { preferLocalBuild = true; extraOptions = cfg.extraOptions; } (''
${optionalString (!isNix20) ''
extraPaths=$(for i in $(cat ${binshDeps}); do if test -d $i; then echo $i; fi; done)
''}
diff --git a/nixos/modules/services/misc/taskserver/default.nix b/nixos/modules/services/misc/taskserver/default.nix
index 5f97abf1871..483bc99ad94 100644
--- a/nixos/modules/services/misc/taskserver/default.nix
+++ b/nixos/modules/services/misc/taskserver/default.nix
@@ -109,7 +109,7 @@ let
nixos-taskserver = pkgs.pythonPackages.buildPythonApplication {
name = "nixos-taskserver";
- src = pkgs.runCommand "nixos-taskserver-src" {} ''
+ src = pkgs.runCommand "nixos-taskserver-src" { preferLocalBuild = true; } ''
mkdir -p "$out"
cat "${pkgs.substituteAll {
src = ./helper-tool.py;
diff --git a/nixos/modules/services/monitoring/apcupsd.nix b/nixos/modules/services/monitoring/apcupsd.nix
index 7ee870183ca..49957e65290 100644
--- a/nixos/modules/services/monitoring/apcupsd.nix
+++ b/nixos/modules/services/monitoring/apcupsd.nix
@@ -45,7 +45,7 @@ let
eventToShellCmds = event: if builtins.hasAttr event cfg.hooks then (shellCmdsForEventScript event (builtins.getAttr event cfg.hooks)) else "";
- scriptDir = pkgs.runCommand "apcupsd-scriptdir" {} (''
+ scriptDir = pkgs.runCommand "apcupsd-scriptdir" { preferLocalBuild = true; } (''
mkdir "$out"
# Copy SCRIPTDIR from apcupsd package
cp -r ${pkgs.apcupsd}/etc/apcupsd/* "$out"/
diff --git a/nixos/modules/services/monitoring/graphite.nix b/nixos/modules/services/monitoring/graphite.nix
index cdc98b407e9..f59bc56962b 100644
--- a/nixos/modules/services/monitoring/graphite.nix
+++ b/nixos/modules/services/monitoring/graphite.nix
@@ -9,8 +9,10 @@ let
dataDir = cfg.dataDir;
staticDir = cfg.dataDir + "/static";
- graphiteLocalSettingsDir = pkgs.runCommand "graphite_local_settings"
- {inherit graphiteLocalSettings;} ''
+ graphiteLocalSettingsDir = pkgs.runCommand "graphite_local_settings" {
+ inherit graphiteLocalSettings;
+ preferLocalBuild = true;
+ } ''
mkdir -p $out
ln -s $graphiteLocalSettings $out/graphite_local_settings.py
'';
diff --git a/nixos/modules/services/monitoring/nagios.nix b/nixos/modules/services/monitoring/nagios.nix
index 3e1d727b416..e5496209f82 100644
--- a/nixos/modules/services/monitoring/nagios.nix
+++ b/nixos/modules/services/monitoring/nagios.nix
@@ -11,8 +11,10 @@ let
nagiosObjectDefs = cfg.objectDefs;
- nagiosObjectDefsDir = pkgs.runCommand "nagios-objects" {inherit nagiosObjectDefs;}
- "mkdir -p $out; ln -s $nagiosObjectDefs $out/";
+ nagiosObjectDefsDir = pkgs.runCommand "nagios-objects" {
+ inherit nagiosObjectDefs;
+ preferLocalBuild = true;
+ } "mkdir -p $out; ln -s $nagiosObjectDefs $out/";
nagiosCfgFile = pkgs.writeText "nagios.cfg"
''
diff --git a/nixos/modules/services/monitoring/netdata.nix b/nixos/modules/services/monitoring/netdata.nix
index 1d86c5d893d..a49555cf677 100644
--- a/nixos/modules/services/monitoring/netdata.nix
+++ b/nixos/modules/services/monitoring/netdata.nix
@@ -5,7 +5,7 @@ with lib;
let
cfg = config.services.netdata;
- wrappedPlugins = pkgs.runCommand "wrapped-plugins" {} ''
+ wrappedPlugins = pkgs.runCommand "wrapped-plugins" { preferLocalBuild = true; } ''
mkdir -p $out/libexec/netdata/plugins.d
ln -s /run/wrappers/bin/apps.plugin $out/libexec/netdata/plugins.d/apps.plugin
'';
diff --git a/nixos/modules/services/monitoring/prometheus/default.nix b/nixos/modules/services/monitoring/prometheus/default.nix
index 1b1503ab5fc..cc703573d8c 100644
--- a/nixos/modules/services/monitoring/prometheus/default.nix
+++ b/nixos/modules/services/monitoring/prometheus/default.nix
@@ -19,7 +19,7 @@ let
# Pretty-print JSON to a file
writePrettyJSON = name: x:
- pkgs.runCommand name { } ''
+ pkgs.runCommand name { preferLocalBuild = true; } ''
echo '${builtins.toJSON x}' | ${pkgs.jq}/bin/jq . > $out
'';
diff --git a/nixos/modules/services/monitoring/scollector.nix b/nixos/modules/services/monitoring/scollector.nix
index 6ecb21d628d..fbded746a5f 100644
--- a/nixos/modules/services/monitoring/scollector.nix
+++ b/nixos/modules/services/monitoring/scollector.nix
@@ -5,7 +5,7 @@ with lib;
let
cfg = config.services.scollector;
- collectors = pkgs.runCommand "collectors" {}
+ collectors = pkgs.runCommand "collectors" { preferLocalBuild = true; }
''
mkdir -p $out
${lib.concatStringsSep
diff --git a/nixos/modules/services/monitoring/telegraf.nix b/nixos/modules/services/monitoring/telegraf.nix
index 6bfcd7143e1..d8786732668 100644
--- a/nixos/modules/services/monitoring/telegraf.nix
+++ b/nixos/modules/services/monitoring/telegraf.nix
@@ -7,6 +7,7 @@ let
configFile = pkgs.runCommand "config.toml" {
buildInputs = [ pkgs.remarshal ];
+ preferLocalBuild = true;
} ''
remarshal -if json -of toml \
< ${pkgs.writeText "config.json" (builtins.toJSON cfg.extraConfig)} \
diff --git a/nixos/modules/services/monitoring/uptime.nix b/nixos/modules/services/monitoring/uptime.nix
index b4d3a264010..c0993f3bc2e 100644
--- a/nixos/modules/services/monitoring/uptime.nix
+++ b/nixos/modules/services/monitoring/uptime.nix
@@ -4,7 +4,8 @@ let
cfg = config.services.uptime;
- configDir = pkgs.runCommand "config" {} (if cfg.configFile != null then ''
+ configDir = pkgs.runCommand "config" { preferLocalBuild = true; }
+ (if cfg.configFile != null then ''
mkdir $out
ext=`echo ${cfg.configFile} | grep -o \\..*`
ln -sv ${cfg.configFile} $out/default$ext
diff --git a/nixos/modules/services/network-filesystems/beegfs.nix b/nixos/modules/services/network-filesystems/beegfs.nix
index d9dde3f6bb6..86b1bb9160f 100644
--- a/nixos/modules/services/network-filesystems/beegfs.nix
+++ b/nixos/modules/services/network-filesystems/beegfs.nix
@@ -102,7 +102,10 @@ let
# wrappers to beegfs tools. Avoid typing path of config files
utilWrappers = mapAttrsToList ( name: cfg:
- ( pkgs.runCommand "beegfs-utils-${name}" { nativeBuildInputs = [ pkgs.makeWrapper ]; } ''
+ ( pkgs.runCommand "beegfs-utils-${name}" {
+ nativeBuildInputs = [ pkgs.makeWrapper ];
+ preferLocalBuild = true;
+ } ''
mkdir -p $out/bin
makeWrapper ${pkgs.beegfs}/bin/beegfs-check-servers \
diff --git a/nixos/modules/services/network-filesystems/ipfs.nix b/nixos/modules/services/network-filesystems/ipfs.nix
index 602cd50d8f5..d4fa1eccdf3 100644
--- a/nixos/modules/services/network-filesystems/ipfs.nix
+++ b/nixos/modules/services/network-filesystems/ipfs.nix
@@ -19,7 +19,7 @@ let
"/var/lib/ipfs/.ipfs";
# Wrapping the ipfs binary with the environment variable IPFS_PATH set to dataDir because we can't set it in the user environment
- wrapped = runCommand "ipfs" { buildInputs = [ makeWrapper ]; } ''
+ wrapped = runCommand "ipfs" { buildInputs = [ makeWrapper ]; preferLocalBuild = true; } ''
mkdir -p "$out/bin"
makeWrapper "${ipfs}/bin/ipfs" "$out/bin/ipfs" \
--set IPFS_PATH ${cfg.dataDir} \
diff --git a/nixos/modules/services/network-filesystems/openafs/client.nix b/nixos/modules/services/network-filesystems/openafs/client.nix
index 240c1392088..93d2d7fcd97 100644
--- a/nixos/modules/services/network-filesystems/openafs/client.nix
+++ b/nixos/modules/services/network-filesystems/openafs/client.nix
@@ -15,7 +15,7 @@ let
clientServDB = pkgs.writeText "client-cellServDB-${cfg.cellName}" (mkCellServDB cfg.cellName cfg.cellServDB);
- afsConfig = pkgs.runCommand "afsconfig" {} ''
+ afsConfig = pkgs.runCommand "afsconfig" { preferLocalBuild = true; } ''
mkdir -p $out
echo ${cfg.cellName} > $out/ThisCell
cat ${cellServDB} ${clientServDB} > $out/CellServDB
@@ -198,7 +198,7 @@ in
environment.etc = {
clientCellServDB = {
- source = pkgs.runCommand "CellServDB" {} ''
+ source = pkgs.runCommand "CellServDB" { preferLocalBuild = true; } ''
cat ${cellServDB} ${clientServDB} > $out
'';
target = "openafs/CellServDB";
diff --git a/nixos/modules/services/networking/dnscache.nix b/nixos/modules/services/networking/dnscache.nix
index fc30f50317f..5051fc916d9 100644
--- a/nixos/modules/services/networking/dnscache.nix
+++ b/nixos/modules/services/networking/dnscache.nix
@@ -5,7 +5,7 @@ with lib;
let
cfg = config.services.dnscache;
- dnscache-root = pkgs.runCommand "dnscache-root" {} ''
+ dnscache-root = pkgs.runCommand "dnscache-root" { preferLocalBuild = true; } ''
mkdir -p $out/{servers,ip}
${concatMapStrings (ip: ''
diff --git a/nixos/modules/services/networking/hylafax/systemd.nix b/nixos/modules/services/networking/hylafax/systemd.nix
index 91d9c1a37da..ef177e4be34 100644
--- a/nixos/modules/services/networking/hylafax/systemd.nix
+++ b/nixos/modules/services/networking/hylafax/systemd.nix
@@ -41,7 +41,7 @@ let
"$out/config.${name}"
'';
in
- pkgs.runCommand "hylafax-config-modems" {}
+ pkgs.runCommand "hylafax-config-modems" { preferLocalBuild = true; }
''mkdir --parents "$out/" ${concatStringsSep "\n" (mapModems mkLine)}'';
setupSpoolScript = pkgs.substituteAll {
diff --git a/nixos/modules/services/networking/nix-serve.nix b/nixos/modules/services/networking/nix-serve.nix
index e83cad949ae..ca458d089dc 100644
--- a/nixos/modules/services/networking/nix-serve.nix
+++ b/nixos/modules/services/networking/nix-serve.nix
@@ -31,6 +31,15 @@ in
default = null;
description = ''
The path to the file used for signing derivation data.
+ Generate with:
+
+ ```
+ nix-store --generate-binary-cache-key key-name secret-key-file public-key-file
+ ```
+
+ Make sure user `nix-serve` has read access to the private key file.
+
+ For more details see nix-store1.
'';
};
diff --git a/nixos/modules/services/networking/prayer.nix b/nixos/modules/services/networking/prayer.nix
index f63f86496be..c936417e68c 100644
--- a/nixos/modules/services/networking/prayer.nix
+++ b/nixos/modules/services/networking/prayer.nix
@@ -25,7 +25,7 @@ let
${cfg.extraConfig}
'';
- prayerCfg = pkgs.runCommand "prayer.cf" { } ''
+ prayerCfg = pkgs.runCommand "prayer.cf" { preferLocalBuild = true; } ''
# We have to remove the http_port 80, or it will start a server there
cat ${prayer}/etc/prayer.cf | grep -v http_port > $out
cat ${prayerExtraCfg} >> $out
diff --git a/nixos/modules/services/networking/shout.nix b/nixos/modules/services/networking/shout.nix
index 1ea676d0f92..f511a9af256 100644
--- a/nixos/modules/services/networking/shout.nix
+++ b/nixos/modules/services/networking/shout.nix
@@ -6,7 +6,7 @@ let
cfg = config.services.shout;
shoutHome = "/var/lib/shout";
- defaultConfig = pkgs.runCommand "config.js" {} ''
+ defaultConfig = pkgs.runCommand "config.js" { preferLocalBuild = true; } ''
EDITOR=true ${pkgs.shout}/bin/shout config --home $PWD
mv config.js $out
'';
diff --git a/nixos/modules/services/networking/xrdp.nix b/nixos/modules/services/networking/xrdp.nix
index a1c5d879f3c..cc18f6d0064 100644
--- a/nixos/modules/services/networking/xrdp.nix
+++ b/nixos/modules/services/networking/xrdp.nix
@@ -4,7 +4,7 @@ with lib;
let
cfg = config.services.xrdp;
- confDir = pkgs.runCommand "xrdp.conf" { } ''
+ confDir = pkgs.runCommand "xrdp.conf" { preferLocalBuild = true; } ''
mkdir $out
cp ${cfg.package}/etc/xrdp/{km-*,xrdp,sesman,xrdp_keyboard}.ini $out
diff --git a/nixos/modules/services/printing/cupsd.nix b/nixos/modules/services/printing/cupsd.nix
index 3a43ebbb889..854c76cc0a1 100644
--- a/nixos/modules/services/printing/cupsd.nix
+++ b/nixos/modules/services/printing/cupsd.nix
@@ -11,8 +11,9 @@ let
avahiEnabled = config.services.avahi.enable;
polkitEnabled = config.security.polkit.enable;
- additionalBackends = pkgs.runCommand "additional-cups-backends" { }
- ''
+ additionalBackends = pkgs.runCommand "additional-cups-backends" {
+ preferLocalBuild = true;
+ } ''
mkdir -p $out
if [ ! -e ${cups.out}/lib/cups/backend/smb ]; then
mkdir -p $out/lib/cups/backend
diff --git a/nixos/modules/services/ttys/kmscon.nix b/nixos/modules/services/ttys/kmscon.nix
index 82b6a51028e..dc37f9bee4b 100644
--- a/nixos/modules/services/ttys/kmscon.nix
+++ b/nixos/modules/services/ttys/kmscon.nix
@@ -82,7 +82,7 @@ in {
X-RestartIfChanged=false
'';
- systemd.units."autovt@.service".unit = pkgs.runCommand "unit" { }
+ systemd.units."autovt@.service".unit = pkgs.runCommand "unit" { preferLocalBuild = true; }
''
mkdir -p $out
ln -s ${config.systemd.units."kmsconvt@.service".unit}/kmsconvt@.service $out/autovt@.service
diff --git a/nixos/modules/services/web-apps/codimd.nix b/nixos/modules/services/web-apps/codimd.nix
index a0af28eac7c..56e1de17e3c 100644
--- a/nixos/modules/services/web-apps/codimd.nix
+++ b/nixos/modules/services/web-apps/codimd.nix
@@ -6,7 +6,7 @@ let
cfg = config.services.codimd;
prettyJSON = conf:
- pkgs.runCommand "codimd-config.json" { } ''
+ pkgs.runCommand "codimd-config.json" { preferLocalBuild = true; } ''
echo '${builtins.toJSON conf}' | ${pkgs.jq}/bin/jq \
'{production:del(.[]|nulls)|del(.[][]?|nulls)}' > $out
'';
diff --git a/nixos/modules/services/web-servers/apache-httpd/default.nix b/nixos/modules/services/web-servers/apache-httpd/default.nix
index 3fd19d425c7..1eac5be2f8d 100644
--- a/nixos/modules/services/web-servers/apache-httpd/default.nix
+++ b/nixos/modules/services/web-servers/apache-httpd/default.nix
@@ -217,7 +217,7 @@ let
) null ([ cfg ] ++ subservices);
documentRoot = if maybeDocumentRoot != null then maybeDocumentRoot else
- pkgs.runCommand "empty" {} "mkdir -p $out";
+ pkgs.runCommand "empty" { preferLocalBuild = true; } "mkdir -p $out";
documentRootConf = ''
DocumentRoot "${documentRoot}"
@@ -426,6 +426,7 @@ let
phpIni = pkgs.runCommand "php.ini"
{ options = concatStringsSep "\n"
([ mainCfg.phpOptions ] ++ (map (svc: svc.phpOptions) allSubservices));
+ preferLocalBuild = true;
}
''
cat ${php}/etc/php.ini > $out
diff --git a/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix b/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix
index e871ae6ff15..6234478014c 100644
--- a/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix
+++ b/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix
@@ -116,9 +116,10 @@ let
'';
};
- mediawikiScripts = pkgs.runCommand "mediawiki-${config.id}-scripts"
- { buildInputs = [ pkgs.makeWrapper ]; }
- ''
+ mediawikiScripts = pkgs.runCommand "mediawiki-${config.id}-scripts" {
+ buildInputs = [ pkgs.makeWrapper ];
+ preferLocalBuild = true;
+ } ''
mkdir -p $out/bin
for i in changePassword.php createAndPromote.php userOptions.php edit.php nukePage.php update.php; do
makeWrapper ${php}/bin/php $out/bin/mediawiki-${config.id}-$(basename $i .php) \
diff --git a/nixos/modules/services/web-servers/nginx/default.nix b/nixos/modules/services/web-servers/nginx/default.nix
index 6c733f093ba..89dc8b3795e 100644
--- a/nixos/modules/services/web-servers/nginx/default.nix
+++ b/nixos/modules/services/web-servers/nginx/default.nix
@@ -44,7 +44,25 @@ let
}
''));
- configFile = pkgs.writeText "nginx.conf" ''
+ awkFormat = pkgs.writeText "awkFormat-nginx.awk" ''
+ awk -f
+ {sub(/^[ \t]+/,"");idx=0}
+ /\{/{ctx++;idx=1}
+ /\}/{ctx--}
+ {id="";for(i=idx;i $out/nginx.conf
+ '';
+ };
+
+ pre-configFile = pkgs.writeText "pre-nginx.conf" ''
user ${cfg.user} ${cfg.group};
error_log ${cfg.logError};
daemon off;
@@ -638,10 +656,10 @@ in
preStart =
''
${cfg.preStart}
- ${cfg.package}/bin/nginx -c ${configFile} -p ${cfg.stateDir} -t
+ ${cfg.package}/bin/nginx -c ${configFile}/nginx.conf -p ${cfg.stateDir} -t
'';
serviceConfig = {
- ExecStart = "${cfg.package}/bin/nginx -c ${configFile} -p ${cfg.stateDir}";
+ ExecStart = "${cfg.package}/bin/nginx -c ${configFile}/nginx.conf -p ${cfg.stateDir}";
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
Restart = "always";
RestartSec = "10s";
diff --git a/nixos/modules/services/web-servers/phpfpm/default.nix b/nixos/modules/services/web-servers/phpfpm/default.nix
index 97c730061bd..ffafbc5e92f 100644
--- a/nixos/modules/services/web-servers/phpfpm/default.nix
+++ b/nixos/modules/services/web-servers/phpfpm/default.nix
@@ -39,6 +39,7 @@ let
phpIni = pool: pkgs.runCommand "php.ini" {
inherit (pool) phpPackage phpOptions;
+ preferLocalBuild = true;
nixDefaults = ''
sendmail_path = "/run/wrappers/bin/sendmail -t -i"
'';
diff --git a/nixos/modules/services/web-servers/traefik.nix b/nixos/modules/services/web-servers/traefik.nix
index 700202b1d28..4674ed0177e 100644
--- a/nixos/modules/services/web-servers/traefik.nix
+++ b/nixos/modules/services/web-servers/traefik.nix
@@ -8,6 +8,7 @@ let
if cfg.configFile == null then
pkgs.runCommand "config.toml" {
buildInputs = [ pkgs.remarshal ];
+ preferLocalBuild = true;
} ''
remarshal -if json -of toml \
< ${pkgs.writeText "config.json" (builtins.toJSON cfg.configOptions)} \
diff --git a/nixos/modules/services/x11/desktop-managers/gnome3.nix b/nixos/modules/services/x11/desktop-managers/gnome3.nix
index 31ff60019ae..6255dce8276 100644
--- a/nixos/modules/services/x11/desktop-managers/gnome3.nix
+++ b/nixos/modules/services/x11/desktop-managers/gnome3.nix
@@ -15,7 +15,7 @@ let
'';
};
- nixos-gsettings-desktop-schemas = pkgs.runCommand "nixos-gsettings-desktop-schemas" {}
+ nixos-gsettings-desktop-schemas = pkgs.runCommand "nixos-gsettings-desktop-schemas" { preferLocalBuild = true; }
''
mkdir -p $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas
cp -rf ${pkgs.gnome3.gsettings-desktop-schemas}/share/gsettings-schemas/gsettings-desktop-schemas*/glib-2.0/schemas/*.xml $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas
diff --git a/nixos/modules/services/x11/display-managers/lightdm-greeters/enso-os.nix b/nixos/modules/services/x11/display-managers/lightdm-greeters/enso-os.nix
index 7c794b1ba17..de128809ce3 100644
--- a/nixos/modules/services/x11/display-managers/lightdm-greeters/enso-os.nix
+++ b/nixos/modules/services/x11/display-managers/lightdm-greeters/enso-os.nix
@@ -12,9 +12,10 @@ let
# We need a few things in the environment for the greeter to run with
# fonts/icons.
- wrappedEnsoGreeter = pkgs.runCommand "lightdm-enso-os-greeter"
- { buildInputs = [ pkgs.makeWrapper ]; }
- ''
+ wrappedEnsoGreeter = pkgs.runCommand "lightdm-enso-os-greeter" {
+ buildInputs = [ pkgs.makeWrapper ];
+ preferLocalBuild = true;
+ } ''
# This wrapper ensures that we actually get themes
makeWrapper ${pkgs.lightdm-enso-os-greeter}/bin/pantheon-greeter \
$out/greeter \
diff --git a/nixos/modules/services/x11/display-managers/lightdm-greeters/gtk.nix b/nixos/modules/services/x11/display-managers/lightdm-greeters/gtk.nix
index 76fb0e619d7..5b280b02423 100644
--- a/nixos/modules/services/x11/display-managers/lightdm-greeters/gtk.nix
+++ b/nixos/modules/services/x11/display-managers/lightdm-greeters/gtk.nix
@@ -18,9 +18,10 @@ let
# The default greeter provided with this expression is the GTK greeter.
# Again, we need a few things in the environment for the greeter to run with
# fonts/icons.
- wrappedGtkGreeter = pkgs.runCommand "lightdm-gtk-greeter"
- { buildInputs = [ pkgs.makeWrapper ]; }
- ''
+ wrappedGtkGreeter = pkgs.runCommand "lightdm-gtk-greeter" {
+ buildInputs = [ pkgs.makeWrapper ];
+ preferLocalBuild = true;
+ } ''
# This wrapper ensures that we actually get themes
makeWrapper ${pkgs.lightdm_gtk_greeter}/sbin/lightdm-gtk-greeter \
$out/greeter \
diff --git a/nixos/modules/services/x11/display-managers/slim.nix b/nixos/modules/services/x11/display-managers/slim.nix
index 4e411c8ceb0..124660a43f0 100644
--- a/nixos/modules/services/x11/display-managers/slim.nix
+++ b/nixos/modules/services/x11/display-managers/slim.nix
@@ -28,7 +28,7 @@ let
# Unpack the SLiM theme, or use the default.
slimThemesDir =
let
- unpackedTheme = pkgs.runCommand "slim-theme" {}
+ unpackedTheme = pkgs.runCommand "slim-theme" { preferLocalBuild = true; }
''
mkdir -p $out
cd $out
diff --git a/nixos/modules/services/x11/gdk-pixbuf.nix b/nixos/modules/services/x11/gdk-pixbuf.nix
index 58faa8e2f9d..2dc8eabd95a 100644
--- a/nixos/modules/services/x11/gdk-pixbuf.nix
+++ b/nixos/modules/services/x11/gdk-pixbuf.nix
@@ -10,7 +10,7 @@ let
# Generate the cache file by running gdk-pixbuf-query-loaders for each
# package and concatenating the results.
- loadersCache = pkgs.runCommand "gdk-pixbuf-loaders.cache" {} ''
+ loadersCache = pkgs.runCommand "gdk-pixbuf-loaders.cache" { preferLocalBuild = true; } ''
(
for package in ${concatStringsSep " " effectivePackages}; do
module_dir="$package/${pkgs.gdk_pixbuf.moduleDir}"
diff --git a/nixos/modules/services/x11/xserver.nix b/nixos/modules/services/x11/xserver.nix
index 34ae8c11a3f..d84ab3ced6f 100644
--- a/nixos/modules/services/x11/xserver.nix
+++ b/nixos/modules/services/x11/xserver.nix
@@ -113,6 +113,7 @@ let
{ xfs = optionalString (cfg.useXFS != false)
''FontPath "${toString cfg.useXFS}"'';
inherit (cfg) config;
+ preferLocalBuild = true;
}
''
echo 'Section "Files"' >> $out
@@ -240,7 +241,7 @@ in
videoDrivers = mkOption {
type = types.listOf types.str;
# !!! We'd like "nv" here, but it segfaults the X server.
- default = [ "ati" "cirrus" "intel" "vesa" "vmware" "modesetting" ];
+ default = [ "ati" "cirrus" "vesa" "vmware" "modesetting" ];
example = [
"ati_unfree" "amdgpu" "amdgpu-pro"
"nv" "nvidia" "nvidiaLegacy340" "nvidiaLegacy304"
@@ -705,6 +706,7 @@ in
system.extraDependencies = singleton (pkgs.runCommand "xkb-validated" {
inherit (cfg) xkbModel layout xkbVariant xkbOptions;
nativeBuildInputs = [ pkgs.xkbvalidate ];
+ preferLocalBuild = true;
} ''
validate "$xkbModel" "$layout" "$xkbVariant" "$xkbOptions"
touch "$out"
diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix
index 5e27b24ac44..9984a97bbdd 100644
--- a/nixos/modules/system/boot/stage-1.nix
+++ b/nixos/modules/system/boot/stage-1.nix
@@ -196,9 +196,10 @@ let
''; # */
- udevRules = pkgs.runCommand "udev-rules"
- { allowedReferences = [ extraUtils ]; }
- ''
+ udevRules = pkgs.runCommand "udev-rules" {
+ allowedReferences = [ extraUtils ];
+ preferLocalBuild = true;
+ } ''
mkdir -p $out
echo 'ENV{LD_LIBRARY_PATH}="${extraUtils}/lib"' > $out/00-env.rules
@@ -298,9 +299,10 @@ let
{ object = pkgs.writeText "mdadm.conf" config.boot.initrd.mdadmConf;
symlink = "/etc/mdadm.conf";
}
- { object = pkgs.runCommand "initrd-kmod-blacklist-ubuntu"
- { src = "${pkgs.kmod-blacklist-ubuntu}/modprobe.conf"; }
- ''
+ { object = pkgs.runCommand "initrd-kmod-blacklist-ubuntu" {
+ src = "${pkgs.kmod-blacklist-ubuntu}/modprobe.conf";
+ preferLocalBuild = true;
+ } ''
target=$out
${pkgs.buildPackages.perl}/bin/perl -0pe 's/## file: iwlwifi.conf(.+?)##/##/s;' $src > $out
'';
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index 9fdef0251d7..18ee2ef1b8f 100644
--- a/nixos/modules/system/boot/systemd.nix
+++ b/nixos/modules/system/boot/systemd.nix
@@ -593,7 +593,7 @@ in
services.journald.forwardToSyslog = mkOption {
default = config.services.rsyslogd.enable || config.services.syslog-ng.enable;
- defaultText = "config.services.rsyslogd.enable || config.services.syslog-ng.enable";
+ defaultText = "services.rsyslogd.enable || services.syslog-ng.enable";
type = types.bool;
description = ''
Whether to forward log messages to syslog.
@@ -652,6 +652,7 @@ in
services.logind.lidSwitchExternalPower = mkOption {
default = config.services.logind.lidSwitch;
+ defaultText = "services.logind.lidSwitch";
example = "ignore";
type = logindHandlerType;
@@ -759,7 +760,10 @@ in
environment.etc = let
# generate contents for /etc/systemd/system-generators from
# systemd.generators and systemd.generator-packages
- generators = pkgs.runCommand "system-generators" { packages = cfg.generator-packages; } ''
+ generators = pkgs.runCommand "system-generators" {
+ preferLocalBuild = true;
+ packages = cfg.generator-packages;
+ } ''
mkdir -p $out
for package in $packages
do
diff --git a/nixos/modules/system/etc/make-etc.sh b/nixos/modules/system/etc/make-etc.sh
index 1ca4c3046f0..9c0520e92fc 100644
--- a/nixos/modules/system/etc/make-etc.sh
+++ b/nixos/modules/system/etc/make-etc.sh
@@ -10,6 +10,11 @@ users_=($users)
groups_=($groups)
set +f
+# Create relative symlinks, so that the links can be followed if
+# the NixOS installation is not mounted as filesystem root.
+# Absolute symlinks violate the os-release format
+# at https://www.freedesktop.org/software/systemd/man/os-release.html
+# and break e.g. systemd-nspawn and os-prober.
for ((i = 0; i < ${#targets_[@]}; i++)); do
source="${sources_[$i]}"
target="${targets_[$i]}"
@@ -19,14 +24,14 @@ for ((i = 0; i < ${#targets_[@]}; i++)); do
# If the source name contains '*', perform globbing.
mkdir -p $out/etc/$target
for fn in $source; do
- ln -s "$fn" $out/etc/$target/
+ ln -s --relative "$fn" $out/etc/$target/
done
else
-
+
mkdir -p $out/etc/$(dirname $target)
if ! [ -e $out/etc/$target ]; then
- ln -s $source $out/etc/$target
+ ln -s --relative $source $out/etc/$target
else
echo "duplicate entry $target -> $source"
if test "$(readlink $out/etc/$target)" != "$source"; then
@@ -34,13 +39,13 @@ for ((i = 0; i < ${#targets_[@]}; i++)); do
exit 1
fi
fi
-
+
if test "${modes_[$i]}" != symlink; then
echo "${modes_[$i]}" > $out/etc/$target.mode
echo "${users_[$i]}" > $out/etc/$target.uid
echo "${groups_[$i]}" > $out/etc/$target.gid
fi
-
+
fi
done
diff --git a/nixos/modules/system/etc/setup-etc.pl b/nixos/modules/system/etc/setup-etc.pl
index eed20065087..82ef49a2a27 100644
--- a/nixos/modules/system/etc/setup-etc.pl
+++ b/nixos/modules/system/etc/setup-etc.pl
@@ -4,6 +4,7 @@ use File::Copy;
use File::Path;
use File::Basename;
use File::Slurp;
+use File::Spec;
my $etc = $ARGV[0] or die;
my $static = "/etc/static";
@@ -17,6 +18,20 @@ sub atomicSymlink {
return 1;
}
+# Create relative symlinks, so that the links can be followed if
+# the NixOS installation is not mounted as filesystem root.
+# Absolute symlinks violate the os-release format
+# at https://www.freedesktop.org/software/systemd/man/os-release.html
+# and break e.g. systemd-nspawn and os-prober.
+sub atomicRelativeSymlink {
+ my ($source, $target) = @_;
+ my $tmp = "$target.tmp";
+ unlink $tmp;
+ my $rel = File::Spec->abs2rel($source, dirname $target);
+ symlink $rel, $tmp or return 0;
+ rename $tmp, $target or return 0;
+ return 1;
+}
# Atomically update /etc/static to point at the etc files of the
# current configuration.
@@ -103,7 +118,7 @@ sub link {
if (-e "$_.mode") {
my $mode = read_file("$_.mode"); chomp $mode;
if ($mode eq "direct-symlink") {
- atomicSymlink readlink("$static/$fn"), $target or warn;
+ atomicRelativeSymlink readlink("$static/$fn"), $target or warn;
} else {
my $uid = read_file("$_.uid"); chomp $uid;
my $gid = read_file("$_.gid"); chomp $gid;
@@ -117,7 +132,7 @@ sub link {
push @copied, $fn;
print CLEAN "$fn\n";
} elsif (-l "$_") {
- atomicSymlink "$static/$fn", $target or warn;
+ atomicRelativeSymlink "$static/$fn", $target or warn;
}
}
diff --git a/nixos/modules/tasks/filesystems/vboxsf.nix b/nixos/modules/tasks/filesystems/vboxsf.nix
index 87f1984f084..5497194f6a8 100644
--- a/nixos/modules/tasks/filesystems/vboxsf.nix
+++ b/nixos/modules/tasks/filesystems/vboxsf.nix
@@ -6,7 +6,7 @@ let
inInitrd = any (fs: fs == "vboxsf") config.boot.initrd.supportedFilesystems;
- package = pkgs.runCommand "mount.vboxsf" {} ''
+ package = pkgs.runCommand "mount.vboxsf" { preferLocalBuild = true; } ''
mkdir -p $out/bin
cp ${pkgs.linuxPackages.virtualboxGuestAdditions}/bin/mount.vboxsf $out/bin
'';
diff --git a/nixos/modules/tasks/kbd.nix b/nixos/modules/tasks/kbd.nix
index fbe42b8e8f0..6d34f897d18 100644
--- a/nixos/modules/tasks/kbd.nix
+++ b/nixos/modules/tasks/kbd.nix
@@ -15,6 +15,7 @@ let
optimizedKeymap = pkgs.runCommand "keymap" {
nativeBuildInputs = [ pkgs.buildPackages.kbd ];
LOADKEYS_KEYMAP_PATH = "${kbdEnv}/share/keymaps/**";
+ preferLocalBuild = true;
} ''
loadkeys -b ${optionalString isUnicode "-u"} "${config.i18n.consoleKeyMap}" > $out
'';
diff --git a/nixos/modules/tasks/network-interfaces.nix b/nixos/modules/tasks/network-interfaces.nix
index 815523093dd..f9b0eb330bf 100644
--- a/nixos/modules/tasks/network-interfaces.nix
+++ b/nixos/modules/tasks/network-interfaces.nix
@@ -995,7 +995,7 @@ in
'';
environment.etc."hostid" = mkIf (cfg.hostId != null)
- { source = pkgs.runCommand "gen-hostid" {} ''
+ { source = pkgs.runCommand "gen-hostid" { preferLocalBuild = true; } ''
hi="${cfg.hostId}"
${if pkgs.stdenv.isBigEndian then ''
echo -ne "\x''${hi:0:2}\x''${hi:2:2}\x''${hi:4:2}\x''${hi:6:2}" > $out
diff --git a/nixos/modules/virtualisation/cloudstack-config.nix b/nixos/modules/virtualisation/cloudstack-config.nix
new file mode 100644
index 00000000000..81c54567627
--- /dev/null
+++ b/nixos/modules/virtualisation/cloudstack-config.nix
@@ -0,0 +1,40 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+{
+ imports = [
+ ../profiles/qemu-guest.nix
+ ];
+
+ config = {
+ fileSystems."/" = {
+ device = "/dev/disk/by-label/nixos";
+ autoResize = true;
+ };
+
+ boot.growPartition = true;
+ boot.kernelParams = [ "console=tty0" ];
+ boot.loader.grub.device = "/dev/vda";
+ boot.loader.timeout = 0;
+
+ # Allow root logins
+ services.openssh = {
+ enable = true;
+ permitRootLogin = "prohibit-password";
+ };
+
+ # Cloud-init configuration.
+ services.cloud-init.enable = true;
+ # Wget is needed for setting password. This is of little use as
+ # root password login is disabled above.
+ environment.systemPackages = [ pkgs.wget ];
+ # Only enable CloudStack datasource for faster boot speed.
+ environment.etc."cloud/cloud.cfg.d/99_cloudstack.cfg".text = ''
+ datasource:
+ CloudStack: {}
+ None: {}
+ datasource_list: ["CloudStack"]
+ '';
+ };
+}
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix
index 3d8fea95a50..65227857a38 100644
--- a/nixos/tests/all-tests.nix
+++ b/nixos/tests/all-tests.nix
@@ -25,6 +25,7 @@ in
atd = handleTest ./atd.nix {};
avahi = handleTest ./avahi.nix {};
bcachefs = handleTestOn ["x86_64-linux"] ./bcachefs.nix {}; # linux-4.18.2018.10.12 is unsupported on aarch64
+ beanstalkd = handleTest ./beanstalkd.nix {};
beegfs = handleTestOn ["x86_64-linux"] ./beegfs.nix {}; # beegfs is unsupported on aarch64
bind = handleTest ./bind.nix {};
bittorrent = handleTest ./bittorrent.nix {};
diff --git a/nixos/tests/avahi.nix b/nixos/tests/avahi.nix
index dfb60998941..56b21a40155 100644
--- a/nixos/tests/avahi.nix
+++ b/nixos/tests/avahi.nix
@@ -2,7 +2,7 @@
import ./make-test.nix ({ pkgs, ... } : {
name = "avahi";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ eelco chaoflow ];
+ maintainers = [ eelco ];
};
nodes = let
diff --git a/nixos/tests/beanstalkd.nix b/nixos/tests/beanstalkd.nix
new file mode 100644
index 00000000000..fa2fbc2c92a
--- /dev/null
+++ b/nixos/tests/beanstalkd.nix
@@ -0,0 +1,45 @@
+import ./make-test.nix ({ pkgs, lib, ... }:
+
+let
+ pythonEnv = pkgs.python3.withPackages (p: [p.beanstalkc]);
+
+ produce = pkgs.writeScript "produce.py" ''
+ #!${pythonEnv.interpreter}
+ import beanstalkc
+
+ queue = beanstalkc.Connection(host='localhost', port=11300, parse_yaml=False);
+ queue.put(b'this is a job')
+ queue.put(b'this is another job')
+ '';
+
+ consume = pkgs.writeScript "consume.py" ''
+ #!${pythonEnv.interpreter}
+ import beanstalkc
+
+ queue = beanstalkc.Connection(host='localhost', port=11300, parse_yaml=False);
+
+ job = queue.reserve(timeout=0)
+ print(job.body.decode('utf-8'))
+ job.delete()
+ '';
+
+in
+{
+ name = "beanstalkd";
+ meta.maintainers = [ lib.maintainers.aanderse ];
+
+ machine =
+ { ... }:
+ { services.beanstalkd.enable = true;
+ };
+
+ testScript = ''
+ startAll;
+
+ $machine->waitForUnit('beanstalkd.service');
+
+ $machine->succeed("${produce}");
+ $machine->succeed("${consume}") eq "this is a job\n" or die;
+ $machine->succeed("${consume}") eq "this is another job\n" or die;
+ '';
+})
diff --git a/nixos/tests/bittorrent.nix b/nixos/tests/bittorrent.nix
index 27871f72b4e..3b1169a1b7f 100644
--- a/nixos/tests/bittorrent.nix
+++ b/nixos/tests/bittorrent.nix
@@ -23,7 +23,7 @@ in
{
name = "bittorrent";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ domenkozar eelco chaoflow rob bobvanderlinden ];
+ maintainers = [ domenkozar eelco rob bobvanderlinden ];
};
nodes =
diff --git a/nixos/tests/containers-bridge.nix b/nixos/tests/containers-bridge.nix
index 0eae51433d2..38db64eb793 100644
--- a/nixos/tests/containers-bridge.nix
+++ b/nixos/tests/containers-bridge.nix
@@ -10,7 +10,7 @@ in
import ./make-test.nix ({ pkgs, ...} : {
name = "containers-bridge";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ aristid aszlig eelco chaoflow kampfschlaefer ];
+ maintainers = [ aristid aszlig eelco kampfschlaefer ];
};
machine =
diff --git a/nixos/tests/containers-imperative.nix b/nixos/tests/containers-imperative.nix
index 782095a09da..0c101037aa7 100644
--- a/nixos/tests/containers-imperative.nix
+++ b/nixos/tests/containers-imperative.nix
@@ -3,7 +3,7 @@
import ./make-test.nix ({ pkgs, ...} : {
name = "containers-imperative";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ aristid aszlig eelco chaoflow kampfschlaefer ];
+ maintainers = [ aristid aszlig eelco kampfschlaefer ];
};
machine =
diff --git a/nixos/tests/containers-ipv4.nix b/nixos/tests/containers-ipv4.nix
index 5f83a33b107..ace68ff2df8 100644
--- a/nixos/tests/containers-ipv4.nix
+++ b/nixos/tests/containers-ipv4.nix
@@ -3,7 +3,7 @@
import ./make-test.nix ({ pkgs, ...} : {
name = "containers-ipv4";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ aristid aszlig eelco chaoflow kampfschlaefer ];
+ maintainers = [ aristid aszlig eelco kampfschlaefer ];
};
machine =
diff --git a/nixos/tests/containers-ipv6.nix b/nixos/tests/containers-ipv6.nix
index 5866e51b731..a9499d192bd 100644
--- a/nixos/tests/containers-ipv6.nix
+++ b/nixos/tests/containers-ipv6.nix
@@ -8,7 +8,7 @@ in
import ./make-test.nix ({ pkgs, ...} : {
name = "containers-ipv6";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ aristid aszlig eelco chaoflow kampfschlaefer ];
+ maintainers = [ aristid aszlig eelco kampfschlaefer ];
};
machine =
diff --git a/nixos/tests/containers-portforward.nix b/nixos/tests/containers-portforward.nix
index d2dda926fc0..ec8e9629c21 100644
--- a/nixos/tests/containers-portforward.nix
+++ b/nixos/tests/containers-portforward.nix
@@ -10,7 +10,7 @@ in
import ./make-test.nix ({ pkgs, ...} : {
name = "containers-portforward";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ aristid aszlig eelco chaoflow kampfschlaefer ianwookim ];
+ maintainers = [ aristid aszlig eelco kampfschlaefer ianwookim ];
};
machine =
diff --git a/nixos/tests/elk.nix b/nixos/tests/elk.nix
index d787ac97300..e7ae023f3ff 100644
--- a/nixos/tests/elk.nix
+++ b/nixos/tests/elk.nix
@@ -13,7 +13,7 @@ let
mkElkTest = name : elk : makeTest {
inherit name;
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ eelco chaoflow offline basvandijk ];
+ maintainers = [ eelco offline basvandijk ];
};
nodes = {
one =
diff --git a/nixos/tests/firefox.nix b/nixos/tests/firefox.nix
index 58a80243ea9..f5b946a0881 100644
--- a/nixos/tests/firefox.nix
+++ b/nixos/tests/firefox.nix
@@ -1,7 +1,7 @@
import ./make-test.nix ({ pkgs, ... }: {
name = "firefox";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ eelco chaoflow shlevy ];
+ maintainers = [ eelco shlevy ];
};
machine =
diff --git a/nixos/tests/firewall.nix b/nixos/tests/firewall.nix
index 7207a880d8e..fcf758910e0 100644
--- a/nixos/tests/firewall.nix
+++ b/nixos/tests/firewall.nix
@@ -3,7 +3,7 @@
import ./make-test.nix ( { pkgs, ... } : {
name = "firewall";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ eelco chaoflow ];
+ maintainers = [ eelco ];
};
nodes =
diff --git a/nixos/tests/gnome3.nix b/nixos/tests/gnome3.nix
index 95694ea4828..b58c9e5a0e3 100644
--- a/nixos/tests/gnome3.nix
+++ b/nixos/tests/gnome3.nix
@@ -1,7 +1,7 @@
import ./make-test.nix ({ pkgs, ...} : {
name = "gnome3";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ domenkozar eelco chaoflow lethalman ];
+ maintainers = [ domenkozar eelco lethalman ];
};
machine =
diff --git a/nixos/tests/home-assistant.nix b/nixos/tests/home-assistant.nix
index a93360b252f..8def0a6f9b9 100644
--- a/nixos/tests/home-assistant.nix
+++ b/nixos/tests/home-assistant.nix
@@ -87,8 +87,8 @@ in {
$hass->succeed("curl http://localhost:8123/api/states/binary_sensor.mqtt_binary_sensor -H 'x-ha-access: ${apiPassword}' | grep -qF '\"state\": \"on\"'");
# Toggle a binary sensor using hass-cli
- $hass->succeed("${hassCli} --output json entity get binary_sensor.mqtt_binary_sensor | grep -qF '\"state\": \"on\"'");
- $hass->succeed("${hassCli} entity edit binary_sensor.mqtt_binary_sensor --json='{\"state\": \"off\"}'");
+ $hass->succeed("${hassCli} --output json state get binary_sensor.mqtt_binary_sensor | grep -qF '\"state\": \"on\"'");
+ $hass->succeed("${hassCli} state edit binary_sensor.mqtt_binary_sensor --json='{\"state\": \"off\"}'");
$hass->succeed("curl http://localhost:8123/api/states/binary_sensor.mqtt_binary_sensor -H 'x-ha-access: ${apiPassword}' | grep -qF '\"state\": \"off\"'");
# Print log to ease debugging
diff --git a/nixos/tests/influxdb.nix b/nixos/tests/influxdb.nix
index 440049d9511..61201202204 100644
--- a/nixos/tests/influxdb.nix
+++ b/nixos/tests/influxdb.nix
@@ -3,7 +3,7 @@
import ./make-test.nix ({ pkgs, ...} : {
name = "influxdb";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ chaoflow offline ];
+ maintainers = [ offline ];
};
nodes = {
diff --git a/nixos/tests/ipv6.nix b/nixos/tests/ipv6.nix
index 97f348a9bee..14f24c29cfe 100644
--- a/nixos/tests/ipv6.nix
+++ b/nixos/tests/ipv6.nix
@@ -4,7 +4,7 @@
import ./make-test.nix ({ pkgs, ...} : {
name = "ipv6";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ eelco chaoflow ];
+ maintainers = [ eelco ];
};
nodes =
diff --git a/nixos/tests/jenkins.nix b/nixos/tests/jenkins.nix
index 4f2d2085cd1..a6eec411ff2 100644
--- a/nixos/tests/jenkins.nix
+++ b/nixos/tests/jenkins.nix
@@ -6,7 +6,7 @@
import ./make-test.nix ({ pkgs, ...} : {
name = "jenkins";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ bjornfor coconnor domenkozar eelco chaoflow ];
+ maintainers = [ bjornfor coconnor domenkozar eelco ];
};
nodes = {
diff --git a/nixos/tests/kexec.nix b/nixos/tests/kexec.nix
index db596189d46..b13b4131091 100644
--- a/nixos/tests/kexec.nix
+++ b/nixos/tests/kexec.nix
@@ -3,7 +3,7 @@
import ./make-test.nix ({ pkgs, ...} : {
name = "kexec";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ eelco chaoflow ];
+ maintainers = [ eelco ];
};
machine = { ... }:
diff --git a/nixos/tests/login.nix b/nixos/tests/login.nix
index 3dbb494b689..9844ad492e8 100644
--- a/nixos/tests/login.nix
+++ b/nixos/tests/login.nix
@@ -3,7 +3,7 @@ import ./make-test.nix ({ pkgs, latestKernel ? false, ... }:
{
name = "login";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ eelco chaoflow ];
+ maintainers = [ eelco ];
};
machine =
diff --git a/nixos/tests/misc.nix b/nixos/tests/misc.nix
index 3ad55651b11..ca28bc31cf1 100644
--- a/nixos/tests/misc.nix
+++ b/nixos/tests/misc.nix
@@ -3,7 +3,7 @@
import ./make-test.nix ({ pkgs, ...} : rec {
name = "misc";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ eelco chaoflow ];
+ maintainers = [ eelco ];
};
foo = pkgs.writeText "foo" "Hello World";
diff --git a/nixos/tests/mumble.nix b/nixos/tests/mumble.nix
index 8146453bfd5..dadd16fd9a0 100644
--- a/nixos/tests/mumble.nix
+++ b/nixos/tests/mumble.nix
@@ -9,7 +9,7 @@ in
{
name = "mumble";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ thoughtpolice eelco chaoflow ];
+ maintainers = [ thoughtpolice eelco ];
};
nodes = {
diff --git a/nixos/tests/munin.nix b/nixos/tests/munin.nix
index 95cecf17b8c..31374aaf77e 100644
--- a/nixos/tests/munin.nix
+++ b/nixos/tests/munin.nix
@@ -4,7 +4,7 @@
import ./make-test.nix ({ pkgs, ...} : {
name = "munin";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ domenkozar eelco chaoflow ];
+ maintainers = [ domenkozar eelco ];
};
nodes = {
diff --git a/nixos/tests/mysql-replication.nix b/nixos/tests/mysql-replication.nix
index 84d70cf3524..c75a862106f 100644
--- a/nixos/tests/mysql-replication.nix
+++ b/nixos/tests/mysql-replication.nix
@@ -8,7 +8,7 @@ in
{
name = "mysql-replication";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ eelco chaoflow shlevy ];
+ maintainers = [ eelco shlevy ];
};
nodes = {
diff --git a/nixos/tests/mysql.nix b/nixos/tests/mysql.nix
index 7251c4a8649..1a611779366 100644
--- a/nixos/tests/mysql.nix
+++ b/nixos/tests/mysql.nix
@@ -1,7 +1,7 @@
import ./make-test.nix ({ pkgs, ...} : {
name = "mysql";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ eelco chaoflow shlevy ];
+ maintainers = [ eelco shlevy ];
};
nodes = {
diff --git a/nixos/tests/nat.nix b/nixos/tests/nat.nix
index 34229e91311..51d9cf166bb 100644
--- a/nixos/tests/nat.nix
+++ b/nixos/tests/nat.nix
@@ -24,7 +24,7 @@ import ./make-test.nix ({ pkgs, lib, withFirewall, withConntrackHelpers ? false,
name = "nat" + (if withFirewall then "WithFirewall" else "Standalone")
+ (lib.optionalString withConntrackHelpers "withConntrackHelpers");
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ eelco chaoflow rob ];
+ maintainers = [ eelco rob ];
};
nodes =
diff --git a/nixos/tests/nfs.nix b/nixos/tests/nfs.nix
index ce171701893..2f655336e75 100644
--- a/nixos/tests/nfs.nix
+++ b/nixos/tests/nfs.nix
@@ -20,7 +20,7 @@ in
{
name = "nfs";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ eelco chaoflow ];
+ maintainers = [ eelco ];
};
nodes =
diff --git a/nixos/tests/openssh.nix b/nixos/tests/openssh.nix
index c66b90b802d..219a20c5c7e 100644
--- a/nixos/tests/openssh.nix
+++ b/nixos/tests/openssh.nix
@@ -5,7 +5,7 @@ let inherit (import ./ssh-keys.nix pkgs)
in {
name = "openssh";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ aszlig eelco chaoflow ];
+ maintainers = [ aszlig eelco ];
};
nodes = {
diff --git a/nixos/tests/phabricator.nix b/nixos/tests/phabricator.nix
index 20b3b838aba..db23331842c 100644
--- a/nixos/tests/phabricator.nix
+++ b/nixos/tests/phabricator.nix
@@ -1,7 +1,7 @@
import ./make-test.nix ({ pkgs, ... }: {
name = "phabricator";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ chaoflow ];
+ maintainers = [ ];
};
nodes = {
diff --git a/nixos/tests/printing.nix b/nixos/tests/printing.nix
index 7026637ead1..caa8131a4b4 100644
--- a/nixos/tests/printing.nix
+++ b/nixos/tests/printing.nix
@@ -3,7 +3,7 @@
import ./make-test.nix ({pkgs, ... }: {
name = "printing";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ domenkozar eelco chaoflow jgeerds ];
+ maintainers = [ domenkozar eelco jgeerds ];
};
nodes = {
diff --git a/nixos/tests/proxy.nix b/nixos/tests/proxy.nix
index 18195312028..1f39e903cdd 100644
--- a/nixos/tests/proxy.nix
+++ b/nixos/tests/proxy.nix
@@ -16,7 +16,7 @@ in
{
name = "proxy";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ eelco chaoflow ];
+ maintainers = [ eelco ];
};
nodes =
diff --git a/nixos/tests/quake3.nix b/nixos/tests/quake3.nix
index 75c82cca63f..fbb798515e1 100644
--- a/nixos/tests/quake3.nix
+++ b/nixos/tests/quake3.nix
@@ -22,7 +22,7 @@ in
rec {
name = "quake3";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ domenkozar eelco chaoflow ];
+ maintainers = [ domenkozar eelco ];
};
# TODO: lcov doesn't work atm
diff --git a/nixos/tests/rabbitmq.nix b/nixos/tests/rabbitmq.nix
index 34ab0578786..bb5932c3641 100644
--- a/nixos/tests/rabbitmq.nix
+++ b/nixos/tests/rabbitmq.nix
@@ -3,7 +3,7 @@
import ./make-test.nix ({ pkgs, ... }: {
name = "rabbitmq";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ eelco chaoflow offline ];
+ maintainers = [ eelco offline ];
};
nodes = {
diff --git a/nixos/tests/subversion.nix b/nixos/tests/subversion.nix
index 6175155cdfc..e7b99b10602 100644
--- a/nixos/tests/subversion.nix
+++ b/nixos/tests/subversion.nix
@@ -34,7 +34,7 @@ in
{
name = "subversion";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ eelco chaoflow ];
+ maintainers = [ eelco ];
};
nodes =
diff --git a/nixos/tests/tomcat.nix b/nixos/tests/tomcat.nix
index af63c7ee8e0..8e7b886dd30 100644
--- a/nixos/tests/tomcat.nix
+++ b/nixos/tests/tomcat.nix
@@ -1,7 +1,7 @@
import ./make-test.nix ({ pkgs, ...} : {
name = "tomcat";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ eelco chaoflow ];
+ maintainers = [ eelco ];
};
nodes = {
diff --git a/nixos/tests/trac.nix b/nixos/tests/trac.nix
index 4599885acde..8ec11ebda2c 100644
--- a/nixos/tests/trac.nix
+++ b/nixos/tests/trac.nix
@@ -1,7 +1,7 @@
import ./make-test.nix ({ pkgs, ... }: {
name = "trac";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ eelco chaoflow ];
+ maintainers = [ eelco ];
};
nodes = {
diff --git a/nixos/tests/udisks2.nix b/nixos/tests/udisks2.nix
index 8bbbe286efc..dcf869908d8 100644
--- a/nixos/tests/udisks2.nix
+++ b/nixos/tests/udisks2.nix
@@ -12,7 +12,7 @@ in
{
name = "udisks2";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ eelco chaoflow ];
+ maintainers = [ eelco ];
};
machine =
diff --git a/nixos/tests/xfce.nix b/nixos/tests/xfce.nix
index 47717e8cf7d..12d8a050d47 100644
--- a/nixos/tests/xfce.nix
+++ b/nixos/tests/xfce.nix
@@ -1,7 +1,7 @@
import ./make-test.nix ({ pkgs, ...} : {
name = "xfce";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ eelco chaoflow shlevy ];
+ maintainers = [ eelco shlevy ];
};
machine =
diff --git a/pkgs/applications/altcoins/nano-wallet/default.nix b/pkgs/applications/altcoins/nano-wallet/default.nix
index 62e72592874..58ab367c020 100644
--- a/pkgs/applications/altcoins/nano-wallet/default.nix
+++ b/pkgs/applications/altcoins/nano-wallet/default.nix
@@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
name = "nano-wallet-${version}";
- version = "16.3";
+ version = "18.0";
src = fetchFromGitHub {
owner = "nanocurrency";
repo = "raiblocks";
rev = "V${version}";
- sha256 = "1rhq7qzfd8li33pmzcjxrhbbgdklxlcijam62s385f8yqjwy80dz";
+ sha256 = "03f9g1x7rs7vic9yzsjxsh5ddx9ys78rssbfghbccfw9qrwylh3y";
fetchSubmodules = true;
};
diff --git a/pkgs/applications/audio/csound/csound-manual/default.nix b/pkgs/applications/audio/csound/csound-manual/default.nix
new file mode 100644
index 00000000000..f82ec7a4ea1
--- /dev/null
+++ b/pkgs/applications/audio/csound/csound-manual/default.nix
@@ -0,0 +1,44 @@
+{
+ stdenv, fetchurl, docbook_xsl,
+ docbook_xml_dtd_45, python, pygments,
+ libxslt
+}:
+
+stdenv.mkDerivation rec {
+ version = "6.12.0";
+ name = "csound-manual-${version}";
+
+ src = fetchurl {
+ url = "https://github.com/csound/manual/archive/${version}.tar.gz";
+ sha256 = "1v1scp468rnfbcajnp020kdj8zigimc2mbcwzxxqi8sf8paccdrp";
+ };
+
+
+ prePatch = ''
+ substituteInPlace manual.xml \
+ --replace "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" \
+ "${docbook_xml_dtd_45}/xml/dtd/docbook/docbookx.dtd"
+ '';
+
+ nativeBuildInputs = [ libxslt.bin ];
+
+ buildInputs = [ docbook_xsl python pygments ];
+
+ buildPhase = ''
+ make XSL_BASE_PATH=${docbook_xsl}/share/xml/docbook-xsl html-dist
+ '';
+
+ installPhase = ''
+ mkdir -p $out/share/doc/csound
+ cp -r ./html $out/share/doc/csound
+ '';
+
+ meta = {
+ description = "The Csound Canonical Reference Manual";
+ homepage = "https://github.com/csound/manual";
+ license = stdenv.lib.licenses.fdl12Plus;
+ maintainers = [ stdenv.lib.maintainers.hlolli ];
+ platforms = stdenv.lib.platforms.all;
+ };
+}
+
diff --git a/pkgs/applications/audio/lollypop/default.nix b/pkgs/applications/audio/lollypop/default.nix
index a285663d8ce..8547b0cc553 100644
--- a/pkgs/applications/audio/lollypop/default.nix
+++ b/pkgs/applications/audio/lollypop/default.nix
@@ -5,7 +5,7 @@
python3.pkgs.buildPythonApplication rec {
pname = "lollypop";
- version = "0.9.915";
+ version = "0.9.921";
format = "other";
doCheck = false;
@@ -14,7 +14,7 @@ python3.pkgs.buildPythonApplication rec {
url = "https://gitlab.gnome.org/World/lollypop";
rev = "refs/tags/${version}";
fetchSubmodules = true;
- sha256 = "133qmqb015ghif4d4zh6sf8585fpfgbq00rv6qdj5xn13wziipwh";
+ sha256 = "0a79qnci93yicd58r6kr6yinpqz67s39h0xk5qkzlsplpbawvf3y";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/audio/squeezelite/default.nix b/pkgs/applications/audio/squeezelite/default.nix
index 20f6271c7ad..3184f89ced9 100644
--- a/pkgs/applications/audio/squeezelite/default.nix
+++ b/pkgs/applications/audio/squeezelite/default.nix
@@ -1,20 +1,26 @@
{ stdenv, fetchFromGitHub, alsaLib, faad2, flac, libmad, libvorbis, mpg123 }:
stdenv.mkDerivation {
- name = "squeezelite-git-2016-05-27";
+ name = "squeezelite-git-2018-08-14";
src = fetchFromGitHub {
- owner = "ralph-irving";
- repo = "squeezelite";
- rev = "e37ed17fed9e11a7346cbe9f1e1deeccc051f42e";
- sha256 = "15ihx2dbp4kr6k6r50g9q5npqad5zyv8nqf5cr37bhg964syvbdm";
+ owner = "ralph-irving";
+ repo = "squeezelite";
+ rev = "ecb6e3696a42113994640e5345d0b5ca2e77d28b";
+ sha256 = "0di3d5qy8fhawijq6bxy524fgffvzl08dprrws0fs2j1a70fs0fh";
};
buildInputs = [ alsaLib faad2 flac libmad libvorbis mpg123 ];
+ enableParallelBuilding = true;
+
installPhase = ''
- mkdir -p $out/bin
- cp squeezelite $out/bin
+ runHook preInstall
+
+ install -Dm755 -t $out/bin squeezelite
+ install -Dm644 -t $out/share/doc/squeezelite *.txt *.md
+
+ runHook postInstall
'';
meta = with stdenv.lib; {
diff --git a/pkgs/applications/editors/android-studio/default.nix b/pkgs/applications/editors/android-studio/default.nix
index cb0aa393380..91abf2128a8 100644
--- a/pkgs/applications/editors/android-studio/default.nix
+++ b/pkgs/applications/editors/android-studio/default.nix
@@ -13,14 +13,14 @@ let
sha256Hash = "0fghqkc8pkb7waxclm0qq4nlnsvmv9d3fcj5nnvgbfkjyw032q42";
};
betaVersion = {
- version = "3.4.0.13"; # "Android Studio 3.4 Beta 4"
- build = "183.5304277";
- sha256Hash = "01x7xba0f5js213wgw0h1vw297vwz5q7dprnilcdydfjxwqsbr8f";
+ version = "3.4.0.14"; # "Android Studio 3.4 Beta 5"
+ build = "183.5310756";
+ sha256Hash = "0np8600qvqpw9kcmgp04i1nak1339ck1iidkzr75kigp5rgdl2bq";
};
latestVersion = { # canary & dev
- version = "3.5.0.3"; # "Android Studio 3.5 Canary 4"
- build = "183.5290690";
- sha256Hash = "0d1cl78b25pksaj0scv3hxb14bjxk3591zbc0v7dykk1gf4pvxd1";
+ version = "3.5.0.4"; # "Android Studio 3.5 Canary 5"
+ build = "183.5320907";
+ sha256Hash = "1i56r58kcwrllx3a85dhsz9m0amb7xj9ybqfkdf1a8ipv1hdqs1g";
};
in rec {
# Old alias (TODO @primeos: Remove after 19.03 is branched off):
diff --git a/pkgs/applications/editors/emacs-modes/calfw/default.nix b/pkgs/applications/editors/emacs-modes/calfw/default.nix
index 091635feda6..b8c61bb97af 100644
--- a/pkgs/applications/editors/emacs-modes/calfw/default.nix
+++ b/pkgs/applications/editors/emacs-modes/calfw/default.nix
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
license = stdenv.lib.licenses.gpl3Plus;
- maintainers = with stdenv.lib.maintainers; [ chaoflow ];
- platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux;
+ maintainers = with stdenv.lib.maintainers; [ ];
+ platforms = stdenv.lib.platforms.unix;
};
}
diff --git a/pkgs/applications/editors/emacs-modes/icicles/default.nix b/pkgs/applications/editors/emacs-modes/icicles/default.nix
index 884d1724ef8..17cf213a799 100644
--- a/pkgs/applications/editors/emacs-modes/icicles/default.nix
+++ b/pkgs/applications/editors/emacs-modes/icicles/default.nix
@@ -2,28 +2,28 @@
let
modules = [
- { name = "icicles.el"; sha256 = "0wxak7wh0rrb3h77ay2vypbb53skcfbrv71xkajhax0w12q6zpaj"; }
- { name = "icicles-chg.el"; sha256 = "0qavq9vy566l3qi9n8akrqjcgy8n6k0j8d7vsc7p1jhqvvq812gh"; }
- { name = "icicles-cmd1.el"; sha256 = "0lgk6ngl9090iqvvw1c227q7p37mr73cc6ap3ky6b0nv3ql8rkyi"; }
- { name = "icicles-cmd2.el"; sha256 = "15swxk7fr7wsqpf26xzbvyk12ikkvfcyh9w8wmnpc38dmpyq79rb"; }
+ { name = "icicles.el"; sha256 = "1744n5g2kmv3r261ipa0fhrgnapl0chxz57bbbls3bp30cnnfrs7"; }
+ { name = "icicles-chg.el"; sha256 = "058sxa8wh3vqr3zy677q6m2lfx4n477rnb8921s1p6wgs55v7dp4"; }
+ { name = "icicles-cmd1.el"; sha256 = "064hyy8nxvlg298s5qnmk7aczbasfpddhx57jxaldyyzkca3n2h5"; }
+ { name = "icicles-cmd2.el"; sha256 = "0a77fx0pxyfrg9nxvqvzz247v6cljjfz9dnfs7lc8qgdvksxs261"; }
{ name = "icicles-doc1.el"; sha256 = "04j5qvj7pqnjh8h2y2sdgi7x55czdp9xn7yysr3bzcmr1rq5p4bz"; }
{ name = "icicles-doc2.el"; sha256 = "1k8vfhi3fa4bzsxr074bw5q6srvq6z6hi61rzlxdw7pah6qf7hcz"; }
{ name = "icicles-face.el"; sha256 = "1pvygqzmh6ag0zhfjn1vhdvlhxybwxzj22ah2pc0ls80dlywhi4l"; }
- { name = "icicles-fn.el"; sha256 = "05v7sc2k2mjm1mbnlkpi01aaxnxnb40540y7g70dg534scjd7w36"; }
- { name = "icicles-mac.el"; sha256 = "0nhbwswz6xz7q4g8flszgx12q4gi4nx1d3n4jgz6svr2kk2vmlb4"; }
- { name = "icicles-mcmd.el"; sha256 = "05dniz6337v9r15w8r2zad0n2h6jlygzjp7vw75vvq8mds0acmia"; }
+ { name = "icicles-fn.el"; sha256 = "02vwa9dx9393d7kxrf443r1lj7y9ihkh25cmd418pwfgmw2yd5s7"; }
+ { name = "icicles-mac.el"; sha256 = "13nxgg9k5w39lga90jwn1c7v756dqlfln2qh312vfaxfjfijfv9r"; }
+ { name = "icicles-mcmd.el"; sha256 = "17d4zlf3r09wmarwyc1cbjv0pyklg4cdhwh3h643d4v8mhs5hnil"; }
{ name = "icicles-mode.el"; sha256 = "1xfv8nryf5y2gygg02naawzm5qhrkba3h84g43518r1xc6rgbpp6"; }
- { name = "icicles-opt.el"; sha256 = "10n4p999ylkapirs75y5fh33lpiyx42i3ajzl2zjfwyr1zksg1iz"; }
- { name = "icicles-var.el"; sha256 = "1r5gb01zg8nf2qryq9saxfpnzlymmppsk7w1g09lac35c87vh8yl"; }
+ { name = "icicles-opt.el"; sha256 = "154mgcd1ksnmlyb4ijy2njqq75i8cj4k47phplxsi648pzqnda77"; }
+ { name = "icicles-var.el"; sha256 = "0f94299q1z0va4v1s5ijpksaqlaz88ay1qbmlzq0i2wnxnsliys8"; }
];
forAll = f: map f modules;
in
stdenv.mkDerivation rec {
- version = "2018-07-02";
+ version = "2019-02-22";
name = "icicles-${version}";
- srcs = forAll ({name, sha256}: fetchurl { url = "http://www.emacswiki.org/emacs/download/${name}"; inherit sha256; });
+ srcs = forAll ({name, sha256}: fetchurl { url = "https://www.emacswiki.org/emacs/download/${name}"; inherit sha256; });
buildInputs = [ emacs ];
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
installPhase = "mkdir -p $out/share/emacs/site-lisp/emacswiki/${name}/; cp *.el *.elc $out/share/emacs/site-lisp/emacswiki/${name}/";
meta = {
- homepage = http://www.emacswiki.org/emacs/Icicles;
+ homepage = https://www.emacswiki.org/emacs/Icicles;
description = "Enhance Emacs minibuffer input with cycling and powerful completion";
license = stdenv.lib.licenses.gpl2Plus;
platforms = emacs.meta.platforms;
diff --git a/pkgs/applications/editors/emacs-modes/melpa-generated.nix b/pkgs/applications/editors/emacs-modes/melpa-generated.nix
index bfc6c26ea09..636e24464f8 100644
--- a/pkgs/applications/editors/emacs-modes/melpa-generated.nix
+++ b/pkgs/applications/editors/emacs-modes/melpa-generated.nix
@@ -60583,7 +60583,7 @@
owner = "immerrr";
repo = "lua-mode";
rev = "99312b8d6c500ba3067da6d81efcfbbea05a1cbd";
- sha256 = "04m9njcpdmar3njjz4x2qq26xk0k6qprcfzx8whlmvapqf8w19iz";
+ sha256 = "1gi8k2yydwm1knq4pgmn6dp92g97av4ncb6acrnz07iba2r34dyn";
};
recipe = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/ca7bf43ef8893bf04e9658390e306ef69e80a156/recipes/lua-mode";
@@ -107584,4 +107584,4 @@
license = lib.licenses.free;
};
}) {};
- }
\ No newline at end of file
+ }
diff --git a/pkgs/applications/editors/emacs-modes/org/default.nix b/pkgs/applications/editors/emacs-modes/org/default.nix
index 99ecddcb264..a8250ead7b4 100644
--- a/pkgs/applications/editors/emacs-modes/org/default.nix
+++ b/pkgs/applications/editors/emacs-modes/org/default.nix
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
license = stdenv.lib.licenses.gpl3Plus;
- maintainers = with stdenv.lib.maintainers; [ chaoflow pSub ];
+ maintainers = with stdenv.lib.maintainers; [ pSub ];
platforms = stdenv.lib.platforms.unix;
};
}
diff --git a/pkgs/applications/editors/emacs/25.nix b/pkgs/applications/editors/emacs/25.nix
index d9f0b211f15..852faeb7918 100644
--- a/pkgs/applications/editors/emacs/25.nix
+++ b/pkgs/applications/editors/emacs/25.nix
@@ -116,7 +116,7 @@ stdenv.mkDerivation rec {
description = "The extensible, customizable GNU text editor";
homepage = https://www.gnu.org/software/emacs/;
license = licenses.gpl3Plus;
- maintainers = with maintainers; [ chaoflow lovek323 peti the-kenny jwiegley ];
+ maintainers = with maintainers; [ lovek323 peti the-kenny jwiegley ];
platforms = platforms.all;
longDescription = ''
diff --git a/pkgs/applications/editors/emacs/default.nix b/pkgs/applications/editors/emacs/default.nix
index 4a48cde571a..6f56ba6cf49 100644
--- a/pkgs/applications/editors/emacs/default.nix
+++ b/pkgs/applications/editors/emacs/default.nix
@@ -133,7 +133,7 @@ stdenv.mkDerivation rec {
description = "The extensible, customizable GNU text editor";
homepage = https://www.gnu.org/software/emacs/;
license = licenses.gpl3Plus;
- maintainers = with maintainers; [ chaoflow lovek323 peti the-kenny jwiegley ];
+ maintainers = with maintainers; [ lovek323 peti the-kenny jwiegley ];
platforms = platforms.all;
longDescription = ''
diff --git a/pkgs/applications/editors/quilter/default.nix b/pkgs/applications/editors/quilter/default.nix
index 9edac16507c..82bcc403164 100644
--- a/pkgs/applications/editors/quilter/default.nix
+++ b/pkgs/applications/editors/quilter/default.nix
@@ -1,39 +1,36 @@
{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, meson, ninja, python3
, gtk3, desktop-file-utils, gtksourceview, webkitgtk, gtkspell3, pantheon
-, gnome3, discount, gobject-introspection, wrapGAppsHook }:
+, libgee, discount, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "quilter";
- version = "1.6.8";
-
- name = "${pname}-${version}";
+ version = "1.7.0";
src = fetchFromGitHub {
owner = "lainsce";
repo = pname;
rev = version;
- sha256 = "07i9pivpddgixn1wzbr15gvzf0n5pklx0gkjjaa35kvj2z8k31x5";
+ sha256 = "0dqji6zwpn0k89mpmh10rq59hzrq8kqr30dz1hp06ygk8rlnv2ys";
};
nativeBuildInputs = [
desktop-file-utils
- gobject-introspection
meson
ninja
+ pantheon.vala
pkgconfig
python3
- pantheon.vala
wrapGAppsHook
];
buildInputs = [
discount
- pantheon.elementary-icon-theme
- pantheon.granite
- gnome3.libgee
gtk3
gtksourceview
gtkspell3
+ libgee
+ pantheon.elementary-icon-theme
+ pantheon.granite
webkitgtk
];
diff --git a/pkgs/applications/editors/standardnotes/default.nix b/pkgs/applications/editors/standardnotes/default.nix
index 0787250fece..5b0560e5831 100644
--- a/pkgs/applications/editors/standardnotes/default.nix
+++ b/pkgs/applications/editors/standardnotes/default.nix
@@ -1,7 +1,7 @@
{ stdenv, appimage-run, fetchurl }:
let
- version = "2.3.12";
+ version = "3.0.6";
plat = {
"i386-linux" = "i386";
@@ -9,8 +9,8 @@ let
}.${stdenv.hostPlatform.system};
sha256 = {
- "i386-linux" = "0q7izk20r14kxn3n4pn92jgnynfnlnylg55brz8n1lqxc0dc3v24";
- "x86_64-linux" = "0myg4qv0vrwh8s9sckb12ld9f86ymx4yypvpy0w5qn1bxk5hbafc";
+ "i386-linux" = "0czhlbacjks9x8y2w46nzlvk595psqhqw0vl0bvsq7sz768dk0ni";
+ "x86_64-linux" = "0haji9h8rrm9yvqdv6i2y6xdd0yhsssjjj83hmf6cb868lwyigsf";
}.${stdenv.hostPlatform.system};
in
diff --git a/pkgs/applications/graphics/antimony/default.nix b/pkgs/applications/graphics/antimony/default.nix
index 2e7435b48bb..0257a109568 100644
--- a/pkgs/applications/graphics/antimony/default.nix
+++ b/pkgs/applications/graphics/antimony/default.nix
@@ -4,19 +4,19 @@
}:
let
- gitRev = "60a58688e552f12501980c4bdab034ab0f2ba059";
+ gitRev = "c0038e3ea82fec6119de364bcbc3370955ed46a2";
gitBranch = "develop";
gitTag = "0.9.3";
in
stdenv.mkDerivation rec {
name = "antimony-${version}";
- version = "2018-07-17";
+ version = "2018-10-20";
src = fetchFromGitHub {
owner = "mkeeter";
repo = "antimony";
rev = gitRev;
- sha256 = "0pgf6kr23xw012xsil56j5gq78mlirmrlqdm09m5wlgcf4vr6xnl";
+ sha256 = "01cjcjppbb0gvh6npcsaidzpfcfzrqhhi07z4v0jkfyi0fl125v4";
};
patches = [ ./paths-fix.patch ];
diff --git a/pkgs/applications/graphics/fondo/default.nix b/pkgs/applications/graphics/fondo/default.nix
new file mode 100644
index 00000000000..87c161b9aee
--- /dev/null
+++ b/pkgs/applications/graphics/fondo/default.nix
@@ -0,0 +1,47 @@
+{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, python3, glib, gsettings-desktop-schemas, gtk3, libgee, json-glib, glib-networking, libsoup, libunity, wrapGAppsHook }:
+
+stdenv.mkDerivation rec {
+ pname = "fondo";
+ version = "1.2.1";
+
+ src = fetchFromGitHub {
+ owner = "calo001";
+ repo = pname;
+ rev = version;
+ sha256 = "0xczqkkq54gjay7wdl8mpil7klfrpvcw2a0n1brq7qrfhsmhc7pc";
+ };
+
+ nativeBuildInputs = [
+ meson
+ ninja
+ pantheon.vala
+ pkgconfig
+ python3
+ wrapGAppsHook
+ ];
+
+ buildInputs = [
+ glib
+ glib-networking
+ gsettings-desktop-schemas
+ gtk3
+ json-glib
+ libgee
+ libsoup
+ libunity
+ pantheon.granite
+ ];
+
+ postPatch = ''
+ chmod +x meson/post_install.py
+ patchShebangs meson/post_install.py
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Find the most beautiful wallpapers for your desktop";
+ homepage = https://github.com/calo001/fondo;
+ license = licenses.agpl3Plus;
+ maintainers = with maintainers; [ worldofpeace ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/applications/kde/default.nix b/pkgs/applications/kde/default.nix
index 0822e65c7c0..b9b318e75c3 100644
--- a/pkgs/applications/kde/default.nix
+++ b/pkgs/applications/kde/default.nix
@@ -124,6 +124,7 @@ let
kmbox = callPackage ./kmbox.nix {};
kmime = callPackage ./kmime.nix {};
kmix = callPackage ./kmix.nix {};
+ kmplot = callPackage ./kmplot.nix {};
kolourpaint = callPackage ./kolourpaint.nix {};
kompare = callPackage ./kompare.nix {};
konsole = callPackage ./konsole.nix {};
diff --git a/pkgs/applications/kde/kmplot.nix b/pkgs/applications/kde/kmplot.nix
new file mode 100644
index 00000000000..c0c00f21340
--- /dev/null
+++ b/pkgs/applications/kde/kmplot.nix
@@ -0,0 +1,15 @@
+{ mkDerivation, lib, extra-cmake-modules, kdoctools
+, kcrash, kguiaddons, ki18n, kparts, kwidgetsaddons, kdbusaddons
+}:
+
+mkDerivation {
+ name = "kmplot";
+ meta = {
+ license = with lib.licenses; [ gpl2Plus fdl12 ];
+ maintainers = [ lib.maintainers.orivej ];
+ };
+ nativeBuildInputs = [ extra-cmake-modules kdoctools ];
+ buildInputs = [
+ kcrash kguiaddons ki18n kparts kwidgetsaddons kdbusaddons
+ ];
+}
diff --git a/pkgs/applications/kde/ktouch.nix b/pkgs/applications/kde/ktouch.nix
index 75e72c0ba18..64179f2e64d 100644
--- a/pkgs/applications/kde/ktouch.nix
+++ b/pkgs/applications/kde/ktouch.nix
@@ -3,7 +3,7 @@
, kconfig, kconfigwidgets, kcoreaddons, kdeclarative, ki18n
, kitemviews, kcmutils, kio, knewstuff, ktexteditor, kwidgetsaddons
, kwindowsystem, kxmlgui, qtscript, qtdeclarative, kqtquickcharts
-, qtx11extras, qtgraphicaleffects, xorg
+, qtx11extras, qtgraphicaleffects, qtxmlpatterns, xorg
}:
@@ -19,7 +19,8 @@
kconfig kconfigwidgets kcoreaddons kdeclarative ki18n
kitemviews kcmutils kio knewstuff ktexteditor kwidgetsaddons
kwindowsystem kxmlgui qtscript qtdeclarative kqtquickcharts
- qtx11extras qtgraphicaleffects xorg.libxkbfile xorg.libxcb
+ qtx11extras qtgraphicaleffects qtxmlpatterns
+ xorg.libxkbfile xorg.libxcb
];
enableParallelBuilding = true;
diff --git a/pkgs/applications/misc/alacritty/default.nix b/pkgs/applications/misc/alacritty/default.nix
index ef0b49f8d7b..327272ae39c 100644
--- a/pkgs/applications/misc/alacritty/default.nix
+++ b/pkgs/applications/misc/alacritty/default.nix
@@ -17,6 +17,8 @@
libXrandr,
libGL,
xclip,
+ wayland,
+ libxkbcommon,
# Darwin Frameworks
cf-private,
AppKit,
@@ -40,6 +42,9 @@ let
libXrandr
libGL
libXi
+ ] ++ lib.optionals stdenv.isLinux [
+ wayland
+ libxkbcommon
];
in buildRustPackage rec {
name = "alacritty-${version}";
diff --git a/pkgs/applications/misc/autospotting/default.nix b/pkgs/applications/misc/autospotting/default.nix
index 2f38307ca1e..2dd151c1a6c 100644
--- a/pkgs/applications/misc/autospotting/default.nix
+++ b/pkgs/applications/misc/autospotting/default.nix
@@ -24,7 +24,7 @@ buildGoPackage rec {
description = "Automatically convert your existing AutoScaling groups to up to 90% cheaper spot instances with minimal configuration changes";
license = licenses.free;
maintainers = [ maintainers.costrouc ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/applications/misc/calcurse/default.nix b/pkgs/applications/misc/calcurse/default.nix
index fd65fcd2260..e6dafe4d08a 100644
--- a/pkgs/applications/misc/calcurse/default.nix
+++ b/pkgs/applications/misc/calcurse/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "calcurse-${version}";
- version = "4.3.0";
+ version = "4.4.0";
src = fetchurl {
url = "https://calcurse.org/files/${name}.tar.gz";
- sha256 = "16jzg0nasnxdlz23i121x41pq5kbxmjzk52c5d863rg117fc7v1i";
+ sha256 = "0vw2xi6a2lrhrb8n55zq9lv4mzxhby4xdf3hmi1vlfpyrpdwkjzd";
};
buildInputs = [ ncurses gettext python3 ];
diff --git a/pkgs/applications/misc/cointop/default.nix b/pkgs/applications/misc/cointop/default.nix
index 23d76afff0c..e1fcbbfe13c 100644
--- a/pkgs/applications/misc/cointop/default.nix
+++ b/pkgs/applications/misc/cointop/default.nix
@@ -24,7 +24,7 @@ buildGoPackage rec {
The interface is inspired by htop and shortcut keys are inspired by vim.
'';
homepage = https://cointop.sh;
- platforms = stdenv.lib.platforms.linux; # cannot test others
+ platforms = stdenv.lib.platforms.unix; # cannot test others
maintainers = [ ];
license = stdenv.lib.licenses.asl20;
};
diff --git a/pkgs/applications/misc/ddgr/default.nix b/pkgs/applications/misc/ddgr/default.nix
index ca7e332cc28..0716125859b 100644
--- a/pkgs/applications/misc/ddgr/default.nix
+++ b/pkgs/applications/misc/ddgr/default.nix
@@ -1,29 +1,17 @@
-{stdenv, fetchpatch, fetchFromGitHub, python3Packages}:
+{stdenv, fetchpatch, fetchFromGitHub, python3}:
stdenv.mkDerivation rec {
- version = "1.1";
+ version = "1.6";
name = "ddgr-${version}";
src = fetchFromGitHub {
owner = "jarun";
repo = "ddgr";
rev = "v${version}";
- sha256 = "1q66kwip5y0kfkfldm1x54plz85mjyvv1xpxjqrs30r2lr0najgf";
+ sha256 = "04ybbjsf9hpn2p5cjjm15cwvv0mwrmdi19iifrym6ps3rmll0p3c";
};
- buildInputs = [
- (python3Packages.python.withPackages (ps: with ps; [
- requests
- ]))
- ];
-
- patches = [
- (fetchpatch {
- sha256 = "1rxr3biq0mk4m0m7dsxr70dhz4fg5siil5x5fy9nymcmhvcm1cdc";
- name = "Fix-zsh-completion.patch";
- url = "https://github.com/jarun/ddgr/commit/10c1a911a3d5cbf3e96357c932b0211d3165c4b8.patch";
- })
- ];
+ buildInputs = [ python3 ];
makeFlags = "PREFIX=$(out)";
@@ -40,7 +28,7 @@ stdenv.mkDerivation rec {
homepage = https://github.com/jarun/ddgr;
description = "Search DuckDuckGo from the terminal";
license = licenses.gpl3;
- maintainers = with maintainers; [ markus1189 ];
+ maintainers = with maintainers; [ ceedubs markus1189 ];
platforms = platforms.unix;
};
}
diff --git a/pkgs/applications/misc/hugo/default.nix b/pkgs/applications/misc/hugo/default.nix
index 22badfc8cdd..8473e997e7a 100644
--- a/pkgs/applications/misc/hugo/default.nix
+++ b/pkgs/applications/misc/hugo/default.nix
@@ -2,7 +2,7 @@
buildGoPackage rec {
name = "hugo-${version}";
- version = "0.50";
+ version = "0.54.0";
goPackagePath = "github.com/gohugoio/hugo";
@@ -10,7 +10,7 @@ buildGoPackage rec {
owner = "gohugoio";
repo = "hugo";
rev = "v${version}";
- sha256 = "1shrw7pxwrz9g5x9bq6k5qvhn3fqmwznadpw7i07msh97p8b3dyn";
+ sha256 = "01grfbr3kpd4qf5cbcmzc6yfq34cm0nkak4pqzgrn46r254y0ymv";
};
goDeps = ./deps.nix;
diff --git a/pkgs/applications/misc/hugo/deps.nix b/pkgs/applications/misc/hugo/deps.nix
index d5c24d69048..d3d300db85b 100644
--- a/pkgs/applications/misc/hugo/deps.nix
+++ b/pkgs/applications/misc/hugo/deps.nix
@@ -1,5 +1,23 @@
+# file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix)
[
-
+ {
+ goPackagePath = "github.com/gobuffalo/envy";
+ fetch = {
+ type = "git";
+ url = "https://github.com/gobuffalo/envy";
+ rev = "v1.6.8";
+ "sha256" = "1xh26j9bji8c4hr05f89kbc4fhqniba00bdcic4gs5xfnp2vj7gk";
+ };
+ }
+ {
+ goPackagePath = "github.com/joho/godotenv";
+ fetch = {
+ type = "git";
+ url = "https://github.com/joho/godotenv";
+ rev = "v1.3.0";
+ "sha256" = "0ri8if0pc3x6jg4c3i8wr58xyfpxkwmcjk3rp8gb398a1aa3gpjm";
+ };
+ }
{
goPackagePath = "github.com/BurntSushi/locker";
fetch = {
@@ -9,7 +27,6 @@
sha256 = "1xak4aync4klswq5217qvw191asgla51jr42y94vp109lirm5dzg";
};
}
-
{
goPackagePath = "github.com/BurntSushi/toml";
fetch = {
@@ -19,7 +36,6 @@
sha256 = "1sjxs2lwc8jpln80s4rlzp7nprbcljhy5mz4rf9995gq93wqnym5";
};
}
-
{
goPackagePath = "github.com/PuerkitoBio/purell";
fetch = {
@@ -29,7 +45,6 @@
sha256 = "0vsxyn1fbm7g873b8kf3hcsgqgncb5nmfq3zfsc35a9yhzarka91";
};
}
-
{
goPackagePath = "github.com/PuerkitoBio/urlesc";
fetch = {
@@ -39,7 +54,6 @@
sha256 = "0n0srpqwbaan1wrhh2b7ysz543pjs1xw2rghvqyffg9l0g8kzgcw";
};
}
-
{
goPackagePath = "github.com/alecthomas/assert";
fetch = {
@@ -49,17 +63,15 @@
sha256 = "1l567pi17k593nrd1qlbmiq8z9jy3qs60px2a16fdpzjsizwqx8l";
};
}
-
{
goPackagePath = "github.com/alecthomas/chroma";
fetch = {
type = "git";
url = "https://github.com/alecthomas/chroma";
- rev = "v0.5.0";
- sha256 = "150jv4vhsdi1gj3liwkgicdrwnzgv5qkq2fwznlnzf64vmfb0b9f";
+ rev = "v0.6.2";
+ sha256 = "1bcppy1s148iikr78qjm0akahn01ywh83a8pw544prr9yc16jvmz";
};
}
-
{
goPackagePath = "github.com/alecthomas/colour";
fetch = {
@@ -69,17 +81,33 @@
sha256 = "0iq566534gbzkd16ixg7fk298wd766821vvs80838yifx9yml5vs";
};
}
-
+ {
+ goPackagePath = "github.com/alecthomas/kong";
+ fetch = {
+ type = "git";
+ url = "https://github.com/alecthomas/kong";
+ rev = "v0.1.15";
+ sha256 = "1llxabcdzlb2hard0h931knqkdnyjyz8dp3k0nli0m0mags7l31b";
+ };
+ }
{
goPackagePath = "github.com/alecthomas/repr";
fetch = {
type = "git";
url = "https://github.com/alecthomas/repr";
- rev = "117648cd9897";
- sha256 = "05v1rgzdqc8razf702laagrvhvx68xd9yxxmzd3dyz0d6425pdrp";
+ rev = "d37bc2a10ba1";
+ sha256 = "0jnx1ypdl4zi010ds2z857ajkr5cx51wkx950rfqb126hvql7svx";
+ };
+ }
+ {
+ goPackagePath = "github.com/armon/consul-api";
+ fetch = {
+ type = "git";
+ url = "https://github.com/armon/consul-api";
+ rev = "eb2c6b5be1b6";
+ sha256 = "1j6fdr1sg36qy4n4xjl7brq739fpm5npq98cmvklzjc9qrx98nk9";
};
}
-
{
goPackagePath = "github.com/bep/debounce";
fetch = {
@@ -89,7 +117,6 @@
sha256 = "1sh4zv0hv7f454mhzpl2mbv7ar5rm00wyy5qr78x1h84bgph87wy";
};
}
-
{
goPackagePath = "github.com/bep/gitmap";
fetch = {
@@ -99,17 +126,15 @@
sha256 = "0zqdl5h4ayi2gi5aqf35f1sjszhbcriksm2bf84fkrg7ngr48jn6";
};
}
-
{
goPackagePath = "github.com/bep/go-tocss";
fetch = {
type = "git";
url = "https://github.com/bep/go-tocss";
- rev = "v0.5.0";
- sha256 = "12q7h6nydklq4kg65kcgd85209rx7zf64ba6nf3k7y16knj4233q";
+ rev = "v0.6.0";
+ sha256 = "0w5i3ig3bbdrwbrcwzx8xsxhlb8xr17jj3wdcb6klqglg7551yvm";
};
}
-
{
goPackagePath = "github.com/chaseadamsio/goorgeous";
fetch = {
@@ -119,7 +144,42 @@
sha256 = "07qdqi46klizq3wigxqbiksnlgbrdc8hvmizgzg0aas5iqy88dcb";
};
}
-
+ {
+ goPackagePath = "github.com/cheekybits/is";
+ fetch = {
+ type = "git";
+ url = "https://github.com/cheekybits/is";
+ rev = "68e9c0620927";
+ sha256 = "1mkbyzhwq3rby832ikq00nxv3jnckxsm3949wkxd8ya9js2jmg4d";
+ };
+ }
+ {
+ goPackagePath = "github.com/coreos/etcd";
+ fetch = {
+ type = "git";
+ url = "https://github.com/coreos/etcd";
+ rev = "v3.3.10";
+ sha256 = "1x2ii1hj8jraba8rbxz6dmc03y3sjxdnzipdvg6fywnlq1f3l3wl";
+ };
+ }
+ {
+ goPackagePath = "github.com/coreos/go-etcd";
+ fetch = {
+ type = "git";
+ url = "https://github.com/coreos/go-etcd";
+ rev = "v2.0.0";
+ sha256 = "1xb34hzaa1lkbq5vkzy9vcz6gqwj7hp6cdbvyack2bf28dwn33jj";
+ };
+ }
+ {
+ goPackagePath = "github.com/coreos/go-semver";
+ fetch = {
+ type = "git";
+ url = "https://github.com/coreos/go-semver";
+ rev = "v0.2.0";
+ sha256 = "1gghi5bnqj50hfxhqc1cxmynqmh2yk9ii7ab9gsm75y5cp94ymk0";
+ };
+ }
{
goPackagePath = "github.com/cpuguy83/go-md2man";
fetch = {
@@ -129,7 +189,6 @@
sha256 = "1w22dfdamsq63b5rvalh9k2y7rbwfkkjs7vm9vd4a13h2ql70lg2";
};
}
-
{
goPackagePath = "github.com/danwakefield/fnmatch";
fetch = {
@@ -139,7 +198,6 @@
sha256 = "0cbf511ppsa6hf59mdl7nbyn2b2n71y0bpkzbmfkdqjhanqh1lqz";
};
}
-
{
goPackagePath = "github.com/davecgh/go-spew";
fetch = {
@@ -149,7 +207,6 @@
sha256 = "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y";
};
}
-
{
goPackagePath = "github.com/disintegration/imaging";
fetch = {
@@ -159,7 +216,6 @@
sha256 = "1laxccmzi7q51zxn81ringmdwp8iaipivrl375yc3gq56d70sp0r";
};
}
-
{
goPackagePath = "github.com/dlclark/regexp2";
fetch = {
@@ -169,7 +225,15 @@
sha256 = "144s81ndviwhyy20ipxvvfvap8phv5p762glxrz6aqxprkxfarj5";
};
}
-
+ {
+ goPackagePath = "github.com/dustin/go-humanize";
+ fetch = {
+ type = "git";
+ url = "https://github.com/dustin/go-humanize";
+ rev = "v1.0.0";
+ sha256 = "1kqf1kavdyvjk7f8kx62pnm7fbypn9z1vbf8v2qdh3y7z7a0cbl3";
+ };
+ }
{
goPackagePath = "github.com/eknkc/amber";
fetch = {
@@ -179,7 +243,6 @@
sha256 = "152w97yckwncgw7lwjvgd8d00wy6y0nxzlvx72kl7nqqxs9vhxd9";
};
}
-
{
goPackagePath = "github.com/fortytw2/leaktest";
fetch = {
@@ -189,7 +252,6 @@
sha256 = "1lf9l6zgzjbcc7hmcjhhg3blx0y8icyxvjmjqqwfbwdk502803ra";
};
}
-
{
goPackagePath = "github.com/fsnotify/fsnotify";
fetch = {
@@ -199,7 +261,6 @@
sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g";
};
}
-
{
goPackagePath = "github.com/gobwas/glob";
fetch = {
@@ -209,7 +270,6 @@
sha256 = "0jxk1x806zn5x86342s72dq2qy64ksb3zrvrlgir2avjhwb18n6z";
};
}
-
{
goPackagePath = "github.com/gorilla/websocket";
fetch = {
@@ -219,7 +279,6 @@
sha256 = "00i4vb31nsfkzzk7swvx3i75r2d960js3dri1875vypk3v2s0pzk";
};
}
-
{
goPackagePath = "github.com/hashicorp/go-immutable-radix";
fetch = {
@@ -229,7 +288,6 @@
sha256 = "1v3nmsnk1s8bzpclrhirz7iq0g5xxbw9q5gvrg9ss6w9crs72qr6";
};
}
-
{
goPackagePath = "github.com/hashicorp/go-uuid";
fetch = {
@@ -239,7 +297,6 @@
sha256 = "1jflywlani7583qm4ysph40hsgx3n66n5zr2k84i057fmwa1ypfy";
};
}
-
{
goPackagePath = "github.com/hashicorp/golang-lru";
fetch = {
@@ -249,7 +306,6 @@
sha256 = "12k2cp2k615fjvfa5hyb9k2alian77wivds8s65diwshwv41939f";
};
}
-
{
goPackagePath = "github.com/hashicorp/hcl";
fetch = {
@@ -259,7 +315,6 @@
sha256 = "0q6ml0qqs0yil76mpn4mdx4lp94id8vbv575qm60jzl1ijcl5i66";
};
}
-
{
goPackagePath = "github.com/inconshreveable/mousetrap";
fetch = {
@@ -269,7 +324,6 @@
sha256 = "1mn0kg48xkd74brf48qf5hzp0bc6g8cf5a77w895rl3qnlpfw152";
};
}
-
{
goPackagePath = "github.com/jdkato/prose";
fetch = {
@@ -279,7 +333,6 @@
sha256 = "1gjqgrpc7wbqvnhgwyfhxng24qvx37qjy0x2mbikiw1vaygxqsmy";
};
}
-
{
goPackagePath = "github.com/kr/pretty";
fetch = {
@@ -289,7 +342,6 @@
sha256 = "18m4pwg2abd0j9cn5v3k2ksk9ig4vlwxmlw9rrglanziv9l967qp";
};
}
-
{
goPackagePath = "github.com/kr/pty";
fetch = {
@@ -299,7 +351,6 @@
sha256 = "0383f0mb9kqjvncqrfpidsf8y6ns5zlrc91c6a74xpyxjwvzl2y6";
};
}
-
{
goPackagePath = "github.com/kr/text";
fetch = {
@@ -309,7 +360,6 @@
sha256 = "1gm5bsl01apvc84bw06hasawyqm4q84vx1pm32wr9jnd7a8vjgj1";
};
}
-
{
goPackagePath = "github.com/kyokomi/emoji";
fetch = {
@@ -319,7 +369,6 @@
sha256 = "005rxyxlqcd2sfjn686xb52l11wn2w0g5jv042ka6pnsx24r812a";
};
}
-
{
goPackagePath = "github.com/magefile/mage";
fetch = {
@@ -329,7 +378,6 @@
sha256 = "177hzmmzhk7bcm3jj2cj6d5l9h5ql3cikvndhk4agkslrhwr3xka";
};
}
-
{
goPackagePath = "github.com/magiconair/properties";
fetch = {
@@ -339,17 +387,33 @@
sha256 = "1a10362wv8a8qwb818wygn2z48lgzch940hvpv81hv8gc747ajxn";
};
}
-
{
goPackagePath = "github.com/markbates/inflect";
fetch = {
type = "git";
url = "https://github.com/markbates/inflect";
- rev = "a12c3aec81a6";
- sha256 = "0mawr6z9nav4f5j0nmjdxg9lbfhr7wz8zi34g7b6wndmzyf8jbsd";
+ rev = "v1.0.0";
+ sha256 = "072a73ij23mp8vabr8xwga2kj8dimya44ciiy9g4x4r9imm86psw";
+ };
+ }
+ {
+ goPackagePath = "github.com/matryer/try";
+ fetch = {
+ type = "git";
+ url = "https://github.com/matryer/try";
+ rev = "9ac251b645a2";
+ sha256 = "19fnqmpl3p54vmxgm1hmqvdc87brqx754wf3cdhq1bj04fcbb5h9";
+ };
+ }
+ {
+ goPackagePath = "github.com/mattn/go-colorable";
+ fetch = {
+ type = "git";
+ url = "https://github.com/mattn/go-colorable";
+ rev = "v0.0.9";
+ sha256 = "1nwjmsppsjicr7anq8na6md7b1z84l9ppnlr045hhxjvbkqwalvx";
};
}
-
{
goPackagePath = "github.com/mattn/go-isatty";
fetch = {
@@ -359,7 +423,6 @@
sha256 = "0zs92j2cqaw9j8qx1sdxpv3ap0rgbs0vrvi72m40mg8aa36gd39w";
};
}
-
{
goPackagePath = "github.com/mattn/go-runewidth";
fetch = {
@@ -369,7 +432,6 @@
sha256 = "0lc39b6xrxv7h3v3y1kgz49cgi5qxwlygs715aam6ba35m48yi7g";
};
}
-
{
goPackagePath = "github.com/miekg/mmark";
fetch = {
@@ -379,7 +441,6 @@
sha256 = "0q2zrwa2vwk7a0zhmi000zpqrc01zssrj9c5n3573rg68fksg77m";
};
}
-
{
goPackagePath = "github.com/mitchellh/hashstructure";
fetch = {
@@ -389,17 +450,15 @@
sha256 = "0zgl5c03ip2yzkb9b7fq9ml08i7j8prgd46ha1fcg8c6r7k9xl3i";
};
}
-
{
goPackagePath = "github.com/mitchellh/mapstructure";
fetch = {
type = "git";
url = "https://github.com/mitchellh/mapstructure";
- rev = "v1.0.0";
- sha256 = "0f06q4fpzg0c370cvmpsl0iq2apl5nkbz5cd3nba5x5ysmshv1lm";
+ rev = "v1.1.2";
+ sha256 = "03bpv28jz9zhn4947saqwi328ydj7f6g6pf1m2d4m5zdh5jlfkrr";
};
}
-
{
goPackagePath = "github.com/muesli/smartcrop";
fetch = {
@@ -409,7 +468,6 @@
sha256 = "0xbv5wbn0z36nkw9ay3ly6z23lpsrs0khryl1w54fz85lvwh66gp";
};
}
-
{
goPackagePath = "github.com/nfnt/resize";
fetch = {
@@ -419,7 +477,6 @@
sha256 = "005cpiwq28krbjf0zjwpfh63rp4s4is58700idn24fs3g7wdbwya";
};
}
-
{
goPackagePath = "github.com/nicksnyder/go-i18n";
fetch = {
@@ -429,7 +486,6 @@
sha256 = "1nlvq85c232z5yjs86pxpmkv7hk6gb5pa6j4hhzgdz85adk2ma04";
};
}
-
{
goPackagePath = "github.com/olekukonko/tablewriter";
fetch = {
@@ -439,7 +495,6 @@
sha256 = "1274k5r9ardh1f6gsmadxmdds7zy8rkr55fb9swvnm0vazr3y01l";
};
}
-
{
goPackagePath = "github.com/pelletier/go-toml";
fetch = {
@@ -449,7 +504,6 @@
sha256 = "1fjzpcjng60mc3a4b2ql5a00d5gah84wj740dabv9kq67mpg8fxy";
};
}
-
{
goPackagePath = "github.com/pkg/errors";
fetch = {
@@ -459,7 +513,6 @@
sha256 = "001i6n71ghp2l6kdl3qq1v2vmghcz3kicv9a5wgcihrzigm75pp5";
};
}
-
{
goPackagePath = "github.com/pmezard/go-difflib";
fetch = {
@@ -469,7 +522,6 @@
sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw";
};
}
-
{
goPackagePath = "github.com/russross/blackfriday";
fetch = {
@@ -479,7 +531,6 @@
sha256 = "01z1jsdkac09cw95lqq4pahkw9xnini2mb956lvb772bby2x3dmj";
};
}
-
{
goPackagePath = "github.com/sanity-io/litter";
fetch = {
@@ -489,7 +540,6 @@
sha256 = "09nywwxxd6rmhxc7rsvs96ynjszmnvmhwr7dvh1n35hb6h9y7s2r";
};
}
-
{
goPackagePath = "github.com/sergi/go-diff";
fetch = {
@@ -499,7 +549,6 @@
sha256 = "0swiazj8wphs2zmk1qgq75xza6m19snif94h2m6fi8dqkwqdl7c7";
};
}
-
{
goPackagePath = "github.com/shurcooL/sanitized_anchor_name";
fetch = {
@@ -509,17 +558,15 @@
sha256 = "142m507s9971cl8qdmbcw7sqxnkgi3xqd8wzvfq15p0w7w8i4a3h";
};
}
-
{
goPackagePath = "github.com/spf13/afero";
fetch = {
type = "git";
url = "https://github.com/spf13/afero";
- rev = "v1.1.2";
- sha256 = "0miv4faf5ihjfifb1zv6aia6f6ik7h1s4954kcb8n6ixzhx9ck6k";
+ rev = "v1.2.1";
+ sha256 = "14qqj0cz6a595vn4dp747vddx05fd77jdsyl85qjmf9baymaxlam";
};
}
-
{
goPackagePath = "github.com/spf13/cast";
fetch = {
@@ -529,7 +576,6 @@
sha256 = "0xq1ffqj8y8h7dcnm0m9lfrh0ga7pssnn2c1dnr09chqbpn4bdc5";
};
}
-
{
goPackagePath = "github.com/spf13/cobra";
fetch = {
@@ -539,7 +585,6 @@
sha256 = "1q1nsx05svyv9fv3fy6xv6gs9ffimkyzsfm49flvl3wnvf1ncrkd";
};
}
-
{
goPackagePath = "github.com/spf13/fsync";
fetch = {
@@ -549,7 +594,6 @@
sha256 = "1vvbgxbbsc4mvi1axgqgn9pzjz1p495dsmwpc7mr8qxh8f6s0nhv";
};
}
-
{
goPackagePath = "github.com/spf13/jwalterweatherman";
fetch = {
@@ -559,7 +603,6 @@
sha256 = "1ywmkwci5zyd88ijym6f30fj5c0k2yayxarkmnazf5ybljv50q7b";
};
}
-
{
goPackagePath = "github.com/spf13/nitro";
fetch = {
@@ -569,57 +612,51 @@
sha256 = "143sbpx0jdgf8f8ayv51x6l4jg6cnv6nps6n60qxhx4vd90s6mib";
};
}
-
{
goPackagePath = "github.com/spf13/pflag";
fetch = {
type = "git";
url = "https://github.com/spf13/pflag";
- rev = "v1.0.2";
- sha256 = "005598piihl3l83a71ahj10cpq9pbhjck4xishx1b4dzc02r9xr2";
+ rev = "v1.0.3";
+ sha256 = "1cj3cjm7d3zk0mf1xdybh0jywkbbw7a6yr3y22x9sis31scprswd";
};
}
-
{
goPackagePath = "github.com/spf13/viper";
fetch = {
type = "git";
url = "https://github.com/spf13/viper";
- rev = "v1.2.0";
- sha256 = "0klv7dyllvv9jkyspy4ww5nrz24ngb3adlh884cbdjn7562bhi47";
+ rev = "v1.3.1";
+ sha256 = "1190mg04718r03qriav99sf4kx2n7wdgr8vdni15f74bpbzrdjrl";
};
}
-
{
goPackagePath = "github.com/stretchr/testify";
fetch = {
type = "git";
url = "https://github.com/stretchr/testify";
- rev = "f2347ac6c9c9";
- sha256 = "0ns8zc2n8gpcsd1fdaqbq7a8d939lnaxraqx5nr2fi2zdxqyh7hm";
+ rev = "04af85275a5c";
+ sha256 = "1al7hgvg34xbajds99ss5wmlndxbzzmz5l0wrg6wchvvfaiwxlx0";
};
}
-
{
goPackagePath = "github.com/tdewolff/minify";
fetch = {
type = "git";
url = "https://github.com/tdewolff/minify";
- rev = "v2.3.6";
- sha256 = "0p4v4ab49lm5y438k5aks06fpiagbjw2j2x7i8jaa273mkgicrbb";
+ rev = "v2.3.7";
+ sha256 = "1mj1lmd8s0mrg9cfj1ihvsqrbsbpzh3icm0pmayd2r6jp6rbffw6";
};
}
-
{
goPackagePath = "github.com/tdewolff/parse";
fetch = {
type = "git";
url = "https://github.com/tdewolff/parse";
- rev = "fced451e0bed";
- sha256 = "1n6wcapk8xbck2zjxd4l5cgfn1v12rr7znrdpd5y2xp1nc3739c3";
+ rev = "v2.3.5";
+ sha256 = "05w859s31dx6525wrjryby601z9c0xpncilznk6shgqygpxda6cz";
};
}
-
{
goPackagePath = "github.com/tdewolff/test";
fetch = {
@@ -629,17 +666,33 @@
sha256 = "10vyp4bhanzg3yl9k8zqfdrxpsmx8yc53xv4lqxfymd7jjyqgssj";
};
}
-
+ {
+ goPackagePath = "github.com/ugorji/go";
+ fetch = {
+ type = "git";
+ url = "https://github.com/ugorji/go";
+ rev = "d75b2dcb6bc8";
+ sha256 = "0di1k35gpq9bp958ywranpbskx2vdwlb38s22vl9rybm3wa5g3ps";
+ };
+ }
{
goPackagePath = "github.com/wellington/go-libsass";
fetch = {
type = "git";
url = "https://github.com/wellington/go-libsass";
- rev = "615eaa47ef79";
- sha256 = "0imjiskn4vq7nml5jwb1scgl61jg53cfpkjnb9rsc6m8gsd8s16s";
+ rev = "c63644206701";
+ sha256 = "1ml0fk4wldnjlkmliydnig9f3rpp3cdzwgz331mlqyadvma3c0lf";
+ };
+ }
+ {
+ goPackagePath = "github.com/xordataexchange/crypt";
+ fetch = {
+ type = "git";
+ url = "https://github.com/xordataexchange/crypt";
+ rev = "b2862e3d0a77";
+ sha256 = "04q3856anpzl4gdfgmg7pbp9cx231nkz3ymq2xp27rnmmwhfxr8y";
};
}
-
{
goPackagePath = "github.com/yosssi/ace";
fetch = {
@@ -649,7 +702,15 @@
sha256 = "1kbvbc56grrpnl65grygd23gyn3nkkhxdg8awhzkjmd0cvki8w1f";
};
}
-
+ {
+ goPackagePath = "golang.org/x/crypto";
+ fetch = {
+ type = "git";
+ url = "https://go.googlesource.com/crypto";
+ rev = "505ab145d0a9";
+ sha256 = "1vbsvcvmjz6c00p5vf8ls533p52fx2y3gy6v4k5qrdlzl4wf0i5s";
+ };
+ }
{
goPackagePath = "golang.org/x/image";
fetch = {
@@ -659,7 +720,6 @@
sha256 = "1kkafy29vz5xf6r29ghbvvbwrgjxwxvzk6dsa2qhyp1ddk6l2vkz";
};
}
-
{
goPackagePath = "golang.org/x/net";
fetch = {
@@ -669,7 +729,6 @@
sha256 = "0254ld010iijygbzykib2vags1dc0wlmcmhgh4jl8iny159lhbcv";
};
}
-
{
goPackagePath = "golang.org/x/sync";
fetch = {
@@ -679,17 +738,15 @@
sha256 = "046jlanz2lkxq1r57x9bl6s4cvfqaic6p2xybsj8mq1120jv4rs6";
};
}
-
{
goPackagePath = "golang.org/x/sys";
fetch = {
type = "git";
url = "https://go.googlesource.com/sys";
- rev = "d0be0721c37e";
- sha256 = "081wyvfnlf842dqg03raxfz6lldlxpmyh1prix9lmrrm65arxb12";
+ rev = "b4a75ba826a6";
+ sha256 = "0kzrd2wywkcq35iakbzplqyma4bvf2ng3mzi7917kxcbdq3fflrj";
};
}
-
{
goPackagePath = "golang.org/x/text";
fetch = {
@@ -699,7 +756,6 @@
sha256 = "0r6x6zjzhr8ksqlpiwm5gdd7s209kwk5p4lw54xjvz10cs3qlq19";
};
}
-
{
goPackagePath = "gopkg.in/check.v1";
fetch = {
@@ -709,14 +765,13 @@
sha256 = "0v3bim0j375z81zrpr5qv42knqs0y2qv2vkjiqi5axvb78slki1a";
};
}
-
{
goPackagePath = "gopkg.in/yaml.v2";
fetch = {
type = "git";
url = "https://gopkg.in/yaml.v2";
- rev = "v2.2.1";
- sha256 = "0dwjrs2lp2gdlscs7bsrmyc5yf6mm4fvgw71bzr9mv2qrd2q73s1";
+ rev = "v2.2.2";
+ sha256 = "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa";
};
}
]
diff --git a/pkgs/applications/misc/notejot/default.nix b/pkgs/applications/misc/notejot/default.nix
index a79c63db163..a732a5ed536 100644
--- a/pkgs/applications/misc/notejot/default.nix
+++ b/pkgs/applications/misc/notejot/default.nix
@@ -1,36 +1,33 @@
{ stdenv, fetchFromGitHub, pkgconfig, meson, ninja, python3, pantheon
-, gtk3, gtksourceview, json-glib, gnome3, gobject-introspection, wrapGAppsHook }:
+, gtk3, gtksourceview, json-glib, gnome3, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "notejot";
- version = "1.5.4";
-
- name = "${pname}-${version}";
+ version = "1.5.5";
src = fetchFromGitHub {
owner = "lainsce";
repo = pname;
rev = version;
- sha256 = "1lv4s2mqddi6lz414kqpp4vcwnkjibc0k2xhnczaa1wf3azlxjgf";
+ sha256 = "0khf6mwidybfgnq4zmhf3af4w6aicipmi12fvs722fqlf1lrkdmd";
};
nativeBuildInputs = [
- gobject-introspection
meson
ninja
+ pantheon.vala
pkgconfig
python3
- pantheon.vala
wrapGAppsHook
];
buildInputs = [
- pantheon.elementary-icon-theme
- pantheon.granite
gnome3.libgee
gtk3
gtksourceview
json-glib
+ pantheon.elementary-icon-theme
+ pantheon.granite
];
postPatch = ''
diff --git a/pkgs/applications/misc/rtv/default.nix b/pkgs/applications/misc/rtv/default.nix
index 38b2d4ece4d..a3be9cad3ae 100644
--- a/pkgs/applications/misc/rtv/default.nix
+++ b/pkgs/applications/misc/rtv/default.nix
@@ -2,14 +2,14 @@
with python3Packages;
buildPythonApplication rec {
- version = "1.24.0";
+ version = "1.25.1";
pname = "rtv";
src = fetchFromGitHub {
owner = "michael-lazar";
repo = "rtv";
rev = "v${version}";
- sha256 = "0vzhnqys8nr6ymsi1mnv092z3i7nwyhgnj4jv6mjifak9j3164fw";
+ sha256 = "0pfsf17g37d2v1xrsbfdbv460vs7m955h6q51z71rhb840r9812p";
};
# Tests try to access network
diff --git a/pkgs/applications/misc/udiskie/default.nix b/pkgs/applications/misc/udiskie/default.nix
index 5d96918e42d..1eb65098fd5 100644
--- a/pkgs/applications/misc/udiskie/default.nix
+++ b/pkgs/applications/misc/udiskie/default.nix
@@ -9,13 +9,13 @@
buildPythonApplication rec {
name = "udiskie-${version}";
- version = "1.7.5";
+ version = "1.7.7";
src = fetchFromGitHub {
owner = "coldfix";
repo = "udiskie";
rev = version;
- sha256 = "1mcdn8ha5d5nsmrzk6xnnsqrmk94rdrzym9sqm38zk5r8gpyl1k4";
+ sha256 = "1j17z26vy44il2s9zgchvhq280vq8ag64ddi35f35b444wz2azlb";
};
buildInputs = [
diff --git a/pkgs/applications/misc/worker/default.nix b/pkgs/applications/misc/worker/default.nix
index f9267411dda..f5c92592cd1 100644
--- a/pkgs/applications/misc/worker/default.nix
+++ b/pkgs/applications/misc/worker/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "worker-${version}";
- version = "3.15.2";
+ version = "3.15.3";
src = fetchurl {
url = "http://www.boomerangsworld.de/cms/worker/downloads/${name}.tar.gz";
- sha256 = "0km17ls51vp4nxlppf58vvxxymyx6w3xlzjc8wghxpjj098v4pp8";
+ sha256 = "03dv50h68grscxiaxslzv486v1bfi8y81vrjr2gs39svw7bwz5d4";
};
buildInputs = [ libX11 ];
diff --git a/pkgs/applications/misc/xterm/default.nix b/pkgs/applications/misc/xterm/default.nix
index ee267c1ec7c..25d2e090580 100644
--- a/pkgs/applications/misc/xterm/default.nix
+++ b/pkgs/applications/misc/xterm/default.nix
@@ -3,14 +3,14 @@
}:
stdenv.mkDerivation rec {
- name = "xterm-342";
+ name = "xterm-344";
src = fetchurl {
urls = [
"ftp://ftp.invisible-island.net/xterm/${name}.tgz"
"https://invisible-mirror.net/archives/xterm/${name}.tgz"
];
- sha256 = "1y8ldzl4h1872fxvpvi2zwa9y3d34872vfdvfasap79lpn8208l0";
+ sha256 = "1xfdmib8n6gw5s90vbvdhm630k8i2dbprknp4as4mqls27vbiknc";
};
buildInputs =
diff --git a/pkgs/applications/networking/browsers/chromium/browser.nix b/pkgs/applications/networking/browsers/chromium/browser.nix
index f31ff05a42b..faa5bc121cb 100644
--- a/pkgs/applications/networking/browsers/chromium/browser.nix
+++ b/pkgs/applications/networking/browsers/chromium/browser.nix
@@ -47,7 +47,7 @@ mkChromiumDerivation (base: rec {
meta = {
description = "An open source web browser from Google";
homepage = http://www.chromium.org/;
- maintainers = with maintainers; [ chaoflow bendlas ];
+ maintainers = with maintainers; [ bendlas ];
license = licenses.bsd3;
platforms = platforms.linux;
hydraPlatforms = if channel == "stable" then ["aarch64-linux" "x86_64-linux"] else [];
diff --git a/pkgs/applications/networking/browsers/conkeror/default.nix b/pkgs/applications/networking/browsers/conkeror/default.nix
index ded2b688815..be1389c2121 100644
--- a/pkgs/applications/networking/browsers/conkeror/default.nix
+++ b/pkgs/applications/networking/browsers/conkeror/default.nix
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://conkeror.org/;
license = with licenses; [ mpl11 gpl2 lgpl21 ];
- maintainers = with maintainers; [ astsmtl chaoflow ];
+ maintainers = with maintainers; [ astsmtl ];
platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/networking/browsers/qutebrowser/default.nix b/pkgs/applications/networking/browsers/qutebrowser/default.nix
index 1be4f1c4c52..3ca4aafd757 100644
--- a/pkgs/applications/networking/browsers/qutebrowser/default.nix
+++ b/pkgs/applications/networking/browsers/qutebrowser/default.nix
@@ -53,7 +53,13 @@ in python3Packages.buildPythonApplication rec {
pyreadability pykeepass stem
];
+ patches = [
+ ./fix-restart.patch
+ ];
+
postPatch = ''
+ substituteInPlace qutebrowser/app.py --subst-var-by qutebrowser "$out/bin/qutebrowser"
+
sed -i "s,/usr/share/,$out/share/,g" qutebrowser/utils/standarddir.py
'' + lib.optionalString withPdfReader ''
sed -i "s,/usr/share/pdf.js,${pdfjs},g" qutebrowser/browser/pdfjs.py
diff --git a/pkgs/applications/networking/browsers/qutebrowser/fix-restart.patch b/pkgs/applications/networking/browsers/qutebrowser/fix-restart.patch
new file mode 100644
index 00000000000..56f6bcebf28
--- /dev/null
+++ b/pkgs/applications/networking/browsers/qutebrowser/fix-restart.patch
@@ -0,0 +1,29 @@
+diff --git a/qutebrowser/app.py b/qutebrowser/app.py
+index 2b6896b76..ee05f379d 100644
+--- a/qutebrowser/app.py
++++ b/qutebrowser/app.py
+@@ -555,22 +555,8 @@ class Quitter:
+ args: The commandline as a list of strings.
+ cwd: The current working directory as a string.
+ """
+- if os.path.basename(sys.argv[0]) == 'qutebrowser':
+- # Launched via launcher script
+- args = [sys.argv[0]]
+- cwd = None
+- elif hasattr(sys, 'frozen'):
+- args = [sys.executable]
+- cwd = os.path.abspath(os.path.dirname(sys.executable))
+- else:
+- args = [sys.executable, '-m', 'qutebrowser']
+- cwd = os.path.join(
+- os.path.abspath(os.path.dirname(qutebrowser.__file__)), '..')
+- if not os.path.isdir(cwd):
+- # Probably running from a python egg. Let's fallback to
+- # cwd=None and see if that works out.
+- # See https://github.com/qutebrowser/qutebrowser/issues/323
+- cwd = None
++ args = ['@qutebrowser@']
++ cwd = None
+
+ # Add all open pages so they get reopened.
+ page_args = []
diff --git a/pkgs/applications/networking/charles/default.nix b/pkgs/applications/networking/charles/default.nix
index 3f019d17702..98d4e25ef87 100644
--- a/pkgs/applications/networking/charles/default.nix
+++ b/pkgs/applications/networking/charles/default.nix
@@ -1,48 +1,68 @@
-{ stdenv, fetchurl, makeDesktopItem, jre, makeWrapper }:
+{
+stdenv
+, makeWrapper
+, makeDesktopItem
+, fetchurl
+, jre
+}:
let
- desktopItem = makeDesktopItem {
- categories = "Network;Development;WebDevelopment;Java;";
- desktopName = "Charles";
- exec = "charles %F";
- genericName = "Web Debugging Proxy";
- icon = "charles-proxy";
- mimeType = "application/x-charles-savedsession;application/x-charles-savedsession+xml;application/x-charles-savedsession+json;application/har+json;application/vnd.tcpdump.pcap;application/x-charles-trace";
- name = "Charles";
- startupNotify = "true";
- };
+ generic = { version, sha256, ... }@attrs:
+ let
+ desktopItem = makeDesktopItem {
+ categories = "Network;Development;WebDevelopment;Java;";
+ desktopName = "Charles";
+ exec = "charles %F";
+ genericName = "Web Debugging Proxy";
+ icon = "charles-proxy";
+ mimeType = "application/x-charles-savedsession;application/x-charles-savedsession+xml;application/x-charles-savedsession+json;application/har+json;application/vnd.tcpdump.pcap;application/x-charles-trace";
+ name = "Charles";
+ startupNotify = "true";
+ };
-in stdenv.mkDerivation rec {
- name = "charles-${version}";
- version = "4.2.7";
+ attrs' = builtins.removeAttrs attrs ["version" "sha256"];
+ in stdenv.mkDerivation rec {
+ name = "charles-${version}";
+ inherit version;
- src = fetchurl {
- url = "https://www.charlesproxy.com/assets/release/${version}/charles-proxy-${version}.tar.gz";
+ src = fetchurl {
+ url = "https://www.charlesproxy.com/assets/release/${version}/charles-proxy-${version}.tar.gz";
+ inherit sha256;
+ };
+ buildInputs = [ makeWrapper ];
+
+ installPhase = ''
+ makeWrapper ${jre}/bin/java $out/bin/charles \
+ --add-flags "-Xmx1024M -Dcharles.config='~/.charles.config' -jar $out/share/java/charles.jar"
+
+ for fn in lib/*.jar; do
+ install -D -m644 $fn $out/share/java/$(basename $fn)
+ done
+
+ mkdir -p $out/share/applications
+ ln -s ${desktopItem}/share/applications/* $out/share/applications/
+
+ mkdir -p $out/share/icons
+ cp -r icon $out/share/icons/hicolor
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Web Debugging Proxy";
+ homepage = https://www.charlesproxy.com/;
+ maintainers = [ maintainers.kalbasit ];
+ license = stdenv.lib.licenses.unfree;
+ platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
+ };
+ };
+
+in rec {
+ charles4 = (generic {
+ version = "4.2.7";
sha256 = "1nycw3wpbfwj4ijjaq5k0f4xipj8j605fs0yjzgl66gmv7r583rd";
- };
-
- buildInputs = [ makeWrapper ];
-
- installPhase = ''
- makeWrapper ${jre}/bin/java $out/bin/charles \
- --add-flags "-Xmx1024M -Dcharles.config='~/.charles.config' -jar $out/share/java/charles.jar"
-
- for fn in lib/*.jar; do
- install -D -m644 $fn $out/share/java/$(basename $fn)
- done
-
- mkdir -p $out/share/applications
- ln -s ${desktopItem}/share/applications/* $out/share/applications/
-
- mkdir -p $out/share/icons
- cp -r icon $out/share/icons/hicolor
- '';
-
- meta = with stdenv.lib; {
- description = "Web Debugging Proxy";
- homepage = https://www.charlesproxy.com/;
- maintainers = [ maintainers.kalbasit ];
- license = stdenv.lib.licenses.unfree;
- platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
- };
+ });
+ charles3 = (generic {
+ version = "3.12.3";
+ sha256 = "13zk82ny1w5zd9qcs9qkq0kdb22ni5byzajyshpxdfm4zv6p32ss";
+ });
}
+
diff --git a/pkgs/applications/networking/cluster/heptio-ark/default.nix b/pkgs/applications/networking/cluster/heptio-ark/default.nix
index 6a83ac34f3f..cd0ef728f83 100644
--- a/pkgs/applications/networking/cluster/heptio-ark/default.nix
+++ b/pkgs/applications/networking/cluster/heptio-ark/default.nix
@@ -2,7 +2,7 @@
buildGoPackage rec {
name = "heptio-ark-${version}";
- version = "0.9.6";
+ version = "0.10.0";
goPackagePath = "github.com/heptio/ark";
@@ -10,10 +10,10 @@ buildGoPackage rec {
rev = "v${version}";
owner = "heptio";
repo = "ark";
- sha256 = "0q353a6f3hvg1gr6rmg8pbqnkrbgjchdr7f6f9503l1qbyyf95fz";
+ sha256 = "18h9hvp95va0hyl268gnzciwy1dqmc57bpifbj885870rdfp0ffv";
};
- postInstall = "rm $bin/bin/generate";
+ postInstall = "rm $bin/bin/issue-template-gen";
meta = with stdenv.lib; {
description = "A utility for managing disaster recovery, specifically for your Kubernetes cluster resources and persistent volumes";
diff --git a/pkgs/applications/networking/cluster/nomad/default.nix b/pkgs/applications/networking/cluster/nomad/default.nix
index 765d1684499..9e55c2f8a0f 100644
--- a/pkgs/applications/networking/cluster/nomad/default.nix
+++ b/pkgs/applications/networking/cluster/nomad/default.nix
@@ -18,7 +18,7 @@ buildGoPackage rec {
meta = with stdenv.lib; {
homepage = https://www.nomadproject.io/;
description = "A Distributed, Highly Available, Datacenter-Aware Scheduler";
- platforms = platforms.linux;
+ platforms = platforms.unix;
license = licenses.mpl20;
maintainers = with maintainers; [ rushmorem pradeepchhetri ];
};
diff --git a/pkgs/applications/networking/cluster/openshift/default.nix b/pkgs/applications/networking/cluster/openshift/default.nix
index f730329d072..652d4e58f67 100644
--- a/pkgs/applications/networking/cluster/openshift/default.nix
+++ b/pkgs/applications/networking/cluster/openshift/default.nix
@@ -83,6 +83,6 @@ in buildGoPackage rec {
license = licenses.asl20;
homepage = http://www.openshift.org;
maintainers = with maintainers; [offline bachp moretea];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/applications/networking/cluster/ssm-agent/default.nix b/pkgs/applications/networking/cluster/ssm-agent/default.nix
index bb179606b36..052797db2f3 100644
--- a/pkgs/applications/networking/cluster/ssm-agent/default.nix
+++ b/pkgs/applications/networking/cluster/ssm-agent/default.nix
@@ -24,7 +24,7 @@ buildGoPackage rec {
description = "Agent to enable remote management of your Amazon EC2 instance configuration";
homepage = "https://github.com/aws/amazon-ssm-agent";
license = licenses.asl20;
- platforms = platforms.linux;
+ platforms = platforms.unix;
maintainers = with maintainers; [ copumpkin ];
};
}
diff --git a/pkgs/applications/networking/drive/default.nix b/pkgs/applications/networking/drive/default.nix
index 113d6a2e5f4..34ebc84cea2 100644
--- a/pkgs/applications/networking/drive/default.nix
+++ b/pkgs/applications/networking/drive/default.nix
@@ -20,6 +20,6 @@ buildGoPackage rec {
homepage = https://github.com/odeke-em/drive;
description = "Google Drive client for the commandline";
license = licenses.asl20;
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/applications/networking/gdrive/default.nix b/pkgs/applications/networking/gdrive/default.nix
index f39fac2605a..d5ef1d7beaa 100644
--- a/pkgs/applications/networking/gdrive/default.nix
+++ b/pkgs/applications/networking/gdrive/default.nix
@@ -17,7 +17,7 @@ buildGoPackage rec {
meta = with stdenv.lib; {
homepage = https://github.com/prasmussen/gdrive;
description = "A command line utility for interacting with Google Drive";
- platforms = platforms.linux;
+ platforms = platforms.unix;
license = licenses.mit;
maintainers = [ maintainers.rzetterberg ];
};
diff --git a/pkgs/applications/networking/gns3/server.nix b/pkgs/applications/networking/gns3/server.nix
index 8daa5d166c5..8207c2cecfa 100644
--- a/pkgs/applications/networking/gns3/server.nix
+++ b/pkgs/applications/networking/gns3/server.nix
@@ -1,9 +1,9 @@
{ stable, branch, version, sha256Hash }:
-{ stdenv, python36, fetchFromGitHub }:
+{ stdenv, python3, fetchFromGitHub, fetchpatch }:
let
- python = if stable then python36.override {
+ python = if stable then python3.override {
packageOverrides = self: super: {
async-timeout = super.async-timeout.overridePythonAttrs (oldAttrs: rec {
version = "2.0.1";
@@ -31,7 +31,7 @@ let
++ stdenv.lib.optional (pythonOlder "3.5") typing;
});
};
- } else python36;
+ } else python3;
in python.pkgs.buildPythonPackage {
pname = "gns3-server";
@@ -44,9 +44,14 @@ in python.pkgs.buildPythonPackage {
sha256 = sha256Hash;
};
+ postPatch = ''
+ # "typing" is only required for Python 3.4 and breaks Python 3.7:
+ sed -iE "s/.*typing.*//" requirements.txt
+ '';
+
propagatedBuildInputs = with python.pkgs; [
aiohttp-cors yarl aiohttp multidict
- jinja2 psutil zipstream raven jsonschema typing
+ jinja2 psutil zipstream raven jsonschema
(python.pkgs.callPackage ../../../development/python-modules/prompt_toolkit/1.nix {})
] ++ stdenv.lib.optional (!stable) python.pkgs.distro;
diff --git a/pkgs/applications/networking/instant-messengers/profanity/default.nix b/pkgs/applications/networking/instant-messengers/profanity/default.nix
index ae2f6f10304..e131e4c7a3c 100644
--- a/pkgs/applications/networking/instant-messengers/profanity/default.nix
+++ b/pkgs/applications/networking/instant-messengers/profanity/default.nix
@@ -1,6 +1,7 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, openssl
, glibcLocales, expect, ncurses, libotr, curl, readline, libuuid
, cmocka, libmicrohttpd, stabber, expat, libmesode
+, autoconf-archive
, autoAwaySupport ? true, libXScrnSaver ? null, libX11 ? null
, notifySupport ? true, libnotify ? null, gdk_pixbuf ? null
@@ -32,7 +33,9 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
- nativeBuildInputs = [ autoreconfHook glibcLocales pkgconfig ];
+ nativeBuildInputs = [
+ autoreconfHook autoconf-archive glibcLocales pkgconfig
+ ];
buildInputs = [
expect readline libuuid glib openssl expat ncurses libotr
@@ -58,12 +61,6 @@ stdenv.mkDerivation rec {
LC_ALL = "en_US.utf8";
- NIX_CFLAGS_COMPILE = [ ]
- ++ optionals pythonPluginSupport [ "-I${python}/include/${python.libPrefix}" ];
-
- LDFLAGS = [ ]
- ++ optionals pythonPluginSupport [ "-L${python}/lib" "-l${python.libPrefix}" ];
-
meta = {
description = "A console based XMPP client";
longDescription = ''
diff --git a/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix b/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
index 668f466cf97..51561fa2233 100644
--- a/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
+++ b/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
@@ -56,11 +56,11 @@ let
in stdenv.mkDerivation rec {
name = "signal-desktop-${version}";
- version = "1.21.2";
+ version = "1.22.0";
src = fetchurl {
url = "https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/signal-desktop_${version}_amd64.deb";
- sha256 = "0nr9d4z9c451nbzhjz3a1szx490rw1r01qf84xw72z7d7awn25ci";
+ sha256 = "1j5kh0fvbl3nnxdpnwvamrnxfwbp6nzbij39b2lc5wp1m1yaaky5";
};
phases = [ "unpackPhase" "installPhase" ];
diff --git a/pkgs/applications/networking/instant-messengers/turses/default.nix b/pkgs/applications/networking/instant-messengers/turses/default.nix
index 1e7da4c119b..97f04eea2d7 100644
--- a/pkgs/applications/networking/instant-messengers/turses/default.nix
+++ b/pkgs/applications/networking/instant-messengers/turses/default.nix
@@ -36,6 +36,6 @@ buildPythonPackage rec {
description = "A Twitter client for the console";
license = licenses.gpl3;
maintainers = with maintainers; [ garbas ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix b/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix
index d5dc3282a1c..93bde0b05c9 100644
--- a/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix
+++ b/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix
@@ -43,7 +43,7 @@ let
xorg.libxcb
];
- version = "3.5.2881";
+ version = "3.6.2885";
plat = {
"i686-linux" = "i386";
@@ -51,8 +51,8 @@ let
}.${stdenv.hostPlatform.system};
sha256 = {
- "i686-linux" = "0s5j6acsiymsikvah9f1ywandzvcdx5m8csrc7ymhv0gx2a9xm1d";
- "x86_64-linux" = "17siis4xws27jmhf1gyb6cvip6clak27zxckyk0b312kkc4q363i";
+ "i686-linux" = "1lj2gjv69z94dj7b4zjhls420fs5zzxkdlwv25p2gp4lkv0v6l98";
+ "x86_64-linux" = "1dl88fpy8v3aprzdp1nnwg08sy7yiljqjnpnl3rw0h5nix6xmv9v";
}.${stdenv.hostPlatform.system};
in
@@ -60,7 +60,7 @@ in
name = "wire-desktop-${version}";
src = fetchurl {
- url = "https://wire-app.wire.com/linux/debian/pool/main/wire_${version}_${plat}.deb";
+ url = "https://wire-app.wire.com/linux/debian/pool/main/Wire-${version}_${plat}.deb";
inherit sha256;
};
@@ -103,9 +103,9 @@ in
meta = with stdenv.lib; {
description = "A modern, secure messenger";
- homepage = https://wire.com/;
- license = licenses.gpl3;
+ homepage = https://wire.com/;
+ license = licenses.gpl3;
maintainers = with maintainers; [ worldofpeace ];
- platforms = [ "i686-linux" "x86_64-linux" ];
+ platforms = [ "i686-linux" "x86_64-linux" ];
};
}
diff --git a/pkgs/applications/networking/mailreaders/mblaze/default.nix b/pkgs/applications/networking/mailreaders/mblaze/default.nix
index 86f945f369a..6356fcfc209 100644
--- a/pkgs/applications/networking/mailreaders/mblaze/default.nix
+++ b/pkgs/applications/networking/mailreaders/mblaze/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
name = "mblaze-${version}";
- version = "0.4";
+ version = "0.5";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv ];
@@ -10,11 +10,15 @@ stdenv.mkDerivation rec {
owner = "chneukirchen";
repo = "mblaze";
rev = "v${version}";
- sha256 = "15ac213a17mxni3bqvzxhiln65s4almrlmv72bbcgi7cymb303rp";
+ sha256 = "0fyvydafpz7vmwgn7hc4drm9sb7367smrd07wfyizpas0gmxw2j8";
};
makeFlags = "PREFIX=$(out)";
+ postInstall = ''
+ install -Dm644 -t $out/share/zsh/site-functions contrib/_mblaze
+ '';
+
meta = with stdenv.lib; {
homepage = https://github.com/chneukirchen/mblaze;
description = "Unix utilities to deal with Maildir";
diff --git a/pkgs/applications/networking/mailreaders/mutt/default.nix b/pkgs/applications/networking/mailreaders/mutt/default.nix
index 3afabb8bafb..dde0d480391 100644
--- a/pkgs/applications/networking/mailreaders/mutt/default.nix
+++ b/pkgs/applications/networking/mailreaders/mutt/default.nix
@@ -27,11 +27,11 @@ with stdenv.lib;
stdenv.mkDerivation rec {
name = "mutt-${version}";
- version = "1.11.2";
+ version = "1.11.3";
src = fetchurl {
url = "http://ftp.mutt.org/pub/mutt/${name}.tar.gz";
- sha256 = "08w7lbhj5ba2zkjcd0cxkgfiy9y82yhg731xjg9i9292kz1x8p6s";
+ sha256 = "0h8rmcc62n1pagm7mjjccd5fxyhhi4vbvp8m88digkdf5z0g8hm5";
};
patches = optional smimeSupport (fetchpatch {
diff --git a/pkgs/applications/networking/mailreaders/notmuch/default.nix b/pkgs/applications/networking/mailreaders/notmuch/default.nix
index 2fff46a1737..b6d552d96d5 100644
--- a/pkgs/applications/networking/mailreaders/notmuch/default.nix
+++ b/pkgs/applications/networking/mailreaders/notmuch/default.nix
@@ -83,7 +83,7 @@ stdenv.mkDerivation rec {
description = "Mail indexer";
homepage = https://notmuchmail.org/;
license = licenses.gpl3;
- maintainers = with maintainers; [ chaoflow flokli garbas the-kenny ];
+ maintainers = with maintainers; [ flokli garbas the-kenny ];
platforms = platforms.unix;
};
}
diff --git a/pkgs/applications/networking/owncloud-client/default.nix b/pkgs/applications/networking/owncloud-client/default.nix
index c142661fd03..6b85dbfa3cc 100644
--- a/pkgs/applications/networking/owncloud-client/default.nix
+++ b/pkgs/applications/networking/owncloud-client/default.nix
@@ -2,15 +2,13 @@
stdenv.mkDerivation rec {
name = "owncloud-client-${version}";
- version = "2.4.3";
+ version = "2.5.3.11470";
src = fetchurl {
url = "https://download.owncloud.com/desktop/stable/owncloudclient-${version}.tar.xz";
- sha256 = "1gz6xg1vm054ksrsakzfkzxgpskm0xkhsqwq0fj3i2kas09zzczk";
+ sha256 = "0cznis8qadsnlgm046lxn8vmbxli6zp4b8nk93n53mkfxlcw355n";
};
- patches = [ ./find-sql.patch ];
-
nativeBuildInputs = [ pkgconfig cmake ];
buildInputs = [ qtbase qtwebkit qtkeychain sqlite ];
diff --git a/pkgs/applications/networking/owncloud-client/find-sql.patch b/pkgs/applications/networking/owncloud-client/find-sql.patch
deleted file mode 100644
index 44dea6414e9..00000000000
--- a/pkgs/applications/networking/owncloud-client/find-sql.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-*** a/cmake/modules/QtVersionAbstraction.cmake
---- b/cmake/modules/QtVersionAbstraction.cmake
-***************
-*** 8,13 ****
---- 8,14 ----
- find_package(Qt5Core REQUIRED)
- find_package(Qt5Network REQUIRED)
- find_package(Qt5Xml REQUIRED)
-+ find_package(Qt5Sql REQUIRED)
- find_package(Qt5Concurrent REQUIRED)
- if(UNIT_TESTING)
- find_package(Qt5Test REQUIRED)
diff --git a/pkgs/applications/networking/sync/rclone/default.nix b/pkgs/applications/networking/sync/rclone/default.nix
index af01b89dc76..c4b434dcaa4 100644
--- a/pkgs/applications/networking/sync/rclone/default.nix
+++ b/pkgs/applications/networking/sync/rclone/default.nix
@@ -1,8 +1,8 @@
-{ stdenv, buildGoPackage, fetchFromGitHub }:
+{ stdenv, buildGoPackage, fetchFromGitHub, fetchpatch }:
buildGoPackage rec {
- name = "rclone-${version}";
- version = "1.45";
+ pname = "rclone";
+ version = "1.46";
goPackagePath = "github.com/ncw/rclone";
subPackages = [ "." ];
@@ -11,11 +11,19 @@ buildGoPackage rec {
owner = "ncw";
repo = "rclone";
rev = "v${version}";
- sha256 = "06xg0ibv9pnrnmabh1kblvxx1pk8h5rmkr9mjbymv497sx3zgz26";
+ sha256 = "1fl52dl41n76r678nzkxa2kgk9khn1fxraxgk8jd3ayc787qs9ia";
};
outputs = [ "bin" "out" "man" ];
+ # https://github.com/ncw/rclone/issues/2964
+ patches = [
+ (fetchpatch {
+ url = "https://github.com/ncw/rclone/commit/1c1a8ef24bea9332c6c450379ed3c5d953e07508.patch";
+ sha256 = "0mq74z78lc3dhama303k712xkzz9q6p7zqlbwbl04bndqlkny03k";
+ })
+ ];
+
postInstall = ''
install -D -m644 $src/rclone.1 $man/share/man/man1/rclone.1
'';
diff --git a/pkgs/applications/networking/weather/meteo/default.nix b/pkgs/applications/networking/weather/meteo/default.nix
index 67418838d74..74a1b571406 100644
--- a/pkgs/applications/networking/weather/meteo/default.nix
+++ b/pkgs/applications/networking/weather/meteo/default.nix
@@ -1,24 +1,22 @@
{ stdenv, fetchFromGitLab, vala, python3, pkgconfig, meson, ninja, gtk3
, json-glib, libsoup, clutter, clutter-gtk, libchamplain, webkitgtk, geocode-glib
-, libappindicator, desktop-file-utils, appstream, gobject-introspection, wrapGAppsHook }:
+, libappindicator, desktop-file-utils, appstream, gobject-introspection, wrapGAppsHook
+, hicolor-icon-theme }:
stdenv.mkDerivation rec {
pname = "meteo";
- version = "0.8.5";
-
- name = "${pname}-${version}";
+ version = "0.9.6";
src = fetchFromGitLab {
owner = "bitseater";
repo = pname;
rev = version;
- sha256 = "1mc2djhkg0nzcjmy87l1wqwni48vgpqh8s1flr90pipk12a1mh7n";
+ sha256 = "1786s5637hc3dnnkf5vr2ngfiq73dyvx8187gx7qkh7cr8xrl50w";
};
nativeBuildInputs = [
appstream
desktop-file-utils
- gobject-introspection
meson
ninja
pkgconfig
@@ -28,13 +26,11 @@ stdenv.mkDerivation rec {
];
buildInputs = [
- clutter
- clutter-gtk
geocode-glib
gtk3
+ hicolor-icon-theme
json-glib
libappindicator
- libchamplain
libsoup
webkitgtk
];
diff --git a/pkgs/applications/networking/znc/default.nix b/pkgs/applications/networking/znc/default.nix
index 2f736dd5856..472f6c13c56 100644
--- a/pkgs/applications/networking/znc/default.nix
+++ b/pkgs/applications/networking/znc/default.nix
@@ -13,11 +13,11 @@ with stdenv.lib;
stdenv.mkDerivation rec {
name = "znc-${version}";
- version = "1.7.1";
+ version = "1.7.2";
src = fetchurl {
url = "https://znc.in/releases/archive/${name}.tar.gz";
- sha256 = "1i1r1lh9q2mr1bg520zrvrlwhrhy6wibrin78wjxq1gab1qymks4";
+ sha256 = "1ac2csl5jr56vahnxdynlvrhwlvcc1gqxvyifckc6cn5aj7ygd30";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/office/notes-up/default.nix b/pkgs/applications/office/notes-up/default.nix
new file mode 100644
index 00000000000..2dee39a0ad3
--- /dev/null
+++ b/pkgs/applications/office/notes-up/default.nix
@@ -0,0 +1,46 @@
+{ stdenv, fetchFromGitHub, pantheon, pkgconfig, cmake, ninja, gtk3, gtksourceview3, webkitgtk, gtkspell3, glib, libgee, sqlite, discount, wrapGAppsHook
+, withPantheon ? false }:
+
+stdenv.mkDerivation rec {
+ pname = "notes-up";
+ version = "1.6.3";
+
+ src = fetchFromGitHub {
+ owner = "Philip-Scott";
+ repo = "Notes-up";
+ rev = version;
+ sha256 = "06fzdb823kkami0jch9ccblsvw3x7zd1d4xz8fv3giscl3f36x4q";
+ };
+
+ nativeBuildInputs = [
+ cmake
+ ninja
+ pantheon.vala
+ pkgconfig
+ wrapGAppsHook
+ ];
+
+ buildInputs = [
+ discount
+ glib
+ gtk3
+ gtksourceview3
+ gtkspell3
+ libgee
+ pantheon.granite
+ sqlite
+ webkitgtk
+ ];
+
+ # Whether to build with contractor support (Pantheon specific)
+ cmakeFlags = if withPantheon then null else [ "-Dnoele=yes" ];
+
+ meta = with stdenv.lib; {
+ description = "Markdown notes editor and manager designed for elementary OS"
+ + stdenv.lib.optionalString withPantheon " - built with Contractor support";
+ homepage = https://github.com/Philip-Scott/Notes-up;
+ license = licenses.gpl2;
+ maintainers = with maintainers; [ davidak worldofpeace ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/applications/office/qnotero/default.nix b/pkgs/applications/office/qnotero/default.nix
index ad571cd8b18..b317838f672 100644
--- a/pkgs/applications/office/qnotero/default.nix
+++ b/pkgs/applications/office/qnotero/default.nix
@@ -28,7 +28,7 @@ python3Packages.buildPythonPackage rec {
description = "Quick access to Zotero references";
homepage = http://www.cogsci.nl/software/qnotero;
license = stdenv.lib.licenses.gpl2;
- platforms = stdenv.lib.platforms.linux;
+ platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.nico202 ];
};
}
diff --git a/pkgs/applications/office/zim/default.nix b/pkgs/applications/office/zim/default.nix
index a3e2bdd4d1e..48027c194da 100644
--- a/pkgs/applications/office/zim/default.nix
+++ b/pkgs/applications/office/zim/default.nix
@@ -9,11 +9,11 @@
python2Packages.buildPythonApplication rec {
name = "zim-${version}";
- version = "0.69";
+ version = "0.69.1";
src = fetchurl {
url = "http://zim-wiki.org/downloads/${name}.tar.gz";
- sha256 = "1j04l1914iw87b0jd3r1czrh0q491fdgbqbi0biacxiri5q0i6a1";
+ sha256 = "1yzb8x4mjp96zshcw7xbd4mvqn8zmbcm7cndskpxyk5yccyn5awq";
};
propagatedBuildInputs = with python2Packages; [ pyGtkGlade pyxdg pygobject2 ];
diff --git a/pkgs/applications/science/machine-learning/sc2-headless/default.nix b/pkgs/applications/science/machine-learning/sc2-headless/default.nix
index ced075ff432..c0536b36cfe 100644
--- a/pkgs/applications/science/machine-learning/sc2-headless/default.nix
+++ b/pkgs/applications/science/machine-learning/sc2-headless/default.nix
@@ -33,8 +33,9 @@ in stdenv.mkDerivation rec {
cp -r . "$out"
rm -r $out/Libs
- cp -r "${maps.minigames}"/* "${maps.melee}"/* "${maps.ladder2017season1}"/* "${maps.ladder2017season2}"/* "${maps.ladder2017season3}"/* \
- "${maps.ladder2017season4}"/* "${maps.ladder2018season1}"/* "${maps.ladder2018season2}"/* "$out"/Maps/
+ cp -ur "${maps.minigames}"/* "${maps.melee}"/* "${maps.ladder2017season1}"/* "${maps.ladder2017season2}"/* "${maps.ladder2017season3}"/* \
+ "${maps.ladder2017season4}"/* "${maps.ladder2018season1}"/* "${maps.ladder2018season2}"/* \
+ "${maps.ladder2018season3}"/* "${maps.ladder2018season4}"/* "${maps.ladder2019season1}"/* "$out"/Maps/
'';
preFixup = ''
diff --git a/pkgs/applications/science/machine-learning/sc2-headless/maps.nix b/pkgs/applications/science/machine-learning/sc2-headless/maps.nix
index 228bafe3f7c..c71099ad6a7 100644
--- a/pkgs/applications/science/machine-learning/sc2-headless/maps.nix
+++ b/pkgs/applications/science/machine-learning/sc2-headless/maps.nix
@@ -1,7 +1,7 @@
-{ fetchzip
+{ fetchzip, unzip
}:
let
- fetchzip' = args: (fetchzip args).overrideAttrs (old: { UNZIP = "-P iagreetotheeula"; });
+ fetchzip' = args: (fetchzip args).overrideAttrs (old: { UNZIP = "-j -P iagreetotheeula"; });
in
{
minigames = fetchzip {
@@ -17,32 +17,47 @@ in
};
ladder2017season1 = fetchzip' {
url = "http://blzdistsc2-a.akamaihd.net/MapPacks/Ladder2017Season1.zip";
- sha256 = "194p0mb0bh63sjy84q21x4v5pb6d7hidivfi28aalr2gkwhwqfvh";
+ sha256 = "0ngg4g74s2ryhylny93fm8yq9rlrhphwnjg2s6f3qr85a2b3zdpd";
stripRoot = false;
};
ladder2017season2 = fetchzip' {
url = "http://blzdistsc2-a.akamaihd.net/MapPacks/Ladder2017Season2.zip";
- sha256 = "1pvp7zi16326x3l45mk7s959ggnkg2j1w9rfmaxxa8mawr9c6i39";
+ sha256 = "01kycnvqagql9pkjkcgngfcnry2pc4kcygdkk511m0qr34909za5";
stripRoot = false;
};
ladder2017season3 = fetchzip' {
url = "http://blzdistsc2-a.akamaihd.net/MapPacks/Ladder2017Season3_Updated.zip";
- sha256 = "1sjskfp6spmh7l2za1z55v7binx005qxw3w11xdvjpn20cyhkh8a";
+ sha256 = "0wix3lwmbyxfgh8ldg0n66i21p0dbavk2dxjngz79rx708m8qvld";
stripRoot = false;
};
ladder2017season4 = fetchzip' {
url = "http://blzdistsc2-a.akamaihd.net/MapPacks/Ladder2017Season4.zip";
- sha256 = "1zf4mfq6r1ylf8bmd0qpv134dcrfgrsi4afxfqwnf39ijdq4z26g";
+ sha256 = "1sidnmk2rc9j5fd3a4623pvaika1mm1rwhznb2qklsqsq1x2qckp";
stripRoot = false;
};
ladder2018season1 = fetchzip' {
url = "http://blzdistsc2-a.akamaihd.net/MapPacks/Ladder2018Season1.zip";
- sha256 = "0p51xj98qg816qm9ywv9zar5llqvqs6bcyns6d5fp2j39fg08v6f";
+ sha256 = "0mp0ilcq0gmd7ahahc5i8c7bdr3ivk6skx0b2cgb1z89l5d76irq";
stripRoot = false;
};
ladder2018season2 = fetchzip' {
url = "http://blzdistsc2-a.akamaihd.net/MapPacks/Ladder2018Season2_Updated.zip";
- sha256 = "1wjn6vpbymjvjxqf10h7az34fnmhb5dpi878nsydlax25v9lgzqx";
+ sha256 = "176rs848cx5src7qbr6dnn81bv1i86i381fidk3v81q9bxlmc2rv";
+ stripRoot = false;
+ };
+ ladder2018season3 = fetchzip' {
+ url = "http://blzdistsc2-a.akamaihd.net/MapPacks/Ladder2018Season3.zip";
+ sha256 = "1r3wv4w53g9zq6073ajgv74prbdsd1x3zfpyhv1kpxbffyr0x0zp";
+ stripRoot = false;
+ };
+ ladder2018season4 = fetchzip' {
+ url = "http://blzdistsc2-a.akamaihd.net/MapPacks/Ladder2018Season4.zip";
+ sha256 = "0k47rr6pzxbanlqnhliwywkvf0w04c8hxmbanksbz6aj5wpkcn1s";
+ stripRoot = false;
+ };
+ ladder2019season1 = fetchzip' {
+ url = "http://blzdistsc2-a.akamaihd.net/MapPacks/Ladder2019Season1.zip";
+ sha256 = "1dlk9zza8h70lbjvg2ykc5wr9vsvvdk02szwrkgdw26mkssl2rg9";
stripRoot = false;
};
}
diff --git a/pkgs/applications/science/math/gmsh/default.nix b/pkgs/applications/science/math/gmsh/default.nix
index 694c621db00..76e5071908f 100644
--- a/pkgs/applications/science/math/gmsh/default.nix
+++ b/pkgs/applications/science/math/gmsh/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchurl, cmake, openblasCompat, gfortran, gmm, fltk, libjpeg
, zlib, libGLU_combined, libGLU, xorg }:
-let version = "4.1.3"; in
+let version = "4.1.5"; in
stdenv.mkDerivation {
name = "gmsh-${version}";
src = fetchurl {
url = "http://gmsh.info/src/gmsh-${version}-source.tgz";
- sha256 = "0padylvicyhcm4vqkizpknjfw8qxh39scw3mj5xbs9bs8c442kmx";
+ sha256 = "654d38203f76035a281006b77dcb838987a44fd549287f11c53a1e9cdf598f46";
};
buildInputs = [ cmake openblasCompat gmm fltk libjpeg zlib libGLU_combined
diff --git a/pkgs/applications/version-management/git-and-tools/pre-commit/default.nix b/pkgs/applications/version-management/git-and-tools/pre-commit/default.nix
index 331b020d8ca..b5edd256256 100644
--- a/pkgs/applications/version-management/git-and-tools/pre-commit/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/pre-commit/default.nix
@@ -1,11 +1,12 @@
{ stdenv, python3Packages }:
with python3Packages; buildPythonApplication rec {
- pname = "pre_commit";
- version = "1.11.1";
+ pname = "pre-commit";
+ version = "1.14.2";
src = fetchPypi {
- inherit pname version;
- sha256 = "1kjrq8z78b6aqhyyw07dlwf6cqls88kik6f5l07hs71fj5ddvs9w";
+ inherit version;
+ pname = "pre_commit";
+ sha256 = "010fwih91gbc20hm2hmkyicm2a2xwrjjg4r4wv24x3n7zn4abdrc";
};
propagatedBuildInputs = [
@@ -17,7 +18,9 @@ with python3Packages; buildPythonApplication rec {
six
toml
virtualenv
- ];
+ importlib-metadata
+ ] ++ stdenv.lib.optional (pythonOlder "3.7") importlib-resources
+ ++ stdenv.lib.optional (pythonOlder "3.2") futures;
# Tests fail due to a missing windll dependency
doCheck = false;
diff --git a/pkgs/applications/version-management/mercurial/default.nix b/pkgs/applications/version-management/mercurial/default.nix
index 67baa98d21e..fc4c18f5eb7 100644
--- a/pkgs/applications/version-management/mercurial/default.nix
+++ b/pkgs/applications/version-management/mercurial/default.nix
@@ -4,7 +4,7 @@
let
# if you bump version, update pkgs.tortoisehg too or ping maintainer
- version = "4.8.2";
+ version = "4.9";
name = "mercurial-${version}";
inherit (python2Packages) docutils hg-git dulwich python;
in python2Packages.buildPythonApplication {
@@ -13,7 +13,7 @@ in python2Packages.buildPythonApplication {
src = fetchurl {
url = "https://mercurial-scm.org/release/${name}.tar.gz";
- sha256 = "1cpx8nf6vcqz92kx6b5c4900pcay8zb89gvy8y33prh5rywjq83c";
+ sha256 = "01ig0464cvy9d87rn274g39frxr0p5q4lxf1xn5k3m24grf0qq0g";
};
inherit python; # pass it so that the same version can be used in hg2git
diff --git a/pkgs/applications/video/handbrake/default.nix b/pkgs/applications/video/handbrake/default.nix
index b17ba7e19f4..77ee2bc10f8 100644
--- a/pkgs/applications/video/handbrake/default.nix
+++ b/pkgs/applications/video/handbrake/default.nix
@@ -3,7 +3,7 @@
# Derivation patches HandBrake to use Nix closure dependencies.
#
-{ stdenv, lib, fetchurl, callPackage,
+{ stdenv, lib, fetchurl,
# Main build tools
python2, pkgconfig, autoconf, automake, cmake, nasm, libtool, m4,
# Processing, video codecs, containers
@@ -30,11 +30,11 @@
stdenv.mkDerivation rec {
pname = "handbrake";
- version = "1.2.1";
+ version = "1.2.2";
src = fetchurl {
url = ''https://download2.handbrake.fr/${version}/HandBrake-${version}-source.tar.bz2'';
- sha256 = "0gbqzar49c8ygz6chnsz65xgsdcwr60lbc8ivnw8i6xjggn6wc80";
+ sha256 = "0k2yaqy7zi06k8mkp9az2mn9dlgj3a1339vacakfh2nn2zsics6z";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/video/kodi/default.nix b/pkgs/applications/video/kodi/default.nix
index 05105b64af7..24a1f07fb0d 100644
--- a/pkgs/applications/video/kodi/default.nix
+++ b/pkgs/applications/video/kodi/default.nix
@@ -18,7 +18,7 @@
, libcec, libcec_platform, dcadec, libuuid
, libcrossguid, libmicrohttpd
, bluez, doxygen, giflib, glib, harfbuzz, lcms2, libidn, libpthreadstubs, libtasn1, libXdmcp
-, libplist, p11-kit, zlib
+, libplist, p11-kit, zlib, flatbuffers, fmt, fstrcmp, rapidjson
, dbusSupport ? true, dbus ? null
, joystickSupport ? true, cwiid ? null
, nfsSupport ? true, libnfs ? null
@@ -40,21 +40,18 @@ assert usbSupport -> libusb != null && ! udevSupport; # libusb won't be used i
assert vdpauSupport -> libvdpau != null;
# TODO for Kodi 18.0
-# - cmake is no longer in project/cmake
-# - maybe we can remove auto{conf,make} and libtool from inputs
# - check if dbus support PR has been merged and add dbus as a buildInput
-# - try to use system ffmpeg (kodi 17 works best with bundled 3.1 with patches)
let
- kodiReleaseDate = "20171115";
- kodiVersion = "17.6";
- rel = "Krypton";
+ kodiReleaseDate = "20190129";
+ kodiVersion = "18.0";
+ rel = "Leia";
kodi_src = fetchFromGitHub {
owner = "xbmc";
repo = "xbmc";
rev = "${kodiVersion}-${rel}";
- sha256 = "1pwmmbry7dajwdpmc1mdygjvxna4kl38h32d71g10yf3mdm5wmz3";
+ sha256 = "1ci5jjvqly01lysdp6j6jrnn49z4is9z5kan5zl3cpqm9w7rqarg";
};
kodiDependency = { name, version, rev, sha256, ... } @attrs:
@@ -72,9 +69,9 @@ let
ffmpeg = kodiDependency rec {
name = "FFmpeg";
- version = "3.1.11";
- rev = "${version}-${rel}-17.5"; # TODO: change 17.5 back to ${kodiVersion}
- sha256 = "0nc4sb6v1g3l11v9h5l9n44a8r40186rcbp2xg5c7vg6wcpjid13";
+ version = "4.0.3";
+ rev = "${version}-${rel}-RC5";
+ sha256 = "0l20bysv2y711khwpnpw4dz6mzd37qllki3fnv4dx1lj8ivydrlx";
preConfigure = ''
cp ${kodi_src}/tools/depends/target/ffmpeg/{CMakeLists.txt,*.cmake} .
'';
@@ -86,29 +83,29 @@ let
# we should be able to build these externally and have kodi reference them as buildInputs.
# Doesn't work ATM though so we just use them for the src
- libdvdcss = kodiDependency {
+ libdvdcss = kodiDependency rec {
name = "libdvdcss";
- version = "20160215";
- rev = "2f12236bc1c92f73c21e973363f79eb300de603f";
- sha256 = "198r0q73i55ga1dvyqq9nfcri0zq08b94hy8671lg14i3izx44dd";
+ version = "1.4.2";
+ rev = "${version}-${rel}-Beta-5";
+ sha256 = "0j41ydzx0imaix069s3z07xqw9q95k7llh06fc27dcn6f7b8ydyl";
buildInputs = [ libdvdread ];
nativeBuildInputs = [ autoreconfHook pkgconfig ];
};
- libdvdnav = kodiDependency {
+ libdvdnav = kodiDependency rec {
name = "libdvdnav";
- version = "20170217";
- rev = "981488f7f27554b103cca10c1fbeba027396c94a";
- sha256 = "089pswc51l3avh95zl4cpsh7gh1innh7b2y4xgx840mcmy46ycr8";
+ version = "6.0.0";
+ rev = "${version}-${rel}-Alpha-3";
+ sha256 = "0qwlf4lgahxqxk1r2pzl866mi03pbp7l1fc0rk522sc0ak2s9jhb";
buildInputs = [ libdvdread ];
nativeBuildInputs = [ autoreconfHook pkgconfig ];
};
- libdvdread = kodiDependency {
+ libdvdread = kodiDependency rec {
name = "libdvdread";
- version = "20160221";
- rev = "17d99db97e7b8f23077b342369d3c22a6250affd";
- sha256 = "1gr5aq1cjr3as9mnwrw29cxn4m6f6pfrxdahkdcjy70q3ldg90sl";
+ version = "6.0.0";
+ rev = "${version}-${rel}-Alpha-3";
+ sha256 = "1xxn01mhkdnp10cqdr357wx77vyzfb5glqpqyg8m0skyi75aii59";
nativeBuildInputs = [ autoreconfHook pkgconfig ];
};
@@ -136,7 +133,7 @@ in stdenv.mkDerivation rec {
libgcrypt libgpgerror libunistring
libcrossguid cwiid libplist
bluez giflib glib harfbuzz lcms2 libpthreadstubs libXdmcp
- ffmpeg
+ ffmpeg flatbuffers fmt fstrcmp rapidjson
# libdvdcss libdvdnav libdvdread
]
++ lib.optional dbusSupport dbus
@@ -176,14 +173,10 @@ in stdenv.mkDerivation rec {
doCheck = false;
postPatch = ''
- substituteInPlace xbmc/linux/LinuxTimezone.cpp \
+ substituteInPlace xbmc/platform/linux/LinuxTimezone.cpp \
--replace 'usr/share/zoneinfo' 'etc/zoneinfo'
'';
- preConfigure = ''
- cd project/cmake
- '';
-
postInstall = ''
for p in $(ls $out/bin/) ; do
wrapProgram $out/bin/$p \
@@ -209,6 +202,6 @@ in stdenv.mkDerivation rec {
homepage = https://kodi.tv/;
license = licenses.gpl2;
platforms = platforms.linux;
- maintainers = with maintainers; [ domenkozar titanous edwtjo peterhoeg ];
+ maintainers = with maintainers; [ domenkozar titanous edwtjo peterhoeg sephalon ];
};
}
diff --git a/pkgs/applications/video/kodi/plugins.nix b/pkgs/applications/video/kodi/plugins.nix
index 196852933a9..29fbf79c662 100644
--- a/pkgs/applications/video/kodi/plugins.nix
+++ b/pkgs/applications/video/kodi/plugins.nix
@@ -1,13 +1,14 @@
{ stdenv, callPackage, fetchurl, fetchFromGitHub, unzip
-, cmake, kodiPlain, libcec_platform, tinyxml
+, cmake, kodiPlain, libcec_platform, tinyxml, rapidxml
, steam, libusb, pcre-cpp, jsoncpp, libhdhomerun, zlib
-, python2Packages }:
+, python2Packages, expat, glib, nspr, nss }:
with stdenv.lib;
let self = rec {
pluginDir = "/share/kodi/addons";
+ rel = "Leia";
kodi = kodiPlain;
@@ -54,6 +55,8 @@ let self = rec {
dontStrip = true;
+ extraRuntimeDependencies = [ ];
+
installPhase = ''
${if isNull sourceDir then "" else "cd $src/$sourceDir"}
d=$out${pluginDir}/${namespace}
@@ -64,7 +67,8 @@ let self = rec {
'';
} // args));
- mkKodiABIPlugin = { plugin, namespace, version, extraBuildInputs ? [], ... }@args:
+ mkKodiABIPlugin = { plugin, namespace, version, extraBuildInputs ? [],
+ extraRuntimeDependencies ? [], extraInstallPhase ? "", ... }@args:
toKodiPlugin (stdenv.mkDerivation (rec {
name = "kodi-plugin-${plugin}-${version}";
@@ -73,6 +77,8 @@ let self = rec {
buildInputs = [ cmake kodiPlain kodi-platform libcec_platform ]
++ extraBuildInputs;
+ inherit extraRuntimeDependencies;
+
# disables check ensuring install prefix is that of kodi
cmakeFlags = [
"-DOVERRIDE_PATHS=1"
@@ -84,6 +90,7 @@ let self = rec {
installPhase = let n = namespace; in ''
make install
ln -s $out/lib/addons/${n}/${n}.so.${version} $out${pluginDir}/${n}/${n}.so.${version}
+ ${extraInstallPhase}
'';
} // args));
@@ -212,14 +219,14 @@ let self = rec {
joystick = mkKodiABIPlugin rec {
namespace = "peripheral.joystick";
- version = "1.3.2";
+ version = "1.4.7";
plugin = namespace;
src = fetchFromGitHub {
- owner = "kodi-game";
+ owner = "xbmc";
repo = namespace;
- rev = "96171dd32899553ffe8fc775fca66e8df5ff5cf1";
- sha256 = "18m61v8z9fbh4imvzhh4g9629r9df49g2yk9ycaczirg131dhfbh";
+ rev = "v${version}";
+ sha256 = "03gsp4kg41s3n4ib4wsv7m3krfipgwc2z07i4mnd5zvg0c4xrmap";
};
meta = {
@@ -282,14 +289,14 @@ let self = rec {
steam-controller = mkKodiABIPlugin rec {
namespace = "peripheral.steamcontroller";
- version = "0.9.0";
+ version = "0.10.0";
plugin = namespace;
src = fetchFromGitHub {
owner = "kodi-game";
repo = namespace;
- rev = "76f640fad4f68118f4fab6c4c3338d13daca7074";
- sha256 = "0yqlfdiiymb8z6flyhpval8w3kdc9qv3mli3jg1xn5ac485nxsxh";
+ rev = "ea345392ab5aa4485f3a48d2037fa8a8e8ab82de";
+ sha256 = "1hbd8fdvn7xkr9csz1g9wah78nhnq1rkazl4zwa31y70830k3279";
};
extraBuildInputs = [ libusb ];
@@ -355,13 +362,13 @@ let self = rec {
plugin = "pvr-hts";
namespace = "pvr.hts";
- version = "3.4.16";
+ version = "4.4.14";
src = fetchFromGitHub {
owner = "kodi-pvr";
repo = "pvr.hts";
- rev = "b39e4e9870d68841279cbc7d7214f3ad9b27f330";
- sha256 = "0pmlgqr4kd0gvckz77mj6v42kcx6lb23anm8jnf2fbn877snnijx";
+ rev = "${version}-${rel}";
+ sha256 = "1bcwcwd2yjhw85yk6lyhf0iqiclrsz7r7vpbxgc650fwqbb146gr";
};
meta = {
@@ -377,13 +384,13 @@ let self = rec {
plugin = "pvr-hdhomerun";
namespace = "pvr.hdhomerun";
- version = "2.4.7";
+ version = "3.5.0";
src = fetchFromGitHub {
owner = "kodi-pvr";
repo = "pvr.hdhomerun";
- rev = "60d89d16dd953d38947e8a6da2f8bb84a0f764ef";
- sha256 = "0dvdv0vk2q12nj0i5h51iaypy3i7jfsxjyxwwpxfy82y8260ragy";
+ rev = "${version}-${rel}";
+ sha256 = "1zrkvfn0im2qmvqm93pa3cg8xkxv61sxlj8nsz4r5z9v9nhqadf6";
};
meta = {
@@ -401,13 +408,13 @@ let self = rec {
plugin = "pvr-iptvsimple";
namespace = "pvr.iptvsimple";
- version = "2.4.14";
+ version = "3.5.7";
src = fetchFromGitHub {
owner = "kodi-pvr";
repo = "pvr.iptvsimple";
- rev = "2a649d7e21b64c4fa4a8b14c2cc139261eebc7e8";
- sha256 = "1f1im2gachrxnr3z96h5cg2c13vapgkvkdwvrbl4hxlnyp1a6jyz";
+ rev = "${version}-${rel}";
+ sha256 = "17znib7c491h2ii4gagxradh0jyvgga0d548gbk4yjj2nc9qqc6d";
};
meta = {
@@ -418,7 +425,7 @@ let self = rec {
license = licenses.gpl2Plus;
};
- extraBuildInputs = [ zlib ];
+ extraBuildInputs = [ zlib rapidxml ];
};
osmc-skin = mkKodiPlugin rec {
@@ -470,4 +477,33 @@ let self = rec {
};
});
+ inputstream-adaptive = mkKodiABIPlugin rec {
+
+ plugin = "inputstream-adaptive";
+ namespace = "inputstream.adaptive";
+ version = "2.3.12";
+
+ src = fetchFromGitHub {
+ owner = "peak3d";
+ repo = "inputstream.adaptive";
+ rev = "${version}";
+ sha256 = "09d9b35mpaf3g5m51viyan9hv7d2i8ndvb9wm0j7rs5gwsf0k71z";
+ };
+
+ extraBuildInputs = [ expat ];
+
+ extraRuntimeDependencies = [ glib nspr nss stdenv.cc.cc.lib ];
+
+ extraInstallPhase = let n = namespace; in ''
+ ln -s $out/lib/addons/${n}/libssd_wv.so $out/${pluginDir}/${n}/libssd_wv.so
+ '';
+
+ meta = {
+ homepage = https://github.com/peak3d/inputstream.adaptive;
+ description = "Kodi inputstream addon for several manifest types";
+ platforms = platforms.all;
+ maintainers = with maintainers; [ sephalon ];
+ };
+ };
+
}; in self
diff --git a/pkgs/applications/video/kodi/wrapper.nix b/pkgs/applications/video/kodi/wrapper.nix
index d0dc9274a10..b4365eed949 100644
--- a/pkgs/applications/video/kodi/wrapper.nix
+++ b/pkgs/applications/video/kodi/wrapper.nix
@@ -14,7 +14,10 @@ buildEnv {
do
makeWrapper ${kodi}/bin/$exe $out/bin/$exe \
--prefix PYTHONPATH : ${kodi.pythonPackages.makePythonPath plugins} \
- --prefix KODI_HOME : $out/share/kodi
+ --prefix KODI_HOME : $out/share/kodi \
+ --prefix LD_LIBRARY_PATH ":" "${lib.makeLibraryPath
+ (stdenv.lib.concatMap
+ (plugin: plugin.extraRuntimeDependencies) plugins)}"
done
'';
diff --git a/pkgs/applications/video/mediathekview/default.nix b/pkgs/applications/video/mediathekview/default.nix
index 34efffc21d7..cceed556f97 100644
--- a/pkgs/applications/video/mediathekview/default.nix
+++ b/pkgs/applications/video/mediathekview/default.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
description = "Offers access to the Mediathek of different tv stations (ARD, ZDF, Arte, etc.)";
homepage = https://mediathekview.de/;
license = licenses.gpl3;
- maintainers = with maintainers; [ chaoflow moredread ];
+ maintainers = with maintainers; [ moredread ];
platforms = platforms.all;
};
}
diff --git a/pkgs/applications/virtualization/ecs-agent/default.nix b/pkgs/applications/virtualization/ecs-agent/default.nix
index 711838b2944..ab971fe64c9 100644
--- a/pkgs/applications/virtualization/ecs-agent/default.nix
+++ b/pkgs/applications/virtualization/ecs-agent/default.nix
@@ -19,7 +19,7 @@ buildGoPackage rec {
description = "The agent that runs on AWS EC2 container instances and starts containers on behalf of Amazon ECS";
homepage = "https://github.com/aws/amazon-ecs-agent";
license = licenses.asl20;
- platforms = platforms.linux;
+ platforms = platforms.unix;
maintainers = with maintainers; [ copumpkin ];
};
}
diff --git a/pkgs/applications/virtualization/firecracker/default.nix b/pkgs/applications/virtualization/firecracker/default.nix
index f277bafa214..778006a40f0 100644
--- a/pkgs/applications/virtualization/firecracker/default.nix
+++ b/pkgs/applications/virtualization/firecracker/default.nix
@@ -1,7 +1,7 @@
{ fetchurl, stdenv }:
let
- version = "0.14.0";
+ version = "0.15.0";
baseurl = "https://github.com/firecracker-microvm/firecracker/releases/download";
fetchbin = name: sha256: fetchurl {
@@ -9,8 +9,8 @@ let
inherit sha256;
};
- firecracker-bin = fetchbin "firecracker" "02d7s2hzhl13k5linlav7yc4kg9v70sccc3ysfgaqq8hz7zfqywg";
- jailer-bin = fetchbin "jailer" "120n14zjnm21s39dza99p003bn5n0n5fzcyaw4l6laq336r24gvi";
+ firecracker-bin = fetchbin "firecracker" "06b9pj9s4i0wqbh24frsza2j28n7qflp623vwvar5k18jq6jixd0";
+ jailer-bin = fetchbin "jailer" "17nbsg3yi9rif9qxgp483b2qx0jn2sn1hlvk63gl8m54mnxzmcr3";
in
stdenv.mkDerivation {
name = "firecracker-${version}";
diff --git a/pkgs/applications/virtualization/virtualbox/default.nix b/pkgs/applications/virtualization/virtualbox/default.nix
index 8304dd15597..bd148733bc5 100644
--- a/pkgs/applications/virtualization/virtualbox/default.nix
+++ b/pkgs/applications/virtualization/virtualbox/default.nix
@@ -19,9 +19,10 @@ with stdenv.lib;
let
python = python2;
buildType = "release";
- # Remember to change the extpackRev and version in extpack.nix as well.
- main = "1m48ywa913g6zgqslvrihxs2fbr4gmljypbdpjma2hck6isyi02m";
- version = "5.2.22";
+ # Remember to change the extpackRev and version in extpack.nix and
+ # guest-additions/default.nix as well.
+ main = "0rylf1g0vmv0q19iyvyq4dj5h9yvyqqnmmqaqrx93qrv8s1ybssd";
+ version = "5.2.26";
in stdenv.mkDerivation {
name = "virtualbox-${version}";
diff --git a/pkgs/applications/virtualization/virtualbox/extpack.nix b/pkgs/applications/virtualization/virtualbox/extpack.nix
index d2c513e899a..96b4c7a8fbb 100644
--- a/pkgs/applications/virtualization/virtualbox/extpack.nix
+++ b/pkgs/applications/virtualization/virtualbox/extpack.nix
@@ -2,7 +2,7 @@
with lib;
-let version = "5.2.22";
+let version = "5.2.26";
in
fetchurl rec {
name = "Oracle_VM_VirtualBox_Extension_Pack-${version}.vbox-extpack";
@@ -10,7 +10,7 @@ fetchurl rec {
sha256 =
# Manually sha256sum the extensionPack file, must be hex!
# Thus do not use `nix-prefetch-url` but instead plain old `sha256sum`.
- let value = "779250666551b2f5426e86c2d21ceb0209b46174536971611025f753535131ef";
+ let value = "4b7caa9b722840d49f154c3e5efb6463b1b7129f09973a25813dfdbccd9debb7";
in assert (builtins.stringLength value) == 64; value;
meta = {
diff --git a/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix b/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix
index 259f2b268fe..ccfedd1b2e1 100644
--- a/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix
+++ b/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
src = fetchurl {
url = "http://download.virtualbox.org/virtualbox/${version}/VBoxGuestAdditions_${version}.iso";
- sha256 = "e51e33500a265b5c2d7bb2d03d32208df880523dfcb1e2dde2c78a0e0daa0603";
+ sha256 = "0f3w9wjd5aj2khzqh37vdg86wqbbx4gx9aidaai9syn9sk8ca9xr";
};
KERN_DIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
diff --git a/pkgs/build-support/appimage/default.nix b/pkgs/build-support/appimage/default.nix
new file mode 100644
index 00000000000..ef7da72fda9
--- /dev/null
+++ b/pkgs/build-support/appimage/default.nix
@@ -0,0 +1,176 @@
+{ pkgs, stdenv, libarchive, patchelf, zlib, buildFHSUserEnv, writeScript }:
+
+rec {
+ # Both extraction functions could be unified, but then
+ # it would depend on libmagic to correctly identify ISO 9660s
+
+ extractType1 = { name, src }: stdenv.mkDerivation {
+ name = "${name}-extracted";
+ inherit src;
+
+ nativeBuildInputs = [ libarchive ];
+ buildCommand = ''
+ mkdir $out
+ bsdtar -x -C $out -f $src
+ '';
+ };
+
+ extractType2 = { name, src }: stdenv.mkDerivation {
+ name = "${name}-extracted";
+ inherit src;
+
+ nativeBuildInputs = [ patchelf ];
+ buildCommand = ''
+ install $src ./appimage
+ patchelf \
+ --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
+ --replace-needed libz.so.1 ${zlib}/lib/libz.so.1 \
+ ./appimage
+
+ ./appimage --appimage-extract
+
+ cp -rv squashfs-root $out
+ '';
+ };
+
+ wrapAppImage = { name, src, extraPkgs }: buildFHSUserEnv (defaultFhsEnvArgs // {
+ inherit name;
+
+ targetPkgs = pkgs: defaultFhsEnvArgs.targetPkgs pkgs ++ extraPkgs pkgs;
+
+ runScript = writeScript "run" ''
+ #!${stdenv.shell}
+
+ export APPDIR=${src}
+ export APPIMAGE_SILENT_INSTALL=1
+ cd $APPDIR
+ exec ./AppRun "$@"
+ '';
+ });
+
+ wrapType1 = args@{ name, src, extraPkgs ? pkgs: [] }: wrapAppImage {
+ inherit name extraPkgs;
+ src = extractType1 { inherit name src; };
+ };
+
+ wrapType2 = args@{ name, src, extraPkgs ? pkgs: [] }: wrapAppImage {
+ inherit name extraPkgs;
+ src = extractType2 { inherit name src; };
+ };
+
+ defaultFhsEnvArgs = {
+ name = "appimage-env";
+
+ # Most of the packages were taken from the Steam chroot
+ targetPkgs = pkgs: with pkgs; [
+ gtk3
+ bashInteractive
+ gnome3.zenity
+ python2
+ xorg.xrandr
+ which
+ perl
+ xdg_utils
+ iana-etc
+ krb5
+ ];
+
+ multiPkgs = pkgs: with pkgs; [
+ desktop-file-utils
+ xorg.libXcomposite
+ xorg.libXtst
+ xorg.libXrandr
+ xorg.libXext
+ xorg.libX11
+ xorg.libXfixes
+ libGL
+
+ gst_all_1.gstreamer
+ gst_all_1.gst-plugins-ugly
+ libdrm
+ xorg.xkeyboardconfig
+ xorg.libpciaccess
+
+ glib
+ gtk2
+ bzip2
+ zlib
+ gdk_pixbuf
+
+ xorg.libXinerama
+ xorg.libXdamage
+ xorg.libXcursor
+ xorg.libXrender
+ xorg.libXScrnSaver
+ xorg.libXxf86vm
+ xorg.libXi
+ xorg.libSM
+ xorg.libICE
+ gnome2.GConf
+ freetype
+ (curl.override { gnutlsSupport = true; sslSupport = false; })
+ nspr
+ nss
+ fontconfig
+ cairo
+ pango
+ expat
+ dbus
+ cups
+ libcap
+ SDL2
+ libusb1
+ udev
+ dbus-glib
+ libav
+ atk
+ at-spi2-atk
+ libudev0-shim
+ networkmanager098
+
+ xorg.libXt
+ xorg.libXmu
+ xorg.libxcb
+ libGLU
+ libuuid
+ libogg
+ libvorbis
+ SDL
+ SDL2_image
+ glew110
+ openssl
+ libidn
+ tbb
+ wayland
+ mesa_noglu
+ libxkbcommon
+
+ flac
+ freeglut
+ libjpeg
+ libpng12
+ libsamplerate
+ libmikmod
+ libtheora
+ libtiff
+ pixman
+ speex
+ SDL_image
+ SDL_ttf
+ SDL_mixer
+ SDL2_ttf
+ SDL2_mixer
+ gstreamer
+ gst-plugins-base
+ libappindicator-gtk2
+ libcaca
+ libcanberra
+ libgcrypt
+ libvpx
+ librsvg
+ xorg.libXft
+ libvdpau
+ alsaLib
+ ];
+ };
+}
diff --git a/pkgs/build-support/closure-info.nix b/pkgs/build-support/closure-info.nix
index 28f2802a5bc..24795a724ec 100644
--- a/pkgs/build-support/closure-info.nix
+++ b/pkgs/build-support/closure-info.nix
@@ -17,6 +17,8 @@ stdenv.mkDerivation {
exportReferencesGraph.closure = rootPaths;
+ preferLocalBuild = true;
+
PATH = "${buildPackages.coreutils}/bin:${buildPackages.jq}/bin";
builder = builtins.toFile "builder"
diff --git a/pkgs/build-support/docker/default.nix b/pkgs/build-support/docker/default.nix
index ef17a3f4e58..4b20c562460 100644
--- a/pkgs/build-support/docker/default.nix
+++ b/pkgs/build-support/docker/default.nix
@@ -283,6 +283,7 @@ rec {
let
storePathToLayer = substituteAll
{ inherit (stdenv) shell;
+ isExecutable = true;
src = ./store-path-to-layer.sh;
};
in
diff --git a/pkgs/build-support/nix-prefetch-github/default.nix b/pkgs/build-support/nix-prefetch-github/default.nix
index 48297e583af..0c9722bb0b6 100644
--- a/pkgs/build-support/nix-prefetch-github/default.nix
+++ b/pkgs/build-support/nix-prefetch-github/default.nix
@@ -5,13 +5,13 @@
python3.pkgs.buildPythonApplication rec {
pname = "nix-prefetch-github";
- version = "1.3";
+ version = "2.1";
src = fetchFromGitHub {
owner = "seppeljordan";
repo = "nix-prefetch-github";
- rev = "${version}";
- sha256 = "1rinbv1q4q8m27ih6l81w1lsmwn6cz7q3iyjiycklywpi8684dh6";
+ rev = "v${version}";
+ sha256 = "1v4w7xs8wxgl36vb2cnyj219mqvximkvvw46h4fp25vi2g3f9h8d";
};
propagatedBuildInputs = with python3.pkgs; [
diff --git a/pkgs/build-support/rust/build-rust-crate/build-crate.nix b/pkgs/build-support/rust/build-rust-crate/build-crate.nix
index 252a0ff521f..0978f7e1756 100644
--- a/pkgs/build-support/rust/build-rust-crate/build-crate.nix
+++ b/pkgs/build-support/rust/build-rust-crate/build-crate.nix
@@ -8,11 +8,11 @@
let
deps = makeDeps dependencies;
- rustcOpts =
- lib.lists.foldl' (opts: opt: opts + " " + opt)
- (if release then "-C opt-level=3" else "-C debuginfo=2")
- (["-C codegen-units=1"] ++ extraRustcOpts);
- rustcMeta = "-C metadata=${metadata} -C extra-filename=-${metadata}";
+ rustcOpts =
+ lib.lists.foldl' (opts: opt: opts + " " + opt)
+ (if release then "-C opt-level=3" else "-C debuginfo=2")
+ (["-C codegen-units=1"] ++ extraRustcOpts);
+ rustcMeta = "-C metadata=${metadata} -C extra-filename=-${metadata}";
# Some platforms have different names for rustc.
rustPlatform =
diff --git a/pkgs/build-support/rust/build-rust-crate/configure-crate.nix b/pkgs/build-support/rust/build-rust-crate/configure-crate.nix
index 7630c6471dc..700dff8499f 100644
--- a/pkgs/build-support/rust/build-rust-crate/configure-crate.nix
+++ b/pkgs/build-support/rust/build-rust-crate/configure-crate.nix
@@ -1,9 +1,27 @@
{ lib, stdenv, echo_build_heading, noisily, makeDeps }:
-{ build, buildDependencies, colors, completeBuildDeps, completeDeps, crateAuthors, crateFeatures, crateName, crateVersion, extraLinkFlags, libName, libPath, release, target_os, verbose, workspace_member }:
+{ build
+, buildDependencies
+, colors
+, completeBuildDeps
+, completeDeps
+, crateAuthors
+, crateFeatures
+, crateName
+, crateVersion
+, extraLinkFlags
+, extraRustcOpts
+, libName
+, libPath
+, release
+, target_os
+, verbose
+, workspace_member }:
let version_ = lib.splitString "-" crateVersion;
versionPre = if lib.tail version_ == [] then "" else builtins.elemAt version_ 1;
version = lib.splitString "." (lib.head version_);
- rustcOpts = (if release then "-C opt-level=3" else "-C debuginfo=2");
+ rustcOpts = lib.lists.foldl' (opts: opt: opts + " " + opt)
+ (if release then "-C opt-level=3" else "-C debuginfo=2")
+ (["-C codegen-units=1"] ++ extraRustcOpts);
buildDeps = makeDeps buildDependencies;
authors = lib.concatStringsSep ":" crateAuthors;
optLevel = if release then 3 else 0;
diff --git a/pkgs/build-support/rust/build-rust-crate/default.nix b/pkgs/build-support/rust/build-rust-crate/default.nix
index dbb2f1b80cc..fd7b6ec7dda 100644
--- a/pkgs/build-support/rust/build-rust-crate/default.nix
+++ b/pkgs/build-support/rust/build-rust-crate/default.nix
@@ -71,7 +71,7 @@ let crate = crate_ // (lib.attrByPath [ crate_.crateName ] (attr: {}) crateOverr
processedAttrs = [
"src" "buildInputs" "crateBin" "crateLib" "libName" "libPath"
"buildDependencies" "dependencies" "features"
- "crateName" "version" "build" "authors" "colors"
+ "crateName" "version" "build" "authors" "colors" "edition"
];
extraDerivationAttrs = lib.filterAttrs (n: v: ! lib.elem n processedAttrs) crate;
buildInputs_ = buildInputs;
@@ -136,13 +136,15 @@ stdenv.mkDerivation (rec {
(crate.type or ["lib"]);
colors = lib.attrByPath [ "colors" ] "always" crate;
extraLinkFlags = builtins.concatStringsSep " " (crate.extraLinkFlags or []);
+ edition = crate.edition or null;
+ extraRustcOpts = (if crate ? extraRustcOpts then crate.extraRustcOpts else []) ++ extraRustcOpts_ ++ (lib.optional (edition != null) "--edition ${edition}");
+
configurePhase = configureCrate {
inherit crateName buildDependencies completeDeps completeBuildDeps
crateFeatures libName build workspace_member release libPath crateVersion
- extraLinkFlags
+ extraLinkFlags extraRustcOpts
crateAuthors verbose colors target_os;
};
- extraRustcOpts = (if crate ? extraRustcOpts then crate.extraRustcOpts else []) ++ extraRustcOpts_;
buildPhase = buildCrate {
inherit crateName dependencies
crateFeatures libName release libPath crateType
diff --git a/pkgs/build-support/rust/carnix.nix b/pkgs/build-support/rust/carnix.nix
index dd44fed623e..ef69f90c366 100644
--- a/pkgs/build-support/rust/carnix.nix
+++ b/pkgs/build-support/rust/carnix.nix
@@ -1,12 +1,12 @@
-# Generated by carnix 0.9.1: carnix generate-nix
+# Generated by carnix 0.9.8: carnix generate-nix
{ lib, buildPlatform, buildRustCrate, buildRustCrateHelpers, cratesIO, fetchgit }:
with buildRustCrateHelpers;
let inherit (lib.lists) fold;
inherit (lib.attrsets) recursiveUpdate;
in
-let crates = cratesIO; in
rec {
- carnix = crates.crates.carnix."0.9.2" deps;
+ crates = cratesIO;
+ carnix = crates.crates.carnix."0.9.8" deps;
__all = [ (carnix {}) ];
deps.aho_corasick."0.6.8" = {
memchr = "2.1.0";
@@ -42,7 +42,7 @@ rec {
arrayvec = "0.4.7";
constant_time_eq = "0.1.3";
};
- deps.carnix."0.9.2" = {
+ deps.carnix."0.9.8" = {
clap = "2.32.0";
dirs = "1.0.4";
env_logger = "0.5.13";
@@ -56,6 +56,7 @@ rec {
serde_json = "1.0.32";
tempdir = "0.3.7";
toml = "0.4.8";
+ url = "1.7.2";
};
deps.cc."1.0.25" = {};
deps.cfg_if."0.1.6" = {};
@@ -103,6 +104,11 @@ rec {
deps.humantime."1.1.1" = {
quick_error = "1.2.2";
};
+ deps.idna."0.1.5" = {
+ matches = "0.1.8";
+ unicode_bidi = "0.3.4";
+ unicode_normalization = "0.1.7";
+ };
deps.itertools."0.7.8" = {
either = "1.5.0";
};
@@ -114,6 +120,7 @@ rec {
deps.log."0.4.5" = {
cfg_if = "0.1.6";
};
+ deps.matches."0.1.8" = {};
deps.memchr."1.0.2" = {
libc = "0.2.43";
};
@@ -126,6 +133,7 @@ rec {
deps.nom."3.2.1" = {
memchr = "1.0.2";
};
+ deps.percent_encoding."1.0.1" = {};
deps.proc_macro2."0.4.20" = {
unicode_xid = "0.1.0";
};
@@ -209,8 +217,17 @@ rec {
serde = "1.0.80";
};
deps.ucd_util."0.1.1" = {};
+ deps.unicode_bidi."0.3.4" = {
+ matches = "0.1.8";
+ };
+ deps.unicode_normalization."0.1.7" = {};
deps.unicode_width."0.1.5" = {};
deps.unicode_xid."0.1.0" = {};
+ deps.url."1.7.2" = {
+ idna = "0.1.5";
+ matches = "0.1.8";
+ percent_encoding = "1.0.1";
+ };
deps.utf8_ranges."1.0.1" = {};
deps.vec_map."0.8.1" = {};
deps.version_check."0.1.5" = {};
diff --git a/pkgs/build-support/rust/crates-io.nix b/pkgs/build-support/rust/crates-io.nix
index f312cd6e490..3521f0997bd 100644
--- a/pkgs/build-support/rust/crates-io.nix
+++ b/pkgs/build-support/rust/crates-io.nix
@@ -337,6 +337,65 @@ rec {
];
+# end
+# carnix-0.9.1
+
+ crates.carnix."0.9.1" = deps: { features?(features_.carnix."0.9.1" deps {}) }: buildRustCrate {
+ crateName = "carnix";
+ version = "0.9.1";
+ authors = [ "pe@pijul.org " ];
+ sha256 = "0dn292d4mjlxif0kclrljzff8rm35cd9d92vycjbzklyhz5d62wi";
+ crateBin =
+ [{ name = "cargo-generate-nixfile"; path = "src/cargo-generate-nixfile.rs"; }] ++
+ [{ name = "carnix"; path = "src/main.rs"; }];
+ dependencies = mapFeatures features ([
+ (crates."clap"."${deps."carnix"."0.9.1"."clap"}" deps)
+ (crates."dirs"."${deps."carnix"."0.9.1"."dirs"}" deps)
+ (crates."env_logger"."${deps."carnix"."0.9.1"."env_logger"}" deps)
+ (crates."error_chain"."${deps."carnix"."0.9.1"."error_chain"}" deps)
+ (crates."itertools"."${deps."carnix"."0.9.1"."itertools"}" deps)
+ (crates."log"."${deps."carnix"."0.9.1"."log"}" deps)
+ (crates."nom"."${deps."carnix"."0.9.1"."nom"}" deps)
+ (crates."regex"."${deps."carnix"."0.9.1"."regex"}" deps)
+ (crates."serde"."${deps."carnix"."0.9.1"."serde"}" deps)
+ (crates."serde_derive"."${deps."carnix"."0.9.1"."serde_derive"}" deps)
+ (crates."serde_json"."${deps."carnix"."0.9.1"."serde_json"}" deps)
+ (crates."tempdir"."${deps."carnix"."0.9.1"."tempdir"}" deps)
+ (crates."toml"."${deps."carnix"."0.9.1"."toml"}" deps)
+ ]);
+ };
+ features_.carnix."0.9.1" = deps: f: updateFeatures f (rec {
+ carnix."0.9.1".default = (f.carnix."0.9.1".default or true);
+ clap."${deps.carnix."0.9.1".clap}".default = true;
+ dirs."${deps.carnix."0.9.1".dirs}".default = true;
+ env_logger."${deps.carnix."0.9.1".env_logger}".default = true;
+ error_chain."${deps.carnix."0.9.1".error_chain}".default = true;
+ itertools."${deps.carnix."0.9.1".itertools}".default = true;
+ log."${deps.carnix."0.9.1".log}".default = true;
+ nom."${deps.carnix."0.9.1".nom}".default = true;
+ regex."${deps.carnix."0.9.1".regex}".default = true;
+ serde."${deps.carnix."0.9.1".serde}".default = true;
+ serde_derive."${deps.carnix."0.9.1".serde_derive}".default = true;
+ serde_json."${deps.carnix."0.9.1".serde_json}".default = true;
+ tempdir."${deps.carnix."0.9.1".tempdir}".default = true;
+ toml."${deps.carnix."0.9.1".toml}".default = true;
+ }) [
+ (features_.clap."${deps."carnix"."0.9.1"."clap"}" deps)
+ (features_.dirs."${deps."carnix"."0.9.1"."dirs"}" deps)
+ (features_.env_logger."${deps."carnix"."0.9.1"."env_logger"}" deps)
+ (features_.error_chain."${deps."carnix"."0.9.1"."error_chain"}" deps)
+ (features_.itertools."${deps."carnix"."0.9.1"."itertools"}" deps)
+ (features_.log."${deps."carnix"."0.9.1"."log"}" deps)
+ (features_.nom."${deps."carnix"."0.9.1"."nom"}" deps)
+ (features_.regex."${deps."carnix"."0.9.1"."regex"}" deps)
+ (features_.serde."${deps."carnix"."0.9.1"."serde"}" deps)
+ (features_.serde_derive."${deps."carnix"."0.9.1"."serde_derive"}" deps)
+ (features_.serde_json."${deps."carnix"."0.9.1"."serde_json"}" deps)
+ (features_.tempdir."${deps."carnix"."0.9.1"."tempdir"}" deps)
+ (features_.toml."${deps."carnix"."0.9.1"."toml"}" deps)
+ ];
+
+
# end
# carnix-0.9.2
@@ -396,6 +455,68 @@ rec {
];
+# end
+# carnix-0.9.8
+
+ crates.carnix."0.9.8" = deps: { features?(features_.carnix."0.9.8" deps {}) }: buildRustCrate {
+ crateName = "carnix";
+ version = "0.9.8";
+ authors = [ "pe@pijul.org " ];
+ sha256 = "0c2k98qjm1yyx5wl0wqs0rrjczp6h62ri1x8a99442clxsyvp4n9";
+ crateBin =
+ [{ name = "cargo-generate-nixfile"; path = "src/cargo-generate-nixfile.rs"; }] ++
+ [{ name = "carnix"; path = "src/main.rs"; }];
+ dependencies = mapFeatures features ([
+ (crates."clap"."${deps."carnix"."0.9.8"."clap"}" deps)
+ (crates."dirs"."${deps."carnix"."0.9.8"."dirs"}" deps)
+ (crates."env_logger"."${deps."carnix"."0.9.8"."env_logger"}" deps)
+ (crates."error_chain"."${deps."carnix"."0.9.8"."error_chain"}" deps)
+ (crates."itertools"."${deps."carnix"."0.9.8"."itertools"}" deps)
+ (crates."log"."${deps."carnix"."0.9.8"."log"}" deps)
+ (crates."nom"."${deps."carnix"."0.9.8"."nom"}" deps)
+ (crates."regex"."${deps."carnix"."0.9.8"."regex"}" deps)
+ (crates."serde"."${deps."carnix"."0.9.8"."serde"}" deps)
+ (crates."serde_derive"."${deps."carnix"."0.9.8"."serde_derive"}" deps)
+ (crates."serde_json"."${deps."carnix"."0.9.8"."serde_json"}" deps)
+ (crates."tempdir"."${deps."carnix"."0.9.8"."tempdir"}" deps)
+ (crates."toml"."${deps."carnix"."0.9.8"."toml"}" deps)
+ (crates."url"."${deps."carnix"."0.9.8"."url"}" deps)
+ ]);
+ };
+ features_.carnix."0.9.8" = deps: f: updateFeatures f (rec {
+ carnix."0.9.8".default = (f.carnix."0.9.8".default or true);
+ clap."${deps.carnix."0.9.8".clap}".default = true;
+ dirs."${deps.carnix."0.9.8".dirs}".default = true;
+ env_logger."${deps.carnix."0.9.8".env_logger}".default = true;
+ error_chain."${deps.carnix."0.9.8".error_chain}".default = true;
+ itertools."${deps.carnix."0.9.8".itertools}".default = true;
+ log."${deps.carnix."0.9.8".log}".default = true;
+ nom."${deps.carnix."0.9.8".nom}".default = true;
+ regex."${deps.carnix."0.9.8".regex}".default = true;
+ serde."${deps.carnix."0.9.8".serde}".default = true;
+ serde_derive."${deps.carnix."0.9.8".serde_derive}".default = true;
+ serde_json."${deps.carnix."0.9.8".serde_json}".default = true;
+ tempdir."${deps.carnix."0.9.8".tempdir}".default = true;
+ toml."${deps.carnix."0.9.8".toml}".default = true;
+ url."${deps.carnix."0.9.8".url}".default = true;
+ }) [
+ (features_.clap."${deps."carnix"."0.9.8"."clap"}" deps)
+ (features_.dirs."${deps."carnix"."0.9.8"."dirs"}" deps)
+ (features_.env_logger."${deps."carnix"."0.9.8"."env_logger"}" deps)
+ (features_.error_chain."${deps."carnix"."0.9.8"."error_chain"}" deps)
+ (features_.itertools."${deps."carnix"."0.9.8"."itertools"}" deps)
+ (features_.log."${deps."carnix"."0.9.8"."log"}" deps)
+ (features_.nom."${deps."carnix"."0.9.8"."nom"}" deps)
+ (features_.regex."${deps."carnix"."0.9.8"."regex"}" deps)
+ (features_.serde."${deps."carnix"."0.9.8"."serde"}" deps)
+ (features_.serde_derive."${deps."carnix"."0.9.8"."serde_derive"}" deps)
+ (features_.serde_json."${deps."carnix"."0.9.8"."serde_json"}" deps)
+ (features_.tempdir."${deps."carnix"."0.9.8"."tempdir"}" deps)
+ (features_.toml."${deps."carnix"."0.9.8"."toml"}" deps)
+ (features_.url."${deps."carnix"."0.9.8"."url"}" deps)
+ ];
+
+
# end
# cc-1.0.25
@@ -801,6 +922,32 @@ rec {
];
+# end
+# idna-0.1.5
+
+ crates.idna."0.1.5" = deps: { features?(features_.idna."0.1.5" deps {}) }: buildRustCrate {
+ crateName = "idna";
+ version = "0.1.5";
+ authors = [ "The rust-url developers" ];
+ sha256 = "1gwgl19rz5vzi67rrhamczhxy050f5ynx4ybabfapyalv7z1qmjy";
+ dependencies = mapFeatures features ([
+ (crates."matches"."${deps."idna"."0.1.5"."matches"}" deps)
+ (crates."unicode_bidi"."${deps."idna"."0.1.5"."unicode_bidi"}" deps)
+ (crates."unicode_normalization"."${deps."idna"."0.1.5"."unicode_normalization"}" deps)
+ ]);
+ };
+ features_.idna."0.1.5" = deps: f: updateFeatures f (rec {
+ idna."0.1.5".default = (f.idna."0.1.5".default or true);
+ matches."${deps.idna."0.1.5".matches}".default = true;
+ unicode_bidi."${deps.idna."0.1.5".unicode_bidi}".default = true;
+ unicode_normalization."${deps.idna."0.1.5".unicode_normalization}".default = true;
+ }) [
+ (features_.matches."${deps."idna"."0.1.5"."matches"}" deps)
+ (features_.unicode_bidi."${deps."idna"."0.1.5"."unicode_bidi"}" deps)
+ (features_.unicode_normalization."${deps."idna"."0.1.5"."unicode_normalization"}" deps)
+ ];
+
+
# end
# itertools-0.7.8
@@ -926,6 +1073,21 @@ rec {
];
+# end
+# matches-0.1.8
+
+ crates.matches."0.1.8" = deps: { features?(features_.matches."0.1.8" deps {}) }: buildRustCrate {
+ crateName = "matches";
+ version = "0.1.8";
+ authors = [ "Simon Sapin " ];
+ sha256 = "03hl636fg6xggy0a26200xs74amk3k9n0908rga2szn68agyz3cv";
+ libPath = "lib.rs";
+ };
+ features_.matches."0.1.8" = deps: f: updateFeatures f (rec {
+ matches."0.1.8".default = (f.matches."0.1.8".default or true);
+ }) [];
+
+
# end
# memchr-1.0.2
@@ -1093,6 +1255,21 @@ rec {
];
+# end
+# percent-encoding-1.0.1
+
+ crates.percent_encoding."1.0.1" = deps: { features?(features_.percent_encoding."1.0.1" deps {}) }: buildRustCrate {
+ crateName = "percent-encoding";
+ version = "1.0.1";
+ authors = [ "The rust-url developers" ];
+ sha256 = "04ahrp7aw4ip7fmadb0bknybmkfav0kk0gw4ps3ydq5w6hr0ib5i";
+ libPath = "lib.rs";
+ };
+ features_.percent_encoding."1.0.1" = deps: f: updateFeatures f (rec {
+ percent_encoding."1.0.1".default = (f.percent_encoding."1.0.1".default or true);
+ }) [];
+
+
# end
# proc-macro2-0.4.20
@@ -1849,6 +2026,56 @@ rec {
}) [];
+# end
+# unicode-bidi-0.3.4
+
+ crates.unicode_bidi."0.3.4" = deps: { features?(features_.unicode_bidi."0.3.4" deps {}) }: buildRustCrate {
+ crateName = "unicode-bidi";
+ version = "0.3.4";
+ authors = [ "The Servo Project Developers" ];
+ sha256 = "0lcd6jasrf8p9p0q20qyf10c6xhvw40m2c4rr105hbk6zy26nj1q";
+ libName = "unicode_bidi";
+ dependencies = mapFeatures features ([
+ (crates."matches"."${deps."unicode_bidi"."0.3.4"."matches"}" deps)
+ ]);
+ features = mkFeatures (features."unicode_bidi"."0.3.4" or {});
+ };
+ features_.unicode_bidi."0.3.4" = deps: f: updateFeatures f (rec {
+ matches."${deps.unicode_bidi."0.3.4".matches}".default = true;
+ unicode_bidi = fold recursiveUpdate {} [
+ { "0.3.4".default = (f.unicode_bidi."0.3.4".default or true); }
+ { "0.3.4".flame =
+ (f.unicode_bidi."0.3.4".flame or false) ||
+ (f.unicode_bidi."0.3.4".flame_it or false) ||
+ (unicode_bidi."0.3.4"."flame_it" or false); }
+ { "0.3.4".flamer =
+ (f.unicode_bidi."0.3.4".flamer or false) ||
+ (f.unicode_bidi."0.3.4".flame_it or false) ||
+ (unicode_bidi."0.3.4"."flame_it" or false); }
+ { "0.3.4".serde =
+ (f.unicode_bidi."0.3.4".serde or false) ||
+ (f.unicode_bidi."0.3.4".with_serde or false) ||
+ (unicode_bidi."0.3.4"."with_serde" or false); }
+ ];
+ }) [
+ (features_.matches."${deps."unicode_bidi"."0.3.4"."matches"}" deps)
+ ];
+
+
+# end
+# unicode-normalization-0.1.7
+
+ crates.unicode_normalization."0.1.7" = deps: { features?(features_.unicode_normalization."0.1.7" deps {}) }: buildRustCrate {
+ crateName = "unicode-normalization";
+ version = "0.1.7";
+ authors = [ "kwantam " ];
+ sha256 = "1da2hv800pd0wilmn4idwpgv5p510hjxizjcfv6xzb40xcsjd8gs";
+ };
+ features_.unicode_normalization."0.1.7" = deps: f: updateFeatures f (rec {
+ unicode_normalization."0.1.7".default = (f.unicode_normalization."0.1.7".default or true);
+ }) [];
+
+
# end
# unicode-width-0.1.5
@@ -1879,6 +2106,43 @@ rec {
}) [];
+# end
+# url-1.7.2
+
+ crates.url."1.7.2" = deps: { features?(features_.url."1.7.2" deps {}) }: buildRustCrate {
+ crateName = "url";
+ version = "1.7.2";
+ authors = [ "The rust-url developers" ];
+ sha256 = "0qzrjzd9r1niv7037x4cgnv98fs1vj0k18lpxx890ipc47x5gc09";
+ dependencies = mapFeatures features ([
+ (crates."idna"."${deps."url"."1.7.2"."idna"}" deps)
+ (crates."matches"."${deps."url"."1.7.2"."matches"}" deps)
+ (crates."percent_encoding"."${deps."url"."1.7.2"."percent_encoding"}" deps)
+ ]);
+ features = mkFeatures (features."url"."1.7.2" or {});
+ };
+ features_.url."1.7.2" = deps: f: updateFeatures f (rec {
+ idna."${deps.url."1.7.2".idna}".default = true;
+ matches."${deps.url."1.7.2".matches}".default = true;
+ percent_encoding."${deps.url."1.7.2".percent_encoding}".default = true;
+ url = fold recursiveUpdate {} [
+ { "1.7.2".default = (f.url."1.7.2".default or true); }
+ { "1.7.2".encoding =
+ (f.url."1.7.2".encoding or false) ||
+ (f.url."1.7.2".query_encoding or false) ||
+ (url."1.7.2"."query_encoding" or false); }
+ { "1.7.2".heapsize =
+ (f.url."1.7.2".heapsize or false) ||
+ (f.url."1.7.2".heap_size or false) ||
+ (url."1.7.2"."heap_size" or false); }
+ ];
+ }) [
+ (features_.idna."${deps."url"."1.7.2"."idna"}" deps)
+ (features_.matches."${deps."url"."1.7.2"."matches"}" deps)
+ (features_.percent_encoding."${deps."url"."1.7.2"."percent_encoding"}" deps)
+ ];
+
+
# end
# utf8-ranges-1.0.1
diff --git a/pkgs/build-support/skaware/build-skaware-package.nix b/pkgs/build-support/skaware/build-skaware-package.nix
index 51921fdfbdc..5ae8985e3ab 100644
--- a/pkgs/build-support/skaware/build-skaware-package.nix
+++ b/pkgs/build-support/skaware/build-skaware-package.nix
@@ -19,6 +19,10 @@ in {
# mostly for moving and deleting files from the build directory
# : lines
, postInstall
+ # packages with setup hooks that should be run
+ # (see definition of `makeSetupHook`)
+ # : list drv
+, setupHooks ? []
# : list Maintainer
, maintainers ? []
@@ -82,6 +86,8 @@ in stdenv.mkDerivation {
dontDisableStatic = true;
enableParallelBuilding = true;
+ nativeBuildInputs = setupHooks;
+
configureFlags = configureFlags ++ [
"--enable-absolute-paths"
(if stdenv.isDarwin
diff --git a/pkgs/data/fonts/undefined-medium/default.nix b/pkgs/data/fonts/undefined-medium/default.nix
new file mode 100644
index 00000000000..e61e582d742
--- /dev/null
+++ b/pkgs/data/fonts/undefined-medium/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchzip }:
+
+fetchzip rec {
+ name = "undefined-medium-1.0";
+
+ url = https://github.com/andirueckel/undefined-medium/archive/v1.0.zip;
+
+ postFetch = ''
+ mkdir -p $out/share/fonts
+ unzip -j $downloadedFile ${name}/fonts/otf/\*.otf -d $out/share/fonts/opentype
+ '';
+
+ sha256 = "0v3p1g9f1c0d6b9lhrvm1grzivm7ddk7dvn96zl5hdzr2y60y1rw";
+
+ meta = with stdenv.lib; {
+ homepage = https://undefined-medium.com/;
+ description = "A pixel grid-based monospace typeface";
+ longDescription = ''
+ undefined medium is a free and open-source pixel grid-based
+ monospace typeface suitable for programming, writing, and
+ whatever else you can think of … it’s pretty undefined.
+ '';
+ license = licenses.ofl;
+ maintainers = [ maintainers.rycee ];
+ platforms = platforms.all;
+ };
+}
diff --git a/pkgs/data/fonts/yanone-kaffeesatz/default.nix b/pkgs/data/fonts/yanone-kaffeesatz/default.nix
new file mode 100644
index 00000000000..026bb2d2244
--- /dev/null
+++ b/pkgs/data/fonts/yanone-kaffeesatz/default.nix
@@ -0,0 +1,22 @@
+{stdenv, fetchzip}:
+
+fetchzip {
+ name = "yanone-kaffeesatz-2004";
+
+ url = https://yanone.de/2015/data/UIdownloads/Yanone%20Kaffeesatz.zip;
+
+ postFetch = ''
+ mkdir -p $out/share/fonts
+ unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
+ '';
+
+ sha256 = "190c4wx7avy3kp98lsyml7kc0jw7csf5n79af2ypbkhsadfsy8di";
+
+ meta = {
+ description = "The free font classic";
+ maintainers = with stdenv.lib.maintainers; [ mt-caret ];
+ platforms = with stdenv.lib.platforms; all;
+ homepage = https://yanone.de/fonts/kaffeesatz/;
+ license = stdenv.lib.licenses.ofl;
+ };
+}
diff --git a/pkgs/data/misc/hackage/default.nix b/pkgs/data/misc/hackage/default.nix
index c50c511e736..b167069cd89 100644
--- a/pkgs/data/misc/hackage/default.nix
+++ b/pkgs/data/misc/hackage/default.nix
@@ -1,6 +1,6 @@
{ fetchurl }:
fetchurl {
- url = "https://github.com/commercialhaskell/all-cabal-hashes/archive/e95fefd56a6b8de585e92cd34de4870e31fb7bc7.tar.gz";
- sha256 = "08pzxwsc4incrl5mv8572xs9332206p2cw2mynxks33n7nh98vmx";
+ url = "https://github.com/commercialhaskell/all-cabal-hashes/archive/f59e85c25b8e9f07459338884e25d16752839b54.tar.gz";
+ sha256 = "0yapmana2kzsixmgghj76w3s546d258rbzw7qmfqhi6bxyhc6a86";
}
diff --git a/pkgs/data/themes/plata/default.nix b/pkgs/data/themes/plata/default.nix
index d839d4a3dd8..79e573087a4 100644
--- a/pkgs/data/themes/plata/default.nix
+++ b/pkgs/data/themes/plata/default.nix
@@ -18,13 +18,13 @@
stdenv.mkDerivation rec {
name = "plata-theme-${version}";
- version = "0.4.9";
+ version = "0.5.0";
src = fetchFromGitLab {
owner = "tista500";
repo = "plata-theme";
rev = version;
- sha256 = "0kj04nj265rgkbbhzhz9f7q6z5yr1dxmcrnq1b5ldha3xqrq2pv9";
+ sha256 = "16kpdil2bmapbd0g2znwz4ddplykzabydw6g2i8wxs9c5r1hx0q5";
};
preferLocalBuild = true;
diff --git a/pkgs/desktops/gnome-3/core/gnome-control-center/default.nix b/pkgs/desktops/gnome-3/core/gnome-control-center/default.nix
index d0f3426a3cd..5e90998b539 100644
--- a/pkgs/desktops/gnome-3/core/gnome-control-center/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-control-center/default.nix
@@ -12,13 +12,13 @@
let
pname = "gnome-control-center";
- version = "3.30.2";
+ version = "3.30.3";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "0rn4r0ng4pd9smpay4rf4dkcl09b2ipr9srryybhd1srmd02ps51";
+ sha256 = "0gih1cmqbv803kp30704sllghb0impa0mmv3j8pndfg4zr2mnq9r";
};
nativeBuildInputs = [
diff --git a/pkgs/desktops/gnome-3/core/gnome-desktop/bubblewrap-paths.patch b/pkgs/desktops/gnome-3/core/gnome-desktop/bubblewrap-paths.patch
index 59191bddd9a..175118ac5ff 100644
--- a/pkgs/desktops/gnome-3/core/gnome-desktop/bubblewrap-paths.patch
+++ b/pkgs/desktops/gnome-3/core/gnome-desktop/bubblewrap-paths.patch
@@ -1,19 +1,16 @@
--- a/libgnome-desktop/gnome-desktop-thumbnail-script.c
+++ b/libgnome-desktop/gnome-desktop-thumbnail-script.c
-@@ -504,14 +504,10 @@
+@@ -536,10 +536,9 @@ add_bwrap (GPtrArray *array,
g_return_val_if_fail (script->s_infile != NULL, FALSE);
add_args (array,
- "bwrap",
- "--ro-bind", "/usr", "/usr",
-- "--ro-bind", "/lib", "/lib",
-- "--ro-bind", "/lib64", "/lib64",
-+ "@bubblewrap_bin@",
-+ "--ro-bind", "/nix/store", "/nix/store",
- "--proc", "/proc",
- "--dev", "/dev",
-- "--symlink", "usr/bin", "/bin",
-- "--symlink", "usr/sbin", "/sbin",
- "--chdir", "/",
- "--setenv", "GIO_USE_VFS", "local",
- "--unshare-all",
+- "--ro-bind", "/etc/ld.so.cache", "/etc/ld.so.cache",
+- NULL);
++ "@bubblewrap_bin@",
++ "--ro-bind", "/nix/store", "/nix/store",
++ NULL);
+
+ /* These directories might be symlinks into /usr/... */
+ for (i = 0; i < G_N_ELEMENTS (usrmerged_dirs); i++)
diff --git a/pkgs/desktops/gnome-3/core/gnome-desktop/default.nix b/pkgs/desktops/gnome-3/core/gnome-desktop/default.nix
index b98a6a2d676..6161ccde675 100644
--- a/pkgs/desktops/gnome-3/core/gnome-desktop/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-desktop/default.nix
@@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
name = "gnome-desktop-${version}";
- version = "3.30.2";
+ version = "3.30.2.1";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/gnome-desktop/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "0k6iccfj9naw42dl2mgljfvk12dmvg06plg86qd81nksrf9ycxal";
+ sha256 = "07s95fpfl3kjq51yxbrx6q87w812pq6bl0xdn0zzyi6qvg33m00v";
};
enableParallelBuilding = true;
diff --git a/pkgs/desktops/gnome-3/core/gnome-online-accounts/default.nix b/pkgs/desktops/gnome-3/core/gnome-online-accounts/default.nix
index f797c6b8914..d12e558c276 100644
--- a/pkgs/desktops/gnome-3/core/gnome-online-accounts/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-online-accounts/default.nix
@@ -6,13 +6,13 @@
let
pname = "gnome-online-accounts";
- version = "3.30.1";
+ version = "3.30.2";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "0havx26cfy0ln17jzmzbrrx35afknv2s9mdy34j0p7wmbqr8m5ky";
+ sha256 = "1p1gdgryziklrgngn6m13xnvfx4gb01h723nndfi9944r24fbiq5";
};
outputs = [ "out" "man" "dev" "devdoc" ];
diff --git a/pkgs/desktops/gnome-3/core/mutter/default.nix b/pkgs/desktops/gnome-3/core/mutter/default.nix
index 85b4990c471..518b0ec1c48 100644
--- a/pkgs/desktops/gnome-3/core/mutter/default.nix
+++ b/pkgs/desktops/gnome-3/core/mutter/default.nix
@@ -1,4 +1,4 @@
-{ fetchurl, stdenv, pkgconfig, gnome3, intltool, gobject-introspection, upower, cairo
+{ fetchurl, fetchpatch, stdenv, pkgconfig, gnome3, intltool, gobject-introspection, upower, cairo
, pango, cogl, clutter, libstartup_notification, zenity, libcanberra-gtk3
, libtool, makeWrapper, xkeyboard_config, libxkbfile, libxkbcommon, libXtst, libinput
, gsettings-desktop-schemas, glib, gtk3, gnome-desktop
@@ -13,6 +13,16 @@ stdenv.mkDerivation rec {
sha256 = "0qr3w480p31nbiad49213rj9rk6p9fl82a68pzznpz36p30dq96z";
};
+ patches = [
+ # https://gitlab.gnome.org/GNOME/mutter/issues/270
+ # Fixes direction of the desktop switching animation when using workspace
+ # grid extension with desktops arranged horizontally.
+ (fetchpatch {
+ url = https://gitlab.gnome.org/GNOME/mutter/commit/92cccf53dfe9e077f1d61ac4f896fd391f8cb689.patch;
+ sha256 = "11vmypypjss50xg7hhdbqrxvgqlxx4lnwy59089qsfl3akg4kk2i";
+ })
+ ];
+
configureFlags = [
"--with-x"
"--disable-static"
diff --git a/pkgs/desktops/gnome-3/misc/geary/default.nix b/pkgs/desktops/gnome-3/misc/geary/default.nix
index be9fbe943be..c522fbec57b 100644
--- a/pkgs/desktops/gnome-3/misc/geary/default.nix
+++ b/pkgs/desktops/gnome-3/misc/geary/default.nix
@@ -1,63 +1,71 @@
-{ stdenv, fetchurl, intltool, pkgconfig, gtk3, vala_0_40, enchant
-, wrapGAppsHook, gdk_pixbuf, cmake, ninja, desktop-file-utils
-, libnotify, libcanberra-gtk3, libsecret, gmime, isocodes
-, gobject-introspection, libpthreadstubs, sqlite, gcr, libgee
-, gsettings-desktop-schemas, adwaita-icon-theme
-, gnome3, librsvg, gnome-doc-utils, webkitgtk, fetchpatch }:
+{ stdenv, fetchurl, fetchpatch, pkgconfig, gtk3, vala, enchant2, wrapGAppsHook, meson, ninja
+, desktop-file-utils, gnome-online-accounts, gsettings-desktop-schemas, adwaita-icon-theme
+, libnotify, libcanberra-gtk3, libsecret, gmime, isocodes, libxml2, gettext
+, sqlite, gcr, json-glib, itstool, libgee, gnome3, webkitgtk, python3
+, xvfb_run, dbus, shared-mime-info, libunwind, glib-networking }:
-let
- pname = "geary";
- version = "0.12.4";
-in
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+ pname = "geary";
+ version = "0.13.1";
src = fetchurl {
- url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "01ykhkjfkprvh9kp4rzrl6xs2pqibiw44ckvqsn5cs3xy2rlq8mm";
+ url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "0h9pf2mdskq7mylib1m9hw86nwfmdzyngjl7ywangqipm1k5svjx";
};
patches = [
- # Fix build with webkitgtk-2.22
+ # gobject-introspection is not needed
+ # https://gitlab.gnome.org/GNOME/geary/merge_requests/138
(fetchpatch {
- url = https://gitlab.gnome.org/GNOME/geary/commit/5d0f711426d76f878cf9b71f7e8f785199c7cde1.patch;
- sha256 = "1yifng5lfsc6wp7irmi8gjdcfig1cr0chf7rdv3asrk567nmwrsi";
+ url = https://gitlab.gnome.org/GNOME/geary/commit/d2f1b1076aa942d140e83fdf03b66621c11229f5.patch;
+ sha256 = "1dsj4ybnibpi572w9hafm0w90jbjv7wzdl6j8d4c2qg5h7knlvfk";
})
+ # Fixes tests on Aarch64
+ # https://gitlab.gnome.org/GNOME/geary/issues/259
(fetchpatch {
- url = https://gitlab.gnome.org/GNOME/geary/commit/0d966950a2cba888873cd3a7f4f42bb7a017dc6d.patch;
- sha256 = "1y6v4fnik4w3paj9nl0yqs54998sx1zr9w3940d579p6dsa8f3fg";
- })
- (fetchpatch {
- url = https://gitlab.gnome.org/GNOME/geary/commit/e091f24b00ec421e1aadd5e360d1550e658ad5ef.patch;
- sha256 = "0d5hc4h9c1hnn2sk18nkpmzdvwm3h746n2zj8n22ax9rj6lxl38l";
- })
- # Fix build with vala 0.40.12
- # See: https://gitlab.gnome.org/GNOME/vala/blob/0.40.12/NEWS#L22
- (fetchpatch {
- url = "https://gitlab.gnome.org/GNOME/geary/commit/088cb2c0aa35ad4b54ea5a0a2edaf0ff96c64b45.patch";
- sha256 = "0cnjmbd3snm8ggmprqa32f7i3w86gs3ylab9p5ffj921dcpvvlb2";
+ url = https://gitlab.gnome.org/GNOME/geary/commit/9c3fdbfb5c792daeb9c3924f798fa83a15096d8a.patch;
+ sha256 = "1ihjxnaj0g6gx264kd8cbhs88yp37vwmmcd3lvmz44agf7qcv2ri";
})
];
- nativeBuildInputs = [ vala_0_40 intltool pkgconfig wrapGAppsHook cmake ninja desktop-file-utils gnome-doc-utils gobject-introspection ];
+ nativeBuildInputs = [
+ desktop-file-utils gettext itstool libxml2 meson ninja
+ pkgconfig vala wrapGAppsHook python3
+ ];
+
buildInputs = [
- gtk3 enchant webkitgtk libnotify libcanberra-gtk3 libgee libsecret gmime sqlite
- libpthreadstubs gsettings-desktop-schemas gcr isocodes
- gdk_pixbuf librsvg adwaita-icon-theme
+ adwaita-icon-theme enchant2 gcr gmime gnome-online-accounts
+ gsettings-desktop-schemas gtk3 isocodes json-glib libcanberra-gtk3
+ libgee libnotify libsecret sqlite webkitgtk glib-networking
+ libunwind
];
- cmakeFlags = [
- "-DISOCODES_DIRECTORY=${isocodes}/share/xml/iso-codes"
+ checkInputs = [ xvfb_run dbus ];
+
+ mesonFlags = [
+ "-Dcontractor=true" # install the contractor file (Pantheon specific)
];
- # TODO: This is bad, upstream should fix their code.
- PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_GIRDIR = "${webkitgtk.dev}/share/gir-1.0";
+ postPatch = ''
+ chmod +x build-aux/post_install.py
+ patchShebangs build-aux/post_install.py
+ '';
preFixup = ''
# Add geary to path for geary-attach
gappsWrapperArgs+=(--prefix PATH : "$out/bin")
'';
+ doCheck = true;
+
+ checkPhase = ''
+ NO_AT_BRIDGE=1 \
+ XDG_DATA_DIRS=:$XDG_DATA_DIRS:${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${shared-mime-info}/share \
+ xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
+ --config-file=${dbus.daemon}/share/dbus-1/session.conf \
+ meson test -v --no-stdsplit
+ '';
+
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
@@ -69,7 +77,7 @@ stdenv.mkDerivation rec {
homepage = https://wiki.gnome.org/Apps/Geary;
description = "Mail client for GNOME 3";
maintainers = gnome3.maintainers;
- license = licenses.lgpl2;
+ license = licenses.lgpl21Plus;
platforms = platforms.linux;
};
}
diff --git a/pkgs/desktops/pantheon/apps/elementary-screenshot-tool/default.nix b/pkgs/desktops/pantheon/apps/elementary-screenshot-tool/default.nix
index 192b6ff358f..f1c07b8d3f5 100644
--- a/pkgs/desktops/pantheon/apps/elementary-screenshot-tool/default.nix
+++ b/pkgs/desktops/pantheon/apps/elementary-screenshot-tool/default.nix
@@ -10,7 +10,7 @@ in
stdenv.mkDerivation rec {
pname = "screenshot-tool"; # This will be renamed to "screenshot" soon. See -> https://github.com/elementary/screenshot/pull/93
- version = "1.6.1";
+ version = "1.6.2";
name = "elementary-${pname}-${version}";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
owner = "elementary";
repo = "screenshot";
rev = version;
- sha256 = "1vvj550md7vw7n057h8cy887a0nmsbwry67dxrxyz6bsvpk8sb6g";
+ sha256 = "1z61j96jk9zjr3bn5hgsp25m4v8h1rqwxm0kg8c34bvl06f13v8q";
};
passthru = {
diff --git a/pkgs/desktops/pantheon/default.nix b/pkgs/desktops/pantheon/default.nix
index a7b8a01eeb0..27e6e02a4a3 100644
--- a/pkgs/desktops/pantheon/default.nix
+++ b/pkgs/desktops/pantheon/default.nix
@@ -62,6 +62,8 @@ lib.makeScope pkgs.newScope (self: with self; {
elementary-gsettings-schemas = callPackage ./desktop/elementary-gsettings-schemas { };
+ notes-up = pkgs.notes-up.override { withPantheon = true; };
+
#### APPS
elementary-calculator = callPackage ./apps/elementary-calculator { };
diff --git a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/nightlight/default.nix b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/nightlight/default.nix
index 53754c31d87..08b0710977f 100644
--- a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/nightlight/default.nix
+++ b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/nightlight/default.nix
@@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-nightlight";
- version = "2.0.1";
+ version = "2.0.2";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
- sha256 = "17pa048asbkhzz5945hjp96dnghdl72nqp1zq0b999nawnfrb339";
+ sha256 = "0kw83ws91688xg96k9034dnz15szx2kva9smh1nb7xmdbpzn3qph";
};
passthru = {
diff --git a/pkgs/development/compilers/arachne-pnr/default.nix b/pkgs/development/compilers/arachne-pnr/default.nix
index 345bd125025..09422a7a862 100644
--- a/pkgs/development/compilers/arachne-pnr/default.nix
+++ b/pkgs/development/compilers/arachne-pnr/default.nix
@@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
version = "2018.09.08";
src = fetchFromGitHub {
- owner = "cseed";
+ owner = "yosyshq";
repo = "arachne-pnr";
rev = "840bdfdeb38809f9f6af4d89dd7b22959b176fdd";
sha256 = "1dqvjvgvsridybishv4pnigw9gypxh7r7nrqp9z9qq92v7c5rxzl";
diff --git a/pkgs/development/compilers/dmd/default.nix b/pkgs/development/compilers/dmd/default.nix
index 3ab25c3a830..a9f0e3ec0a5 100644
--- a/pkgs/development/compilers/dmd/default.nix
+++ b/pkgs/development/compilers/dmd/default.nix
@@ -1,199 +1,165 @@
-{ stdenv, fetchFromGitHub
-, makeWrapper, unzip, which
+{ stdenv, lib, fetchFromGitHub, fetchpatch
+, makeWrapper, unzip, which, writeTextFile
, curl, tzdata, gdb, darwin, git
, callPackage, targetPackages, ldc
-, version ? "2.084.0"
-, dmdSha256 ? "1v61spdamncl8c1bzjc19b03p4jl0ih5zq9b7cqsy9ix7qaxmikf"
-, druntimeSha256 ? "0vp414j6s11l9s54v81np49mv60ywmd7nnk41idkbwrq0nz4sfrq"
-, phobosSha256 ? "1wp7z1x299b0w9ny1ah2wrfhrs05vc4bk51csgw9774l3dqcnv53"
+, version ? "2.084.1"
+, dmdSha256 ? "10ll5072rkv3ln7i5l88h2f9mzda567kw2jwh6466vm6ylzl4jms"
+, druntimeSha256 ? "0i0g2cnzh097pmvb86gvyj79canaxppw33hp7ylqnd11q4kqc8pb"
+, phobosSha256 ? "1hxpismj9gy5n1bc9kl9ykgd4lfmkq9i8xgrq09j0fybfwn9j1gc"
}:
let
- dmdBuild = stdenv.mkDerivation rec {
- name = "dmdBuild-${version}";
- inherit version;
-
- enableParallelBuilding = true;
-
- srcs = [
- (fetchFromGitHub {
- owner = "dlang";
- repo = "dmd";
- rev = "v${version}";
- sha256 = dmdSha256;
- name = "dmd";
- })
- (fetchFromGitHub {
- owner = "dlang";
- repo = "druntime";
- rev = "v${version}";
- sha256 = druntimeSha256;
- name = "druntime";
- })
- (fetchFromGitHub {
- owner = "dlang";
- repo = "phobos";
- rev = "v${version}";
- sha256 = phobosSha256;
- name = "phobos";
- })
- ];
-
- sourceRoot = ".";
-
- # https://issues.dlang.org/show_bug.cgi?id=19553
- hardeningDisable = [ "fortify" ];
-
- postUnpack = ''
- patchShebangs .
- '';
-
- postPatch = ''
- substituteInPlace dmd/test/compilable/extra-files/ddocYear.html \
- --replace "2018" "__YEAR__"
-
- substituteInPlace dmd/test/runnable/test16096.sh \
- --replace "{EXT}" "{EXE}"
- '';
-
- nativeBuildInputs = [ ldc makeWrapper unzip which gdb git ]
-
- ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [
- Foundation
- ]);
-
- buildInputs = [ curl tzdata ];
-
- bits = builtins.toString stdenv.hostPlatform.parsed.cpu.bits;
- osname = if stdenv.hostPlatform.isDarwin then
- "osx"
- else
- stdenv.hostPlatform.parsed.kernel.name;
- top = "$(echo $NIX_BUILD_TOP)";
- pathToDmd = "${top}/dmd/generated/${osname}/release/${bits}/dmd";
-
- # Buid and install are based on http://wiki.dlang.org/Building_DMD
- buildPhase = ''
- cd dmd
- make -j$NIX_BUILD_CORES -f posix.mak INSTALL_DIR=$out BUILD=release ENABLE_RELEASE=1 PIC=1 HOST_DMD=ldmd2
- cd ../druntime
- make -j$NIX_BUILD_CORES -f posix.mak BUILD=release ENABLE_RELEASE=1 PIC=1 INSTALL_DIR=$out DMD=${pathToDmd}
- cd ../phobos
- echo ${tzdata}/share/zoneinfo/ > TZDatabaseDirFile
- echo ${curl.out}/lib/libcurl.so > LibcurlPathFile
- make -j$NIX_BUILD_CORES -f posix.mak BUILD=release ENABLE_RELEASE=1 PIC=1 INSTALL_DIR=$out DMD=${pathToDmd} DFLAGS="-version=TZDatabaseDir -version=LibcurlPath -J$(pwd)"
- cd ..
- '';
-
- # Disable tests on Darwin for now because of
- # https://github.com/NixOS/nixpkgs/issues/41099
- doCheck = true;
-
- checkPhase = ''
- cd dmd
- make -j$NIX_BUILD_CORES -C test -f Makefile PIC=1 CC=$CXX DMD=${pathToDmd} BUILD=release SHARED=0 SHELL=$SHELL
- cd ../druntime
- make -j$NIX_BUILD_CORES -f posix.mak unittest PIC=1 DMD=${pathToDmd} BUILD=release
- cd ..
- '';
-
- dontStrip = true;
-
- installPhase = ''
- cd dmd
- mkdir $out
- mkdir $out/bin
- cp ${pathToDmd} $out/bin
-
- mkdir -p $out/share/man/man1
- mkdir -p $out/share/man/man5
- cp -r docs/man/man1/* $out/share/man/man1/
- cp -r docs/man/man5/* $out/share/man/man5/
-
- cd ../druntime
- mkdir $out/include
- mkdir $out/include/d2
- cp -r import/* $out/include/d2
-
- cd ../phobos
- mkdir $out/lib
- cp generated/${osname}/release/${bits}/libphobos2.* $out/lib
-
- cp -r std $out/include/d2
- cp -r etc $out/include/d2
-
- wrapProgram $out/bin/dmd \
- --prefix PATH ":" "${targetPackages.stdenv.cc}/bin" \
- --set-default CC "${targetPackages.stdenv.cc}/bin/cc"
-
- cd $out/bin
- tee dmd.conf << EOF
- [Environment]
- DFLAGS=-I$out/include/d2 -L-L$out/lib ${stdenv.lib.optionalString (!targetPackages.stdenv.cc.isClang) "-L--export-dynamic"} -fPIC
- EOF
- '';
-
- meta = with stdenv.lib; {
- description = "Official reference compiler for the D language";
- homepage = http://dlang.org/;
- # Everything is now Boost licensed, even the backend.
- # https://github.com/dlang/dmd/pull/6680
- license = licenses.boost;
- maintainers = with maintainers; [ ThomasMader ];
- platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ];
- };
+ dmdConfFile = writeTextFile {
+ name = "dmd.conf";
+ text = (lib.generators.toINI {} {
+ "Environment" = {
+ DFLAGS = ''-I@out@/include/dmd -L-L@out@/lib -fPIC ${stdenv.lib.optionalString (!targetPackages.stdenv.cc.isClang) "-L--export-dynamic"}'';
+ };
+ });
};
- # Need to test Phobos in a fixed-output derivation, otherwise the
- # network stuff in Phobos would fail if sandbox mode is enabled.
- #
- # Disable tests on Darwin for now because of
- # https://github.com/NixOS/nixpkgs/issues/41099
- phobosUnittests = if !stdenv.hostPlatform.isDarwin then
- stdenv.mkDerivation rec {
- name = "phobosUnittests-${version}";
- version = dmdBuild.version;
-
- enableParallelBuilding = dmdBuild.enableParallelBuilding;
- preferLocalBuild = true;
- inputString = dmdBuild.outPath;
- outputHashAlgo = "sha256";
- outputHash = builtins.hashString "sha256" inputString;
-
- srcs = dmdBuild.srcs;
-
- sourceRoot = ".";
-
- nativeBuildInputs = dmdBuild.nativeBuildInputs;
- buildInputs = dmdBuild.buildInputs;
-
- buildPhase = ''
- cd phobos
- echo ${tzdata}/share/zoneinfo/ > TZDatabaseDirFile
- echo ${curl.out}/lib/libcurl.so > LibcurlPathFile
- make -j$NIX_BUILD_CORES -f posix.mak unittest BUILD=release ENABLE_RELEASE=1 PIC=1 DMD=${dmdBuild}/bin/dmd DFLAGS="-version=TZDatabaseDir -version=LibcurlPath -J$(pwd)"
- '';
-
- installPhase = ''
- echo -n $inputString > $out
- '';
- }
- else
- "";
-
in
stdenv.mkDerivation rec {
- inherit phobosUnittests;
name = "dmd-${version}";
- phases = "installPhase";
- buildInputs = dmdBuild.buildInputs;
+ inherit version;
+
+ enableParallelBuilding = true;
+
+ srcs = [
+ (fetchFromGitHub {
+ owner = "dlang";
+ repo = "dmd";
+ rev = "v${version}";
+ sha256 = dmdSha256;
+ name = "dmd";
+ })
+ (fetchFromGitHub {
+ owner = "dlang";
+ repo = "druntime";
+ rev = "v${version}";
+ sha256 = druntimeSha256;
+ name = "druntime";
+ })
+ (fetchFromGitHub {
+ owner = "dlang";
+ repo = "phobos";
+ rev = "v${version}";
+ sha256 = phobosSha256;
+ name = "phobos";
+ })
+ ];
+
+ patches = [
+ (fetchpatch {
+ name = "fix-loader-import.patch";
+ url = "https://github.com/dlang/dmd/commit/e7790436c4af1910b8c079dac9bb69627d7dea4b.patch";
+ sha256 = "0w69hajx8agywc7m2hph5m27g2yclz8ml0gjjyjk9k6ii3jv45kx";
+ })
+ ];
+
+ patchFlags = [ "--directory=dmd" "-p1" ];
+
+ sourceRoot = ".";
+
+ # https://issues.dlang.org/show_bug.cgi?id=19553
+ hardeningDisable = [ "fortify" ];
+
+ postUnpack = ''
+ patchShebangs .
+ '';
+
+ postPatch = stdenv.lib.optionalString stdenv.hostPlatform.isLinux ''
+ substituteInPlace phobos/std/socket.d --replace "assert(ih.addrList[0] == 0x7F_00_00_01);" ""
+ ''
+
+ + stdenv.lib.optionalString stdenv.hostPlatform.isDarwin ''
+ substituteInPlace phobos/std/socket.d --replace "foreach (name; names)" "names = []; foreach (name; names)"
+ '';
+
+ nativeBuildInputs = [ ldc makeWrapper unzip which gdb git ]
+
+ ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [
+ Foundation
+ ]);
+
+ buildInputs = [ curl tzdata ];
+
+ bits = builtins.toString stdenv.hostPlatform.parsed.cpu.bits;
+ osname = if stdenv.hostPlatform.isDarwin then
+ "osx"
+ else
+ stdenv.hostPlatform.parsed.kernel.name;
+ top = "$(echo $NIX_BUILD_TOP)";
+ pathToDmd = "${top}/dmd/generated/${osname}/release/${bits}/dmd";
+
+ # Buid and install are based on http://wiki.dlang.org/Building_DMD
+ buildPhase = ''
+ cd dmd
+ make -j$NIX_BUILD_CORES -f posix.mak INSTALL_DIR=$out BUILD=release ENABLE_RELEASE=1 PIC=1 HOST_DMD=ldmd2
+ cd ../druntime
+ make -j$NIX_BUILD_CORES -f posix.mak BUILD=release ENABLE_RELEASE=1 PIC=1 INSTALL_DIR=$out DMD=${pathToDmd}
+ cd ../phobos
+ echo ${tzdata}/share/zoneinfo/ > TZDatabaseDirFile
+ echo ${curl.out}/lib/libcurl${stdenv.hostPlatform.extensions.sharedLibrary} > LibcurlPathFile
+ make -j$NIX_BUILD_CORES -f posix.mak BUILD=release ENABLE_RELEASE=1 PIC=1 INSTALL_DIR=$out DMD=${pathToDmd} DFLAGS="-version=TZDatabaseDir -version=LibcurlPath -J$(pwd)"
+ cd ..
+ '';
+
+ doCheck = true;
+
+ checkPhase = ''
+ cd dmd
+ # https://github.com/NixOS/nixpkgs/pull/55998#issuecomment-465871846
+ #make -j$NIX_BUILD_CORES -C test -f Makefile PIC=1 CC=$CXX DMD=${pathToDmd} BUILD=release SHELL=$SHELL
+ cd ../druntime
+ make -j$NIX_BUILD_CORES -f posix.mak unittest PIC=1 DMD=${pathToDmd} BUILD=release
+ cd ../phobos
+ make -j$NIX_BUILD_CORES -f posix.mak unittest BUILD=release ENABLE_RELEASE=1 PIC=1 DMD=${pathToDmd} DFLAGS="-version=TZDatabaseDir -version=LibcurlPath -J$(pwd)"
+ cd ..
+ '';
+
+ dontStrip = true;
installPhase = ''
- mkdir $out
- cp -r --symbolic-link ${dmdBuild}/* $out/
+ cd dmd
+ mkdir $out
+ mkdir $out/bin
+ cp ${pathToDmd} $out/bin
+
+ mkdir -p $out/share/man/man1
+ mkdir -p $out/share/man/man5
+ cp -r docs/man/man1/* $out/share/man/man1/
+ cp -r docs/man/man5/* $out/share/man/man5/
+
+ cd ../druntime
+ mkdir $out/include
+ mkdir $out/include/dmd
+ cp -r import/* $out/include/dmd
+
+ cd ../phobos
+ mkdir $out/lib
+ cp generated/${osname}/release/${bits}/libphobos2.* $out/lib
+
+ cp -r std $out/include/dmd
+ cp -r etc $out/include/dmd
+
+ wrapProgram $out/bin/dmd \
+ --prefix PATH ":" "${targetPackages.stdenv.cc}/bin" \
+ --set-default CC "${targetPackages.stdenv.cc}/bin/cc"
+
+ substitute ${dmdConfFile} "$out/bin/dmd.conf" --subst-var out
'';
- meta = dmdBuild.meta;
+
+ meta = with stdenv.lib; {
+ description = "Official reference compiler for the D language";
+ homepage = http://dlang.org/;
+ # Everything is now Boost licensed, even the backend.
+ # https://github.com/dlang/dmd/pull/6680
+ license = licenses.boost;
+ maintainers = with maintainers; [ ThomasMader ];
+ platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ];
+ };
}
diff --git a/pkgs/development/compilers/gcc/8/default.nix b/pkgs/development/compilers/gcc/8/default.nix
index 66b98cc6d64..ce3395f0be0 100644
--- a/pkgs/development/compilers/gcc/8/default.nix
+++ b/pkgs/development/compilers/gcc/8/default.nix
@@ -37,7 +37,7 @@ assert langGo -> langCC;
with stdenv.lib;
with builtins;
-let version = "8.2.0";
+let version = "8.3.0";
inherit (stdenv) buildPlatform hostPlatform targetPlatform;
@@ -132,7 +132,7 @@ stdenv.mkDerivation ({
src = fetchurl {
url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz";
- sha256 = "10007smilswiiv2ymazr3b6x2i933c0ycxrr529zh4r6p823qv0r";
+ sha256 = "0b3xv411xhlnjmin2979nxcbnidgvzqdf4nbhix99x60dkzavfk4";
};
inherit patches;
diff --git a/pkgs/development/compilers/ghcjs-ng/default.nix b/pkgs/development/compilers/ghcjs-ng/default.nix
index 14a21078389..06187987b6c 100644
--- a/pkgs/development/compilers/ghcjs-ng/default.nix
+++ b/pkgs/development/compilers/ghcjs-ng/default.nix
@@ -105,4 +105,6 @@ in stdenv.mkDerivation {
meta.platforms = passthru.bootPkgs.ghc.meta.platforms;
meta.maintainers = [lib.maintainers.elvishjerricco];
+ meta.broken = true;
+ meta.hydraPlatforms = [];
}
diff --git a/pkgs/development/compilers/ldc/default.nix b/pkgs/development/compilers/ldc/default.nix
index 80ccb0dbbd3..a290d2b6cfe 100644
--- a/pkgs/development/compilers/ldc/default.nix
+++ b/pkgs/development/compilers/ldc/default.nix
@@ -2,8 +2,8 @@
, python, libconfig, lit, gdb, unzip, darwin, bash
, callPackage, makeWrapper, targetPackages
, bootstrapVersion ? false
-, version ? "1.12.0"
-, ldcSha256 ? "1fdma1w8j37wkr0pqdar11slkk36qymamxnk6d9k8ybhjmxaaawm"
+, version ? "1.14.0"
+, ldcSha256 ? "147vlzzzjx2n6zyz9wj54gj046i1mw5p5wixwzi5wkllgxghyy9c"
}:
let
@@ -18,208 +18,156 @@ let
else
"";
- ldcBuild = stdenv.mkDerivation rec {
- name = "ldcBuild-${version}";
-
- enableParallelBuilding = true;
-
- src = fetchurl {
- url = "https://github.com/ldc-developers/ldc/releases/download/v${version}/ldc-${version}-src.tar.gz";
- sha256 = ldcSha256;
- };
-
- postUnpack = ''
- patchShebangs .
- ''
-
- + stdenv.lib.optionalString (!bootstrapVersion && stdenv.hostPlatform.isDarwin) ''
- # http://forum.dlang.org/thread/xtbbqthxutdoyhnxjhxl@forum.dlang.org
- rm -r ldc-${version}-src/tests/dynamiccompile
-
- # https://github.com/NixOS/nixpkgs/issues/34817
- rm -r ldc-${version}-src/tests/plugins/addFuncEntryCall
-
- # https://github.com/NixOS/nixpkgs/pull/36378#issuecomment-385034818
- rm -r ldc-${version}-src/tests/debuginfo/classtypes_gdb.d
- rm -r ldc-${version}-src/tests/debuginfo/nested_gdb.d
-
- rm ldc-${version}-src/tests/d2/dmd-testsuite/runnable/test16096.sh
- rm ldc-${version}-src/tests/d2/dmd-testsuite/compilable/ldc_output_filenames.sh
- rm ldc-${version}-src/tests/d2/dmd-testsuite/compilable/crlf.sh
- rm ldc-${version}-src/tests/d2/dmd-testsuite/compilable/issue15574.sh
- rm ldc-${version}-src/tests/d2/dmd-testsuite/compilable/test6461.sh
- ''
-
- + stdenv.lib.optionalString (!bootstrapVersion) ''
- echo ${tzdata}/share/zoneinfo/ > ldc-${version}-src/TZDatabaseDirFile
-
- # Remove cppa test for now because it doesn't work.
- rm ldc-${version}-src/tests/d2/dmd-testsuite/runnable/cppa.d
- rm ldc-${version}-src/tests/d2/dmd-testsuite/runnable/extra-files/cppb.cpp
- '';
-
- datetimePath = if bootstrapVersion then
- "phobos/std/datetime.d"
- else
- "phobos/std/datetime/timezone.d";
-
- postPatch = ''
- # https://issues.dlang.org/show_bug.cgi?id=15391
- substituteInPlace runtime/phobos/std/net/curl.d \
- --replace libcurl.so ${curl.out}/lib/libcurl.so
-
- substituteInPlace tests/d2/dmd-testsuite/Makefile \
- --replace "SHELL=/bin/bash" "SHELL=${bash}/bin/bash"
- ''
-
- + stdenv.lib.optionalString (bootstrapVersion && stdenv.hostPlatform.isDarwin) ''
- # Was not able to compile on darwin due to "__inline_isnanl"
- # being undefined.
- substituteInPlace dmd2/root/port.c --replace __inline_isnanl __inline_isnan
- '';
-
- nativeBuildInputs = [ cmake makeWrapper llvm bootstrapLdc python lit gdb unzip ]
-
- ++ stdenv.lib.optional (bootstrapVersion) [
- libconfig
- ]
-
- ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [
- Foundation
- ]);
-
-
- buildInputs = [ curl tzdata ];
-
- #"-DINCLUDE_INSTALL_DIR=$out/include/dlang/ldc"
- # Xcode 9.0.1 fixes that bug according to ldc release notes
- #"-DRT_ARCHIVE_WITH_LDC=OFF"
- #"-DD_FLAGS=TZ_DATABASE_DIR=${tzdata}/share/zoneinfo/"
- #"-DCMAKE_BUILD_TYPE=Release"
- #"-DCMAKE_SKIP_RPATH=ON"
-
- #-DINCLUDE_INSTALL_DIR=$out/include/dlang/ldc
- #
- cmakeFlagsString = stdenv.lib.optionalString (!bootstrapVersion) ''
- "-DD_FLAGS=-d-version=TZDatabaseDir;-J$PWD"
- '';
-
- preConfigure = stdenv.lib.optionalString (!bootstrapVersion) ''
- cmakeFlagsArray=(
- ${cmakeFlagsString}
- )
- '';
-
- postConfigure = ''
- export DMD=$PWD/bin/ldmd2
- '';
-
- makeFlags = [ "DMD=$DMD" ];
-
- doCheck = !bootstrapVersion;
-
- checkPhase = ''
- # Build and run LDC D unittests.
- ctest --output-on-failure -R "ldc2-unittest"
- # Run LIT testsuite.
- ctest -V -R "lit-tests"
- # Run DMD testsuite.
- DMD_TESTSUITE_MAKE_ARGS=-j$NIX_BUILD_CORES ctest -V -R "dmd-testsuite"
- '';
-
- postInstall = ''
- wrapProgram $out/bin/ldc2 \
- --prefix PATH ":" "${targetPackages.stdenv.cc}/bin" \
- --set-default CC "${targetPackages.stdenv.cc}/bin/cc"
- '';
-
- meta = with stdenv.lib; {
- description = "The LLVM-based D compiler";
- homepage = https://github.com/ldc-developers/ldc;
- # from https://github.com/ldc-developers/ldc/blob/master/LICENSE
- license = with licenses; [ bsd3 boost mit ncsa gpl2Plus ];
- maintainers = with maintainers; [ ThomasMader ];
- platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ];
- };
- };
-
- # Need to test Phobos in a fixed-output derivation, otherwise the
- # network stuff in Phobos would fail if sandbox mode is enabled.
- #
- # Disable tests on Darwin for now because of
- # https://github.com/NixOS/nixpkgs/issues/41099
- # https://github.com/NixOS/nixpkgs/pull/36378#issuecomment-385034818
- ldcUnittests = if (!bootstrapVersion && !stdenv.hostPlatform.isDarwin) then
- stdenv.mkDerivation rec {
- name = "ldcUnittests-${version}";
-
- enableParallelBuilding = ldcBuild.enableParallelBuilding;
- preferLocalBuild = true;
- inputString = ldcBuild.outPath;
- outputHashAlgo = "sha256";
- outputHash = builtins.hashString "sha256" inputString;
-
- src = ldcBuild.src;
-
- postUnpack = ldcBuild.postUnpack;
-
- postPatch = ldcBuild.postPatch;
-
- nativeBuildInputs = ldcBuild.nativeBuildInputs
-
- ++ [
- ldcBuild
- ];
-
- buildInputs = ldcBuild.buildInputs;
-
- preConfigure = ''
- cmakeFlagsArray=(
- ${ldcBuild.cmakeFlagsString}
- "-DD_COMPILER=${ldcBuild.out}/bin/ldmd2"
- )
- '';
-
- postConfigure = ldcBuild.postConfigure;
-
- makeFlags = ldcBuild.makeFlags;
-
- buildCmd = if bootstrapVersion then
- "ctest -V -R \"build-druntime-ldc-unittest|build-phobos2-ldc-unittest\""
- else
- "make -j$NIX_BUILD_CORES DMD=${ldcBuild.out}/bin/ldc2 phobos2-test-runner phobos2-test-runner-debug";
-
- testCmd = if bootstrapVersion then
- "ctest -j$NIX_BUILD_CORES --output-on-failure -E \"dmd-testsuite|lit-tests|ldc2-unittest|llvm-ir-testsuite\""
- else
- "ctest -j$NIX_BUILD_CORES --output-on-failure -E \"dmd-testsuite|lit-tests|ldc2-unittest\"";
-
- buildPhase = ''
- ${buildCmd}
- ln -s ${ldcBuild.out}/bin/ldmd2 $PWD/bin/ldmd2
- ${testCmd}
- '';
-
- installPhase = ''
- echo -n $inputString > $out
- '';
- }
- else
- "";
-
in
stdenv.mkDerivation rec {
- inherit ldcUnittests;
name = "ldc-${version}";
- phases = "installPhase";
- buildInputs = ldcBuild.buildInputs;
- installPhase = ''
- mkdir $out
- cp -r --symbolic-link ${ldcBuild}/* $out/
+ enableParallelBuilding = true;
+
+ src = fetchurl {
+ url = "https://github.com/ldc-developers/ldc/releases/download/v${version}/ldc-${version}-src.tar.gz";
+ sha256 = ldcSha256;
+ };
+
+ # https://issues.dlang.org/show_bug.cgi?id=19553
+ hardeningDisable = [ "fortify" ];
+
+ postUnpack = ''
+ patchShebangs .
+ ''
+
+ + stdenv.lib.optionalString (!bootstrapVersion && stdenv.hostPlatform.isDarwin) ''
+ # https://github.com/NixOS/nixpkgs/issues/34817
+ rm -r ldc-${version}-src/tests/plugins/addFuncEntryCall
+ ''
+
+ + stdenv.lib.optionalString (!bootstrapVersion) ''
+ echo ${tzdata}/share/zoneinfo/ > ldc-${version}-src/TZDatabaseDirFile
+
+ echo ${curl.out}/lib/libcurl${stdenv.hostPlatform.extensions.sharedLibrary} > ldc-${version}-src/LibcurlPathFile
'';
- meta = ldcBuild.meta;
+ postPatch = ''
+ # Setting SHELL=$SHELL when dmd testsuite is run doesn't work on Linux somehow
+ substituteInPlace tests/d2/dmd-testsuite/Makefile --replace "SHELL=/bin/bash" "SHELL=${bash}/bin/bash"
+ ''
+
+ + stdenv.lib.optionalString (!bootstrapVersion && stdenv.hostPlatform.isLinux) ''
+ substituteInPlace runtime/phobos/std/socket.d --replace "assert(ih.addrList[0] == 0x7F_00_00_01);" ""
+ ''
+
+ + stdenv.lib.optionalString (!bootstrapVersion && stdenv.hostPlatform.isDarwin) ''
+ substituteInPlace runtime/phobos/std/socket.d --replace "foreach (name; names)" "names = []; foreach (name; names)"
+ ''
+
+ + stdenv.lib.optionalString (bootstrapVersion && stdenv.hostPlatform.isDarwin) ''
+ # Was not able to compile on darwin due to "__inline_isnanl"
+ # being undefined.
+ # TODO Remove with version > 0.17.6
+ substituteInPlace dmd2/root/port.c --replace __inline_isnanl __inline_isnan
+ '';
+
+ nativeBuildInputs = [ cmake makeWrapper llvm unzip ]
+
+ ++ stdenv.lib.optional (!bootstrapVersion) [
+ bootstrapLdc python lit
+ ]
+
+ ++ stdenv.lib.optional (!bootstrapVersion && !stdenv.hostPlatform.isDarwin) [
+ # https://github.com/NixOS/nixpkgs/pull/36378#issuecomment-385034818
+ gdb
+ ]
+
+ ++ stdenv.lib.optional (bootstrapVersion) [
+ libconfig
+ ]
+
+ ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [
+ Foundation
+ ]);
+
+
+ buildInputs = [ curl tzdata ];
+
+ cmakeFlagsString = stdenv.lib.optionalString (!bootstrapVersion) ''
+ "-DD_FLAGS=-d-version=TZDatabaseDir;-d-version=LibcurlPath;-J$PWD"
+ "-DCMAKE_BUILD_TYPE=Release"
+ '';
+
+ preConfigure = stdenv.lib.optionalString (!bootstrapVersion) ''
+ cmakeFlagsArray=(
+ ${cmakeFlagsString}
+ )
+ '';
+
+ postConfigure = ''
+ export DMD=$PWD/bin/ldmd2
+ '';
+
+ makeFlags = [ "DMD=$DMD" ];
+
+ fixNames = if stdenv.hostPlatform.isDarwin then ''
+ fixDarwinDylibNames() {
+ local flags=()
+
+ for fn in "$@"; do
+ flags+=(-change "$(basename "$fn")" "$fn")
+ done
+
+ for fn in "$@"; do
+ if [ -L "$fn" ]; then continue; fi
+ echo "$fn: fixing dylib"
+ install_name_tool -id "$fn" "''${flags[@]}" "$fn"
+ done
+ }
+
+ fixDarwinDylibNames $(find "$(pwd)/lib" -name "*.dylib")
+ ''
+ else
+ "";
+
+ # https://github.com/ldc-developers/ldc/issues/2497#issuecomment-459633746
+ additionalExceptions = if stdenv.hostPlatform.isDarwin then
+ "|druntime-test-shared"
+ else
+ "";
+
+ doCheck = !bootstrapVersion;
+
+ checkPhase = stdenv.lib.optionalString doCheck ''
+ # Build default lib test runners
+ make -j$NIX_BUILD_CORES all-test-runners
+
+ ${fixNames}
+
+ # Run dmd testsuite
+ export DMD_TESTSUITE_MAKE_ARGS="-j$NIX_BUILD_CORES DMD=$DMD CC=$CXX"
+ ctest -V -R "dmd-testsuite"
+
+ # Build and run LDC D unittests.
+ ctest --output-on-failure -R "ldc2-unittest"
+
+ # Run LIT testsuite.
+ ctest -V -R "lit-tests"
+
+ # Run default lib unittests
+ ctest -j$NIX_BUILD_CORES --output-on-failure -E "ldc2-unittest|lit-tests|dmd-testsuite${additionalExceptions}"
+ '';
+
+ postInstall = ''
+ wrapProgram $out/bin/ldc2 \
+ --prefix PATH ":" "${targetPackages.stdenv.cc}/bin" \
+ --set-default CC "${targetPackages.stdenv.cc}/bin/cc"
+ '';
+
+ meta = with stdenv.lib; {
+ description = "The LLVM-based D compiler";
+ homepage = https://github.com/ldc-developers/ldc;
+ # from https://github.com/ldc-developers/ldc/blob/master/LICENSE
+ license = with licenses; [ bsd3 boost mit ncsa gpl2Plus ];
+ maintainers = with maintainers; [ ThomasMader ];
+ platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ];
+ };
}
diff --git a/pkgs/development/compilers/nextpnr/default.nix b/pkgs/development/compilers/nextpnr/default.nix
index 156657d61d6..ef07b01a750 100644
--- a/pkgs/development/compilers/nextpnr/default.nix
+++ b/pkgs/development/compilers/nextpnr/default.nix
@@ -27,13 +27,13 @@ let
in
stdenv.mkDerivation rec {
name = "nextpnr-${version}";
- version = "2019.01.08";
+ version = "2019.02.20";
src = fetchFromGitHub {
owner = "yosyshq";
repo = "nextpnr";
- rev = "c1d15c749c2aa105ee7b38ebe1b60a27e3743e8c";
- sha256 = "082ac03s6164s7dwz1l9phshl8m1lizn45jykabrhks5jcccchbh";
+ rev = "e8d3aaaf34895a073e4023192d97fc936d090990";
+ sha256 = "0ijqpjnn7x16crd6cmd4nmgay320flizmjb7bbvg9hv464z3p4x7";
};
nativeBuildInputs = [ cmake makeWrapper ];
diff --git a/pkgs/development/compilers/nim/default.nix b/pkgs/development/compilers/nim/default.nix
index ae36041b33e..0d319d235fd 100644
--- a/pkgs/development/compilers/nim/default.nix
+++ b/pkgs/development/compilers/nim/default.nix
@@ -4,11 +4,11 @@
stdenv.mkDerivation rec {
name = "nim-${version}";
- version = "0.19.0";
+ version = "0.19.4";
src = fetchurl {
url = "https://nim-lang.org/download/${name}.tar.xz";
- sha256 = "0biwvw1gividp5lkf0daq1wp9v6ms4xy6dkf5zj0sn9w4m3n76d1";
+ sha256 = "0k59dhfsg5wnkc3nxg5a336pjd9jnfxabns63bl9n28iwdg16hgl";
};
doCheck = !stdenv.isDarwin;
diff --git a/pkgs/development/compilers/openjdk/11.nix b/pkgs/development/compilers/openjdk/11.nix
index a389f0f5ca1..f2a566c87df 100644
--- a/pkgs/development/compilers/openjdk/11.nix
+++ b/pkgs/development/compilers/openjdk/11.nix
@@ -18,8 +18,8 @@ let
else "amd64";
major = "11";
- update = ".0.1";
- build = "13";
+ update = ".0.2";
+ build = "9";
repover = "jdk-${major}${update}+${build}";
openjdk = stdenv.mkDerivation {
@@ -27,7 +27,7 @@ let
src = fetchurl {
url = "http://hg.openjdk.java.net/jdk-updates/jdk${major}u/archive/${repover}.tar.gz";
- sha256 = "1ri3fv67rvs9xxhc3ynklbprhxbdsgpwafbw6wqj950xy5crgysm";
+ sha256 = "0xc7nksvj72cgw8zrmvlcwaasinpij1j1959398a4nqvzpvpxg30";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/development/compilers/yosys/default.nix b/pkgs/development/compilers/yosys/default.nix
index 1afeae73f2f..7167a967c1c 100644
--- a/pkgs/development/compilers/yosys/default.nix
+++ b/pkgs/development/compilers/yosys/default.nix
@@ -8,14 +8,14 @@ with builtins;
stdenv.mkDerivation rec {
name = "yosys-${version}";
- version = "2019.01.08";
+ version = "2019.02.22";
srcs = [
(fetchFromGitHub {
owner = "yosyshq";
repo = "yosys";
- rev = "2a2e0a4722ded7628b71f436b94a06aebd57bb62";
- sha256 = "19wzh7yssk90s58l2f89m0q5bjjrjpkhvikf5zc0563wccvl712c";
+ rev = "c521f4632f1c82b48a5538c832980668044e8fd9";
+ sha256 = "18pg1ry5qhhx8c49n2gqwlf55sd9bfsfk3khfyh1a1vjh1qpfgdf";
name = "yosys";
})
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 426d23d6c7e..e27348b9455 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -953,17 +953,13 @@ self: super: {
# Tries to read a file it is not allowed to in the test suite
load-env = dontCheck super.load-env;
- # hledger needs a newer megaparsec version than we have in LTS 12.x.
- hledger-lib = super.hledger-lib.overrideScope (self: super: {
- # cassava-megaparsec = self.cassava-megaparsec_2_0_0;
- # hspec-megaparsec = self.hspec-megaparsec_2_0_0;
- # megaparsec = self.megaparsec_7_0_4;
- });
-
# Copy hledger man pages from data directory into the proper place. This code
# should be moved into the cabal2nix generator.
hledger = overrideCabal super.hledger (drv: {
postInstall = ''
+ # Don't install files that don't belong into this package to avoid
+ # conflicts when hledger and hledger-ui end up in the same profile.
+ rm embeddedfiles/hledger-{api,ui,web}.*
for i in $(seq 1 9); do
for j in embeddedfiles/*.$i; do
mkdir -p $out/share/man/man$i
@@ -974,7 +970,7 @@ self: super: {
cp -v embeddedfiles/*.info* $out/share/info/
'';
});
- hledger-ui = (overrideCabal super.hledger-ui (drv: {
+ hledger-ui = overrideCabal super.hledger-ui (drv: {
postInstall = ''
for i in $(seq 1 9); do
for j in *.$i; do
@@ -985,11 +981,6 @@ self: super: {
mkdir -p $out/share/info
cp -v *.info* $out/share/info/
'';
- })).overrideScope (self: super: {
- # cassava-megaparsec = self.cassava-megaparsec_2_0_0;
- # config-ini = self.config-ini_0_2_4_0;
- # hspec-megaparsec = self.hspec-megaparsec_2_0_0;
- # megaparsec = self.megaparsec_7_0_4;
});
hledger-web = overrideCabal super.hledger-web (drv: {
postInstall = ''
@@ -1231,4 +1222,16 @@ self: super: {
# https://github.com/qfpl/tasty-hedgehog/issues/24
tasty-hedgehog = dontCheck super.tasty-hedgehog;
+ # The latest release version is ancient. You really need this tool from git.
+ haskell-ci = generateOptparseApplicativeCompletion "haskell-ci"
+ (addBuildDepend (overrideSrc (dontCheck super.haskell-ci) {
+ version = "2019.02.22-git";
+ src = pkgs.fetchFromGitHub {
+ owner = "haskell-CI";
+ repo = "haskell-ci";
+ rev = "3a861aa7d6099296a9ac1003c7218e3ed831ca8c";
+ sha256 = "0hwfg3ab5mh3xml3nlabbr1x8bhg26gw6sxn8bgb8bh6r0ccq9pi";
+ };
+ }) (with self; [base-compat generic-lens microlens optparse-applicative ShellCheck]));
+
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super
diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix
index c2fbb4d6126..58e84b15485 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix
@@ -92,7 +92,8 @@ self: super: {
hackage-db_2_0_1 = super.hackage-db_2_0_1.overrideScope (self: super: { Cabal = self.Cabal_2_2_0_1; });
stack = super.stack.overrideScope (self: super: { Cabal = self.Cabal_2_2_0_1; });
- # GHC 8.2 doesn't have semigroups included by default
+ # Older GHC versions need these additional dependencies.
ListLike = addBuildDepend super.ListLike self.semigroups;
+ base-compat-batteries = addBuildDepend super.base-compat-batteries self.contravariant;
}
diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix
index 2a72eced2ba..417bf0effcd 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix
@@ -71,7 +71,8 @@ self: super: {
yaml = self.yaml_0_11_0_0;
};
- # cabal2nix doesn't list this because of a conditional on the GHC version.
+ # Older GHC versions need these additional dependencies.
aeson = addBuildDepend super.aeson self.contravariant;
+ base-compat-batteries = addBuildDepend super.base-compat-batteries self.contravariant;
}
diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
index abfbe69568a..2d382e90632 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
@@ -45,7 +45,6 @@ self: super: {
unordered-containers = dontCheck super.unordered-containers;
# Test suite does not compile.
- cereal = dontCheck super.cereal;
data-clist = doJailbreak super.data-clist; # won't cope with QuickCheck 2.12.x
dates = doJailbreak super.dates; # base >=4.9 && <4.12
Diff = dontCheck super.Diff;
@@ -54,7 +53,6 @@ self: super: {
hpc-coveralls = doJailbreak super.hpc-coveralls; # https://github.com/guillaume-nargeot/hpc-coveralls/issues/82
http-api-data = doJailbreak super.http-api-data;
persistent-sqlite = dontCheck super.persistent-sqlite;
- psqueues = dontCheck super.psqueues; # won't cope with QuickCheck 2.12.x
system-fileio = dontCheck super.system-fileio; # avoid dependency on broken "patience"
unicode-transforms = dontCheck super.unicode-transforms;
wl-pprint-extras = doJailbreak super.wl-pprint-extras; # containers >=0.4 && <0.6 is too tight; https://github.com/ekmett/wl-pprint-extras/issues/17
diff --git a/pkgs/development/haskell-modules/configuration-ghc-head.nix b/pkgs/development/haskell-modules/configuration-ghc-head.nix
index 2118be37534..09755e4cc94 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-head.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-head.nix
@@ -52,7 +52,6 @@ self: super: {
unordered-containers = dontCheck super.unordered-containers;
# Test suite does not compile.
- cereal = dontCheck super.cereal;
data-clist = doJailbreak super.data-clist; # won't cope with QuickCheck 2.12.x
dates = doJailbreak super.dates; # base >=4.9 && <4.12
Diff = dontCheck super.Diff;
@@ -60,7 +59,6 @@ self: super: {
hpc-coveralls = doJailbreak super.hpc-coveralls; # https://github.com/guillaume-nargeot/hpc-coveralls/issues/82
http-api-data = doJailbreak super.http-api-data;
persistent-sqlite = dontCheck super.persistent-sqlite;
- psqueues = dontCheck super.psqueues; # won't cope with QuickCheck 2.12.x
system-fileio = dontCheck super.system-fileio; # avoid dependency on broken "patience"
unicode-transforms = dontCheck super.unicode-transforms;
wl-pprint-extras = doJailbreak super.wl-pprint-extras; # containers >=0.4 && <0.6 is too tight; https://github.com/ekmett/wl-pprint-extras/issues/17
diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix
index fe07dd735f5..11cede5771a 100644
--- a/pkgs/development/haskell-modules/configuration-nix.nix
+++ b/pkgs/development/haskell-modules/configuration-nix.nix
@@ -487,6 +487,9 @@ self: super: builtins.intersectAttrs super {
# https://github.com/plow-technologies/servant-streaming/issues/12
servant-streaming-server = dontCheck super.servant-streaming-server;
+ # https://github.com/haskell-servant/servant/pull/1128
+ servant-client-core = appendPatch super.servant-client-core ./patches/servant-client-core-streamBody.patch;
+
# tests run executable, relying on PATH
# without this, tests fail with "Couldn't launch intero process"
intero = overrideCabal super.intero (drv: {
diff --git a/pkgs/development/haskell-modules/generic-builder.nix b/pkgs/development/haskell-modules/generic-builder.nix
index 2724ff5d622..e8195668c41 100644
--- a/pkgs/development/haskell-modules/generic-builder.nix
+++ b/pkgs/development/haskell-modules/generic-builder.nix
@@ -19,6 +19,7 @@ in
, buildTools ? [], libraryToolDepends ? [], executableToolDepends ? [], testToolDepends ? [], benchmarkToolDepends ? []
, configureFlags ? []
, buildFlags ? []
+, haddockFlags ? []
, description ? ""
, doCheck ? !isCross && stdenv.lib.versionOlder "7.4" ghc.version
, doBenchmark ? false
@@ -372,7 +373,8 @@ stdenv.mkDerivation ({
${optionalString (doHaddock && isLibrary) ''
${setupCommand} haddock --html \
${optionalString doHoogle "--hoogle"} \
- ${optionalString (isLibrary && hyperlinkSource) "--hyperlink-source"}
+ ${optionalString (isLibrary && hyperlinkSource) "--hyperlink-source"} \
+ ${stdenv.lib.concatStringsSep " " haddockFlags}
''}
runHook postHaddock
'';
diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix
index 73991a6b4f7..d3378c87586 100644
--- a/pkgs/development/haskell-modules/hackage-packages.nix
+++ b/pkgs/development/haskell-modules/hackage-packages.nix
@@ -21279,6 +21279,8 @@ self: {
pname = "acme-zalgo";
version = "0.1.2.1";
sha256 = "1yd3xrdkxf3hgapi4w5vg79nxmw8y5rnyki5pqi00mca9wjspdhz";
+ revision = "1";
+ editedCabalFile = "1bwpaqqvp8mwpw7966xjn8zhi0rs9iqpwkhkzjxw8c885h45n1za";
libraryHaskellDepends = [ array base random ];
description = "A somewhat flexible Zalgo̐ te̳͜x̥̖̉̓͞t̍̌̔ ̀̃t̴̢̞̜͓̝r̶̬̆̂̒͟á̧̡͎͔̯̰̕n̹̾̓ͬͦ̍͘ṡ̢͓͉ͮ͆l̠̖̹̗̳̖̽̌ͤ͞a͚̭͙̹̲ͭͩt͈͐o̢̭͇͍̟͐ͬ̾ͪ͜r͇.̸̅ͭ̐̀̊ͨ͛";
license = stdenv.lib.licenses.mit;
@@ -21656,6 +21658,17 @@ self: {
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
+ "adtrees" = callPackage
+ ({ mkDerivation, base }:
+ mkDerivation {
+ pname = "adtrees";
+ version = "0.1.0.0";
+ sha256 = "0cp14n2l3scbsp7f6s4r19ngn2ympns03pm6s07hdkpavvgli1zg";
+ libraryHaskellDepends = [ base ];
+ description = "Modelling, rendering and quantitative analysis on attack defense trees";
+ license = stdenv.lib.licenses.gpl3;
+ }) {};
+
"advent-of-code-api" = callPackage
({ mkDerivation, attoparsec, base, containers, curl, deepseq
, directory, filepath, finite-typelits, HUnit, mtl, tagsoup, text
@@ -28729,8 +28742,8 @@ self: {
}:
mkDerivation {
pname = "arbor-monad-metric";
- version = "1.1.1";
- sha256 = "1ypacqjd7hf5s7r4w432v9yndxxb40w9kwhxhlqzc4wim798vj3h";
+ version = "1.2.0";
+ sha256 = "0mn6pc5h1rwd3w2cw393skm62yxii21j5f7q9rlpdw7np9xgwfcf";
libraryHaskellDepends = [
base containers generic-lens lens mtl resourcet stm text
transformers
@@ -29818,7 +29831,7 @@ self: {
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
- "asif_4_0_0" = callPackage
+ "asif_4_0_1" = callPackage
({ mkDerivation, attoparsec, base, binary, bytestring, conduit
, conduit-combinators, conduit-extra, containers, cpu, directory
, either, exceptions, foldl, generic-lens, hedgehog, hspec, hw-bits
@@ -29828,8 +29841,8 @@ self: {
}:
mkDerivation {
pname = "asif";
- version = "4.0.0";
- sha256 = "1xf5x7jm01w30l2cwb3m9sv5qimnc2n6a6dhrykq81ajcf5ix0p6";
+ version = "4.0.1";
+ sha256 = "172vqpdv9jjqj8vzq2v2pfvkmjpkhlpl03mafqk5cvdj72a7vy3s";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -32124,8 +32137,8 @@ self: {
}:
mkDerivation {
pname = "aws";
- version = "0.21";
- sha256 = "0g6sp8wgirinp0kaa73s283mjws6wbihg38jklbj9dx6sxdmdja9";
+ version = "0.21.1";
+ sha256 = "047zfpc3bzdxgh6adfi1xls3j300vhyzcykzf9wyasxksw4xnrxl";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -46585,6 +46598,8 @@ self: {
pname = "chimera";
version = "0.2.0.0";
sha256 = "1hrnvyp8d7qc1c3xl4mzfsycb554yn3b49yy8jjyvaqazmvrb4zi";
+ revision = "1";
+ editedCabalFile = "029hpcs3x1sv3jsq10bygm4246b4gy83yxg3s4r98f37055dyzyd";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ base ghc-prim vector ];
@@ -50104,8 +50119,8 @@ self: {
}:
mkDerivation {
pname = "collection-json";
- version = "1.3.1.0";
- sha256 = "0wlpv47jj5q2kiwm1daaw4p4s9vh3xfs4rpb78y2a1qw6r6nw9vw";
+ version = "1.3.1.3";
+ sha256 = "098in13gkrv4lrdn67b010c5wsl0zqwzcyfd504039wdcm6pazng";
libraryHaskellDepends = [
aeson base network-uri network-uri-json text
];
@@ -60432,8 +60447,8 @@ self: {
}:
mkDerivation {
pname = "datadog-tracing";
- version = "1.0.1";
- sha256 = "007cpk9iwxy4jgj6fr1yih090dxgbj9d6jpc6kf3610p0a14nlzq";
+ version = "1.1.0";
+ sha256 = "1zrdbgljm35r8nqw0lg4pq1ywcv76ifplgdh860zq9sjdz5f5lxi";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -61738,10 +61753,8 @@ self: {
({ mkDerivation, base, tasty, tasty-hunit }:
mkDerivation {
pname = "decimal-literals";
- version = "0.1.0.0";
- sha256 = "0zsykb1ydihcd6x7v5xx1i0v5wn6a48g7ndzi68iwhivmj0qxyi7";
- revision = "3";
- editedCabalFile = "0v53iwn2f5fhjhzf8zgzxrc1inp1bb0qjsghf1jlcp98az7avsjb";
+ version = "0.1.0.1";
+ sha256 = "0lbpnc4c266fbqjzzrnig648zzsqfaphlxqwyly9xd15qggzasb0";
libraryHaskellDepends = [ base ];
testHaskellDepends = [ base tasty tasty-hunit ];
description = "Preprocessing decimal literals more or less as they are (instead of via fractions)";
@@ -65256,8 +65269,8 @@ self: {
}:
mkDerivation {
pname = "discord-haskell";
- version = "0.8.0";
- sha256 = "10lmn9wkrzzslwbxgw9l25hyxldprz1ig87glg681aibssh0p54m";
+ version = "0.8.1";
+ sha256 = "0r7nlivcrqazjgsh54k8qrl64h7065c9vdg4ndv8bahvxvw1ld8r";
libraryHaskellDepends = [
aeson async base base64-bytestring bytestring containers
data-default http-client iso8601-time JuicyPixels MonadRandom req
@@ -73558,6 +73571,8 @@ self: {
pname = "exact-pi";
version = "0.5.0.1";
sha256 = "0q0qrkmpff835m3zz3w60i1y4sqicnzqb6vqmk13cjh4ign5d0ax";
+ revision = "1";
+ editedCabalFile = "1l55d7x61i2d5rlh7sh2nhn0af9cyp92gzdmqqnnjzg55d347qsm";
libraryHaskellDepends = [ base numtype-dk ];
testHaskellDepends = [
base numtype-dk QuickCheck tasty tasty-hunit tasty-quickcheck
@@ -76610,6 +76625,27 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {inherit (pkgs) fftw;};
+ "ffunctor" = callPackage
+ ({ mkDerivation, aeson, base, composition, http-client, mtl
+ , servant, servant-client, tasty, tasty-discover, tasty-hspec
+ , tasty-quickcheck, time
+ }:
+ mkDerivation {
+ pname = "ffunctor";
+ version = "1.1.0";
+ sha256 = "0y9x6xhpizg07d7nc3adk8x4ccy331w7if6jvq2p7hbyr57gbid7";
+ revision = "1";
+ editedCabalFile = "1x74grqgsjrbncpkz6iyyalfkhbs3vw0lfzv6s1bfd6zx0j4lggv";
+ libraryHaskellDepends = [ base ];
+ testHaskellDepends = [
+ aeson base composition http-client mtl servant servant-client tasty
+ tasty-hspec tasty-quickcheck time
+ ];
+ testToolDepends = [ tasty-discover ];
+ description = "FFunctor typeclass";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"fgl" = callPackage
({ mkDerivation, array, base, containers, deepseq, hspec
, microbench, QuickCheck, transformers
@@ -84030,6 +84066,19 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "genvalidity_0_7_0_1" = callPackage
+ ({ mkDerivation, base, hspec, hspec-core, QuickCheck, validity }:
+ mkDerivation {
+ pname = "genvalidity";
+ version = "0.7.0.1";
+ sha256 = "1fgd551nv6y5qs2ya9576yl3dfwnb38z6pg2pg9fbdjnk18wikzz";
+ libraryHaskellDepends = [ base QuickCheck validity ];
+ testHaskellDepends = [ base hspec hspec-core QuickCheck ];
+ description = "Testing utilities for the validity library";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"genvalidity-aeson" = callPackage
({ mkDerivation, aeson, base, genvalidity, genvalidity-hspec
, genvalidity-scientific, genvalidity-text
@@ -97487,26 +97536,28 @@ self: {
"halive" = callPackage
({ mkDerivation, base, bytestring, containers, directory, filepath
- , foreign-store, fsnotify, ghc, ghc-boot, ghc-paths, gl, linear
- , mtl, process, random, sdl2, signal, stm, text, time, transformers
+ , foreign-store, fsnotify, ghc, ghc-boot, ghc-paths, gl, hspec
+ , lens, linear, mtl, pretty-show, process, random, sdl2, signal
+ , stm, text, time, transformers
}:
mkDerivation {
pname = "halive";
- version = "0.1.3";
- sha256 = "0rffds6m31b80vv2l2qpbzx3pfya4kz6nlp9w6frc6k94zdba378";
+ version = "0.1.6";
+ sha256 = "19mlbl8psb5gxw6xsgiw5kxw4fvmfl552acalj05s6h9gsl4hcnh";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
base containers directory filepath foreign-store fsnotify ghc
- ghc-boot ghc-paths mtl process signal stm time transformers
+ ghc-boot ghc-paths mtl process signal stm text time transformers
];
executableHaskellDepends = [
base directory filepath fsnotify ghc ghc-paths process stm
transformers
];
testHaskellDepends = [
- base bytestring containers filepath foreign-store gl linear mtl
- random sdl2 stm text time
+ base bytestring containers directory filepath foreign-store ghc
+ ghc-paths gl hspec lens linear mtl pretty-show random sdl2 stm text
+ time
];
description = "A live recompiler";
license = stdenv.lib.licenses.bsd2;
@@ -102618,8 +102669,8 @@ self: {
}:
mkDerivation {
pname = "haskoin-store";
- version = "0.10.1";
- sha256 = "0z9qsjnzkvzgf0asrdigyph4i3623hkq10542xh0kjq56hnglcn2";
+ version = "0.11.0";
+ sha256 = "03rhbp4rc4ycmnj5gsa79pjzgmp659xwbajaqfns4xgb3d0nhylx";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -118412,8 +118463,8 @@ self: {
}:
mkDerivation {
pname = "http-conduit-downloader";
- version = "1.0.31";
- sha256 = "1ng41s2y176223blzxdywlv7hmbdh7i5nwr63la7jfnd9rcdr83c";
+ version = "1.0.33";
+ sha256 = "07pn2p143rfmvax3zx53hlgh0rfynn60g0z6cw6vazrxap4v3pr3";
libraryHaskellDepends = [
base bytestring conduit connection data-default HsOpenSSL
http-client http-conduit http-types mtl network network-uri
@@ -124559,6 +124610,23 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "inspection-testing_0_4_1_2" = callPackage
+ ({ mkDerivation, base, containers, ghc, mtl, template-haskell
+ , transformers
+ }:
+ mkDerivation {
+ pname = "inspection-testing";
+ version = "0.4.1.2";
+ sha256 = "1rh744nswl7i6wk2gv9qx5rbz74ndd1j5ynmfzdhw3i4jjr99q4v";
+ libraryHaskellDepends = [
+ base containers ghc mtl template-haskell transformers
+ ];
+ testHaskellDepends = [ base ];
+ description = "GHC plugin to do inspection testing";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"inspector-wrecker" = callPackage
({ mkDerivation, aeson, base, bytestring, case-insensitive
, connection, data-default, http-client, http-client-tls
@@ -132989,8 +133057,8 @@ self: {
}:
mkDerivation {
pname = "language-ats";
- version = "1.7.0.5";
- sha256 = "1vdn1f5bx395jynacmpsvfsyyr29jgpg1y25i1jmbkzjdzkb0h2b";
+ version = "1.7.0.6";
+ sha256 = "0d2bjha52jph49jiac045igpxarrksihvv46s047qigs435linck";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
ansi-wl-pprint array base composition-prelude containers deepseq
@@ -133831,6 +133899,50 @@ self: {
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
+ "language-puppet_1_4_3" = callPackage
+ ({ mkDerivation, aeson, ansi-wl-pprint, async, attoparsec, base
+ , base16-bytestring, bytestring, case-insensitive, containers
+ , cryptonite, directory, filecache, filepath, formatting, Glob
+ , hashable, hruby, hslogger, hspec, hspec-megaparsec, http-api-data
+ , http-client, lens, lens-aeson, megaparsec, memory, mtl
+ , operational, optparse-applicative, parsec, parser-combinators
+ , pcre-utils, protolude, random, regex-pcre-builtin, scientific
+ , servant, servant-client, split, stm, strict-base-types, temporary
+ , text, time, transformers, unix, unordered-containers, vector
+ , yaml
+ }:
+ mkDerivation {
+ pname = "language-puppet";
+ version = "1.4.3";
+ sha256 = "1sh0i487w7mz5c0scly1s11xzha4dbp2wdiwdks3203c5yrjdfq7";
+ isLibrary = true;
+ isExecutable = true;
+ enableSeparateDataOutput = true;
+ libraryHaskellDepends = [
+ aeson ansi-wl-pprint attoparsec base base16-bytestring bytestring
+ case-insensitive containers cryptonite directory filecache filepath
+ formatting hashable hruby hslogger http-api-data http-client lens
+ lens-aeson megaparsec memory mtl operational parsec
+ parser-combinators pcre-utils protolude random regex-pcre-builtin
+ scientific servant servant-client split stm strict-base-types text
+ time transformers unix unordered-containers vector yaml
+ ];
+ executableHaskellDepends = [
+ aeson ansi-wl-pprint async base bytestring containers Glob hslogger
+ http-client lens mtl optparse-applicative regex-pcre-builtin
+ strict-base-types text transformers unordered-containers vector
+ yaml
+ ];
+ testHaskellDepends = [
+ base Glob hslogger hspec hspec-megaparsec lens megaparsec mtl
+ pcre-utils scientific strict-base-types temporary text transformers
+ unordered-containers vector
+ ];
+ description = "Tools to parse and evaluate the Puppet DSL";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"language-python" = callPackage
({ mkDerivation, alex, array, base, containers, happy, monads-tf
, pretty, transformers, utf8-string
@@ -136029,11 +136141,11 @@ self: {
({ mkDerivation, base, bytestring, filepath, libarchive }:
mkDerivation {
pname = "libarchive";
- version = "0.2.0.0";
- sha256 = "14kad23r22bx65h2iq0n0cbxhzzwj56gwpi73vciycjg0i5w04yd";
+ version = "0.2.1.1";
+ sha256 = "03qyyqki2s55lvpc9iwyh96sv4yslxw9an89n87a138bvwrdyyma";
libraryHaskellDepends = [ base bytestring filepath ];
libraryPkgconfigDepends = [ libarchive ];
- description = "Haskell bindings for libarchive";
+ description = "Haskell interface to libarchive";
license = stdenv.lib.licenses.bsd3;
}) {inherit (pkgs) libarchive;};
@@ -137351,6 +137463,35 @@ self: {
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
+ "line-bot-sdk" = callPackage
+ ({ mkDerivation, aeson, base, base64-bytestring, bytestring
+ , cryptohash-sha256, errors, hspec, hspec-wai, hspec-wai-json
+ , http-client, http-client-tls, http-types, scientific, servant
+ , servant-client, servant-client-core, servant-server
+ , string-conversions, text, time, transformers, wai, wai-extra
+ , warp
+ }:
+ mkDerivation {
+ pname = "line-bot-sdk";
+ version = "0.1.0.0";
+ sha256 = "0kcnxldqks6nvifzsdlkrkfypmj2yzavs675bw96x721mxb63czp";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ aeson base base64-bytestring bytestring cryptohash-sha256 errors
+ http-client http-client-tls http-types scientific servant
+ servant-client servant-client-core servant-server
+ string-conversions text time transformers wai wai-extra
+ ];
+ executableHaskellDepends = [
+ base servant servant-client servant-server time transformers wai
+ wai-extra warp
+ ];
+ testHaskellDepends = [ aeson base hspec hspec-wai hspec-wai-json ];
+ description = "Haskell SDK for LINE Messaging API";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"line-break" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -155145,8 +155286,8 @@ self: {
}:
mkDerivation {
pname = "network-uri-json";
- version = "0.3.0.0";
- sha256 = "15qw2knzj5b90vb4rhzxiv9wxdv41f5l75hpp4y0ycc60q5xja27";
+ version = "0.3.1.1";
+ sha256 = "0akyhgi79pzhvfq47risrqmr6hi409fnz1ivwpwwfc4laimf3mky";
libraryHaskellDepends = [ aeson base network-uri text ];
testHaskellDepends = [
aeson base hspec network-arbitrary network-uri test-invariant text
@@ -155337,16 +155478,16 @@ self: {
}) {};
"newsynth" = callPackage
- ({ mkDerivation, base, containers, fixedprec, random, superdoc
- , time
+ ({ mkDerivation, base, Cabal, containers, fixedprec, random
+ , superdoc, time
}:
mkDerivation {
pname = "newsynth";
- version = "0.3.0.4";
- sha256 = "0w31h7xqv9sk0jb1mdviv107w8y7v018bzdvdw8gcrjyvp47307q";
+ version = "0.3.0.5";
+ sha256 = "1qfan8vf7s3bhdc3bfjsig4sv0cip0qfvqmyxw0iqc7gqbbkinzy";
isLibrary = true;
isExecutable = true;
- setupHaskellDepends = [ base superdoc ];
+ setupHaskellDepends = [ base Cabal superdoc ];
libraryHaskellDepends = [ base containers fixedprec random ];
executableHaskellDepends = [ base random time ];
description = "Exact and approximate synthesis of quantum circuits";
@@ -161180,8 +161321,8 @@ self: {
({ mkDerivation, array, base, colour, containers, MonadRandom }:
mkDerivation {
pname = "palette";
- version = "0.3.0.1";
- sha256 = "0ylwgb7a0mhffz00hmhx93y4kyjb9xgm96jrfcxl464x8cjka5gi";
+ version = "0.3.0.2";
+ sha256 = "0820n3cj4zy9s46diln2rrs4lrxbipkhdw74p2w42gc7k1nlj54i";
libraryHaskellDepends = [
array base colour containers MonadRandom
];
@@ -161421,8 +161562,8 @@ self: {
}:
mkDerivation {
pname = "pandoc-citeproc-preamble";
- version = "1.2.3";
- sha256 = "1ip5z2zyich5f4h8arwmi67nlzwfd0hfpz3ixgisips3mz2d5hl2";
+ version = "1.2.4";
+ sha256 = "0bdarf6rjncd8lfap4xn479675vsvqzxrmdqd367l2gxfi1nmrv5";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -163715,10 +163856,8 @@ self: {
({ mkDerivation, base, containers }:
mkDerivation {
pname = "patience";
- version = "0.2.1.0";
- sha256 = "0mfkqf5kwxqva6pizj967gv7m8zvjvwnli5ala0qvv7jq8gqnfsf";
- revision = "1";
- editedCabalFile = "0zr4w80zx7gw7amj2mlxl0k7lvczxnl0i13mijvxnb0g15sa5clg";
+ version = "0.2.1.1";
+ sha256 = "14d6hkrkbanlv09z7dbg8q7hk5ax5mfpgzr0knmcviq02kmzbs0s";
libraryHaskellDepends = [ base containers ];
description = "Patience diff and longest increasing subsequence";
license = stdenv.lib.licenses.bsd3;
@@ -166727,15 +166866,16 @@ self: {
}:
mkDerivation {
pname = "pinch";
- version = "0.3.4.0";
- sha256 = "10rmk6f9cb2l7dyybwpbin0i5dqdg59d17m627kj9abyrlhcyf8a";
+ version = "0.3.4.1";
+ sha256 = "1yrw0g68j7jl9q19byq10nfg4rvn3wr49sganx8k4mr46j8pa0sk";
libraryHaskellDepends = [
array base bytestring containers deepseq ghc-prim hashable
semigroups text unordered-containers vector
];
+ libraryToolDepends = [ hspec-discover ];
testHaskellDepends = [
- base bytestring containers hspec hspec-discover QuickCheck
- semigroups text unordered-containers vector
+ base bytestring containers hspec QuickCheck semigroups text
+ unordered-containers vector
];
testToolDepends = [ hspec-discover ];
description = "An alternative implementation of Thrift for Haskell";
@@ -169922,8 +170062,8 @@ self: {
({ mkDerivation, base, primitive, tasty, tasty-hunit }:
mkDerivation {
pname = "posix-api";
- version = "0.2.0.0";
- sha256 = "059b5zip3i7cfa977kz0jzxc7b8nws9libkxwf8pnvxk70i7apq1";
+ version = "0.2.1.0";
+ sha256 = "1vxasjdy3l41brzyrjqv13zazm1ryqy496p2rfvm19062bfpixji";
libraryHaskellDepends = [ base primitive ];
testHaskellDepends = [ base primitive tasty tasty-hunit ];
description = "posix bindings";
@@ -174242,6 +174382,24 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "protocol-radius-test_0_1_0_0" = callPackage
+ ({ mkDerivation, base, bytestring, cereal, containers
+ , protocol-radius, QuickCheck, quickcheck-simple, transformers
+ }:
+ mkDerivation {
+ pname = "protocol-radius-test";
+ version = "0.1.0.0";
+ sha256 = "1zgfq76k86jf1jpm14mpb8iaiya0d6vz0lrmbwc0fn34hqhkcd88";
+ libraryHaskellDepends = [
+ base bytestring cereal containers protocol-radius QuickCheck
+ quickcheck-simple transformers
+ ];
+ testHaskellDepends = [ base quickcheck-simple ];
+ description = "testsuit of protocol-radius haskell package";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"protolude" = callPackage
({ mkDerivation, array, async, base, bytestring, containers
, deepseq, ghc-prim, hashable, mtl, mtl-compat, stm, text
@@ -174337,6 +174495,18 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "proxied_0_3_1" = callPackage
+ ({ mkDerivation, base }:
+ mkDerivation {
+ pname = "proxied";
+ version = "0.3.1";
+ sha256 = "0ldcyvzg5i4axkn5qwgkc8vrc0f0715842ca41d7237p1bh98s4r";
+ libraryHaskellDepends = [ base ];
+ description = "Make functions consume Proxy instead of undefined";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"proxy" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -178681,7 +178851,7 @@ self: {
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
- "rattletrap_6_2_2" = callPackage
+ "rattletrap_6_2_3" = callPackage
({ mkDerivation, aeson, aeson-pretty, base, binary, binary-bits
, bytestring, clock, containers, filepath, http-client
, http-client-tls, HUnit, template-haskell, temporary, text
@@ -178689,8 +178859,8 @@ self: {
}:
mkDerivation {
pname = "rattletrap";
- version = "6.2.2";
- sha256 = "06gbvkg6wn7dql954bzbw8l1460hk2f9055404q0a949qlmmqb3p";
+ version = "6.2.3";
+ sha256 = "0h542a6i1rc1zh2xy4fc9cdaq424hka77mxndg2ka8a0c0mj0jfp";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -180026,13 +180196,14 @@ self: {
}:
mkDerivation {
pname = "red-black-record";
- version = "1.1.0.0";
- sha256 = "12q3b44qcb8zp5m0zrbj88kigk00rm6ljrnpwd29wv1gdwzd15af";
+ version = "2.0.2.0";
+ sha256 = "1g7x2gny30nz92nxl7w77xjlwsdqdl6g97w1lqgz1jrmm3jq146j";
libraryHaskellDepends = [ base sop-core ];
testHaskellDepends = [
aeson base bytestring doctest profunctors sop-core tasty
tasty-hunit text
];
+ doHaddock = false;
description = "Extensible records and variants indexed by a type-level Red-Black tree";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -194522,6 +194693,22 @@ self: {
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
+ "shellmet" = callPackage
+ ({ mkDerivation, base, markdown-unlit, process, text }:
+ mkDerivation {
+ pname = "shellmet";
+ version = "0.0.0";
+ sha256 = "1mn9m1jdbfb9p273wb9jvdnflhp6569ix6sa1z7yzqr91g7w4017";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [ base process text ];
+ executableHaskellDepends = [ base text ];
+ executableToolDepends = [ markdown-unlit ];
+ testHaskellDepends = [ base ];
+ description = "Out of the shell solution for scripting in Haskell";
+ license = stdenv.lib.licenses.mpl20;
+ }) {};
+
"shellout" = callPackage
({ mkDerivation, async, base, stm, text, typed-process }:
mkDerivation {
@@ -194944,6 +195131,23 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "show-prettyprint_0_2_3" = callPackage
+ ({ mkDerivation, ansi-wl-pprint, base, doctest, prettyprinter
+ , trifecta
+ }:
+ mkDerivation {
+ pname = "show-prettyprint";
+ version = "0.2.3";
+ sha256 = "01wg1bzp6dylysbm9rfq8n0ci7yzg3gw6jkzy8kzmsydgs5c54pd";
+ libraryHaskellDepends = [
+ ansi-wl-pprint base prettyprinter trifecta
+ ];
+ testHaskellDepends = [ base doctest ];
+ description = "Robust prettyprinter for output of auto-generated Show instances";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"show-type" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -195483,8 +195687,8 @@ self: {
({ mkDerivation, base, optparse-applicative }:
mkDerivation {
pname = "simple-cmd-args";
- version = "0.1.0";
- sha256 = "1cwh2ikk1iccbm5yq7hihk3yhfg4zbxsi8q1jpjavzlcs18sfnll";
+ version = "0.1.0.1";
+ sha256 = "1fs528gr70ppwfz1yalvjdfdxf7b7zxcc9cvsmdba8r1m489qp9d";
libraryHaskellDepends = [ base optparse-applicative ];
description = "Simple command args parsing and execution";
license = stdenv.lib.licenses.bsd3;
@@ -199811,18 +200015,18 @@ self: {
}) {};
"sockets" = callPackage
- ({ mkDerivation, async, base, ip, posix-api, primitive, tasty
- , tasty-hunit
+ ({ mkDerivation, async, base, bytestring, entropy, ip, posix-api
+ , primitive, stm, tasty, tasty-hunit, text
}:
mkDerivation {
pname = "sockets";
- version = "0.1.0.0";
- sha256 = "000j2bfjsa33l73pg57g4rignl7dy0jl072r3h9wl4d1f4qc3sim";
+ version = "0.3.0.0";
+ sha256 = "0l6xvs42wsxlmvm3l8hw0b2xmyiamyq1m81hw0q5p28rnjn9ydfr";
isLibrary = true;
isExecutable = true;
- libraryHaskellDepends = [ base ip posix-api primitive ];
+ libraryHaskellDepends = [ base ip posix-api primitive stm text ];
testHaskellDepends = [ async base ip primitive tasty tasty-hunit ];
- benchmarkHaskellDepends = [ base ip primitive ];
+ benchmarkHaskellDepends = [ base bytestring entropy ip primitive ];
description = "High-level network sockets";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -214478,6 +214682,8 @@ self: {
pname = "these-skinny";
version = "0.7.4";
sha256 = "0hlxf94ir99y0yzm9pq8cvs7vbar4bpj1w1ibs96hrx2biwfbnkr";
+ revision = "1";
+ editedCabalFile = "057hgdbc5ch43cn5qz0kr02iws9p1l24z23pifll29iazzl1jk6c";
libraryHaskellDepends = [ base deepseq ];
description = "A fork of the 'these' package without the dependency bloat";
license = stdenv.lib.licenses.bsd3;
@@ -224696,8 +224902,8 @@ self: {
}:
mkDerivation {
pname = "uuagc";
- version = "0.9.52.1";
- sha256 = "1191a1jr1s76wjdrfzafy1ibf7a7xpg54dvwhwz4kr1jrc9jn2cq";
+ version = "0.9.52.2";
+ sha256 = "1wqva95nmz9yx9b60jjwkpb73pq9m4g9l4iq739xnj6llwckpb8y";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -225268,6 +225474,19 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "validity_0_9_0_1" = callPackage
+ ({ mkDerivation, base, hspec }:
+ mkDerivation {
+ pname = "validity";
+ version = "0.9.0.1";
+ sha256 = "112wchq5l39fi9bkfkljic7bh1rd5gvz4lwjjw9pajg0zj51pyib";
+ libraryHaskellDepends = [ base ];
+ testHaskellDepends = [ base hspec ];
+ description = "Validity typeclass";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"validity-aeson" = callPackage
({ mkDerivation, aeson, base, validity, validity-scientific
, validity-text, validity-unordered-containers, validity-vector
@@ -226900,6 +227119,17 @@ self: {
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
+ "vinyl-named-sugar" = callPackage
+ ({ mkDerivation, base, vinyl }:
+ mkDerivation {
+ pname = "vinyl-named-sugar";
+ version = "0.1.0.0";
+ sha256 = "19wbdavf5zb967r4qkw6ksd2yakp4cnlq1hffzzywssm50zakc3h";
+ libraryHaskellDepends = [ base vinyl ];
+ description = "Syntax sugar for vinyl records using overloaded labels";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"vinyl-operational" = callPackage
({ mkDerivation, base, operational, operational-extra, vinyl-plus
}:
@@ -227488,28 +227718,29 @@ self: {
, hedgehog-fn, hoist-error, hw-balancedparens, hw-bits, hw-json
, hw-prim, hw-rankselect, lens, mmorph, mtl, nats, natural, parsers
, scientific, semigroupoids, semigroups, tagged, tasty
- , tasty-expected-failure, tasty-hedgehog, tasty-hunit
- , template-haskell, text, transformers, vector, witherable
- , wl-pprint-annotated, zippers
+ , tasty-expected-failure, tasty-golden, tasty-hedgehog, tasty-hunit
+ , template-haskell, text, transformers, unordered-containers
+ , vector, witherable, wl-pprint-annotated, zippers
}:
mkDerivation {
pname = "waargonaut";
- version = "0.5.2.2";
- sha256 = "06kkgn6p28c29f9i3qs2wxmbsg449d7awi4h7giakws6ny1min95";
+ version = "0.6.0.0";
+ sha256 = "1nbykbgx9qzwzcilg2kmrr51fggczynn6kv7a60vsxxckkqlgy8j";
setupHaskellDepends = [ base Cabal cabal-doctest ];
libraryHaskellDepends = [
- base bifunctors bytestring containers contravariant digit
- distributive errors generics-sop hoist-error hw-balancedparens
- hw-bits hw-json hw-prim hw-rankselect lens mmorph mtl nats natural
- parsers scientific semigroupoids semigroups tagged text
- transformers vector witherable wl-pprint-annotated zippers
+ attoparsec base bifunctors bytestring containers contravariant
+ digit distributive errors generics-sop hoist-error
+ hw-balancedparens hw-bits hw-json hw-prim hw-rankselect lens mmorph
+ mtl nats natural parsers scientific semigroupoids semigroups tagged
+ text transformers unordered-containers vector witherable
+ wl-pprint-annotated zippers
];
testHaskellDepends = [
attoparsec base bytestring containers contravariant digit directory
distributive doctest filepath generics-sop hedgehog hedgehog-fn
lens mtl natural scientific semigroupoids semigroups tagged tasty
- tasty-expected-failure tasty-hedgehog tasty-hunit template-haskell
- text vector zippers
+ tasty-expected-failure tasty-golden tasty-hedgehog tasty-hunit
+ template-haskell text unordered-containers vector zippers
];
description = "JSON wrangling";
license = stdenv.lib.licenses.bsd3;
@@ -235432,8 +235663,8 @@ self: {
}:
mkDerivation {
pname = "yak";
- version = "0.1.0.0";
- sha256 = "1zw522pijmad87986m663myzfkvm40y7w3g04z0f67yfzby4s19a";
+ version = "0.2.0.0";
+ sha256 = "1k27361n0jbixrshlf9757gvlnm7z3safkl28zg4lqflmfq95mai";
libraryHaskellDepends = [
attoparsec base bytestring lens template-haskell text time
];
@@ -239526,6 +239757,17 @@ self: {
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
+ "zenhack-prelude" = callPackage
+ ({ mkDerivation, base }:
+ mkDerivation {
+ pname = "zenhack-prelude";
+ version = "0.1.1.0";
+ sha256 = "07njs4zb976zxyiwg03ijvn1wvmx188ys49gckwybg1kl824x11f";
+ libraryHaskellDepends = [ base ];
+ description = "@zenhack's personal custom prelude";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"zeno" = callPackage
({ mkDerivation, array, base, containers, directory, ghc, ghc-paths
, mtl, parallel, process, random, text, transformers
diff --git a/pkgs/development/haskell-modules/patches/servant-client-core-streamBody.patch b/pkgs/development/haskell-modules/patches/servant-client-core-streamBody.patch
new file mode 100644
index 00000000000..ebadd215cb7
--- /dev/null
+++ b/pkgs/development/haskell-modules/patches/servant-client-core-streamBody.patch
@@ -0,0 +1,82 @@
+diff --git a/src/Servant/Client/Core/Internal/HasClient.hs b/src/Servant/Client/Core/Internal/HasClient.hs
+index 712007006..6be92ec6d 100644
+--- a/src/Servant/Client/Core/Internal/HasClient.hs
++++ b/src/Servant/Client/Core/Internal/HasClient.hs
+@@ -16,6 +16,8 @@ module Servant.Client.Core.Internal.HasClient where
+ import Prelude ()
+ import Prelude.Compat
+
++import Control.Concurrent.MVar
++ (modifyMVar, newMVar)
+ import qualified Data.ByteString as BS
+ import qualified Data.ByteString.Lazy as BL
+ import Data.Foldable
+@@ -36,13 +38,14 @@ import qualified Network.HTTP.Types as H
+ import Servant.API
+ ((:<|>) ((:<|>)), (:>), AuthProtect, BasicAuth, BasicAuthData,
+ BuildHeadersTo (..), Capture', CaptureAll, Description,
+- EmptyAPI, FramingUnrender (..), FromSourceIO (..), Header',
+- Headers (..), HttpVersion, IsSecure, MimeRender (mimeRender),
++ EmptyAPI, FramingRender (..), FramingUnrender (..),
++ FromSourceIO (..), Header', Headers (..), HttpVersion,
++ IsSecure, MimeRender (mimeRender),
+ MimeUnrender (mimeUnrender), NoContent (NoContent), QueryFlag,
+ QueryParam', QueryParams, Raw, ReflectMethod (..), RemoteHost,
+ ReqBody', SBoolI, Stream, StreamBody', Summary, ToHttpApiData,
+- Vault, Verb, WithNamedContext, contentType, getHeadersHList,
+- getResponse, toQueryParam, toUrlPiece)
++ ToSourceIO (..), Vault, Verb, WithNamedContext, contentType,
++ getHeadersHList, getResponse, toQueryParam, toUrlPiece)
+ import Servant.API.ContentTypes
+ (contentTypes)
+ import Servant.API.Modifiers
+@@ -538,7 +541,7 @@ instance (MimeRender ct a, HasClient m api)
+ hoistClientMonad pm (Proxy :: Proxy api) f (cl a)
+
+ instance
+- ( HasClient m api
++ ( HasClient m api, MimeRender ctype chunk, FramingRender framing, ToSourceIO chunk a
+ ) => HasClient m (StreamBody' mods framing ctype a :> api)
+ where
+
+@@ -547,7 +550,39 @@ instance
+ hoistClientMonad pm _ f cl = \a ->
+ hoistClientMonad pm (Proxy :: Proxy api) f (cl a)
+
+- clientWithRoute _pm Proxy _req _body = error "HasClient @StreamBody"
++ clientWithRoute pm Proxy req body
++ = clientWithRoute pm (Proxy :: Proxy api)
++ $ setRequestBody (RequestBodyStreamChunked givesPopper) (contentType ctypeP) req
++ where
++ ctypeP = Proxy :: Proxy ctype
++ framingP = Proxy :: Proxy framing
++
++ sourceIO = framingRender
++ framingP
++ (mimeRender ctypeP :: chunk -> BL.ByteString)
++ (toSourceIO body)
++
++ -- not pretty.
++ givesPopper :: (IO BS.ByteString -> IO ()) -> IO ()
++ givesPopper needsPopper = S.unSourceT sourceIO $ \step0 -> do
++ ref <- newMVar step0
++
++ -- Note sure we need locking, but it's feels safer.
++ let popper :: IO BS.ByteString
++ popper = modifyMVar ref nextBs
++
++ needsPopper popper
++
++ nextBs S.Stop = return (S.Stop, BS.empty)
++ nextBs (S.Error err) = fail err
++ nextBs (S.Skip s) = nextBs s
++ nextBs (S.Effect ms) = ms >>= nextBs
++ nextBs (S.Yield lbs s) = case BL.toChunks lbs of
++ [] -> nextBs s
++ (x:xs) | BS.null x -> nextBs step'
++ | otherwise -> return (step', x)
++ where
++ step' = S.Yield (BL.fromChunks xs) s
+
+
+
diff --git a/pkgs/development/interpreters/perl/default.nix b/pkgs/development/interpreters/perl/default.nix
index ecec2f11fc8..f6990fd29d0 100644
--- a/pkgs/development/interpreters/perl/default.nix
+++ b/pkgs/development/interpreters/perl/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchurlBoot, buildPackages
+{ lib, stdenv, fetchurl, buildPackages
, enableThreading ? stdenv ? glibc, makeWrapper
}:
@@ -27,7 +27,7 @@ let
name = "perl-${version}";
- src = fetchurlBoot {
+ src = fetchurl {
url = "mirror://cpan/src/5.0/${name}.tar.gz";
inherit sha256;
};
@@ -46,7 +46,7 @@ let
]
++ optional (versionOlder version "5.29.6")
# Fix parallel building: https://rt.perl.org/Public/Bug/Display.html?id=132360
- (fetchurlBoot {
+ (fetchurl {
url = "https://rt.perl.org/Public/Ticket/Attachment/1502646/807252/0001-Fix-missing-build-dependency-for-pods.patch";
sha256 = "1bb4mldfp8kq1scv480wm64n2jdsqa3ar46cjp1mjpby8h5dr2r0";
})
@@ -159,7 +159,7 @@ let
} // stdenv.lib.optionalAttrs (stdenv.buildPlatform != stdenv.hostPlatform) rec {
crossVersion = "276849e62f472c1b241d9e7b38a28e4cc9f98563"; # Dez 02, 2018
- perl-cross-src = fetchurlBoot {
+ perl-cross-src = fetchurl {
url = "https://github.com/arsv/perl-cross/archive/${crossVersion}.tar.gz";
sha256 = "1fpr1m9lgkwdp1vmdr0s6gvmcpd0m8q6jwn024bkczc2h37bdynd";
};
diff --git a/pkgs/development/interpreters/python/cpython/2.7/boot.nix b/pkgs/development/interpreters/python/cpython/2.7/boot.nix
index ccb366903c5..9e38e825074 100644
--- a/pkgs/development/interpreters/python/cpython/2.7/boot.nix
+++ b/pkgs/development/interpreters/python/cpython/2.7/boot.nix
@@ -98,6 +98,6 @@ stdenv.mkDerivation rec {
'';
license = stdenv.lib.licenses.psfl;
platforms = stdenv.lib.platforms.all;
- maintainers = with stdenv.lib.maintainers; [ lnl7 chaoflow domenkozar ];
+ maintainers = with stdenv.lib.maintainers; [ lnl7 domenkozar ];
};
}
diff --git a/pkgs/development/interpreters/python/cpython/docs/2.7-html.nix b/pkgs/development/interpreters/python/cpython/docs/2.7-html.nix
index 3885b43960f..7727b984d96 100644
--- a/pkgs/development/interpreters/python/cpython/docs/2.7-html.nix
+++ b/pkgs/development/interpreters/python/cpython/docs/2.7-html.nix
@@ -13,6 +13,6 @@ stdenv.mkDerivation rec {
cp -R ./ $out/share/doc/python27/html
'';
meta = {
- maintainers = [ lib.maintainers.chaoflow ];
+ maintainers = [ ];
};
}
diff --git a/pkgs/development/interpreters/python/cpython/docs/2.7-pdf-a4.nix b/pkgs/development/interpreters/python/cpython/docs/2.7-pdf-a4.nix
index d8dde17ac66..0c9673b7d7a 100644
--- a/pkgs/development/interpreters/python/cpython/docs/2.7-pdf-a4.nix
+++ b/pkgs/development/interpreters/python/cpython/docs/2.7-pdf-a4.nix
@@ -13,6 +13,6 @@ stdenv.mkDerivation rec {
cp -R ./ $out/share/doc/python27/pdf-a4
'';
meta = {
- maintainers = [ lib.maintainers.chaoflow ];
+ maintainers = [ ];
};
}
diff --git a/pkgs/development/interpreters/python/cpython/docs/2.7-pdf-letter.nix b/pkgs/development/interpreters/python/cpython/docs/2.7-pdf-letter.nix
index 32581cd229a..9b0018e7cd7 100644
--- a/pkgs/development/interpreters/python/cpython/docs/2.7-pdf-letter.nix
+++ b/pkgs/development/interpreters/python/cpython/docs/2.7-pdf-letter.nix
@@ -13,6 +13,6 @@ stdenv.mkDerivation rec {
cp -R ./ $out/share/doc/python27/pdf-letter
'';
meta = {
- maintainers = [ lib.maintainers.chaoflow ];
+ maintainers = [ ];
};
}
diff --git a/pkgs/development/interpreters/python/cpython/docs/2.7-text.nix b/pkgs/development/interpreters/python/cpython/docs/2.7-text.nix
index 59019238301..b7bcfb51d29 100644
--- a/pkgs/development/interpreters/python/cpython/docs/2.7-text.nix
+++ b/pkgs/development/interpreters/python/cpython/docs/2.7-text.nix
@@ -13,6 +13,6 @@ stdenv.mkDerivation rec {
cp -R ./ $out/share/doc/python27/text
'';
meta = {
- maintainers = [ lib.maintainers.chaoflow ];
+ maintainers = [ ];
};
}
diff --git a/pkgs/development/interpreters/python/cpython/docs/template.nix b/pkgs/development/interpreters/python/cpython/docs/template.nix
index cc92f71bc1e..4a0c84fb272 100644
--- a/pkgs/development/interpreters/python/cpython/docs/template.nix
+++ b/pkgs/development/interpreters/python/cpython/docs/template.nix
@@ -13,6 +13,6 @@ stdenv.mkDerivation rec {
cp -R ./ $out/share/doc/pythonMAJORMINOR/TYPE
'';
meta = {
- maintainers = [ lib.maintainers.chaoflow ];
+ maintainers = [ ];
};
}
diff --git a/pkgs/development/libraries/aspell/default.nix b/pkgs/development/libraries/aspell/default.nix
index d0e93337a39..5c3c6272f83 100644
--- a/pkgs/development/libraries/aspell/default.nix
+++ b/pkgs/development/libraries/aspell/default.nix
@@ -1,7 +1,19 @@
-{ stdenv, fetchurl, fetchpatch, perl
+{ stdenv, fetchurl, fetchpatch, fetchzip, perl
, searchNixProfiles ? true
}:
+let
+
+ # Source for u-deva.cmap and u-deva.cset: use the Marathi
+ # dictionary like Debian does.
+ devaMapsSource = fetchzip {
+ name = "aspell-u-deva";
+ url = "ftp://ftp.gnu.org/gnu/aspell/dict/mr/aspell6-mr-0.10-0.tar.bz2";
+ sha256 = "1v8cdl8x2j1d4vbvsq1xrqys69bbccd6mi03fywrhkrrljviyri1";
+ };
+
+in
+
stdenv.mkDerivation rec {
name = "aspell-0.60.6.1";
@@ -33,6 +45,13 @@ stdenv.mkDerivation rec {
);
'';
+ # Include u-deva.cmap and u-deva.cset in the aspell package
+ # to avoid conflict between 'mr' and 'hi' dictionaries as they
+ # both include those files.
+ postInstall = ''
+ cp ${devaMapsSource}/u-deva.{cmap,cset} $out/lib/aspell/
+ '';
+
meta = {
description = "Spell checker for many languages";
homepage = http://aspell.net/;
diff --git a/pkgs/development/libraries/aspell/dictionaries.nix b/pkgs/development/libraries/aspell/dictionaries.nix
index 4e23001fc9f..992119faf65 100644
--- a/pkgs/development/libraries/aspell/dictionaries.nix
+++ b/pkgs/development/libraries/aspell/dictionaries.nix
@@ -1,4 +1,4 @@
-{lib, stdenv, fetchurl, aspell, which}:
+{lib, stdenv, fetchurl, aspell, which, writeScript}:
with lib;
@@ -53,6 +53,57 @@ let
} // (args.meta or {});
} // removeAttrs args [ "meta" ]);
+
+ buildOfficialDict =
+ {language, version, filename, fullName, sha256, ...}@args:
+ let buildArgs = {
+ shortName = "${language}-${version}";
+
+ src = fetchurl {
+ url = "mirror://gnu/aspell/dict/${language}/${filename}-${language}-${version}.tar.bz2";
+ inherit sha256;
+ };
+
+ /* Remove any instances of u-deva.cmap and u-deva.cset since
+ they are included in the main aspell package and can
+ cause conflicts otherwise. */
+ postInstall = ''
+ rm -f $out/lib/aspell/u-deva.{cmap,cset}
+ '';
+
+ passthru.updateScript = writeScript "update-aspellDict-${language}" ''
+ #!/usr/bin/env nix-shell
+ #!nix-shell -i bash -p nix curl gnused common-updater-scripts
+ set -eu -o pipefail
+
+ # List tarballs in the dictionary's subdirectory via HTTPS and
+ # the simple list method of Apache's mod_autoindex.
+ #
+ # Catalan dictionary has an exception where an earlier version
+ # compares as newer because the versioning scheme has changed.
+ versions=$(
+ echo '[';
+ curl -s 'https://ftp.gnu.org/gnu/aspell/dict/${language}/?F=0' | \
+ sed -r 's/.* href="${filename}-${language}-([A-Za-z0-9_+.-]+)\.tar\.bz2".*/"\1"/;t;d' | \
+ if [ '${language}' = "ca" ]; then grep -v 20040130-1; else cat; fi; \
+ echo ']')
+
+ # Sort versions in descending order using Nix's and take the first as the latest.
+ sortVersions="(with builtins; head (sort (a: b: compareVersions a b > 0) $versions))"
+ # nix-instantiate outputs Nix strings (with quotes), so remove them to get
+ # a result similar to `nix eval --raw`.
+ latestVersion=$(nix-instantiate --eval --expr "$sortVersions" | tr -d '"')
+
+ update-source-version aspellDicts.${language} "$latestVersion"
+ '';
+
+ meta = {
+ homepage = "http://ftp.gnu.org/gnu/aspell/dict/0index.html";
+ } // (args.meta or {});
+
+ } // removeAttrs args [ "language" "filename" "sha256" "meta" ];
+ in buildDict buildArgs;
+
/* Function to compile txt dict files into Aspell dictionaries. */
buildTxtDict =
{langInputs ? [], ...}@args:
@@ -109,206 +160,736 @@ in rec {
### Languages
- ca = buildDict rec {
- shortName = "ca-2.1.5-1";
+ af = buildOfficialDict rec {
+ language = "af";
+ version = "0.50-0";
+ fullName = "Afrikaans";
+ filename = "aspell";
+ sha256 = "00p6k2ndi0gzfr5fkbvx4hkcpj223pidjvmxg0r384arrap00q4x";
+ };
+
+ am = buildOfficialDict rec {
+ language = "am";
+ version = "0.03-1";
+ fullName = "Amharic";
+ filename = "aspell6";
+ sha256 = "11ylp7gjq94wfacyawvp391lsq26rl1b84f268rjn7l7z0hxs9xz";
+ };
+
+ ar = buildOfficialDict rec {
+ language = "ar";
+ version = "1.2-0";
+ fullName = "Arabic";
+ filename = "aspell6";
+ sha256 = "1avw40bp8yi5bnkq64ihm2rldgw34lk89yz281q9bmndh95a47h4";
+ };
+
+ ast = buildOfficialDict rec {
+ language = "ast";
+ version = "0.01";
+ fullName = "Asturian";
+ filename = "aspell6";
+ sha256 = "14hg85mxcyvdigf96yvslk7f3v9ngdsxn85qpgwkg31k3k83xwj3";
+ };
+
+ az = buildOfficialDict rec {
+ language = "az";
+ version = "0.02-0";
+ fullName = "Azerbaijani";
+ filename = "aspell6";
+ sha256 = "1hs4h1jscpxf9f9iyk6mvjqsnhkf0yslkbjhjkasqqcx8pn7cc86";
+ };
+
+ be = buildOfficialDict rec {
+ language = "be";
+ version = "0.01";
+ fullName = "Belarusian";
+ filename = "aspell5";
+ sha256 = "1svls9p7rsfi3hs0afh0cssj006qb4v1ik2yzqgj8hm10c6as2sm";
+ };
+
+ bg = buildOfficialDict rec {
+ language = "bg";
+ version = "4.1-0";
+ fullName = "Bulgarian";
+ filename = "aspell6";
+ sha256 = "1alacmgpfk0yrgq83y23d16fhav1bxmb98kg8d2a5r9bvh2h0mvl";
+ };
+
+ bn = buildOfficialDict rec {
+ language = "bn";
+ version = "0.01.1-1";
+ fullName = "Bengali";
+ filename = "aspell6";
+ sha256 = "1nc02jd67iggirwxnhdvlvaqm0xfyks35c4psszzj3dhzv29qgxh";
+ };
+
+ br = buildOfficialDict rec {
+ language = "br";
+ version = "0.50-2";
+ fullName = "Breton";
+ filename = "aspell";
+ sha256 = "0fradnm8424bkq9a9zhpl2132dk7y95xmw45sy1c0lx6rinjl4n2";
+ };
+
+ ca = buildOfficialDict rec {
+ language = "ca";
+ version = "2.1.5-1";
fullName = "Catalan";
- src = fetchurl {
- url = "mirror://gnu/aspell/dict/ca/aspell6-${shortName}.tar.bz2";
- sha256 = "1fb5y5kgvk25nlsfvc8cai978hg66x3pbp9py56pldc7vxzf9npb";
- };
+ filename = "aspell6";
+ sha256 = "1fb5y5kgvk25nlsfvc8cai978hg66x3pbp9py56pldc7vxzf9npb";
};
- cs = buildDict rec {
- shortName = "cs-20040614-1";
+ cs = buildOfficialDict rec {
+ language = "cs";
+ version = "20040614-1";
fullName = "Czech";
- src = fetchurl {
- url = "mirror://gnu/aspell/dict/cs/aspell6-${shortName}.tar.bz2";
- sha256 = "0rihj4hsw96pd9casvmpvw3r8040pfa28p1h73x4vyn20zwr3h01";
- };
+ filename = "aspell6";
+ sha256 = "0rihj4hsw96pd9casvmpvw3r8040pfa28p1h73x4vyn20zwr3h01";
};
- da = buildDict rec {
- shortName = "da-1.4.42-1";
+ csb = buildOfficialDict rec {
+ language = "csb";
+ version = "0.02-0";
+ fullName = "Kashubian";
+ filename = "aspell6";
+ sha256 = "1612ypkm684wjvc7n081i87mlrrzif9simc7kyn177hfsl3ssrn1";
+ };
+
+ cy = buildOfficialDict rec {
+ language = "cy";
+ version = "0.50-3";
+ fullName = "Welsh";
+ filename = "aspell";
+ sha256 = "15vq601lzz1gi311xym4bv9lv1k21xcfn50jmzamw7h6f36rsffm";
+ };
+
+ da = buildOfficialDict rec {
+ language = "da";
+ version = "1.4.42-1";
fullName = "Danish";
- src = fetchurl {
- url = "mirror://gnu/aspell/dict/da/aspell5-${shortName}.tar.bz2";
- sha256 = "1hfkmiyhgrx5lgrb2mffjbdn1hivrm73wcg7x0iid74p2yb0fjpp";
- };
+ filename = "aspell5";
+ sha256 = "1hfkmiyhgrx5lgrb2mffjbdn1hivrm73wcg7x0iid74p2yb0fjpp";
};
- de = buildDict rec {
- shortName = "de-20030222-1";
+ de = buildOfficialDict rec {
+ language = "de";
+ version = "20030222-1";
fullName = "German";
- src = fetchurl {
- url = "mirror://gnu/aspell/dict/de/aspell6-${shortName}.tar.bz2";
- sha256 = "01p92qj66cqb346gk7hjfynaap5sbcn85xz07kjfdq623ghr8v5s";
- };
+ filename = "aspell6";
+ sha256 = "01p92qj66cqb346gk7hjfynaap5sbcn85xz07kjfdq623ghr8v5s";
};
- en = buildDict rec {
- shortName = "en-2018.04.16-0";
+ de-alt = buildOfficialDict rec {
+ language = "de-alt";
+ version = "2.1-1";
+ fullName = "German - Old Spelling";
+ filename = "aspell6";
+ sha256 = "0wwc2l29svv3fv041fh6vfa5m3hi9q9pkbxibzq1ysrsfin3rl9n";
+ };
+
+ el = buildOfficialDict rec {
+ language = "el";
+ version = "0.08-0";
+ fullName = "Greek";
+ filename = "aspell6";
+ sha256 = "1ljcc30zg2v2h3w5h5jr5im41mw8jbsgvvhdd2cii2yzi8d0zxja";
+ };
+
+ en = buildOfficialDict rec {
+ language = "en";
+ version = "2018.04.16-0";
fullName = "English";
- src = fetchurl {
- url = "mirror://gnu/aspell/dict/en/aspell6-${shortName}.tar.bz2";
- sha256 = "0bxxdzkk9g27plg22y9qzsx9cfjw3aa29w5bmzs561qc9gkp247i";
- };
+ filename = "aspell6";
+ sha256 = "0bxxdzkk9g27plg22y9qzsx9cfjw3aa29w5bmzs561qc9gkp247i";
};
- es = buildDict rec {
- shortName = "es-1.11-2";
- fullName = "Spanish";
- src = fetchurl {
- url = "mirror://gnu/aspell/dict/es/aspell6-${shortName}.tar.bz2";
- sha256 = "1k5g328ac1hdpp6fsg57d8md6i0aqcwlszp3gbmp5706wyhpydmd";
- };
- };
-
- eo = buildDict rec {
- shortName = "eo-2.1.20000225a-2";
+ eo = buildOfficialDict rec {
+ language = "eo";
+ version = "2.1.20000225a-2";
fullName = "Esperanto";
- src = fetchurl {
- url = "mirror://gnu/aspell/dict/eo/aspell6-${shortName}.tar.bz2";
- sha256 = "09vf0mbiicbmyb4bwb7v7lgpabnylg0wy7m3hlhl5rjdda6x3lj1";
- };
+ filename = "aspell6";
+ sha256 = "09vf0mbiicbmyb4bwb7v7lgpabnylg0wy7m3hlhl5rjdda6x3lj1";
};
- fr = buildDict rec {
- shortName = "fr-0.50-3";
+ es = buildOfficialDict rec {
+ language = "es";
+ version = "1.11-2";
+ fullName = "Spanish";
+ filename = "aspell6";
+ sha256 = "1k5g328ac1hdpp6fsg57d8md6i0aqcwlszp3gbmp5706wyhpydmd";
+ };
+
+ et = buildOfficialDict rec {
+ language = "et";
+ version = "0.1.21-1";
+ fullName = "Estonian";
+ filename = "aspell6";
+ sha256 = "0jdjfa2fskirhnb70fy86xryp9r6gkl729ib8qcjmsma7nm5gs5i";
+ };
+
+ fa = buildOfficialDict rec {
+ language = "fa";
+ version = "0.11-0";
+ fullName = "Persian";
+ filename = "aspell6";
+ sha256 = "0nz1ybwv56q7nl9ip12hfmdch1vyyq2j55bkjcns13lshzm2cba8";
+ };
+
+ fi = buildOfficialDict rec {
+ language = "fi";
+ version = "0.7-0";
+ fullName = "Finnish";
+ filename = "aspell6";
+ sha256 = "07d5s08ba4dd89cmwy9icc01i6fjdykxlb9ravmhdrhi8mxz1mzq";
+ };
+
+ fo = buildOfficialDict rec {
+ language = "fo";
+ version = "0.2.16-1";
+ fullName = "Faroese";
+ filename = "aspell5";
+ sha256 = "022yz5lll20xrzizcyb7wksm3fgwklnvgnir5la5qkxv770dvq7p";
+ };
+
+ fr = buildOfficialDict rec {
+ language = "fr";
+ version = "0.50-3";
fullName = "French";
- src = fetchurl {
- url = "mirror://gnu/aspell/dict/fr/aspell-${shortName}.tar.bz2";
- sha256 = "14ffy9mn5jqqpp437kannc3559bfdrpk7r36ljkzjalxa53i0hpr";
- };
+ filename = "aspell";
+ sha256 = "14ffy9mn5jqqpp437kannc3559bfdrpk7r36ljkzjalxa53i0hpr";
};
- it = buildDict rec {
- shortName = "it-2.2_20050523-0";
+ fy = buildOfficialDict rec {
+ language = "fy";
+ version = "0.12-0";
+ fullName = "Frisian";
+ filename = "aspell6";
+ sha256 = "1almi6n4ni91d0rzrk8ig0473m9ypbwqmg56hchz76j51slwyirl";
+ };
+
+ ga = buildOfficialDict rec {
+ language = "ga";
+ version = "4.5-0";
+ fullName = "Irish";
+ filename = "aspell5";
+ sha256 = "0y869mmvfb3bzadfgajwa2rfb0xfhi6m9ydwgxkb9v2claydnps5";
+ };
+
+ gd = buildOfficialDict rec {
+ language = "gd";
+ version = "0.1.1-1";
+ fullName = "Scottish Gaelic";
+ filename = "aspell5";
+ sha256 = "0a89irv5d65j5m9sb0k36851x5rs0wij12gb2m6hv2nsfn5a05p3";
+ };
+
+ gl = buildOfficialDict rec {
+ language = "gl";
+ version = "0.5a-2";
+ fullName = "Galician";
+ filename = "aspell6";
+ sha256 = "12pwghmy18fcdvf9hvhb4q6shi339hb1kwxpkz0bhw0yjxjwzkdk";
+ };
+
+ grc = buildOfficialDict rec {
+ language = "grc";
+ version = "0.02-0";
+ fullName = "Ancient Greek";
+ filename = "aspell6";
+ sha256 = "1zxr8958v37v260fkqd4pg37ns5h5kyqm54hn1hg70wq5cz8h512";
+ };
+
+ gu = buildOfficialDict rec {
+ language = "gu";
+ version = "0.03-0";
+ fullName = "Gujarati";
+ filename = "aspell6";
+ sha256 = "04c38jnl74lpj2jhjz4zpqbs2623vwc71m6wc5h4b1karid14b23";
+ };
+
+ gv = buildOfficialDict rec {
+ language = "gv";
+ version = "0.50-0";
+ fullName = "Manx Gaelic";
+ filename = "aspell";
+ sha256 = "1rknf4yaw9s29c77sdzg98nhnmjwpicdb69igmz1n768npz2drmv";
+ };
+
+ he = buildOfficialDict rec {
+ language = "he";
+ version = "1.0-0";
+ fullName = "Hebrew";
+ filename = "aspell6";
+ sha256 = "13bhbghx5b8g0119g3wxd4n8mlf707y41vlf59irxjj0kynankfn";
+ };
+
+ hi = buildOfficialDict rec {
+ language = "hi";
+ version = "0.02-0";
+ fullName = "Hindi";
+ filename = "aspell6";
+ sha256 = "0drs374qz4419zx1lf2k281ydxf2750jk5ailafj1x0ncz27h1ys";
+ };
+
+ hil = buildOfficialDict rec {
+ language = "hil";
+ version = "0.11-0";
+ fullName = "Hiligaynon";
+ filename = "aspell5";
+ sha256 = "1s482fsfhzic9qa80al4418q3ni3gfn2bkwkd2y46ydrs17kf2jp";
+ };
+
+ hr = buildOfficialDict rec {
+ language = "hr";
+ version = "0.51-0";
+ fullName = "Croatian";
+ filename = "aspell";
+ sha256 = "09aafyf1vqhaxvcf3jfzf365k394b5pf0iivsr2ix5npah1h7i1a";
+ };
+
+ hsb = buildOfficialDict rec {
+ language = "hsb";
+ version = "0.02-0";
+ fullName = "Upper Sorbian";
+ filename = "aspell6";
+ sha256 = "0bi2vhz7n1vmg43wbbh935pmzihv80iyz9z65j94lxf753j2m7wd";
+ };
+
+ hu = buildOfficialDict rec {
+ language = "hu";
+ version = "0.99.4.2-0";
+ fullName = "Hungarian";
+ filename = "aspell6";
+ sha256 = "1d9nybip2k1dz69zly3iv0npbi3yxgfznh1py364nxzrbjsafd9k";
+ };
+
+ hus = buildOfficialDict rec {
+ language = "hus";
+ version = "0.03-1";
+ fullName = "Huastec";
+ filename = "aspell6";
+ sha256 = "09glipfpkz9xch17z11zw1yn2z7jx1f2svfmjn9l6wm1s5qz6a3d";
+ };
+
+ hy = buildOfficialDict rec {
+ language = "hy";
+ version = "0.10.0-0";
+ fullName = "Armenian";
+ filename = "aspell6";
+ sha256 = "1w5wq8lfl2xp1nid30b1j5qmya4vjyidq0vpr4y3gf53jc08vsid";
+ };
+
+ ia = buildOfficialDict rec {
+ language = "ia";
+ version = "0.50-1";
+ fullName = "Interlingua";
+ filename = "aspell";
+ sha256 = "0bqcpgsa72pga24fv4fkw38b4qqdvqsw97jvzvw7q03dc1cwp5sp";
+ };
+
+ id = buildOfficialDict rec {
+ language = "id";
+ version = "1.2-0";
+ fullName = "Indonesian";
+ filename = "aspell5";
+ sha256 = "023knfg0q03f7y5w6xnwa1kspnrcvcnky8xvdms93n2850414faj";
+ };
+
+ is = buildOfficialDict rec {
+ language = "is";
+ version = "0.51.1-0";
+ fullName = "Icelandic";
+ filename = "aspell";
+ sha256 = "1mp3248lhbr13cj7iq9zs7h5ix0dcwlprp5cwrkcwafrv8lvsd9h";
+ };
+
+ it = buildOfficialDict rec {
+ language = "it";
+ version = "2.2_20050523-0";
fullName = "Italian";
- src = fetchurl {
- url = "mirror://gnu/aspell/dict/it/aspell6-${shortName}.tar.bz2";
- sha256 = "1gdf7bc1a0kmxsmphdqq8pl01h667mjsj6hihy6kqy14k5qdq69v";
- };
+ filename = "aspell6";
+ sha256 = "1gdf7bc1a0kmxsmphdqq8pl01h667mjsj6hihy6kqy14k5qdq69v";
};
- la = buildDict rec {
- shortName = "la-20020503-0";
+ kn = buildOfficialDict rec {
+ language = "kn";
+ version = "0.01-1";
+ fullName = "Kannada";
+ filename = "aspell6";
+ sha256 = "10sk0wx4x4ds1403kf9dqxv9yjvh06w8qqf4agx57y0jlws0n0fb";
+ };
+
+ ku = buildOfficialDict rec {
+ language = "ku";
+ version = "0.20-1";
+ fullName = "Kurdi";
+ filename = "aspell5";
+ sha256 = "09va98krfbgdaxl101nmd85j3ysqgg88qgfcl42c07crii0pd3wn";
+ };
+
+ ky = buildOfficialDict rec {
+ language = "ky";
+ version = "0.01-0";
+ fullName = "Kirghiz";
+ filename = "aspell6";
+ sha256 = "0kzv2syjnnn6pnwx0d578n46hg2l0j62977al47y6wabnhjjy3z1";
+ };
+
+ la = buildOfficialDict rec {
+ language = "la";
+ version = "20020503-0";
fullName = "Latin";
- src = fetchurl {
- url = "mirror://gnu/aspell/dict/la/aspell6-${shortName}.tar.bz2";
- sha256 = "1199inwi16dznzl087v4skn66fl7h555hi2palx6s1f3s54b11nl";
- };
+ filename = "aspell6";
+ sha256 = "1199inwi16dznzl087v4skn66fl7h555hi2palx6s1f3s54b11nl";
};
- nb = buildDict rec {
- shortName = "nb-0.50.1-0";
+ lt = buildOfficialDict rec {
+ language = "lt";
+ version = "1.2.1-0";
+ fullName = "Lithuanian";
+ filename = "aspell6";
+ sha256 = "1asjck911l96q26zj36lmz0jp4b6pivvrf3h38zgc8lc85p3pxgn";
+ };
+
+ lv = buildOfficialDict rec {
+ language = "lv";
+ version = "0.5.5-1";
+ fullName = "Latvian";
+ filename = "aspell6";
+ sha256 = "12pvs584a6437ijndggdqpp5s7d0w607cimpkxsjwasnx83f4c1w";
+ };
+
+ mg = buildOfficialDict rec {
+ language = "mg";
+ version = "0.03-0";
+ fullName = "Malagasy";
+ filename = "aspell5";
+ sha256 = "0hdhbk9b5immjp8l5h4cy82gwgsqzcqbb0qsf7syw333w4rgi0ji";
+ };
+
+ mi = buildOfficialDict rec {
+ language = "mi";
+ version = "0.50-0";
+ fullName = "Maori";
+ filename = "aspell";
+ sha256 = "12bxplpd348yx8d2q8qvahi9dlp7qf28qmanzhziwc7np8rixvmy";
+ };
+
+ mk = buildOfficialDict rec {
+ language = "mk";
+ version = "0.50-0";
+ fullName = "Macedonian";
+ filename = "aspell";
+ sha256 = "0wcr9n882xi5b7a7ln1hnhq4vfqd5gpqqp87v01j0gb7zf027z0m";
+ };
+
+ ml = buildOfficialDict rec {
+ language = "ml";
+ version = "0.03-1";
+ fullName = "Malayalam";
+ filename = "aspell6";
+ sha256 = "1zcn4114gwia085fkz77qk13z29xrbp53q2qvgj2cvcbalg5bkg4";
+ };
+
+ mn = buildOfficialDict rec {
+ language = "mn";
+ version = "0.06-2";
+ fullName = "Mongolian";
+ filename = "aspell6";
+ sha256 = "150j9y5c9pw80fwp5rzl5q31q9vjbxixaqljkfwxjb5q93fnw6rg";
+ };
+
+ mr = buildOfficialDict rec {
+ language = "mr";
+ version = "0.10-0";
+ fullName = "Marathi";
+ filename = "aspell6";
+ sha256 = "0cvgb2l40sppqbi842ivpznsh2xzp1d4hxc371dll8z0pr05m8yk";
+ };
+
+ ms = buildOfficialDict rec {
+ language = "ms";
+ version = "0.50-0";
+ fullName = "Malay";
+ filename = "aspell";
+ sha256 = "0vr4vhipcfhsxqfs8dim2ph7iiixn22gmlmlb375bx5hgd9y7i1w";
+ };
+
+ mt = buildOfficialDict rec {
+ language = "mt";
+ version = "0.50-0";
+ fullName = "Maltese";
+ filename = "aspell";
+ sha256 = "1d2rl1nlfjq6rfywblvx8m88cyy2x0mzc0mshzbgw359c2nwl3z0";
+ };
+
+ nb = buildOfficialDict rec {
+ language = "nb";
+ version = "0.50.1-0";
fullName = "Norwegian Bokmal";
- src = fetchurl {
- url = "mirror://gnu/aspell/dict/nb/aspell-${shortName}.tar.bz2";
- sha256 = "12i2bmgdnlkzfinb20j2a0j4a20q91a9j8qpq5vgabbvc65nwx77";
- };
+ filename = "aspell";
+ sha256 = "12i2bmgdnlkzfinb20j2a0j4a20q91a9j8qpq5vgabbvc65nwx77";
};
- nl = buildDict rec {
- shortName = "nl-0.50-2";
+ nds = buildOfficialDict rec {
+ language = "nds";
+ version = "0.01-0";
+ fullName = "Low Saxon";
+ filename = "aspell6";
+ sha256 = "1nkjhwzn45dizi89d19q4bqyd87cim8xyrgr655fampgkn31wf6f";
+ };
+
+ nl = buildOfficialDict rec {
+ language = "nl";
+ version = "0.50-2";
fullName = "Dutch";
- src = fetchurl {
- url = "mirror://gnu/aspell/dict/nl/aspell-${shortName}.tar.bz2";
- sha256 = "0ffb87yjsh211hllpc4b9khqqrblial4pzi1h9r3v465z1yhn3j4";
- };
+ filename = "aspell";
+ sha256 = "0ffb87yjsh211hllpc4b9khqqrblial4pzi1h9r3v465z1yhn3j4";
# Emacs expects a language called "nederlands".
postInstall = ''
echo "add nl.rws" > $out/lib/aspell/nederlands.multi
'';
};
- nn = buildDict rec {
- shortName = "nn-0.50.1-1";
+ nn = buildOfficialDict rec {
+ language = "nn";
+ version = "0.50.1-1";
fullName = "Norwegian Nynorsk";
- src = fetchurl {
- url = "mirror://gnu/aspell/dict/nn/aspell-${shortName}.tar.bz2";
- sha256 = "0w2k5l5rbqpliripgqwiqixz5ghnjf7i9ggbrc4ly4vy1ia10rmc";
- };
+ filename = "aspell";
+ sha256 = "0w2k5l5rbqpliripgqwiqixz5ghnjf7i9ggbrc4ly4vy1ia10rmc";
};
- pl = buildDict rec {
- shortName = "pl-6.0_20061121-0";
+ ny = buildOfficialDict rec {
+ language = "ny";
+ version = "0.01-0";
+ fullName = "Chichewa";
+ filename = "aspell5";
+ sha256 = "0gjb92vcg60sfgvrm2f6i89sfkgb179ahvwlgs649fx3dc7rfvqp";
+ };
+
+ or = buildOfficialDict rec {
+ language = "or";
+ version = "0.03-1";
+ fullName = "Oriya";
+ filename = "aspell6";
+ sha256 = "0kzj9q225z0ccrlbkijsrafy005pbjy14qcnxb6p93ciz1ls7zyn";
+ };
+
+ pa = buildOfficialDict rec {
+ language = "pa";
+ version = "0.01-1";
+ fullName = "Punjabi";
+ filename = "aspell6";
+ sha256 = "0if93zk10pyrs38wwj3vpcdm01h51m5z9gm85h3jxrpgqnqspwy7";
+ };
+
+ pl = buildOfficialDict rec {
+ language = "pl";
+ version = "6.0_20061121-0";
fullName = "Polish";
- src = fetchurl {
- url = "mirror://gnu/aspell/dict/pl/aspell6-${shortName}.tar.bz2";
- sha256 = "0kap4kh6bqbb22ypja1m5z3krc06vv4n0hakiiqmv20anzy42xq1";
- };
+ filename = "aspell6";
+ sha256 = "0kap4kh6bqbb22ypja1m5z3krc06vv4n0hakiiqmv20anzy42xq1";
};
- pt_BR = buildDict rec {
- shortName = "pt_BR-20090702-0";
+ pt_BR = buildOfficialDict rec {
+ language = "pt_BR";
+ version = "20090702-0";
fullName = "Brazilian Portuguese";
- src = fetchurl {
- url = "mirror://gnu/aspell/dict/pt_BR/aspell6-${shortName}.tar.bz2";
- sha256 = "1y09lx9zf2rnp55r16b2vgj953l3538z1vaqgflg9mdvm555bz3p";
- };
+ filename = "aspell6";
+ sha256 = "1y09lx9zf2rnp55r16b2vgj953l3538z1vaqgflg9mdvm555bz3p";
};
- pt_PT = buildDict rec {
- shortName = "pt_PT-20070510-0";
+ pt_PT = buildOfficialDict rec {
+ language = "pt_PT";
+ version = "20070510-0";
fullName = "Portuguese";
- src = fetchurl {
- url = "mirror://gnu/aspell/dict/pt_PT/aspell6-${shortName}.tar.bz2";
- sha256 = "1mnr994cwlag6shy8865ky99lymysiln07mbldcncahg90dagdxq";
- };
+ filename = "aspell6";
+ sha256 = "1mnr994cwlag6shy8865ky99lymysiln07mbldcncahg90dagdxq";
};
- ro = buildDict rec {
- shortName = "ro-3.3-2";
+ qu = buildOfficialDict rec {
+ language = "qu";
+ version = "0.02-0";
+ fullName = "Quechua";
+ filename = "aspell6";
+ sha256 = "009z0zsvzq7r3z3m30clyibs94v77b92h5lmzmzxlns2p0lpd5w0";
+ };
+
+ ro = buildOfficialDict rec {
+ language = "ro";
+ version = "3.3-2";
fullName = "Romanian";
- src = fetchurl {
- url = "mirror://gnu/aspell/dict/ro/aspell5-${shortName}.tar.bz2";
- sha256 = "0gb8j9iy1acdl11jq76idgc2lbc1rq3w04favn8cyh55d1v8phsk";
- };
+ filename = "aspell5";
+ sha256 = "0gb8j9iy1acdl11jq76idgc2lbc1rq3w04favn8cyh55d1v8phsk";
};
- ru = buildDict rec {
- shortName = "ru-0.99f7-1";
+ ru = buildOfficialDict rec {
+ language = "ru";
+ version = "0.99f7-1";
fullName = "Russian";
- src = fetchurl {
- url = "mirror://gnu/aspell/dict/ru/aspell6-${shortName}.tar.bz2";
- sha256 = "0ip6nq43hcr7vvzbv4lwwmlwgfa60hrhsldh9xy3zg2prv6bcaaw";
- };
+ filename = "aspell6";
+ sha256 = "0ip6nq43hcr7vvzbv4lwwmlwgfa60hrhsldh9xy3zg2prv6bcaaw";
};
- sv = buildDict rec {
- shortName = "sv-0.51-0";
- fullName = "Swedish";
- src = fetchurl {
- url = "mirror://gnu/aspell/dict/sv/aspell-${shortName}.tar.bz2";
- sha256 = "02jwkjhr32kvyibnyzgx3smbnm576jwdzg3avdf6zxwckhy5fw4v";
- };
+ rw = buildOfficialDict rec {
+ language = "rw";
+ version = "0.50-0";
+ fullName = "Kinyarwanda";
+ filename = "aspell";
+ sha256 = "10gh8g747jbrvfk2fn3pjxy1nhcfdpwgmnvkmrp4nd1k1qp101il";
};
- sk = buildDict rec {
- shortName = "sk-2.01-2";
+ sc = buildOfficialDict rec {
+ language = "sc";
+ version = "1.0";
+ fullName = "Sardinian";
+ filename = "aspell5";
+ sha256 = "0hl7prh5rccsyljwrv3m1hjcsphyrrywk2qvnj122irbf4py46jr";
+ };
+
+ sk = buildOfficialDict rec {
+ language = "sk";
+ version = "2.01-2";
fullName = "Slovak";
- src = fetchurl {
- url = "mirror://gnu/aspell/dict/sk/aspell6-${shortName}.tar.bz2";
- sha256 = "19k0m1v5pcf7xr4lxgjkzqkdlks8nyb13bvi1n7521f3i4lhma66";
- };
+ filename = "aspell6";
+ sha256 = "19k0m1v5pcf7xr4lxgjkzqkdlks8nyb13bvi1n7521f3i4lhma66";
};
- tr = buildDict rec {
- shortName = "tr-0.50-0";
+ sl = buildOfficialDict rec {
+ language = "sl";
+ version = "0.50-0";
+ fullName = "Slovenian";
+ filename = "aspell";
+ sha256 = "1l9kc5g35flq8kw9jhn2n0bjb4sipjs4qkqzgggs438kywkx2rp5";
+ };
+
+ sr = buildOfficialDict rec {
+ language = "sr";
+ version = "0.02";
+ fullName = "Serbian";
+ filename = "aspell6";
+ sha256 = "12cj01p4nj80cpf7m3s4jsaf0rsfng7s295j9jfchcq677xmhpkh";
+ };
+
+ sv = buildOfficialDict rec {
+ language = "sv";
+ version = "0.51-0";
+ fullName = "Swedish";
+ filename = "aspell";
+ sha256 = "02jwkjhr32kvyibnyzgx3smbnm576jwdzg3avdf6zxwckhy5fw4v";
+ };
+
+ sw = buildOfficialDict rec {
+ language = "sw";
+ version = "0.50-0";
+ fullName = "Swahili";
+ filename = "aspell";
+ sha256 = "15zjh7hdj2b4dgm5bc12w1ims9q357p1q3gjalspnyn5gl81zmby";
+ };
+
+ ta = buildOfficialDict rec {
+ language = "ta";
+ version = "20040424-1";
+ fullName = "Tamil";
+ filename = "aspell6";
+ sha256 = "0sj8ygjsyvnr93cs6324y7az7k2vyw7rjxdc9vnm7z60lbqm5xaj";
+ };
+
+ te = buildOfficialDict rec {
+ language = "te";
+ version = "0.01-2";
+ fullName = "Telugu";
+ filename = "aspell6";
+ sha256 = "0pgcgxz7dz34zxp9sb85jjzbg3ky6il5wmhffz6ayrbsfn5670in";
+ };
+
+ tet = buildOfficialDict rec {
+ language = "tet";
+ version = "0.1.1";
+ fullName = "Tetum";
+ filename = "aspell5";
+ sha256 = "17n0y4fhjak47j9qnqf4m4z6zra6dn72rwhp7ig0hhlgqk4ldmcx";
+ };
+
+ tk = buildOfficialDict rec {
+ language = "tk";
+ version = "0.01-0";
+ fullName = "Turkmen";
+ filename = "aspell5";
+ sha256 = "02vad4jqhr0xpzqi5q5z7z0xxqccbn8j0c5dhpnm86mnr84l5wl6";
+ };
+
+ tl = buildOfficialDict rec {
+ language = "tl";
+ version = "0.02-1";
+ fullName = "Tagalog";
+ filename = "aspell5";
+ sha256 = "1kca6k7qnpfvvwjnq5r1n242payqsjy96skmw78m7ww6d0n5vdj8";
+ };
+
+ tn = buildOfficialDict rec {
+ language = "tn";
+ version = "1.0.1-0";
+ fullName = "Setswana";
+ filename = "aspell5";
+ sha256 = "0q5x7c6z88cn0kkpk7q1craq34g4g03v8x3xcj5a5jia3l7c5821";
+ };
+
+ tr = buildOfficialDict rec {
+ language = "tr";
+ version = "0.50-0";
fullName = "Turkish";
- src = fetchurl {
- url = "mirror://gnu/aspell/dict/tr/aspell-${shortName}.tar.bz2";
- sha256 = "0jpvpm96ga7s7rmsm6rbyrrr22b2dicxv2hy7ysv5y7bbq757ihb";
- };
+ filename = "aspell";
+ sha256 = "0jpvpm96ga7s7rmsm6rbyrrr22b2dicxv2hy7ysv5y7bbq757ihb";
};
- uk = buildDict rec {
- shortName = "uk-1.4.0-0";
+ uk = buildOfficialDict rec {
+ language = "uk";
+ version = "1.4.0-0";
fullName = "Ukrainian";
- src = fetchurl {
- url = "mirror://gnu/aspell/dict/uk/aspell6-${shortName}.tar.bz2";
- sha256 = "137i4njvnslab6l4s291s11xijr5jsy75lbdph32f9y183lagy9m";
- };
+ filename = "aspell6";
+ sha256 = "137i4njvnslab6l4s291s11xijr5jsy75lbdph32f9y183lagy9m";
+ };
+
+ uz = buildOfficialDict rec {
+ language = "uz";
+ version = "0.6-0";
+ fullName = "Uzbek";
+ filename = "aspell6";
+ sha256 = "0sg3wlyply1idpq5ypyj7kgnaadaiskci1sqs811yhg2gzyc3092";
+ };
+
+ vi = buildOfficialDict rec {
+ language = "vi";
+ version = "0.01.1-1";
+ fullName = "Vietnamese";
+ filename = "aspell6";
+ sha256 = "05vwgvf1cj45azhflywx69javqdvqd1f20swrc2d3c32pd9mvn1w";
+ };
+
+ wa = buildOfficialDict rec {
+ language = "wa";
+ version = "0.50-0";
+ fullName = "Walloon";
+ filename = "aspell";
+ sha256 = "1r1zwz7xkx40dga9vf5wc9ja3jwk1dkpcr1kaa7wryvslf5al5ss";
+ };
+
+ yi = buildOfficialDict rec {
+ language = "yi";
+ version = "0.01.1-1";
+ fullName = "Yiddish";
+ filename = "aspell6";
+ sha256 = "0mi842l4038bx3ll2wx9nz44nqrg1x46h5b02zigi1hbbddd6ycq";
+ };
+
+ zu = buildOfficialDict rec {
+ language = "zu";
+ version = "0.50-0";
+ fullName = "Zulu";
+ filename = "aspell";
+ sha256 = "15k7gaxrnqnssdyk9l6g27dq317dqp9jz5yzafd25ri01g6mb8iz";
};
### Jargons
diff --git a/pkgs/development/libraries/clutter-gst/default.nix b/pkgs/development/libraries/clutter-gst/default.nix
index 428114986d1..9577bfe9e8a 100644
--- a/pkgs/development/libraries/clutter-gst/default.nix
+++ b/pkgs/development/libraries/clutter-gst/default.nix
@@ -1,17 +1,17 @@
-{ fetchurl, stdenv, pkgconfig, clutter, gtk3, glib, cogl, gnome3 }:
+{ fetchurl, stdenv, pkgconfig, clutter, gtk3, glib, cogl, gnome3, gdk_pixbuf }:
let
pname = "clutter-gst";
- version = "3.0.26";
+ version = "3.0.27";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "0fnblqm4igdx4rn3681bp1gm1y2i00if3iblhlm0zv6ck9nqlqfq";
+ sha256 = "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy";
};
- propagatedBuildInputs = [ clutter gtk3 glib cogl ];
+ propagatedBuildInputs = [ clutter gtk3 glib cogl gdk_pixbuf ];
nativeBuildInputs = [ pkgconfig ];
postBuild = "rm -rf $out/share/gtk-doc";
diff --git a/pkgs/development/libraries/globalarrays/default.nix b/pkgs/development/libraries/globalarrays/default.nix
index 2da5474eb9d..269071434d5 100644
--- a/pkgs/development/libraries/globalarrays/default.nix
+++ b/pkgs/development/libraries/globalarrays/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, pkgs, fetchFromGitHub, automake, autoconf, libtool
+{ stdenv, fetchpatch, fetchFromGitHub, autoreconfHook
, openblas, gfortran, openssh, openmpi
} :
@@ -15,11 +15,22 @@ in stdenv.mkDerivation {
sha256 = "07i2idaas7pq3in5mdqq5ndvxln5q87nyfgk3vzw85r72c4fq5jh";
};
- nativeBuildInputs = [ automake autoconf libtool ];
+ # upstream patches for openmpi-4 compatibility
+ patches = [ (fetchpatch {
+ name = "MPI_Type_struct-was-deprecated-in-MPI-2";
+ url = "https://github.com/GlobalArrays/ga/commit/36e6458993b1df745f43b7db86dc17087758e0d2.patch";
+ sha256 = "058qi8x0ananqx980p03yxpyn41cnmm0ifwsl50qp6sc0bnbnclh";
+ })
+ (fetchpatch {
+ name = "MPI_Errhandler_set-was-deprecated-in-MPI-2";
+ url = "https://github.com/GlobalArrays/ga/commit/f1ea5203d2672c1a1d0275a012fb7c2fb3d033d8.patch";
+ sha256 = "06n7ds9alk5xa6hd7waw3wrg88yx2azhdkn3cjs2k189iw8a7fqk";
+ })];
+
+ nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ openmpi openblas gfortran openssh ];
preConfigure = ''
- autoreconf -ivf
configureFlagsArray+=( "--enable-i8" \
"--with-mpi" \
"--with-mpi3" \
diff --git a/pkgs/development/libraries/gmime/2.nix b/pkgs/development/libraries/gmime/2.nix
index 1c6dfc4a852..b373095a814 100644
--- a/pkgs/development/libraries/gmime/2.nix
+++ b/pkgs/development/libraries/gmime/2.nix
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
homepage = https://github.com/jstedfast/gmime/;
description = "A C/C++ library for creating, editing and parsing MIME messages and structures";
license = licenses.lgpl21Plus;
- maintainers = with maintainers; [ chaoflow ];
+ maintainers = with maintainers; [ ];
platforms = platforms.unix;
};
}
diff --git a/pkgs/development/libraries/gmime/3.nix b/pkgs/development/libraries/gmime/3.nix
index d036140567f..699d2854f3d 100644
--- a/pkgs/development/libraries/gmime/3.nix
+++ b/pkgs/development/libraries/gmime/3.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
homepage = https://github.com/jstedfast/gmime/;
description = "A C/C++ library for creating, editing and parsing MIME messages and structures";
license = licenses.lgpl21Plus;
- maintainers = with maintainers; [ chaoflow ];
+ maintainers = with maintainers; [ ];
platforms = platforms.unix;
};
}
diff --git a/pkgs/development/libraries/harfbuzz/default.nix b/pkgs/development/libraries/harfbuzz/default.nix
index 7368cb2c236..7c364c0fcdf 100644
--- a/pkgs/development/libraries/harfbuzz/default.nix
+++ b/pkgs/development/libraries/harfbuzz/default.nix
@@ -23,6 +23,10 @@ stdenv.mkDerivation {
postPatch = ''
patchShebangs src/gen-def.py
patchShebangs test
+ '' + stdenv.lib.optionalString stdenv.isDarwin ''
+ # ApplicationServices.framework headers have cast-align warnings.
+ substituteInPlace src/hb.hh \
+ --replace '#pragma GCC diagnostic error "-Wcast-align"' ""
'';
outputs = [ "out" "dev" ];
diff --git a/pkgs/development/libraries/libgit2-glib/default.nix b/pkgs/development/libraries/libgit2-glib/default.nix
index 498858d52e9..e3a6580038a 100644
--- a/pkgs/development/libraries/libgit2-glib/default.nix
+++ b/pkgs/development/libraries/libgit2-glib/default.nix
@@ -3,11 +3,11 @@
stdenv.mkDerivation rec {
pname = "libgit2-glib";
- version = "0.27.7";
+ version = "0.27.8";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "1hpgs8dx0dk25mc8jsizi2cwwhnmahrn3dyry9p7a1g48mnxyc8i";
+ sha256 = "0d8rwgf69424ijy6fjbk3m863y9ml5bq7mshlqw7xqk9zngdd6f1";
};
postPatch = ''
diff --git a/pkgs/development/libraries/libgnomekbd/default.nix b/pkgs/development/libraries/libgnomekbd/default.nix
index 20a9bb91604..0951ab1fe0c 100644
--- a/pkgs/development/libraries/libgnomekbd/default.nix
+++ b/pkgs/development/libraries/libgnomekbd/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "libgnomekbd";
- version = "3.26.0";
+ version = "3.26.1";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "ea3b418c57c30615f7ee5b6f718def7c9d09ce34637324361150744258968875";
+ sha256 = "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp";
};
passthru = {
diff --git a/pkgs/development/libraries/libgumath/default.nix b/pkgs/development/libraries/libgumath/default.nix
new file mode 100644
index 00000000000..d5d35678b4f
--- /dev/null
+++ b/pkgs/development/libraries/libgumath/default.nix
@@ -0,0 +1,34 @@
+{ stdenv
+, fetchFromGitHub
+, libndtypes
+, libxnd
+}:
+
+stdenv.mkDerivation rec {
+ name = "libgumath-${version}";
+ version = "unstable-2018-11-27";
+
+ src = fetchFromGitHub {
+ owner = "plures";
+ repo = "gumath";
+ rev = "5a9d27883b40432246d6a93cd6133157267fd166";
+ sha256 = "0w2qzp7anxd1wzkvv5r2pdkkpgrnqzgrq47lrvpqc1i1wqzcwf0w";
+ };
+
+ buildInputs = [ libndtypes libxnd ];
+
+ # Override linker with cc (symlink to either gcc or clang)
+ # Library expects to use cc for linking
+ configureFlags = [
+ "LD=${stdenv.cc.targetPrefix}cc"
+ ];
+
+ doCheck = true;
+
+ meta = with stdenv.lib; {
+ description = "Library supporting function dispatch on general data containers. C base and Python wrapper";
+ homepage = https://xnd.io/;
+ license = licenses.bsd3;
+ maintainers = [ maintainers.costrouc ];
+ };
+}
diff --git a/pkgs/development/libraries/libhandy/default.nix b/pkgs/development/libraries/libhandy/default.nix
index 9fb0b776e6f..3fad34ce0d0 100644
--- a/pkgs/development/libraries/libhandy/default.nix
+++ b/pkgs/development/libraries/libhandy/default.nix
@@ -7,7 +7,7 @@
let
pname = "libhandy";
- version = "0.0.7";
+ version = "0.0.8";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
@@ -19,7 +19,7 @@ in stdenv.mkDerivation rec {
owner = "Librem5";
repo = pname;
rev = "v${version}";
- sha256 = "1k9v6q2dz9x8lfcyzmsksrkq6md7m9jdkjlfan7nqlcj3mqhd7m9";
+ sha256 = "04jyllwdrapw24f34pjc2gbmfapjfin8iw0g3qfply7ciy08k1wj";
};
nativeBuildInputs = [
diff --git a/pkgs/development/libraries/libndtypes/default.nix b/pkgs/development/libraries/libndtypes/default.nix
index 925154e1d45..51e4deed462 100644
--- a/pkgs/development/libraries/libndtypes/default.nix
+++ b/pkgs/development/libraries/libndtypes/default.nix
@@ -1,27 +1,28 @@
-{ lib
-, stdenv
+{ stdenv
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
name = "libndtypes-${version}";
- version = "0.2.0dev3";
+ version = "unstable-2018-11-27";
src = fetchFromGitHub {
owner = "plures";
repo = "ndtypes";
- rev = "v${version}";
- sha256 = "0dpvv13mrid8l5zkjlz18qvirz3nr0v98agx9bcvkqbiahlfgjli";
+ rev = "4d810d0c4d54c81a7136f313f0ae6623853d574a";
+ sha256 = "1kk1sa7f17ffh49jc1qlizlsj536fr3s4flb6x4rjyi81rp7psb9";
};
# Override linker with cc (symlink to either gcc or clang)
# Library expects to use cc for linking
configureFlags = [ "LD=${stdenv.cc.targetPrefix}cc" ];
- meta = {
+ doCheck = true;
+
+ meta = with stdenv.lib; {
description = "Dynamic types for data description and in-memory computations";
homepage = https://xnd.io/;
- license = lib.licenses.bsdOriginal;
- maintainers = with lib.maintainers; [ costrouc ];
+ license = licenses.bsdOriginal;
+ maintainers = [ maintainers.costrouc ];
};
}
diff --git a/pkgs/development/libraries/libssh2/default.nix b/pkgs/development/libraries/libssh2/default.nix
index b050dede8c6..0986dee0ca0 100644
--- a/pkgs/development/libraries/libssh2/default.nix
+++ b/pkgs/development/libraries/libssh2/default.nix
@@ -1,9 +1,9 @@
-{ stdenv, fetchurlBoot, openssl, zlib, windows }:
+{ stdenv, fetchurl, openssl, zlib, windows }:
stdenv.mkDerivation rec {
name = "libssh2-1.8.0";
- src = fetchurlBoot {
+ src = fetchurl {
url = "${meta.homepage}/download/${name}.tar.gz";
sha256 = "1m3n8spv79qhjq4yi0wgly5s5rc8783jb1pyra9bkx1md0plxwrr";
};
diff --git a/pkgs/development/libraries/libxnd/default.nix b/pkgs/development/libraries/libxnd/default.nix
index 6b9375c7381..cb93ec63e67 100644
--- a/pkgs/development/libraries/libxnd/default.nix
+++ b/pkgs/development/libraries/libxnd/default.nix
@@ -6,23 +6,32 @@
stdenv.mkDerivation rec {
name = "libxnd-${version}";
- version = "0.2.0dev3";
+ version = "unstable-2018-11-27";
src = fetchFromGitHub {
owner = "plures";
repo = "xnd";
- rev = "v${version}";
- sha256 = "0byq7jspyr2wxrhihw4q7nf0y4sb6j5ax0ndd5dnq5dz88c7qqm2";
+ rev = "8a9f3bd1d01d872828b40bc9dbd0bc0184524da3";
+ sha256 = "10jh2kqvhpzwy50adayh9az7z2lm16yxy4flrh99alzzbqdyls44";
};
buildInputs = [ libndtypes ];
# Override linker with cc (symlink to either gcc or clang)
# Library expects to use cc for linking
- configureFlags = [ "LD=${stdenv.cc.targetPrefix}cc" ];
+ configureFlags = [
+ # Override linker with cc (symlink to either gcc or clang)
+ # Library expects to use cc for linking
+ "LD=${stdenv.cc.targetPrefix}cc"
+ # needed for tests
+ "--with-includes=${libndtypes}/include"
+ "--with-libs=${libndtypes}/lib"
+ ];
+
+ doCheck = true;
meta = {
- description = "General container that maps a wide range of Python values directly to memory";
+ description = "C library for managing typed memory blocks and Python container module";
homepage = https://xnd.io/;
license = lib.licenses.bsdOriginal;
maintainers = with lib.maintainers; [ costrouc ];
diff --git a/pkgs/development/libraries/live555/default.nix b/pkgs/development/libraries/live555/default.nix
index 31056d0a4ed..531261a58ca 100644
--- a/pkgs/development/libraries/live555/default.nix
+++ b/pkgs/development/libraries/live555/default.nix
@@ -3,14 +3,14 @@
# Based on https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD
stdenv.mkDerivation rec {
name = "live555-${version}";
- version = "2018.12.14";
+ version = "2019.02.03";
src = fetchurl { # the upstream doesn't provide a stable URL
urls = [
"mirror://sourceforge/slackbuildsdirectlinks/live.${version}.tar.gz"
"https://download.videolan.org/contrib/live555/live.${version}.tar.gz"
];
- sha256 = "0irafygp23m2xmjv06qgs1sccymbwqvn51wggk0c60lnj1v1zhwd";
+ sha256 = "04474r1drvgjpk33yjj79dq2hq15ncw8y3w6g9625zryan8qv4qw";
};
postPatch = ''
diff --git a/pkgs/development/libraries/openfst/default.nix b/pkgs/development/libraries/openfst/default.nix
index 6a4a033e1c2..c8c66969ef9 100644
--- a/pkgs/development/libraries/openfst/default.nix
+++ b/pkgs/development/libraries/openfst/default.nix
@@ -3,11 +3,11 @@
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "openfst";
- version = "1.6.9";
+ version = "1.7.1";
src = fetchurl {
url = "http://www.openfst.org/twiki/pub/FST/FstDownload/${name}.tar.gz";
- sha256 = "1nlbk7qarz2qv3apz1cxf5avjhlqfq2r8kxad0095kfyqz05jnfy";
+ sha256 = "0x9wfcqd8hq4h349s7j77sr60h8xjdfshqw1m3a2n6z5bdr9qkm1";
};
meta = {
description = "Library for working with finite-state transducers";
diff --git a/pkgs/development/libraries/openmpi/default.nix b/pkgs/development/libraries/openmpi/default.nix
index 345dffa87f5..cd60e0edca1 100644
--- a/pkgs/development/libraries/openmpi/default.nix
+++ b/pkgs/development/libraries/openmpi/default.nix
@@ -1,5 +1,5 @@
-{ stdenv, fetchurl, gfortran, perl, libnl, rdma-core, zlib
-, numactl
+{ stdenv, fetchurl, fetchpatch, gfortran, perl, libnl
+, rdma-core, zlib, numactl, libevent, hwloc
# Enable the Sun Grid Engine bindings
, enableSGE ? false
@@ -9,22 +9,30 @@
}:
let
- version = "3.1.3";
+ version = "4.0.0";
in stdenv.mkDerivation rec {
name = "openmpi-${version}";
src = with stdenv.lib.versions; fetchurl {
url = "http://www.open-mpi.org/software/ompi/v${major version}.${minor version}/downloads/${name}.tar.bz2";
- sha256 = "1dks11scivgaskjs5955y9wprsl12wr3gn5r7wfl0l8gq03l7q4b";
+ sha256 = "0srnjwzsmyhka9hhnmqm86qck4w3xwjm8g6sbns58wzbrwv8l2rg";
};
+ patches = [ (fetchpatch {
+ # Fix a bug that ignores OMPI_MCA_rmaps_base_oversubscribe (upstream patch).
+ # This bug breaks the test from libs, such as scalapack,
+ # on machines with less than 4 cores.
+ url = https://github.com/open-mpi/ompi/commit/98c8492057e6222af6404b352430d0dd7553d253.patch;
+ sha256 = "1mpd8sxxprgfws96qqlzvqf58pn2vv2d0qa8g8cpv773sgw3b3gj";
+ }) ];
+
postPatch = ''
patchShebangs ./
'';
buildInputs = with stdenv; [ gfortran zlib ]
- ++ lib.optionals isLinux [ libnl numactl ]
+ ++ lib.optionals isLinux [ libnl numactl libevent hwloc ]
++ lib.optional (isLinux || isFreeBSD) rdma-core;
nativeBuildInputs = [ perl ];
diff --git a/pkgs/development/libraries/qtstyleplugin-kvantum/default.nix b/pkgs/development/libraries/qtstyleplugin-kvantum/default.nix
index 3784d82dcc1..39f7fa91b02 100644
--- a/pkgs/development/libraries/qtstyleplugin-kvantum/default.nix
+++ b/pkgs/development/libraries/qtstyleplugin-kvantum/default.nix
@@ -1,18 +1,18 @@
-{ stdenv, fetchFromGitHub, qmake, qtbase, qtsvg, qtx11extras, libX11, libXext, qttools }:
+{ stdenv, fetchFromGitHub, qmake, qtbase, qtsvg, qtx11extras, kwindowsystem, libX11, libXext, qttools }:
stdenv.mkDerivation rec {
pname = "qtstyleplugin-kvantum";
- version = "0.10.8";
+ version = "0.10.9";
src = fetchFromGitHub {
owner = "tsujan";
repo = "Kvantum";
rev = "V${version}";
- sha256 = "0w4iqpkagrwvhahdl280ni06b7x1i621n3z740g84ysp2n3dv09l";
+ sha256 = "1zpq6wsl57kfx0jf0rkxf15ic22ihazj03i3kfiqb07vcrs2cka9";
};
nativeBuildInputs = [ qmake qttools ];
- buildInputs = [ qtbase qtsvg qtx11extras libX11 libXext ];
+ buildInputs = [ qtbase qtsvg qtx11extras kwindowsystem libX11 libXext ];
sourceRoot = "source/Kvantum";
diff --git a/pkgs/development/libraries/rapidxml/default.nix b/pkgs/development/libraries/rapidxml/default.nix
new file mode 100644
index 00000000000..99f88091690
--- /dev/null
+++ b/pkgs/development/libraries/rapidxml/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchurl, unzip }:
+
+stdenv.mkDerivation rec {
+ pname = "rapidxml";
+ version = "1.13";
+ name = "${pname}-${version}";
+
+ src = fetchurl {
+ url = "mirror://sourceforge/${pname}/${name}.zip";
+ sha256 = "0w9mbdgshr6sh6a5jr10lkdycjyvapbj7wxwz8hbp0a96y3biw63";
+ };
+
+ nativeBuildInputs = [ unzip ];
+
+ installPhase = ''
+ mkdir -p $out/include/${pname}
+ cp * $out/include/${pname}
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Fast XML DOM-style parser in C++";
+ homepage = "http://rapidxml.sourceforge.net/";
+ license = licenses.boost;
+ platforms = platforms.unix;
+ maintainers = with maintainers; [ cpages ];
+ };
+}
diff --git a/pkgs/development/libraries/science/math/openblas/default.nix b/pkgs/development/libraries/science/math/openblas/default.nix
index f4a97b7cf85..2ae3bd2b9c8 100644
--- a/pkgs/development/libraries/science/math/openblas/default.nix
+++ b/pkgs/development/libraries/science/math/openblas/default.nix
@@ -126,7 +126,8 @@ stdenv.mkDerivation rec {
NO_STATIC = true;
CROSS = stdenv.hostPlatform != stdenv.buildPlatform;
HOSTCC = "cc";
- NO_BINARY_MODE = stdenv.hostPlatform != stdenv.buildPlatform;
+ # Makefile.system only checks defined status
+ NO_BINARY_MODE = toString (stdenv.hostPlatform != stdenv.buildPlatform);
});
doCheck = true;
diff --git a/pkgs/development/libraries/science/math/scalapack/default.nix b/pkgs/development/libraries/science/math/scalapack/default.nix
index 3f37bf49de3..53f9af7a98a 100644
--- a/pkgs/development/libraries/science/math/scalapack/default.nix
+++ b/pkgs/development/libraries/science/math/scalapack/default.nix
@@ -12,6 +12,9 @@ stdenv.mkDerivation rec {
sha256 = "0p1r61ss1fq0bs8ynnx7xq4wwsdvs32ljvwjnx6yxr8gd6pawx0c";
};
+ # patch to rename outdated MPI functions
+ patches = [ ./openmpi4.patch ];
+
nativeBuildInputs = [ cmake openssh ];
buildInputs = [ mpi gfortran openblasCompat ];
@@ -41,8 +44,8 @@ stdenv.mkDerivation rec {
homepage = http://www.netlib.org/scalapack/;
description = "Library of high-performance linear algebra routines for parallel distributed memory machines";
license = licenses.bsd3;
- platforms = platforms.linux;
- maintainers = [ maintainers.costrouc ];
+ platforms = [ "x86_64-linux" ];
+ maintainers = with maintainers; [ costrouc markuskowa ];
};
}
diff --git a/pkgs/development/libraries/science/math/scalapack/openmpi4.patch b/pkgs/development/libraries/science/math/scalapack/openmpi4.patch
new file mode 100644
index 00000000000..5d0afb58c02
--- /dev/null
+++ b/pkgs/development/libraries/science/math/scalapack/openmpi4.patch
@@ -0,0 +1,143 @@
+diff --git a/BLACS/SRC/blacs_get_.c b/BLACS/SRC/blacs_get_.c
+index e979767..d4b04cf 100644
+--- a/BLACS/SRC/blacs_get_.c
++++ b/BLACS/SRC/blacs_get_.c
+@@ -23,7 +23,7 @@ F_VOID_FUNC blacs_get_(int *ConTxt, int *what, int *val)
+ case SGET_MSGIDS:
+ if (BI_COMM_WORLD == NULL) Cblacs_pinfo(val, &val[1]);
+ iptr = &val[1];
+- ierr=MPI_Attr_get(MPI_COMM_WORLD, MPI_TAG_UB, (BVOID **) &iptr,val);
++ ierr=MPI_Comm_get_attr(MPI_COMM_WORLD, MPI_TAG_UB, (BVOID **) &iptr,val);
+ val[0] = 0;
+ val[1] = *iptr;
+ break;
+diff --git a/BLACS/SRC/cgamn2d_.c b/BLACS/SRC/cgamn2d_.c
+index 2db6ccb..6958f32 100644
+--- a/BLACS/SRC/cgamn2d_.c
++++ b/BLACS/SRC/cgamn2d_.c
+@@ -221,7 +221,7 @@ F_VOID_FUNC cgamn2d_(int *ConTxt, F_CHAR scope, F_CHAR top, int *m, int *n,
+ {
+ #endif
+ i = 2;
+- ierr=MPI_Type_struct(i, len, disp, dtypes, &MyType);
++ ierr=MPI_Type_create_struct(i, len, disp, dtypes, &MyType);
+ ierr=MPI_Type_commit(&MyType);
+ bp->N = bp2->N = 1;
+ bp->dtype = bp2->dtype = MyType;
+diff --git a/BLACS/SRC/cgamx2d_.c b/BLACS/SRC/cgamx2d_.c
+index 707c0b6..f802d01 100644
+--- a/BLACS/SRC/cgamx2d_.c
++++ b/BLACS/SRC/cgamx2d_.c
+@@ -221,7 +221,7 @@ F_VOID_FUNC cgamx2d_(int *ConTxt, F_CHAR scope, F_CHAR top, int *m, int *n,
+ {
+ #endif
+ i = 2;
+- ierr=MPI_Type_struct(i, len, disp, dtypes, &MyType);
++ ierr=MPI_Type_create_struct(i, len, disp, dtypes, &MyType);
+ ierr=MPI_Type_commit(&MyType);
+ bp->N = bp2->N = 1;
+ bp->dtype = bp2->dtype = MyType;
+diff --git a/BLACS/SRC/dgamn2d_.c b/BLACS/SRC/dgamn2d_.c
+index dff23b4..a2627ac 100644
+--- a/BLACS/SRC/dgamn2d_.c
++++ b/BLACS/SRC/dgamn2d_.c
+@@ -221,7 +221,7 @@ F_VOID_FUNC dgamn2d_(int *ConTxt, F_CHAR scope, F_CHAR top, int *m, int *n,
+ {
+ #endif
+ i = 2;
+- ierr=MPI_Type_struct(i, len, disp, dtypes, &MyType);
++ ierr=MPI_Type_create_struct(i, len, disp, dtypes, &MyType);
+ ierr=MPI_Type_commit(&MyType);
+ bp->N = bp2->N = 1;
+ bp->dtype = bp2->dtype = MyType;
+diff --git a/BLACS/SRC/dgamx2d_.c b/BLACS/SRC/dgamx2d_.c
+index a51f731..2a644d0 100644
+--- a/BLACS/SRC/dgamx2d_.c
++++ b/BLACS/SRC/dgamx2d_.c
+@@ -221,7 +221,7 @@ F_VOID_FUNC dgamx2d_(int *ConTxt, F_CHAR scope, F_CHAR top, int *m, int *n,
+ {
+ #endif
+ i = 2;
+- ierr=MPI_Type_struct(i, len, disp, dtypes, &MyType);
++ ierr=MPI_Type_create_struct(i, len, disp, dtypes, &MyType);
+ ierr=MPI_Type_commit(&MyType);
+ bp->N = bp2->N = 1;
+ bp->dtype = bp2->dtype = MyType;
+diff --git a/BLACS/SRC/igamn2d_.c b/BLACS/SRC/igamn2d_.c
+index 16bc003..f6a7859 100644
+--- a/BLACS/SRC/igamn2d_.c
++++ b/BLACS/SRC/igamn2d_.c
+@@ -218,7 +218,7 @@ F_VOID_FUNC igamn2d_(int *ConTxt, F_CHAR scope, F_CHAR top, int *m, int *n,
+ {
+ #endif
+ i = 2;
+- ierr=MPI_Type_struct(i, len, disp, dtypes, &MyType);
++ ierr=MPI_Type_create_struct(i, len, disp, dtypes, &MyType);
+ ierr=MPI_Type_commit(&MyType);
+ bp->N = bp2->N = 1;
+ bp->dtype = bp2->dtype = MyType;
+diff --git a/BLACS/SRC/igamx2d_.c b/BLACS/SRC/igamx2d_.c
+index 8165cbe..a7cfcc6 100644
+--- a/BLACS/SRC/igamx2d_.c
++++ b/BLACS/SRC/igamx2d_.c
+@@ -218,7 +218,7 @@ F_VOID_FUNC igamx2d_(int *ConTxt, F_CHAR scope, F_CHAR top, int *m, int *n,
+ {
+ #endif
+ i = 2;
+- ierr=MPI_Type_struct(i, len, disp, dtypes, &MyType);
++ ierr=MPI_Type_create_struct(i, len, disp, dtypes, &MyType);
+ ierr=MPI_Type_commit(&MyType);
+ bp->N = bp2->N = 1;
+ bp->dtype = bp2->dtype = MyType;
+diff --git a/BLACS/SRC/sgamn2d_.c b/BLACS/SRC/sgamn2d_.c
+index d6c95e5..569c797 100644
+--- a/BLACS/SRC/sgamn2d_.c
++++ b/BLACS/SRC/sgamn2d_.c
+@@ -221,7 +221,7 @@ F_VOID_FUNC sgamn2d_(int *ConTxt, F_CHAR scope, F_CHAR top, int *m, int *n,
+ {
+ #endif
+ i = 2;
+- ierr=MPI_Type_struct(i, len, disp, dtypes, &MyType);
++ ierr=MPI_Type_create_struct(i, len, disp, dtypes, &MyType);
+ ierr=MPI_Type_commit(&MyType);
+ bp->N = bp2->N = 1;
+ bp->dtype = bp2->dtype = MyType;
+diff --git a/BLACS/SRC/sgamx2d_.c b/BLACS/SRC/sgamx2d_.c
+index 4b0af6f..8897ece 100644
+--- a/BLACS/SRC/sgamx2d_.c
++++ b/BLACS/SRC/sgamx2d_.c
+@@ -221,7 +221,7 @@ F_VOID_FUNC sgamx2d_(int *ConTxt, F_CHAR scope, F_CHAR top, int *m, int *n,
+ {
+ #endif
+ i = 2;
+- ierr=MPI_Type_struct(i, len, disp, dtypes, &MyType);
++ ierr=MPI_Type_create_struct(i, len, disp, dtypes, &MyType);
+ ierr=MPI_Type_commit(&MyType);
+ bp->N = bp2->N = 1;
+ bp->dtype = bp2->dtype = MyType;
+diff --git a/BLACS/SRC/zgamn2d_.c b/BLACS/SRC/zgamn2d_.c
+index 9de2b23..37897df 100644
+--- a/BLACS/SRC/zgamn2d_.c
++++ b/BLACS/SRC/zgamn2d_.c
+@@ -221,7 +221,7 @@ F_VOID_FUNC zgamn2d_(int *ConTxt, F_CHAR scope, F_CHAR top, int *m, int *n,
+ {
+ #endif
+ i = 2;
+- ierr=MPI_Type_struct(i, len, disp, dtypes, &MyType);
++ ierr=MPI_Type_create_struct(i, len, disp, dtypes, &MyType);
+ ierr=MPI_Type_commit(&MyType);
+ bp->N = bp2->N = 1;
+ bp->dtype = bp2->dtype = MyType;
+diff --git a/BLACS/SRC/zgamx2d_.c b/BLACS/SRC/zgamx2d_.c
+index 414c381..0e9d474 100644
+--- a/BLACS/SRC/zgamx2d_.c
++++ b/BLACS/SRC/zgamx2d_.c
+@@ -221,7 +221,7 @@ F_VOID_FUNC zgamx2d_(int *ConTxt, F_CHAR scope, F_CHAR top, int *m, int *n,
+ {
+ #endif
+ i = 2;
+- ierr=MPI_Type_struct(i, len, disp, dtypes, &MyType);
++ ierr=MPI_Type_create_struct(i, len, disp, dtypes, &MyType);
+ ierr=MPI_Type_commit(&MyType);
+ bp->N = bp2->N = 1;
+ bp->dtype = bp2->dtype = MyType;
diff --git a/pkgs/development/libraries/sundials/default.nix b/pkgs/development/libraries/sundials/default.nix
index b33180cec42..abe444c63c3 100644
--- a/pkgs/development/libraries/sundials/default.nix
+++ b/pkgs/development/libraries/sundials/default.nix
@@ -3,11 +3,11 @@
stdenv.mkDerivation rec {
pname = "sundials";
- version = "4.0.2";
+ version = "4.1.0";
src = fetchurl {
url = "https://computation.llnl.gov/projects/${pname}/download/${pname}-${version}.tar.gz";
- sha256 = "0xfk0icsi63yi1dby4rn02ppwkzfykciw6q03bk454gdia9xcmk6";
+ sha256 = "19ca4nmlf6i9ijqcibyvpprxzsdfnackgjs6dw51fq13gg1f2398";
};
preConfigure = ''
diff --git a/pkgs/development/libraries/vapoursynth/default.nix b/pkgs/development/libraries/vapoursynth/default.nix
index 2d3af9b70c5..7121b6fed02 100644
--- a/pkgs/development/libraries/vapoursynth/default.nix
+++ b/pkgs/development/libraries/vapoursynth/default.nix
@@ -12,13 +12,13 @@ with stdenv.lib;
stdenv.mkDerivation rec {
name = "vapoursynth-${version}";
- version = "R44";
+ version = "R45.1";
src = fetchFromGitHub {
owner = "vapoursynth";
repo = "vapoursynth";
rev = version;
- sha256 = "1270cggvk9nvy5g2z289nwhyvl4364yzirfn5jsa9i9ljfp00qml";
+ sha256 = "09fj4k75cksx1imivqfyr945swlr8k392kkdgzldwc4404qv82s6";
};
nativeBuildInputs = [ pkgconfig autoreconfHook nasm ];
diff --git a/pkgs/development/libraries/xapian/default.nix b/pkgs/development/libraries/xapian/default.nix
index cf331f01456..76c345c6b7e 100644
--- a/pkgs/development/libraries/xapian/default.nix
+++ b/pkgs/development/libraries/xapian/default.nix
@@ -18,6 +18,8 @@ let
doCheck = true;
+ patches = stdenv.lib.optionals stdenv.isDarwin [ ./skip-flaky-darwin-test.patch ];
+
# the configure script thinks that Darwin has ___exp10
# but it’s not available on my systems (or hydra apparently)
postConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
@@ -29,7 +31,7 @@ let
description = "Search engine library";
homepage = https://xapian.org/;
license = licenses.gpl2Plus;
- maintainers = with maintainers; [ chaoflow ];
+ maintainers = with maintainers; [ ];
platforms = platforms.unix;
};
};
diff --git a/pkgs/development/libraries/xapian/skip-flaky-darwin-test.patch b/pkgs/development/libraries/xapian/skip-flaky-darwin-test.patch
new file mode 100644
index 00000000000..72a7c3e721f
--- /dev/null
+++ b/pkgs/development/libraries/xapian/skip-flaky-darwin-test.patch
@@ -0,0 +1,33 @@
+diff -Naur xapian-core.old/tests/api_db.cc xapian-core.new/tests/api_db.cc
+--- xapian-core.old/tests/api_db.cc
++++ xapian-core.new/tests/api_db.cc
+@@ -998,6 +998,7 @@
+
+ // test for keepalives
+ DEFINE_TESTCASE(keepalive1, remote) {
++ SKIP_TEST("Fails in darwin nix build environment");
+ Xapian::Database db(get_remote_database("apitest_simpledata", 5000));
+
+ /* Test that keep-alives work */
+diff -Naur xapian-core.old/tests/api_scalability.cc xapian-core.new/tests/api_scalability.cc
+--- xapian-core.old/tests/api_scalability.cc
++++ xapian-core.new/tests/api_scalability.cc
+@@ -53,6 +53,7 @@
+ }
+
+ DEFINE_TESTCASE(bigoaddvalue1, writable) {
++ SKIP_TEST("Fails in darwin nix build environment");
+ // O(n*n) is bad, but O(n*log(n)) is acceptable.
+ test_scalability(bigoaddvalue1_helper, 5000, O_N_LOG_N);
+ return true;
+diff -Naur xapian-core.old/tests/api_serialise.cc xapian-core.new/tests/api_serialise.cc
+--- xapian-core.old/tests/api_serialise.cc
++++ xapian-core.new/tests/api_serialise.cc
+@@ -110,6 +110,7 @@
+
+ // Test for serialising a document obtained from a database.
+ DEFINE_TESTCASE(serialise_document2, writable) {
++ SKIP_TEST("Fails in darwin nix build environment");
+ Xapian::Document origdoc;
+ origdoc.add_term("foo", 2);
+ origdoc.add_posting("foo", 10);
diff --git a/pkgs/development/libraries/xavs/default.nix b/pkgs/development/libraries/xavs/default.nix
index adace96afad..31c31164e01 100644
--- a/pkgs/development/libraries/xavs/default.nix
+++ b/pkgs/development/libraries/xavs/default.nix
@@ -10,6 +10,8 @@ stdenv.mkDerivation rec {
sha256 = "0drw16wm95dqszpl7j33y4gckz0w0107lnz6wkzb66f0dlbv48cf";
};
+ enableParallelBuilding = true;
+
patchPhase = ''
patchShebangs configure
patchShebangs config.sub
@@ -18,7 +20,16 @@ stdenv.mkDerivation rec {
patchShebangs tools/patcheck
patchShebangs tools/regression-test.pl
patchShebangs tools/xavs-format
- '';
+ '' + stdenv.lib.optionalString stdenv.isDarwin ''
+ substituteInPlace config.guess --replace 'uname -p' 'uname -m'
+ substituteInPlace configure \
+ --replace '-O4' '-O3' \
+ --replace ' -s ' ' ' \
+ --replace 'LDFLAGS -s' 'LDFLAGS' \
+ --replace '-dynamiclib' ' ' \
+ --replace '-falign-loops=16' ' '
+ substituteInPlace Makefile --replace '-Wl,-soname,' ' '
+ '';
configureFlags = [
"--enable-pic"
@@ -31,7 +42,7 @@ stdenv.mkDerivation rec {
description = "AVS encoder and decoder";
homepage = http://xavs.sourceforge.net/;
license = licenses.lgpl2;
- platforms = platforms.linux;
+ platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ codyopel ];
};
}
diff --git a/pkgs/development/libraries/xxHash/default.nix b/pkgs/development/libraries/xxHash/default.nix
index cbe32da6445..51f883a020b 100644
--- a/pkgs/development/libraries/xxHash/default.nix
+++ b/pkgs/development/libraries/xxHash/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
name = "xxHash-${version}";
- version = "0.6.4.20171222";
+ version = "0.6.5";
src = fetchFromGitHub {
- sha256 = "1az5vm14rdc3pa3l0wj180wpii14if16diril3gz8q9ip1215gwj";
- rev = "7caf8bd76440c75dfe1070d3acfbd7891aea8fca";
- repo = "xxHash";
owner = "Cyan4973";
+ repo = "xxHash";
+ rev = "v${version}";
+ sha256 = "137hifc3f3cb4ib64rd6y83arc9hmbyncgrij2v8m94mx66g2aks";
};
outputs = [ "out" "dev" ];
diff --git a/pkgs/development/mobile/cocoapods/Gemfile.lock b/pkgs/development/mobile/cocoapods/Gemfile.lock
index 31820eff7e5..89ba7cec32f 100644
--- a/pkgs/development/mobile/cocoapods/Gemfile.lock
+++ b/pkgs/development/mobile/cocoapods/Gemfile.lock
@@ -2,50 +2,50 @@ GEM
remote: https://rubygems.org/
specs:
CFPropertyList (3.0.0)
- activesupport (4.2.10)
+ activesupport (4.2.11)
i18n (~> 0.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
atomos (0.1.3)
claide (1.0.2)
- cocoapods (1.5.3)
+ cocoapods (1.6.1)
activesupport (>= 4.0.2, < 5)
claide (>= 1.0.2, < 2.0)
- cocoapods-core (= 1.5.3)
+ cocoapods-core (= 1.6.1)
cocoapods-deintegrate (>= 1.0.2, < 2.0)
- cocoapods-downloader (>= 1.2.0, < 2.0)
+ cocoapods-downloader (>= 1.2.2, < 2.0)
cocoapods-plugins (>= 1.0.0, < 2.0)
cocoapods-search (>= 1.0.0, < 2.0)
cocoapods-stats (>= 1.0.0, < 2.0)
- cocoapods-trunk (>= 1.3.0, < 2.0)
+ cocoapods-trunk (>= 1.3.1, < 2.0)
cocoapods-try (>= 1.1.0, < 2.0)
colored2 (~> 3.1)
escape (~> 0.0.4)
- fourflusher (~> 2.0.1)
+ fourflusher (>= 2.2.0, < 3.0)
gh_inspector (~> 1.0)
- molinillo (~> 0.6.5)
+ molinillo (~> 0.6.6)
nap (~> 1.0)
- ruby-macho (~> 1.1)
- xcodeproj (>= 1.5.7, < 2.0)
- cocoapods-core (1.5.3)
+ ruby-macho (~> 1.4)
+ xcodeproj (>= 1.8.1, < 2.0)
+ cocoapods-core (1.6.1)
activesupport (>= 4.0.2, < 6)
fuzzy_match (~> 2.0.4)
nap (~> 1.0)
- cocoapods-deintegrate (1.0.2)
- cocoapods-downloader (1.2.1)
+ cocoapods-deintegrate (1.0.3)
+ cocoapods-downloader (1.2.2)
cocoapods-plugins (1.0.0)
nap
cocoapods-search (1.0.0)
- cocoapods-stats (1.0.0)
+ cocoapods-stats (1.1.0)
cocoapods-trunk (1.3.1)
nap (>= 0.8, < 2.0)
netrc (~> 0.11)
cocoapods-try (1.1.0)
colored2 (3.1.2)
- concurrent-ruby (1.0.5)
+ concurrent-ruby (1.1.4)
escape (0.0.4)
- fourflusher (2.0.1)
+ fourflusher (2.2.0)
fuzzy_match (2.0.4)
gh_inspector (1.1.3)
i18n (0.9.5)
@@ -55,11 +55,11 @@ GEM
nanaimo (0.2.6)
nap (1.1.0)
netrc (0.11.0)
- ruby-macho (1.2.0)
+ ruby-macho (1.4.0)
thread_safe (0.3.6)
tzinfo (1.2.5)
thread_safe (~> 0.1)
- xcodeproj (1.6.0)
+ xcodeproj (1.8.1)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
@@ -73,4 +73,4 @@ DEPENDENCIES
cocoapods
BUNDLED WITH
- 1.16.3
+ 1.17.2
diff --git a/pkgs/development/mobile/cocoapods/gemset.nix b/pkgs/development/mobile/cocoapods/gemset.nix
index 5fcbe59603b..8cd829d56ab 100644
--- a/pkgs/development/mobile/cocoapods/gemset.nix
+++ b/pkgs/development/mobile/cocoapods/gemset.nix
@@ -1,12 +1,14 @@
{
activesupport = {
dependencies = ["i18n" "minitest" "thread_safe" "tzinfo"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0s12j8vl8vrxfngkdlz9g8bpz9akq1z42d57mx5r537b2pji8nr7";
+ sha256 = "0pqr25wmhvvlg8av7bi5p5c7r5464clhhhhv45j63bh7xw4ad6n4";
type = "gem";
};
- version = "4.2.10";
+ version = "4.2.11";
};
atomos = {
source = {
@@ -34,37 +36,45 @@
};
cocoapods = {
dependencies = ["activesupport" "claide" "cocoapods-core" "cocoapods-deintegrate" "cocoapods-downloader" "cocoapods-plugins" "cocoapods-search" "cocoapods-stats" "cocoapods-trunk" "cocoapods-try" "colored2" "escape" "fourflusher" "gh_inspector" "molinillo" "nap" "ruby-macho" "xcodeproj"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0x5cz19p0j9k1hvn35lxnv3dn8i65n4qvi5nzjaf53pdgh52401h";
+ sha256 = "0sjipdbybs2ikjz9drpwfq1msisha3cbf3508ywaj5w3i481av37";
type = "gem";
};
- version = "1.5.3";
+ version = "1.6.1";
};
cocoapods-core = {
dependencies = ["activesupport" "fuzzy_match" "nap"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0xnxcd2xnvf60f8w27glq5jcn9wdhzch9nkdb24ihhmpxfgj3f39";
+ sha256 = "03g31gn8k9q8ky1qhg9i2xawg6xdpl8x3mq4fdah17jclsg8y0sh";
type = "gem";
};
- version = "1.5.3";
+ version = "1.6.1";
};
cocoapods-deintegrate = {
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "10b49glw3jd0r1vj36zb0vz2idwgziq8qgzf7yjkrsm41xm098zz";
+ sha256 = "0m3hi4va9cr7anxkjf44as14j1hsrvw00bzvz7c906hyb8qcm4fp";
type = "gem";
};
- version = "1.0.2";
+ version = "1.0.3";
};
cocoapods-downloader = {
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0g1v3k52g2mjlml8miq06c61764lqdy0gc0h2f4ymajz0pqg1zik";
+ sha256 = "09fd4zaqkz8vz3djplacngcs4n0j6j956wgq43s1y6bwl0zyjmd3";
type = "gem";
};
- version = "1.2.1";
+ version = "1.2.2";
};
cocoapods-plugins = {
dependencies = ["nap"];
@@ -84,12 +94,14 @@
version = "1.0.0";
};
cocoapods-stats = {
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0sfcwq2vq6cadj1811jdjys3d28pmk2r2a83px6w94rz6i19axid";
+ sha256 = "1xhdh5v94p6l612rwrk290nd2hdfx8lbaqfbkmj34md218kilqww";
type = "gem";
};
- version = "1.0.0";
+ version = "1.1.0";
};
cocoapods-trunk = {
dependencies = ["nap" "netrc"];
@@ -117,12 +129,14 @@
version = "3.1.2";
};
concurrent-ruby = {
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "183lszf5gx84kcpb779v6a2y0mx9sssy8dgppng1z9a505nj1qcf";
+ sha256 = "1ixcx9pfissxrga53jbdpza85qd5f6b5nq1sfqa9rnfq82qnlbp1";
type = "gem";
};
- version = "1.0.5";
+ version = "1.1.4";
};
escape = {
source = {
@@ -133,12 +147,14 @@
version = "0.0.4";
};
fourflusher = {
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1dzmkxyzrk475c1yk5zddwhhj28b6fnj4jkk1h5gr1c2mrar72d5";
+ sha256 = "1d2ksz077likjv8dcxy1rnqcjallbfa7yk2wvix3228gq7a4jkq3";
type = "gem";
};
- version = "2.0.1";
+ version = "2.2.0";
};
fuzzy_match = {
source = {
@@ -206,12 +222,14 @@
version = "0.11.0";
};
ruby-macho = {
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0xi0ll217h3caiamplqaypmipmrkriqrvmq207ngyzhgmh1jfc8q";
+ sha256 = "0lhdjn91jkifsy2hzq2hgcm0pp8pbik87m58zmw1ifh6hkp9adjb";
type = "gem";
};
- version = "1.2.0";
+ version = "1.4.0";
};
thread_safe = {
source = {
@@ -232,11 +250,13 @@
};
xcodeproj = {
dependencies = ["CFPropertyList" "atomos" "claide" "colored2" "nanaimo"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1f4shbzff3wsk1jq0v9bs10496qdx69k2jfpf11p4q2ik3jdnsv7";
+ sha256 = "13z3109lwq632vhazndqjlccpwadljg58sflbyl0m57j9d4blv2y";
type = "gem";
};
- version = "1.6.0";
+ version = "1.8.1";
};
}
\ No newline at end of file
diff --git a/pkgs/development/mobile/cocoapods/update b/pkgs/development/mobile/cocoapods/update
index 58a7bd4a453..8215d1abe4f 100755
--- a/pkgs/development/mobile/cocoapods/update
+++ b/pkgs/development/mobile/cocoapods/update
@@ -1,10 +1,11 @@
#!/usr/bin/env nix-shell
#! nix-shell -i bash -p bash ruby bundler bundix
-rm Gemfile.lock
-bundler install
-bundix
+BUNDIX_CACHE="$(mktemp -d)"
-if [ "clean" == "$1" ]; then
- rm -rf ~/.gem
-fi
+rm -f Gemfile.lock
+bundler package --path "$BUNDIX_CACHE"
+bundix --bundle-pack-path="$BUNDIX_CACHE"
+
+rm -rf "$BUNDIX_CACHE"
+rm -rf .bundle
diff --git a/pkgs/development/mobile/titaniumenv/build-app.nix b/pkgs/development/mobile/titaniumenv/build-app.nix
index aac94fe6130..b3c8d380819 100644
--- a/pkgs/development/mobile/titaniumenv/build-app.nix
+++ b/pkgs/development/mobile/titaniumenv/build-app.nix
@@ -173,7 +173,7 @@ stdenv.mkDerivation ({
echo "file binary-dist \"$(echo $out/*.ipa)\"" > $out/nix-support/hydra-build-products
${stdenv.lib.optionalString enableWirelessDistribution ''
- appname="$(basename "$out/*.ipa" .ipa)"
+ appname="$(basename $out/*.ipa .ipa)"
bundleId=$(grep '[a-zA-Z0-9.]*' tiapp.xml | sed -e 's|||' -e 's|||' -e 's/ //g')
version=$(grep '[a-zA-Z0-9.]*' tiapp.xml | sed -e 's|||' -e 's|||' -e 's/ //g')
diff --git a/pkgs/development/mobile/xcodeenv/build-app.nix b/pkgs/development/mobile/xcodeenv/build-app.nix
index b88f806d586..05ddf5366c7 100644
--- a/pkgs/development/mobile/xcodeenv/build-app.nix
+++ b/pkgs/development/mobile/xcodeenv/build-app.nix
@@ -105,7 +105,7 @@ stdenv.mkDerivation ({
${codeSignIdentity}
provisioningProfiles
- ${stdenv.lib.toLower bundleId}
+ ${bundleId}
$PROVISIONING_PROFILE
signingStyle
@@ -129,9 +129,9 @@ stdenv.mkDerivation ({
${stdenv.lib.optionalString enableWirelessDistribution ''
# Add another hacky build product that enables wireless adhoc installations
- appname="$(basename "$out/*.ipa" .ipa)"
- sed -e "s|@INSTALL_URL@|${installURL}?bundleId=${bundleId}\&version=${appVersion}\&title=$appname|" ${./install.html.template} > $out/$appname.html
- echo "doc install \"$out/$appname.html\"" >> $out/nix-support/hydra-build-products
+ appname="$(basename "$(echo $out/*.ipa)" .ipa)"
+ sed -e "s|@INSTALL_URL@|${installURL}?bundleId=${bundleId}\&version=${appVersion}\&title=$appname|" ${./install.html.template} > $out/''${appname}.html
+ echo "doc install \"$out/''${appname}.html\"" >> $out/nix-support/hydra-build-products
''}
''}
${stdenv.lib.optionalString generateXCArchive ''
diff --git a/pkgs/development/ocaml-modules/atd/default.nix b/pkgs/development/ocaml-modules/atd/default.nix
index e3e056f5442..c6047f4ea1b 100644
--- a/pkgs/development/ocaml-modules/atd/default.nix
+++ b/pkgs/development/ocaml-modules/atd/default.nix
@@ -4,6 +4,8 @@ buildDunePackage rec {
pname = "atd";
version = "2.0.0";
+ minimumOCamlVersion = "4.02";
+
src = fetchFromGitHub {
owner = "mjambon";
repo = pname;
diff --git a/pkgs/development/ocaml-modules/bisect_ppx-ocamlbuild/default.nix b/pkgs/development/ocaml-modules/bisect_ppx-ocamlbuild/default.nix
index fd3e7d58ae3..38673fb9ddc 100644
--- a/pkgs/development/ocaml-modules/bisect_ppx-ocamlbuild/default.nix
+++ b/pkgs/development/ocaml-modules/bisect_ppx-ocamlbuild/default.nix
@@ -1,6 +1,7 @@
{ buildDunePackage, bisect_ppx, ocamlbuild }:
buildDunePackage rec {
+ minimumOCamlVersion = "4.02";
inherit (bisect_ppx) version src meta;
pname = "bisect_ppx-ocamlbuild";
propagatedBuildInputs = [ ocamlbuild ];
diff --git a/pkgs/development/ocaml-modules/dtoa/default.nix b/pkgs/development/ocaml-modules/dtoa/default.nix
index a5164ab7fa9..87d9ac7a324 100644
--- a/pkgs/development/ocaml-modules/dtoa/default.nix
+++ b/pkgs/development/ocaml-modules/dtoa/default.nix
@@ -4,7 +4,7 @@ buildDunePackage rec {
pname = "dtoa";
version = "0.3.1";
- minimumOCamlVersion = "4.01";
+ minimumOCamlVersion = "4.02";
src = fetchurl {
url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz";
diff --git a/pkgs/development/ocaml-modules/lablgtk3/default.nix b/pkgs/development/ocaml-modules/lablgtk3/default.nix
index 9f2227327e4..8da00b76393 100644
--- a/pkgs/development/ocaml-modules/lablgtk3/default.nix
+++ b/pkgs/development/ocaml-modules/lablgtk3/default.nix
@@ -1,27 +1,38 @@
-{ stdenv, fetchurl, pkgconfig, ocaml, findlib, gtk3, gtkspell3, gtksourceview }:
+{ stdenv,lib, fetchFromGitHub, pkgconfig, ocaml, findlib, dune, gtk3, cairo2 }:
-if !stdenv.lib.versionAtLeast ocaml.version "4.05"
+if !lib.versionAtLeast ocaml.version "4.05"
then throw "lablgtk3 is not available for OCaml ${ocaml.version}"
else
+# This package uses the dune.configurator library
+# It thus needs said library to be compiled with this OCaml compiler
+let __dune = dune; in
+let dune = __dune.override { ocamlPackages = { inherit ocaml findlib; }; }; in
+
stdenv.mkDerivation rec {
- version = "3.0.beta3";
- name = "ocaml${ocaml.version}-lablgtk3-${version}";
- src = fetchurl {
- url = https://forge.ocamlcore.org/frs/download.php/1775/lablgtk-3.0.beta3.tar.gz;
- sha256 = "174mwwdz1s91a6ycbas7nc0g87c2l6zqv68zi5ab33yb76l46a6w";
+ version = "3.0.beta4";
+ pname = "lablgtk3";
+ name = "ocaml${ocaml.version}-${pname}-${version}";
+
+ src = fetchFromGitHub {
+ owner = "garrigue";
+ repo = "lablgtk";
+ rev = version;
+ sha256 = "1lppb7k4xb1a35i7klm9mz98hw8l2f8s7rivgzysi1sviqy1ds5d";
};
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ ocaml findlib gtk3 gtkspell3 gtksourceview ];
+ buildInputs = [ ocaml findlib dune gtk3 ];
+ propagatedBuildInputs = [ cairo2 ];
- buildFlags = "world";
+ buildPhase = "dune build -p ${pname}";
+ inherit (dune) installPhase;
meta = {
description = "OCaml interface to gtk+-3";
homepage = "http://lablgtk.forge.ocamlcore.org/";
- license = stdenv.lib.licenses.lgpl21;
- maintainers = [ stdenv.lib.maintainers.vbgl ];
+ license = lib.licenses.lgpl21;
+ maintainers = [ lib.maintainers.vbgl ];
inherit (ocaml.meta) platforms;
};
}
diff --git a/pkgs/development/ocaml-modules/lablgtk3/gtkspell3.nix b/pkgs/development/ocaml-modules/lablgtk3/gtkspell3.nix
new file mode 100644
index 00000000000..7e898be7490
--- /dev/null
+++ b/pkgs/development/ocaml-modules/lablgtk3/gtkspell3.nix
@@ -0,0 +1,8 @@
+{ buildDunePackage, gtkspell3, lablgtk3 }:
+
+buildDunePackage rec {
+ pname = "lablgtk3-gtkspell3";
+ buildInputs = [ gtkspell3 ] ++ lablgtk3.buildInputs;
+ propagatedBuildInputs = [ lablgtk3 ];
+ inherit (lablgtk3) src version meta nativeBuildInputs;
+}
diff --git a/pkgs/development/ocaml-modules/lablgtk3/sourceview3.nix b/pkgs/development/ocaml-modules/lablgtk3/sourceview3.nix
new file mode 100644
index 00000000000..7e8807576ee
--- /dev/null
+++ b/pkgs/development/ocaml-modules/lablgtk3/sourceview3.nix
@@ -0,0 +1,9 @@
+{ stdenv, ocaml, gtksourceview, lablgtk3 }:
+
+stdenv.mkDerivation rec {
+ name = "ocaml${ocaml.version}-lablgtk3-sourceview3-${version}";
+ buildPhase = "dune build -p lablgtk3-sourceview3";
+ buildInputs = lablgtk3.buildInputs ++ [ gtksourceview ];
+ propagatedBuildInputs = [ lablgtk3 ];
+ inherit (lablgtk3) src version meta nativeBuildInputs installPhase;
+}
diff --git a/pkgs/development/ocaml-modules/opti/default.nix b/pkgs/development/ocaml-modules/opti/default.nix
index 7b084e61688..f6552d57683 100644
--- a/pkgs/development/ocaml-modules/opti/default.nix
+++ b/pkgs/development/ocaml-modules/opti/default.nix
@@ -4,6 +4,8 @@ buildDunePackage rec {
pname = "opti";
version = "1.0.3";
+ minimumOCamlVersion = "4.02";
+
src = fetchurl {
url = "https://github.com/magnusjonsson/opti/releases/download/${version}/opti-${version}.tbz";
sha256 = "ed9ba56dc06e9d2b1bf097964cc65ea37db787d4f239c13d0dd74693f5b50a1e";
diff --git a/pkgs/development/ocaml-modules/wtf8/default.nix b/pkgs/development/ocaml-modules/wtf8/default.nix
index 7f3686abb51..4c820d13808 100644
--- a/pkgs/development/ocaml-modules/wtf8/default.nix
+++ b/pkgs/development/ocaml-modules/wtf8/default.nix
@@ -4,7 +4,7 @@ buildDunePackage rec {
pname = "wtf8";
version = "1.0.1";
- minimumOCamlVersion = "4.01";
+ minimumOCamlVersion = "4.02";
src = fetchurl {
url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz";
diff --git a/pkgs/development/python-modules/aafigure/default.nix b/pkgs/development/python-modules/aafigure/default.nix
index 0ee617a1be6..d75511f8d4c 100644
--- a/pkgs/development/python-modules/aafigure/default.nix
+++ b/pkgs/development/python-modules/aafigure/default.nix
@@ -26,6 +26,6 @@ buildPythonPackage rec {
homepage = https://launchpad.net/aafigure/;
license = licenses.bsd2;
maintainers = with maintainers; [ bjornfor ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/development/python-modules/actdiag/default.nix b/pkgs/development/python-modules/actdiag/default.nix
index 27a9a455c47..34d4c2a37a7 100644
--- a/pkgs/development/python-modules/actdiag/default.nix
+++ b/pkgs/development/python-modules/actdiag/default.nix
@@ -26,7 +26,7 @@ buildPythonPackage rec {
description = "Generate activity-diagram image from spec-text file (similar to Graphviz)";
homepage = http://blockdiag.com/;
license = licenses.asl20;
- platforms = platforms.linux;
+ platforms = platforms.unix;
maintainers = with maintainers; [ bjornfor ];
};
}
diff --git a/pkgs/development/python-modules/aioimaplib/default.nix b/pkgs/development/python-modules/aioimaplib/default.nix
index 59401269393..9003618a0fd 100644
--- a/pkgs/development/python-modules/aioimaplib/default.nix
+++ b/pkgs/development/python-modules/aioimaplib/default.nix
@@ -1,24 +1,24 @@
-{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
+{ lib, buildPythonPackage, fetchFromGitHub, isPy3k, pythonOlder, isPy36
, nose, asynctest, mock, pytz, tzlocal, imaplib2, docutils, pyopenssl }:
buildPythonPackage rec {
pname = "aioimaplib";
- version = "0.7.14";
+ version = "0.7.15";
# PyPI tarball doesn't ship tests
src = fetchFromGitHub {
owner = "bamthomas";
repo = pname;
rev = version;
- sha256 = "150v3czh53sqakfqgjyj1w39mdfcxmpnrk2pbmq63jkq7r6njl0l";
+ sha256 = "15nny3y8pwaizq1zmkg43ym5jszk2hs010z12yn2d0j1fibymwbj";
};
- disabled = pythonOlder "3.4";
+ disabled = !(isPy3k && pythonOlder "3.7");
checkInputs = [ nose asynctest mock pytz tzlocal imaplib2 docutils pyopenssl ];
# https://github.com/bamthomas/aioimaplib/issues/35
- doCheck = false;
+ doCheck = !isPy36;
meta = with lib; {
description = "Python asyncio IMAP4rev1 client library";
diff --git a/pkgs/development/python-modules/altair/default.nix b/pkgs/development/python-modules/altair/default.nix
index 2714c8dc8e3..544be4f67dd 100644
--- a/pkgs/development/python-modules/altair/default.nix
+++ b/pkgs/development/python-modules/altair/default.nix
@@ -32,6 +32,6 @@ buildPythonPackage rec {
homepage = https://github.com/altair-viz/altair;
license = licenses.bsd3;
maintainers = with maintainers; [ teh ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/development/python-modules/asn1ate/default.nix b/pkgs/development/python-modules/asn1ate/default.nix
index 29dae1fd663..6af5b3da880 100644
--- a/pkgs/development/python-modules/asn1ate/default.nix
+++ b/pkgs/development/python-modules/asn1ate/default.nix
@@ -16,7 +16,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Python library for translating ASN.1 into other forms";
license = licenses.bsd3;
- platforms = platforms.linux;
+ platforms = platforms.unix;
maintainers = with maintainers; [ leenaars ];
};
}
diff --git a/pkgs/development/python-modules/beanstalkc/default.nix b/pkgs/development/python-modules/beanstalkc/default.nix
index 9ac9cf831eb..e83a9f67789 100644
--- a/pkgs/development/python-modules/beanstalkc/default.nix
+++ b/pkgs/development/python-modules/beanstalkc/default.nix
@@ -1,14 +1,18 @@
-{ stdenv, fetchPypi, buildPythonPackage }:
+{ stdenv, fetchFromGitHub, buildPythonPackage }:
buildPythonPackage rec {
pname = "beanstalkc";
- version = "0.4.0";
+ version = "0.5.2";
- src = fetchPypi {
- inherit pname version;
- sha256 = "98978e57797320146f4b233286d9a02f65d20bad0168424118839fc608085280";
+ src = fetchFromGitHub {
+ owner = "bosondata";
+ repo = "beanstalkc";
+ rev = "v${version}";
+ sha256 = "1dpb1yimp2pfnikmgsb2fr9x6h8riixlsx3xfqphnfvrid49vw5s";
};
+ doCheck = false;
+
meta = {
description = "A simple beanstalkd client library for Python";
maintainers = with stdenv.lib.maintainers; [ aanderse ];
diff --git a/pkgs/development/python-modules/bitstring/default.nix b/pkgs/development/python-modules/bitstring/default.nix
index 8e54e3bbde7..23f4257a357 100644
--- a/pkgs/development/python-modules/bitstring/default.nix
+++ b/pkgs/development/python-modules/bitstring/default.nix
@@ -14,7 +14,7 @@ buildPythonPackage rec {
description = "Module for binary data manipulation";
homepage = "https://github.com/scott-griffiths/bitstring";
license = licenses.mit;
- platforms = platforms.linux;
+ platforms = platforms.unix;
maintainers = with maintainers; [ bjornfor ];
};
}
diff --git a/pkgs/development/python-modules/contextvars/default.nix b/pkgs/development/python-modules/contextvars/default.nix
index 12914617b8f..27ee2fc82f9 100644
--- a/pkgs/development/python-modules/contextvars/default.nix
+++ b/pkgs/development/python-modules/contextvars/default.nix
@@ -10,6 +10,8 @@ buildPythonPackage rec {
sha256 = "09fnni8cyxm070bfv9ay030qbyk0dfds5nq77s0p38h33hp08h93";
};
+ # pull request for this patch is https://github.com/MagicStack/contextvars/pull/9
+ patches = [ ./immutables_version.patch ];
propagatedBuildInputs = [ immutables ];
meta = {
diff --git a/pkgs/development/python-modules/contextvars/immutables_version.patch b/pkgs/development/python-modules/contextvars/immutables_version.patch
new file mode 100644
index 00000000000..733c0502a66
--- /dev/null
+++ b/pkgs/development/python-modules/contextvars/immutables_version.patch
@@ -0,0 +1,11 @@
+--- ./setup.py 2018-07-30 15:40:14.000000000 +0000
++++ ./setup.py 2019-02-12 18:33:24.984430303 +0000
+@@ -17,7 +17,7 @@
+ packages=['contextvars'],
+ provides=['contextvars'],
+ install_requires=[
+- 'immutables==0.6',
++ 'immutables>=0.6',
+ ],
+ license='Apache License, Version 2.0',
+ classifiers=[
diff --git a/pkgs/development/python-modules/dask-mpi/default.nix b/pkgs/development/python-modules/dask-mpi/default.nix
new file mode 100644
index 00000000000..1bba260e2a0
--- /dev/null
+++ b/pkgs/development/python-modules/dask-mpi/default.nix
@@ -0,0 +1,36 @@
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+, dask
+, distributed
+, mpi4py
+, pytest
+, requests
+}:
+
+buildPythonPackage rec {
+ version = "1.0.2";
+ pname = "dask-mpi";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "1apzzh90gl9jx43z0gjmgpniplhvqziafi2l8688a0g01vw7ibjv";
+ };
+
+ checkInputs = [ pytest requests ];
+ propagatedBuildInputs = [ dask distributed mpi4py ];
+
+ checkPhase = ''
+ py.test dask_mpi
+ '';
+
+ # hardcoded mpirun path in tests
+ doCheck = false;
+
+ meta = with stdenv.lib; {
+ homepage = https://github.com/dask/dask-mpi;
+ description = "Deploy Dask using mpi4py";
+ license = licenses.bsd3;
+ maintainers = [ maintainers.costrouc ];
+ };
+}
diff --git a/pkgs/development/python-modules/filebrowser_safe/default.nix b/pkgs/development/python-modules/filebrowser_safe/default.nix
index 8e95d1e413e..d0d324fb977 100644
--- a/pkgs/development/python-modules/filebrowser_safe/default.nix
+++ b/pkgs/development/python-modules/filebrowser_safe/default.nix
@@ -34,7 +34,7 @@ buildPythonPackage rec {
downloadPage = https://pypi.python.org/pypi/filebrowser_safe/;
license = licenses.free;
maintainers = with maintainers; [ prikhi ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/development/python-modules/grappelli_safe/default.nix b/pkgs/development/python-modules/grappelli_safe/default.nix
index bbba074b3f5..7c115b58d32 100644
--- a/pkgs/development/python-modules/grappelli_safe/default.nix
+++ b/pkgs/development/python-modules/grappelli_safe/default.nix
@@ -28,7 +28,7 @@ buildPythonPackage rec {
downloadPage = http://pypi.python.org/pypi/grappelli_safe/;
license = licenses.free;
maintainers = with maintainers; [ prikhi ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/development/python-modules/gumath/default.nix b/pkgs/development/python-modules/gumath/default.nix
new file mode 100644
index 00000000000..b066f323d68
--- /dev/null
+++ b/pkgs/development/python-modules/gumath/default.nix
@@ -0,0 +1,29 @@
+{ lib
+, buildPythonPackage
+, numba
+, ndtypes
+, xnd
+, libndtypes
+, libxnd
+, libgumath
+, isPy27
+}:
+
+buildPythonPackage {
+ pname = "gumath";
+ disabled = isPy27;
+ inherit (libgumath) src version meta;
+
+ checkInputs = [ numba ];
+ propagatedBuildInputs = [ ndtypes xnd ];
+
+ postPatch = ''
+ substituteInPlace setup.py \
+ --replace 'add_include_dirs = [".", "libgumath", "ndtypes/python/ndtypes", "xnd/python/xnd"] + INCLUDES' \
+ 'add_include_dirs = [".", "${libndtypes}/include", "${libxnd}/include", "${libgumath}/include"]' \
+ --replace 'add_library_dirs = ["libgumath", "ndtypes/libndtypes", "xnd/libxnd"] + LIBS' \
+ 'add_library_dirs = ["${libndtypes}/lib", "${libxnd}/lib", "${libgumath}/lib"]' \
+ --replace 'add_runtime_library_dirs = ["$ORIGIN"]' \
+ 'add_runtime_library_dirs = ["${libndtypes}/lib", "${libxnd}/lib", "${libgumath}/lib"]'
+ '';
+}
diff --git a/pkgs/development/python-modules/i3-py/default.nix b/pkgs/development/python-modules/i3-py/default.nix
index e433cd51c20..ea6e449947c 100644
--- a/pkgs/development/python-modules/i3-py/default.nix
+++ b/pkgs/development/python-modules/i3-py/default.nix
@@ -19,7 +19,7 @@ buildPythonPackage rec {
description = "Tools for i3 users and developers";
homepage = "https://github.com/ziberna/i3-py";
license = licenses.gpl3;
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/development/python-modules/ifaddr/default.nix b/pkgs/development/python-modules/ifaddr/default.nix
index db0b8301f00..5bc281d2be1 100644
--- a/pkgs/development/python-modules/ifaddr/default.nix
+++ b/pkgs/development/python-modules/ifaddr/default.nix
@@ -7,24 +7,18 @@
}:
buildPythonPackage rec {
- version = "0.1.4";
+ version = "0.1.6";
pname = "ifaddr";
src = fetchPypi {
inherit pname version;
- extension = "zip";
- sha256 = "cf2a8fbb578da2844d999a0a453825f660ed2d3fc47dcffc5f673dd8de4f0f8b";
+ sha256 = "c19c64882a7ad51a394451dabcbbed72e98b5625ec1e79789924d5ea3e3ecb93";
};
- # ipaddress is provided in python stdlib > 3.3
- postPatch = if pythonOlder "3.4" then "" else ''
- sed -i "s/'ipaddress'//" setup.py
- '';
-
propagatedBuildInputs = [ ipaddress ];
checkPhase = ''
- ${python.interpreter} ifaddr/test_ifaddr.py
+ ${python.interpreter} -m unittest discover
'';
meta = with stdenv.lib; {
diff --git a/pkgs/development/python-modules/imageio-ffmpeg/default.nix b/pkgs/development/python-modules/imageio-ffmpeg/default.nix
new file mode 100644
index 00000000000..f72698fd0d1
--- /dev/null
+++ b/pkgs/development/python-modules/imageio-ffmpeg/default.nix
@@ -0,0 +1,28 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, isPy3k
+}:
+
+buildPythonPackage rec {
+ pname = "imageio-ffmpeg";
+ version = "0.2.0";
+
+ src = fetchPypi {
+ sha256 = "191k77hd69lfmd8p4w02c2ajjdsall6zijn01gyhqi11n48wpsib";
+ inherit pname version;
+ };
+
+ disabled = !isPy3k;
+
+ # No test infrastructure in repository.
+ doCheck = false;
+
+ meta = with lib; {
+ description = "FFMPEG wrapper for Python";
+ homepage = https://github.com/imageio/imageio-ffmpeg;
+ license = licenses.bsd2;
+ maintainers = [ maintainers.pmiddend ];
+ };
+
+}
diff --git a/pkgs/development/python-modules/imageio/default.nix b/pkgs/development/python-modules/imageio/default.nix
index 9662007118d..f7b3ff63c53 100644
--- a/pkgs/development/python-modules/imageio/default.nix
+++ b/pkgs/development/python-modules/imageio/default.nix
@@ -1,11 +1,14 @@
{ stdenv
, buildPythonPackage
+, pathlib
, fetchPypi
, pillow
, psutil
+, imageio-ffmpeg
, pytest
, numpy
, isPy3k
+, ffmpeg
, futures
, enum34
}:
@@ -15,14 +18,17 @@ buildPythonPackage rec {
version = "2.5.0";
src = fetchPypi {
- sha256 = "42e65aadfc3d57a1043615c92bdf6319b67589e49a0aae2b985b82144aceacad";
+ sha256 = "1bdcrr5190jvk0msw2lswj4pbdhrcggjpj8m6q2a2mrxzjnmmrj2";
inherit pname version;
};
- checkInputs = [ pytest psutil ];
+ checkInputs = [ pytest psutil ] ++ stdenv.lib.optionals isPy3k [
+ imageio-ffmpeg ffmpeg
+ ];
propagatedBuildInputs = [ numpy pillow ] ++ stdenv.lib.optionals (!isPy3k) [
futures
enum34
+ pathlib
];
checkPhase = ''
@@ -34,8 +40,12 @@ buildPythonPackage rec {
# For some reason, importing imageio also imports xml on Nix, see
# https://github.com/imageio/imageio/issues/395
+
+ # Also, there are tests that test the downloading of ffmpeg if it's not installed.
+ # "Uncomment" those by renaming.
postPatch = ''
- substituteInPlace tests/test_meta.py --replace '"urllib",' "\"urllib\",\"xml\""
+ substituteInPlace tests/test_meta.py --replace '"urllib",' "\"urllib\",\"xml\","
+ substituteInPlace tests/test_ffmpeg.py --replace 'test_get_exe_installed' 'get_exe_installed'
'';
meta = with stdenv.lib; {
diff --git a/pkgs/development/python-modules/imread/default.nix b/pkgs/development/python-modules/imread/default.nix
index 9a67568d9e5..d65010732ca 100644
--- a/pkgs/development/python-modules/imread/default.nix
+++ b/pkgs/development/python-modules/imread/default.nix
@@ -24,7 +24,7 @@ buildPythonPackage rec {
homepage = https://imread.readthedocs.io/en/latest/;
maintainers = with maintainers; [ luispedro ];
license = licenses.mit;
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/development/python-modules/isbnlib/default.nix b/pkgs/development/python-modules/isbnlib/default.nix
index 012bab56ab6..10d57d7264b 100644
--- a/pkgs/development/python-modules/isbnlib/default.nix
+++ b/pkgs/development/python-modules/isbnlib/default.nix
@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "isbnlib";
- version = "3.9.5";
+ version = "3.9.6";
src = fetchPypi {
inherit pname version;
- sha256 = "f500a0561b83a2982d3424d640243d05bda9716f4fe9a655e331f3a07ca02710";
+ sha256 = "d4ae098cb31d6c678a6eac074a24f8ba4adfe7df65db13b0b2ab7355f28d6e3b";
};
checkInputs = [
diff --git a/pkgs/development/python-modules/koji/default.nix b/pkgs/development/python-modules/koji/default.nix
index 86e677a0337..033ab821135 100644
--- a/pkgs/development/python-modules/koji/default.nix
+++ b/pkgs/development/python-modules/koji/default.nix
@@ -25,6 +25,6 @@ buildPythonPackage rec {
meta = {
maintainers = [ ];
- platforms = stdenv.lib.platforms.linux;
+ platforms = stdenv.lib.platforms.unix;
};
}
diff --git a/pkgs/development/python-modules/libais/default.nix b/pkgs/development/python-modules/libais/default.nix
index 5261a7b6564..2fbe7207f4f 100644
--- a/pkgs/development/python-modules/libais/default.nix
+++ b/pkgs/development/python-modules/libais/default.nix
@@ -20,6 +20,6 @@ buildPythonPackage rec {
homepage = https://github.com/schwehr/libais;
description = "Library for decoding maritime Automatic Identification System messages";
license = licenses.asl20;
- platforms = platforms.linux; # It currently fails to build on darwin
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/development/python-modules/libsavitar/default.nix b/pkgs/development/python-modules/libsavitar/default.nix
index 9f78b999450..52760420b83 100644
--- a/pkgs/development/python-modules/libsavitar/default.nix
+++ b/pkgs/development/python-modules/libsavitar/default.nix
@@ -27,7 +27,7 @@ buildPythonPackage rec {
description = "C++ implementation of 3mf loading with SIP python bindings";
homepage = https://github.com/Ultimaker/libSavitar;
license = licenses.lgpl3Plus;
- platforms = platforms.linux;
+ platforms = platforms.unix;
maintainers = with maintainers; [ abbradar orivej ];
};
}
diff --git a/pkgs/development/python-modules/mahotas/default.nix b/pkgs/development/python-modules/mahotas/default.nix
index 9ba6698e4a0..34e2260109b 100644
--- a/pkgs/development/python-modules/mahotas/default.nix
+++ b/pkgs/development/python-modules/mahotas/default.nix
@@ -28,6 +28,6 @@ buildPythonPackage rec {
homepage = http://mahotas.readthedocs.io/;
maintainers = with maintainers; [ luispedro ];
license = licenses.mit;
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/development/python-modules/mezzanine/default.nix b/pkgs/development/python-modules/mezzanine/default.nix
index 1a7478b266a..a831618134b 100644
--- a/pkgs/development/python-modules/mezzanine/default.nix
+++ b/pkgs/development/python-modules/mezzanine/default.nix
@@ -64,7 +64,7 @@ buildPythonPackage rec {
downloadPage = https://github.com/stephenmcd/mezzanine/releases;
license = licenses.free;
maintainers = with maintainers; [ prikhi ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/development/python-modules/moretools/default.nix b/pkgs/development/python-modules/moretools/default.nix
index b5f5c1379bc..9cb56b1f912 100644
--- a/pkgs/development/python-modules/moretools/default.nix
+++ b/pkgs/development/python-modules/moretools/default.nix
@@ -24,6 +24,6 @@ buildPythonPackage rec {
'';
homepage = https://bitbucket.org/userzimmermann/python-moretools;
license = licenses.gpl3Plus;
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/development/python-modules/mpi4py/default.nix b/pkgs/development/python-modules/mpi4py/default.nix
index 09b05f4ab0f..d3535589911 100644
--- a/pkgs/development/python-modules/mpi4py/default.nix
+++ b/pkgs/development/python-modules/mpi4py/default.nix
@@ -13,11 +13,18 @@ buildPythonPackage rec {
inherit mpi;
};
- patches = [ (fetchpatch {
- # Disable tests failing with 3.1.x and MPI_THREAD_MULTIPLE
- url = "https://bitbucket.org/mpi4py/mpi4py/commits/c2b6b7e642a182f9b00a2b8e9db363214470548a/raw";
- sha256 = "0n6bz3kj4vcqb6q7d0mlj5vl6apn7i2bvfc9mpg59vh3wy47119q";
+ patches = [
+ (fetchpatch {
+ # Disable tests failing with 3.1.x and MPI_THREAD_MULTIPLE (upstream patch)
+ url = "https://bitbucket.org/mpi4py/mpi4py/commits/c2b6b7e642a182f9b00a2b8e9db363214470548a/raw";
+ sha256 = "0n6bz3kj4vcqb6q7d0mlj5vl6apn7i2bvfc9mpg59vh3wy47119q";
})
+ (fetchpatch {
+ # Open MPI: Workaround removal of MPI_{LB|UB} (upstream patch)
+ url = "https://bitbucket.org/mpi4py/mpi4py/commits/39ca784226460f9e519507269ebb29635dc8bd90/raw";
+ sha256 = "02kxikdlsrlq8yr5hca42536mxbrq4k4j8nqv7p1p2r0q21a919q";
+ })
+
];
postPatch = ''
diff --git a/pkgs/development/python-modules/ndtypes/default.nix b/pkgs/development/python-modules/ndtypes/default.nix
new file mode 100644
index 00000000000..2110f3628a8
--- /dev/null
+++ b/pkgs/development/python-modules/ndtypes/default.nix
@@ -0,0 +1,30 @@
+{ lib
+, buildPythonPackage
+, fetchFromGitHub
+, numpy
+, libndtypes
+, isPy27
+}:
+
+buildPythonPackage {
+ pname = "ndtypes";
+ disabled = isPy27;
+ inherit (libndtypes) version src meta;
+
+ propagatedBuildInputs = [ numpy ];
+
+ postPatch = ''
+ substituteInPlace setup.py \
+ --replace 'include_dirs = ["libndtypes"]' \
+ 'include_dirs = ["${libndtypes}/include"]' \
+ --replace 'library_dirs = ["libndtypes"]' \
+ 'library_dirs = ["${libndtypes}/lib"]' \
+ --replace 'runtime_library_dirs = ["$ORIGIN"]' \
+ 'runtime_library_dirs = ["${libndtypes}/lib"]'
+ '';
+
+ postInstall = ''
+ mkdir $out/include
+ cp python/ndtypes/*.h $out/include
+ '';
+}
diff --git a/pkgs/development/python-modules/nwdiag/default.nix b/pkgs/development/python-modules/nwdiag/default.nix
index 2b37bab525e..7fb1de53dbd 100644
--- a/pkgs/development/python-modules/nwdiag/default.nix
+++ b/pkgs/development/python-modules/nwdiag/default.nix
@@ -23,7 +23,7 @@ buildPythonPackage rec {
description = "Generate network-diagram image from spec-text file (similar to Graphviz)";
homepage = http://blockdiag.com/;
license = licenses.asl20;
- platforms = platforms.linux;
+ platforms = platforms.unix;
maintainers = with maintainers; [ bjornfor ];
};
}
diff --git a/pkgs/development/python-modules/oauth2/default.nix b/pkgs/development/python-modules/oauth2/default.nix
index e01ef7c902d..09bde0cfa7c 100644
--- a/pkgs/development/python-modules/oauth2/default.nix
+++ b/pkgs/development/python-modules/oauth2/default.nix
@@ -26,7 +26,7 @@ buildPythonPackage rec {
description = "Library for OAuth version 1.0";
license = licenses.mit;
maintainers = with maintainers; [ garbas ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/development/python-modules/openant/default.nix b/pkgs/development/python-modules/openant/default.nix
index 9b88a71c5cc..116ba717add 100644
--- a/pkgs/development/python-modules/openant/default.nix
+++ b/pkgs/development/python-modules/openant/default.nix
@@ -32,7 +32,7 @@ buildPythonPackage rec {
homepage = "https://github.com/Tigge/openant";
description = "ANT and ANT-FS Python Library";
license = licenses.mit;
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/development/python-modules/pg8000/default.nix b/pkgs/development/python-modules/pg8000/default.nix
index 5073b91f82e..5cf8341ffa3 100644
--- a/pkgs/development/python-modules/pg8000/default.nix
+++ b/pkgs/development/python-modules/pg8000/default.nix
@@ -20,7 +20,7 @@ buildPythonPackage rec {
homepage = https://github.com/mfenniak/pg8000;
description = "PostgreSQL interface library, for asyncio";
maintainers = with maintainers; [ garbas domenkozar ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/development/python-modules/plyvel/default.nix b/pkgs/development/python-modules/plyvel/default.nix
index bb0b56b1e9c..9ce01c098fd 100644
--- a/pkgs/development/python-modules/plyvel/default.nix
+++ b/pkgs/development/python-modules/plyvel/default.nix
@@ -22,7 +22,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Fast and feature-rich Python interface to LevelDB";
- platforms = platforms.linux;
+ platforms = platforms.unix;
homepage = https://github.com/wbolster/plyvel;
license = licenses.bsd3;
};
diff --git a/pkgs/development/python-modules/pychromecast/default.nix b/pkgs/development/python-modules/pychromecast/default.nix
index d7bd3eba1fe..c25b7e83634 100644
--- a/pkgs/development/python-modules/pychromecast/default.nix
+++ b/pkgs/development/python-modules/pychromecast/default.nix
@@ -18,6 +18,6 @@ buildPythonPackage rec {
homepage = https://github.com/balloob/pychromecast;
license = licenses.mit;
maintainers = with maintainers; [ abbradar ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/development/python-modules/pyhomematic/default.nix b/pkgs/development/python-modules/pyhomematic/default.nix
index ed4074d1442..5749724162e 100644
--- a/pkgs/development/python-modules/pyhomematic/default.nix
+++ b/pkgs/development/python-modules/pyhomematic/default.nix
@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "pyhomematic";
- version = "0.1.55";
+ version = "0.1.56";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "fea3238d87ad6f9a7b26c8c779e27ae7332a42e08f6cf38e9e28af97edbfc409";
+ sha256 = "ca9f222b99d80be4b7ef8a4427ab55368d14914a0516623e66d1da7563919169";
};
# PyPI tarball does not include tests/ directory
diff --git a/pkgs/development/python-modules/pyicu/default.nix b/pkgs/development/python-modules/pyicu/default.nix
index 4b984566e91..d0db3c6ed83 100644
--- a/pkgs/development/python-modules/pyicu/default.nix
+++ b/pkgs/development/python-modules/pyicu/default.nix
@@ -30,7 +30,7 @@ buildPythonPackage rec {
homepage = https://pypi.python.org/pypi/PyICU/;
description = "Python extension wrapping the ICU C++ API";
license = licenses.mit;
- platforms = platforms.linux; # Maybe other non-darwin Unix
+ platforms = platforms.unix;
maintainers = [ maintainers.rycee ];
};
diff --git a/pkgs/development/python-modules/pyinputevent/default.nix b/pkgs/development/python-modules/pyinputevent/default.nix
index 6eeeeb20c00..153b5701b26 100644
--- a/pkgs/development/python-modules/pyinputevent/default.nix
+++ b/pkgs/development/python-modules/pyinputevent/default.nix
@@ -18,7 +18,7 @@ buildPythonPackage rec {
homepage = "https://github.com/ntzrmtthihu777/pyinputevent";
description = "Python interface to the Input Subsystem's input_event and uinput";
license = licenses.bsd3;
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/development/python-modules/pyodbc/default.nix b/pkgs/development/python-modules/pyodbc/default.nix
index c0e3fb51920..428ec1d46b8 100644
--- a/pkgs/development/python-modules/pyodbc/default.nix
+++ b/pkgs/development/python-modules/pyodbc/default.nix
@@ -18,7 +18,7 @@ buildPythonPackage rec {
description = "Python ODBC module to connect to almost any database";
homepage = "https://github.com/mkleehammer/pyodbc";
license = licenses.mit;
- platforms = platforms.linux;
+ platforms = platforms.unix;
maintainers = with maintainers; [ bjornfor ];
};
}
diff --git a/pkgs/development/python-modules/pyroute2/default.nix b/pkgs/development/python-modules/pyroute2/default.nix
index 16805ac58c0..9f8103b0606 100644
--- a/pkgs/development/python-modules/pyroute2/default.nix
+++ b/pkgs/development/python-modules/pyroute2/default.nix
@@ -17,6 +17,6 @@ buildPythonPackage rec {
homepage = https://github.com/svinota/pyroute2;
license = licenses.asl20;
maintainers = [maintainers.mic92];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/development/python-modules/pyrtlsdr/default.nix b/pkgs/development/python-modules/pyrtlsdr/default.nix
index a86badb3bca..0bb24031084 100644
--- a/pkgs/development/python-modules/pyrtlsdr/default.nix
+++ b/pkgs/development/python-modules/pyrtlsdr/default.nix
@@ -41,7 +41,7 @@ buildPythonPackage rec {
description = "Python wrapper for librtlsdr (a driver for Realtek RTL2832U based SDR's)";
homepage = https://github.com/roger-/pyrtlsdr;
license = licenses.gpl3;
- platforms = platforms.linux;
+ platforms = platforms.unix;
maintainers = with maintainers; [ bjornfor ];
};
}
diff --git a/pkgs/development/python-modules/pyside/apiextractor.nix b/pkgs/development/python-modules/pyside/apiextractor.nix
index 62ff439afbb..d9168f291c0 100644
--- a/pkgs/development/python-modules/pyside/apiextractor.nix
+++ b/pkgs/development/python-modules/pyside/apiextractor.nix
@@ -19,7 +19,7 @@ in stdenv.mkDerivation {
description = "Eases the development of bindings of Qt-based libraries for high level languages by automating most of the process";
license = stdenv.lib.licenses.gpl2;
homepage = http://www.pyside.org/docs/apiextractor/;
- maintainers = [ stdenv.lib.maintainers.chaoflow ];
+ maintainers = [ ];
platforms = stdenv.lib.platforms.all;
};
}
diff --git a/pkgs/development/python-modules/pyside/default.nix b/pkgs/development/python-modules/pyside/default.nix
index e6ac4281362..fdfd1168352 100644
--- a/pkgs/development/python-modules/pyside/default.nix
+++ b/pkgs/development/python-modules/pyside/default.nix
@@ -21,7 +21,7 @@ buildPythonPackage rec {
description = "LGPL-licensed Python bindings for the Qt cross-platform application and UI framework";
license = lib.licenses.lgpl21;
homepage = http://www.pyside.org;
- maintainers = [ lib.maintainers.chaoflow ];
+ maintainers = [ ];
broken = true;
};
}
diff --git a/pkgs/development/python-modules/pyside/generatorrunner.nix b/pkgs/development/python-modules/pyside/generatorrunner.nix
index 9ad65dc76e0..0950726172d 100644
--- a/pkgs/development/python-modules/pyside/generatorrunner.nix
+++ b/pkgs/development/python-modules/pyside/generatorrunner.nix
@@ -21,7 +21,7 @@ in stdenv.mkDerivation rec {
description = "Eases the development of binding generators for C++ and Qt-based libraries by providing a framework to help automating most of the process";
license = stdenv.lib.licenses.gpl2;
homepage = http://www.pyside.org/docs/generatorrunner/;
- maintainers = [ stdenv.lib.maintainers.chaoflow ];
+ maintainers = [ ];
platforms = stdenv.lib.platforms.all;
};
}
diff --git a/pkgs/development/python-modules/pyside/shiboken.nix b/pkgs/development/python-modules/pyside/shiboken.nix
index 2bf1c4468dd..42ad55ad0b9 100644
--- a/pkgs/development/python-modules/pyside/shiboken.nix
+++ b/pkgs/development/python-modules/pyside/shiboken.nix
@@ -33,7 +33,7 @@ buildPythonPackage rec {
description = "Plugin (front-end) for pyside-generatorrunner, that generates bindings for C++ libraries using CPython source code";
license = lib.licenses.gpl2;
homepage = http://www.pyside.org/docs/shiboken/;
- maintainers = [ lib.maintainers.chaoflow ];
+ maintainers = [ ];
platforms = lib.platforms.all;
};
}
diff --git a/pkgs/development/python-modules/pyside/tools.nix b/pkgs/development/python-modules/pyside/tools.nix
index a56899f8d0b..abb0bdebd5d 100644
--- a/pkgs/development/python-modules/pyside/tools.nix
+++ b/pkgs/development/python-modules/pyside/tools.nix
@@ -19,7 +19,7 @@ buildPythonPackage rec {
description = "Tools for pyside, the LGPL-licensed Python bindings for the Qt cross-platform application and UI framework";
license = lib.licenses.gpl2;
homepage = http://www.pyside.org;
- maintainers = [ lib.maintainers.chaoflow ];
+ maintainers = [ ];
platforms = lib.platforms.all;
};
}
diff --git a/pkgs/development/python-modules/pytest-httpbin/default.nix b/pkgs/development/python-modules/pytest-httpbin/default.nix
index e0be487e86d..6d84ef0de7d 100644
--- a/pkgs/development/python-modules/pytest-httpbin/default.nix
+++ b/pkgs/development/python-modules/pytest-httpbin/default.nix
@@ -1,28 +1,23 @@
{ buildPythonPackage
, lib
-, fetchFromGitHub
+, fetchPypi
, pytest
-, flask
-, decorator
, httpbin
, six
-, requests
}:
buildPythonPackage rec {
pname = "pytest-httpbin";
- version = "0.3.0";
+ version = "1.0.0";
- src = fetchFromGitHub {
- owner = "kevin1024";
- repo = "pytest-httpbin";
- rev = "v${version}";
- sha256 = "0p86ljx775gxxicscs1dydmmx92r1g9bs00vdvxrsl3qdll1ksfm";
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "0wlvw5qgkax7f0i5ks1562s37h2hdmn5yxnp1rajcc2289zm9knq";
};
checkInputs = [ pytest ];
- propagatedBuildInputs = [ flask decorator httpbin six requests ];
+ propagatedBuildInputs = [ httpbin six ];
checkPhase = ''
py.test
diff --git a/pkgs/development/python-modules/quamash/default.nix b/pkgs/development/python-modules/quamash/default.nix
new file mode 100644
index 00000000000..b39e081c471
--- /dev/null
+++ b/pkgs/development/python-modules/quamash/default.nix
@@ -0,0 +1,30 @@
+{ lib, buildPythonPackage, fetchFromGitHub, pytest, isPy3k, pyqt5, pyqt ? pyqt5 }:
+
+buildPythonPackage rec {
+ pname = "quamash";
+ version = "0.6.1";
+
+ disabled = !isPy3k;
+
+ # No tests in PyPi tarball
+ src = fetchFromGitHub {
+ owner = "harvimt";
+ repo = "quamash";
+ rev = "version-${version}";
+ sha256 = "117rp9r4lz0kfz4dmmpa35hp6nhbh6b4xq0jmgvqm68g9hwdxmqa";
+ };
+
+ propagatedBuildInputs = [ pyqt ];
+
+ checkInputs = [ pytest ];
+ checkPhase = ''
+ pytest -k 'test_qthreadexec.py' # the others cause the test execution to be aborted, I think because of asyncio
+ '';
+
+ meta = with lib; {
+ description = "Implementation of the PEP 3156 event-loop (asyncio) api using the Qt Event-Loop";
+ homepage = https://github.com/harvimt/quamash;
+ license = licenses.bsd2;
+ maintainers = with maintainers; [ borisbabic ];
+ };
+}
diff --git a/pkgs/development/python-modules/rpy2/default.nix b/pkgs/development/python-modules/rpy2/default.nix
index dfbcdec858a..7ff5b0343ea 100644
--- a/pkgs/development/python-modules/rpy2/default.nix
+++ b/pkgs/development/python-modules/rpy2/default.nix
@@ -98,7 +98,7 @@ buildPythonPackage rec {
homepage = http://rpy.sourceforge.net/rpy2;
description = "Python interface to R";
license = lib.licenses.gpl2Plus;
- platforms = lib.platforms.linux;
+ platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ joelmo ];
};
}
diff --git a/pkgs/development/python-modules/scapy/default.nix b/pkgs/development/python-modules/scapy/default.nix
index 18dd6e58f5c..7ca3fc0f94b 100644
--- a/pkgs/development/python-modules/scapy/default.nix
+++ b/pkgs/development/python-modules/scapy/default.nix
@@ -50,7 +50,7 @@ buildPythonPackage rec {
description = "Powerful interactive network packet manipulation program";
homepage = https://scapy.net/;
license = licenses.gpl2;
- platforms = platforms.linux;
+ platforms = platforms.unix;
maintainers = with maintainers; [ primeos bjornfor ];
};
}
diff --git a/pkgs/development/python-modules/seqdiag/default.nix b/pkgs/development/python-modules/seqdiag/default.nix
index d3c6006bc6c..158d9a054df 100644
--- a/pkgs/development/python-modules/seqdiag/default.nix
+++ b/pkgs/development/python-modules/seqdiag/default.nix
@@ -25,7 +25,7 @@ buildPythonPackage rec {
description = "Generate sequence-diagram image from spec-text file (similar to Graphviz)";
homepage = http://blockdiag.com/;
license = licenses.asl20;
- platforms = platforms.linux;
+ platforms = platforms.unix;
maintainers = with maintainers; [ bjornfor ];
};
}
diff --git a/pkgs/development/python-modules/sparse/default.nix b/pkgs/development/python-modules/sparse/default.nix
new file mode 100644
index 00000000000..d3d78620a3d
--- /dev/null
+++ b/pkgs/development/python-modules/sparse/default.nix
@@ -0,0 +1,36 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, numpy
+, scipy
+, numba
+, pytest
+}:
+
+buildPythonPackage rec {
+ pname = "sparse";
+ version = "0.6.0";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "2ac6fcbf68b38b999eae98467cf4880b942c13a72036868f78d65a10aeba808d";
+ };
+
+ checkInputs = [ pytest ];
+ propagatedBuildInputs = [
+ numpy
+ scipy
+ numba
+ ];
+
+ checkPhase = ''
+ pytest sparse
+ '';
+
+ meta = with lib; {
+ description = "Sparse n-dimensional arrays computations";
+ homepage = https://github.com/pydata/sparse/;
+ license = licenses.bsd3;
+ maintainers = [ maintainers.costrouc ];
+ };
+}
diff --git a/pkgs/development/python-modules/toposort/default.nix b/pkgs/development/python-modules/toposort/default.nix
index 3fcb118ac2a..dd1156f4355 100644
--- a/pkgs/development/python-modules/toposort/default.nix
+++ b/pkgs/development/python-modules/toposort/default.nix
@@ -16,7 +16,7 @@ buildPythonPackage rec {
description = "A topological sort algorithm";
homepage = https://pypi.python.org/pypi/toposort/1.1;
maintainers = with maintainers; [ tstrobel ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
license = licenses.asl20;
};
diff --git a/pkgs/development/python-modules/vega/default.nix b/pkgs/development/python-modules/vega/default.nix
index 09106e3a6d4..9a589ccf1f8 100644
--- a/pkgs/development/python-modules/vega/default.nix
+++ b/pkgs/development/python-modules/vega/default.nix
@@ -24,6 +24,6 @@ buildPythonPackage rec {
homepage = https://github.com/vega/ipyvega;
license = licenses.bsd3;
maintainers = with maintainers; [ teh ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/development/python-modules/xnd/default.nix b/pkgs/development/python-modules/xnd/default.nix
new file mode 100644
index 00000000000..8ffb8f96936
--- /dev/null
+++ b/pkgs/development/python-modules/xnd/default.nix
@@ -0,0 +1,31 @@
+{ lib
+, buildPythonPackage
+, fetchFromGitHub
+, ndtypes
+, libndtypes
+, libxnd
+, isPy27
+}:
+
+buildPythonPackage {
+ pname = "xnd";
+ disabled = isPy27;
+ inherit (libxnd) version src meta;
+
+ propagatedBuildInputs = [ ndtypes ];
+
+ postPatch = ''
+ substituteInPlace setup.py \
+ --replace 'include_dirs = ["libxnd", "ndtypes/python/ndtypes"] + INCLUDES' \
+ 'include_dirs = ["${libndtypes}/include", "${ndtypes}/include", "${libxnd}/include"]' \
+ --replace 'library_dirs = ["libxnd", "ndtypes/libndtypes"] + LIBS' \
+ 'library_dirs = ["${libndtypes}/lib", "${libxnd}/lib"]' \
+ --replace 'runtime_library_dirs = ["$ORIGIN"]' \
+ 'runtime_library_dirs = ["${libndtypes}/lib", "${libxnd}/lib"]' \
+ '';
+
+ postInstall = ''
+ mkdir $out/include
+ cp python/xnd/*.h $out/include
+ '';
+}
diff --git a/pkgs/development/python-modules/zetup/default.nix b/pkgs/development/python-modules/zetup/default.nix
index 99d05a35963..5772308f967 100644
--- a/pkgs/development/python-modules/zetup/default.nix
+++ b/pkgs/development/python-modules/zetup/default.nix
@@ -24,6 +24,6 @@ buildPythonPackage rec {
'';
homepage = https://github.com/zimmermanncode/zetup;
license = licenses.gpl3Plus;
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/development/tools/analysis/egypt/default.nix b/pkgs/development/tools/analysis/egypt/default.nix
index defc39a9f74..7db46005f45 100644
--- a/pkgs/development/tools/analysis/egypt/default.nix
+++ b/pkgs/development/tools/analysis/egypt/default.nix
@@ -27,6 +27,6 @@ perlPackages.buildPerlPackage rec {
'';
homepage = http://www.gson.org/egypt/;
license = with licenses; [ artistic1 gpl1Plus ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/development/tools/analysis/pmd/default.nix b/pkgs/development/tools/analysis/pmd/default.nix
index e60729dc8b9..97140d10ca2 100644
--- a/pkgs/development/tools/analysis/pmd/default.nix
+++ b/pkgs/development/tools/analysis/pmd/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
name = "pmd-${version}";
- version = "6.10.0";
+ version = "6.11.0";
buildInputs = [ unzip ];
src = fetchurl {
url = "mirror://sourceforge/pmd/pmd-bin-${version}.zip";
- sha256 = "1yzgin2lbhfswb07mm14wq8rn129kpfjidd8nv9pg77ywhnbwqmb";
+ sha256 = "0mg32bnl6j4p15akdhfc0wgilqvyphcgjimlaqq3jz51dmlr9scb";
};
installPhase = ''
diff --git a/pkgs/development/tools/analysis/radare2/default.nix b/pkgs/development/tools/analysis/radare2/default.nix
index 68931773f04..f88dc3f6d33 100644
--- a/pkgs/development/tools/analysis/radare2/default.nix
+++ b/pkgs/development/tools/analysis/radare2/default.nix
@@ -29,7 +29,7 @@ let
rev,
version,
sha256,
- cs_tip,
+ cs_ver,
cs_sha256
}:
stdenv.mkDerivation rec {
@@ -46,15 +46,21 @@ let
owner = "aquynh";
repo = "capstone";
# version from $sourceRoot/shlr/Makefile
- rev = cs_tip;
+ rev = cs_ver;
sha256 = cs_sha256;
};
in ''
- if ! grep -F "CS_TIP=${cs_tip}" shlr/Makefile; then echo "CS_TIP mismatch"; exit 1; fi
- # When using meson, it expects capstone source relative to build directory
mkdir -p build/shlr
- cp -r ${capstone} shlr/capstone
- chmod -R +w shlr/capstone
+ cp -r ${capstone} capstone-${cs_ver}
+ chmod -R +w capstone-${cs_ver}
+ # radare 3.3 compat for radare2-cutter
+ (cd shlr && ln -s ../capstone-${cs_ver} capstone)
+ tar -czvf shlr/capstone-${cs_ver}.tar.gz capstone-${cs_ver}
+ # necessary because they broke the offline-build:
+ # https://github.com/radare/radare2/commit/6290e4ff4cc167e1f2c28ab924e9b99783fb1b38#diff-a44d840c10f1f1feaf401917ae4ccd54R258
+ # https://github.com/radare/radare2/issues/13087#issuecomment-465159716
+ curl() { true; }
+ export -f curl
'';
postInstall = ''
@@ -104,23 +110,23 @@ in {
#
# DO NOT EDIT! Automatically generated by ./update.py
radare2 = generic {
- version_commit = "20591";
- gittap = "3.2.1";
- gittip = "25913f4745cb3b635d52f1aafc4d8ff2aad3988a";
- rev = "3.2.1";
- version = "3.2.1";
- sha256 = "1c4zj96386sc9lvfcsdh9lhyh0rvv4zzfr6218gvjkg9fy6cc91y";
- cs_tip = "0ff8220adef16a942697afd245afc5ab0f70cbf8";
- cs_sha256 = "1ak8ysgivq28d23r77881p0z5v65jhpap5plm10p9j3y2x00n3zn";
+ version_commit = "20942";
+ gittap = "3.3.0";
+ gittip = "5a9127d2599c8ff61d8544be7d4c9384402e94a3";
+ rev = "3.3.0";
+ version = "3.3.0";
+ sha256 = "11ap3icr8w0y49lq5dxch2h589qdmwf3qv9lsdyfsz4l0mjm49ri";
+ cs_ver = "4.0.1";
+ cs_sha256 = "0ijwxxk71nr9z91yxw20zfj4bbsbrgvixps5c7cpj163xlzlwba6";
};
r2-for-cutter = generic {
- version_commit = "20591";
+ version_commit = "20942";
gittap = "2.9.0-310-gcb62c376b";
gittip = "cb62c376bef6c7427019a7c28910c33c364436dd";
rev = "cb62c376bef6c7427019a7c28910c33c364436dd";
version = "2018-10-07";
sha256 = "0z4nr1d2ca8ibq34441j15pj22wh46brcbr00j5hcqvn8y2lh96l";
- cs_tip = "e2c1cd46c06744beaceff42dd882de3a90f0a37c";
+ cs_ver = "e2c1cd46c06744beaceff42dd882de3a90f0a37c";
cs_sha256 = "1czzqj8zdjgh7h2ixi26ij3mm4bgm4xw2slin6fv73nic8yaw722";
};
#
diff --git a/pkgs/development/tools/analysis/radare2/update.py b/pkgs/development/tools/analysis/radare2/update.py
index 684d70bc0bc..794581bca7a 100755
--- a/pkgs/development/tools/analysis/radare2/update.py
+++ b/pkgs/development/tools/analysis/radare2/update.py
@@ -61,15 +61,15 @@ def git(dirname: str, *args: str) -> str:
def get_repo_info(dirname: str, rev: str) -> Dict[str, str]:
sha256 = prefetch_github("radare", "radare2", rev)
- cs_tip = None
+ cs_ver = None
with open(Path(dirname).joinpath("shlr", "Makefile")) as makefile:
for l in makefile:
- match = re.match("CS_TIP=(\S+)", l)
+ match = re.match("CS_VER=(\S+)", l)
if match:
- cs_tip = match.group(1)
- assert cs_tip is not None
+ cs_ver = match.group(1)
+ assert cs_ver is not None
- cs_sha256 = prefetch_github("aquynh", "capstone", cs_tip)
+ cs_sha256 = prefetch_github("aquynh", "capstone", cs_ver)
return dict(
rev=rev,
@@ -77,7 +77,7 @@ def get_repo_info(dirname: str, rev: str) -> Dict[str, str]:
version_commit=git(dirname, "rev-list", "--all", "--count"),
gittap=git(dirname, "describe", "--tags", "--match", "[0-9]*"),
gittip=git(dirname, "rev-parse", "HEAD"),
- cs_tip=cs_tip,
+ cs_ver=cs_ver,
cs_sha256=cs_sha256,
)
@@ -90,7 +90,7 @@ def write_package_expr(version: str, info: Dict[str, str]) -> str:
rev = "{info["rev"]}";
version = "{version}";
sha256 = "{info["sha256"]}";
- cs_tip = "{info["cs_tip"]}";
+ cs_ver = "{info["cs_ver"]}";
cs_sha256 = "{info["cs_sha256"]}";
}}"""
diff --git a/pkgs/development/tools/bazel-watcher/default.nix b/pkgs/development/tools/bazel-watcher/default.nix
index 5bb1825d035..c75a053acb2 100644
--- a/pkgs/development/tools/bazel-watcher/default.nix
+++ b/pkgs/development/tools/bazel-watcher/default.nix
@@ -10,13 +10,13 @@
buildBazelPackage rec {
name = "bazel-watcher-${version}";
- version = "0.9.0";
+ version = "0.9.1";
src = fetchFromGitHub {
owner = "bazelbuild";
repo = "bazel-watcher";
rev = "v${version}";
- sha256 = "0yphks1qlp3xcbq5mg95lxrhl3q8pza5g3f9i2j6y7dsfz0s0l4v";
+ sha256 = "1gjbv67ydyb0mafpp59qr9n8f8vva2mwhgan6lxxl0i9yfx7qc6p";
};
nativeBuildInputs = [ go git python ];
@@ -49,7 +49,7 @@ buildBazelPackage rec {
sed -e '/^FILE:@bazel_gazelle_go_repository_tools.*/d' -i $bazelOut/external/\@*.marker
'';
- sha256 = "14k1cpw4h78c2gk294xzq9a9nv09yabdrahbzgin8xizbgdxn1q8";
+ sha256 = "0p6yarz4wlb6h33n4slkczkdkaa93zc9jx55h8wl9vv81ahp0md5";
};
buildAttrs = {
diff --git a/pkgs/development/tools/build-managers/dub/default.nix b/pkgs/development/tools/build-managers/dub/default.nix
index 18c6eff76e1..024c57201e1 100644
--- a/pkgs/development/tools/build-managers/dub/default.nix
+++ b/pkgs/development/tools/build-managers/dub/default.nix
@@ -1,109 +1,76 @@
{ stdenv, fetchFromGitHub, curl, dmd, libevent, rsync }:
-let
+stdenv.mkDerivation rec {
+ name = "dub-${version}";
+ version = "1.13.0";
- dubBuild = stdenv.mkDerivation rec {
- name = "dubBuild-${version}";
- version = "1.13.0";
+ enableParallelBuilding = true;
- enableParallelBuilding = true;
-
- src = fetchFromGitHub {
- owner = "dlang";
- repo = "dub";
- rev = "v${version}";
- sha256 = "1wd5pdnbaafj33bbg188w0iz28ps4cyjangb12g2s9dyic29zjqv";
- };
-
- postUnpack = ''
- patchShebangs .
- '';
-
- # Can be removed with https://github.com/dlang/dub/pull/1368
- dubvar = "\\$DUB";
- postPatch = ''
- substituteInPlace test/fetchzip.sh \
- --replace "dub remove" "\"${dubvar}\" remove"
- '';
-
- nativeBuildInputs = [ dmd libevent rsync ];
- buildInputs = [ curl ];
-
- buildPhase = ''
- export DMD=${dmd.out}/bin/dmd
- ./build.sh
- '';
-
- installPhase = ''
- mkdir $out
- mkdir $out/bin
- cp bin/dub $out/bin
- '';
-
- meta = with stdenv.lib; {
- description = "Package and build manager for D applications and libraries";
- homepage = http://code.dlang.org/;
- license = licenses.mit;
- maintainers = with maintainers; [ ThomasMader ];
- platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ];
- };
+ src = fetchFromGitHub {
+ owner = "dlang";
+ repo = "dub";
+ rev = "v${version}";
+ sha256 = "1wd5pdnbaafj33bbg188w0iz28ps4cyjangb12g2s9dyic29zjqv";
};
- # Need to test in a fixed-output derivation, otherwise the
- # network tests would fail if sandbox mode is enabled.
- # Disable tests on Darwin for now because they don't work
- # reliably there.
- dubUnittests = if !stdenv.hostPlatform.isDarwin then
- stdenv.mkDerivation rec {
- name = "dubUnittests-${version}";
- version = dubBuild.version;
+ postUnpack = ''
+ patchShebangs .
+ '';
- enableParallelBuilding = dubBuild.enableParallelBuilding;
- preferLocalBuild = true;
- inputString = dubBuild.outPath;
- outputHashAlgo = "sha256";
- outputHash = builtins.hashString "sha256" inputString;
+ # Can be removed with https://github.com/dlang/dub/pull/1368
+ dubvar = "\\$DUB";
+ postPatch = ''
+ substituteInPlace test/fetchzip.sh \
+ --replace "dub remove" "\"${dubvar}\" remove"
+ '';
- src = dubBuild.src;
-
- postUnpack = dubBuild.postUnpack;
- postPatch = dubBuild.postPatch;
+ nativeBuildInputs = [ dmd libevent rsync ];
+ buildInputs = [ curl ];
- nativeBuildInputs = dubBuild.nativeBuildInputs;
- buildInputs = dubBuild.buildInputs;
+ buildPhase = ''
+ export DMD=${dmd.out}/bin/dmd
+ ./build.sh
+ '';
- buildPhase = ''
- # Can't use dub from dubBuild directly because one unittest
- # (issue895-local-configuration) needs to generate a config
- # file under ../etc relative to the dub location.
- cp ${dubBuild}/bin/dub bin/
- export DUB=$NIX_BUILD_TOP/source/bin/dub
- export PATH=$PATH:$NIX_BUILD_TOP/source/bin/
- export DC=${dmd.out}/bin/dmd
- export HOME=$TMP
- ./test/run-unittest.sh
- '';
+ doCheck = true;
- installPhase = ''
- echo -n $inputString > $out
- '';
- }
- else
- "";
+ checkPhase = ''
+ export DUB=$NIX_BUILD_TOP/source/bin/dub
+ export PATH=$PATH:$NIX_BUILD_TOP/source/bin/
+ export DC=${dmd.out}/bin/dmd
+ export HOME=$TMP
-in
+ rm -rf test/issue502-root-import
+ rm test/issue990-download-optional-selected.sh
+ rm test/timeout.sh
+ rm test/issue674-concurrent-dub.sh
+ rm test/issue672-upgrade-optional.sh
+ rm test/issue1574-addcommand.sh
+ rm test/issue1524-maven-upgrade-dependency-tree.sh
+ rm test/issue1416-maven-repo-pkg-supplier.sh
+ rm test/issue1037-better-dependency-messages.sh
+ rm test/interactive-remove.sh
+ rm test/fetchzip.sh
+ rm test/feat663-search.sh
+ rm test/ddox.sh
+ rm test/0-init-multi.sh
+ rm test/0-init-multi-json.sh
-stdenv.mkDerivation rec {
- inherit dubUnittests;
- name = "dub-${dubBuild.version}";
- phases = "installPhase";
- buildInputs = dubBuild.buildInputs;
+ ./test/run-unittest.sh
+ '';
installPhase = ''
mkdir $out
- cp -r --symbolic-link ${dubBuild}/* $out/
+ mkdir $out/bin
+ cp bin/dub $out/bin
'';
- meta = dubBuild.meta;
+ meta = with stdenv.lib; {
+ description = "Package and build manager for D applications and libraries";
+ homepage = http://code.dlang.org/;
+ license = licenses.mit;
+ maintainers = with maintainers; [ ThomasMader ];
+ platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ];
+ };
}
diff --git a/pkgs/development/tools/clog-cli/default.nix b/pkgs/development/tools/clog-cli/default.nix
index 1cd8f7757f9..0e21164482a 100644
--- a/pkgs/development/tools/clog-cli/default.nix
+++ b/pkgs/development/tools/clog-cli/default.nix
@@ -19,7 +19,7 @@ buildRustPackage rec {
description = "Generate changelogs from local git metadata";
homepage = https://github.com/clog-tool/clog-cli;
license = stdenv.lib.licenses.mit;
- platforms = stdenv.lib.platforms.linux;
+ platforms = stdenv.lib.platforms.unix;
maintainers = [stdenv.lib.maintainers.nthorne];
};
}
diff --git a/pkgs/development/tools/database/timescaledb-parallel-copy/default.nix b/pkgs/development/tools/database/timescaledb-parallel-copy/default.nix
index d667e49e7cb..e559f714bd1 100644
--- a/pkgs/development/tools/database/timescaledb-parallel-copy/default.nix
+++ b/pkgs/development/tools/database/timescaledb-parallel-copy/default.nix
@@ -20,7 +20,7 @@ buildGoPackage rec {
description = "Bulk, parallel insert of CSV records into PostgreSQL";
homepage = http://github.com/timescale/timescaledb-parallel-copy;
license = licenses.asl20;
- platforms = platforms.linux;
+ platforms = platforms.unix;
maintainers = with maintainers; [ thoughtpolice ];
};
}
diff --git a/pkgs/development/tools/deis/default.nix b/pkgs/development/tools/deis/default.nix
index 91037e6dfaa..d0bb744f124 100644
--- a/pkgs/development/tools/deis/default.nix
+++ b/pkgs/development/tools/deis/default.nix
@@ -29,7 +29,7 @@ buildGoPackage rec {
homepage = https://deis.io;
description = "A command line utility used to interact with the Deis open source PaaS.";
license = licenses.asl20;
- platforms = platforms.linux;
+ platforms = platforms.unix;
maintainers = with maintainers; [
jgeerds
];
diff --git a/pkgs/development/tools/deisctl/default.nix b/pkgs/development/tools/deisctl/default.nix
index 3f818ea7be6..b8f49c863e4 100644
--- a/pkgs/development/tools/deisctl/default.nix
+++ b/pkgs/development/tools/deisctl/default.nix
@@ -23,7 +23,7 @@ buildGoPackage rec {
homepage = https://deis.io;
description = "A command-line utility used to provision and operate a Deis cluster.";
license = licenses.asl20;
- platforms = platforms.linux;
+ platforms = platforms.unix;
maintainers = with maintainers; [
jgeerds
];
diff --git a/pkgs/development/tools/dive/default.nix b/pkgs/development/tools/dive/default.nix
index c9332163809..f50191d7dad 100644
--- a/pkgs/development/tools/dive/default.nix
+++ b/pkgs/development/tools/dive/default.nix
@@ -2,7 +2,7 @@
buildGoPackage rec {
pname = "dive";
- version = "0.5.0";
+ version = "0.6.0";
goPackagePath = "github.com/wagoodman/dive";
@@ -10,7 +10,7 @@ buildGoPackage rec {
owner = "wagoodman";
repo = "dive";
rev = "v${version}";
- sha256 = "159m36p7b0ygdp42qdmmz02rhrkymh8m6yl21m1ixd4c2pjkjhns";
+ sha256 = "05n19a5q1yi8r6r72z634z93lz2i347zccs9qm7gx5h86nh147zd";
};
goDeps = ./deps.nix;
@@ -21,6 +21,6 @@ buildGoPackage rec {
description = "A tool for exploring each layer in a docker image";
homepage = https://github.com/wagoodman/dive;
license = licenses.mit;
- maintainers = [ maintainers.marsam ];
+ maintainers = with maintainers; [ marsam spacekookie ];
};
}
diff --git a/pkgs/development/tools/dive/deps.nix b/pkgs/development/tools/dive/deps.nix
index c140b2ae774..99fe79c1814 100644
--- a/pkgs/development/tools/dive/deps.nix
+++ b/pkgs/development/tools/dive/deps.nix
@@ -709,4 +709,24 @@
sha256 = "0rinkyx3r2bq45mgcasnn5jb07cwbv3p3s2wwcrzxsarsj6wa5lc";
};
}
+
+ {
+ goPackagePath = "github.com/logrusorgru/aurora";
+ fetch = {
+ type = "git";
+ url = "https://github.com/logrusorgru/aurora";
+ rev = "a7b3b318ed4e";
+ sha256 = "1dldc270z42zm2d377ks7sa5059janjcjhv3inza3rjvapknsrcb";
+ };
+ }
+
+ {
+ goPackagePath = "github.com/wagoodman/keybinding";
+ fetch = {
+ type = "git";
+ url = "https://github.com/wagoodman/keybinding";
+ rev = "6a824da6df05";
+ sha256 = "0f59idv5xia7w53363ym0qywvp0aas2kmk93rnndf2s7cs2f1d3l";
+ };
+ }
]
diff --git a/pkgs/development/tools/dtools/default.nix b/pkgs/development/tools/dtools/default.nix
index ccfcfaace01..593287dbf21 100644
--- a/pkgs/development/tools/dtools/default.nix
+++ b/pkgs/development/tools/dtools/default.nix
@@ -2,14 +2,14 @@
stdenv.mkDerivation rec {
name = "dtools-${version}";
- version = "2.084.0";
+ version = "2.084.1";
srcs = [
(fetchFromGitHub {
owner = "dlang";
repo = "dmd";
rev = "v${version}";
- sha256 = "1v61spdamncl8c1bzjc19b03p4jl0ih5zq9b7cqsy9ix7qaxmikf";
+ sha256 = "10ll5072rkv3ln7i5l88h2f9mzda567kw2jwh6466vm6ylzl4jms";
name = "dmd";
})
(fetchFromGitHub {
@@ -26,6 +26,8 @@ stdenv.mkDerivation rec {
postUnpack = ''
mv dmd dtools
cd dtools
+
+ substituteInPlace posix.mak --replace "\$(DMD) \$(DFLAGS) -unittest -main -run rdmd.d" ""
'';
nativeBuildInputs = [ dmd ];
diff --git a/pkgs/development/tools/go-protobuf/default.nix b/pkgs/development/tools/go-protobuf/default.nix
index 361fc74c729..750df126e94 100644
--- a/pkgs/development/tools/go-protobuf/default.nix
+++ b/pkgs/development/tools/go-protobuf/default.nix
@@ -19,6 +19,6 @@ buildGoPackage rec {
description = " Go bindings for protocol buffer";
maintainers = with maintainers; [ lewo ];
license = licenses.bsd3;
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/development/tools/icestorm/default.nix b/pkgs/development/tools/icestorm/default.nix
index 5cec122950f..b149703241e 100644
--- a/pkgs/development/tools/icestorm/default.nix
+++ b/pkgs/development/tools/icestorm/default.nix
@@ -11,13 +11,13 @@ in
stdenv.mkDerivation rec {
name = "icestorm-${version}";
- version = "2018.12.31";
+ version = "2019.02.23";
src = fetchFromGitHub {
owner = "cliffordwolf";
repo = "icestorm";
- rev = "c0cbae88ab47a3879aacf80d53b6a85710682a6b";
- sha256 = "0bqm0rpywm64yvbq75klpyzb1g9sdsp1kvdlyqg4hvm8jw9w8lya";
+ rev = "3a2bfee5cbc0558641668114260d3f644d6b7c83";
+ sha256 = "1avc9b6w3xbmpq4y4lf9b5mym6aygh5hngzyasa9jyj0cx8mxcpf";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/development/tools/jbake/default.nix b/pkgs/development/tools/jbake/default.nix
index 1a421cc47ed..dbda476171a 100644
--- a/pkgs/development/tools/jbake/default.nix
+++ b/pkgs/development/tools/jbake/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchzip, makeWrapper, jre }:
stdenv.mkDerivation rec {
- version = "2.6.3";
+ version = "2.6.4";
name = "jbake-${version}";
src = fetchzip {
url = "https://dl.bintray.com/jbake/binary/${name}-bin.zip";
- sha256 = "000ax5vzirrhiykk86fmy4hibhl3pab0gkh5y35hiwhzhw5rwzk8";
+ sha256 = "0zgp0wwxxmi13v5q5jvr610igx2vxg0bwck9j1imnn9ciakg1aaw";
};
buildInputs = [ makeWrapper jre ];
diff --git a/pkgs/development/tools/leaps/default.nix b/pkgs/development/tools/leaps/default.nix
index afac17b5251..be964cf4d30 100644
--- a/pkgs/development/tools/leaps/default.nix
+++ b/pkgs/development/tools/leaps/default.nix
@@ -20,7 +20,7 @@ buildGoPackage rec {
homepage = https://github.com/jeffail/leaps/;
license = "MIT";
maintainers = with stdenv.lib.maintainers; [ qknight ];
- platforms = stdenv.lib.platforms.linux;
+ platforms = stdenv.lib.platforms.unix;
};
}
diff --git a/pkgs/development/tools/misc/circleci-cli/default.nix b/pkgs/development/tools/misc/circleci-cli/default.nix
index 97cf820f9a9..daf39318432 100644
--- a/pkgs/development/tools/misc/circleci-cli/default.nix
+++ b/pkgs/development/tools/misc/circleci-cli/default.nix
@@ -25,7 +25,7 @@ buildGoPackage rec {
run jobs as if they were running on the hosted CirleCI application.
'';
maintainers = with maintainers; [ synthetica ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
license = licenses.mit;
homepage = https://circleci.com/;
};
diff --git a/pkgs/development/tools/misc/loccount/default.nix b/pkgs/development/tools/misc/loccount/default.nix
index 017c6ad8049..240d52ca7d0 100644
--- a/pkgs/development/tools/misc/loccount/default.nix
+++ b/pkgs/development/tools/misc/loccount/default.nix
@@ -30,6 +30,6 @@ buildGoPackage rec {
downloadPage="https://gitlab.com/esr/loccount/tree/master";
license = licenses.bsd2;
maintainers = with maintainers; [ calvertvl ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/development/tools/ocaml/utop/default.nix b/pkgs/development/tools/ocaml/utop/default.nix
index be6bb73aab8..d9e563952ea 100644
--- a/pkgs/development/tools/ocaml/utop/default.nix
+++ b/pkgs/development/tools/ocaml/utop/default.nix
@@ -2,7 +2,7 @@
, lambdaTerm, cppo, makeWrapper
}:
-if !stdenv.lib.versionAtLeast ocaml.version "4.02"
+if !stdenv.lib.versionAtLeast ocaml.version "4.03"
then throw "utop is not available for OCaml ${ocaml.version}"
else
diff --git a/pkgs/development/tools/react-native-debugger/default.nix b/pkgs/development/tools/react-native-debugger/default.nix
index 3bba4237cf8..9416b9e4f3e 100644
--- a/pkgs/development/tools/react-native-debugger/default.nix
+++ b/pkgs/development/tools/react-native-debugger/default.nix
@@ -38,11 +38,11 @@ let
];
in stdenv.mkDerivation rec {
name = "react-native-debugger-${version}";
- version = "0.8.1";
+ version = "0.8.2";
src = fetchurl {
url = "https://github.com/jhen0409/react-native-debugger/releases/download/v${version}/rn-debugger-linux-x64.zip";
- sha256 = "180rvcnr3xxg7nb5g4b45l9a67h2dx8ps0l05r6ph3f71kzh4dd9";
+ sha256 = "0ljhpqanl9rjk9n69if1vrfvac0s73f8by0k6sa4ngvgqzgvq3kb";
};
buildInputs = [ unzip ];
diff --git a/pkgs/development/tools/skaffold/default.nix b/pkgs/development/tools/skaffold/default.nix
index 11de0bec425..2e9093bfae6 100644
--- a/pkgs/development/tools/skaffold/default.nix
+++ b/pkgs/development/tools/skaffold/default.nix
@@ -2,9 +2,9 @@
buildGoPackage rec {
name = "skaffold-${version}";
- version = "0.19.0";
- # rev is the 0.19.0 commit, mainly for skaffold version command output
- rev = "9eb0dfc1bf634b97462c66b4dfb80e4cea378ade";
+ version = "0.21.1";
+ # rev is the 0.21.1 commit, mainly for skaffold version command output
+ rev = "a73671cb547a80d3437f78d046bc500269673ea3";
goPackagePath = "github.com/GoogleContainerTools/skaffold";
subPackages = ["cmd/skaffold"];
@@ -20,7 +20,7 @@ buildGoPackage rec {
owner = "GoogleContainerTools";
repo = "skaffold";
rev = "v${version}";
- sha256 = "0s7dyfdmgslwnmbkzyqvf2622gj5d7vx9igwz3bf6dpaz382mk6h";
+ sha256 = "0n4gqri4rmah1brckj9d4vidm6faabvwfy5smhpl3f6flyv3slsy";
};
meta = {
diff --git a/pkgs/development/tools/trellis/default.nix b/pkgs/development/tools/trellis/default.nix
index 966c50404d4..eeef99991db 100644
--- a/pkgs/development/tools/trellis/default.nix
+++ b/pkgs/development/tools/trellis/default.nix
@@ -8,21 +8,21 @@ let
in
stdenv.mkDerivation rec {
name = "trellis-${version}";
- version = "2018.12.20";
+ version = "2019.02.21";
srcs = [
(fetchFromGitHub {
owner = "symbiflow";
repo = "prjtrellis";
- rev = "b947028a6ac6494b6000c6e1ab5aa0db813e8544";
- sha256 = "14dcsl2drx3xaqvpawp0j7088cijxcr5018yji48rmbl85763aw9";
+ rev = "90910577671cdd950e56df6cb29d848dadea9467";
+ sha256 = "0j5gnkqfkp8k01wmzsplg713dmw1zvg04hsy33bzbyxaqviybdip";
name = "trellis";
})
(fetchFromGitHub {
owner = "symbiflow";
repo = "prjtrellis-db";
- rev = "670d04f0b8412193d5e974eea67f2bb7355aa1ec";
- sha256 = "1hm385rg1jq9qbq63g5134gq9xpfadvpahxvzwpv0q543brkg730";
+ rev = "d0b219af41ae3da6150645fbc5cc5613b530603f";
+ sha256 = "1mnzvrqrcbfypvbagwyf6arv3kmj6q7n27gcmyk6ap2xnavkx4bq";
name = "database";
})
];
diff --git a/pkgs/development/tools/vagrant/default.nix b/pkgs/development/tools/vagrant/default.nix
index b8ba30361aa..e93791d4696 100644
--- a/pkgs/development/tools/vagrant/default.nix
+++ b/pkgs/development/tools/vagrant/default.nix
@@ -3,9 +3,9 @@
let
# NOTE: bumping the version and updating the hash is insufficient;
# you must use bundix to generate a new gemset.nix in the Vagrant source.
- version = "2.2.0";
+ version = "2.2.3";
url = "https://github.com/hashicorp/vagrant/archive/v${version}.tar.gz";
- sha256 = "1wa8l3j6hpy0m0snz7wvfcf0wsjikp22c2z29crpk10f7xl7c56b";
+ sha256 = "1j00glqn8b1zsgqg2nyk5as405a6s6vclswg2ri0a229hnsiabvs";
deps = bundlerEnv rec {
name = "${pname}-${version}";
@@ -36,7 +36,6 @@ in buildRubyGem rec {
src = fetchurl { inherit url sha256; };
patches = [
- ./unofficial-installation-nowarn.patch
./use-system-bundler-version.patch
./0004-Support-system-installed-plugins.patch
];
diff --git a/pkgs/development/tools/vagrant/gemset.nix b/pkgs/development/tools/vagrant/gemset.nix
index 39eeb02ce55..9d98b3a48bd 100644
--- a/pkgs/development/tools/vagrant/gemset.nix
+++ b/pkgs/development/tools/vagrant/gemset.nix
@@ -3,10 +3,18 @@
dependencies = ["public_suffix"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0viqszpkggqi8hq87pqp0xykhvz60g99nwmkwsb0v45kc2liwxvk";
+ sha256 = "0bcm2hchn897xjhqj9zzsxf3n9xhddymj4lsclz508f4vw3av46l";
type = "gem";
};
- version = "2.5.2";
+ version = "2.6.0";
+ };
+ bcrypt_pbkdf = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0cj4k13c7qvvck7y25i3xarvyqq8d27vl61jddifkc7llnnap1hv";
+ type = "gem";
+ };
+ version = "1.0.0";
};
builder = {
source = {
@@ -25,6 +33,14 @@
};
version = "0.6.3";
};
+ concurrent-ruby = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1ixcx9pfissxrga53jbdpza85qd5f6b5nq1sfqa9rnfq82qnlbp1";
+ type = "gem";
+ };
+ version = "1.1.4";
+ };
crack = {
dependencies = ["safe_yaml"];
source = {
@@ -51,6 +67,14 @@
};
version = "0.5.20180417";
};
+ ed25519 = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1f5kr8za7hvla38fc0n9jiv55iq62k5bzclsa5kdb14l3r4w6qnw";
+ type = "gem";
+ };
+ version = "1.2.4";
+ };
erubis = {
source = {
remotes = ["https://rubygems.org"];
@@ -70,10 +94,10 @@
ffi = {
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0jpm2dis1j7zvvy3lg7axz9jml316zrn7s0j59vyq3qr127z0m7q";
+ sha256 = "0j8pzj8raxbir5w5k6s7a042sb5k02pg0f8s4na1r5lan901j00p";
type = "gem";
};
- version = "1.9.25";
+ version = "1.10.0";
};
gssapi = {
dependencies = ["ffi"];
@@ -96,10 +120,10 @@
hashdiff = {
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0yj5l2rw8i8jc725hbcpc4wks0qlaaimr3dpaqamfjkjkxl0hjp9";
+ sha256 = "19ykg5pax8798nh1yv71adkx0zzs7gn2rxjj86v7nsw0jba5lask";
type = "gem";
};
- version = "0.3.7";
+ version = "0.3.8";
};
hashicorp-checkpoint = {
source = {
@@ -127,12 +151,13 @@
version = "2.8.3";
};
i18n = {
+ dependencies = ["concurrent-ruby"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "00nsll7q89ab6k43dl3apxjhy4zidlgjmgb9mpk42bj3wk5zdyzf";
+ sha256 = "1gcp1m1p6dpasycfz2sj82ci9ggz7lsskz9c9q6gvfwxrl8y9dx7";
type = "gem";
};
- version = "0.8.0";
+ version = "1.1.1";
};
listen = {
dependencies = ["rb-fsevent" "rb-inotify" "ruby_dep"];
@@ -214,10 +239,10 @@
net-ssh = {
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0qfanf71yv8w7yl9l9wqcy68i2x1ghvnf8m581yy4pl0anfdhqw8";
+ sha256 = "0jglf8rxvlw6is5019r6kwsdhw38zm3z39jbghdbj449r6h7h77n";
type = "gem";
};
- version = "5.0.2";
+ version = "5.1.0";
};
netrc = {
source = {
@@ -263,10 +288,10 @@
dependencies = ["ffi"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0yfsgw5n7pkpyky6a9wkf1g9jafxb0ja7gz0qw0y14fd2jnzfh71";
+ sha256 = "1fs7hxm9g6ywv2yih83b879klhc4fs8i0p9166z795qmd77dk0a4";
type = "gem";
};
- version = "0.9.10";
+ version = "0.10.0";
};
rb-kqueue = {
dependencies = ["ffi"];
@@ -397,7 +422,7 @@
version = "0.0.7.5";
};
vagrant = {
- dependencies = ["childprocess" "erubis" "hashicorp-checkpoint" "i18n" "listen" "log4r" "net-scp" "net-sftp" "net-ssh" "rb-kqueue" "rest-client" "ruby_dep" "rubyzip" "vagrant_cloud" "wdm" "winrm" "winrm-elevated" "winrm-fs"];
+ dependencies = ["bcrypt_pbkdf" "childprocess" "ed25519" "erubis" "hashicorp-checkpoint" "i18n" "listen" "log4r" "net-scp" "net-sftp" "net-ssh" "rb-kqueue" "rest-client" "ruby_dep" "rubyzip" "vagrant_cloud" "wdm" "winrm" "winrm-elevated" "winrm-fs"];
};
vagrant-spec = {
dependencies = ["childprocess" "log4r" "rspec" "thor"];
@@ -414,10 +439,10 @@
dependencies = ["rest-client"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0k325a1cblj3jd2av8a6j3xsjjm36g578gpbmxw7h5dbffp49il1";
+ sha256 = "0451x3ab869hbycffcq656dm7mmjwmnxcyhv6g7dpdv3acg64783";
type = "gem";
};
- version = "2.0.1";
+ version = "2.0.2";
};
wdm = {
source = {
@@ -440,27 +465,27 @@
dependencies = ["builder" "erubis" "gssapi" "gyoku" "httpclient" "logging" "nori" "rubyntlm"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "05c1xji4afwxx4vgim5n4nj62zbyppmm67ci3kwi0jjrqaj9y11q";
+ sha256 = "0l299w172hl023b3v2vnbx4cqfjq9k2pp8blc1dz8n6g9dc6pk9f";
type = "gem";
};
- version = "2.3.0";
+ version = "2.3.1";
};
winrm-elevated = {
dependencies = ["winrm" "winrm-fs"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "04krbwnj4cw7jy42w3n2y5kp2fbcp3v9mbf59pdhfk1py18bswcr";
+ sha256 = "1saqc3ffh075y6fdkc7iqmn0v3pnidvfw0sh09w9cn6jvpsdxizk";
type = "gem";
};
- version = "1.1.0";
+ version = "1.1.1";
};
winrm-fs = {
dependencies = ["erubis" "logging" "rubyzip" "winrm"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "12g9grzp03knh1nxcicnm93pmlf4r264lhvl5yviyri8swmqlbz5";
+ sha256 = "0fy4yj52kssrm5hchq7l2mbry6w6yvi736p1wjpyv8m19rx7k0c3";
type = "gem";
};
- version = "1.3.1";
+ version = "1.3.2";
};
}
\ No newline at end of file
diff --git a/pkgs/development/tools/vagrant/unofficial-installation-nowarn.patch b/pkgs/development/tools/vagrant/unofficial-installation-nowarn.patch
index 88595942895..7b4ce471c94 100644
--- a/pkgs/development/tools/vagrant/unofficial-installation-nowarn.patch
+++ b/pkgs/development/tools/vagrant/unofficial-installation-nowarn.patch
@@ -1,8 +1,8 @@
-diff --git i/bin/vagrant w/bin/vagrant
-index 19df75033..682fae226 100755
---- i/bin/vagrant
-+++ w/bin/vagrant
-@@ -128,11 +128,6 @@ begin
+diff --git a/bin/vagrant b/bin/vagrant
+index 0e6abdc..cb36e9c 100755
+--- a/bin/vagrant
++++ b/bin/vagrant
+@@ -155,11 +155,6 @@ begin
end
end
@@ -11,6 +11,6 @@ index 19df75033..682fae226 100755
- env.ui.warn(I18n.t("vagrant.general.not_in_installer") + "\n", prefix: false)
- end
-
- begin
- # Execute the CLI interface, and exit with the proper error code
- exit_status = env.cli(argv)
+ # Acceptable experimental flag values include:
+ #
+ # Unset - Disables experimental features
diff --git a/pkgs/games/anki/default.nix b/pkgs/games/anki/default.nix
index 0f9b4efd61d..c9a227b98db 100644
--- a/pkgs/games/anki/default.nix
+++ b/pkgs/games/anki/default.nix
@@ -33,10 +33,10 @@ let
# when updating, also update rev-manual to a recent version of
# https://github.com/dae/ankidocs
# The manual is distributed independently of the software.
- version = "2.1.8";
- sha256-pkg = "08wb9hwpmbq7636h7sinim33qygdwwlh3frqqh2gfgm49f46di2p";
- rev-manual = "3a3d32dd9bfee6f5a7f5bdad2d70938874c881fa";
- sha256-manual = "1kz9ywbb6f42krxg8c5cwpjsnzm863vnkkn07szb3m1j85c10gjy";
+ version = "2.1.9";
+ sha256-pkg = "0p4admjxs0gwc54hby9kc1isg99ghxd5kpy08w9hrk3mcyq74z3i";
+ rev-manual = "c2c443bf991089534b0193029f6ee34908124e80";
+ sha256-manual = "1jwm5zrydc6qis7zslfqj56d083kpbzbl51n0x4czhskm9pjh7qd";
manual = stdenv.mkDerivation {
name = "anki-manual-${version}";
diff --git a/pkgs/games/ivan/default.nix b/pkgs/games/ivan/default.nix
index ad3baa9d22a..f84b83a3010 100644
--- a/pkgs/games/ivan/default.nix
+++ b/pkgs/games/ivan/default.nix
@@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
name = "ivan-${version}";
- version = "055";
+ version = "056";
src = fetchFromGitHub {
owner = "Attnam";
repo = "ivan";
rev = "v${version}";
- sha256 = "10qrwzwfzqs7f663x1cbbhisz60axcl51glxq33zaxl0jwnmma2p";
+ sha256 = "07mj3b2p3n3bq7rwi31y0vywnr4namqbcnz4c53kl38ajw9viyf0";
};
nativeBuildInputs = [ cmake pkgconfig ];
diff --git a/pkgs/games/privateer/default.nix b/pkgs/games/privateer/default.nix
index 301249789da..d4945d43c7d 100644
--- a/pkgs/games/privateer/default.nix
+++ b/pkgs/games/privateer/default.nix
@@ -35,7 +35,7 @@ stdenv.mkDerivation {
license = licenses.gpl2Plus; # and a special license for art data
# https://sourceforge.net/p/privateer/code/HEAD/tree/privgold/trunk/data/art-license.txt
- maintainers = with maintainers; [ chaoflow ];
+ maintainers = with maintainers; [ ];
platforms = with platforms; linux ++ darwin;
hydraPlatforms = [];
broken = true; # it won't build
diff --git a/pkgs/misc/acpilight/default.nix b/pkgs/misc/acpilight/default.nix
new file mode 100644
index 00000000000..20efe634285
--- /dev/null
+++ b/pkgs/misc/acpilight/default.nix
@@ -0,0 +1,32 @@
+{ stdenv, fetchgit, python36, udev, coreutils }:
+
+stdenv.mkDerivation rec {
+ pname = "acpilight";
+ version = "1.1";
+
+ src = fetchgit {
+ url = "https://gitlab.com/wavexx/acpilight.git";
+ rev = "v${version}";
+ sha256 = "0kykrl71fb146vaq8207c3qp03h2djkn8hn6psryykk8gdzkv3xd";
+ };
+
+ pyenv = python36.withPackages (pythonPackages: with pythonPackages; [
+ ConfigArgParse
+ ]);
+
+ postConfigure = ''
+ substituteInPlace 90-backlight.rules --replace /bin ${coreutils}/bin
+ '';
+
+ buildInputs = [ pyenv udev ];
+
+ makeFlags = [ "DESTDIR=$(out) prefix=" ];
+
+ meta = with stdenv.lib; {
+ homepage = "https://gitlab.com/wavexx/acpilight";
+ description = "ACPI backlight control";
+ license = licenses.gpl3;
+ maintainers = with maintainers; [ "smakarov" ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/misc/cups/drivers/brgenml1lpr/default.nix b/pkgs/misc/cups/drivers/brgenml1lpr/default.nix
index 51ef47fe469..2df3cfe6733 100644
--- a/pkgs/misc/cups/drivers/brgenml1lpr/default.nix
+++ b/pkgs/misc/cups/drivers/brgenml1lpr/default.nix
@@ -87,7 +87,7 @@ stdenv.mkDerivation rec {
description = "Brother BrGenML1 LPR driver";
homepage = http://www.brother.com;
platforms = stdenv.lib.platforms.linux;
- license = stdenv.lib.licenses.gpl2Plus;
+ license = stdenv.lib.licenses.unfreeRedistributable;
maintainers = with stdenv.lib.maintainers; [ jraygauthier ];
};
}
diff --git a/pkgs/misc/cups/filters.nix b/pkgs/misc/cups/filters.nix
index 348b7c6550e..3d2eafee168 100644
--- a/pkgs/misc/cups/filters.nix
+++ b/pkgs/misc/cups/filters.nix
@@ -9,11 +9,11 @@ let
in stdenv.mkDerivation rec {
name = "cups-filters-${version}";
- version = "1.21.6";
+ version = "1.22.0";
src = fetchurl {
url = "https://openprinting.org/download/cups-filters/${name}.tar.xz";
- sha256 = "0k0x9p40bahq44189vy9zai2ia9i91h26chrddr0m9agzsy5s3k3";
+ sha256 = "0gdv33g7dr1i7756n07zwgsv9b1i15rp7n1z1xr3n8f59br4fds4";
};
nativeBuildInputs = [ pkgconfig makeWrapper ];
diff --git a/pkgs/misc/drivers/hplip/default.nix b/pkgs/misc/drivers/hplip/default.nix
index f03d75dfa02..10dd0401cf0 100644
--- a/pkgs/misc/drivers/hplip/default.nix
+++ b/pkgs/misc/drivers/hplip/default.nix
@@ -12,16 +12,16 @@
let
name = "hplip-${version}";
- version = "3.18.5";
+ version = "3.19.1";
src = fetchurl {
url = "mirror://sourceforge/hplip/${name}.tar.gz";
- sha256 = "0xb7ga2wgbwjxsss67mjn2y6fmqsfwzmv11ivvfzhnl36lh22hkb";
+ sha256 = "1kl1q4753xx1w76dhp92wgrhn5k1yx1ib35pyi0vi3mw0njbhrzm";
};
plugin = fetchurl {
url = "https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/${name}-plugin.run";
- sha256 = "1jf74jya071zqvwhy9n0c3007pzgcxydkw7qdh4sx70brly81i7p";
+ sha256 = "1fwjypy1ycyi7rr1vk1yxhbdhx51n7fxhvjb36mzw8qz71dif2i3";
};
hplipState = substituteAll {
diff --git a/pkgs/misc/emulators/dolphin-emu/master.nix b/pkgs/misc/emulators/dolphin-emu/master.nix
index b720bf142d4..e57c3854926 100644
--- a/pkgs/misc/emulators/dolphin-emu/master.nix
+++ b/pkgs/misc/emulators/dolphin-emu/master.nix
@@ -20,13 +20,13 @@ let
};
in stdenv.mkDerivation rec {
name = "dolphin-emu-${version}";
- version = "2018-12-25";
+ version = "2019-02-16";
src = fetchFromGitHub {
owner = "dolphin-emu";
repo = "dolphin";
- rev = "ca2a2c98f252d21dc609d26f4264a43ed091b8fe";
- sha256 = "0903hp7fkh08ggjx8zrsvwhh1x8bprv3lh2d8yci09al1cqqj5cb";
+ rev = "286aafd4ed2949f0b93230fee969c6a32fe75f07";
+ sha256 = "0l0cpq8s7wnng7mhbnzf4v84zggqsqdykrzfyz5avvbv9pla7jwp";
};
enableParallelBuilding = true;
diff --git a/pkgs/misc/emulators/mgba/default.nix b/pkgs/misc/emulators/mgba/default.nix
index 7fb804d31e4..09c3d8e762d 100644
--- a/pkgs/misc/emulators/mgba/default.nix
+++ b/pkgs/misc/emulators/mgba/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, fetchpatch, makeDesktopItem, makeWrapper, pkgconfig
+{ stdenv, fetchFromGitHub, makeDesktopItem, makeWrapper, pkgconfig
, cmake, epoxy, libzip, ffmpeg, imagemagick, SDL2, qtbase, qtmultimedia, libedit
, qttools, minizip }:
@@ -15,13 +15,13 @@ let
};
in stdenv.mkDerivation rec {
name = "mgba-${version}";
- version = "0.6.3";
+ version = "0.7.0";
src = fetchFromGitHub {
owner = "mgba-emu";
repo = "mgba";
rev = version;
- sha256 = "0m1pkxa6i94gq95cankv390wsbp88b3x41c7hf415rp9rkfq25vk";
+ sha256 = "0s4dl4pi8rxqahvzxnh37xdgsfax36cn5wlh1srdcmabwsrfpb3w";
};
enableParallelBuilding = true;
@@ -32,11 +32,6 @@ in stdenv.mkDerivation rec {
qttools
];
- patches = [(fetchpatch {
- url = "https://github.com/mgba-emu/mgba/commit/7f41dd354176b720c8e3310553c6b772278b9dca.patch";
- sha256 = "0j334v8wf594kg8s1hngmh58wv1pi003z8avy6fjhj5qpjmbbavh";
- })];
-
postInstall = ''
cp -r ${desktopItem}/share/applications $out/share
wrapProgram $out/bin/mgba-qt --suffix QT_PLUGIN_PATH : \
diff --git a/pkgs/misc/gnash/default.nix b/pkgs/misc/gnash/default.nix
index db2afa5ba63..991be274ecc 100644
--- a/pkgs/misc/gnash/default.nix
+++ b/pkgs/misc/gnash/default.nix
@@ -14,10 +14,10 @@
, enableQt ? false, qt4 ? null
# media
-, enableFFmpeg ? true, ffmpeg_2 ? null
+, enableFFmpeg ? true, ffmpeg_2 ? null
# misc
-, enableJemalloc ? true, jemalloc ? null
+, enableJemalloc ? true, jemalloc ? null
, enableHwAccel ? true
, enablePlugins ? false, xulrunner ? null, npapi_sdk ? null
}:
@@ -66,12 +66,12 @@ assert length renderers == 0 -> throw "at least one renderer must be enabled";
stdenv.mkDerivation rec {
name = "gnash-${version}";
- version = "0.8.11-2017-03-08";
+ version = "0.8.11-2019-30-01";
src = fetchgit {
url = "git://git.sv.gnu.org/gnash.git";
- rev = "8a11e60585db4ed6bc4eafadfbd9b3123ced45d9";
- sha256 = "1qas084gc4s9cb2jbwi2s1h4hk7m92xmrsb596sd14h0i44dai02";
+ rev = "583ccbc1275c7701dc4843ec12142ff86bb305b4";
+ sha256 = "0fh0bljn0i6ypyh6l99afi855p7ki7lm869nq1qj6k8hrrwhmfry";
};
postPatch = ''
diff --git a/pkgs/os-specific/darwin/apple-source-releases/default.nix b/pkgs/os-specific/darwin/apple-source-releases/default.nix
index 4fa0c0e3e47..c9473bca06d 100644
--- a/pkgs/os-specific/darwin/apple-source-releases/default.nix
+++ b/pkgs/os-specific/darwin/apple-source-releases/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, buildPackages, fetchurl, fetchzip, pkgs, fetchurlBoot }:
+{ stdenv, buildPackages, fetchurl, fetchzip, pkgs }:
let
# This attrset can in theory be computed automatically, but for that to work nicely we need
@@ -141,7 +141,7 @@ let
# in an infinite recursion without this. It's not clear why this
# worked fine when not cross-compiling
fetch = if name == "libiconv"
- then fetchurlBoot
+ then stdenv.fetchurlBoot
else fetchurl;
in fetch {
url = "http://www.opensource.apple.com/tarballs/${name}/${name}-${versions.${version}.${name}}.tar.gz";
diff --git a/pkgs/os-specific/linux/busybox/default.nix b/pkgs/os-specific/linux/busybox/default.nix
index 73bea1c7da6..4b287725082 100644
--- a/pkgs/os-specific/linux/busybox/default.nix
+++ b/pkgs/os-specific/linux/busybox/default.nix
@@ -32,14 +32,14 @@ let
in
stdenv.mkDerivation rec {
- name = "busybox-1.29.3";
+ name = "busybox-1.30.1";
# Note to whoever is updating busybox: please verify that:
# nix-build pkgs/stdenv/linux/make-bootstrap-tools.nix -A test
# still builds after the update.
src = fetchurl {
url = "https://busybox.net/downloads/${name}.tar.bz2";
- sha256 = "1dzg45vgy2w1xcd3p6h8d76ykhabbvk1h0lf8yb24ikrwlv8cr4p";
+ sha256 = "1p7vbnwj60q6zkzrzq3pa8ybb7mviv2aa5a8g7s4hh6kvfj0879x";
};
hardeningDisable = [ "format" "pie" ]
diff --git a/pkgs/os-specific/linux/cryptsetup/default.nix b/pkgs/os-specific/linux/cryptsetup/default.nix
index c6920eab855..f4c83a58823 100644
--- a/pkgs/os-specific/linux/cryptsetup/default.nix
+++ b/pkgs/os-specific/linux/cryptsetup/default.nix
@@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
homepage = https://gitlab.com/cryptsetup/cryptsetup/;
description = "LUKS for dm-crypt";
license = stdenv.lib.licenses.gpl2;
- maintainers = with stdenv.lib.maintainers; [ chaoflow ];
+ maintainers = with stdenv.lib.maintainers; [ ];
platforms = with stdenv.lib.platforms; linux;
};
}
diff --git a/pkgs/os-specific/linux/hostapd/default.nix b/pkgs/os-specific/linux/hostapd/default.nix
index 3a6e0a08103..b1b5401b88d 100644
--- a/pkgs/os-specific/linux/hostapd/default.nix
+++ b/pkgs/os-specific/linux/hostapd/default.nix
@@ -3,62 +3,13 @@
with stdenv.lib;
stdenv.mkDerivation rec {
name = "hostapd-${version}";
- version = "2.6";
+ version = "2.7";
src = fetchurl {
url = "https://w1.fi/releases/${name}.tar.gz";
- sha256 = "0z8ilypad82q3l6q6kbv6hczvhjn8k63j8051x5yqfyjq686nlh1";
+ sha256 = "0hd181sghdk944hxd7d41s7zhqd4dmsbkxipjj27bgisrjixvc11";
};
- patches = [
- (fetchurl {
- url = "https://w1.fi/cgit/hostap/patch/?id=0d42179e1246f996d334c8bd18deca469fdb1add";
- sha256 = "0w5n3ypwavq5zlyfxpcyvbaf96g59xkwbw9xwpjyzb7h5j264615";
- })
- (fetchurl {
- url = "https://w1.fi/cgit/hostap/patch/?id=df426738fb212d62b132d9bb447f0128194e00ab";
- sha256 = "0ps2prjijlcgv1i97xb5ypw840dhkc7ja1aw8zhlbrap7pbgi1mm";
- })
- (fetchurl {
- url = "https://w1.fi/cgit/hostap/patch/?id=b70d508c50e8e2d2b8fb96ae44ae10f84cf0c1ae";
- sha256 = "0pslmsbay2cy1k07w1mdcr0b8w059jkrqrr9zi1aljvkm3vbwhj1";
- })
-
- #KRACKAttack.com
- (fetchurl {
- url = "http://w1.fi/security/2017-1/rebased-v2.6-0001-hostapd-Avoid-key-reinstallation-in-FT-handshake.patch";
- sha256 = "02zl2x4pxay666yq18g4f3byccrzipfjbky1ydw62v15h76174aj";
- })
- (fetchurl {
- url = "http://w1.fi/security/2017-1/rebased-v2.6-0002-Prevent-reinstallation-of-an-already-in-use-group-ke.patch";
- sha256 = "1mrmqg00x1bqa43dyhxb14msk74lh3kvr4avni43c3qpfjmlfvfq";
- })
- (fetchurl {
- url = "http://w1.fi/security/2017-1/rebased-v2.6-0003-Extend-protection-of-GTK-IGTK-reinstallation-of-WNM-.patch";
- sha256 = "10byyi8wfpcc8i788ag7ndycd3xvq2iwnssyb3rwf34sfcv5wlyl";
- })
- (fetchurl {
- url = "http://w1.fi/security/2017-1/rebased-v2.6-0004-Prevent-installation-of-an-all-zero-TK.patch";
- sha256 = "02z2rsbh4sw81wsc56xjbblbi76ii0clmpnr1m1szdb1h5s58fkr";
- })
- (fetchurl {
- url = "http://w1.fi/security/2017-1/rebased-v2.6-0005-Fix-PTK-rekeying-to-generate-a-new-ANonce.patch";
- sha256 = "17pbrn5h6l5v14y6gn2yr2knqya9i0n2vyq4ck8hasb00yz8lz0l";
- })
- (fetchurl {
- url = "http://w1.fi/security/2017-1/rebased-v2.6-0006-TDLS-Reject-TPK-TK-reconfiguration.patch";
- sha256 = "19mgcqbdyzm4myi182jcn1rn26xi3jib74cpxbbrx1gaccxlsvar";
- })
- #(fetchurl { # wpa-supplicant only
- # url = "http://w1.fi/security/2017-1/rebased-v2.6-0007-WNM-Ignore-WNM-Sleep-Mode-Response-without-pending-r.patch";
- # sha256 = "0di71j8762dkvr0c7h5mrbkqyfdy8mljvnp0dk2qhbgc9bw7m8f5";
- #})
- (fetchurl {
- url = "http://w1.fi/security/2017-1/rebased-v2.6-0008-FT-Do-not-allow-multiple-Reassociation-Response-fram.patch";
- sha256 = "1ca312cixbld70rp12q7h66lnjjxzz0qag0ii2sg6cllgf2hv168";
- })
- ];
-
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libnl openssl sqlite ];
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix
index e8126c23d3d..18911044579 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -592,6 +592,8 @@ let
BLK_DEV_INTEGRITY = yes;
+ BLK_SED_OPAL = whenAtLeast "4.14" yes;
+
BSD_PROCESS_ACCT_V3 = yes;
BT_HCIUART_BCSP = option yes;
@@ -634,6 +636,8 @@ let
MLX4_EN_VXLAN = whenOlder "4.8" yes;
MLX5_CORE_EN = option yes;
+ PSI = whenAtLeast "4.20" yes;
+
MODVERSIONS = whenOlder "4.9" yes;
MOUSE_PS2_ELANTECH = yes; # Elantech PS/2 protocol extension
MTRR_SANITIZER = yes;
diff --git a/pkgs/os-specific/linux/kernel/linux-4.14.nix b/pkgs/os-specific/linux/kernel/linux-4.14.nix
index 0be12e1bfaa..5a511282990 100644
--- a/pkgs/os-specific/linux/kernel/linux-4.14.nix
+++ b/pkgs/os-specific/linux/kernel/linux-4.14.nix
@@ -3,7 +3,7 @@
with stdenv.lib;
buildLinux (args // rec {
- version = "4.14.102";
+ version = "4.14.103";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
@@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
- sha256 = "0095aqc1jbic77r34mpddjbz75rq1smr41yjx4mdqkl0lb7q5afq";
+ sha256 = "04bag7q9gwd2apbmzmniq3w0cq70jvhmmvwwl9frdrf9whs3x93s";
};
} // (args.argsOverride or {}))
diff --git a/pkgs/os-specific/linux/kernel/linux-4.19.nix b/pkgs/os-specific/linux/kernel/linux-4.19.nix
index f94bb32361b..76996afeac3 100644
--- a/pkgs/os-specific/linux/kernel/linux-4.19.nix
+++ b/pkgs/os-specific/linux/kernel/linux-4.19.nix
@@ -3,7 +3,7 @@
with stdenv.lib;
buildLinux (args // rec {
- version = "4.19.24";
+ version = "4.19.25";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
@@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
- sha256 = "014fpzy40yy56whnd8fclgxbdmaab8f5f6gam1lv8x6qmdgqic9v";
+ sha256 = "0ccpj57pv2rw78a4j5mg9sz7a37k0sn5glbn2rs6yvp9ss81vivy";
};
} // (args.argsOverride or {}))
diff --git a/pkgs/os-specific/linux/kernel/linux-4.20.nix b/pkgs/os-specific/linux/kernel/linux-4.20.nix
index 7a6b502048a..d15ab1070ee 100644
--- a/pkgs/os-specific/linux/kernel/linux-4.20.nix
+++ b/pkgs/os-specific/linux/kernel/linux-4.20.nix
@@ -3,7 +3,7 @@
with stdenv.lib;
buildLinux (args // rec {
- version = "4.20.11";
+ version = "4.20.12";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
@@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
- sha256 = "07s1sw256nz72yx6kvzws32s9faphsmg91wq4h7fk3jwyi0mrnfw";
+ sha256 = "0155hmkw2vdywnd6ygp057nw395yj5k7273kw02hh9cmh4q49x8w";
};
} // (args.argsOverride or {}))
diff --git a/pkgs/os-specific/linux/kernel/linux-4.4.nix b/pkgs/os-specific/linux/kernel/linux-4.4.nix
index d814deefb1a..0b5c5f3e095 100644
--- a/pkgs/os-specific/linux/kernel/linux-4.4.nix
+++ b/pkgs/os-specific/linux/kernel/linux-4.4.nix
@@ -1,11 +1,11 @@
{ stdenv, buildPackages, fetchurl, perl, buildLinux, ... } @ args:
buildLinux (args // rec {
- version = "4.4.175";
+ version = "4.4.176";
extraMeta.branch = "4.4";
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
- sha256 = "1r8bp8dcjgndx9ziwv3pkgngr1bxwvdmimg8gxq8ak0km9bqfz76";
+ sha256 = "0pf7y4dcnf4mn11wgjd65v09kx3p712ky50w6vrn45v9m80m9ni7";
};
} // (args.argsOverride or {}))
diff --git a/pkgs/os-specific/linux/kernel/linux-4.9.nix b/pkgs/os-specific/linux/kernel/linux-4.9.nix
index c5f4b45082f..1d6970756a8 100644
--- a/pkgs/os-specific/linux/kernel/linux-4.9.nix
+++ b/pkgs/os-specific/linux/kernel/linux-4.9.nix
@@ -1,11 +1,11 @@
{ stdenv, buildPackages, fetchurl, perl, buildLinux, ... } @ args:
buildLinux (args // rec {
- version = "4.9.159";
+ version = "4.9.160";
extraMeta.branch = "4.9";
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
- sha256 = "0hhpfyvankdiwbngpsl9xprf6777830dms722hix3450d0qz37cz";
+ sha256 = "0585yq8zcq5l7f7mxl4vqnvqzj2qvrl9j9rwwgsrklk2mxkz16n0";
};
} // (args.argsOverride or {}))
diff --git a/pkgs/os-specific/linux/ledger-udev-rules/default.nix b/pkgs/os-specific/linux/ledger-udev-rules/default.nix
new file mode 100644
index 00000000000..28027fd4510
--- /dev/null
+++ b/pkgs/os-specific/linux/ledger-udev-rules/default.nix
@@ -0,0 +1,29 @@
+{ stdenv, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+ pname = "ledger-udev-rules";
+ version = "unstable-2019-02-13";
+
+ src = fetchFromGitHub {
+ owner = "LedgerHQ";
+ repo = "udev-rules";
+ rev = "20cc1651eb551c4855aaa56628c77eaeb3031c22";
+ sha256 = "0riydkc4in10pv4qlrvbg3w78qsvxly5caa3zwyqcmsm5fmprqky";
+ };
+
+ dontBuild = true;
+ dontConfigure = true;
+
+ installPhase = ''
+ mkdir -p $out/lib/udev/rules.d
+ cp 20-hw1.rules $out/lib/udev/rules.d/20-ledger.rules
+ '';
+
+ meta = with stdenv.lib; {
+ description = "udev rules for Ledger devices";
+ license = licenses.asl20;
+ maintainers = with maintainers; [ asymmetric ];
+ platforms = platforms.linux;
+ homepage = https://github.com/LedgerHQ/udev-rules;
+ };
+}
diff --git a/pkgs/os-specific/linux/mwprocapture/default.nix b/pkgs/os-specific/linux/mwprocapture/default.nix
index f6f6c10112a..9490bc91181 100644
--- a/pkgs/os-specific/linux/mwprocapture/default.nix
+++ b/pkgs/os-specific/linux/mwprocapture/default.nix
@@ -15,11 +15,11 @@ let
in
stdenv.mkDerivation rec {
name = "mwprocapture-1.2.${version}-${kernel.version}";
- version = "3950";
+ version = "4054";
src = fetchurl {
url = "http://www.magewell.com/files/drivers/ProCaptureForLinux_${version}.tar.gz";
- sha256 = "1im3k533r6c0dx08h9wjfbhadzk7zawrxxaz7v94c92m3q133ys6";
+ sha256 = "0ylx75jcwlqds8w6lm11nxdlzxvy7xlz4rka2k5d6gmqa5fv19c2";
};
nativeBuildInputs = [ kernel.moduleBuildDependencies ];
diff --git a/pkgs/os-specific/linux/piper/default.nix b/pkgs/os-specific/linux/piper/default.nix
index 288201e804a..e177b284bbd 100644
--- a/pkgs/os-specific/linux/piper/default.nix
+++ b/pkgs/os-specific/linux/piper/default.nix
@@ -3,8 +3,8 @@
, gobject-introspection }:
python3.pkgs.buildPythonApplication rec {
- pname = "piper-${version}";
- version = "0.2.902";
+ pname = "piper";
+ version = "0.2.903";
format = "other";
@@ -12,7 +12,7 @@ python3.pkgs.buildPythonApplication rec {
owner = "libratbag";
repo = "piper";
rev = version;
- sha256 = "1ny0vf8ym9v040cb5h084k5wwn929fnhq9infbdq8f8vvy61magb";
+ sha256 = "0zh4lm074x5gwvx663bapdyv8lf84yjwfg8cpf77rszyja1hx13a";
};
nativeBuildInputs = [ meson ninja gettext pkgconfig wrapGAppsHook desktop-file-utils appstream-glib gobject-introspection ];
diff --git a/pkgs/os-specific/linux/powertop/default.nix b/pkgs/os-specific/linux/powertop/default.nix
index f24f5a5d06f..54fdfb354d1 100644
--- a/pkgs/os-specific/linux/powertop/default.nix
+++ b/pkgs/os-specific/linux/powertop/default.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
description = "Analyze power consumption on Intel-based laptops";
homepage = https://01.org/powertop;
license = licenses.gpl2;
- maintainers = with maintainers; [ chaoflow fpletz ];
+ maintainers = with maintainers; [ fpletz ];
platforms = platforms.linux;
};
}
diff --git a/pkgs/os-specific/linux/pscircle/default.nix b/pkgs/os-specific/linux/pscircle/default.nix
index 1efbd7bc2c9..b6c16948339 100644
--- a/pkgs/os-specific/linux/pscircle/default.nix
+++ b/pkgs/os-specific/linux/pscircle/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
name = "pscircle-${version}";
- version = "1.1.0";
+ version = "1.3.0";
src = fetchFromGitLab {
owner = "mildlyparallel";
repo = "pscircle";
rev = "v${version}";
- sha256 = "1sxdnhkcr26l29nk0zi1zkvkd7128xglfql47rdb1bx940vflgb6";
+ sha256 = "0qsif00dkqa8ky3vl2ycx5anx2yk62nrv47f5lrlqzclz91f00fx";
};
buildInputs = [
diff --git a/pkgs/os-specific/linux/wpa_supplicant/build-fix.patch b/pkgs/os-specific/linux/wpa_supplicant/build-fix.patch
deleted file mode 100644
index a186cdad969..00000000000
--- a/pkgs/os-specific/linux/wpa_supplicant/build-fix.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
-index 0f82af9..70564ff 100644
---- a/wpa_supplicant/Makefile
-+++ b/wpa_supplicant/Makefile
-@@ -1558,6 +1558,7 @@ OBJS += $(CONFIG_MAIN).o
- ifdef CONFIG_PRIVSEP
- OBJS_priv += $(OBJS_d) ../src/drivers/drivers.o
- OBJS_priv += $(OBJS_l2)
-+OBJS_priv += ../src/crypto/crypto_openssl.o
- OBJS_priv += ../src/utils/os_$(CONFIG_OS).o
- OBJS_priv += ../src/utils/$(CONFIG_ELOOP).o
- OBJS_priv += ../src/utils/common.o
diff --git a/pkgs/os-specific/linux/wpa_supplicant/default.nix b/pkgs/os-specific/linux/wpa_supplicant/default.nix
index 176eef3b861..8b8c23739c2 100644
--- a/pkgs/os-specific/linux/wpa_supplicant/default.nix
+++ b/pkgs/os-specific/linux/wpa_supplicant/default.nix
@@ -1,16 +1,16 @@
-{ stdenv, fetchurl, openssl, pkgconfig, libnl
+{ stdenv, fetchpatch, fetchurl, openssl, pkgconfig, libnl
, dbus, readline ? null, pcsclite ? null
}:
with stdenv.lib;
stdenv.mkDerivation rec {
- version = "2.6";
+ version = "2.7";
name = "wpa_supplicant-${version}";
src = fetchurl {
url = "https://w1.fi/releases/${name}.tar.gz";
- sha256 = "0l0l5gz3d5j9bqjsbjlfcv4w4jwndllp9fmyai4x9kg6qhs6v4xl";
+ sha256 = "0x1hqyahq44jyla8jl6791nnwrgicrhidadikrnqxsm2nw36pskn";
};
# TODO: Patch epoll so that the dbus actually responds
@@ -82,46 +82,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
patches = [
- ./build-fix.patch
-
- # KRACKAttack.com
- (fetchurl {
- url = "http://w1.fi/security/2017-1/rebased-v2.6-0001-hostapd-Avoid-key-reinstallation-in-FT-handshake.patch";
- sha256 = "02zl2x4pxay666yq18g4f3byccrzipfjbky1ydw62v15h76174aj";
- })
- (fetchurl {
- url = "http://w1.fi/security/2017-1/rebased-v2.6-0002-Prevent-reinstallation-of-an-already-in-use-group-ke.patch";
- sha256 = "1mrmqg00x1bqa43dyhxb14msk74lh3kvr4avni43c3qpfjmlfvfq";
- })
- (fetchurl {
- url = "http://w1.fi/security/2017-1/rebased-v2.6-0003-Extend-protection-of-GTK-IGTK-reinstallation-of-WNM-.patch";
- sha256 = "10byyi8wfpcc8i788ag7ndycd3xvq2iwnssyb3rwf34sfcv5wlyl";
- })
- (fetchurl {
- url = "http://w1.fi/security/2017-1/rebased-v2.6-0004-Prevent-installation-of-an-all-zero-TK.patch";
- sha256 = "02z2rsbh4sw81wsc56xjbblbi76ii0clmpnr1m1szdb1h5s58fkr";
- })
- (fetchurl {
- url = "http://w1.fi/security/2017-1/rebased-v2.6-0005-Fix-PTK-rekeying-to-generate-a-new-ANonce.patch";
- sha256 = "17pbrn5h6l5v14y6gn2yr2knqya9i0n2vyq4ck8hasb00yz8lz0l";
- })
- (fetchurl {
- url = "http://w1.fi/security/2017-1/rebased-v2.6-0006-TDLS-Reject-TPK-TK-reconfiguration.patch";
- sha256 = "19mgcqbdyzm4myi182jcn1rn26xi3jib74cpxbbrx1gaccxlsvar";
- })
- (fetchurl { # wpa-supplicant only
- url = "http://w1.fi/security/2017-1/rebased-v2.6-0007-WNM-Ignore-WNM-Sleep-Mode-Response-without-pending-r.patch";
- sha256 = "0di71j8762dkvr0c7h5mrbkqyfdy8mljvnp0dk2qhbgc9bw7m8f5";
- })
- (fetchurl {
- url = "http://w1.fi/security/2017-1/rebased-v2.6-0008-FT-Do-not-allow-multiple-Reassociation-Response-fram.patch";
- sha256 = "1ca312cixbld70rp12q7h66lnjjxzz0qag0ii2sg6cllgf2hv168";
- })
-
- # Unauthenticated EAPOL-Key decryption (CVE-2018-14526)
- (fetchurl {
- url = "https://w1.fi/security/2018-1/rebased-v2.6-0001-WPA-Ignore-unauthenticated-encrypted-EAPOL-Key-data.patch";
- sha256 = "0z0zxc9wrikmvciyqpdhx0l5v7qsd8c6b5ph9h5rniqllpr3q34n";
+ (fetchpatch {
+ name = "build-fix.patch";
+ url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/net-wireless/wpa_supplicant/files/wpa_supplicant-2.7-fix-undefined-remove-ie.patch?id=e0288112138a70a8acc3ae0196772fd7ccb677ce";
+ sha256 = "0ysazfcyn195mvkb1v10mgzzmpmqgv5kwqxwzfbsfhzq5bbaihld";
})
];
diff --git a/pkgs/servers/caddy/default.nix b/pkgs/servers/caddy/default.nix
index a8db20cede7..a6f1629a4b2 100644
--- a/pkgs/servers/caddy/default.nix
+++ b/pkgs/servers/caddy/default.nix
@@ -2,7 +2,7 @@
buildGoPackage rec {
name = "caddy-${version}";
- version = "0.11.1";
+ version = "0.11.4";
goPackagePath = "github.com/mholt/caddy";
@@ -12,7 +12,7 @@ buildGoPackage rec {
owner = "mholt";
repo = "caddy";
rev = "v${version}";
- sha256 = "0v35d3dy0f88wgk1vzznbx7p15vjjf7xm3qfi2c3192rsxgzvy0l";
+ sha256 = "1h7zx5gzv40xkxab8pc6hgd9zkpbnhiy1hnldriybpf2ya2lac9a";
};
buildFlagsArray = ''
diff --git a/pkgs/servers/cloud-print-connector/default.nix b/pkgs/servers/cloud-print-connector/default.nix
index 76d92541855..21a5bad72fc 100644
--- a/pkgs/servers/cloud-print-connector/default.nix
+++ b/pkgs/servers/cloud-print-connector/default.nix
@@ -51,6 +51,6 @@ buildGoPackage rec {
maintainers = with maintainers; [ hodapp ];
# TODO: Fix broken build on macOS. The GitHub presently lists the
# FreeBSD build as broken too, but this may change in the future.
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/servers/home-assistant/cli.nix b/pkgs/servers/home-assistant/cli.nix
index baed66bb4bd..92ec5d97dcd 100644
--- a/pkgs/servers/home-assistant/cli.nix
+++ b/pkgs/servers/home-assistant/cli.nix
@@ -2,11 +2,11 @@
python3.pkgs.buildPythonApplication rec {
pname = "homeassistant-cli";
- version = "0.5.0";
+ version = "0.6.0";
src = python3.pkgs.fetchPypi {
inherit pname version;
- sha256 = "4ad137d336508ab74840a34b3cc488ad884cc75285f5d7842544df1c3adacf8d";
+ sha256 = "0yjqjfqr1gc4c9k5z5i7ngcpcwmyp3lzs4xv7allgqvglmw26ji4";
};
postPatch = ''
diff --git a/pkgs/servers/home-assistant/dont-import-platformio-esptool.patch b/pkgs/servers/home-assistant/dont-import-platformio-esptool.patch
deleted file mode 100644
index 21918764436..00000000000
--- a/pkgs/servers/home-assistant/dont-import-platformio-esptool.patch
+++ /dev/null
@@ -1,119 +0,0 @@
-diff --git a/esphomeyaml/__main__.py b/esphomeyaml/__main__.py
-index 26f42c1..529d2e0 100644
---- a/esphomeyaml/__main__.py
-+++ b/esphomeyaml/__main__.py
-@@ -167,13 +167,10 @@ def compile_program(args, config):
-
-
- def upload_using_esptool(config, port):
-- import esptool
--
- path = os.path.join(CORE.build_path, '.pioenvs', CORE.name, 'firmware.bin')
-- cmd = ['esptool.py', '--before', 'default_reset', '--after', 'hard_reset',
-+ cmd = ['@esptool@/bin/esptool.py', '--before', 'default_reset', '--after', 'hard_reset',
- '--chip', 'esp8266', '--port', port, 'write_flash', '0x0', path]
-- # pylint: disable=protected-access
-- return run_external_command(esptool._main, *cmd)
-+ return run_external_command(*cmd)
-
-
- def upload_program(config, args, host):
-diff --git a/esphomeyaml/platformio_api.py b/esphomeyaml/platformio_api.py
-index df29491..f991701 100644
---- a/esphomeyaml/platformio_api.py
-+++ b/esphomeyaml/platformio_api.py
-@@ -13,12 +13,9 @@ _LOGGER = logging.getLogger(__name__)
-
-
- def run_platformio_cli(*args, **kwargs):
-- import platformio.__main__
--
- os.environ["PLATFORMIO_FORCE_COLOR"] = "true"
-- cmd = ['platformio'] + list(args)
-- return run_external_command(platformio.__main__.main,
-- *cmd, **kwargs)
-+ cmd = ['@platformio@/bin/platformio'] + list(args)
-+ return run_external_command(*cmd, **kwargs)
-
-
- def run_platformio_cli_run(config, verbose, *args, **kwargs):
-diff --git a/esphomeyaml/util.py b/esphomeyaml/util.py
-index eebb4b7..9e9e58f 100644
---- a/esphomeyaml/util.py
-+++ b/esphomeyaml/util.py
-@@ -4,6 +4,7 @@ import io
- import logging
- import re
- import sys
-+import subprocess
-
- _LOGGER = logging.getLogger(__name__)
-
-@@ -79,42 +80,25 @@ class RedirectText(object):
- return True
-
-
--def run_external_command(func, *cmd, **kwargs):
-- def mock_exit(return_code):
-- raise SystemExit(return_code)
--
-- orig_argv = sys.argv
-- orig_exit = sys.exit # mock sys.exit
-+def run_external_command(*cmd, **kwargs):
- full_cmd = u' '.join(shlex_quote(x) for x in cmd)
- _LOGGER.info(u"Running: %s", full_cmd)
-
-- orig_stdout = sys.stdout
-- sys.stdout = RedirectText(sys.stdout)
-- orig_stderr = sys.stderr
-- sys.stderr = RedirectText(sys.stderr)
--
- capture_stdout = kwargs.get('capture_stdout', False)
- if capture_stdout:
-- cap_stdout = sys.stdout = io.BytesIO()
-+ cap_stdout = io.BytesIO()
-+ else:
-+ cap_stdout = sys.stdout
-
- try:
-- sys.argv = list(cmd)
-- sys.exit = mock_exit
-- return func() or 0
-- except KeyboardInterrupt:
-- return 1
-- except SystemExit as err:
-- return err.args[0]
-+ completed_process = subprocess.run(cmd,
-+ stdout=RedirectText(cap_stdout),
-+ stderr=RedirectText(sys.stderr))
-+ return completed_process.returncode
- except Exception as err: # pylint: disable=broad-except
- _LOGGER.error(u"Running command failed: %s", err)
- _LOGGER.error(u"Please try running %s locally.", full_cmd)
- finally:
-- sys.argv = orig_argv
-- sys.exit = orig_exit
--
-- sys.stdout = orig_stdout
-- sys.stderr = orig_stderr
--
- if capture_stdout:
- # pylint: disable=lost-exception
- return cap_stdout.getvalue()
-diff --git a/setup.py b/setup.py
-index 78a5378..8ce80de 100755
---- a/setup.py
-+++ b/setup.py
-@@ -23,12 +23,10 @@ DOWNLOAD_URL = '{}/archive/{}.zip'.format(GITHUB_URL, const.__version__)
-
- REQUIRES = [
- 'voluptuous>=0.11.1',
-- 'platformio>=3.5.3',
- 'pyyaml>=3.12',
- 'paho-mqtt>=1.3.1',
- 'colorlog>=3.1.2',
- 'tornado>=5.0.0',
-- 'esptool>=2.3.1',
- 'typing>=3.0.0',
- 'protobuf>=3.4',
- 'tzlocal>=1.4',
diff --git a/pkgs/servers/home-assistant/esphome.nix b/pkgs/servers/home-assistant/esphome.nix
index e089c83239b..2e0b4abc939 100644
--- a/pkgs/servers/home-assistant/esphome.nix
+++ b/pkgs/servers/home-assistant/esphome.nix
@@ -1,29 +1,27 @@
-{ lib, python3, fetchpatch, substituteAll, platformio, esptool }:
+{ lib, python3, fetchpatch, platformio, esptool, git }:
python3.pkgs.buildPythonApplication rec {
- pname = "esphomeyaml";
- version = "1.10.1";
+ pname = "esphome";
+ version = "1.11.1";
src = python3.pkgs.fetchPypi {
inherit pname version;
- sha256 = "426cd545b4e9505ce5b4f5c63d2d54cb038f93fe3ba9d4d56b6b6431b222485d";
+ sha256 = "1764q4wyl8qlk2514gikv8178c8fwhhvbw64zkd76nb107hxzrk5";
};
- patches = [
- (substituteAll {
- src = ./dont-import-platformio-esptool.patch;
- inherit platformio esptool;
- })
- ];
-
- postPatch = ''
- # typing is part of the standard library since Python 3.5
- substituteInPlace setup.py --replace "'typing>=3.0.0'," ""
- '';
+ ESPHOME_USE_SUBPROCESS = "";
propagatedBuildInputs = with python3.pkgs; [
voluptuous pyyaml paho-mqtt colorlog
- tornado protobuf tzlocal pyserial
+ tornado protobuf tzlocal pyserial ifaddr
+ ];
+
+ makeWrapperArgs = [
+ # platformio is used in esphomeyaml/platformio_api.py
+ # esptool is used in esphomeyaml/__main__.py
+ # git is used in esphomeyaml/writer.py
+ "--prefix PATH : ${lib.makeBinPath [ platformio esptool git ]}"
+ "--set ESPHOME_USE_SUBPROCESS ''"
];
checkPhase = ''
@@ -36,7 +34,7 @@ python3.pkgs.buildPythonApplication rec {
meta = with lib; {
description = "Make creating custom firmwares for ESP32/ESP8266 super easy";
- homepage = https://esphomelib.com/esphomeyaml;
+ homepage = https://esphome.io/;
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
diff --git a/pkgs/servers/mail/spamassassin/default.nix b/pkgs/servers/mail/spamassassin/default.nix
index c3fcd13a41f..431e66e38fb 100644
--- a/pkgs/servers/mail/spamassassin/default.nix
+++ b/pkgs/servers/mail/spamassassin/default.nix
@@ -35,7 +35,7 @@ perlPackages.buildPerlPackage rec {
homepage = http://spamassassin.apache.org/;
description = "Open-Source Spam Filter";
license = stdenv.lib.licenses.asl20;
- platforms = stdenv.lib.platforms.linux;
+ platforms = stdenv.lib.platforms.unix;
maintainers = with stdenv.lib.maintainers; [ peti qknight ];
};
}
diff --git a/pkgs/servers/matrix-synapse/default.nix b/pkgs/servers/matrix-synapse/default.nix
index eeac1607cca..c1d598d6609 100644
--- a/pkgs/servers/matrix-synapse/default.nix
+++ b/pkgs/servers/matrix-synapse/default.nix
@@ -30,6 +30,11 @@ in buildPythonApplication rec {
sha256 = "1ych13x3c2cam7af4q2ariwvzwvr65g3j2x8ajjn33ydwxxbqbg6";
};
+ patches = [
+ # adds an entry point for the service
+ ./homeserver-script.patch
+ ];
+
propagatedBuildInputs = [
bcrypt
bleach
@@ -77,6 +82,6 @@ in buildPythonApplication rec {
homepage = https://matrix.org;
description = "Matrix reference homeserver";
license = licenses.asl20;
- maintainers = with maintainers; [ ralith roblabla ekleog ];
+ maintainers = with maintainers; [ ralith roblabla ekleog pacien ];
};
}
diff --git a/pkgs/servers/matrix-synapse/homeserver-script.patch b/pkgs/servers/matrix-synapse/homeserver-script.patch
new file mode 100644
index 00000000000..95e28196a22
--- /dev/null
+++ b/pkgs/servers/matrix-synapse/homeserver-script.patch
@@ -0,0 +1,21 @@
+diff --git a/homeserver b/homeserver
+new file mode 120000
+index 0000000..2f1d413
+--- /dev/null
++++ b/homeserver
+@@ -0,0 +1,1 @@
++synapse/app/homeserver.py
+\ No newline at end of file
+diff --git a/setup.py b/setup.py
+index b00c2af..c7f6e0a 100755
+--- a/setup.py
++++ b/setup.py
+@@ -92,6 +92,6 @@ setup(
+ include_package_data=True,
+ zip_safe=False,
+ long_description=long_description,
+- scripts=["synctl"] + glob.glob("scripts/*"),
++ scripts=["synctl", "homeserver"] + glob.glob("scripts/*"),
+ cmdclass={'test': TestCommand},
+ )
+
diff --git a/pkgs/servers/monitoring/bosun/default.nix b/pkgs/servers/monitoring/bosun/default.nix
index 90524483360..c8eb0731924 100644
--- a/pkgs/servers/monitoring/bosun/default.nix
+++ b/pkgs/servers/monitoring/bosun/default.nix
@@ -19,6 +19,6 @@ buildGoPackage rec {
license = licenses.mit;
homepage = https://bosun.org;
maintainers = with maintainers; [ offline ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/servers/monitoring/telegraf/default.nix b/pkgs/servers/monitoring/telegraf/default.nix
index c6c52bcbda5..d3ddfe26d4a 100644
--- a/pkgs/servers/monitoring/telegraf/default.nix
+++ b/pkgs/servers/monitoring/telegraf/default.nix
@@ -28,6 +28,6 @@ buildGoPackage rec {
license = licenses.mit;
homepage = https://www.influxdata.com/time-series-platform/telegraf/;
maintainers = with maintainers; [ mic92 roblabla ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/servers/samba/4.x.nix b/pkgs/servers/samba/4.x.nix
index 3d421e7a6ec..4da3ae362c4 100644
--- a/pkgs/servers/samba/4.x.nix
+++ b/pkgs/servers/samba/4.x.nix
@@ -20,11 +20,11 @@ with lib;
stdenv.mkDerivation rec {
name = "samba-${version}";
- version = "4.7.10";
+ version = "4.7.12";
src = fetchurl {
url = "mirror://samba/pub/samba/stable/${name}.tar.gz";
- sha256 = "0w5y6a7kiw5ap7hd84yglzk7cjax6lxlszd0wz1sxnmqx4a6hn9l";
+ sha256 = "0jmg39xigrh48j39r4f1390kmr1p3xbfxzfabln4b0r9qdmki70f";
};
outputs = [ "out" "dev" "man" ];
@@ -72,7 +72,9 @@ stdenv.mkDerivation rec {
"--sysconfdir=/etc"
"--localstatedir=/var"
]
- ++ optional (!enableDomainController) "--without-ad-dc"
+ ++ [(if enableDomainController
+ then "--with-experimental-mit-ad-dc"
+ else "--without-ad-dc")]
++ optionals (!enableLDAP) [ "--without-ldap" "--without-ads" ]
++ optional (!enableAcl) "--without-acl-support"
++ optional (!enablePam) "--without-pam";
diff --git a/pkgs/servers/slimserver/default.nix b/pkgs/servers/slimserver/default.nix
index ffbeb2fca34..90768e8f66e 100644
--- a/pkgs/servers/slimserver/default.nix
+++ b/pkgs/servers/slimserver/default.nix
@@ -99,6 +99,6 @@ perlPackages.buildPerlPackage rec {
# https://github.com/Logitech/slimserver/blob/public/7.9/License.txt
license = licenses.unfree;
maintainers = [ maintainers.phile314 ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/servers/sql/cockroachdb/default.nix b/pkgs/servers/sql/cockroachdb/default.nix
index c1c70955d1f..1f5ba6150ed 100644
--- a/pkgs/servers/sql/cockroachdb/default.nix
+++ b/pkgs/servers/sql/cockroachdb/default.nix
@@ -13,13 +13,13 @@ let
in
buildGoPackage rec {
name = "cockroach-${version}";
- version = "2.1.3";
+ version = "2.1.5";
goPackagePath = "github.com/cockroachdb/cockroach";
src = fetchurl {
url = "https://binaries.cockroachdb.com/cockroach-v${version}.src.tgz";
- sha256 = "0glk2qg4dq7gzkr6wjamxksjn668zsny8mmd0jph4w7166hm3n0n";
+ sha256 = "0bdbkz917175vp28kc513996ik0m61hfbvnqnv0alxv0mfx8djzn";
};
inherit nativeBuildInputs buildInputs;
diff --git a/pkgs/servers/sql/postgresql/default.nix b/pkgs/servers/sql/postgresql/default.nix
index b61382974b7..44559885850 100644
--- a/pkgs/servers/sql/postgresql/default.nix
+++ b/pkgs/servers/sql/postgresql/default.nix
@@ -182,7 +182,7 @@ in self: {
postgresql_10 = self.callPackage generic {
version = "10.6";
- psqlSchema = "10.0";
+ psqlSchema = "10.0"; # should be 10, but changing it is invasive
sha256 = "0jv26y3f10svrjxzsgqxg956c86b664azyk2wppzpa5x11pjga38";
this = self.postgresql_10;
inherit self;
@@ -190,7 +190,7 @@ in self: {
postgresql_11 = self.callPackage generic {
version = "11.2";
- psqlSchema = "11.2";
+ psqlSchema = "11.1"; # should be 11, but changing it is invasive
sha256 = "01clq2lw0v83zh5dc89xdr3mmap0jr37kdkh401ph6f2177bjxi6";
this = self.postgresql_11;
inherit self;
diff --git a/pkgs/servers/teleport/default.nix b/pkgs/servers/teleport/default.nix
index 0f08d94a052..9ba60416119 100644
--- a/pkgs/servers/teleport/default.nix
+++ b/pkgs/servers/teleport/default.nix
@@ -36,6 +36,6 @@ buildGoPackage rec {
homepage = "https://gravitational.com/teleport/";
license = stdenv.lib.licenses.asl20;
maintainers = [ stdenv.lib.maintainers.tomberek ];
- platforms = stdenv.lib.platforms.linux;
+ platforms = stdenv.lib.platforms.unix;
};
}
diff --git a/pkgs/servers/trezord/default.nix b/pkgs/servers/trezord/default.nix
index 98079c37f1f..696baff0ca3 100644
--- a/pkgs/servers/trezord/default.nix
+++ b/pkgs/servers/trezord/default.nix
@@ -21,6 +21,6 @@ buildGoPackage rec {
homepage = https://trezor.io;
license = licenses.lgpl3;
maintainers = with maintainers; [ canndrew jb55 maintainers."1000101"];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/servers/tvheadend/default.nix b/pkgs/servers/tvheadend/default.nix
index 674d96e5462..e05d9e919d1 100644
--- a/pkgs/servers/tvheadend/default.nix
+++ b/pkgs/servers/tvheadend/default.nix
@@ -3,7 +3,7 @@
, which, zlib }:
let
- version = "4.2.7";
+ version = "4.2.8";
in stdenv.mkDerivation rec {
name = "tvheadend-${version}";
@@ -12,7 +12,7 @@ in stdenv.mkDerivation rec {
owner = "tvheadend";
repo = "tvheadend";
rev = "v${version}";
- sha256 = "09q6lddkld22z9nbxx5v3v3z5yvcnl4lgjirvrdprwkv67fld70g";
+ sha256 = "1xq059r2bplaa0nd0wkhw80jfwd962x0h5hgd7fz2yp6largw34m";
};
buildInputs = [
diff --git a/pkgs/servers/uftp/default.nix b/pkgs/servers/uftp/default.nix
index 768fdf0b46f..297a0215aac 100644
--- a/pkgs/servers/uftp/default.nix
+++ b/pkgs/servers/uftp/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "uftp-${version}";
- version = "4.9.8";
+ version = "4.9.9";
src = fetchurl {
url = "mirror://sourceforge/uftp-multicast/source-tar/uftp-${version}.tar.gz";
- sha256 = "16g54372xy5apk485xz9bp1hfci15mssw7m7givls4lpwhc67379";
+ sha256 = "0j5af6vicv6zhyjmqnlba10c86qb9nz61wk98985fggwi1dcfjy0";
};
buildInputs = [ openssl ];
diff --git a/pkgs/shells/zsh/antibody/default.nix b/pkgs/shells/zsh/antibody/default.nix
index 29e79c0e503..b68a25630a1 100644
--- a/pkgs/shells/zsh/antibody/default.nix
+++ b/pkgs/shells/zsh/antibody/default.nix
@@ -1,16 +1,16 @@
{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- name = "antibody-${version}";
- version = "4.0.2";
+ pname = "antibody";
+ version = "4.1.0";
goPackagePath = "github.com/getantibody/antibody";
src = fetchFromGitHub {
- owner = "getantibody";
- repo = "antibody";
+ owner = "getantibody";
+ repo = "antibody";
rev = "v${version}";
- sha256 = "1lq0bd2l928bgwqiq3fa5ippjhnsfgwdqn6nd3hfis8bijrwc5jv";
+ sha256 = "027qh535cpk5mbxav199vvzhwfkcs0lm7skgfhshpzps1yw4w4mb";
};
goDeps = ./deps.nix;
diff --git a/pkgs/shells/zsh/antibody/deps.nix b/pkgs/shells/zsh/antibody/deps.nix
index bdd53a9d142..86263b43944 100644
--- a/pkgs/shells/zsh/antibody/deps.nix
+++ b/pkgs/shells/zsh/antibody/deps.nix
@@ -1,73 +1,110 @@
-[{
- goPackagePath = "github.com/getantibody/folder";
- fetch = {
- type = "git";
- url = "https://github.com/getantibody/folder";
- rev = "479aa91767d47bc27599e6ebc7fd07945dd38132";
- sha256 = "0mzc2x7897f17kj2v807d8cqzgclq9bsz2xqz81j1k85g53l513j";
- };
-}{
- goPackagePath = "github.com/alecthomas/units";
- fetch = {
- type = "git";
- url = "https://github.com/alecthomas/units";
- rev = "2efee857e7cfd4f3d0138cc3cbb1b4966962b93a";
- sha256 = "1j65b91qb9sbrml9cpabfrcf07wmgzzghrl7809hjjhrmbzri5bl";
- };
-}{
- goPackagePath = "github.com/alecthomas/template";
- fetch = {
- type = "git";
- url = "https://github.com/alecthomas/template";
- rev = "a0175ee3bccc567396460bf5acd36800cb10c49c";
- sha256 = "0qjgvvh26vk1cyfq9fadyhfgdj36f1iapbmr5xp6zqipldz8ffxj";
- };
-}{
- goPackagePath = "github.com/caarlos0/gohome";
- fetch = {
- type = "git";
- url = "https://github.com/caarlos0/gohome";
- rev = "75f08ebc60b144c5c3178115baedce176fdcfe99";
- sha256 = "04950r9lzhgkksgqbnlfx0m3n7zqfif3l8fixwb7f271a880i4gz";
- };
-}{
- goPackagePath = "github.com/alecthomas/kingpin";
- fetch = {
- type = "git";
- url = "https://github.com/alecthomas/kingpin";
- rev = "a39589180ebd6bbf43076e514b55f20a95d43086";
- sha256 = "0b00bfiwl76qflnmnk3cnlaii6wxgzzdnby99cxdych4f8qmzlv3";
- };
-}{
- goPackagePath = "golang.org/x/sync";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/sync";
- rev = "1d60e4601c6fd243af51cc01ddf169918a5407ca";
- sha256 = "046jlanz2lkxq1r57x9bl6s4cvfqaic6p2xybsj8mq1120jv4rs6";
- };
-}{
- goPackagePath = "golang.org/x/crypto";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/crypto";
- rev = "1a580b3eff7814fc9b40602fd35256c63b50f491";
- sha256 = "11adgxc6fzcb3dxr5v2g4nk6ggrz04qnx633hzgmzfh2wv3blgv7";
- };
-}{
- goPackagePath = "golang.org/x/sys";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/sys";
- rev = "7c87d13f8e835d2fb3a70a2912c811ed0c1d241b";
- sha256 = "03fhkng37rczqwfgah5hd7d373jps3hcfx79dmky2fh62yvpcyn3";
- };
-}{
- goPackagePath = "golang.org/x/net";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/net";
- rev = "2491c5de3490fced2f6cff376127c667efeed857";
- sha256 = "1wmijnrxi9p2rv8g6clqkzdihn5ncv29j0s4s1bz9ksncdr36ll3";
- };
-}]
+[
+ {
+ goPackagePath = "github.com/alecthomas/kingpin";
+ fetch = {
+ type = "git";
+ url = "https://github.com/alecthomas/kingpin";
+ rev = "a39589180ebd";
+ sha256 = "0b00bfiwl76qflnmnk3cnlaii6wxgzzdnby99cxdych4f8qmzlv3";
+ };
+ }
+ {
+ goPackagePath = "github.com/alecthomas/template";
+ fetch = {
+ type = "git";
+ url = "https://github.com/alecthomas/template";
+ rev = "a0175ee3bccc";
+ sha256 = "0qjgvvh26vk1cyfq9fadyhfgdj36f1iapbmr5xp6zqipldz8ffxj";
+ };
+ }
+ {
+ goPackagePath = "github.com/alecthomas/units";
+ fetch = {
+ type = "git";
+ url = "https://github.com/alecthomas/units";
+ rev = "2efee857e7cf";
+ sha256 = "1j65b91qb9sbrml9cpabfrcf07wmgzzghrl7809hjjhrmbzri5bl";
+ };
+ }
+ {
+ goPackagePath = "github.com/caarlos0/gohome";
+ fetch = {
+ type = "git";
+ url = "https://github.com/caarlos0/gohome";
+ rev = "75f08ebc60b1";
+ sha256 = "04950r9lzhgkksgqbnlfx0m3n7zqfif3l8fixwb7f271a880i4gz";
+ };
+ }
+ {
+ goPackagePath = "github.com/davecgh/go-spew";
+ fetch = {
+ type = "git";
+ url = "https://github.com/davecgh/go-spew";
+ rev = "v1.1.1";
+ sha256 = "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y";
+ };
+ }
+ {
+ goPackagePath = "github.com/getantibody/folder";
+ fetch = {
+ type = "git";
+ url = "https://github.com/getantibody/folder";
+ rev = "v1.0.0";
+ sha256 = "0mzc2x7897f17kj2v807d8cqzgclq9bsz2xqz81j1k85g53l513j";
+ };
+ }
+ {
+ goPackagePath = "github.com/pmezard/go-difflib";
+ fetch = {
+ type = "git";
+ url = "https://github.com/pmezard/go-difflib";
+ rev = "v1.0.0";
+ sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw";
+ };
+ }
+ {
+ goPackagePath = "github.com/stretchr/testify";
+ fetch = {
+ type = "git";
+ url = "https://github.com/stretchr/testify";
+ rev = "v1.2.2";
+ sha256 = "0dlszlshlxbmmfxj5hlwgv3r22x0y1af45gn1vd198nvvs3pnvfs";
+ };
+ }
+ {
+ goPackagePath = "golang.org/x/crypto";
+ fetch = {
+ type = "git";
+ url = "https://go.googlesource.com/crypto";
+ rev = "1a580b3eff78";
+ sha256 = "11adgxc6fzcb3dxr5v2g4nk6ggrz04qnx633hzgmzfh2wv3blgv7";
+ };
+ }
+ {
+ goPackagePath = "golang.org/x/net";
+ fetch = {
+ type = "git";
+ url = "https://go.googlesource.com/net";
+ rev = "2491c5de3490";
+ sha256 = "1wmijnrxi9p2rv8g6clqkzdihn5ncv29j0s4s1bz9ksncdr36ll3";
+ };
+ }
+ {
+ goPackagePath = "golang.org/x/sync";
+ fetch = {
+ type = "git";
+ url = "https://go.googlesource.com/sync";
+ rev = "1d60e4601c6f";
+ sha256 = "046jlanz2lkxq1r57x9bl6s4cvfqaic6p2xybsj8mq1120jv4rs6";
+ };
+ }
+ {
+ goPackagePath = "golang.org/x/sys";
+ fetch = {
+ type = "git";
+ url = "https://go.googlesource.com/sys";
+ rev = "7c87d13f8e83";
+ sha256 = "03fhkng37rczqwfgah5hd7d373jps3hcfx79dmky2fh62yvpcyn3";
+ };
+ }
+]
diff --git a/pkgs/shells/zsh/default.nix b/pkgs/shells/zsh/default.nix
index 3e4b756044b..c9a93db2d98 100644
--- a/pkgs/shells/zsh/default.nix
+++ b/pkgs/shells/zsh/default.nix
@@ -78,7 +78,7 @@ EOF
'';
license = "MIT-like";
homepage = http://www.zsh.org/;
- maintainers = with stdenv.lib.maintainers; [ chaoflow pSub ];
+ maintainers = with stdenv.lib.maintainers; [ pSub ];
platforms = stdenv.lib.platforms.unix;
};
diff --git a/pkgs/tools/admin/ansible/default.nix b/pkgs/tools/admin/ansible/default.nix
index e3916b0f8a9..58798a92b15 100644
--- a/pkgs/tools/admin/ansible/default.nix
+++ b/pkgs/tools/admin/ansible/default.nix
@@ -63,8 +63,8 @@ in rec {
};
ansible_2_7 = generic {
- version = "2.7.5";
- sha256 = "1fsif2jmkrrgiawsd8r6sxrqvh01fvrmdhas0p540a6i9fby3yda";
+ version = "2.7.6";
+ sha256 = "0f7b2ghm34ql8yv90wr0ngd6w7wyvnlcxpc3snkj86kcjsnmx1bd";
};
ansible2 = ansible_2_7;
diff --git a/pkgs/tools/admin/nomachine-client/default.nix b/pkgs/tools/admin/nomachine-client/default.nix
index 32d0e584f31..62fa8219f5a 100644
--- a/pkgs/tools/admin/nomachine-client/default.nix
+++ b/pkgs/tools/admin/nomachine-client/default.nix
@@ -1,23 +1,25 @@
{ stdenv, lib, file, fetchurl, makeWrapper,
autoPatchelfHook, jsoncpp, libpulseaudio }:
let
- versionMajor = "6.4";
- versionMinor = "6_1";
+ versionMajor = "6.5";
+ versionMinor = "6";
+ versionBuild_x86_64 = "9";
+ versionBuild_i686 = "8";
in
stdenv.mkDerivation rec {
- name = "nomachine-client-${version}";
+ pname = "nomachine-client";
version = "${versionMajor}.${versionMinor}";
src =
if stdenv.hostPlatform.system == "x86_64-linux" then
fetchurl {
- url = "https://download.nomachine.com/download/${versionMajor}/Linux/nomachine_${version}_x86_64.tar.gz";
- sha256 = "141pv277kl5ij1pmc0iadc0hnslxri2qaqvsjkmmvls4432jh0yi";
+ url = "https://download.nomachine.com/download/${versionMajor}/Linux/nomachine_${version}_${versionBuild_x86_64}_x86_64.tar.gz";
+ sha256 = "07lg5yadxpl5qfvvh067b3kxd8hm3xv95ralm2pyjl4lw6aql46p";
}
else if stdenv.hostPlatform.system == "i686-linux" then
fetchurl {
- url = "https://download.nomachine.com/download/${versionMajor}/Linux/nomachine_${version}_i686.tar.gz";
- sha256 = "0a2vi4ygw34yw8rcjhw17mqx5qbjnym4jkap8paik8lisb5mhnyj";
+ url = "https://download.nomachine.com/download/${versionMajor}/Linux/nomachine_${version}_${versionBuild_i686}_i686.tar.gz";
+ sha256 = "1a23isw09vicazkrypq0kxbb8qy2i4vxiarrgz5xmasjhiy5999a";
}
else
throw "NoMachine client is not supported on ${stdenv.hostPlatform.system}";
diff --git a/pkgs/tools/admin/virtscreen/default.nix b/pkgs/tools/admin/virtscreen/default.nix
new file mode 100644
index 00000000000..73a81fcff87
--- /dev/null
+++ b/pkgs/tools/admin/virtscreen/default.nix
@@ -0,0 +1,39 @@
+{ stdenv, fetchFromGitHub, python3Packages, x11vnc, xrandr, libGL }:
+
+python3Packages.buildPythonApplication rec {
+ pname = "virtscreen";
+ version = "0.3.1";
+
+ disabled = python3Packages.pythonOlder "3.6";
+
+ # No tests
+ doCheck = false;
+
+ src = fetchFromGitHub {
+ owner = "kbumsik";
+ repo = pname;
+ rev = version;
+ sha256 = "005qach6phz8w17k8kqmyd647c6jkfybczybxq0yxi5ik0s91a08";
+ };
+
+ propagatedBuildInputs = with python3Packages; [
+ netifaces
+ pyqt5
+ quamash
+ x11vnc
+ xrandr
+ ];
+
+ postPatch = let
+ ext = stdenv.hostPlatform.extensions.sharedLibrary; in ''
+ substituteInPlace virtscreen/__main__.py \
+ --replace "'GL'" "'${libGL}/lib/libGL${ext}'" \
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Make your iPad/tablet/computer as a secondary monitor on Linux";
+ homepage = https://github.com/kbumsik/VirtScreen;
+ license = licenses.gpl3;
+ maintainers = with maintainers; [ borisbabic ];
+ };
+}
diff --git a/pkgs/tools/archivers/afio/0001-makefile-fix-installation.patch b/pkgs/tools/archivers/afio/0001-makefile-fix-installation.patch
new file mode 100644
index 00000000000..d5299528134
--- /dev/null
+++ b/pkgs/tools/archivers/afio/0001-makefile-fix-installation.patch
@@ -0,0 +1,45 @@
+From 428c6e0eb604b63a67fda6af445c10c8ae3c1826 Mon Sep 17 00:00:00 2001
+From: Philipp Gesang
+Date: Sun, 27 Jan 2019 21:37:13 +0100
+Subject: [PATCH] makefile: fix installation
+
+- comment hard-coded $(CC)
+- avoid full paths during install
+- set proper permissions
+---
+ Makefile | 11 ++++++++---
+ 1 file changed, 8 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 9268c6f..0797579 100644
+--- a/Makefile
++++ b/Makefile
+@@ -76,7 +76,7 @@ MW=-Wformat -Werror=format-security -Wall
+
+ CFLAGS1 = -Wall -Wstrict-prototypes -s -O2 -fomit-frame-pointer -Wno-unused-result $(LARGEFILEFLAGS) $(MW)
+
+-CC=gcc
++#CC=gcc
+
+ # also using contents of usin CPPFLAGS, CFLAGS, LDFLAGS out of environment
+ # variables, if they exist
+@@ -94,9 +94,14 @@ clean:
+ rm -f regtest/statsize regtest/statsize64
+ cd regtest; /bin/sh regtest.clean
+
++ifndef DESTDIR
++install:
++ $(error Please specify install prefix as $$DESTDIR)
++else
+ install: afio
+- cp afio /usr/local/bin
+- cp afio.1 /usr/share/man/man1
++ install -Dm755 afio $(DESTDIR)/bin/afio
++ install -Dm644 afio.1 $(DESTDIR)/share/man/man1/afio.1
++endif
+
+ # generate default list of -E extensions from manpage
+ # note: on sun, I had to change awk command below to nawk or gawk
+--
+2.18.1
+
diff --git a/pkgs/tools/archivers/afio/afio-2.5.1-install.patch b/pkgs/tools/archivers/afio/afio-2.5.1-install.patch
deleted file mode 100644
index 9fa7aacfa88..00000000000
--- a/pkgs/tools/archivers/afio/afio-2.5.1-install.patch
+++ /dev/null
@@ -1,48 +0,0 @@
---- p1/Makefile.orig 2017-02-14 21:40:20.404249126 +0100
-+++ p1/Makefile 2017-02-19 23:38:43.880414077 +0100
-@@ -66,37 +66,42 @@
- # systems the large file compile environment itself might be buggy or beta.
- #LARGEFILEFLAGS=
- LARGEFILEFLAGS=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-
- # even more warnings flags..
- MW=
- #MW=-Wtraditional -Wcast-qual -Wcast-align -Wconversion -pedantic -Wlong-long -Wimplicit -Wuninitialized -W -Wshadow -Wsign-compare -Wstrict-prototypes -Wmissing-declarations
-
- CFLAGS1 = -Wall -Wstrict-prototypes -s -O2 -fomit-frame-pointer ${LARGEFILEFLAGS} ${MW}
-
--CC=gcc
-+#CC=gcc
-
- CFLAGS = ${CFLAGS1} $1 $2 $3 $4 $5 $6 $7 $8 $9 $a $b $c $d $e ${e2} $f $g $I
- LDFLAGS =
-
- afio : afio.o compfile.o exten.o match.o $M
- ${CC} ${LDFLAGS} afio.o compfile.o exten.o match.o $M -o afio
-
- clean:
- rm -f *.o afio
- rm -f regtest/cmpstat regtest/makesparse
- rm -f regtest/statsize regtest/statsize64
- cd regtest; /bin/sh regtest.clean
-
-+ifndef DESTDIR
-+install:
-+ $(error Please specify install prefix as $$DESTDIR)
-+else
- install: afio
-- cp afio /usr/local/bin
-- cp afio.1 /usr/share/man/man1
-+ install -Dm755 afio $(DESTDIR)/bin/afio
-+ install -Dm644 afio.1 $(DESTDIR)/share/man/man1/afio.1
-+endif
-
- # generate default list of -E extensions from manpage
- # note: on sun, I had to change awk command below to nawk or gawk
- # to get it to work.
- exten_default.h : afio.1
- awk -f exten_make.awk afio.1 >exten_default.h
-
-
- afio.o : afio.h patchlevel.h
- compfile.o : afio.h
diff --git a/pkgs/tools/archivers/afio/default.nix b/pkgs/tools/archivers/afio/default.nix
index 551e38a7869..0014febf40e 100644
--- a/pkgs/tools/archivers/afio/default.nix
+++ b/pkgs/tools/archivers/afio/default.nix
@@ -1,19 +1,19 @@
{ stdenv, fetchurl } :
stdenv.mkDerivation rec {
- version = "2.5.1";
+ version = "2.5.2";
name = "afio-${version}";
src = fetchurl {
url = "http://members.chello.nl/~k.holtman/${name}.tgz";
- sha256 = "363457a5d6ee422d9b704ef56d26369ca5ee671d7209cfe799cab6e30bf2b99a";
+ sha256 = "1fa29wlqv76hzf8bxp1qpza1r23pm2f3m7rcf0jpwm6z150s2k66";
};
/*
* A patch to simplify the installation and for removing the
* hard coded dependency on GCC.
*/
- patches = [ ./afio-2.5.1-install.patch ];
+ patches = [ ./0001-makefile-fix-installation.patch ];
installFlags = "DESTDIR=$(out)";
diff --git a/pkgs/tools/audio/abcmidi/default.nix b/pkgs/tools/audio/abcmidi/default.nix
index ffea29691d6..7a6d4e6d3ab 100644
--- a/pkgs/tools/audio/abcmidi/default.nix
+++ b/pkgs/tools/audio/abcmidi/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "abcMIDI-${version}";
- version = "2019.01.01";
+ version = "2019.02.08";
src = fetchzip {
url = "https://ifdo.ca/~seymour/runabc/${name}.zip";
- sha256 = "10kqxw4vrz7xa8fc9z5cdyrvks8fsr2s9nai9yg1z9p5w7xhagrg";
+ sha256 = "14j2vgcck7c6x8bplhfng7mmqcmh7h98jggi30d5xa0anx1271sb";
};
# There is also a file called "makefile" which seems to be preferred by the standard build phase
diff --git a/pkgs/tools/backup/burp/default.nix b/pkgs/tools/backup/burp/default.nix
index 4133478dbf9..8aa2d015205 100644
--- a/pkgs/tools/backup/burp/default.nix
+++ b/pkgs/tools/backup/burp/default.nix
@@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
name = "burp-${version}";
- version = "2.1.32";
+ version = "2.2.18";
src = fetchFromGitHub {
owner = "grke";
repo = "burp";
rev = version;
- sha256 = "1izs5vavffvj6z478s5x1shg71p2v5bnnrsam1avs21ylxbfnxi5";
+ sha256 = "1zhq240kz881vs2s620qp0kifmgr582caalm85ls789w9rmdkhjl";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
diff --git a/pkgs/tools/backup/dirvish/default.nix b/pkgs/tools/backup/dirvish/default.nix
new file mode 100644
index 00000000000..829dca52dfe
--- /dev/null
+++ b/pkgs/tools/backup/dirvish/default.nix
@@ -0,0 +1,62 @@
+{ fetchurl, stdenv, makeWrapper, perl, rsync, perlPackages }:
+
+stdenv.mkDerivation rec {
+ name = "dirvish-1.2.1";
+ src = fetchurl {
+ url = "http://dirvish.org/${name}.tgz";
+ sha256 = "6b7f29c3541448db3d317607bda3eb9bac9fb3c51f970611ffe27e9d63507dcd";
+ };
+
+ nativeBuildInputs = [ makeWrapper ];
+ buildInputs = [ perl ] ++ (with perlPackages; [ GetoptLong TimeParseDate TimePeriod ]);
+
+ executables = [ "dirvish" "dirvish-runall" "dirvish-expire" "dirvish-locate" ];
+ manpages = [ "dirvish.8" "dirvish-runall.8" "dirvish-expire.8" "dirvish-locate.8" "dirvish.conf.5" ];
+
+ buildPhase = ''
+ HEADER="#!${perl}/bin/perl
+
+ \$CONFDIR = \"/etc/dirvish\";
+
+ "
+
+ for executable in $executables; do
+ (
+ echo "$HEADER"
+ cat $executable.pl loadconfig.pl
+ ) > $executable
+ chmod +x $executable
+ done
+ '';
+
+ installPhase = ''
+ mkdir -p $out/bin
+ cp --target-directory=$out/bin $executables
+
+ for manpage in $manpages; do
+ if [[ $manpage =~ \.([[:digit:]]+)$ ]]; then
+ section=''${BASH_REMATCH[1]}
+ mkdir -p $out/man/man$section
+ cp --target-directory=$out/man/man$section $manpage
+ else
+ echo "Couldn't determine man page section by filename"
+ exit 1
+ fi
+ done
+ '';
+
+ postFixup = ''
+ for executable in $executables; do
+ wrapProgram $out/bin/$executable \
+ --set PERL5LIB "$PERL5LIB"
+ done
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Dirvish is a fast, disk based, rotating network backup system";
+ homepage = http://dirvish.org/;
+ license = stdenv.lib.licenses.osl2;
+ platforms = platforms.linux;
+ maintainers = [ maintainers.winpat ];
+ };
+}
diff --git a/pkgs/tools/filesystems/cryfs/default.nix b/pkgs/tools/filesystems/cryfs/default.nix
index dfd522f5a09..4e2f8eaf5c9 100644
--- a/pkgs/tools/filesystems/cryfs/default.nix
+++ b/pkgs/tools/filesystems/cryfs/default.nix
@@ -5,13 +5,13 @@
stdenv.mkDerivation rec {
name = "cryfs-${version}";
- version = "0.9.9";
+ version = "0.9.10";
src = fetchFromGitHub {
owner = "cryfs";
repo = "cryfs";
rev = "${version}";
- sha256 = "07f2k2b595m3vkwwlmlc0m7px0nwrrzrph3z6sss9354m0b0lcri";
+ sha256 = "04yqpad8x0hiiwpykcn3swi0py6sg9xid6g15ny2qs4j3llin5ry";
};
prePatch = ''
diff --git a/pkgs/tools/filesystems/gcsfuse/default.nix b/pkgs/tools/filesystems/gcsfuse/default.nix
index 215f02ccdd4..ccc5f1f2d4a 100644
--- a/pkgs/tools/filesystems/gcsfuse/default.nix
+++ b/pkgs/tools/filesystems/gcsfuse/default.nix
@@ -16,7 +16,7 @@ buildGoPackage rec {
meta = {
license = lib.licenses.asl20;
- platforms = lib.platforms.linux;
+ platforms = lib.platforms.unix;
maintainers = [];
homepage = https://cloud.google.com/storage/docs/gcs-fuse;
description =
diff --git a/pkgs/tools/filesystems/netatalk/default.nix b/pkgs/tools/filesystems/netatalk/default.nix
index 797ce40a561..42889714e92 100644
--- a/pkgs/tools/filesystems/netatalk/default.nix
+++ b/pkgs/tools/filesystems/netatalk/default.nix
@@ -4,11 +4,11 @@
}:
stdenv.mkDerivation rec{
- name = "netatalk-3.1.11";
+ name = "netatalk-3.1.12";
src = fetchurl {
url = "mirror://sourceforge/netatalk/netatalk/${name}.tar.bz2";
- sha256 = "3434472ba96d3bbe3b024274438daad83b784ced720f7662a4c1d0a1078799a6";
+ sha256 = "1ld5mnz88ixic21m6f0xcgf8v6qm08j6xabh1dzfj6x47lxghq0m";
};
patches = [
diff --git a/pkgs/tools/filesystems/nixpart/0.4/cryptsetup.nix b/pkgs/tools/filesystems/nixpart/0.4/cryptsetup.nix
index 9fe4f90f258..b5f3a2f3e1f 100644
--- a/pkgs/tools/filesystems/nixpart/0.4/cryptsetup.nix
+++ b/pkgs/tools/filesystems/nixpart/0.4/cryptsetup.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
homepage = http://code.google.com/p/cryptsetup/;
description = "LUKS for dm-crypt";
license = stdenv.lib.licenses.gpl2;
- maintainers = with stdenv.lib.maintainers; [ chaoflow ];
+ maintainers = with stdenv.lib.maintainers; [ ];
platforms = with stdenv.lib.platforms; linux;
};
}
diff --git a/pkgs/tools/graphics/graph-easy/default.nix b/pkgs/tools/graphics/graph-easy/default.nix
index c21fc02753e..63d3e60e206 100644
--- a/pkgs/tools/graphics/graph-easy/default.nix
+++ b/pkgs/tools/graphics/graph-easy/default.nix
@@ -11,7 +11,7 @@ perlPackages.buildPerlPackage rec {
meta = with stdenv.lib; {
description = "Render/convert graphs in/from various formats";
license = licenses.gpl1;
- platforms = platforms.linux;
+ platforms = platforms.unix;
maintainers = [ maintainers.jensbin ];
};
}
diff --git a/pkgs/tools/graphics/gromit-mpx/default.nix b/pkgs/tools/graphics/gromit-mpx/default.nix
index 48d40ac4965..1d3a8b26aae 100644
--- a/pkgs/tools/graphics/gromit-mpx/default.nix
+++ b/pkgs/tools/graphics/gromit-mpx/default.nix
@@ -1,11 +1,11 @@
-{ stdenv, fetchFromGitHub, autoreconfHook, autoconf, automake, pkgconfig
+{ stdenv, fetchFromGitHub, cmake, pkgconfig
, gtk, glib, pcre, libappindicator, libpthreadstubs, libXdmcp
, libxkbcommon, epoxy, at-spi2-core, dbus, libdbusmenu
}:
stdenv.mkDerivation rec {
name = "gromit-mpx-${version}";
- version = "1.2";
+ version = "1.3";
src = fetchFromGitHub {
owner = "bk138";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
- autoconf automake autoreconfHook
+ cmake
gtk glib pcre libappindicator libpthreadstubs
libXdmcp libxkbcommon epoxy at-spi2-core
dbus libdbusmenu
diff --git a/pkgs/tools/misc/aptly/default.nix b/pkgs/tools/misc/aptly/default.nix
index 27ee38b3417..4571ee24fba 100644
--- a/pkgs/tools/misc/aptly/default.nix
+++ b/pkgs/tools/misc/aptly/default.nix
@@ -41,7 +41,7 @@ buildGoPackage {
homepage = https://www.aptly.info;
description = "Debian repository management tool";
license = licenses.mit;
- platforms = platforms.linux;
+ platforms = platforms.unix;
maintainers = [ maintainers.montag451 ];
};
}
diff --git a/pkgs/tools/misc/automirror/default.nix b/pkgs/tools/misc/automirror/default.nix
new file mode 100644
index 00000000000..3fd52051357
--- /dev/null
+++ b/pkgs/tools/misc/automirror/default.nix
@@ -0,0 +1,27 @@
+{stdenv, fetchFromGitHub, git, ronn}:
+
+stdenv.mkDerivation rec {
+ name = "${pname}-${version}";
+ pname = "automirror";
+ version = "49";
+
+ src = fetchFromGitHub {
+ owner = "schlomo";
+ repo = "automirror";
+ rev = "v${version}";
+ sha256 = "1syyf7dcm8fbyw31cpgmacg80h7pg036dayaaf0svvdsk0hqlsch";
+ };
+
+ patchPhase = "sed -i s#/usr##g Makefile";
+
+ buildInputs = [ git ronn ];
+
+ installFlags = "DESTDIR=$(out)";
+
+ meta = with stdenv.lib; {
+ homepage = https://github.com/schlomo/automirror;
+ description = "Automatic Display Mirror";
+ license = licenses.gpl3;
+ platforms = platforms.all;
+ };
+}
diff --git a/pkgs/tools/misc/bdf2psf/default.nix b/pkgs/tools/misc/bdf2psf/default.nix
index 1b179d32870..cc872ff5339 100644
--- a/pkgs/tools/misc/bdf2psf/default.nix
+++ b/pkgs/tools/misc/bdf2psf/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "bdf2psf-${version}";
- version = "1.188";
+ version = "1.189";
src = fetchurl {
url = "mirror://debian/pool/main/c/console-setup/bdf2psf_${version}_all.deb";
- sha256 = "1g9i50a3x9p7kbyjg7z8xgxcknqxkxvzb0gg2jl2zgwjsyvjy5wn";
+ sha256 = "0i4q4qdf5w96wkhc5lb2h7mdj0wfzqr3a265jp4wzyzgybayfz33";
};
buildInputs = [ dpkg ];
diff --git a/pkgs/tools/misc/dasht/default.nix b/pkgs/tools/misc/dasht/default.nix
new file mode 100644
index 00000000000..e1286820797
--- /dev/null
+++ b/pkgs/tools/misc/dasht/default.nix
@@ -0,0 +1,64 @@
+{ stdenv
+, lib
+, fetchFromGitHub
+, makeWrapper
+, coreutils
+, gnused
+, gnugrep
+, sqlite
+, wget
+, w3m
+, socat
+, gawk
+}:
+
+stdenv.mkDerivation rec {
+ pname = "dasht";
+ version = "2.3.0";
+
+ src = fetchFromGitHub {
+ owner = "sunaku";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "0d0pcjalba58nvxdgn39m4b6n9ifajf3ygyjaqgvzwxzgpzw0a60";
+ };
+
+ deps = lib.makeBinPath [
+ coreutils
+ gnused
+ gnugrep
+ sqlite
+ wget
+ w3m
+ socat
+ gawk
+ (placeholder "out")
+ ];
+
+ nativeBuildInputs = [ makeWrapper ];
+
+ installPhase = ''
+ runHook preInstall
+
+ mkdir -p $out/bin
+ cp bin/* $out/bin/
+
+ mkdir -p $out/share/man/man1
+ cp man/man1/* $out/share/man/man1/
+
+ for i in $out/bin/*; do
+ echo "Wrapping $i"
+ wrapProgram $i --prefix PATH : ${deps};
+ done;
+
+ runHook postInstall
+ '';
+
+ meta = {
+ description = "Search API docs offline, in terminal or browser";
+ homepage = "https://sunaku.github.io/dasht/man";
+ license = stdenv.lib.licenses.isc;
+ platforms = stdenv.lib.platforms.unix; #cannot test other
+ maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ];
+ };
+}
diff --git a/pkgs/tools/misc/dtach/default.nix b/pkgs/tools/misc/dtach/default.nix
index 0367ab53835..c50e3adb6ab 100644
--- a/pkgs/tools/misc/dtach/default.nix
+++ b/pkgs/tools/misc/dtach/default.nix
@@ -30,6 +30,6 @@ stdenv.mkDerivation rec {
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.unix;
- maintainers = [ stdenv.lib.maintainers.chaoflow ];
+ maintainers = [ ];
};
}
diff --git a/pkgs/tools/misc/execline/default.nix b/pkgs/tools/misc/execline/default.nix
index f0dc3ab6460..770f4ae67f4 100644
--- a/pkgs/tools/misc/execline/default.nix
+++ b/pkgs/tools/misc/execline/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, skawarePackages }:
+{ stdenv, skawarePackages, makeWrapper }:
with skawarePackages;
@@ -11,6 +11,8 @@ buildPackage {
outputs = [ "bin" "lib" "dev" "doc" "out" ];
+ setupHooks = [ makeWrapper ];
+
# TODO: nsss support
configureFlags = [
"--libdir=\${lib}/lib"
@@ -30,6 +32,11 @@ buildPackage {
mv doc $doc/share/doc/execline/html
mv examples $doc/share/doc/execline/examples
+
+ # finally, add all tools to PATH so they are available
+ # from within execlineb scripts by default
+ wrapProgram $bin/bin/execlineb \
+ --suffix PATH : $bin/bin
'';
}
diff --git a/pkgs/tools/misc/fltrdr/default.nix b/pkgs/tools/misc/fltrdr/default.nix
new file mode 100644
index 00000000000..3d99a0e27e3
--- /dev/null
+++ b/pkgs/tools/misc/fltrdr/default.nix
@@ -0,0 +1,40 @@
+{ stdenv
+, fetchFromGitHub
+, cmake
+}:
+
+stdenv.mkDerivation rec {
+ name = "fltrdr-${version}";
+ version = "0.1.1";
+
+ src = fetchFromGitHub {
+ repo = "fltrdr";
+ owner = "octobanana";
+ rev = "${version}";
+ sha256 = "1gglv7hwszk09ywjq6s169cdzr77sjklj89k5p24if24v93yffpf";
+ };
+
+ nativeBuildInputs = [ cmake ];
+
+ enableParallelBuilding = true;
+
+ meta = with stdenv.lib; {
+ homepage = https://octobanana.com/software/fltrdr;
+ description = "A TUI text reader for the terminal";
+
+ longDescription = ''
+ Fltrdr, or flat-reader, is an interactive text reader for the terminal. It
+ is flat in the sense that the reader is word-based. It creates a
+ horizontal stream of words, ignoring all newline characters and reducing
+ extra whitespace. Its purpose is to facilitate reading, scanning, and
+ searching text. The program has a play mode that moves the reader forward
+ one word at a time, along with a configurable words per minute (WPM),
+ setting.
+ '';
+
+ platforms = platforms.linux; # can only test linux
+ license = licenses.mit;
+ maintainers = [ maintainers.matthiasbeyer ];
+ };
+}
+
diff --git a/pkgs/tools/misc/fluentd/Gemfile b/pkgs/tools/misc/fluentd/Gemfile
index 2c4fbc84963..3933eb13180 100644
--- a/pkgs/tools/misc/fluentd/Gemfile
+++ b/pkgs/tools/misc/fluentd/Gemfile
@@ -11,4 +11,3 @@ gem 'fluent-plugin-scribe'
gem 'fluent-plugin-mongo'
gem 'fluent-plugin-webhdfs'
gem 'fluent-plugin-rewrite-tag-filter'
-
diff --git a/pkgs/tools/misc/fluentd/Gemfile.lock b/pkgs/tools/misc/fluentd/Gemfile.lock
index 2f9485d9577..d5f78e807ff 100644
--- a/pkgs/tools/misc/fluentd/Gemfile.lock
+++ b/pkgs/tools/misc/fluentd/Gemfile.lock
@@ -1,121 +1,678 @@
GEM
remote: https://rubygems.org/
specs:
- activesupport (5.0.1)
- concurrent-ruby (~> 1.0, >= 1.0.2)
- i18n (~> 0.7)
- minitest (~> 5.1)
- tzinfo (~> 1.1)
- addressable (2.5.0)
- public_suffix (~> 2.0, >= 2.0.2)
- aws-sdk (2.7.0)
- aws-sdk-resources (= 2.7.0)
- aws-sdk-core (2.7.0)
+ addressable (2.5.2)
+ public_suffix (>= 2.0.2, < 4.0)
+ aws-eventstream (1.0.1)
+ aws-partitions (1.96.0)
+ aws-sdk (3.0.1)
+ aws-sdk-resources (~> 3)
+ aws-sdk-acm (1.9.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-acmpca (1.2.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-alexaforbusiness (1.6.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-apigateway (1.13.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-applicationautoscaling (1.11.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-applicationdiscoveryservice (1.2.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-appstream (1.13.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-appsync (1.4.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-athena (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-autoscaling (1.6.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-autoscalingplans (1.3.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-batch (1.5.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-budgets (1.8.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-cloud9 (1.2.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-clouddirectory (1.5.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-cloudformation (1.6.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-cloudfront (1.4.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-cloudhsm (1.4.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-cloudhsmv2 (1.2.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-cloudsearch (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-cloudsearchdomain (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-cloudtrail (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-cloudwatch (1.6.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-cloudwatchevents (1.4.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-cloudwatchlogs (1.4.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-codebuild (1.12.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-codecommit (1.4.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-codedeploy (1.6.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-codepipeline (1.5.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-codestar (1.2.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-cognitoidentity (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-cognitoidentityprovider (1.5.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-cognitosync (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-comprehend (1.2.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-configservice (1.12.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-connect (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-core (3.22.1)
+ aws-eventstream (~> 1.0)
+ aws-partitions (~> 1.0)
aws-sigv4 (~> 1.0)
jmespath (~> 1.0)
- aws-sdk-resources (2.7.0)
- aws-sdk-core (= 2.7.0)
- aws-sigv4 (1.0.0)
- bson (1.12.5)
- bzip2-ffi (1.0.0)
- ffi (~> 1.0)
- concurrent-ruby (1.0.4)
- cool.io (1.4.5)
- elasticsearch (1.0.18)
- elasticsearch-api (= 1.0.18)
- elasticsearch-transport (= 1.0.18)
- elasticsearch-api (1.0.18)
+ aws-sdk-costandusagereportservice (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-costexplorer (1.7.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-databasemigrationservice (1.7.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-datapipeline (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-dax (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-devicefarm (1.7.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-directconnect (1.2.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-directoryservice (1.3.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-dlm (1.0.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-dynamodb (1.8.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-dynamodbstreams (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-ec2 (1.38.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-ecr (1.4.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-ecs (1.15.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-efs (1.2.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-eks (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-elasticache (1.4.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-elasticbeanstalk (1.8.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-elasticloadbalancing (1.3.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-elasticloadbalancingv2 (1.11.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-elasticsearchservice (1.6.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-elastictranscoder (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-emr (1.3.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-firehose (1.4.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-fms (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-gamelift (1.5.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-glacier (1.8.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-glue (1.10.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-greengrass (1.4.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-guardduty (1.5.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-health (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-iam (1.6.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-importexport (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv2 (~> 1.0)
+ aws-sdk-inspector (1.5.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-iot (1.9.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-iot1clickdevicesservice (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-iot1clickprojects (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-iotanalytics (1.2.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-iotdataplane (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-iotjobsdataplane (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-kinesis (1.3.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-kinesisanalytics (1.3.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-kinesisvideo (1.2.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-kinesisvideoarchivedmedia (1.2.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-kinesisvideomedia (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-kms (1.6.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-lambda (1.8.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-lambdapreview (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-lex (1.4.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-lexmodelbuildingservice (1.6.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-lightsail (1.5.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-machinelearning (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-macie (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-marketplacecommerceanalytics (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-marketplaceentitlementservice (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-marketplacemetering (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-mediaconvert (1.5.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-medialive (1.8.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-mediapackage (1.2.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-mediastore (1.2.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-mediastoredata (1.2.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-mediatailor (1.2.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-migrationhub (1.3.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-mobile (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-mq (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-mturk (1.4.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-neptune (1.2.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-opsworks (1.4.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-opsworkscm (1.3.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-organizations (1.10.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-pi (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-pinpoint (1.6.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-polly (1.6.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-pricing (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-rds (1.23.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-redshift (1.5.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-rekognition (1.5.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-resourcegroups (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-resourcegroupstaggingapi (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-resources (3.22.0)
+ aws-sdk-acm (~> 1)
+ aws-sdk-acmpca (~> 1)
+ aws-sdk-alexaforbusiness (~> 1)
+ aws-sdk-apigateway (~> 1)
+ aws-sdk-applicationautoscaling (~> 1)
+ aws-sdk-applicationdiscoveryservice (~> 1)
+ aws-sdk-appstream (~> 1)
+ aws-sdk-appsync (~> 1)
+ aws-sdk-athena (~> 1)
+ aws-sdk-autoscaling (~> 1)
+ aws-sdk-autoscalingplans (~> 1)
+ aws-sdk-batch (~> 1)
+ aws-sdk-budgets (~> 1)
+ aws-sdk-cloud9 (~> 1)
+ aws-sdk-clouddirectory (~> 1)
+ aws-sdk-cloudformation (~> 1)
+ aws-sdk-cloudfront (~> 1)
+ aws-sdk-cloudhsm (~> 1)
+ aws-sdk-cloudhsmv2 (~> 1)
+ aws-sdk-cloudsearch (~> 1)
+ aws-sdk-cloudsearchdomain (~> 1)
+ aws-sdk-cloudtrail (~> 1)
+ aws-sdk-cloudwatch (~> 1)
+ aws-sdk-cloudwatchevents (~> 1)
+ aws-sdk-cloudwatchlogs (~> 1)
+ aws-sdk-codebuild (~> 1)
+ aws-sdk-codecommit (~> 1)
+ aws-sdk-codedeploy (~> 1)
+ aws-sdk-codepipeline (~> 1)
+ aws-sdk-codestar (~> 1)
+ aws-sdk-cognitoidentity (~> 1)
+ aws-sdk-cognitoidentityprovider (~> 1)
+ aws-sdk-cognitosync (~> 1)
+ aws-sdk-comprehend (~> 1)
+ aws-sdk-configservice (~> 1)
+ aws-sdk-connect (~> 1)
+ aws-sdk-costandusagereportservice (~> 1)
+ aws-sdk-costexplorer (~> 1)
+ aws-sdk-databasemigrationservice (~> 1)
+ aws-sdk-datapipeline (~> 1)
+ aws-sdk-dax (~> 1)
+ aws-sdk-devicefarm (~> 1)
+ aws-sdk-directconnect (~> 1)
+ aws-sdk-directoryservice (~> 1)
+ aws-sdk-dlm (~> 1)
+ aws-sdk-dynamodb (~> 1)
+ aws-sdk-dynamodbstreams (~> 1)
+ aws-sdk-ec2 (~> 1)
+ aws-sdk-ecr (~> 1)
+ aws-sdk-ecs (~> 1)
+ aws-sdk-efs (~> 1)
+ aws-sdk-eks (~> 1)
+ aws-sdk-elasticache (~> 1)
+ aws-sdk-elasticbeanstalk (~> 1)
+ aws-sdk-elasticloadbalancing (~> 1)
+ aws-sdk-elasticloadbalancingv2 (~> 1)
+ aws-sdk-elasticsearchservice (~> 1)
+ aws-sdk-elastictranscoder (~> 1)
+ aws-sdk-emr (~> 1)
+ aws-sdk-firehose (~> 1)
+ aws-sdk-fms (~> 1)
+ aws-sdk-gamelift (~> 1)
+ aws-sdk-glacier (~> 1)
+ aws-sdk-glue (~> 1)
+ aws-sdk-greengrass (~> 1)
+ aws-sdk-guardduty (~> 1)
+ aws-sdk-health (~> 1)
+ aws-sdk-iam (~> 1)
+ aws-sdk-importexport (~> 1)
+ aws-sdk-inspector (~> 1)
+ aws-sdk-iot (~> 1)
+ aws-sdk-iot1clickdevicesservice (~> 1)
+ aws-sdk-iot1clickprojects (~> 1)
+ aws-sdk-iotanalytics (~> 1)
+ aws-sdk-iotdataplane (~> 1)
+ aws-sdk-iotjobsdataplane (~> 1)
+ aws-sdk-kinesis (~> 1)
+ aws-sdk-kinesisanalytics (~> 1)
+ aws-sdk-kinesisvideo (~> 1)
+ aws-sdk-kinesisvideoarchivedmedia (~> 1)
+ aws-sdk-kinesisvideomedia (~> 1)
+ aws-sdk-kms (~> 1)
+ aws-sdk-lambda (~> 1)
+ aws-sdk-lambdapreview (~> 1)
+ aws-sdk-lex (~> 1)
+ aws-sdk-lexmodelbuildingservice (~> 1)
+ aws-sdk-lightsail (~> 1)
+ aws-sdk-machinelearning (~> 1)
+ aws-sdk-macie (~> 1)
+ aws-sdk-marketplacecommerceanalytics (~> 1)
+ aws-sdk-marketplaceentitlementservice (~> 1)
+ aws-sdk-marketplacemetering (~> 1)
+ aws-sdk-mediaconvert (~> 1)
+ aws-sdk-medialive (~> 1)
+ aws-sdk-mediapackage (~> 1)
+ aws-sdk-mediastore (~> 1)
+ aws-sdk-mediastoredata (~> 1)
+ aws-sdk-mediatailor (~> 1)
+ aws-sdk-migrationhub (~> 1)
+ aws-sdk-mobile (~> 1)
+ aws-sdk-mq (~> 1)
+ aws-sdk-mturk (~> 1)
+ aws-sdk-neptune (~> 1)
+ aws-sdk-opsworks (~> 1)
+ aws-sdk-opsworkscm (~> 1)
+ aws-sdk-organizations (~> 1)
+ aws-sdk-pi (~> 1)
+ aws-sdk-pinpoint (~> 1)
+ aws-sdk-polly (~> 1)
+ aws-sdk-pricing (~> 1)
+ aws-sdk-rds (~> 1)
+ aws-sdk-redshift (~> 1)
+ aws-sdk-rekognition (~> 1)
+ aws-sdk-resourcegroups (~> 1)
+ aws-sdk-resourcegroupstaggingapi (~> 1)
+ aws-sdk-route53 (~> 1)
+ aws-sdk-route53domains (~> 1)
+ aws-sdk-s3 (~> 1)
+ aws-sdk-sagemaker (~> 1)
+ aws-sdk-sagemakerruntime (~> 1)
+ aws-sdk-secretsmanager (~> 1)
+ aws-sdk-serverlessapplicationrepository (~> 1)
+ aws-sdk-servicecatalog (~> 1)
+ aws-sdk-servicediscovery (~> 1)
+ aws-sdk-ses (~> 1)
+ aws-sdk-shield (~> 1)
+ aws-sdk-simpledb (~> 1)
+ aws-sdk-sms (~> 1)
+ aws-sdk-snowball (~> 1)
+ aws-sdk-sns (~> 1)
+ aws-sdk-sqs (~> 1)
+ aws-sdk-ssm (~> 1)
+ aws-sdk-states (~> 1)
+ aws-sdk-storagegateway (~> 1)
+ aws-sdk-support (~> 1)
+ aws-sdk-swf (~> 1)
+ aws-sdk-transcribeservice (~> 1)
+ aws-sdk-translate (~> 1)
+ aws-sdk-waf (~> 1)
+ aws-sdk-wafregional (~> 1)
+ aws-sdk-workdocs (~> 1)
+ aws-sdk-workmail (~> 1)
+ aws-sdk-workspaces (~> 1)
+ aws-sdk-xray (~> 1)
+ aws-sdk-route53 (1.10.1)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-route53domains (1.3.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-s3 (1.17.0)
+ aws-sdk-core (~> 3, >= 3.21.2)
+ aws-sdk-kms (~> 1)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-sagemaker (1.11.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-sagemakerruntime (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-secretsmanager (1.10.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-serverlessapplicationrepository (1.4.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-servicecatalog (1.6.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-servicediscovery (1.3.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-ses (1.8.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-shield (1.3.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-simpledb (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv2 (~> 1.0)
+ aws-sdk-sms (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-snowball (1.3.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-sns (1.3.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-sqs (1.4.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-ssm (1.18.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-states (1.3.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-storagegateway (1.6.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-support (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-swf (1.1.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-transcribeservice (1.3.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-translate (1.2.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-waf (1.5.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-wafregional (1.5.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-workdocs (1.2.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-workmail (1.2.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-workspaces (1.3.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sdk-xray (1.3.0)
+ aws-sdk-core (~> 3)
+ aws-sigv4 (~> 1.0)
+ aws-sigv2 (1.0.1)
+ aws-sigv4 (1.0.3)
+ bson (4.3.0)
+ cool.io (1.5.3)
+ dig_rb (1.0.1)
+ elasticsearch (6.1.0)
+ elasticsearch-api (= 6.1.0)
+ elasticsearch-transport (= 6.1.0)
+ elasticsearch-api (6.1.0)
multi_json
- elasticsearch-transport (1.0.18)
+ elasticsearch-transport (6.1.0)
faraday
multi_json
- excon (0.54.0)
- faraday (0.11.0)
+ excon (0.62.0)
+ faraday (0.15.2)
multipart-post (>= 1.2, < 3)
- ffi (1.9.17)
- fluent-mixin-config-placeholders (0.4.0)
- fluentd
- uuidtools (>= 2.1.5)
- fluent-mixin-plaintextformatter (0.2.6)
- fluentd
- ltsv
- fluent-plugin-elasticsearch (1.9.2)
- elasticsearch (< 1.1)
+ fluent-config-regexp-type (1.0.0)
+ fluentd (> 1.0.0, < 2)
+ fluent-plugin-elasticsearch (2.11.1)
+ elasticsearch
excon
- fluentd (>= 0.10.43)
- fluent-plugin-kafka (0.5.0)
+ fluentd (>= 0.14.20)
+ fluent-plugin-kafka (0.7.4)
fluentd (>= 0.10.58, < 2)
ltsv
- ruby-kafka (= 0.3.16.beta2)
- fluent-plugin-kinesis (1.1.2)
- aws-sdk (~> 2)
- concurrent-ruby (~> 1)
- fluentd (>= 0.10.58, < 2)
- os (>= 0.9.6)
- protobuf (>= 3.5.5)
- fluent-plugin-mongo (0.7.16)
- fluentd (>= 0.10.58, < 2)
- mongo (~> 1.9)
- fluent-plugin-record-reformer (0.8.2)
+ ruby-kafka (>= 0.4.1, < 1.0.0)
+ fluent-plugin-kinesis (2.1.1)
+ aws-sdk (>= 2.9.9, < 4)
+ fluentd (>= 0.12.35, < 2)
+ google-protobuf (~> 3)
+ fluent-plugin-mongo (1.1.1)
+ fluentd (>= 0.14.12, < 2)
+ mongo (~> 2.2.0)
+ fluent-plugin-record-reformer (0.9.1)
fluentd
- fluent-plugin-rewrite-tag-filter (1.5.5)
- fluentd
- fluent-plugin-s3 (0.8.0)
- aws-sdk (>= 2.3.22, < 3)
- fluentd (>= 0.10.58, < 2)
+ fluent-plugin-rewrite-tag-filter (2.1.0)
+ fluent-config-regexp-type
+ fluentd (>= 0.14.2, < 2)
+ fluent-plugin-s3 (1.1.3)
+ aws-sdk-s3 (~> 1.0)
+ aws-sdk-sqs (~> 1.0)
+ fluentd (>= 0.14.2, < 2)
fluent-plugin-scribe (0.10.14)
fluentd
thrift (~> 0.8.0)
- fluent-plugin-webhdfs (0.5.2)
- bzip2-ffi
- fluent-mixin-config-placeholders (>= 0.3.0)
- fluent-mixin-plaintextformatter (>= 0.2.1)
- fluentd (>= 0.10.59)
+ fluent-plugin-webhdfs (1.2.3)
+ fluentd (>= 0.14.4)
webhdfs (>= 0.6.0)
- fluentd (0.14.11)
- cool.io (~> 1.4.5)
+ fluentd (1.2.3)
+ cool.io (>= 1.4.5, < 2.0.0)
+ dig_rb (~> 1.0.0)
http_parser.rb (>= 0.5.1, < 0.7.0)
msgpack (>= 0.7.0, < 2.0.0)
serverengine (>= 2.0.4, < 3.0.0)
sigdump (~> 0.2.2)
- strptime (~> 0.1.7)
+ strptime (>= 0.2.2, < 1.0.0)
tzinfo (~> 1.0)
tzinfo-data (~> 1.0)
yajl-ruby (~> 1.0)
+ google-protobuf (3.6.0)
http_parser.rb (0.6.0)
- i18n (0.7.0)
- jmespath (1.3.1)
+ jmespath (1.4.0)
ltsv (0.1.0)
- middleware (0.1.0)
- minitest (5.10.1)
- mongo (1.12.5)
- bson (= 1.12.5)
- msgpack (1.0.2)
- multi_json (1.12.1)
+ mongo (2.2.7)
+ bson (~> 4.0)
+ msgpack (1.2.4)
+ multi_json (1.13.1)
multipart-post (2.0.0)
- os (0.9.6)
- protobuf (3.6.12)
- activesupport (>= 3.2)
- middleware
- thor
- thread_safe
- public_suffix (2.0.5)
- ruby-kafka (0.3.16.beta2)
- serverengine (2.0.4)
+ public_suffix (3.0.2)
+ ruby-kafka (0.6.7)
+ serverengine (2.0.7)
sigdump (~> 0.2.2)
sigdump (0.2.4)
- strptime (0.1.9)
- thor (0.19.4)
- thread_safe (0.3.5)
+ strptime (0.2.3)
+ thread_safe (0.3.6)
thrift (0.8.0)
- tzinfo (1.2.2)
+ tzinfo (1.2.5)
thread_safe (~> 0.1)
- tzinfo-data (1.2016.10)
+ tzinfo-data (1.2018.5)
tzinfo (>= 1.0.0)
- uuidtools (2.1.5)
webhdfs (0.8.0)
addressable
- yajl-ruby (1.3.0)
+ yajl-ruby (1.4.0)
PLATFORMS
ruby
@@ -133,4 +690,4 @@ DEPENDENCIES
fluentd
BUNDLED WITH
- 1.12.5
+ 1.16.2
diff --git a/pkgs/tools/misc/fluentd/gemset.nix b/pkgs/tools/misc/fluentd/gemset.nix
index 1c508e7b58e..8a3c212d055 100644
--- a/pkgs/tools/misc/fluentd/gemset.nix
+++ b/pkgs/tools/misc/fluentd/gemset.nix
@@ -1,205 +1,1510 @@
{
- activesupport = {
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "08bnl0nr9csjgkgz6xf8dyg7rccinmfrmn235z3bfaz8ihz15d1d";
- type = "gem";
- };
- version = "5.0.1";
- };
addressable = {
+ dependencies = ["public_suffix"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1j5r0anj8m4qlf2psnldip4b8ha2bsscv11lpdgnfh4nnchzjnxw";
+ sha256 = "0viqszpkggqi8hq87pqp0xykhvz60g99nwmkwsb0v45kc2liwxvk";
type = "gem";
};
- version = "2.5.0";
+ version = "2.5.2";
+ };
+ aws-eventstream = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0gdiwkg24jpx5f3bkw6vchgliicn6v9bpm09j0dldaxsca66q0wy";
+ type = "gem";
+ };
+ version = "1.0.1";
+ };
+ aws-partitions = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1gqkj0fq1rlrsfr1s3dgrhz4dikxlkrbrkp0i2013aa3lcsm8hqm";
+ type = "gem";
+ };
+ version = "1.96.0";
};
aws-sdk = {
+ dependencies = ["aws-sdk-resources"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "19s7ialas1yrc54g50yfa37z7m8dq4gqbf8dvlfg8qmpdijjxy3l";
+ sha256 = "0z01jdka7akshp524xprqaakpavzjadh0kmwmz8mwk5i1yiakba3";
type = "gem";
};
- version = "2.7.0";
+ version = "3.0.1";
+ };
+ aws-sdk-acm = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0r6m6l8jbnhcvs6xighgcpc8li8pnjr33l34fqgnbxbbkybwnhl0";
+ type = "gem";
+ };
+ version = "1.9.0";
+ };
+ aws-sdk-acmpca = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "13ggvcyijmhdwiw1ym21pxac4hf7wmndy5l5g1mmd2r6mlz08n6b";
+ type = "gem";
+ };
+ version = "1.2.0";
+ };
+ aws-sdk-alexaforbusiness = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1bn1460ga5b1nair735nf8cg4hrgh499kdwn9r75d5mjfd4yxg1s";
+ type = "gem";
+ };
+ version = "1.6.0";
+ };
+ aws-sdk-apigateway = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1v1p15lx6k9iyx226h6w9pp16frhnpl1xxwm1c0q39a5f9k7vyl7";
+ type = "gem";
+ };
+ version = "1.13.0";
+ };
+ aws-sdk-applicationautoscaling = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1sf117qwmw3qdvydr6sn70vm9ygpnr1mgqic2vc1y6s85rzfh4z2";
+ type = "gem";
+ };
+ version = "1.11.0";
+ };
+ aws-sdk-applicationdiscoveryservice = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0n770ra6d2bc23rq66x5rd2ck0c0h0ivgxcdgi7kmvkjrh09fslj";
+ type = "gem";
+ };
+ version = "1.2.0";
+ };
+ aws-sdk-appstream = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "04y4s4pkwvl72a2jzrscki68p6klh9g6vxi86whi4hsg05imj909";
+ type = "gem";
+ };
+ version = "1.13.0";
+ };
+ aws-sdk-appsync = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1kk4r6272fniq5dx50f3k0wz8pjysbvxs26jyvr5af97ayndks1n";
+ type = "gem";
+ };
+ version = "1.4.0";
+ };
+ aws-sdk-athena = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1q9igjjw0jc860dns4mh8l1bm0s1q4bpfrzkgczij5vx3rp3jpqv";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-autoscaling = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "15hvj08avacvkkrm60rdv39k58zxaqsigrlfjgfiki7vcrrqm19j";
+ type = "gem";
+ };
+ version = "1.6.0";
+ };
+ aws-sdk-autoscalingplans = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0djk1z0q92cclr0757qvphj63x20a1ygzp3c9w1ycc6b3n7j5a0r";
+ type = "gem";
+ };
+ version = "1.3.0";
+ };
+ aws-sdk-batch = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "18yr41pgl11x1vfc7w4f7n5v8vbhz4vb05q1fckqcwmwrwcqwycn";
+ type = "gem";
+ };
+ version = "1.5.0";
+ };
+ aws-sdk-budgets = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1xdwr9c0wcys9gljl2q0bvrjvlk6q676gsr2159qdh0px1s9f8cd";
+ type = "gem";
+ };
+ version = "1.8.0";
+ };
+ aws-sdk-cloud9 = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0vs7jgg1fjz0kn1772mbk55q5ia8k8045bl38wsh23yz9naf7wrb";
+ type = "gem";
+ };
+ version = "1.2.0";
+ };
+ aws-sdk-clouddirectory = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0zkbqj3nf9pdyzyk9z1xm9qkslghljhwzma10mrpg2wkic8in2zg";
+ type = "gem";
+ };
+ version = "1.5.0";
+ };
+ aws-sdk-cloudformation = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1q75h9nbhkrs3rblc5bdf2v1yamskgjkz5rlzlikpp1x08alll2x";
+ type = "gem";
+ };
+ version = "1.6.0";
+ };
+ aws-sdk-cloudfront = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0wzhhv2hnxy0h3zcbppdzym1zmsgmv6fqkdcdghh5ys9mj4wnq86";
+ type = "gem";
+ };
+ version = "1.4.0";
+ };
+ aws-sdk-cloudhsm = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1zjdql9x8cpjikjc6q4g8vmdi1xq27q7vwns8flib9cklbkb615k";
+ type = "gem";
+ };
+ version = "1.4.0";
+ };
+ aws-sdk-cloudhsmv2 = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "09pw8dgay7vrmwfjz5dzjrci1q6iqazna36d5vhp3raw4drb5q0c";
+ type = "gem";
+ };
+ version = "1.2.0";
+ };
+ aws-sdk-cloudsearch = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1k702nm5aqxhgyc2gvjx8c5abg2b004apsgwfv6pi4szcbd3c4bq";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-cloudsearchdomain = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0kc6d3dy7vdydwnhzddnfkrrdspsxzc1h91yml6jskr5p6ccc6mb";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-cloudtrail = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "11lj0qw9w7cmxwgfdwvhfx6pfx5dx3b2mcsg0fmy0k8pl18zp4rr";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-cloudwatch = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1xmpmwzra3b5gracca050zs0lrsq28sc34x7qx8c0cr05jlkjjig";
+ type = "gem";
+ };
+ version = "1.6.0";
+ };
+ aws-sdk-cloudwatchevents = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0qr2mlx7w2wb168vldm0ci7z7jf8mjmp73i50048pa6yqsn5jg42";
+ type = "gem";
+ };
+ version = "1.4.0";
+ };
+ aws-sdk-cloudwatchlogs = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "16fwk4hxycqq8kkv1asiimr5h5dcrnh22ix9z7vzg6gd3w4cx8yl";
+ type = "gem";
+ };
+ version = "1.4.0";
+ };
+ aws-sdk-codebuild = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1x88dg1ygffxlvw9hl9xj7nfvd311vic49sjwrq171ily9drd8dp";
+ type = "gem";
+ };
+ version = "1.12.0";
+ };
+ aws-sdk-codecommit = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "17xch4hwf5i7vvpq3mi6hg120jdjxw9qplhi7d48ch20w5w2nn3k";
+ type = "gem";
+ };
+ version = "1.4.0";
+ };
+ aws-sdk-codedeploy = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "18qpmbaqwnbw91hbm64fixn4dba35fhr7x770lvly885i8srbv44";
+ type = "gem";
+ };
+ version = "1.6.0";
+ };
+ aws-sdk-codepipeline = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1n0v9ml7bfdr30py24ab7jhh35ni17m2c7rr16d55sp14j6583ax";
+ type = "gem";
+ };
+ version = "1.5.0";
+ };
+ aws-sdk-codestar = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0dd3l6igidddxy4flw3wry0mv2lr559vvfafjwna7ilj3v311dz2";
+ type = "gem";
+ };
+ version = "1.2.0";
+ };
+ aws-sdk-cognitoidentity = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "014b9d7iai5sinjfs2qar3wwnhhb3cd35867jiwkqwhyga30r70p";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-cognitoidentityprovider = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0jlk4ysr1lbn94p16p7z0hr0m7pr47447g632fd0ss1hw7ap4csw";
+ type = "gem";
+ };
+ version = "1.5.0";
+ };
+ aws-sdk-cognitosync = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1d5fxq99sfwv4c7jgx65yrhxp9qg524bd8bsfamhakn0rlwi4iny";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-comprehend = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0l50mvlrarqhb7d469czi3p7rimjwzcwp52bhklxbx6lmv3il23p";
+ type = "gem";
+ };
+ version = "1.2.0";
+ };
+ aws-sdk-configservice = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "11lzxili2c17m6h8y6ngl7z7h0rf7jwwaim4dq2pdf2qi2k5mh70";
+ type = "gem";
+ };
+ version = "1.12.0";
+ };
+ aws-sdk-connect = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "15xz6v48y4nn1yrr2n8d2w0z7g52cqyjrkjxyhgdv6967yby4qw2";
+ type = "gem";
+ };
+ version = "1.1.0";
};
aws-sdk-core = {
+ dependencies = ["aws-eventstream" "aws-partitions" "aws-sigv4" "jmespath"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0a9sgff43s3zhpcmisk1bp6vvlpawa617svfhz84xwa6lmik9sp4";
+ sha256 = "1dhii8d1ra9rbh3n0v5s2p4dg5mrwj44sl0mfcan40s1crcrm3m8";
type = "gem";
};
- version = "2.7.0";
+ version = "3.22.1";
+ };
+ aws-sdk-costandusagereportservice = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "04sady26xlvkrmym4bmdbkc1d472kjlxsgr9awa205ih0bxsaffn";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-costexplorer = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1ddd92nny926ipzgmr2gg9qh64iv96cd35zwsbwn7ns8mnndxa4q";
+ type = "gem";
+ };
+ version = "1.7.0";
+ };
+ aws-sdk-databasemigrationservice = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0slj051gw3mr155cwmj67d95wywq4v14ri6xhnkfx07sqp4i8z9a";
+ type = "gem";
+ };
+ version = "1.7.0";
+ };
+ aws-sdk-datapipeline = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0r2jnvbcbqkg5k42ly1x2w4g97rl4km1m3bwjvwl7q8c9fbrzpby";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-dax = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0m6l7p2g667c54jxbdpb1zkin5damiq3x34aw5b3b88wk9nm8pfy";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-devicefarm = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "02bzffmwrbw5irg94iki16ybg0wb926vsfvd4ziv890fc8n239ya";
+ type = "gem";
+ };
+ version = "1.7.0";
+ };
+ aws-sdk-directconnect = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "03jshg8ax2cww8zvf2lvf542xllgpv38i2iqnv79y62s9a26g4l5";
+ type = "gem";
+ };
+ version = "1.2.0";
+ };
+ aws-sdk-directoryservice = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0mmjxk34gids533s2x1ay4s9zzrvad16djf1m6xib6ys9bja1x27";
+ type = "gem";
+ };
+ version = "1.3.0";
+ };
+ aws-sdk-dlm = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0j6r629wqg08zr9ndisy3d27hqj32kimlrfkigw276mnx2v507cn";
+ type = "gem";
+ };
+ version = "1.0.0";
+ };
+ aws-sdk-dynamodb = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0id29l91wpd9az9axsfmiqdwlh0qx4m1ci7fwzxm7ac6yjq4p7gr";
+ type = "gem";
+ };
+ version = "1.8.0";
+ };
+ aws-sdk-dynamodbstreams = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "03b2wrkxp9cpr0akxqgn5hss9l2yzqa7kl9j0isyh968rbdzaxla";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-ec2 = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "17144h9892pf8hn5c5lnid47q2dilyb5hxzf8pj7z3pkra5yn5aw";
+ type = "gem";
+ };
+ version = "1.38.0";
+ };
+ aws-sdk-ecr = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "01x7m60sqfdkfiif1fxknl9p97076ndwr71s5aixq688plf7zybf";
+ type = "gem";
+ };
+ version = "1.4.0";
+ };
+ aws-sdk-ecs = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "16czi8zgy8s1p0skcxwr4lcbfwp0g9c8ppbd3ymjchm75rdrg47g";
+ type = "gem";
+ };
+ version = "1.15.0";
+ };
+ aws-sdk-efs = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0fi1a99fh62ma1xy4axh5cpach3fclajd30jp8kig9bxyaspsf2c";
+ type = "gem";
+ };
+ version = "1.2.0";
+ };
+ aws-sdk-eks = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1sgyja0kdj68vcqzmckxmik7ibp4rmyiw8vl6zyp3ihkqpvwf5ns";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-elasticache = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0wy4w8gcdnn4ckyc0aa9p293fnwlv8ihyvmxflzjkigallxa23vc";
+ type = "gem";
+ };
+ version = "1.4.0";
+ };
+ aws-sdk-elasticbeanstalk = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "10f9lg288m74ssm24m7mhphi4h6km84pak0bpg7gd4rnrw4fdw1f";
+ type = "gem";
+ };
+ version = "1.8.0";
+ };
+ aws-sdk-elasticloadbalancing = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1dz9gx4c83s1qb03kqng5vh9kjihi0jv02j3ndp2z5z10cpncf3p";
+ type = "gem";
+ };
+ version = "1.3.0";
+ };
+ aws-sdk-elasticloadbalancingv2 = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1qs1gjjnvhx1ijm7mr5aa0cv7sanvm81l8kpx1y57zrpa5ikp3r7";
+ type = "gem";
+ };
+ version = "1.11.0";
+ };
+ aws-sdk-elasticsearchservice = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0zhylvqwln0vz5qhd1vj89s7fwdk330wksp206dphscmqjra0ggz";
+ type = "gem";
+ };
+ version = "1.6.0";
+ };
+ aws-sdk-elastictranscoder = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1r9waa8jksznqwvlrapf71j8ga6cjm9j6qjrssqps083kxg0sad1";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-emr = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0mkb4302iczxmn7al36f151xvjnf8v0r559p4wn6jginvgwxk48n";
+ type = "gem";
+ };
+ version = "1.3.0";
+ };
+ aws-sdk-firehose = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0yc2kvnf0hdlpfh3i51m44775vws3k84wvlhnvj68nm5jszhhx7b";
+ type = "gem";
+ };
+ version = "1.4.0";
+ };
+ aws-sdk-fms = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1lqh6pxg3ki2k539xm99p63fai8grswpkyd5nj8dl4pwsqn4xx57";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-gamelift = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0wfyq9m0dv9isdriin285daj5b90bbkrk5b0ss0awhcqwarlj29i";
+ type = "gem";
+ };
+ version = "1.5.0";
+ };
+ aws-sdk-glacier = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0vlg62v7zraz5f7h13wws9cga4sdv62v6lsfkqn2ai6n1ks80c02";
+ type = "gem";
+ };
+ version = "1.8.0";
+ };
+ aws-sdk-glue = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1rlq8hchn6dkccwdrd27lizfghmgf4lcrdcblhs14sxmwk0jzl25";
+ type = "gem";
+ };
+ version = "1.10.0";
+ };
+ aws-sdk-greengrass = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "05cjp6jvcnzg3jxwcggg31l0sqb743b6x66230nb5ahf7l8sq4fx";
+ type = "gem";
+ };
+ version = "1.4.0";
+ };
+ aws-sdk-guardduty = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0l2fbhm1d5mgkvrz8jgny2zcd4zzijwy8s4f4p91kn22m1s74cg4";
+ type = "gem";
+ };
+ version = "1.5.0";
+ };
+ aws-sdk-health = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0b3zgjwh2drkxcbmglw9vz9b8wir0qwxihf2yrra33qhcxvlf29q";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-iam = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1wch93pvh5y16ldn1b42igrj0q76j7mfwvkwqnlk8197wpmyzl8z";
+ type = "gem";
+ };
+ version = "1.6.0";
+ };
+ aws-sdk-importexport = {
+ dependencies = ["aws-sdk-core" "aws-sigv2"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0clry5ch04npyrgz61xrwwj6kwqai5d9c933rd17jx0r7dm2x5zb";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-inspector = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0blgc82naibxdv5zv7brc8kdp4mnqimxc3lsb2fahn9av4bdh4zf";
+ type = "gem";
+ };
+ version = "1.5.0";
+ };
+ aws-sdk-iot = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "00paa2lhahcfk1kk8zka7zb3hnia1qj6i8rv5ybapgdq9rj4936q";
+ type = "gem";
+ };
+ version = "1.9.0";
+ };
+ aws-sdk-iot1clickdevicesservice = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0k1if31wsy3dpk4mhwc6s86432g8jbbb1w4gpj85qlydrk2c7y96";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-iot1clickprojects = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "12r1pkzixj2g0i9mz7ywsr5qlz19868d8qb4www4s45h6qjwxwnz";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-iotanalytics = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0a69cv9nypykg6il99znymfm09da4hlh3d6i13kj8gma5q7prnq6";
+ type = "gem";
+ };
+ version = "1.2.0";
+ };
+ aws-sdk-iotdataplane = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0777k6l8phrby6ar5zpbhsp4i77d8bfs5z57axn6ir1q4dalgza5";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-iotjobsdataplane = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "05awqr95nlral8f8il5n27swri3vq9y60mhqz9qmhld8w3cwwspj";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-kinesis = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1kw8ksdy6mylrzdswvxxdjb8wim9agdgxpjp3a1aqa72nlswq3nx";
+ type = "gem";
+ };
+ version = "1.3.0";
+ };
+ aws-sdk-kinesisanalytics = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1krdg2qvm2if5npbpw4bk2i1kz51bknfy1j5gaiiym1mmrz7lrap";
+ type = "gem";
+ };
+ version = "1.3.0";
+ };
+ aws-sdk-kinesisvideo = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1299hi3296i3wjmy8cjzpy10bzpljb638yrbyash39y3znaxk2i8";
+ type = "gem";
+ };
+ version = "1.2.0";
+ };
+ aws-sdk-kinesisvideoarchivedmedia = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "17sap4wdpi6l6h8yfm9yzjniv4cps5q3wrhdjp6slwrmhrmq2gpx";
+ type = "gem";
+ };
+ version = "1.2.0";
+ };
+ aws-sdk-kinesisvideomedia = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0rzwpjnym78i5g6427w7war436qnl77qjaiwwh5avrvy12lfjyrb";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-kms = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1y41nf5p94r2mrmpxx2icylz7g1jm72d1awwpjfrw5zlxbzi8jgj";
+ type = "gem";
+ };
+ version = "1.6.0";
+ };
+ aws-sdk-lambda = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0ng2k320s81d5v1g2ihjvkmspnyfkcb9v2fc25mszwg9gwq4mhz1";
+ type = "gem";
+ };
+ version = "1.8.0";
+ };
+ aws-sdk-lambdapreview = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1ys1zpc7jmzn4vs01z5qw7rkg4732fbzpiwj5p0gpgy151hip110";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-lex = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1g67akcqmv1i1k4a370vwnb1qkmfl7smfllbw84kd062h8m1h2vl";
+ type = "gem";
+ };
+ version = "1.4.0";
+ };
+ aws-sdk-lexmodelbuildingservice = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0awdfirdc2wn4xaqxkizlxy604gwna55mn261fjwj6a3jp83pb1z";
+ type = "gem";
+ };
+ version = "1.6.0";
+ };
+ aws-sdk-lightsail = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0gxs8b3grk4dwsldszvkz31w3lypdnyqhqs1c3w7f18b66p5l714";
+ type = "gem";
+ };
+ version = "1.5.0";
+ };
+ aws-sdk-machinelearning = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1rf84hxrqgzpmr08h14p1070x8cs3x5gxn48l1ia1bdlfjvllv2f";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-macie = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0l20rk8r0k6n81vfy132l5xbaxr4h58ykvyhka0xrb2fys5kr704";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-marketplacecommerceanalytics = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0mcbk1gwqpfxg9wrf1vd9c4s97d46p425yx4m7fx6z73fb26ckp3";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-marketplaceentitlementservice = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "17r2c9ir63wbhpl4kz3pwkavjqvi73jpx3vpbm8172zqai72m2qw";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-marketplacemetering = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "05snignv3fjdfpjw771daxkkm7hlc7wbsi43ajjwvrxzl8apgkl1";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-mediaconvert = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0hdliqi7rxhp02rnnnvrkg1pn5rbss577f5di4h1pbcmw29zqa2p";
+ type = "gem";
+ };
+ version = "1.5.0";
+ };
+ aws-sdk-medialive = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "03pr959i5lnsdw4vagdhfcjfrm01h055j83abs9w2gs4asmknyi9";
+ type = "gem";
+ };
+ version = "1.8.0";
+ };
+ aws-sdk-mediapackage = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "190ca52xzdgnfn73qwv4kc2jix2a3s7gxx6a2nij47ak5bs8qhhn";
+ type = "gem";
+ };
+ version = "1.2.0";
+ };
+ aws-sdk-mediastore = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1m7xjz0xpnwvsm35m2wnp9ja8sqhk5w09jf92frim482vyddk46n";
+ type = "gem";
+ };
+ version = "1.2.0";
+ };
+ aws-sdk-mediastoredata = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1da6wd4nrf99mxyv9fay4bbk3n64swzr8989dfjipqa8rpnry9dq";
+ type = "gem";
+ };
+ version = "1.2.0";
+ };
+ aws-sdk-mediatailor = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1rm8f2ln263mabj5ia880h8464pxqg7cp1b1dy6mggbj77v4qyw7";
+ type = "gem";
+ };
+ version = "1.2.0";
+ };
+ aws-sdk-migrationhub = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1vaswa6f4hd7gf5y2rn6jn4rxx4i3dhyngb6446llwc218qqcp5x";
+ type = "gem";
+ };
+ version = "1.3.0";
+ };
+ aws-sdk-mobile = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1kvx23q0dcf4kznf72fq6vrz2wzprim1n87a7jwwvqp1cm8dkh9s";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-mq = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1h258myrx75zvicpdb06bbls4d0fnpfqfp16yc0j5lmqdr6p74qn";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-mturk = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0kb5ii2lqiq8va1plyrna0zczgc9p2dgv0a17xx9pzfg2djvc7vz";
+ type = "gem";
+ };
+ version = "1.4.0";
+ };
+ aws-sdk-neptune = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1rddn8y1cwnj5zahvln643sfb4ayddqmydrxibf5j1nqsvv46lg7";
+ type = "gem";
+ };
+ version = "1.2.0";
+ };
+ aws-sdk-opsworks = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1mkjf0694daikkqsqygq1f34zw4wiwg57p8vxlwx5fxjbgwfi01a";
+ type = "gem";
+ };
+ version = "1.4.0";
+ };
+ aws-sdk-opsworkscm = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "06067wx6ihk9kj11789dlzag3j2b7zxk9yil4zxy0gv95w37ypzg";
+ type = "gem";
+ };
+ version = "1.3.0";
+ };
+ aws-sdk-organizations = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1jhll8rgp78pwsd5wgfg4nwxkyzahlh0xrnddw3cx9qhzcb001xn";
+ type = "gem";
+ };
+ version = "1.10.0";
+ };
+ aws-sdk-pi = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0xm7d9ssn4q2107gp90qsi8vjg87wdl5py55qq76m79xmp2i08wi";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-pinpoint = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "023yvhr6xdisyyx9p104hyaq2vy9rs0n43h2dc5nbm58a1bm2zsn";
+ type = "gem";
+ };
+ version = "1.6.0";
+ };
+ aws-sdk-polly = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0g98zchw6ycnz3anvpc6glxj9kal71mn78gr2i37awb6z0j3mk1g";
+ type = "gem";
+ };
+ version = "1.6.0";
+ };
+ aws-sdk-pricing = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1hm8m1jhf6qfpy1866ykvvnc51mfbp89mfby6z6yxy00fz6mvax5";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-rds = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "009ns5wfcrxan5hhzsj7gpcwnni2ydq79mk2i3lj4gw87k9kr9zx";
+ type = "gem";
+ };
+ version = "1.23.0";
+ };
+ aws-sdk-redshift = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0rp9zm846rx9vm2qvh238gzixbb7r58xbrrfk0ipsrw6v19b4my4";
+ type = "gem";
+ };
+ version = "1.5.0";
+ };
+ aws-sdk-rekognition = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1j399i23anlj252rwnj3dcm66787nspfj8hyazfsgb5ww7b2day3";
+ type = "gem";
+ };
+ version = "1.5.0";
+ };
+ aws-sdk-resourcegroups = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0f878grncnyxlkml525apx3l28mmq96gfi5vpcjhcw9apz58qclf";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-resourcegroupstaggingapi = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0wr75f1gi449x12hai1yjzrlw6cql3z4jyc1hd68wppyf6f1s8kw";
+ type = "gem";
+ };
+ version = "1.1.0";
};
aws-sdk-resources = {
+ dependencies = ["aws-sdk-acm" "aws-sdk-acmpca" "aws-sdk-alexaforbusiness" "aws-sdk-apigateway" "aws-sdk-applicationautoscaling" "aws-sdk-applicationdiscoveryservice" "aws-sdk-appstream" "aws-sdk-appsync" "aws-sdk-athena" "aws-sdk-autoscaling" "aws-sdk-autoscalingplans" "aws-sdk-batch" "aws-sdk-budgets" "aws-sdk-cloud9" "aws-sdk-clouddirectory" "aws-sdk-cloudformation" "aws-sdk-cloudfront" "aws-sdk-cloudhsm" "aws-sdk-cloudhsmv2" "aws-sdk-cloudsearch" "aws-sdk-cloudsearchdomain" "aws-sdk-cloudtrail" "aws-sdk-cloudwatch" "aws-sdk-cloudwatchevents" "aws-sdk-cloudwatchlogs" "aws-sdk-codebuild" "aws-sdk-codecommit" "aws-sdk-codedeploy" "aws-sdk-codepipeline" "aws-sdk-codestar" "aws-sdk-cognitoidentity" "aws-sdk-cognitoidentityprovider" "aws-sdk-cognitosync" "aws-sdk-comprehend" "aws-sdk-configservice" "aws-sdk-connect" "aws-sdk-costandusagereportservice" "aws-sdk-costexplorer" "aws-sdk-databasemigrationservice" "aws-sdk-datapipeline" "aws-sdk-dax" "aws-sdk-devicefarm" "aws-sdk-directconnect" "aws-sdk-directoryservice" "aws-sdk-dlm" "aws-sdk-dynamodb" "aws-sdk-dynamodbstreams" "aws-sdk-ec2" "aws-sdk-ecr" "aws-sdk-ecs" "aws-sdk-efs" "aws-sdk-eks" "aws-sdk-elasticache" "aws-sdk-elasticbeanstalk" "aws-sdk-elasticloadbalancing" "aws-sdk-elasticloadbalancingv2" "aws-sdk-elasticsearchservice" "aws-sdk-elastictranscoder" "aws-sdk-emr" "aws-sdk-firehose" "aws-sdk-fms" "aws-sdk-gamelift" "aws-sdk-glacier" "aws-sdk-glue" "aws-sdk-greengrass" "aws-sdk-guardduty" "aws-sdk-health" "aws-sdk-iam" "aws-sdk-importexport" "aws-sdk-inspector" "aws-sdk-iot" "aws-sdk-iot1clickdevicesservice" "aws-sdk-iot1clickprojects" "aws-sdk-iotanalytics" "aws-sdk-iotdataplane" "aws-sdk-iotjobsdataplane" "aws-sdk-kinesis" "aws-sdk-kinesisanalytics" "aws-sdk-kinesisvideo" "aws-sdk-kinesisvideoarchivedmedia" "aws-sdk-kinesisvideomedia" "aws-sdk-kms" "aws-sdk-lambda" "aws-sdk-lambdapreview" "aws-sdk-lex" "aws-sdk-lexmodelbuildingservice" "aws-sdk-lightsail" "aws-sdk-machinelearning" "aws-sdk-macie" "aws-sdk-marketplacecommerceanalytics" "aws-sdk-marketplaceentitlementservice" "aws-sdk-marketplacemetering" "aws-sdk-mediaconvert" "aws-sdk-medialive" "aws-sdk-mediapackage" "aws-sdk-mediastore" "aws-sdk-mediastoredata" "aws-sdk-mediatailor" "aws-sdk-migrationhub" "aws-sdk-mobile" "aws-sdk-mq" "aws-sdk-mturk" "aws-sdk-neptune" "aws-sdk-opsworks" "aws-sdk-opsworkscm" "aws-sdk-organizations" "aws-sdk-pi" "aws-sdk-pinpoint" "aws-sdk-polly" "aws-sdk-pricing" "aws-sdk-rds" "aws-sdk-redshift" "aws-sdk-rekognition" "aws-sdk-resourcegroups" "aws-sdk-resourcegroupstaggingapi" "aws-sdk-route53" "aws-sdk-route53domains" "aws-sdk-s3" "aws-sdk-sagemaker" "aws-sdk-sagemakerruntime" "aws-sdk-secretsmanager" "aws-sdk-serverlessapplicationrepository" "aws-sdk-servicecatalog" "aws-sdk-servicediscovery" "aws-sdk-ses" "aws-sdk-shield" "aws-sdk-simpledb" "aws-sdk-sms" "aws-sdk-snowball" "aws-sdk-sns" "aws-sdk-sqs" "aws-sdk-ssm" "aws-sdk-states" "aws-sdk-storagegateway" "aws-sdk-support" "aws-sdk-swf" "aws-sdk-transcribeservice" "aws-sdk-translate" "aws-sdk-waf" "aws-sdk-wafregional" "aws-sdk-workdocs" "aws-sdk-workmail" "aws-sdk-workspaces" "aws-sdk-xray"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1b5z25n4bgzwkzmzx2q6ik2y74jinyphmrh38lnrn9im6pmmvy3w";
+ sha256 = "15z91flcf5daz7v5sfrib5sxm4gk6w66jlh93is0ixr6hwanqb2h";
type = "gem";
};
- version = "2.7.0";
+ version = "3.22.0";
+ };
+ aws-sdk-route53 = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1ga3rd1b3fgg8z46490gjkf2a7j1vys7mf3wi4qmwg8ijs8gva4c";
+ type = "gem";
+ };
+ version = "1.10.1";
+ };
+ aws-sdk-route53domains = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "02nzhks6kjpdakm3xcc5373g3dnn45a9gr70vc8jhdjyarhcasbk";
+ type = "gem";
+ };
+ version = "1.3.0";
+ };
+ aws-sdk-s3 = {
+ dependencies = ["aws-sdk-core" "aws-sdk-kms" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0sxd6iwyg54qdzqxqhww1qnhg4z1il1impkg2g8ksgr9q2ykf4jd";
+ type = "gem";
+ };
+ version = "1.17.0";
+ };
+ aws-sdk-sagemaker = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "11arjp9mcgy3b8rp6dpdla0zcsrv40sw7cc0azplayk5n6cislx1";
+ type = "gem";
+ };
+ version = "1.11.0";
+ };
+ aws-sdk-sagemakerruntime = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1zyinypfjsf7kp6dh7wbk3f5x3qhj8p76pv332pknrgk94v6rn3i";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-secretsmanager = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1b5xk5icz664rjjcy9ijwfg4nr1chg0pbxyrmzy0agh88vxgp71z";
+ type = "gem";
+ };
+ version = "1.10.0";
+ };
+ aws-sdk-serverlessapplicationrepository = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1n7lzzvpyryv1v3pai3yxk2w95zk2yglmdh0k3h84n6z3w6jlgr3";
+ type = "gem";
+ };
+ version = "1.4.0";
+ };
+ aws-sdk-servicecatalog = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "13dhxxp1nmzs71ripdi4yas1wm17w3ks22by6qlbnqy9zwb0r6jg";
+ type = "gem";
+ };
+ version = "1.6.0";
+ };
+ aws-sdk-servicediscovery = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "033fynzwr4j6idlk3p5rqk94n0ayxrwjcziky5hnfj2aic2yj3lf";
+ type = "gem";
+ };
+ version = "1.3.0";
+ };
+ aws-sdk-ses = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0aa3vq1lscb5cmcc10s38pdw2crdsfjd4gpb6d9j5d5z8wbpqjhz";
+ type = "gem";
+ };
+ version = "1.8.0";
+ };
+ aws-sdk-shield = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "12imklik3j9l4fchyj4q6wpiw27kkm4m29accjwkxxikh70w9q0l";
+ type = "gem";
+ };
+ version = "1.3.0";
+ };
+ aws-sdk-simpledb = {
+ dependencies = ["aws-sdk-core" "aws-sigv2"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "16qrczxn096aanan2qrvbbk398sqlfiawviz72z9y31pxds7699d";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-sms = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1d16b5s6x894fagk6mzvli4n9rpsv4gx1xw445nl49jc8z3b941l";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-snowball = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "17kk7n83zbhms7bvavlasw13ydsiqzm8l2p6dpsa3cjqvs7bn9bw";
+ type = "gem";
+ };
+ version = "1.3.0";
+ };
+ aws-sdk-sns = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0pkv99yqilpklrhwhxr5lv0xma1irk0j7q5myw220yl84d7c6m04";
+ type = "gem";
+ };
+ version = "1.3.0";
+ };
+ aws-sdk-sqs = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0m4lk45bfanxyq3rz428az2bbz2g3xbzq40754d81m0b17kyz6nc";
+ type = "gem";
+ };
+ version = "1.4.0";
+ };
+ aws-sdk-ssm = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0w5idgdqp3z9s0cf84r66ha1npjhszp0zd3w43rlp96m1z9m8pk8";
+ type = "gem";
+ };
+ version = "1.18.0";
+ };
+ aws-sdk-states = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0sg5z9mgn76l81zgigxrxwnn710gigp6iragc3gvz0cdfwwzd33f";
+ type = "gem";
+ };
+ version = "1.3.0";
+ };
+ aws-sdk-storagegateway = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "078j56x8jllk5dsb8crk33336kmcgs83p2achlw5j10mlfzlra6z";
+ type = "gem";
+ };
+ version = "1.6.0";
+ };
+ aws-sdk-support = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0bg642zz7nn3dfr039pgry44js9jlr31yq47rsqzhl6p3qh9yisi";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-swf = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "108gzaw0y83vncbv6rzaww4950cycwh8crcw3vf2av6w0mbqi61f";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ aws-sdk-transcribeservice = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1z66aqfh1s561wa9dqasvbb4shxb2chp12i8h6hs6lxsrpihxbi0";
+ type = "gem";
+ };
+ version = "1.3.0";
+ };
+ aws-sdk-translate = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "17wprz7c8h8bfi1pv8pw2jll4iaixs9v2zd6iyy33zy0ssyzp9jc";
+ type = "gem";
+ };
+ version = "1.2.0";
+ };
+ aws-sdk-waf = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1kxaspfpgsrwm1vdyqhbjw1l40z5ygkx9if5lfqh80906rns9gwz";
+ type = "gem";
+ };
+ version = "1.5.0";
+ };
+ aws-sdk-wafregional = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1ryrx7zh7dmxzrvky3kx6dvz22v0s919jkdhqh8rx65p97ikml2c";
+ type = "gem";
+ };
+ version = "1.5.0";
+ };
+ aws-sdk-workdocs = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "07grgjkzg31n3k0ig70gj6pjix44jwnl54lw4pn4yqld3472r296";
+ type = "gem";
+ };
+ version = "1.2.0";
+ };
+ aws-sdk-workmail = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "04yak9s80kcx0vnz9ghbis5qj274rpkwga2391kky8r2gf40lpn2";
+ type = "gem";
+ };
+ version = "1.2.0";
+ };
+ aws-sdk-workspaces = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1vq0bayq1ryzd9z4y70w39h1ag2jj6k59bv72agdafrszv13fggf";
+ type = "gem";
+ };
+ version = "1.3.0";
+ };
+ aws-sdk-xray = {
+ dependencies = ["aws-sdk-core" "aws-sigv4"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "00n7nrx5qfbcv94hdlh623nhv269z9abfkb6mj5dmjw4hzpm8d31";
+ type = "gem";
+ };
+ version = "1.3.0";
+ };
+ aws-sigv2 = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1191i9c0kkiyfs3vfwgfxc8kq19rg1q4lkackz56yffv05yp5ng3";
+ type = "gem";
+ };
+ version = "1.0.1";
};
aws-sigv4 = {
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0cnrfxbaxn86qrxhfidg10f89ka1hddihakdhcvnri0dljaw7dsz";
+ sha256 = "1hzndv113i6bgy2n72i5l3mwn8vjnb6hhjxfkpn9mm2p5ra77yk7";
type = "gem";
};
- version = "1.0.0";
+ version = "1.0.3";
};
bson = {
source = {
remotes = ["https://rubygems.org"];
- sha256 = "12zcsfr72hr0w1qyxv1iz587nzganpclvimyx5y02gg1hij8hz6b";
+ sha256 = "07baxjrd8rb5gfsv7hh1akjqcpwih76f1711bwjzp228c79ny2na";
type = "gem";
};
- version = "1.12.5";
- };
- bzip2-ffi = {
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "1y5jlcz1vb0v3rbmsbbrarfglcmzdhr5jhlfc5wjnhz2zpybsz3y";
- type = "gem";
- };
- version = "1.0.0";
- };
- concurrent-ruby = {
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "0p7ji1h1l407kci9w4b4yspzd58ssmlx7p91npx55kw08836dlpb";
- type = "gem";
- };
- version = "1.0.4";
+ version = "4.3.0";
};
"cool.io" = {
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1x5fkyjdjwk68sg7fwxhx2k3hzxkkm6frnd2yix7brxdh06fp0k1";
+ sha256 = "03wwgs427nmic6aa365d7kyfbljpb1ra6syywffxfmz9382xswcp";
type = "gem";
};
- version = "1.4.5";
+ version = "1.5.3";
+ };
+ dig_rb = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "12dbb1pl2vr9z7yy2zsbsjaj4hw89y56wll6kd8422mylmcw7bx4";
+ type = "gem";
+ };
+ version = "1.0.1";
};
elasticsearch = {
+ dependencies = ["elasticsearch-api" "elasticsearch-transport"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1wdy17i56b4m7akp7yavnr8vhfhyz720waphmixq05dj21b11hl0";
+ sha256 = "162a7aiajs7w3rak21y6jidik7zhkm104wcx25190llyqbqkvlp9";
type = "gem";
};
- version = "1.0.18";
+ version = "6.1.0";
};
elasticsearch-api = {
+ dependencies = ["multi_json"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1v6nb3ajz5rack3p4b4nz37hs0zb9x738h2ms8cc4plp6wqh1w5s";
+ sha256 = "0q9shhpifl6cir68zxv30mjjybxsx39asqnircrgs4lqsb20j1n7";
type = "gem";
};
- version = "1.0.18";
+ version = "6.1.0";
};
elasticsearch-transport = {
+ dependencies = ["faraday" "multi_json"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0smfrz8nq49hgf67y5ayxa9i4rmmi0q4m51l0h499ykq4cvcwv6i";
+ sha256 = "1dmb587mp526q1wvb1j13rjj13vxl4fcpmm899ipyr88spld5vc7";
type = "gem";
};
- version = "1.0.18";
+ version = "6.1.0";
};
excon = {
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0j4b6s90v84r4wrhbg4rzjfjg9sfisq50fjd3hh9p6yrkm86wbd3";
+ sha256 = "15l9w0938c19nxmrp09n75qpmm64k12xj69h47yvxzcxcpbgnkb2";
type = "gem";
};
- version = "0.54.0";
+ version = "0.62.0";
};
faraday = {
+ dependencies = ["multipart-post"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "18p1csdivgwmshfw3mb698a3bn0yrykg30khk5qxjf6n168g91jr";
+ sha256 = "14lg0c4bphk16rccc5jmaan6nfcvmy0caiahpc61f9zfwpsj7ymg";
type = "gem";
};
- version = "0.11.0";
+ version = "0.15.2";
};
- ffi = {
+ fluent-config-regexp-type = {
+ dependencies = ["fluentd"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "07hnyr47mndsjfanzh348wm3fxjx9nx68mdb3cpsdvfqrxnz97s7";
+ sha256 = "0hk0vxcmlbid7n6piyv3x83j5gyiz7in397l9x3c6nh69wicy7gm";
type = "gem";
};
- version = "1.9.17";
- };
- fluent-mixin-config-placeholders = {
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "14b4lqy91jgpky6g7h0vyfy2rr1qavmjzzgnmhwajfzxgw9y2jvi";
- type = "gem";
- };
- version = "0.4.0";
- };
- fluent-mixin-plaintextformatter = {
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "0gliangfr07060ya9sawkyfx2vz7vdygys65f83czawhckvvm75n";
- type = "gem";
- };
- version = "0.2.6";
+ version = "1.0.0";
};
fluent-plugin-elasticsearch = {
+ dependencies = ["elasticsearch" "excon" "fluentd"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0q0v8jxpwrkh1z5qh0chwrssz93nldka4jwfn32hlqhnmb99q8i1";
+ sha256 = "1jh7wpj46753mii98ddafl5yas0iw8dc1b87lzgdyfri9z8cbfv1";
type = "gem";
};
- version = "1.9.2";
+ version = "2.11.1";
};
fluent-plugin-kafka = {
+ dependencies = ["fluentd" "ltsv" "ruby-kafka"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0sd025xsl1cnjs11wasg0di2k02rx9ifaj49n28ak363df6vsqgf";
+ sha256 = "16r7ydlnb1ba7adk3f95v3x1qjk22cifd9bvz71099m17njw56g1";
type = "gem";
};
- version = "0.5.0";
+ version = "0.7.4";
};
fluent-plugin-kinesis = {
+ dependencies = ["aws-sdk" "fluentd" "google-protobuf"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "119ngswi9q0p5hh5ldan9pzrgd1lfsbkr5f56hy1k4gfss4kmq27";
+ sha256 = "14hsvbskfviq11408qglqx1434hv6i7qbgqy8nnii8a657fccvxy";
type = "gem";
};
- version = "1.1.2";
+ version = "2.1.1";
};
fluent-plugin-mongo = {
+ dependencies = ["fluentd" "mongo"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1x7n8cknqh956yx3c9hv2g535x4kcixmnxw3fvcspjbqprrd1s91";
+ sha256 = "1w7fla5172x7bll10zja0sg4n0gzkqa191jf6zradhb6416qd355";
type = "gem";
};
- version = "0.7.16";
+ version = "1.1.1";
};
fluent-plugin-record-reformer = {
+ dependencies = ["fluentd"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1q2pws1mqp6pkb00ix6wjkxklckqb4wcbp79lpyk0b644bk9hqzb";
+ sha256 = "1gwfrfyi9is4l9q4ih3c4l3c9qvyh00jnd2qajdpdh5xjj2m7akn";
type = "gem";
};
- version = "0.8.2";
+ version = "0.9.1";
};
fluent-plugin-rewrite-tag-filter = {
+ dependencies = ["fluent-config-regexp-type" "fluentd"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1avxvvmfm7bl7fpa2p73295kydh1nbsgdvsr7bsyrb77z1s1m86z";
+ sha256 = "1xra33l2pid84qmgr0ni9dmd114l035z9j4g66wdfyihncnaaamp";
type = "gem";
};
- version = "1.5.5";
+ version = "2.1.0";
};
fluent-plugin-s3 = {
+ dependencies = ["aws-sdk-s3" "aws-sdk-sqs" "fluentd"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0nxvk5n76pw4r37lv8vfl1cd0yjxnlj5wlwyk8f1lvp9ma5zlzmg";
+ sha256 = "102d85igcnnlha8j0vw3pvc0425d38c9r0pryqhz7v1j4p2igi27";
type = "gem";
};
- version = "0.8.0";
+ version = "1.1.3";
};
fluent-plugin-scribe = {
+ dependencies = ["fluentd" "thrift"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "00m19w7p22adq0yx1h7h2h4ckw9kh5j458a8lawgmbazw2dz0zxi";
@@ -208,20 +1513,30 @@
version = "0.10.14";
};
fluent-plugin-webhdfs = {
+ dependencies = ["fluentd" "webhdfs"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0kb9cgrgvh61pqqzv2csnibmp2jwh4hyjyvrh2npkk59k3jp54ad";
+ sha256 = "1yyv3f0g30x9dzhq74b5cq8z0wbyppw9bb6152v6yrwz25b16231";
type = "gem";
};
- version = "0.5.2";
+ version = "1.2.3";
};
fluentd = {
+ dependencies = ["cool.io" "dig_rb" "http_parser.rb" "msgpack" "serverengine" "sigdump" "strptime" "tzinfo" "tzinfo-data" "yajl-ruby"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0w1bg3nrn6gwhyp8xlpbs9rcajkddnvw6jhn7kvzydp70g2aydhz";
+ sha256 = "02a7xzpq3vs3lgwawygbkzbsjr2p46945l6wc3bkvws47v33yr4d";
type = "gem";
};
- version = "0.14.11";
+ version = "1.2.3";
+ };
+ google-protobuf = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "10r48i7g0387sd8a1cl8n2da54ar9nw29jshmydwmdrb8y5v5nic";
+ type = "gem";
+ };
+ version = "3.6.0";
};
"http_parser.rb" = {
source = {
@@ -230,21 +1545,13 @@
};
version = "0.6.0";
};
- i18n = {
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "1i5z1ykl8zhszsxcs8mzl8d0dxgs3ylz8qlzrw74jb0gplkx6758";
- type = "gem";
- };
- version = "0.7.0";
- };
jmespath = {
source = {
remotes = ["https://rubygems.org"];
- sha256 = "07w8ipjg59qavijq59hl82zs74jf3jsp7vxl9q3a2d0wpv5akz3y";
+ sha256 = "1d4wac0dcd1jf6kc57891glih9w57552zgqswgy74d1xhgnk0ngf";
type = "gem";
};
- version = "1.3.1";
+ version = "1.4.0";
};
ltsv = {
source = {
@@ -254,45 +1561,30 @@
};
version = "0.1.0";
};
- middleware = {
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "0703nkf2v371wqr41c04x5qid7ww45cxqv3hnlg07if3b3xrm9xl";
- type = "gem";
- };
- version = "0.1.0";
- };
- minitest = {
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "1yk2m8sp0p5m1niawa3ncg157a4i0594cg7z91rzjxv963rzrwab";
- type = "gem";
- };
- version = "5.10.1";
- };
mongo = {
+ dependencies = ["bson"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0658pn2hbyfvbnpp3wdh3irin0wpikm6y2qbhnx07w54jbkmgh5p";
+ sha256 = "0qdy2prwr9hv9691xxl0zqgp1s24jm6pknd2vq829yy6a1fv8f87";
type = "gem";
};
- version = "1.12.5";
+ version = "2.2.7";
};
msgpack = {
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1fb2my91j08plsbbry5kilsrh7slmzgbbf6f55zy6xk28p9036lg";
+ sha256 = "09xy1wc4wfbd1jdrzgxwmqjzfdfxbz0cqdszq2gv6rmc3gv1c864";
type = "gem";
};
- version = "1.0.2";
+ version = "1.2.4";
};
multi_json = {
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1wpc23ls6v2xbk3l1qncsbz16npvmw8p0b38l8czdzri18mp51xk";
+ sha256 = "1rl0qy4inf1mp8mybfk56dfga0mvx97zwpmq5xmiwl5r770171nv";
type = "gem";
};
- version = "1.12.1";
+ version = "1.13.1";
};
multipart-post = {
source = {
@@ -301,45 +1593,30 @@
};
version = "2.0.0";
};
- os = {
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "1llv8w3g2jwggdxr5a5cjkrnbbfnvai3vxacxxc0fy84xmz3hymz";
- type = "gem";
- };
- version = "0.9.6";
- };
- protobuf = {
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "0cvkfp7574dr6wqpgafl3pg9niqfri3dh2fxb2f8qaapcgfgcaq6";
- type = "gem";
- };
- version = "3.6.12";
- };
public_suffix = {
source = {
remotes = ["https://rubygems.org"];
- sha256 = "040jf98jpp6w140ghkhw2hvc1qx41zvywx5gj7r2ylr1148qnj7q";
+ sha256 = "1x5h1dh1i3gwc01jbg01rly2g6a1qwhynb1s8a30ic507z1nh09s";
type = "gem";
};
- version = "2.0.5";
+ version = "3.0.2";
};
ruby-kafka = {
source = {
remotes = ["https://rubygems.org"];
- sha256 = "112avql9nf0hq07zvh47fyx7na721bj4zfpf43ip471l6k2ksrf5";
+ sha256 = "1k9p93zgyify9barnzc4di09pm8bdaywqx68149bmw0zzhghqdqa";
type = "gem";
};
- version = "0.3.16.beta2";
+ version = "0.6.7";
};
serverengine = {
+ dependencies = ["sigdump"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0f08kbiqg9yp5fxdw5blsrnq383a9g4n830g1ypppb7ddv61sbmi";
+ sha256 = "1gkm880njsi9x6vpb5grsspxb097hi8898drlbbkj1wl9qf2xv8l";
type = "gem";
};
- version = "2.0.4";
+ version = "2.0.7";
};
sigdump = {
source = {
@@ -352,25 +1629,18 @@
strptime = {
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1avbl1fj4y5qx9ywkxpcjjxxpjj6h7r1dqlnddhk5wqg6ypq8lsb";
+ sha256 = "1yj5wwa7wbhgi7w8d9ihpzpf99niw956fhyxddhayj09fgmdcxd8";
type = "gem";
};
- version = "0.1.9";
- };
- thor = {
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "01n5dv9kql60m6a00zc0r66jvaxx98qhdny3klyj0p3w34pad2ns";
- type = "gem";
- };
- version = "0.19.4";
+ version = "0.2.3";
};
thread_safe = {
source = {
- sha256 = "1hq46wqsyylx5afkp6jmcihdpv4ynzzq9ygb6z2pb1cbz5js0gcr";
+ remotes = ["https://rubygems.org"];
+ sha256 = "0nmhcgq6cgz44srylra07bmaw99f5271l0dpsvl5f75m44l0gmwy";
type = "gem";
};
- version = "0.3.5";
+ version = "0.3.6";
};
thrift = {
source = {
@@ -383,28 +1653,23 @@
tzinfo = {
dependencies = ["thread_safe"];
source = {
- sha256 = "1c01p3kg6xvy1cgjnzdfq45fggbwish8krd0h864jvbpybyx7cgx";
+ remotes = ["https://rubygems.org"];
+ sha256 = "1fjx9j327xpkkdlxwmkl3a8wqj7i4l4jwlrv3z13mg95z9wl253z";
type = "gem";
};
- version = "1.2.2";
+ version = "1.2.5";
};
tzinfo-data = {
+ dependencies = ["tzinfo"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "01nr50alfm1fyzlcbzvfbpnsq37yb3h676f9n3z0iyp4s4766psf";
+ sha256 = "1fkihwl9k9pmygl6c4kdlzqv51hn33bvjnxs4q48gs4s63d8gva2";
type = "gem";
};
- version = "1.2016.10";
- };
- uuidtools = {
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "0zjvq1jrrnzj69ylmz1xcr30skf9ymmvjmdwbvscncd7zkr8av5g";
- type = "gem";
- };
- version = "2.1.5";
+ version = "1.2018.5";
};
webhdfs = {
+ dependencies = ["addressable"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0gs6xb9dz9bp5xc38yplfy48jcgj7jrj0zg0vgi7ydkxnkzkhbf2";
@@ -415,9 +1680,9 @@
yajl-ruby = {
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0sah2lpvpsh555dcnhgcqylinjj5544md9dh1a0a13da0qv1p57i";
+ sha256 = "01bk8pi6h9wdm0ikjqvl1nxlkrxv3q74m3yfg64va9wvk9sqjvvw";
type = "gem";
};
- version = "1.3.0";
+ version = "1.4.0";
};
}
\ No newline at end of file
diff --git a/pkgs/tools/misc/fsql/default.nix b/pkgs/tools/misc/fsql/default.nix
index 32deb0c2306..e723db260eb 100644
--- a/pkgs/tools/misc/fsql/default.nix
+++ b/pkgs/tools/misc/fsql/default.nix
@@ -18,7 +18,7 @@ buildGoPackage rec {
homepage = https://github.com/kshvmdn/fsql;
license = licenses.mit;
maintainers = with maintainers; [ pSub ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
inherit version;
};
diff --git a/pkgs/tools/misc/hdf5/0001-Updated-H5S-to-use-the-MPI-2-function-MPI_Type_get_e.patch b/pkgs/tools/misc/hdf5/0001-Updated-H5S-to-use-the-MPI-2-function-MPI_Type_get_e.patch
new file mode 100644
index 00000000000..8b32ea4bab1
--- /dev/null
+++ b/pkgs/tools/misc/hdf5/0001-Updated-H5S-to-use-the-MPI-2-function-MPI_Type_get_e.patch
@@ -0,0 +1,58 @@
+From 38c202df4db8eddd5e6f6f7d6506ce97912a3111 Mon Sep 17 00:00:00 2001
+From: Dana Robinson
+Date: Mon, 26 Nov 2018 22:10:06 -0800
+Subject: [PATCH] Updated H5S to use the MPI-2 function MPI_Type_get_exten()
+ where available. OpenMPI 4.0 removed the deprecated MPI-1 MPI_type_extent()
+ call by default, so this avoids needing a special OpenMPI build.
+
+---
+ src/H5Smpio.c | 26 ++++++++++++++++++++++++--
+ 1 file changed, 24 insertions(+), 2 deletions(-)
+
+diff --git a/src/H5Smpio.c b/src/H5Smpio.c
+index 2bd275a729..e71e2cb858 100644
+--- a/src/H5Smpio.c
++++ b/src/H5Smpio.c
+@@ -879,7 +879,18 @@ H5S_mpio_hyper_type(const H5S_t *space, size_t elmt_size,
+ HMPI_GOTO_ERROR(FAIL, "MPI_Type_contiguous failed", mpi_code)
+ }
+
+- MPI_Type_extent (inner_type, &inner_extent);
++#if MPI_VERSION >= 2
++{
++ /* As of version 4.0, OpenMPI now turns off MPI-1 API calls by default,
++ * so we're using the MPI-2 version even though we don't need the lb
++ * value.
++ */
++ MPI_Aint unused_lb_arg;
++ MPI_Type_get_extent(inner_type, &unused_lb_arg, &inner_extent);
++}
++#else
++ MPI_Type_extent(inner_type, &inner_extent);
++#endif
+ stride_in_bytes = inner_extent * (MPI_Aint)d[i].strid;
+
+ /* If the element count is larger than what a 32 bit integer can hold,
+@@ -1500,7 +1511,18 @@ static herr_t H5S_mpio_create_large_type (hsize_t num_elements,
+ }
+ }
+
+- MPI_Type_extent (old_type, &old_extent);
++#if MPI_VERSION >= 2
++{
++ /* As of version 4.0, OpenMPI now turns off MPI-1 API calls by default,
++ * so we're using the MPI-2 version even though we don't need the lb
++ * value.
++ */
++ MPI_Aint unused_lb_arg;
++ MPI_Type_get_extent(old_type, &unused_lb_arg, &old_extent);
++}
++#else
++ MPI_Type_extent(old_type, &old_extent);
++#endif
+
+ /* Set up the arguments for MPI_Type_struct constructor */
+ type[0] = outer_type;
+--
+2.18.1
+
diff --git a/pkgs/tools/misc/hdf5/0001-Yanked-all-MPI-1-calls.patch b/pkgs/tools/misc/hdf5/0001-Yanked-all-MPI-1-calls.patch
new file mode 100644
index 00000000000..8dc831dbba1
--- /dev/null
+++ b/pkgs/tools/misc/hdf5/0001-Yanked-all-MPI-1-calls.patch
@@ -0,0 +1,115 @@
+From 8cf3bfb14bd2a80f13d269a9e84cd99f86f19254 Mon Sep 17 00:00:00 2001
+From: Dana Robinson
+Date: Tue, 27 Nov 2018 10:31:54 -0800
+Subject: [PATCH] Yanked all MPI-1 calls
+
+---
+ src/H5.c | 2 +-
+ src/H5Smpio.c | 24 ++++++++----------------
+ testpar/t_cache.c | 20 ++++++++++----------
+ 3 files changed, 19 insertions(+), 27 deletions(-)
+
+diff --git a/src/H5.c b/src/H5.c
+index d1967e611b..bf4643ca59 100644
+--- a/src/H5.c
++++ b/src/H5.c
+@@ -138,7 +138,7 @@ H5_init_library(void)
+ if (mpi_initialized && !mpi_finalized) {
+ int key_val;
+
+- if(MPI_SUCCESS != (mpi_code = MPI_Comm_create_keyval(MPI_NULL_COPY_FN,
++ if(MPI_SUCCESS != (mpi_code = MPI_Comm_create_keyval(MPI_COMM_NULL_COPY_FN,
+ (MPI_Comm_delete_attr_function *)H5_mpi_delete_cb,
+ &key_val, NULL)))
+ HMPI_GOTO_ERROR(FAIL, "MPI_Comm_create_keyval failed", mpi_code)
+diff --git a/src/H5Smpio.c b/src/H5Smpio.c
+index e71e2cb858..935d27972e 100644
+--- a/src/H5Smpio.c
++++ b/src/H5Smpio.c
+@@ -879,18 +879,14 @@ H5S_mpio_hyper_type(const H5S_t *space, size_t elmt_size,
+ HMPI_GOTO_ERROR(FAIL, "MPI_Type_contiguous failed", mpi_code)
+ }
+
+-#if MPI_VERSION >= 2
+-{
+ /* As of version 4.0, OpenMPI now turns off MPI-1 API calls by default,
+ * so we're using the MPI-2 version even though we don't need the lb
+ * value.
+ */
+- MPI_Aint unused_lb_arg;
+- MPI_Type_get_extent(inner_type, &unused_lb_arg, &inner_extent);
+-}
+-#else
+- MPI_Type_extent(inner_type, &inner_extent);
+-#endif
++ {
++ MPI_Aint unused_lb_arg;
++ MPI_Type_get_extent(inner_type, &unused_lb_arg, &inner_extent);
++ }
+ stride_in_bytes = inner_extent * (MPI_Aint)d[i].strid;
+
+ /* If the element count is larger than what a 32 bit integer can hold,
+@@ -1511,18 +1507,14 @@ static herr_t H5S_mpio_create_large_type (hsize_t num_elements,
+ }
+ }
+
+-#if MPI_VERSION >= 2
+-{
+ /* As of version 4.0, OpenMPI now turns off MPI-1 API calls by default,
+ * so we're using the MPI-2 version even though we don't need the lb
+ * value.
+ */
+- MPI_Aint unused_lb_arg;
+- MPI_Type_get_extent(old_type, &unused_lb_arg, &old_extent);
+-}
+-#else
+- MPI_Type_extent(old_type, &old_extent);
+-#endif
++ {
++ MPI_Aint unused_lb_arg;
++ MPI_Type_get_extent(old_type, &unused_lb_arg, &old_extent);
++ }
+
+ /* Set up the arguments for MPI_Type_struct constructor */
+ type[0] = outer_type;
+diff --git a/testpar/t_cache.c b/testpar/t_cache.c
+index 5e15ec274c..ca5ded9ecf 100644
+--- a/testpar/t_cache.c
++++ b/testpar/t_cache.c
+@@ -1217,15 +1217,15 @@ setup_derived_types(void)
+ struct mssg_t sample; /* used to compute displacements */
+
+ /* setup the displacements array */
+- if ( ( MPI_SUCCESS != MPI_Address(&sample.req, &displs[0]) ) ||
+- ( MPI_SUCCESS != MPI_Address(&sample.src, &displs[1]) ) ||
+- ( MPI_SUCCESS != MPI_Address(&sample.dest, &displs[2]) ) ||
+- ( MPI_SUCCESS != MPI_Address(&sample.mssg_num, &displs[3]) ) ||
+- ( MPI_SUCCESS != MPI_Address(&sample.base_addr, &displs[4]) ) ||
+- ( MPI_SUCCESS != MPI_Address(&sample.len, &displs[5]) ) ||
+- ( MPI_SUCCESS != MPI_Address(&sample.ver, &displs[6]) ) ||
+- ( MPI_SUCCESS != MPI_Address(&sample.count, &displs[7]) ) ||
+- ( MPI_SUCCESS != MPI_Address(&sample.magic, &displs[8]) ) ) {
++ if ( ( MPI_SUCCESS != MPI_Get_address(&sample.req, &displs[0]) ) ||
++ ( MPI_SUCCESS != MPI_Get_address(&sample.src, &displs[1]) ) ||
++ ( MPI_SUCCESS != MPI_Get_address(&sample.dest, &displs[2]) ) ||
++ ( MPI_SUCCESS != MPI_Get_address(&sample.mssg_num, &displs[3]) ) ||
++ ( MPI_SUCCESS != MPI_Get_address(&sample.base_addr, &displs[4]) ) ||
++ ( MPI_SUCCESS != MPI_Get_address(&sample.len, &displs[5]) ) ||
++ ( MPI_SUCCESS != MPI_Get_address(&sample.ver, &displs[6]) ) ||
++ ( MPI_SUCCESS != MPI_Get_address(&sample.count, &displs[7]) ) ||
++ ( MPI_SUCCESS != MPI_Get_address(&sample.magic, &displs[8]) ) ) {
+
+ nerrors++;
+ success = FALSE;
+@@ -1245,7 +1245,7 @@ setup_derived_types(void)
+
+ if ( success ) {
+
+- result = MPI_Type_struct(9, block_len, displs, mpi_types, &mpi_mssg_t);
++ result = MPI_Type_create_struct(9, block_len, displs, mpi_types, &mpi_mssg_t);
+
+ if ( result != MPI_SUCCESS ) {
+
+--
+2.18.1
+
diff --git a/pkgs/tools/misc/hdf5/default.nix b/pkgs/tools/misc/hdf5/default.nix
index 3d50b068cc4..ae34cfd3235 100644
--- a/pkgs/tools/misc/hdf5/default.nix
+++ b/pkgs/tools/misc/hdf5/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/${name}/src/${name}.tar.bz2";
sha256 = "1pr85fa1sh2ky6ai2hs3f21lp252grl2cq3wbyi4rh7dm83gyrqj";
- };
+ };
passthru = {
mpiSupport = (mpi != null);
@@ -45,7 +45,13 @@ stdenv.mkDerivation rec {
++ optionals (mpi != null) ["--enable-parallel" "CC=${mpi}/bin/mpicc"]
++ optional enableShared "--enable-shared";
- patches = [./bin-mv.patch];
+ patches = [
+ ./bin-mv.patch
+ # upstream patches for openmpi-4 compatiblity
+ # To be removed with the upgrade to 1.10.5
+ ./0001-Updated-H5S-to-use-the-MPI-2-function-MPI_Type_get_e.patch
+ ./0001-Yanked-all-MPI-1-calls.patch
+ ];
postInstall = ''
find "$out" -type f -exec remove-references-to -t ${stdenv.cc} '{}' +
diff --git a/pkgs/tools/misc/heatseeker/default.nix b/pkgs/tools/misc/heatseeker/default.nix
index e7ddcf572ae..372213b92c3 100644
--- a/pkgs/tools/misc/heatseeker/default.nix
+++ b/pkgs/tools/misc/heatseeker/default.nix
@@ -24,6 +24,6 @@ buildRustPackage rec {
homepage = https://github.com/rschmitt/heatseeker;
license = licenses.mit;
maintainers = [ maintainers.michaelpj ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/tools/misc/jdupes/default.nix b/pkgs/tools/misc/jdupes/default.nix
index ee639245797..9ce06c9cf43 100644
--- a/pkgs/tools/misc/jdupes/default.nix
+++ b/pkgs/tools/misc/jdupes/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
name = "jdupes-${version}";
- version = "1.11.1";
+ version = "1.12";
src = fetchFromGitHub {
owner = "jbruchon";
repo = "jdupes";
rev = "v${version}";
- sha256 = "1yg7071lwl561s7r0qrnfx45z3ny8gjfrxpx0dbyhv3ywiac5kw8";
+ sha256 = "1m5506scjbf2820p7mbsdsb2acg9jm74sb1604m9iz8v3dcn9dm6";
# Unicode file names lead to different checksums on HFS+ vs. other
# filesystems because of unicode normalisation. The testdir
# directories have such files and will be removed.
diff --git a/pkgs/tools/misc/parallel/default.nix b/pkgs/tools/misc/parallel/default.nix
index 6caaff37acd..4807f5df99b 100644
--- a/pkgs/tools/misc/parallel/default.nix
+++ b/pkgs/tools/misc/parallel/default.nix
@@ -1,11 +1,11 @@
{ fetchurl, stdenv, perl, makeWrapper, procps }:
stdenv.mkDerivation rec {
- name = "parallel-20190122";
+ name = "parallel-20190222";
src = fetchurl {
url = "mirror://gnu/parallel/${name}.tar.bz2";
- sha256 = "030rjhis8s47gkm05k4vc9p886cxvadpgzs8rqmgzvlc38h5ywxf";
+ sha256 = "073bj0ji9liq07j6a7y9i4kxfkv06kvavhh7654f2bgfavfbmcc6";
};
nativeBuildInputs = [ makeWrapper ];
diff --git a/pkgs/tools/misc/skim/default.nix b/pkgs/tools/misc/skim/default.nix
index 52cc5671531..858b45813d5 100644
--- a/pkgs/tools/misc/skim/default.nix
+++ b/pkgs/tools/misc/skim/default.nix
@@ -2,13 +2,13 @@
rustPlatform.buildRustPackage rec {
name = "skim-${version}";
- version = "0.5.4";
+ version = "0.5.5";
src = fetchFromGitHub {
owner = "lotabout";
repo = "skim";
rev = "v${version}";
- sha256 = "1mn0wa10f9ik6ddhwjdd1n15gdif10284zpwbrwprya643959aj2";
+ sha256 = "1z9xjqr72r855899pgfrigdzcir18rpp0nh33r7jdz24q57zya10";
};
outputs = [ "out" "vim" ];
diff --git a/pkgs/tools/misc/vcs_query/default.nix b/pkgs/tools/misc/vcs_query/default.nix
new file mode 100644
index 00000000000..a39619f354b
--- /dev/null
+++ b/pkgs/tools/misc/vcs_query/default.nix
@@ -0,0 +1,31 @@
+{ stdenv, python3, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+ pname = "vcs_query";
+ version = "0.4.0";
+
+ src = fetchFromGitHub {
+ owner = "mageta";
+ repo = "vcs_query";
+ rev = "v${version}";
+ sha256 = "05va0na9yxkpqhm9v0x3k58148qcf2bbcv5bnmj7vn9r7fwyjrlx";
+ };
+
+ nativeBuildInputs = [ python3 python3.pkgs.wrapPython ];
+
+ dontBuild = true;
+
+ installPhase = ''
+ install -Dm0755 vcs_query.py $out/bin/vcs_query
+ patchShebangs $out/bin
+ buildPythonPath ${python3.pkgs.vobject};
+ patchPythonScript $out/bin/vcs_query
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = https://github.com/mageta/vcs_query;
+ description = "eMail query-command to use vCards in mutt and Vim";
+ license = licenses.mit;
+ maintainers = with maintainers; [ ma27 ];
+ };
+}
diff --git a/pkgs/tools/misc/xmonad-log/default.nix b/pkgs/tools/misc/xmonad-log/default.nix
index c39da71e179..7a092e59562 100644
--- a/pkgs/tools/misc/xmonad-log/default.nix
+++ b/pkgs/tools/misc/xmonad-log/default.nix
@@ -19,7 +19,7 @@ buildGoPackage rec {
description = "xmonad DBus monitoring solution";
homepage = https://github.com/xintron/xmonad-log;
license = licenses.mit;
- platforms = platforms.linux;
+ platforms = platforms.unix;
maintainers = with maintainers; [ joko ];
};
}
diff --git a/pkgs/tools/misc/yubikey-personalization/default.nix b/pkgs/tools/misc/yubikey-personalization/default.nix
index 43814a3f613..9caf4cf07b8 100644
--- a/pkgs/tools/misc/yubikey-personalization/default.nix
+++ b/pkgs/tools/misc/yubikey-personalization/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "yubikey-personalization-${version}";
- version = "1.19.0";
+ version = "1.19.3";
src = fetchurl {
url = "https://developers.yubico.com/yubikey-personalization/Releases/ykpers-${version}.tar.gz";
- sha256 = "104lc0nnqdr365fa7c4vrq67rxp1dp8idndsh9jlhnj9dnhszj1b";
+ sha256 = "0jhvnavjrpwzmmjcw486df5s48j53njqgyz36yz3dskbaz3kwlfr";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/tools/networking/aircrack-ng/default.nix b/pkgs/tools/networking/aircrack-ng/default.nix
index 8bb092f122b..7c0c69e1de0 100644
--- a/pkgs/tools/networking/aircrack-ng/default.nix
+++ b/pkgs/tools/networking/aircrack-ng/default.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
description = "Wireless encryption cracking tools";
homepage = http://www.aircrack-ng.org/;
license = licenses.gpl2Plus;
- maintainers = with maintainers; [ domenkozar garbas chaoflow ];
+ maintainers = with maintainers; [ domenkozar garbas ];
platforms = platforms.linux;
};
}
diff --git a/pkgs/tools/networking/filegive/default.nix b/pkgs/tools/networking/filegive/default.nix
index d8aed9ad8e0..f9e334d8196 100644
--- a/pkgs/tools/networking/filegive/default.nix
+++ b/pkgs/tools/networking/filegive/default.nix
@@ -17,6 +17,6 @@ buildGoPackage rec {
description = "Easy p2p file sending program";
license = licenses.agpl3Plus;
maintainers = [ maintainers.viric ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/tools/networking/getmail/default.nix b/pkgs/tools/networking/getmail/default.nix
index 7a133a0a0cb..6181093a193 100644
--- a/pkgs/tools/networking/getmail/default.nix
+++ b/pkgs/tools/networking/getmail/default.nix
@@ -2,11 +2,11 @@
python2Packages.buildPythonApplication rec {
pname = "getmail";
- version = "5.10";
+ version = "5.13";
src = fetchurl {
url = "http://pyropus.ca/software/getmail/old-versions/${pname}-${version}.tar.gz";
- sha256 = "0qc4gp66mhaxyjj7pfz9v69kxnw76my4zw07hvc4f3kj3balkygx";
+ sha256 = "178a1c37z1aia5m2mbq9gyv6hylnxg9g3lp3njcrz7phfmj2zm84";
};
doCheck = false;
diff --git a/pkgs/tools/networking/p2p/tahoe-lafs/default.nix b/pkgs/tools/networking/p2p/tahoe-lafs/default.nix
index c682100b438..6d4c77d5198 100644
--- a/pkgs/tools/networking/p2p/tahoe-lafs/default.nix
+++ b/pkgs/tools/networking/p2p/tahoe-lafs/default.nix
@@ -6,13 +6,13 @@
# some loss of functionality because of it.
pythonPackages.buildPythonApplication rec {
- version = "1.12.1";
+ version = "1.13.0";
name = "tahoe-lafs-${version}";
namePrefix = "";
src = fetchurl {
url = "https://tahoe-lafs.org/downloads/tahoe-lafs-${version}.tar.bz2";
- sha256 = "0x9f1kjym1188fp6l5sqy0zz8mdb4xw861bni2ccv26q482ynbks";
+ sha256 = "11pfz9yyy6qkkyi0kskxlbn2drfppx6yawqyv4kpkrkj4q7x5m42";
};
outputs = [ "out" "doc" "info" ];
@@ -56,9 +56,11 @@ pythonPackages.buildPythonApplication rec {
propagatedBuildInputs = with pythonPackages; [
twisted foolscap nevow simplejson zfec pycryptopp darcsver
setuptoolsTrial setuptoolsDarcs pycrypto pyasn1 zope_interface
- service-identity pyyaml
+ service-identity pyyaml magic-wormhole treq
];
+ checkInputs = with pythonPackages; [ hypothesis ];
+
# Install the documentation.
postInstall = ''
(
diff --git a/pkgs/tools/networking/ua/default.nix b/pkgs/tools/networking/ua/default.nix
index ea40a541a22..0cb8ad5a437 100644
--- a/pkgs/tools/networking/ua/default.nix
+++ b/pkgs/tools/networking/ua/default.nix
@@ -25,7 +25,7 @@ buildGoPackage rec {
homepage = https://github.com/sloonz/ua;
license = stdenv.lib.licenses.isc;
description = "Universal Aggregator";
- platforms = stdenv.lib.platforms.linux;
+ platforms = stdenv.lib.platforms.unix;
maintainers = with stdenv.lib.maintainers; [ ttuegel ];
};
}
diff --git a/pkgs/tools/package-management/appimage-run/default.nix b/pkgs/tools/package-management/appimage-run/default.nix
index af42b579a42..75ce3344e20 100644
--- a/pkgs/tools/package-management/appimage-run/default.nix
+++ b/pkgs/tools/package-management/appimage-run/default.nix
@@ -1,120 +1,12 @@
{ stdenv, writeScript, buildFHSUserEnv, coreutils, file, libarchive
-, extraPkgs ? pkgs: [] }:
+, extraPkgs ? pkgs: [], appimageTools }:
-buildFHSUserEnv {
+let
+ fhsArgs = appimageTools.defaultFhsEnvArgs;
+in buildFHSUserEnv (fhsArgs // {
name = "appimage-run";
- # Most of the packages were taken from the Steam chroot
- targetPkgs = pkgs: with pkgs; [
- gtk3
- bashInteractive
- gnome3.zenity
- python2
- xorg.xrandr
- which
- perl
- xdg_utils
- iana-etc
- ] ++ extraPkgs pkgs;
-
- multiPkgs = pkgs: with pkgs; [
- desktop-file-utils
- xorg.libXcomposite
- xorg.libXtst
- xorg.libXrandr
- xorg.libXext
- xorg.libX11
- xorg.libXfixes
- libGL
-
- gst_all_1.gstreamer
- gst_all_1.gst-plugins-ugly
- libdrm
- xorg.xkeyboardconfig
- xorg.libpciaccess
-
- glib
- gtk2
- bzip2
- zlib
- gdk_pixbuf
-
- xorg.libXinerama
- xorg.libXdamage
- xorg.libXcursor
- xorg.libXrender
- xorg.libXScrnSaver
- xorg.libXxf86vm
- xorg.libXi
- xorg.libSM
- xorg.libICE
- gnome2.GConf
- freetype
- (curl.override { gnutlsSupport = true; sslSupport = false; })
- nspr
- nss
- fontconfig
- cairo
- pango
- expat
- dbus
- cups
- libcap
- SDL2
- libusb1
- udev
- dbus-glib
- libav
- atk
- at-spi2-atk
- libudev0-shim
- networkmanager098
-
- xorg.libXt
- xorg.libXmu
- xorg.libxcb
- libGLU
- libuuid
- libogg
- libvorbis
- SDL
- SDL2_image
- glew110
- openssl
- libidn
- tbb
- wayland
- mesa_noglu
- libxkbcommon
-
- flac
- freeglut
- libjpeg
- libpng12
- libsamplerate
- libmikmod
- libtheora
- libtiff
- pixman
- speex
- SDL_image
- SDL_ttf
- SDL_mixer
- SDL2_ttf
- SDL2_mixer
- gstreamer
- gst-plugins-base
- libappindicator-gtk2
- libcaca
- libcanberra
- libgcrypt
- libvpx
- librsvg
- xorg.libXft
- libvdpau
- alsaLib
- strace
- ];
+ targetPkgs = pkgs: fhsArgs.targetPkgs pkgs ++ extraPkgs pkgs;
runScript = writeScript "appimage-exec" ''
#!${stdenv.shell}
@@ -153,4 +45,4 @@ buildFHSUserEnv {
exec ./AppRun
'';
-}
+})
diff --git a/pkgs/tools/package-management/apt-dater/default.nix b/pkgs/tools/package-management/apt-dater/default.nix
index 988147d7ab0..2912999fafa 100644
--- a/pkgs/tools/package-management/apt-dater/default.nix
+++ b/pkgs/tools/package-management/apt-dater/default.nix
@@ -5,13 +5,13 @@
stdenv.mkDerivation rec {
name = "apt-dater-${version}";
- version = "1.0.3";
+ version = "1.0.4";
src = fetchFromGitHub {
owner = "DE-IBH";
repo = "apt-dater";
rev = "v${version}";
- sha256 = "1flr6cm72cywmwp5h7pbmmpq057xsi9shkczyplxqaqrb2gns5fl";
+ sha256 = "1r6gz9jkh1wxi11mcq5p9mqg0szclsaq8ic79vnfnbjdrmmdfi4y";
};
nativeBuildInputs = [
diff --git a/pkgs/tools/package-management/morph/default.nix b/pkgs/tools/package-management/morph/default.nix
index 27dbad88413..51a963497fa 100644
--- a/pkgs/tools/package-management/morph/default.nix
+++ b/pkgs/tools/package-management/morph/default.nix
@@ -2,13 +2,13 @@
buildGoPackage rec {
name = "morph-${version}";
- version = "1.1.0";
+ version = "1.2.0";
src = fetchFromGitHub {
owner = "dbcdk";
repo = "morph";
rev = "v${version}";
- sha256 = "0pixm48is9if9d2b4qc5mwwa4lzma6snkib6z2a1d4pmdx1lmpmm";
+ sha256 = "0jhypvj45yjg4cn4rvb2j9091pl6z5j541vcfaln5sb3ds14fkwf";
};
goPackagePath = "github.com/dbcdk/morph";
@@ -16,6 +16,12 @@ buildGoPackage rec {
buildInputs = [ go-bindata ];
+ buildFlagsArray = ''
+ -ldflags=
+ -X
+ main.version=${version}
+ '';
+
prePatch = ''
go-bindata -pkg assets -o assets/assets.go data/
'';
diff --git a/pkgs/tools/package-management/mynewt-newt/default.nix b/pkgs/tools/package-management/mynewt-newt/default.nix
index 74c2fd59d4e..41471b2c8a7 100644
--- a/pkgs/tools/package-management/mynewt-newt/default.nix
+++ b/pkgs/tools/package-management/mynewt-newt/default.nix
@@ -24,6 +24,6 @@ buildGoPackage rec {
'';
license = licenses.asl20;
maintainers = with maintainers; [ pjones ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/tools/package-management/nix-prefetch/default.nix b/pkgs/tools/package-management/nix-prefetch/default.nix
new file mode 100644
index 00000000000..96a283a8ea8
--- /dev/null
+++ b/pkgs/tools/package-management/nix-prefetch/default.nix
@@ -0,0 +1,70 @@
+{ stdenv, fetchFromGitHub, makeWrapper
+, asciidoc, docbook_xml_dtd_45, docbook_xsl, libxml2, libxslt
+, coreutils, gawk, gnugrep, gnused, jq, nix }:
+
+with stdenv.lib;
+
+stdenv.mkDerivation rec {
+ name = "${pname}-${version}";
+ pname = "nix-prefetch";
+ version = "0.1.0";
+
+ src = fetchFromGitHub {
+ owner = "msteen";
+ repo = "nix-prefetch";
+ rev = "f9507a655651b51f3a3ebacde85bb40758853615";
+ sha256 = "0ykrbvbwwpz348424yy2452idgw8dffi3klh7n85n96dfflyyd4s";
+ };
+
+ nativeBuildInputs = [
+ makeWrapper
+ asciidoc docbook_xml_dtd_45 docbook_xsl libxml2 libxslt
+ ];
+
+ configurePhase = ''
+ . configure.sh
+ '';
+
+ buildPhase = ''
+ a2x -f manpage doc/nix-prefetch.1.asciidoc
+ '';
+
+ installPhase = ''
+ lib=$out/lib/${pname}
+ mkdir -p $lib
+ substitute src/main.sh $lib/main.sh \
+ --subst-var-by lib $lib \
+ --subst-var-by version '${version}'
+ chmod +x $lib/main.sh
+ patchShebangs $lib/main.sh
+ cp lib/*.nix $lib/
+
+ mkdir -p $out/bin
+ makeWrapper $lib/main.sh $out/bin/${pname} \
+ --prefix PATH : '${makeBinPath [ coreutils gawk gnugrep gnused jq nix ]}'
+
+ substitute src/tests.sh $lib/tests.sh \
+ --subst-var-by bin $out/bin
+ chmod +x $lib/tests.sh
+ patchShebangs $lib/tests.sh
+
+ mkdir -p $out/share/man/man1
+ substitute doc/nix-prefetch.1 $out/share/man/man1/nix-prefetch.1 \
+ --subst-var-by version '${version}' \
+ --replace '01/01/1970' "$date"
+
+ install -D contrib/nix-prefetch-completion.bash $out/share/bash-completion/completions/nix-prefetch
+ install -D contrib/nix-prefetch-completion.zsh $out/share/zsh/site-functions/_nix_prefetch
+
+ mkdir $out/contrib
+ cp -r contrib/hello_rs $out/contrib/
+ '';
+
+ meta = {
+ description = "Prefetch any fetcher function call, e.g. package sources";
+ homepage = https://github.com/msteen/nix-prefetch;
+ license = licenses.mit;
+ maintainers = with maintainers; [ msteen ];
+ platforms = platforms.all;
+ };
+}
diff --git a/pkgs/tools/package-management/nix/default.nix b/pkgs/tools/package-management/nix/default.nix
index 76d11a03fc4..2777fbcc903 100644
--- a/pkgs/tools/package-management/nix/default.nix
+++ b/pkgs/tools/package-management/nix/default.nix
@@ -164,13 +164,13 @@ in rec {
};
nixUnstable = lib.lowPrio (common rec {
- name = "nix-2.2${suffix}";
- suffix = "pre6600_85488a93";
+ name = "nix-2.3${suffix}";
+ suffix = "pre6631_e58a7144";
src = fetchFromGitHub {
owner = "NixOS";
repo = "nix";
- rev = "85488a93ec3b07210339f2b05aa93e970f9ac3be";
- sha256 = "1n5dp7p2lzpnj7f834d25k020v16gnnsm56jz46y87v2x7b69ccm";
+ rev = "e58a71442ad4a538b48fc7a9938c3690628c4741";
+ sha256 = "1hbjhnvjbh8bi8cjjgyrj4z1gw03ws12m2wi5azzj3rmhnh4c802";
};
fromGit = true;
});
diff --git a/pkgs/tools/security/enpass/data.json b/pkgs/tools/security/enpass/data.json
index accb92b13ea..a4a3b919e64 100644
--- a/pkgs/tools/security/enpass/data.json
+++ b/pkgs/tools/security/enpass/data.json
@@ -1,12 +1,12 @@
{
"amd64": {
- "path": "pool/main/e/enpass/enpass_5.6.5_amd64.deb",
- "sha256": "c7529b745aa462b56eac17af6fe88d4c1610fd2f446d222aaad9510f19212a7d",
- "version": "5.6.5"
+ "path": "pool/main/e/enpass/enpass_6.0.1.239_amd64.deb",
+ "sha256": "408a2bb318564307607f13b52fec7667f425c01ac40cbe345ebfa191ab1479ba",
+ "version": "6.0.1.239"
},
"i386": {
- "path": "pool/main/e/enpass/enpass_5.6.5_i386.deb",
- "sha256": "de46e27d5552dcd9d72abac8e5c3b6161ad551ce191a2ee689c67367b63ff8f9",
- "version": "5.6.5"
+ "path": "pool/main/e/enpass/enpass_5.6.9_i386.deb",
+ "sha256": "3f699ac3e2ecfd4afee1505d8d364d4f6b6b94c55ba989d0a80bd678ff66cb2c",
+ "version": "5.6.9"
}
}
\ No newline at end of file
diff --git a/pkgs/tools/security/enpass/default.nix b/pkgs/tools/security/enpass/default.nix
index 0f0c4233ca9..97a692d7f33 100644
--- a/pkgs/tools/security/enpass/default.nix
+++ b/pkgs/tools/security/enpass/default.nix
@@ -1,14 +1,14 @@
-{ stdenv, fetchurl, dpkg, openssl, xorg
+{ stdenv, fetchurl, dpkg, xorg
, glib, libGLU_combined, libpulseaudio, zlib, dbus, fontconfig, freetype
-, gtk2, pango, atk, cairo, gdk_pixbuf, jasper, xkeyboardconfig
+, gtk3, pango
, makeWrapper , python, pythonPackages, lib
-, libredirect, lsof
+, lsof, curl, libuuid, cups, mesa_drivers
}:
let
all_data = builtins.fromJSON (builtins.readFile ./data.json);
system_map = {
- i686-linux = "i386";
+ # i686-linux = "i386"; Uncomment if enpass 6 becomes available on i386
x86_64-linux = "amd64";
};
@@ -18,7 +18,7 @@ let
# used of both wrappers and libpath
libPath = lib.makeLibraryPath (with xorg; [
- openssl
+ mesa_drivers
libGLU_combined
fontconfig
freetype
@@ -29,17 +29,15 @@ let
libXi
libSM
libICE
- libXext
libXrender
libXScrnSaver
+ libxcb
glib
- gtk2
+ gtk3
pango
- cairo
- atk
- gdk_pixbuf
- jasper
- stdenv.cc.cc
+ curl
+ libuuid
+ cups
]);
package = stdenv.mkDerivation rec {
@@ -63,39 +61,22 @@ let
unpackPhase = "dpkg -X $src .";
installPhase=''
- mkdir $out
- cp -r opt/Enpass/* $out
+ mkdir -p $out/bin
+ cp -r opt/enpass/* $out/bin
cp -r usr/* $out
- rm $out/bin/runenpass.sh
- cp $out/bin/EnpassHelper/EnpassHelper{,.untampered}
- cp $out/bin/EnpassHelper/EnpassNMHost{,.untampered}
sed \
- -i s@/opt/Enpass/bin/runenpass.sh@$out/bin/Enpass@ \
+ -i s@/opt/enpass/Enpass@$out/bin/Enpass@ \
$out/share/applications/enpass.desktop
- for i in $out/bin/{Enpass,EnpassHelper/{EnpassHelper,EnpassNMHost}}; do
+ for i in $out/bin/{Enpass,importer_enpass}; do
patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) $i
done
- # The helper's sha256 sum must match, hence the use of libredirect.
- # Also, lsof must be in the path for proper operation.
+ # lsof must be in PATH for proper operation
wrapProgram $out/bin/Enpass \
- --set LD_LIBRARY_PATH "${libPath}:$out/lib:$out/plugins/sqldrivers" \
- --set QT_PLUGIN_PATH "$out/plugins" \
- --set QT_QPA_PLATFORM_PLUGIN_PATH "$out/plugins/platforms" \
- --set QT_XKB_CONFIG_ROOT "${xkeyboardconfig}/share/X11/xkb" \
- --set HIDE_TOOLBAR_LINE 0 \
- --set LD_PRELOAD "${libredirect}/lib/libredirect.so" \
- --set NIX_REDIRECTS "$out/bin/EnpassHelper/EnpassHelper=$out/bin/EnpassHelper/EnpassHelper.untampered:$out/bin/EnpassHelper/EnpassNMHost=$out/bin/EnpassHelper/EnpassNMHost.untampered" \
+ --set LD_LIBRARY_PATH "${libPath}" \
--prefix PATH : ${lsof}/bin
-
- makeWrapper $out/bin/EnpassHelper/{EnpassNMHost,runNativeMessaging.sh} \
- --set LD_LIBRARY_PATH "${libPath}:$out/lib:$out/plugins/sqldrivers" \
- --set QT_PLUGIN_PATH "$out/plugins" \
- --set QT_QPA_PLATFORM_PLUGIN_PATH "$out/plugins/platforms" \
- --set QT_XKB_CONFIG_ROOT "${xkeyboardconfig}/share/X11/xkb" \
- --set HIDE_TOOLBAR_LINE 0
'';
};
updater = {
diff --git a/pkgs/tools/security/kbfs/default.nix b/pkgs/tools/security/kbfs/default.nix
index 7c96085d37f..9cd6ccca388 100644
--- a/pkgs/tools/security/kbfs/default.nix
+++ b/pkgs/tools/security/kbfs/default.nix
@@ -21,7 +21,7 @@ buildGoPackage rec {
meta = with stdenv.lib; {
homepage = https://www.keybase.io;
description = "The Keybase FS FUSE driver";
- platforms = platforms.linux;
+ platforms = platforms.unix;
maintainers = with maintainers; [ rvolosatovs bennofs np ];
license = licenses.bsd3;
};
diff --git a/pkgs/tools/security/saml2aws/default.nix b/pkgs/tools/security/saml2aws/default.nix
index e90517f1581..7ccb9efcdd5 100644
--- a/pkgs/tools/security/saml2aws/default.nix
+++ b/pkgs/tools/security/saml2aws/default.nix
@@ -22,7 +22,7 @@ buildGoPackage rec {
description = "CLI tool which enables you to login and retrieve AWS temporary credentials using a SAML IDP";
homepage = https://github.com/Versent/saml2aws;
license = licenses.mit;
- platforms = stdenv.lib.platforms.linux;
+ platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.pmyjavec ];
};
}
diff --git a/pkgs/tools/system/awstats/default.nix b/pkgs/tools/system/awstats/default.nix
index aaf5bf136cb..9686ec5d715 100644
--- a/pkgs/tools/system/awstats/default.nix
+++ b/pkgs/tools/system/awstats/default.nix
@@ -56,7 +56,7 @@ perlPackages.buildPerlPackage rec {
description = "Real-time logfile analyzer to get advanced statistics";
homepage = http://awstats.org;
license = licenses.gpl3Plus;
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/tools/system/bfs/default.nix b/pkgs/tools/system/bfs/default.nix
index 234b40e0386..c3cbaf98a87 100644
--- a/pkgs/tools/system/bfs/default.nix
+++ b/pkgs/tools/system/bfs/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
name = "bfs-${version}";
- version = "1.3.2";
+ version = "1.3.3";
src = fetchFromGitHub {
repo = "bfs";
owner = "tavianator";
rev = version;
- sha256 = "0cyylqmq31if93zz0l1fnm454dsmcx34j4c2r0xprcggihdxbwk5";
+ sha256 = "0yjbv6j5sn2yq57rx50h284krxyx5gcviwv8ac7zxwr2qggn8lqy";
};
buildInputs = stdenv.lib.optionals stdenv.isLinux [ libcap acl ];
diff --git a/pkgs/tools/system/systemd-journal2gelf/default.nix b/pkgs/tools/system/systemd-journal2gelf/default.nix
index bfbe217c269..7230f55d309 100644
--- a/pkgs/tools/system/systemd-journal2gelf/default.nix
+++ b/pkgs/tools/system/systemd-journal2gelf/default.nix
@@ -19,6 +19,6 @@ buildGoPackage rec {
description = "Export entries from systemd's journal and send them to a graylog server using gelf";
license = licenses.bsd2;
maintainers = with maintainers; [ fadenb fpletz globin ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/tools/text/shab/default.nix b/pkgs/tools/text/shab/default.nix
new file mode 100644
index 00000000000..73323c784fd
--- /dev/null
+++ b/pkgs/tools/text/shab/default.nix
@@ -0,0 +1,74 @@
+{ bash, stdenv, lib, runCommand, writeText, fetchFromGitHub }:
+let
+ version = "1.0.0";
+
+ shab = stdenv.mkDerivation {
+ pname = "shab";
+ inherit version;
+
+ src = fetchFromGitHub {
+ owner = "zimbatm";
+ repo = "shab";
+ rev = "v${version}";
+ sha256 = "02lf1s6plhhcfyj9xha44wij9jbphb1x5q55xj3b5bx2ji2jsvji";
+ };
+
+ postPatch = ''
+ for f in test.sh test/*.sh; do
+ patchShebangs "$f"
+ done
+ '';
+
+ doBuild = false;
+ doCheck = true;
+ doInstallCheck = true;
+
+ checkPhase = ''
+ ./test.sh
+ '';
+
+ installPhase = ''
+ mkdir -p $out/bin
+ cp ./shab $out/bin/shab
+ '';
+
+ installCheckPhase = ''
+ [[ "$(echo 'Hello $entity' | entity=world $out/bin/shab)" == 'Hello world' ]]
+ '';
+
+ passthru = {
+ inherit render renderText;
+ };
+
+ meta = with lib; {
+ description = "The bash templating language";
+ homepage = https://github.com/zimbatm/shab;
+ license = licenses.unlicense;
+ maintainers = with maintainers; [ zimbatm ];
+ platforms = bash.meta.platforms;
+ };
+ };
+
+ /*
+ shabScript: a path or filename to use as a template
+ parameters.name: the name to use as part of the store path
+ parameters: variables to expose to the template
+ */
+ render = shabScript: parameters:
+ let extraParams = {
+ inherit shabScript;
+ };
+ in runCommand "out" (parameters // extraParams) ''
+ ${shab}/bin/shab "$shabScript" >$out
+ '';
+
+ /*
+ shabScriptText: a string to use as a template
+ parameters.name: the name to use as part of the store path
+ parameters: variables to expose to the template
+ */
+ renderText = shabScriptText: parameters:
+ render (writeText "template" shabScriptText) parameters;
+
+in
+ shab
diff --git a/pkgs/tools/text/vale/default.nix b/pkgs/tools/text/vale/default.nix
index ba7d1a336a0..cb1780a6903 100644
--- a/pkgs/tools/text/vale/default.nix
+++ b/pkgs/tools/text/vale/default.nix
@@ -2,19 +2,19 @@
buildGoPackage rec {
name = "vale-${version}";
- version = "1.3.0";
+ version = "1.3.2";
goPackagePath = "github.com/errata-ai/vale";
+ subPackages = [ "." ];
+
src = fetchFromGitHub {
owner = "errata-ai";
repo = "vale";
rev = "v${version}";
- sha256 = "1yfrn27z3ifdlvalgrnhdrkhxkh09xpyv681sr01wc2hxq6v3hqn";
+ sha256 = "0jpklca4m6wpndy6spj30s6ssb5y9ysyncxj7i6fg2g0m4dzzh8w";
};
- doCheck = true;
-
meta = with stdenv.lib; {
homepage = https://errata-ai.github.io/vale/;
description = "A syntax-aware linter for prose built with speed and extensibility in mind";
diff --git a/pkgs/tools/typesetting/scdoc/default.nix b/pkgs/tools/typesetting/scdoc/default.nix
index d18164be3be..491116127d2 100644
--- a/pkgs/tools/typesetting/scdoc/default.nix
+++ b/pkgs/tools/typesetting/scdoc/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "scdoc-${version}";
- version = "1.8.1";
+ version = "1.9.0";
src = fetchurl {
url = "https://git.sr.ht/~sircmpwn/scdoc/archive/${version}.tar.gz";
- sha256 = "1f3qrnbjr9ikbdvpsyx726nyiz4f7ka38rimy9fvbl7kmi62w1v7";
+ sha256 = "0w81mz99ap037ih8ws6zsjkcfr90hgjmnplsg4c6bqdj50ad32n6";
};
postPatch = ''
diff --git a/pkgs/tools/virtualization/awless/default.nix b/pkgs/tools/virtualization/awless/default.nix
index ff9a13c500b..37c3248b83e 100644
--- a/pkgs/tools/virtualization/awless/default.nix
+++ b/pkgs/tools/virtualization/awless/default.nix
@@ -2,15 +2,15 @@
buildGoPackage rec {
name = "awless-${version}";
- version = "0.0.14";
+ version = "0.1.11";
goPackagePath = "github.com/wallix/awless";
src = fetchFromGitHub {
owner = "wallix";
repo = "awless";
- rev = version;
- sha256 = "1syxw8d9y1b4bdb1arsx05m5mxnd0dqp3nj7fk5j1v7cnnbja3hj";
+ rev = "v${version}";
+ sha256 = "187i21yrm10r3f5naj3jl0rmydr5dkhmdhxs90hhf8hjp59a89kg";
};
meta = with stdenv.lib; {
@@ -18,6 +18,6 @@ buildGoPackage rec {
description = "A Mighty CLI for AWS";
platforms = with platforms; linux ++ darwin;
license = licenses.asl20;
- maintainers = with maintainers; [ pradeepchhetri ];
+ maintainers = with maintainers; [ pradeepchhetri swdunlop ];
};
}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index f8caee188f0..d7496ef7066 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -35,7 +35,7 @@ in
stdenvNoCC = stdenv.override { cc = null; extraAttrs.noCC = true; };
- stdenvNoLibs = let
+ mkStdenvNoLibs = stdenv: let
bintools = stdenv.cc.bintools.override {
libc = null;
noLibc = true;
@@ -51,6 +51,11 @@ in
lib.mapNullable (rs: rs ++ [ bintools ]) (stdenv.allowedRequisites or null);
};
+ stdenvNoLibs = mkStdenvNoLibs stdenv;
+
+ gccStdenvNoLibs = mkStdenvNoLibs gccStdenv;
+ clangStdenvNoLibs = mkStdenvNoLibs clangStdenv;
+
# For convenience, allow callers to get the path to Nixpkgs.
path = ../..;
@@ -64,6 +69,14 @@ in
# inside the set for derivations.
recurseIntoAttrs = attrs: attrs // { recurseForDerivations = true; };
+ # This is intended to be the reverse of recurseIntoAttrs, as it is
+ # defined now it exists mainly for documentation purposes, but you
+ # can also override this with recurseIntoAttrs to recurseInto all
+ # the Attrs which is useful for testing massive changes. Ideally,
+ # every package subset not marked with recurseIntoAttrs should be
+ # marked with this.
+ dontRecurseIntoAttrs = x: x;
+
stringsWithDeps = lib.stringsWithDeps;
### Evaluating the entire Nixpkgs naively will fail, make failure fast
@@ -105,6 +118,8 @@ in
autoPatchelfHook = makeSetupHook { name = "auto-patchelf-hook"; }
../build-support/setup-hooks/auto-patchelf.sh;
+ appimageTools = callPackage ../build-support/appimage { };
+
ensureNewerSourcesHook = { year }: makeSetupHook {}
(writeScript "ensure-newer-sources-hook.sh" ''
postUnpackHooks+=(_ensureNewerSources)
@@ -237,9 +252,35 @@ in
# `fetchurl' downloads a file from the network.
fetchurl = import ../build-support/fetchurl {
inherit lib stdenvNoCC;
- # On darwin, libkrb5 needs bootstrap_cmds which would require
- # converting many packages to fetchurl_boot to avoid evaluation cycles.
- curl = buildPackages.curl.override (lib.optionalAttrs stdenv.isDarwin { gssSupport = false; });
+ curl = buildPackages.curl.override rec {
+ # break dependency cycles
+ fetchurl = stdenv.fetchurlBoot;
+ pkgconfig = buildPackages.pkgconfig.override { fetchurl = stdenv.fetchurlBoot; };
+ perl = buildPackages.perl.override { fetchurl = stdenv.fetchurlBoot; };
+ openssl = buildPackages.openssl.override {
+ fetchurl = stdenv.fetchurlBoot;
+ inherit perl;
+ buildPackages = { inherit perl; };
+ };
+ libssh2 = buildPackages.libssh2.override {
+ fetchurl = stdenv.fetchurlBoot;
+ inherit openssl;
+ };
+ # On darwin, libkrb5 needs bootstrap_cmds which would require
+ # converting many packages to fetchurl_boot to avoid evaluation cycles.
+ gssSupport = !stdenv.isDarwin && !stdenv.hostPlatform.isWindows;
+ libkrb5 = buildPackages.libkrb5.override {
+ fetchurl = stdenv.fetchurlBoot;
+ inherit pkgconfig perl openssl;
+ keyutils = buildPackages.keyutils.override { fetchurl = stdenv.fetchurlBoot; };
+ };
+ nghttp2 = buildPackages.nghttp2.override {
+ fetchurl = stdenv.fetchurlBoot;
+ inherit pkgconfig openssl;
+ c-ares = buildPackages.c-ares.override { fetchurl = stdenv.fetchurlBoot; };
+ libev = buildPackages.libev.override { fetchurl = stdenv.fetchurlBoot; };
+ };
+ };
};
fetchRepoProject = callPackage ../build-support/fetchrepoproject { };
@@ -248,13 +289,6 @@ in
inherit curl stdenv;
};
- # fetchurlBoot is used for curl and its dependencies in order to
- # prevent a cyclic dependency (curl depends on curl.tar.bz2,
- # curl.tar.bz2 depends on fetchurl, fetchurl depends on curl). It
- # uses the curl from the previous bootstrap phase (e.g. a statically
- # linked curl in the case of stdenv-linux).
- fetchurlBoot = stdenv.fetchurlBoot;
-
fetchzip = callPackage ../build-support/fetchzip { };
fetchCrate = callPackage ../build-support/rust/fetchcrate.nix { };
@@ -619,6 +653,8 @@ in
autorevision = callPackage ../tools/misc/autorevision { };
+ automirror = callPackage ../tools/misc/automirror { };
+
bcachefs-tools = callPackage ../tools/filesystems/bcachefs-tools { };
bitwarden-cli = callPackage ../tools/security/bitwarden-cli { };
@@ -924,7 +960,11 @@ in
bluemix-cli = callPackage ../tools/admin/bluemix-cli { };
- charles = callPackage ../applications/networking/charles { };
+ charles = charles4;
+ inherit (callPackage ../applications/networking/charles {})
+ charles3
+ charles4
+ ;
libqmatrixclient = libsForQt5.callPackage ../development/libraries/libqmatrixclient { };
@@ -1594,6 +1634,8 @@ in
s2png = callPackage ../tools/graphics/s2png { };
+ shab = callPackage ../tools/text/shab { };
+
simg2img = callPackage ../tools/filesystems/simg2img { };
snipes = callPackage ../games/snipes { };
@@ -1626,7 +1668,7 @@ in
roundcube = callPackage ../servers/roundcube { };
- roundcubePlugins = callPackage ../servers/roundcube/plugins { };
+ roundcubePlugins = dontRecurseIntoAttrs (callPackage ../servers/roundcube/plugins { });
rsbep = callPackage ../tools/backup/rsbep { };
@@ -2135,9 +2177,7 @@ in
brotliSupport = true;
};
- curl = callPackage ../tools/networking/curl rec {
- fetchurl = fetchurlBoot;
- };
+ curl = callPackage ../tools/networking/curl { };
curl_unix_socket = callPackage ../tools/networking/curl-unix-socket rec { };
@@ -2266,6 +2306,8 @@ in
dirmngr = callPackage ../tools/security/dirmngr { };
+ dirvish = callPackage ../tools/backup/dirvish { };
+
disper = callPackage ../tools/misc/disper { };
dleyna-connector-dbus = callPackage ../development/libraries/dleyna-connector-dbus { };
@@ -2430,7 +2472,7 @@ in
emscripten = callPackage ../development/compilers/emscripten { };
- emscriptenfastcompPackages = callPackage ../development/compilers/emscripten/fastcomp { };
+ emscriptenfastcompPackages = dontRecurseIntoAttrs (callPackage ../development/compilers/emscripten/fastcomp { });
emscriptenfastcomp = emscriptenfastcompPackages.emscriptenfastcomp;
@@ -2616,6 +2658,8 @@ in
flatpak-builder = callPackage ../development/tools/flatpak-builder { };
+ fltrdr = callPackage ../tools/misc/fltrdr { stdenv = gcc8Stdenv; };
+
figlet = callPackage ../tools/misc/figlet { };
file = callPackage ../tools/misc/file {
@@ -2762,9 +2806,9 @@ in
fusuma = callPackage ../tools/inputmethods/fusuma {};
- fdbPackages = callPackage ../servers/foundationdb {
+ fdbPackages = dontRecurseIntoAttrs (callPackage ../servers/foundationdb {
stdenv49 = overrideCC stdenv gcc49;
- };
+ });
inherit (fdbPackages)
foundationdb51
@@ -3864,17 +3908,17 @@ in
openssl = openssl_1_1;
};
- nodePackages_10_x = callPackage ../development/node-packages/default-v10.nix {
+ nodePackages_10_x = dontRecurseIntoAttrs (callPackage ../development/node-packages/default-v10.nix {
nodejs = pkgs.nodejs-10_x;
- };
+ });
- nodePackages_8_x = callPackage ../development/node-packages/default-v8.nix {
+ nodePackages_8_x = dontRecurseIntoAttrs (callPackage ../development/node-packages/default-v8.nix {
nodejs = pkgs.nodejs-8_x;
- };
+ });
- nodePackages_6_x = callPackage ../development/node-packages/default-v6.nix {
+ nodePackages_6_x = dontRecurseIntoAttrs (callPackage ../development/node-packages/default-v6.nix {
nodejs = pkgs.nodejs-6_x;
- };
+ });
nodePackages = nodePackages_10_x;
@@ -3928,6 +3972,8 @@ in
libhandy = callPackage ../development/libraries/libhandy { };
+ libgumath = callPackage ../development/libraries/libgumath { };
+
libipfix = callPackage ../development/libraries/libipfix { };
libircclient = callPackage ../development/libraries/libircclient { };
@@ -4480,6 +4526,8 @@ in
notify-osd = callPackage ../applications/misc/notify-osd { };
+ notes-up = callPackage ../applications/office/notes-up { };
+
notify-osd-customizable = callPackage ../applications/misc/notify-osd-customizable { };
nox = callPackage ../tools/package-management/nox { };
@@ -4688,17 +4736,6 @@ in
pandoc = haskell.lib.overrideCabal (haskell.lib.justStaticExecutables haskellPackages.pandoc) (drv: {
configureFlags = drv.configureFlags or [] ++ ["-fembed_data_files"];
buildDepends = drv.buildDepends or [] ++ [haskellPackages.file-embed];
- postInstall = ''
- mkdir -p $out/share/man/man1
- cp man/pandoc.1 $out/share/man/man1/
- '';
- # Newer tasty version works
- # https://github.com/jgm/pandoc/commit/3bf398b15ff28a39133a8ce27ba3d2728d255b17#diff-d37211f38c72504621b9d03eef12ffd7
- # Note the patch doesn't apply because we fetch the cabal file from elsewhere
- # This should be removed with pandoc 2.6.
- postPatch = ''
- substituteInPlace pandoc.cabal --replace "tasty >= 0.11 && < 1.2" "tasty >= 0.11 && < 1.3"
- '';
});
pamtester = callPackage ../tools/security/pamtester { };
@@ -4868,7 +4905,7 @@ in
plan9port = callPackage ../tools/system/plan9port { };
- platformioPackages = callPackage ../development/arduino/platformio { };
+ platformioPackages = dontRecurseIntoAttrs (callPackage ../development/arduino/platformio { });
platformio = platformioPackages.platformio-chrootenv;
platinum-searcher = callPackage ../tools/text/platinum-searcher { };
@@ -5974,6 +6011,8 @@ in
vcsh = callPackage ../applications/version-management/vcsh { };
+ vcs_query = callPackage ../tools/misc/vcs_query { };
+
vcstool = callPackage ../development/tools/vcstool { };
verilator = callPackage ../applications/science/electronics/verilator {};
@@ -6511,6 +6550,8 @@ in
dash = callPackage ../shells/dash { };
+ dasht = callPackage ../tools/misc/dasht { };
+
dashing = callPackage ../tools/misc/dashing { };
es = callPackage ../shells/es { };
@@ -7012,9 +7053,9 @@ in
haskell = callPackage ./haskell-packages.nix { };
- haskellPackages = haskell.packages.ghc863.override {
+ haskellPackages = dontRecurseIntoAttrs (haskell.packages.ghc863.override {
overrides = config.haskellPackageOverrides or haskell.packageOverrides;
- };
+ });
inherit (haskellPackages) ghc;
@@ -7103,9 +7144,9 @@ in
icedtea_web = icedtea8_web;
- idrisPackages = callPackage ../development/idris-modules {
+ idrisPackages = dontRecurseIntoAttrs (callPackage ../development/idris-modules {
idris-no-deps = haskellPackages.idris;
- };
+ });
idris = idrisPackages.with-packages [ idrisPackages.base ] ;
@@ -8528,7 +8569,9 @@ in
librarian-puppet-go = callPackage ../development/tools/librarian-puppet-go { };
- libgcc = callPackage ../development/libraries/gcc/libgcc { };
+ libgcc = callPackage ../development/libraries/gcc/libgcc {
+ stdenvNoLibs = gccStdenvNoLibs; # cannot be built with clang it seems
+ };
libstdcxx5 = callPackage ../development/libraries/gcc/libstdc++/5.nix { };
@@ -8965,9 +9008,7 @@ in
pkgconf = callPackage ../development/tools/misc/pkgconf {};
- pkg-config = callPackage ../development/tools/misc/pkg-config {
- fetchurl = fetchurlBoot;
- };
+ pkg-config = callPackage ../development/tools/misc/pkg-config { };
pkgconfig = pkg-config; # added 2018-02-02
pkg-configUpstream = lowPrio (pkg-config.override { vanilla = true; });
@@ -9059,7 +9100,7 @@ in
selendroid = callPackage ../development/tools/selenium/selendroid { };
- sconsPackages = callPackage ../development/tools/build-managers/scons { };
+ sconsPackages = dontRecurseIntoAttrs (callPackage ../development/tools/build-managers/scons { });
scons = sconsPackages.scons_latest;
mill = callPackage ../development/tools/build-managers/mill { };
@@ -9432,9 +9473,7 @@ in
bzrtp = callPackage ../development/libraries/bzrtp { };
- c-ares = callPackage ../development/libraries/c-ares {
- fetchurl = fetchurlBoot;
- };
+ c-ares = callPackage ../development/libraries/c-ares { };
c-blosc = callPackage ../development/libraries/c-blosc { };
@@ -10039,7 +10078,7 @@ in
# A GMP fork
mpir = callPackage ../development/libraries/mpir {};
- gns3Packages = callPackage ../applications/networking/gns3 { };
+ gns3Packages = dontRecurseIntoAttrs (callPackage ../applications/networking/gns3 { });
gns3-gui = gns3Packages.guiStable;
gns3-server = gns3Packages.serverStable;
@@ -10482,10 +10521,7 @@ in
inherit (buildPackages.darwin) bootstrap_cmds;
};
krb5Full = krb5;
- libkrb5 = krb5.override {
- fetchurl = fetchurlBoot;
- type = "lib";
- };
+ libkrb5 = krb5.override { type = "lib"; };
kerberos = libkrb5; # TODO: move to aliases.nix
languageMachines = recurseIntoAttrs (import ../development/libraries/languagemachines/packages.nix { inherit callPackage; });
@@ -10861,9 +10897,7 @@ in
libechonest = callPackage ../development/libraries/libechonest { };
- libev = callPackage ../development/libraries/libev {
- fetchurl = fetchurlBoot;
- };
+ libev = callPackage ../development/libraries/libev { };
libevent = callPackage ../development/libraries/libevent { };
@@ -11081,9 +11115,7 @@ in
ln -sv ${libcDev}/include/iconv.h $out/include
'';
- libiconvReal = callPackage ../development/libraries/libiconv {
- fetchurl = fetchurlBoot;
- };
+ libiconvReal = callPackage ../development/libraries/libiconv { };
# On non-GNU systems we need GNU Gettext for libintl.
libintl = if stdenv.hostPlatform.libc != "glibc" then gettext else null;
@@ -11753,9 +11785,7 @@ in
newt = callPackage ../development/libraries/newt { };
- nghttp2 = callPackage ../development/libraries/nghttp2 {
- fetchurl = fetchurlBoot;
- };
+ nghttp2 = callPackage ../development/libraries/nghttp2 { };
libnghttp2 = nghttp2.lib;
nix-plugins = callPackage ../development/libraries/nix-plugins {
@@ -11911,9 +11941,7 @@ in
openssl = openssl_1_0_2;
- inherit (callPackages ../development/libraries/openssl {
- fetchurl = fetchurlBoot;
- })
+ inherit (callPackages ../development/libraries/openssl { })
openssl_1_0_2
openssl_1_1;
@@ -12337,6 +12365,8 @@ in
rapidjson = callPackage ../development/libraries/rapidjson {};
+ rapidxml = callPackage ../development/libraries/rapidxml {};
+
raul = callPackage ../development/libraries/audio/raul { };
readline = readline6;
@@ -13111,9 +13141,7 @@ in
zeitgeist = callPackage ../development/libraries/zeitgeist { };
- zlib = callPackage ../development/libraries/zlib {
- fetchurl = fetchurlBoot;
- };
+ zlib = callPackage ../development/libraries/zlib { };
libdynd = callPackage ../development/libraries/libdynd { };
@@ -13311,8 +13339,8 @@ in
quicklispPackagesFor = clwrapper: callPackage ../development/lisp-modules/quicklisp-to-nix.nix {
inherit clwrapper;
};
- quicklispPackagesClisp = quicklispPackagesFor (wrapLisp clisp);
- quicklispPackagesSBCL = quicklispPackagesFor (wrapLisp sbcl);
+ quicklispPackagesClisp = dontRecurseIntoAttrs (quicklispPackagesFor (wrapLisp clisp));
+ quicklispPackagesSBCL = dontRecurseIntoAttrs (quicklispPackagesFor (wrapLisp sbcl));
quicklispPackages = quicklispPackagesSBCL;
quicklispPackages_asdf_3_1 = quicklispPackagesFor
((wrapLisp sbcl).override { asdf = asdf_3_1; });
@@ -13374,9 +13402,9 @@ in
packages = [];
};
- rPackages = callPackage ../development/r-modules {
+ rPackages = dontRecurseIntoAttrs (callPackage ../development/r-modules {
overrides = (config.rPackageOverrides or (p: {})) pkgs;
- };
+ });
### SERVERS
@@ -13411,7 +13439,7 @@ in
subversion = pkgs.subversion.override { httpServer = true; inherit apacheHttpd; };
};
- apacheHttpdPackages_2_4 = apacheHttpdPackagesFor pkgs.apacheHttpd_2_4 pkgs.apacheHttpdPackages_2_4;
+ apacheHttpdPackages_2_4 = dontRecurseIntoAttrs (apacheHttpdPackagesFor pkgs.apacheHttpd_2_4 pkgs.apacheHttpdPackages_2_4);
apacheHttpdPackages = apacheHttpdPackages_2_4;
appdaemon = callPackage ../servers/home-assistant/appdaemon.nix { };
@@ -14398,9 +14426,9 @@ in
inherit (linuxPackages) kernel;
};
- fusePackages = callPackage ../os-specific/linux/fuse {
+ fusePackages = dontRecurseIntoAttrs (callPackage ../os-specific/linux/fuse {
utillinux = utillinuxMinimal;
- };
+ });
fuse = lowPrio fusePackages.fuse_2;
fuse3 = fusePackages.fuse_3;
fuse-common = hiPrio fusePackages.fuse_3.common;
@@ -14689,7 +14717,7 @@ in
nvidiabl = callPackage ../os-specific/linux/nvidiabl { };
- nvidiaPackages = callPackage ../os-specific/linux/nvidia-x11 { };
+ nvidiaPackages = dontRecurseIntoAttrs (callPackage ../os-specific/linux/nvidia-x11 { });
nvidia_x11_legacy304 = nvidiaPackages.legacy_304;
nvidia_x11_legacy340 = nvidiaPackages.legacy_340;
@@ -14889,8 +14917,7 @@ in
kernel = null; # dpdk modules are in linuxPackages.dpdk.kmod
};
- # Using fetchurlBoot because this is used by kerberos (on Linux), which curl depends on
- keyutils = callPackage ../os-specific/linux/keyutils { fetchurl = fetchurlBoot; };
+ keyutils = callPackage ../os-specific/linux/keyutils { };
libselinux = callPackage ../os-specific/linux/libselinux { };
@@ -15630,6 +15657,8 @@ in
league-of-moveable-type = callPackage ../data/fonts/league-of-moveable-type {};
+ ledger-udev-rules = callPackage ../os-specific/linux/ledger-udev-rules {};
+
inherit (callPackages ../data/fonts/redhat-liberation-fonts { })
liberation_ttf_v1
liberation_ttf_v2
@@ -15887,12 +15916,12 @@ in
source-han-code-jp = callPackage ../data/fonts/source-han-code-jp { };
- sourceHanSansPackages = callPackage ../data/fonts/source-han-sans { };
+ sourceHanSansPackages = dontRecurseIntoAttrs (callPackage ../data/fonts/source-han-sans { });
source-han-sans-japanese = sourceHanSansPackages.japanese;
source-han-sans-korean = sourceHanSansPackages.korean;
source-han-sans-simplified-chinese = sourceHanSansPackages.simplified-chinese;
source-han-sans-traditional-chinese = sourceHanSansPackages.traditional-chinese;
- sourceHanSerifPackages = callPackage ../data/fonts/source-han-serif { };
+ sourceHanSerifPackages = dontRecurseIntoAttrs (callPackage ../data/fonts/source-han-serif { });
source-han-serif-japanese = sourceHanSerifPackages.japanese;
source-han-serif-korean = sourceHanSerifPackages.korean;
source-han-serif-simplified-chinese = sourceHanSerifPackages.simplified-chinese;
@@ -15944,6 +15973,8 @@ in
ultimate-oldschool-pc-font-pack = callPackage ../data/fonts/ultimate-oldschool-pc-font-pack { };
+ undefined-medium = callPackage ../data/fonts/undefined-medium { };
+
uni-vga = callPackage ../data/fonts/uni-vga { };
unifont = callPackage ../data/fonts/unifont { };
@@ -15980,6 +16011,8 @@ in
xorg-rgb = callPackage ../data/misc/xorg-rgb {};
+ yanone-kaffeesatz = callPackage ../data/fonts/yanone-kaffeesatz {};
+
zafiro-icons = callPackage ../data/icons/zafiro-icons { };
zeal = libsForQt5.callPackage ../data/documentation/zeal { };
@@ -16096,7 +16129,7 @@ in
gconf = gnome2.GConf;
};
- atomPackages = callPackage ../applications/editors/atom { };
+ atomPackages = dontRecurseIntoAttrs (callPackage ../applications/editors/atom { });
inherit (atomPackages) atom atom-beta;
@@ -16434,6 +16467,11 @@ in
fluidsynth = fluidsynth_1;
};
+ csound-manual = callPackage ../applications/audio/csound/csound-manual {
+ python = python27;
+ pygments = python27Packages.pygments;
+ };
+
csound-qt = callPackage ../applications/audio/csound/csound-qt {
python = python27;
qmake = qt59.qmake;
@@ -16866,8 +16904,8 @@ in
cask = callPackage ../applications/editors/emacs-modes/cask { };
};
- emacs25Packages = emacsPackagesFor emacs25 pkgs.emacs25Packages;
- emacs26Packages = emacsPackagesFor emacs26 pkgs.emacs26Packages;
+ emacs25Packages = dontRecurseIntoAttrs (emacsPackagesFor emacs25 pkgs.emacs25Packages);
+ emacs26Packages = dontRecurseIntoAttrs (emacsPackagesFor emacs26 pkgs.emacs26Packages);
emacsPackagesNgFor = emacs: import ./emacs-packages.nix {
inherit lib newScope stdenv;
@@ -16892,9 +16930,10 @@ in
};
};
- emacs25PackagesNg = emacsPackagesNgFor emacs25;
+ emacs25PackagesNg = dontRecurseIntoAttrs (emacsPackagesNgFor emacs25);
+ emacs26PackagesNg = dontRecurseIntoAttrs (emacsPackagesNgFor emacs26);
+
emacs25WithPackages = emacs25PackagesNg.emacsWithPackages;
- emacs26PackagesNg = emacsPackagesNgFor emacs26;
emacs26WithPackages = emacs26PackagesNg.emacsWithPackages;
emacsWithPackages = emacsPackagesNg.emacsWithPackages;
@@ -17010,6 +17049,8 @@ in
focuswriter = libsForQt5.callPackage ../applications/editors/focuswriter { };
+ fondo = callPackage ../applications/graphics/fondo { };
+
font-manager = callPackage ../applications/misc/font-manager { };
foo-yc20 = callPackage ../applications/audio/foo-yc20 { };
@@ -17846,7 +17887,7 @@ in
inherit (kdeApplications)
akonadi akregator ark dolphin dragon ffmpegthumbs filelight gwenview k3b
kaddressbook kate kcachegrind kcalc kcharselect kcolorchooser kcontacts kdenlive kdf kdialog
- keditbookmarks kget kgpg khelpcenter kig kleopatra kmail kmix kolourpaint kompare konsole
+ keditbookmarks kget kgpg khelpcenter kig kleopatra kmail kmix kmplot kolourpaint kompare konsole
kpkpass kitinerary kontact korganizer krdc krfb ksystemlog ktouch kwalletmanager marble minuet okular spectacle;
okteta = libsForQt5.callPackage ../applications/editors/okteta { };
@@ -19516,7 +19557,7 @@ in
taskserver = callPackage ../servers/misc/taskserver { };
- tdesktopPackages = callPackage ../applications/networking/instant-messengers/telegram/tdesktop { };
+ tdesktopPackages = dontRecurseIntoAttrs (callPackage ../applications/networking/instant-messengers/telegram/tdesktop { });
tdesktop = tdesktopPackages.stable;
telegram-cli = callPackage ../applications/networking/instant-messengers/telegram/telegram-cli { };
@@ -19796,6 +19837,8 @@ in
virtinst = callPackage ../applications/virtualization/virtinst {};
+ virtscreen = callPackage ../tools/admin/virtscreen {};
+
virtualbox = callPackage ../applications/virtualization/virtualbox {
stdenv = stdenv_32bit;
inherit (gnome2) libIDL;
@@ -19930,7 +19973,7 @@ in
weechat = wrapWeechat weechat-unwrapped { };
- weechatScripts = callPackage ../applications/networking/irc/weechat/scripts { };
+ weechatScripts = dontRecurseIntoAttrs (callPackage ../applications/networking/irc/weechat/scripts { });
westonLite = weston.override {
pango = null;
@@ -20069,6 +20112,7 @@ in
++ optional (config.kodi.enablePVRHTS or false) pvr-hts
++ optional (config.kodi.enablePVRHDHomeRun or false) pvr-hdhomerun
++ optional (config.kodi.enablePVRIPTVSimple or false) pvr-iptvsimple
+ ++ optional (config.kodi.enableInputStreamAdaptive or false) inputstream-adaptive
);
};
@@ -20980,7 +21024,7 @@ in
stockfish = callPackage ../games/stockfish { };
- steamPackages = callPackage ../games/steam { };
+ steamPackages = dontRecurseIntoAttrs (callPackage ../games/steam { });
steam = steamPackages.steam-chrootenv;
@@ -21085,7 +21129,7 @@ in
ue4demos = recurseIntoAttrs (callPackage ../games/ue4demos { });
- ut2004Packages = callPackage ../games/ut2004 { };
+ ut2004Packages = dontRecurseIntoAttrs (callPackage ../games/ut2004 { });
ut2004demo = res.ut2004Packages.ut2004 [ res.ut2004Packages.ut2004-demo ];
@@ -21194,9 +21238,9 @@ in
keen4 = callPackage ../games/keen4 { };
- zeroadPackages = callPackage ../games/0ad {
+ zeroadPackages = dontRecurseIntoAttrs (callPackage ../games/0ad {
wxGTK = wxGTK30;
- };
+ });
zeroad = zeroadPackages.zeroad;
@@ -22131,6 +22175,8 @@ in
### MISC
+ acpilight = callPackage ../misc/acpilight { };
+
android-file-transfer = libsForQt5.callPackage ../tools/filesystems/android-file-transfer { };
antimicro = libsForQt5.callPackage ../tools/misc/antimicro { };
@@ -22567,6 +22613,8 @@ in
nix-pin = callPackage ../tools/package-management/nix-pin { };
+ nix-prefetch = callPackage ../tools/package-management/nix-prefetch { };
+
nix-prefetch-github = callPackage ../build-support/nix-prefetch-github {};
inherit (callPackages ../tools/package-management/nix-prefetch-scripts { })
diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix
index 510fd62f240..1541bb12ee1 100644
--- a/pkgs/top-level/ocaml-packages.nix
+++ b/pkgs/top-level/ocaml-packages.nix
@@ -355,7 +355,13 @@ let
lablgl = callPackage ../development/ocaml-modules/lablgl { };
- lablgtk3 = callPackage ../development/ocaml-modules/lablgtk3 { };
+ lablgtk3 = callPackage ../development/ocaml-modules/lablgtk3 {
+ cairo2 = cairo2.override { enableGtkSupport = false; };
+ };
+
+ lablgtk3-gtkspell3 = callPackage ../development/ocaml-modules/lablgtk3/gtkspell3.nix { };
+
+ lablgtk3-sourceview3 = callPackage ../development/ocaml-modules/lablgtk3/sourceview3.nix { };
lablgtk_2_14 = callPackage ../development/ocaml-modules/lablgtk/2.14.0.nix {
inherit (pkgs.gnome2) libgnomecanvas libglade gtksourceview;
diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix
index 2866f6b6ca5..32498592392 100644
--- a/pkgs/top-level/perl-packages.nix
+++ b/pkgs/top-level/perl-packages.nix
@@ -16695,6 +16695,19 @@ let
};
};
+ TimePeriod = buildPerlPackage {
+ name = "Time-Period-1.25";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/P/PB/PBOYD/Time-Period-1.25.tar.gz";
+ sha256 = "d07fa580529beac6a9c8274c6bf220b4c3aade685df65c1669d53339bf6ef1e8";
+ };
+ meta = {
+ description = "A Perl module to deal with time periods";
+ license = stdenv.lib.licenses.gpl1;
+ maintainers = [ maintainers.winpat ];
+ };
+ };
+
Tk = buildPerlPackage rec {
name = "Tk-804.034";
src = fetchurl {
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 397513243bb..eceff9fb122 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -268,7 +268,7 @@ in {
bayespy = callPackage ../development/python-modules/bayespy { };
- beanstalkc = disabledIf isPy3k (callPackage ../development/python-modules/beanstalkc {});
+ beanstalkc = callPackage ../development/python-modules/beanstalkc { };
bitarray = callPackage ../development/python-modules/bitarray { };
@@ -418,6 +418,8 @@ in {
guestfs = callPackage ../development/python-modules/guestfs { };
+ gumath = callPackage ../development/python-modules/gumath { };
+
h5py = callPackage ../development/python-modules/h5py {
hdf5 = pkgs.hdf5;
};
@@ -496,6 +498,8 @@ in {
nbval = callPackage ../development/python-modules/nbval { };
+ ndtypes = callPackage ../development/python-modules/ndtypes { };
+
nest-asyncio = callPackage ../development/python-modules/nest-asyncio { };
neuron = pkgs.neuron.override {
@@ -812,6 +816,8 @@ in {
snapcast = callPackage ../development/python-modules/snapcast { };
+ sparse = callPackage ../development/python-modules/sparse { };
+
spglib = callPackage ../development/python-modules/spglib { };
sslib = callPackage ../development/python-modules/sslib { };
@@ -1619,6 +1625,8 @@ in {
dask-ml = callPackage ../development/python-modules/dask-ml { };
+ dask-mpi = callPackage ../development/python-modules/dask-mpi { };
+
dask-xgboost = callPackage ../development/python-modules/dask-xgboost { };
datrie = callPackage ../development/python-modules/datrie { };
@@ -2790,6 +2798,8 @@ in {
xdis = callPackage ../development/python-modules/xdis { };
+ xnd = callPackage ../development/python-modules/xnd { };
+
uncompyle6 = callPackage ../development/python-modules/uncompyle6 { };
lsi = callPackage ../development/python-modules/lsi { };
@@ -2804,6 +2814,8 @@ in {
imageio = callPackage ../development/python-modules/imageio { };
+ imageio-ffmpeg = callPackage ../development/python-modules/imageio-ffmpeg { };
+
imgaug = callPackage ../development/python-modules/imgaug { };
inflection = callPackage ../development/python-modules/inflection { };
@@ -3935,6 +3947,8 @@ in {
retry_decorator = callPackage ../development/python-modules/retry_decorator { };
+ quamash = callPackage ../development/python-modules/quamash { };
+
quandl = callPackage ../development/python-modules/quandl { };
# alias for an older package which did not support Python 3
Quandl = callPackage ../development/python-modules/quandl { };