diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 238ba161b58f0b372b003f3a476711430bf1f03b..d1086658a077a65278bfb54758efb0a250f826f2 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -47,6 +47,9 @@
/nixos/doc/manual/man-nixos-option.xml @nbp
/nixos/modules/installer/tools/nixos-option.sh @nbp
+# NixOS integration test driver
+/nixos/lib/test-driver @tfc
+
# New NixOS modules
/nixos/modules/module-list.nix @Infinisil
@@ -167,3 +170,8 @@
/nixos/modules/services/monitoring/prometheus/exporters.nix @WilliButz
/nixos/modules/services/monitoring/prometheus/exporters.xml @WilliButz
/nixos/tests/prometheus-exporters.nix @WilliButz
+
+# PHP
+/pkgs/development/interpreters/php @etu
+/pkgs/top-level/php-packages.nix @etu
+/pkgs/build-support/build-pecl.nix @etu
diff --git a/doc/languages-frameworks/gnome.xml b/doc/languages-frameworks/gnome.xml
index 3d69d77a1c8456761ec77bd355473114575614f5..9c3afe127a489b4087b76e9ff9b56166d2a0e171 100644
--- a/doc/languages-frameworks/gnome.xml
+++ b/doc/languages-frameworks/gnome.xml
@@ -74,7 +74,7 @@
preFixup = ''
for f in $(find $out/bin/ $out/libexec/ -type f -executable); do
wrapProgram "$f" \
- --prefix GIO_EXTRA_MODULES : "${getLib gnome3.dconf}/lib/gio/modules" \
+ --prefix GIO_EXTRA_MODULES : "${getLib dconf}/lib/gio/modules" \
--prefix XDG_DATA_DIRS : "$out/share" \
--prefix XDG_DATA_DIRS : "$out/share/gsettings-schemas/${name}" \
--prefix XDG_DATA_DIRS : "${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}" \
@@ -102,7 +102,7 @@ preFixup = ''
- gnome3.dconf.lib is a dependency of wrapGAppsHook, which then also adds it to the GIO_EXTRA_MODULES variable.
+ dconf.lib is a dependency of wrapGAppsHook, which then also adds it to the GIO_EXTRA_MODULES variable.
diff --git a/doc/languages-frameworks/haskell.section.md b/doc/languages-frameworks/haskell.section.md
index 7cbac95f7d43210f40e64c006a8cf174d833ec5a..be5c7b7c8d162dc0450a6e2eaa506987f46f449c 100644
--- a/doc/languages-frameworks/haskell.section.md
+++ b/doc/languages-frameworks/haskell.section.md
@@ -25,14 +25,14 @@ avoided that by keeping all Haskell-related packages in a separate attribute
set called `haskellPackages`, which the following command will list:
```
$ nix-env -f "" -qaP -A haskellPackages
-haskellPackages.a50 a50-0.5
-haskellPackages.abacate haskell-abacate-0.0.0.0
-haskellPackages.abcBridge haskell-abcBridge-0.12
-haskellPackages.afv afv-0.1.1
-haskellPackages.alex alex-3.1.4
-haskellPackages.Allure Allure-0.4.101.1
-haskellPackages.alms alms-0.6.7
-[... some 8000 entries omitted ...]
+haskellPackages.a50 a50-0.5
+haskellPackages.AAI AAI-0.2.0.1
+haskellPackages.abacate abacate-0.0.0.0
+haskellPackages.abc-puzzle abc-puzzle-0.2.1
+haskellPackages.abcBridge abcBridge-0.15
+haskellPackages.abcnotation abcnotation-1.9.0
+haskellPackages.abeson abeson-0.1.0.1
+[... some 14000 entries omitted ...]
```
To install any of those packages into your profile, refer to them by their
@@ -101,19 +101,21 @@ to compile your Haskell packages with any GHC version you please. The following
command displays the complete list of available compilers:
```
$ nix-env -f "" -qaP -A haskell.compiler
-haskell.compiler.ghc6104 ghc-6.10.4
-haskell.compiler.ghc6123 ghc-6.12.3
-haskell.compiler.ghc704 ghc-7.0.4
-haskell.compiler.ghc722 ghc-7.2.2
-haskell.compiler.ghc742 ghc-7.4.2
-haskell.compiler.ghc763 ghc-7.6.3
-haskell.compiler.ghc784 ghc-7.8.4
-haskell.compiler.ghc7102 ghc-7.10.2
-haskell.compiler.ghcHEAD ghc-7.11.20150402
-haskell.compiler.ghcNokinds ghc-nokinds-7.11.20150704
-haskell.compiler.ghcjs ghcjs-0.1.0
-haskell.compiler.jhc jhc-0.8.2
-haskell.compiler.uhc uhc-1.1.9.0
+haskell.compiler.ghc822 ghc-8.2.2
+haskell.compiler.integer-simple.ghc822 ghc-8.2.2
+haskell.compiler.ghc822Binary ghc-8.2.2-binary
+haskell.compiler.ghc844 ghc-8.4.4
+haskell.compiler.ghc863Binary ghc-8.6.3-binary
+haskell.compiler.ghc864 ghc-8.6.4
+haskell.compiler.integer-simple.ghc864 ghc-8.6.4
+haskell.compiler.ghc865 ghc-8.6.5
+haskell.compiler.integer-simple.ghc865 ghc-8.6.5
+haskell.compiler.ghc881 ghc-8.8.1
+haskell.compiler.integer-simple.ghc881 ghc-8.8.1
+haskell.compiler.ghcHEAD ghc-8.9.20190601
+haskell.compiler.integer-simple.ghcHEAD ghc-8.9.20190601
+haskell.compiler.ghcjs84 ghcjs-8.4.0.1
+haskell.compiler.ghcjs ghcjs-8.6.0.1
```
We have no package sets for `jhc` or `uhc` yet, unfortunately, but for every
diff --git a/doc/stdenv/cross-compilation.xml b/doc/stdenv/cross-compilation.xml
index 5476c9a489321ffbbdead4ea9969957b89ef484f..bea56a0c2fc18ddfa7bc1794fdce197f929ceff9 100644
--- a/doc/stdenv/cross-compilation.xml
+++ b/doc/stdenv/cross-compilation.xml
@@ -244,7 +244,7 @@
- Many packages assume that an unprefixed ar is available, but Nix doesn't provide one. It only provides a prefixed one, just as it only does for all the other binutils programs. It may be necessary to patch the package to fix the build system to use a prefixed `ar`.
+ Many packages assume that an unprefixed ar is available, but Nix doesn't provide one. It only provides a prefixed one, just as it only does for all the other binutils programs. It may be necessary to patch the package to fix the build system to use a prefixed ar.
diff --git a/doc/stdenv/stdenv.xml b/doc/stdenv/stdenv.xml
index 0b59f90eb490fd0f51080ed0f39c822ce032cd54..49699d7168dde477da3bf0ac532a1726553377d1 100644
--- a/doc/stdenv/stdenv.xml
+++ b/doc/stdenv/stdenv.xml
@@ -1717,7 +1717,7 @@ someVar=$(stripHash $name)
- The most typical use of the setup hook is actually to add other hooks which are then run (i.e. after all the setup hooks) on each dependency. For example, the C compiler wrapper's setup hook feeds itself flags for each dependency that contains relevant libraries and headers. This is done by defining a bash function, and appending its name to one of envBuildBuildHooks`, envBuildHostHooks`, envBuildTargetHooks`, envHostHostHooks`, envHostTargetHooks`, or envTargetTargetHooks`. These 6 bash variables correspond to the 6 sorts of dependencies by platform (there's 12 total but we ignore the propagated/non-propagated axis).
+ The most typical use of the setup hook is actually to add other hooks which are then run (i.e. after all the setup hooks) on each dependency. For example, the C compiler wrapper's setup hook feeds itself flags for each dependency that contains relevant libraries and headers. This is done by defining a bash function, and appending its name to one of envBuildBuildHooks, envBuildHostHooks, envBuildTargetHooks, envHostHostHooks, envHostTargetHooks, or envTargetTargetHooks. These 6 bash variables correspond to the 6 sorts of dependencies by platform (there's 12 total but we ignore the propagated/non-propagated axis).
diff --git a/doc/using/configuration.xml b/doc/using/configuration.xml
index 6406c3af3ec5bf80713805947239eba11046cd95..f4d6e9110064a076cc1d28ae1540cb935cd56945 100644
--- a/doc/using/configuration.xml
+++ b/doc/using/configuration.xml
@@ -141,11 +141,10 @@
For a more useful example, try the following. This configuration only allows unfree packages named flash player and visual studio code:
{
- allowUnfreePredicate = (pkg: builtins.elem
- (pkg.pname or (builtins.parseDrvName pkg.name).name) [
- "flashplayer"
- "vscode"
- ]);
+ allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
+ "flashplayer"
+ "vscode"
+ ];
}
@@ -217,7 +216,7 @@
The following configuration example only allows insecure packages with very short names:
{
- allowInsecurePredicate = (pkg: (builtins.stringLength (builtins.parseDrvName pkg.name).name) <= 5);
+ allowInsecurePredicate = pkg: builtins.stringLength (lib.getName pkg) <= 5;
}
diff --git a/lib/default.nix b/lib/default.nix
index 74d508ec1d6e394cd22dd1e7c4cf5eb026c4d474..8af5315258606b4c59ddb84a71302372ed0c98c3 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -84,7 +84,8 @@ let
hasInfix hasPrefix hasSuffix stringToCharacters stringAsChars escape
escapeShellArg escapeShellArgs replaceChars lowerChars
upperChars toLower toUpper addContextFrom splitString
- removePrefix removeSuffix versionOlder versionAtLeast getVersion
+ removePrefix removeSuffix versionOlder versionAtLeast
+ getName getVersion
nameFromURL enableFeature enableFeatureAs withFeature
withFeatureAs fixedWidthString fixedWidthNumber isStorePath
toInt readPathsFromFile fileContents;
diff --git a/lib/strings.nix b/lib/strings.nix
index ae0d74c6721dc48867235cc0321771e7b44ee224..6dbb3d3a3e8b69c40fb5c65cfab5a654e125ee38 100644
--- a/lib/strings.nix
+++ b/lib/strings.nix
@@ -472,6 +472,23 @@ rec {
*/
versionAtLeast = v1: v2: !versionOlder v1 v2;
+ /* This function takes an argument that's either a derivation or a
+ derivation's "name" attribute and extracts the name part from that
+ argument.
+
+ Example:
+ getName "youtube-dl-2016.01.01"
+ => "youtube-dl"
+ getName pkgs.youtube-dl
+ => "youtube-dl"
+ */
+ getName = x:
+ let
+ parse = drv: (builtins.parseDrvName drv).name;
+ in if isString x
+ then parse x
+ else x.pname or (parse x.name);
+
/* This function takes an argument that's either a derivation or a
derivation's "name" attribute and extracts the version part from that
argument.
diff --git a/lib/systems/default.nix b/lib/systems/default.nix
index 0d51be4b23bc522f7dc940e0b055c72a684cb034..026117cc34fd2317fcfabc04af57d805f569f531 100644
--- a/lib/systems/default.nix
+++ b/lib/systems/default.nix
@@ -37,6 +37,7 @@ rec {
else if final.isAndroid then "bionic"
else if final.isLinux /* default */ then "glibc"
else if final.isMsp430 then "newlib"
+ else if final.isVc4 then "newlib"
else if final.isAvr then "avrlibc"
else if final.isNetBSD then "nblibc"
# TODO(@Ericson2314) think more about other operating systems
diff --git a/lib/systems/doubles.nix b/lib/systems/doubles.nix
index 58cff18e648832e116f6eb2851e0349738dfaa01..700c895b3aba6de9c1e58fe8f6bc080b10f2275c 100644
--- a/lib/systems/doubles.nix
+++ b/lib/systems/doubles.nix
@@ -26,7 +26,7 @@ let
"riscv32-linux" "riscv64-linux"
- "aarch64-none" "avr-none" "arm-none" "i686-none" "x86_64-none" "powerpc-none" "msp430-none" "riscv64-none" "riscv32-none"
+ "aarch64-none" "avr-none" "arm-none" "i686-none" "x86_64-none" "powerpc-none" "msp430-none" "riscv64-none" "riscv32-none" "vc4-none"
];
allParsed = map parse.mkSystemFromString all;
@@ -45,6 +45,7 @@ in {
x86_64 = filterDoubles predicates.isx86_64;
mips = filterDoubles predicates.isMips;
riscv = filterDoubles predicates.isRiscV;
+ vc4 = filterDoubles predicates.isVc4;
cygwin = filterDoubles predicates.isCygwin;
darwin = filterDoubles predicates.isDarwin;
diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix
index 585156c247598625821d6067e97e456a4daaeb4e..cb8bc3de6c4894aa8a531ac5a280857ca8053159 100644
--- a/lib/systems/examples.nix
+++ b/lib/systems/examples.nix
@@ -118,6 +118,12 @@ rec {
config = "avr";
};
+ vc4 = {
+ config = "vc4-elf";
+ libc = "newlib";
+ platform = {};
+ };
+
arm-embedded = {
config = "arm-none-eabi";
libc = "newlib";
diff --git a/lib/systems/inspect.nix b/lib/systems/inspect.nix
index 8a983b3d363720caeab170b102cdd9b41067630c..d1980c6dff817fd3f0fdc7062900ba216908c1e4 100644
--- a/lib/systems/inspect.nix
+++ b/lib/systems/inspect.nix
@@ -21,6 +21,7 @@ rec {
isSparc = { cpu = { family = "sparc"; }; };
isWasm = { cpu = { family = "wasm"; }; };
isMsp430 = { cpu = { family = "msp430"; }; };
+ isVc4 = { cpu = { family = "vc4"; }; };
isAvr = { cpu = { family = "avr"; }; };
isAlpha = { cpu = { family = "alpha"; }; };
isJavaScript = { cpu = cpuTypes.js; };
diff --git a/lib/systems/parse.nix b/lib/systems/parse.nix
index 362357446025ef8f2128383796773b8e5633bad6..6a02dbb51528cb5366c5d4cfc6f3ff5c9d995151 100644
--- a/lib/systems/parse.nix
+++ b/lib/systems/parse.nix
@@ -112,6 +112,8 @@ rec {
msp430 = { bits = 16; significantByte = littleEndian; family = "msp430"; };
avr = { bits = 8; family = "avr"; };
+ vc4 = { bits = 32; significantByte = littleEndian; family = "vc4"; };
+
js = { bits = 32; significantByte = littleEndian; family = "js"; };
};
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix
index 5a760c11cba9311219f7eb95a8a6f51661f05052..d10ee8f8c20357c27253a8ad17e38e8766a9ede2 100644
--- a/maintainers/maintainer-list.nix
+++ b/maintainers/maintainer-list.nix
@@ -1484,6 +1484,16 @@
}
];
};
+ d-goldin = {
+ email = "dgoldin+github@protonmail.ch";
+ github = "d-goldin";
+ githubId = 43349662;
+ name = "Dima";
+ keys = [{
+ longkeyid = "rsa4096/BAB1D15FB7B4D4CE";
+ fingerprint = "1C4E F4FE 7F8E D8B7 1E88 CCDF BAB1 D15F B7B4 D4CE";
+ }];
+ };
dadada = {
name = "dadada";
email = "dadada@dadada.li";
@@ -1780,6 +1790,12 @@
githubId = 875324;
name = "David Johnson";
};
+ dmrauh = {
+ email = "dmrauh@posteo.de";
+ github = "dmrauh";
+ githubId = 37698547;
+ name = "Dominik Michael Rauh";
+ };
dmvianna = {
email = "dmlvianna@gmail.com";
github = "dmvianna";
@@ -2515,6 +2531,7 @@
gazally = {
email = "gazally@runbox.com";
github = "gazally";
+ githubId = 16470252;
name = "Gemini Lasswell";
};
gebner = {
@@ -3594,6 +3611,12 @@
github = "klntsky";
githubId = 18447310;
};
+ kmcopper = {
+ email = "kmcopper@danwin1210.me";
+ name = "Kyle Copperfield";
+ github = "kmcopper";
+ githubId = 57132115;
+ };
kmeakin = {
email = "karlwfmeakin@gmail.com";
name = "Karl Meakin";
@@ -4139,6 +4162,12 @@
github = "marcweber";
githubId = 34086;
name = "Marc Weber";
+ };
+ marcus7070 = {
+ email = "marcus@geosol.com.au";
+ github = "marcus7070";
+ githubId = 50230945;
+ name = "Marcus Boyd";
};
marenz = {
email = "marenz@arkom.men";
@@ -4478,6 +4507,12 @@
githubId = 16974598;
name = "Mike Playle";
};
+ mkaito = {
+ email = "chris@mkaito.net";
+ github = "mkaito";
+ githubId = 20434;
+ name = "Christian Höppner";
+ };
mkazulak = {
email = "kazulakm@gmail.com";
github = "mulderr";
@@ -4517,6 +4552,12 @@
githubId = 117842;
name = "Henri Bourcereau";
};
+ mmilata = {
+ email = "martin@martinmilata.cz";
+ github = "mmilata";
+ gitHubId = 85857;
+ name = "Martin Milata";
+ };
mmlb = {
email = "me.mmlb@mmlb.me";
github = "mmlb";
@@ -4631,6 +4672,12 @@
githubId = 2881922;
name = "Francis St-Amour";
};
+ mtrsk = {
+ email = "marcos.schonfinkel@protonmail.com";
+ github = "mtrsk";
+ githubId = 16356569;
+ name = "Marcos Benevides";
+ };
mredaelli = {
email = "massimo@typish.io";
github = "mredaelli";
@@ -6099,7 +6146,7 @@
name = "Shahrukh Khan";
};
shanemikel = {
- email = "shanemikel1@gmail.com";
+ email = "shanepearlman@pm.me";
github = "shanemikel";
githubId = 6720672;
name = "Shane Pearlman";
@@ -6720,6 +6767,12 @@
githubId = 42933;
name = "Andrew Childs";
};
+ thefenriswolf = {
+ email = "stefan.rohrbacher97@gmail.com";
+ github = "thefenriswolf";
+ githubId = "8547242";
+ name = "Stefan Rohrbacher";
+ };
thesola10 = {
email = "thesola10@bobile.fr";
github = "thesola10";
@@ -7611,4 +7664,16 @@
githubId = 50867187;
name = "Rakesh Gupta";
};
+ mlatus = {
+ email = "wqseleven@gmail.com";
+ github = "Ninlives";
+ githubId = 17873203;
+ name = "mlatus";
+ };
+ waiting-for-dev = {
+ email = "marc@lamarciana.com";
+ github = "waiting-for-dev";
+ githubId = 52650;
+ name = "Marc Busqué";
+ };
}
diff --git a/maintainers/scripts/update.nix b/maintainers/scripts/update.nix
index 04723cb8a366a98144146a51c44923f3e021773b..60c6113bf70f25e0e15e36efdcc216e27703c0a0 100755
--- a/maintainers/scripts/update.nix
+++ b/maintainers/scripts/update.nix
@@ -126,7 +126,7 @@ let
packageData = package: {
name = package.name;
- pname = (builtins.parseDrvName package.name).name;
+ pname = pkgs.lib.getName package;
updateScript = map builtins.toString (pkgs.lib.toList package.updateScript);
};
diff --git a/nixos/doc/manual/configuration/profiles/graphical.xml b/nixos/doc/manual/configuration/profiles/graphical.xml
index 73e3abc59d0cc33101c07a25115b530cf6ec7ab0..cc6d0825d241e7ad02a83ab808bb0e96439e9853 100644
--- a/nixos/doc/manual/configuration/profiles/graphical.xml
+++ b/nixos/doc/manual/configuration/profiles/graphical.xml
@@ -13,9 +13,7 @@
It sets ,
,
- (
-
- without Qt4 Support), and
+ , and
to true. It also
includes glxinfo and firefox in the system packages list.
diff --git a/nixos/doc/manual/release-notes/rl-2003.xml b/nixos/doc/manual/release-notes/rl-2003.xml
index c0e7a00d7578aabbd6e68f52b1fbc17cfd9a394b..3447b1221bc30df5fd36ce580b6277a2906d40a4 100644
--- a/nixos/doc/manual/release-notes/rl-2003.xml
+++ b/nixos/doc/manual/release-notes/rl-2003.xml
@@ -163,6 +163,57 @@
time during the releases development (if viable).
+
+
+ The phpfpm module now sets
+ PrivateTmp=true in its systemd units for better process isolation.
+ If you rely on /tmp being shared with other services, explicitly override this by
+ setting serviceConfig.PrivateTmp to false for each phpfpm unit.
+
+
+
+
+ KDE’s old multimedia framework Phonon no longer supports Qt 4. For that reason, Plasma desktop also does not have option any more.
+
+
+
+
+ The BeeGFS module has been removed.
+
+
+
+
+ The osquery module has been removed.
+
+
+
+
+ Going forward, ~/bin in the users home directory will no longer be in PATH by default.
+ If you depend on this you should set the option environment.homeBinInPath to true.
+ The aforementioned option was added this release.
+
+
+
+
+ The buildRustCrate infrastructure now produces lib outputs in addition to the out output.
+ This has led to drastically reduced closed sizes for some rust crates since development dependencies are now in the lib output.
+
+
+
+
+ The packages openobex and obexftp
+ are no loger installed when enabling bluetooth via
+ .
+
+
+
+
+ The dump1090 derivation has been changed to use FlightAware's dump1090
+ as its upstream. However, this version does not have an internal webserver anymore. The
+ assets in the share/dump1090 directory of the derivation can be used
+ in conjunction with an external webserver to replace this functionality.
+
+
diff --git a/nixos/lib/make-options-doc/default.nix b/nixos/lib/make-options-doc/default.nix
index 35c8b543dece54dda34d8a600d9739a0efd375c8..eee8f612410de6a35a36cbe0dda6279f78156972 100644
--- a/nixos/lib/make-options-doc/default.nix
+++ b/nixos/lib/make-options-doc/default.nix
@@ -86,7 +86,7 @@ let
optionsList = lib.sort optionLess optionsListDesc;
# Convert the list of options into an XML file.
- optionsXML = builtins.toFile "options.xml" (builtins.toXML optionsList);
+ optionsXML = pkgs.writeText "options.xml" (builtins.toXML optionsList);
optionsNix = builtins.listToAttrs (map (o: { name = o.name; value = removeAttrs o ["name" "visible" "internal"]; }) optionsList);
diff --git a/nixos/lib/test-driver/test-driver.py b/nixos/lib/test-driver/test-driver.py
index 0b8e3b67c9b2dddd265f564251f7066018aa4741..02c172c4a4d6b156759d0137bace794aff6e3a69 100644
--- a/nixos/lib/test-driver/test-driver.py
+++ b/nixos/lib/test-driver/test-driver.py
@@ -3,7 +3,6 @@ from contextlib import contextmanager, _GeneratorContextManager
from xml.sax.saxutils import XMLGenerator
import _thread
import atexit
-import json
import os
import ptpython.repl
import pty
@@ -16,7 +15,9 @@ import sys
import tempfile
import time
import unicodedata
-from typing import Tuple, TextIO, Any, Callable, Dict, Iterator, Optional, List
+from typing import Tuple, Any, Callable, Dict, Iterator, Optional, List
+import shlex
+import pathlib
CHAR_TO_KEY = {
"A": "shift-a",
@@ -92,6 +93,10 @@ def eprint(*args: object, **kwargs: Any) -> None:
print(*args, file=sys.stderr, **kwargs)
+def make_command(args: list) -> str:
+ return " ".join(map(shlex.quote, (map(str, args))))
+
+
def create_vlan(vlan_nr: str) -> Tuple[str, str, "subprocess.Popen[bytes]", Any]:
global log
log.log("starting VDE switch for network {}".format(vlan_nr))
@@ -216,7 +221,7 @@ class Machine:
return path
self.state_dir = create_dir("vm-state-{}".format(self.name))
- self.shared_dir = create_dir("xchg-shared")
+ self.shared_dir = create_dir("{}/xchg".format(self.state_dir))
self.booted = False
self.connected = False
@@ -525,6 +530,33 @@ class Machine:
if ret.returncode != 0:
raise Exception("Cannot convert screenshot")
+ def copy_from_vm(self, source: str, target_dir: str = "") -> None:
+ """Copy a file from the VM (specified by an in-VM source path) to a path
+ relative to `$out`. The file is copied via the `shared_dir` shared among
+ all the VMs (using a temporary directory).
+ """
+ # Compute the source, target, and intermediate shared file names
+ out_dir = pathlib.Path(os.environ.get("out", os.getcwd()))
+ vm_src = pathlib.Path(source)
+ with tempfile.TemporaryDirectory(dir=self.shared_dir) as shared_td:
+ shared_temp = pathlib.Path(shared_td)
+ vm_shared_temp = pathlib.Path("/tmp/xchg") / shared_temp.name
+ vm_intermediate = vm_shared_temp / vm_src.name
+ intermediate = shared_temp / vm_src.name
+ # Copy the file to the shared directory inside VM
+ self.succeed(make_command(["mkdir", "-p", vm_shared_temp]))
+ self.succeed(make_command(["cp", "-r", vm_src, vm_intermediate]))
+ self.succeed("sync")
+ abs_target = out_dir / target_dir / vm_src.name
+ abs_target.parent.mkdir(exist_ok=True, parents=True)
+ # Copy the file from the shared directory outside VM
+ if intermediate.is_dir():
+ shutil.copytree(intermediate, abs_target)
+ else:
+ shutil.copy(intermediate, abs_target)
+ # Make sure the cleanup is synced into VM
+ self.succeed("sync")
+
def dump_tty_contents(self, tty: str) -> None:
"""Debugging: Dump the contents of the TTY
"""
@@ -771,7 +803,9 @@ def run_tests() -> None:
machine.execute("sync")
if nr_tests != 0:
- log.log("{} out of {} tests succeeded".format(nr_succeeded, nr_tests))
+ eprint("{} out of {} tests succeeded".format(nr_succeeded, nr_tests))
+ if nr_tests > nr_succeeded:
+ sys.exit(1)
@contextmanager
diff --git a/nixos/modules/config/shells-environment.nix b/nixos/modules/config/shells-environment.nix
index b79e16cd79796f88525a24c1c58a3799c9fbe463..a0a20228a742230a87874b8f77ad5f3a225fba20 100644
--- a/nixos/modules/config/shells-environment.nix
+++ b/nixos/modules/config/shells-environment.nix
@@ -122,7 +122,7 @@ in
description = ''
Include ~/bin/ in $PATH.
'';
- default = true;
+ default = false;
type = types.bool;
};
diff --git a/nixos/modules/config/vpnc.nix b/nixos/modules/config/vpnc.nix
deleted file mode 100644
index 356e007c0a3e94663bc58a8481a762def4e46a83..0000000000000000000000000000000000000000
--- a/nixos/modules/config/vpnc.nix
+++ /dev/null
@@ -1,41 +0,0 @@
-{ config, lib, ... }:
-
-with lib;
-
-let
- cfg = config.networking.vpnc;
- mkServiceDef = name: value:
- {
- name = "vpnc/${name}.conf";
- value = { text = value; };
- };
-
-in
-{
- options = {
- networking.vpnc = {
- services = mkOption {
- type = types.attrsOf types.str;
- default = {};
- example = literalExample ''
- { test = '''
- IPSec gateway 192.168.1.1
- IPSec ID someID
- IPSec secret secretKey
- Xauth username name
- Xauth password pass
- ''';
- }
- '';
- description =
- ''
- The names of cisco VPNs and their associated definitions
- '';
- };
- };
- };
-
- config.environment.etc = mapAttrs' mkServiceDef cfg.services;
-}
-
-
diff --git a/nixos/modules/hardware/video/nvidia.nix b/nixos/modules/hardware/video/nvidia.nix
index 1e18e927ec6eefd9952c17a63074f1e7afae3b90..fcb30187fa2fbba0d7e35d71ef047f40136c3728 100644
--- a/nixos/modules/hardware/video/nvidia.nix
+++ b/nixos/modules/hardware/video/nvidia.nix
@@ -111,9 +111,10 @@ in
config = mkIf enabled {
assertions = [
{
- assertion = with config.services.xserver.displayManager; gdm.enable -> !gdm.wayland;
- message = "NVIDIA drivers don't support wayland, set services.xserver.displayManager.gdm.wayland=false";
+ assertion = with config.services.xserver.displayManager; gdm.nvidiaWayland -> cfg.modesetting.enable;
+ message = "You cannot use wayland with GDM without modesetting enabled for NVIDIA drivers, set `hardware.nvidia.modesetting.enable = true`";
}
+
{
assertion = !optimusCfg.enable ||
(optimusCfg.nvidiaBusId != "" && optimusCfg.intelBusId != "");
diff --git a/nixos/modules/i18n/input-method/ibus.nix b/nixos/modules/i18n/input-method/ibus.nix
index 8109ef76c4029226ef467604c9daf4727c483b29..956c521dde05574de96ec7c35bcb66542d64b2f6 100644
--- a/nixos/modules/i18n/input-method/ibus.nix
+++ b/nixos/modules/i18n/input-method/ibus.nix
@@ -55,7 +55,7 @@ in
# Without dconf enabled it is impossible to use IBus
environment.systemPackages = with pkgs; [
- gnome3.dconf ibusAutostart
+ dconf ibusAutostart
];
environment.variables = {
diff --git a/nixos/modules/installer/cd-dvd/installation-cd-graphical-kde.nix b/nixos/modules/installer/cd-dvd/installation-cd-graphical-kde.nix
index 6a10a6404e6791d2ed212a6f38f54593aebafc75..e00d3f7535b2f68c67727912f9c4ceec91a65f04 100644
--- a/nixos/modules/installer/cd-dvd/installation-cd-graphical-kde.nix
+++ b/nixos/modules/installer/cd-dvd/installation-cd-graphical-kde.nix
@@ -11,7 +11,6 @@ with lib;
services.xserver = {
desktopManager.plasma5 = {
enable = true;
- enableQt4Support = false;
};
# Automatically login as nixos.
diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix
index 6b578cd5619f80aa8d42da806074cf5d2c508d24..076e1654818a7dfc21424677931ce413b34c02ef 100644
--- a/nixos/modules/module-list.nix
+++ b/nixos/modules/module-list.nix
@@ -35,7 +35,6 @@
./config/terminfo.nix
./config/unix-odbc-drivers.nix
./config/users-groups.nix
- ./config/vpnc.nix
./config/vte.nix
./config/zram.nix
./hardware/acpilight.nix
@@ -308,6 +307,7 @@
./services/desktops/gnome3/sushi.nix
./services/desktops/gnome3/tracker.nix
./services/desktops/gnome3/tracker-miners.nix
+ ./services/desktops/neard.nix
./services/desktops/profile-sync-daemon.nix
./services/desktops/system-config-printer.nix
./services/desktops/telepathy.nix
@@ -519,7 +519,6 @@
./services/monitoring/munin.nix
./services/monitoring/nagios.nix
./services/monitoring/netdata.nix
- ./services/monitoring/osquery.nix
./services/monitoring/prometheus/default.nix
./services/monitoring/prometheus/alertmanager.nix
./services/monitoring/prometheus/exporters.nix
@@ -539,7 +538,6 @@
./services/monitoring/zabbix-agent.nix
./services/monitoring/zabbix-proxy.nix
./services/monitoring/zabbix-server.nix
- ./services/network-filesystems/beegfs.nix
./services/network-filesystems/cachefilesd.nix
./services/network-filesystems/davfs2.nix
./services/network-filesystems/drbd.nix
diff --git a/nixos/modules/profiles/graphical.nix b/nixos/modules/profiles/graphical.nix
index ac3c228b3c650e1459c6357b19b10c6096d3c893..d80456cede565660453c013c3c9ea1c408f451cf 100644
--- a/nixos/modules/profiles/graphical.nix
+++ b/nixos/modules/profiles/graphical.nix
@@ -9,7 +9,6 @@
displayManager.sddm.enable = true;
desktopManager.plasma5 = {
enable = true;
- enableQt4Support = false;
};
libinput.enable = true; # for touchpad support on many laptops
};
diff --git a/nixos/modules/programs/dconf.nix b/nixos/modules/programs/dconf.nix
index eeebc3558bdf9b5160101448459c201f44cbb669..e0e2ffd80cffb5dfde712fa6a9a3c6ef88070861 100644
--- a/nixos/modules/programs/dconf.nix
+++ b/nixos/modules/programs/dconf.nix
@@ -32,13 +32,13 @@ in
environment.etc = optionals (cfg.profiles != {})
(mapAttrsToList mkDconfProfile cfg.profiles);
- services.dbus.packages = [ pkgs.gnome3.dconf ];
+ services.dbus.packages = [ pkgs.dconf ];
# For dconf executable
- environment.systemPackages = [ pkgs.gnome3.dconf ];
+ environment.systemPackages = [ pkgs.dconf ];
# Needed for unwrapped applications
- environment.variables.GIO_EXTRA_MODULES = mkIf cfg.enable [ "${pkgs.gnome3.dconf.lib}/lib/gio/modules" ];
+ environment.variables.GIO_EXTRA_MODULES = mkIf cfg.enable [ "${pkgs.dconf.lib}/lib/gio/modules" ];
};
}
diff --git a/nixos/modules/programs/ssmtp.nix b/nixos/modules/programs/ssmtp.nix
index 0e060e3f522610911b519ae53d881db8471cc423..e45748af205a9562a70036c8965f36b2cfc7d8fe 100644
--- a/nixos/modules/programs/ssmtp.nix
+++ b/nixos/modules/programs/ssmtp.nix
@@ -8,18 +8,16 @@
with lib;
let
-
- cfg = config.networking.defaultMailServer;
+ cfg = config.services.ssmtp;
in
-
{
options = {
- networking.defaultMailServer = {
+ services.ssmtp = {
- directDelivery = mkOption {
+ enable = mkOption {
type = types.bool;
default = false;
description = ''
@@ -29,7 +27,7 @@ in
sendmail or postfix on
your machine, set this option to true, and
set the option
- to the
+ to the
host name of your preferred mail server.
'';
};
@@ -129,9 +127,9 @@ in
};
- config = mkIf cfg.directDelivery {
+ config = mkIf cfg.enable {
- networking.defaultMailServer.authPassFile = mkIf (cfg.authPass != "")
+ services.ssmtp.authPassFile = mkIf (cfg.authPass != "")
(mkDefault (toString (pkgs.writeTextFile {
name = "ssmtp-authpass";
text = cfg.authPass;
diff --git a/nixos/modules/rename.nix b/nixos/modules/rename.nix
index 7d8cf55b827ad7ab9d113b12e701a0dbadbbcb95..e392fef54dde996f20a229b504b763c6ffccb014 100644
--- a/nixos/modules/rename.nix
+++ b/nixos/modules/rename.nix
@@ -10,6 +10,9 @@ with lib;
(mkRenamedOptionModule [ "networking" "enableRalinkFirmware" ] [ "hardware" "enableRedistributableFirmware" ])
(mkRenamedOptionModule [ "networking" "enableRTL8192cFirmware" ] [ "hardware" "enableRedistributableFirmware" ])
(mkRenamedOptionModule [ "networking" "networkmanager" "useDnsmasq" ] [ "networking" "networkmanager" "dns" ])
+ (mkRenamedOptionModule [ "networking" "connman" ] [ "services" "connman" ])
+ (mkRenamedOptionModule [ "networking" "defaultMailServer" ] [ "services" "ssmtp" ])
+ (mkRenamedOptionModule [ "services" "ssmtp" "directDelivery" ] [ "services" "ssmtp" "enable" ])
(mkChangedOptionModule [ "services" "printing" "gutenprint" ] [ "services" "printing" "drivers" ]
(config:
let enabled = getAttrFromPath [ "services" "printing" "gutenprint" ] config;
@@ -235,6 +238,7 @@ with lib;
(mkRemovedOptionModule [ "services" "zabbixServer" "dbPassword" ] "Use services.zabbixServer.database.passwordFile instead.")
(mkRemovedOptionModule [ "systemd" "generator-packages" ] "Use systemd.packages instead.")
(mkRemovedOptionModule [ "fonts" "enableCoreFonts" ] "Use fonts.fonts = [ pkgs.corefonts ]; instead.")
+ (mkRemovedOptionModule [ "networking" "vpnc" ] "Use environment.etc.\"vpnc/service.conf\" instead.")
# ZSH
(mkRenamedOptionModule [ "programs" "zsh" "enableSyntaxHighlighting" ] [ "programs" "zsh" "syntaxHighlighting" "enable" ])
@@ -279,6 +283,13 @@ with lib;
# BLCR
(mkRemovedOptionModule [ "environment.blcr.enable" ] "The BLCR module has been removed")
+ # beegfs
+ (mkRemovedOptionModule [ "services.beegfsEnable" ] "The BeeGFS module has been removed")
+ (mkRemovedOptionModule [ "services.beegfs" ] "The BeeGFS module has been removed")
+
+ # osquery
+ (mkRemovedOptionModule [ "services.osquery" ] "The osquery module has been removed")
+
# Redis
(mkRemovedOptionModule [ "services" "redis" "user" ] "The redis module now is hardcoded to the redis user.")
(mkRemovedOptionModule [ "services" "redis" "dbpath" ] "The redis module now uses /var/lib/redis as data directory.")
diff --git a/nixos/modules/services/audio/roon-server.nix b/nixos/modules/services/audio/roon-server.nix
index 4eda3c5708da78e40da4d63088d0d34ed13ced90..6aed485638ccf9721ce9f8ed9f3ef5b1ec403ad9 100644
--- a/nixos/modules/services/audio/roon-server.nix
+++ b/nixos/modules/services/audio/roon-server.nix
@@ -66,7 +66,8 @@ in {
if cfg.user == "roon-server" then {
isSystemUser = true;
description = "Roon Server user";
- groups = [ cfg.group "audio" ];
+ group = cfg.group;
+ extraGroups = [ "audio" ];
}
else {};
};
diff --git a/nixos/modules/services/databases/mysql.nix b/nixos/modules/services/databases/mysql.nix
index 39192d059485b04cb6f8ac25a28e00c248667924..5549cfa5cf4d53a6cedaed6a9c41cfd07f68efc7 100644
--- a/nixos/modules/services/databases/mysql.nix
+++ b/nixos/modules/services/databases/mysql.nix
@@ -8,15 +8,11 @@ let
mysql = cfg.package;
- isMariaDB =
- let
- pName = _p: (builtins.parseDrvName (_p.name)).name;
- in pName mysql == pName pkgs.mariadb;
+ isMariaDB = lib.getName mysql == lib.getName pkgs.mariadb;
+
isMysqlAtLeast57 =
- let
- pName = _p: (builtins.parseDrvName (_p.name)).name;
- in (pName mysql == pName pkgs.mysql57)
- && ((builtins.compareVersions mysql.version "5.7") >= 0);
+ (lib.getName mysql == lib.getName pkgs.mysql57)
+ && (builtins.compareVersions mysql.version "5.7" >= 0);
mysqldOptions =
"--user=${cfg.user} --datadir=${cfg.dataDir} --basedir=${mysql}";
diff --git a/nixos/modules/services/desktops/neard.nix b/nixos/modules/services/desktops/neard.nix
new file mode 100644
index 0000000000000000000000000000000000000000..9b0f8d1b3a77460207c0fb816b3fbec34b839b4f
--- /dev/null
+++ b/nixos/modules/services/desktops/neard.nix
@@ -0,0 +1,23 @@
+# neard service.
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+{
+ ###### interface
+ options = {
+ services.neard = {
+ enable = mkEnableOption "neard, NFC daemon";
+ };
+ };
+
+
+ ###### implementation
+ config = mkIf config.services.neard.enable {
+ environment.systemPackages = [ pkgs.neard ];
+
+ services.dbus.packages = [ pkgs.neard ];
+
+ systemd.packages = [ pkgs.neard ];
+ };
+}
diff --git a/nixos/modules/services/games/openarena.nix b/nixos/modules/services/games/openarena.nix
index b7d1aea6b8d2a573c56a36ee83dcd17a5ae1a5f9..8c014d78809b832bc8ba3101d12a5ee964c8a719 100644
--- a/nixos/modules/services/games/openarena.nix
+++ b/nixos/modules/services/games/openarena.nix
@@ -43,7 +43,7 @@ in
serviceConfig = {
DynamicUser = true;
StateDirectory = "openarena";
- ExecStart = "${pkgs.openarena}/bin/openarena-server +set fs_basepath ${pkgs.openarena}/openarena-0.8.8 +set fs_homepath /var/lib/openarena ${concatStringsSep " " cfg.extraFlags}";
+ ExecStart = "${pkgs.openarena}/bin/oa_ded +set fs_basepath ${pkgs.openarena}/openarena-0.8.8 +set fs_homepath /var/lib/openarena ${concatStringsSep " " cfg.extraFlags}";
Restart = "on-failure";
# Hardening
diff --git a/nixos/modules/services/hardware/bluetooth.nix b/nixos/modules/services/hardware/bluetooth.nix
index c5f9d1f9b725331a0819fea880a2ed1e94b730d7..11d67418a31e554cd79a0a475138b3747422ada8 100644
--- a/nixos/modules/services/hardware/bluetooth.nix
+++ b/nixos/modules/services/hardware/bluetooth.nix
@@ -36,17 +36,25 @@ in {
'';
};
+ config = mkOption {
+ type = with types; attrsOf (attrsOf (oneOf [ bool int str ]));
+ example = {
+ General = {
+ ControllerMode = "bredr";
+ };
+ };
+ description = "Set configuration for system-wide bluetooth (/etc/bluetooth/main.conf).";
+ };
+
extraConfig = mkOption {
- type = types.lines;
- default = "";
+ type = with types; nullOr lines;
+ default = null;
example = ''
[General]
ControllerMode = bredr
'';
description = ''
Set additional configuration for system-wide bluetooth (/etc/bluetooth/main.conf).
-
- NOTE: We already include [Policy], so any configuration under the Policy group should come first.
'';
};
};
@@ -56,16 +64,18 @@ in {
###### implementation
config = mkIf cfg.enable {
+ warnings = optional (cfg.extraConfig != null) "hardware.bluetooth.`extraConfig` is deprecated, please use hardware.bluetooth.`config`.";
- environment.systemPackages = [ bluez-bluetooth pkgs.openobex pkgs.obexftp ];
+ hardware.bluetooth.config = {
+ Policy = {
+ AutoEnable = mkDefault cfg.powerOnBoot;
+ };
+ };
- environment.etc = singleton {
- source = pkgs.writeText "main.conf" ''
- [Policy]
- AutoEnable=${lib.boolToString cfg.powerOnBoot}
+ environment.systemPackages = [ bluez-bluetooth ];
- ${cfg.extraConfig}
- '';
+ environment.etc = singleton {
+ source = pkgs.writeText "main.conf" (generators.toINI { } cfg.config + optionalString (cfg.extraConfig != null) cfg.extraConfig);
target = "bluetooth/main.conf";
};
diff --git a/nixos/modules/services/misc/beanstalkd.nix b/nixos/modules/services/misc/beanstalkd.nix
index 06e881406b52aaaebeb24eb6f0246e93a877e80b..bcd133c97411e136dbb40d54753102653834eafa 100644
--- a/nixos/modules/services/misc/beanstalkd.nix
+++ b/nixos/modules/services/misc/beanstalkd.nix
@@ -44,7 +44,8 @@ in
serviceConfig = {
DynamicUser = true;
Restart = "always";
- ExecStart = "${pkg}/bin/beanstalkd -l ${cfg.listen.address} -p ${toString cfg.listen.port}";
+ ExecStart = "${pkg}/bin/beanstalkd -l ${cfg.listen.address} -p ${toString cfg.listen.port} -b $STATE_DIRECTORY";
+ StateDirectory = "beanstalkd";
};
};
diff --git a/nixos/modules/services/misc/gitea.nix b/nixos/modules/services/misc/gitea.nix
index c8c59fb256e86a2b8f9b90f93726b808fe63fbc8..b6f4d88adbef05fd5dbc3bd5aeb995d3b0cbd31b 100644
--- a/nixos/modules/services/misc/gitea.nix
+++ b/nixos/modules/services/misc/gitea.nix
@@ -394,6 +394,28 @@ in
WorkingDirectory = cfg.stateDir;
ExecStart = "${gitea.bin}/bin/gitea web";
Restart = "always";
+
+ # Filesystem
+ ProtectSystem = "strict";
+ ProtectHome = true;
+ PrivateTmp = true;
+ PrivateDevices = true;
+ ProtectKernelTunables = true;
+ ProtectKernelModules = true;
+ ProtectControlGroups = true;
+ ReadWritePaths = cfg.stateDir;
+ # Caps
+ CapabilityBoundingSet = "";
+ NoNewPrivileges = true;
+ # Misc.
+ LockPersonality = true;
+ RestrictRealtime = true;
+ PrivateMounts = true;
+ PrivateUsers = true;
+ MemoryDenyWriteExecute = true;
+ SystemCallFilter = "~@chown @clock @cpu-emulation @debug @keyring @memlock @module @mount @obsolete @privileged @raw-io @reboot @resources @setuid @swap";
+ SystemCallArchitectures = "native";
+ RestrictAddressFamilies = "AF_UNIX AF_INET AF_INET6";
};
environment = {
diff --git a/nixos/modules/services/monitoring/osquery.nix b/nixos/modules/services/monitoring/osquery.nix
deleted file mode 100644
index c8c625577d39c43de1510441952467e3c25b7be0..0000000000000000000000000000000000000000
--- a/nixos/modules/services/monitoring/osquery.nix
+++ /dev/null
@@ -1,91 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-with builtins;
-with lib;
-
-let
- cfg = config.services.osquery;
-
-in
-
-{
-
- options = {
-
- services.osquery = {
-
- enable = mkEnableOption "osquery";
-
- loggerPath = mkOption {
- type = types.path;
- description = "Base directory used for logging.";
- default = "/var/log/osquery";
- };
-
- pidfile = mkOption {
- type = types.path;
- description = "Path used for pid file.";
- default = "/var/osquery/osqueryd.pidfile";
- };
-
- utc = mkOption {
- type = types.bool;
- description = "Attempt to convert all UNIX calendar times to UTC.";
- default = true;
- };
-
- databasePath = mkOption {
- type = types.path;
- description = "Path used for database file.";
- default = "/var/osquery/osquery.db";
- };
-
- extraConfig = mkOption {
- type = types.attrs // {
- merge = loc: foldl' (res: def: recursiveUpdate res def.value) {};
- };
- description = "Extra config to be recursively merged into the JSON config file.";
- default = { };
- };
- };
-
- };
-
- config = mkIf cfg.enable {
-
- environment.systemPackages = [ pkgs.osquery ];
-
- environment.etc."osquery/osquery.conf".text = toJSON (
- recursiveUpdate {
- options = {
- config_plugin = "filesystem";
- logger_plugin = "filesystem";
- logger_path = cfg.loggerPath;
- database_path = cfg.databasePath;
- utc = cfg.utc;
- };
- } cfg.extraConfig
- );
-
- systemd.services.osqueryd = {
- description = "The osquery Daemon";
- after = [ "network.target" "syslog.service" ];
- wantedBy = [ "multi-user.target" ];
- path = [ pkgs.osquery ];
- preStart = ''
- mkdir -p ${escapeShellArg cfg.loggerPath}
- mkdir -p "$(dirname ${escapeShellArg cfg.pidfile})"
- mkdir -p "$(dirname ${escapeShellArg cfg.databasePath})"
- '';
- serviceConfig = {
- TimeoutStartSec = "infinity";
- ExecStart = "${pkgs.osquery}/bin/osqueryd --logger_path ${escapeShellArg cfg.loggerPath} --pidfile ${escapeShellArg cfg.pidfile} --database_path ${escapeShellArg cfg.databasePath}";
- KillMode = "process";
- KillSignal = "SIGTERM";
- Restart = "on-failure";
- };
- };
-
- };
-
-}
diff --git a/nixos/modules/services/monitoring/prometheus/exporters.nix b/nixos/modules/services/monitoring/prometheus/exporters.nix
index 35b513bac571e4d4e39a8825461f6ee840eca051..53f32b8fadc7b36eba53ad9ebeee1b51b6c6aefa 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters.nix
@@ -197,6 +197,9 @@ in
services.prometheus.exporters.minio.minioAccessSecret = mkDefault config.services.minio.secretKey;
})] ++ [(mkIf config.services.rspamd.enable {
services.prometheus.exporters.rspamd.url = mkDefault "http://localhost:11334/stat";
+ })] ++ [(mkIf config.services.nginx.enable {
+ systemd.services.prometheus-nginx-exporter.after = [ "nginx.service" ];
+ systemd.services.prometheus-nginx-exporter.requires = [ "nginx.service" ];
})] ++ (mapAttrsToList (name: conf:
mkExporterConf {
inherit name;
diff --git a/nixos/modules/services/network-filesystems/beegfs.nix b/nixos/modules/services/network-filesystems/beegfs.nix
deleted file mode 100644
index 2e03a422665ab0504041a949478784ebd65594bd..0000000000000000000000000000000000000000
--- a/nixos/modules/services/network-filesystems/beegfs.nix
+++ /dev/null
@@ -1,357 +0,0 @@
-{ config, lib, pkgs, ...} :
-
-with lib;
-
-let
- cfg = config.services.beegfs;
-
- # functions for the generations of config files
-
- configMgmtd = name: cfg: pkgs.writeText "mgmt-${name}.conf" ''
- storeMgmtdDirectory = ${cfg.mgmtd.storeDir}
- storeAllowFirstRunInit = false
- connAuthFile = ${cfg.connAuthFile}
- connPortShift = ${toString cfg.connPortShift}
-
- ${cfg.mgmtd.extraConfig}
- '';
-
- configAdmon = name: cfg: pkgs.writeText "admon-${name}.conf" ''
- sysMgmtdHost = ${cfg.mgmtdHost}
- connAuthFile = ${cfg.connAuthFile}
- connPortShift = ${toString cfg.connPortShift}
-
- ${cfg.admon.extraConfig}
- '';
-
- configMeta = name: cfg: pkgs.writeText "meta-${name}.conf" ''
- storeMetaDirectory = ${cfg.meta.storeDir}
- sysMgmtdHost = ${cfg.mgmtdHost}
- connAuthFile = ${cfg.connAuthFile}
- connPortShift = ${toString cfg.connPortShift}
- storeAllowFirstRunInit = false
-
- ${cfg.meta.extraConfig}
- '';
-
- configStorage = name: cfg: pkgs.writeText "storage-${name}.conf" ''
- storeStorageDirectory = ${cfg.storage.storeDir}
- sysMgmtdHost = ${cfg.mgmtdHost}
- connAuthFile = ${cfg.connAuthFile}
- connPortShift = ${toString cfg.connPortShift}
- storeAllowFirstRunInit = false
-
- ${cfg.storage.extraConfig}
- '';
-
- configHelperd = name: cfg: pkgs.writeText "helperd-${name}.conf" ''
- connAuthFile = ${cfg.connAuthFile}
- ${cfg.helperd.extraConfig}
- '';
-
- configClientFilename = name : "/etc/beegfs/client-${name}.conf";
-
- configClient = name: cfg: ''
- sysMgmtdHost = ${cfg.mgmtdHost}
- connAuthFile = ${cfg.connAuthFile}
- connPortShift = ${toString cfg.connPortShift}
-
- ${cfg.client.extraConfig}
- '';
-
- serviceList = [
- { service = "admon"; cfgFile = configAdmon; }
- { service = "meta"; cfgFile = configMeta; }
- { service = "mgmtd"; cfgFile = configMgmtd; }
- { service = "storage"; cfgFile = configStorage; }
- ];
-
- # functions to generate systemd.service entries
-
- systemdEntry = service: cfgFile: (mapAttrs' ( name: cfg:
- (nameValuePair "beegfs-${service}-${name}" (mkIf cfg.${service}.enable {
- wantedBy = [ "multi-user.target" ];
- requires = [ "network-online.target" ];
- after = [ "network-online.target" ];
- serviceConfig = rec {
- ExecStart = ''
- ${pkgs.beegfs}/bin/beegfs-${service} \
- cfgFile=${cfgFile name cfg} \
- pidFile=${PIDFile}
- '';
- PIDFile = "/run/beegfs-${service}-${name}.pid";
- TimeoutStopSec = "300";
- };
- }))) cfg);
-
- systemdHelperd = mapAttrs' ( name: cfg:
- (nameValuePair "beegfs-helperd-${name}" (mkIf cfg.client.enable {
- wantedBy = [ "multi-user.target" ];
- requires = [ "network-online.target" ];
- after = [ "network-online.target" ];
- serviceConfig = rec {
- ExecStart = ''
- ${pkgs.beegfs}/bin/beegfs-helperd \
- cfgFile=${configHelperd name cfg} \
- pidFile=${PIDFile}
- '';
- PIDFile = "/run/beegfs-helperd-${name}.pid";
- TimeoutStopSec = "300";
- };
- }))) cfg;
-
- # wrappers to beegfs tools. Avoid typing path of config files
- utilWrappers = mapAttrsToList ( name: cfg:
- ( pkgs.runCommand "beegfs-utils-${name}" {
- nativeBuildInputs = [ pkgs.makeWrapper ];
- preferLocalBuild = true;
- } ''
- mkdir -p $out/bin
-
- makeWrapper ${pkgs.beegfs}/bin/beegfs-check-servers \
- $out/bin/beegfs-check-servers-${name} \
- --add-flags "-c ${configClientFilename name}" \
- --prefix PATH : ${lib.makeBinPath [ pkgs.beegfs ]}
-
- makeWrapper ${pkgs.beegfs}/bin/beegfs-ctl \
- $out/bin/beegfs-ctl-${name} \
- --add-flags "--cfgFile=${configClientFilename name}"
-
- makeWrapper ${pkgs.beegfs}/bin/beegfs-ctl \
- $out/bin/beegfs-df-${name} \
- --add-flags "--cfgFile=${configClientFilename name}" \
- --add-flags --listtargets \
- --add-flags --hidenodeid \
- --add-flags --pools \
- --add-flags --spaceinfo
-
- makeWrapper ${pkgs.beegfs}/bin/beegfs-fsck \
- $out/bin/beegfs-fsck-${name} \
- --add-flags "--cfgFile=${configClientFilename name}"
- ''
- )) cfg;
-in
-{
- ###### interface
-
- options = {
- services.beegfsEnable = mkEnableOption "BeeGFS";
-
- services.beegfs = mkOption {
- default = {};
- description = ''
- BeeGFS configurations. Every mount point requires a separate configuration.
- '';
- type = with types; attrsOf (submodule ({ ... } : {
- options = {
- mgmtdHost = mkOption {
- type = types.str;
- default = null;
- example = "master";
- description = ''Hostname of managament host.'';
- };
-
- connAuthFile = mkOption {
- type = types.str;
- default = "";
- example = "/etc/my.key";
- description = "File containing shared secret authentication.";
- };
-
- connPortShift = mkOption {
- type = types.int;
- default = 0;
- example = 5;
- description = ''
- For each additional beegfs configuration shift all
- service TCP/UDP ports by at least 5.
- '';
- };
-
- client = {
- enable = mkEnableOption "BeeGFS client";
-
- mount = mkOption {
- type = types.bool;
- default = true;
- description = "Create fstab entry automatically";
- };
-
- mountPoint = mkOption {
- type = types.str;
- default = "/run/beegfs";
- description = ''
- Mount point under which the beegfs filesytem should be mounted.
- If mounted manually the mount option specifing the config file is needed:
- cfgFile=/etc/beegfs/beegfs-client-<name>.conf
- '';
- };
-
- extraConfig = mkOption {
- type = types.lines;
- default = "";
- description = ''
- Additional lines for beegfs-client.conf.
- See documentation for further details.
- '';
- };
- };
-
- helperd = {
- enable = mkOption {
- type = types.bool;
- default = true;
- description = ''
- Enable the BeeGFS helperd.
- The helpered is need for logging purposes on the client.
- Disabling helperd allows for runing the client
- with allowUnfree = false.
- '';
- };
-
- extraConfig = mkOption {
- type = types.lines;
- default = "";
- description = ''
- Additional lines for beegfs-helperd.conf. See documentation
- for further details.
- '';
- };
- };
-
- mgmtd = {
- enable = mkEnableOption "BeeGFS mgmtd daemon";
-
- storeDir = mkOption {
- type = types.path;
- default = null;
- example = "/data/beegfs-mgmtd";
- description = ''
- Data directory for mgmtd.
- Must not be shared with other beegfs daemons.
- This directory must exist and it must be initialized
- with beegfs-setup-mgmtd, e.g. "beegfs-setup-mgmtd -C -p <storeDir>"
- '';
- };
-
- extraConfig = mkOption {
- type = types.lines;
- default = "";
- description = ''
- Additional lines for beegfs-mgmtd.conf. See documentation
- for further details.
- '';
- };
- };
-
- admon = {
- enable = mkEnableOption "BeeGFS admon daemon";
-
- extraConfig = mkOption {
- type = types.lines;
- default = "";
- description = ''
- Additional lines for beegfs-admon.conf. See documentation
- for further details.
- '';
- };
- };
-
- meta = {
- enable = mkEnableOption "BeeGFS meta data daemon";
-
- storeDir = mkOption {
- type = types.path;
- default = null;
- example = "/data/beegfs-meta";
- description = ''
- Data directory for meta data service.
- Must not be shared with other beegfs daemons.
- The underlying filesystem must be mounted with xattr turned on.
- This directory must exist and it must be initialized
- with beegfs-setup-meta, e.g.
- "beegfs-setup-meta -C -s <serviceID> -p <storeDir>"
- '';
- };
-
- extraConfig = mkOption {
- type = types.str;
- default = "";
- description = ''
- Additional lines for beegfs-meta.conf. See documentation
- for further details.
- '';
- };
- };
-
- storage = {
- enable = mkEnableOption "BeeGFS storage daemon";
-
- storeDir = mkOption {
- type = types.path;
- default = null;
- example = "/data/beegfs-storage";
- description = ''
- Data directories for storage service.
- Must not be shared with other beegfs daemons.
- The underlying filesystem must be mounted with xattr turned on.
- This directory must exist and it must be initialized
- with beegfs-setup-storage, e.g.
- "beegfs-setup-storage -C -s <serviceID> -i <storageTargetID> -p <storeDir>"
- '';
- };
-
- extraConfig = mkOption {
- type = types.str;
- default = "";
- description = ''
- Addional lines for beegfs-storage.conf. See documentation
- for further details.
- '';
- };
- };
- };
- }));
- };
- };
-
- ###### implementation
-
- config =
- mkIf config.services.beegfsEnable {
-
- environment.systemPackages = utilWrappers;
-
- # Put the client.conf files in /etc since they are needed
- # by the commandline tools
- environment.etc = mapAttrs' ( name: cfg:
- (nameValuePair "beegfs/client-${name}.conf" (mkIf (cfg.client.enable)
- {
- enable = true;
- text = configClient name cfg;
- }))) cfg;
-
- # Kernel module, we need it only once per host.
- boot = mkIf (
- foldr (a: b: a || b) false
- (map (x: x.client.enable) (collect (x: x ? client) cfg)))
- {
- kernelModules = [ "beegfs" ];
- extraModulePackages = [ pkgs.linuxPackages.beegfs-module ];
- };
-
- # generate fstab entries
- fileSystems = mapAttrs' (name: cfg:
- (nameValuePair cfg.client.mountPoint (optionalAttrs cfg.client.mount (mkIf cfg.client.enable {
- device = "beegfs_nodev";
- fsType = "beegfs";
- mountPoint = cfg.client.mountPoint;
- options = [ "cfgFile=${configClientFilename name}" "_netdev" ];
- })))) cfg;
-
- # generate systemd services
- systemd.services = systemdHelperd //
- foldr (a: b: a // b) {}
- (map (x: systemdEntry x.service x.cfgFile) serviceList);
- };
-}
diff --git a/nixos/modules/services/network-filesystems/samba.nix b/nixos/modules/services/network-filesystems/samba.nix
index c66011afccbeeb9adf579ed4d47ab2aaeca8a5d4..875ab70bfc73e6c5810191a65d31545e7d5da765 100644
--- a/nixos/modules/services/network-filesystems/samba.nix
+++ b/nixos/modules/services/network-filesystems/samba.nix
@@ -115,7 +115,7 @@ in
type = types.package;
default = pkgs.samba;
defaultText = "pkgs.samba";
- example = literalExample "pkgs.samba3";
+ example = literalExample "pkgs.samba4Full";
description = ''
Defines which package should be used for the samba server.
'';
diff --git a/nixos/modules/services/networking/connman.nix b/nixos/modules/services/networking/connman.nix
index 31127f7904996402029fb6b2ed3bac28dedfdfac..cac517f410e5cf22dc10dc9a22fa9768773396e1 100644
--- a/nixos/modules/services/networking/connman.nix
+++ b/nixos/modules/services/networking/connman.nix
@@ -4,7 +4,7 @@ with pkgs;
with lib;
let
- cfg = config.networking.connman;
+ cfg = config.services.connman;
configFile = pkgs.writeText "connman.conf" ''
[General]
NetworkInterfaceBlacklist=${concatStringsSep "," cfg.networkInterfaceBlacklist}
@@ -17,7 +17,7 @@ in {
options = {
- networking.connman = {
+ services.connman = {
enable = mkOption {
type = types.bool;
@@ -71,13 +71,13 @@ in {
assertions = [{
assertion = !config.networking.useDHCP;
- message = "You can not use services.networking.connman with services.networking.useDHCP";
+ message = "You can not use services.connman with networking.useDHCP";
}{
assertion = config.networking.wireless.enable;
- message = "You must use services.networking.connman with services.networking.wireless";
+ message = "You must use services.connman with networking.wireless";
}{
assertion = !config.networking.networkmanager.enable;
- message = "You can not use services.networking.connman with services.networking.networkmanager";
+ message = "You can not use services.connman with networking.networkmanager";
}];
environment.systemPackages = [ connman ];
diff --git a/nixos/modules/services/networking/dnschain.nix b/nixos/modules/services/networking/dnschain.nix
index 5b58ea9b0c9106824a8f103d78f2a7dfd6aff3ac..b837bf816a15a05e1f2264b2df053f074b4bfecc 100644
--- a/nixos/modules/services/networking/dnschain.nix
+++ b/nixos/modules/services/networking/dnschain.nix
@@ -137,7 +137,7 @@ in
];
services.pdns-recursor = mkIf cfgs.pdns-recursor.resolveDNSChainQueries {
- forwardZones =
+ forwardZonesRecurse =
{ bit = "127.0.0.1:${toString cfg.dns.port}";
dns = "127.0.0.1:${toString cfg.dns.port}";
};
diff --git a/nixos/modules/services/networking/pdns-recursor.nix b/nixos/modules/services/networking/pdns-recursor.nix
index ebfdd9f35b72bacc9131a6be0a33aa3d54fbf046..e55ea363378148d4527a7ab15871e9143eddc51e 100644
--- a/nixos/modules/services/networking/pdns-recursor.nix
+++ b/nixos/modules/services/networking/pdns-recursor.nix
@@ -90,11 +90,19 @@ in {
};
forwardZones = mkOption {
+ type = types.attrs;
+ default = {};
+ description = ''
+ DNS zones to be forwarded to other authoritative servers.
+ '';
+ };
+
+ forwardZonesRecurse = mkOption {
type = types.attrs;
example = { eth = "127.0.0.1:5353"; };
default = {};
description = ''
- DNS zones to be forwarded to other servers.
+ DNS zones to be forwarded to other recursive servers.
'';
};
@@ -158,7 +166,8 @@ in {
webserver-port = cfg.api.port;
webserver-allow-from = cfg.api.allowFrom;
- forward-zones = mapAttrsToList (zone: uri: "${zone}.=${uri}") cfg.forwardZones;
+ forward-zones = mapAttrsToList (zone: uri: "${zone}.=${uri}") cfg.forwardZones;
+ forward-zones-recurse = mapAttrsToList (zone: uri: "${zone}.=${uri}") cfg.forwardZonesRecurse;
export-etc-hosts = cfg.exportHosts;
dnssec = cfg.dnssecValidation;
serve-rfc1918 = cfg.serveRFC1918;
diff --git a/nixos/modules/services/networking/wpa_supplicant.nix b/nixos/modules/services/networking/wpa_supplicant.nix
index 294c0d70edeacd92d22e421b8369ebc2cdec04ef..8f05c3949fba71b1efd41acaca92655a560eaebf 100644
--- a/nixos/modules/services/networking/wpa_supplicant.nix
+++ b/nixos/modules/services/networking/wpa_supplicant.nix
@@ -236,9 +236,12 @@ in {
${if ifaces == [] then ''
for i in $(cd /sys/class/net && echo *); do
DEVTYPE=
- source /sys/class/net/$i/uevent
- if [ "$DEVTYPE" = "wlan" -o -e /sys/class/net/$i/wireless ]; then
- ifaces="$ifaces''${ifaces:+ -N} -i$i"
+ UEVENT_PATH=/sys/class/net/$i/uevent
+ if [ -e "$UEVENT_PATH" ]; then
+ source "$UEVENT_PATH"
+ if [ "$DEVTYPE" = "wlan" -o -e /sys/class/net/$i/wireless ]; then
+ ifaces="$ifaces''${ifaces:+ -N} -i$i"
+ fi
fi
done
'' else ''
diff --git a/nixos/modules/services/networking/znc/default.nix b/nixos/modules/services/networking/znc/default.nix
index 05f97bfa539ffd5d4fae37c4e85d954450870e8c..0a9848a49349075836d6ed06b81a53c6d82d78b2 100644
--- a/nixos/modules/services/networking/znc/default.nix
+++ b/nixos/modules/services/networking/znc/default.nix
@@ -239,7 +239,7 @@ in
services.znc = {
configFile = mkDefault (pkgs.writeText "znc-generated.conf" semanticString);
config = {
- Version = (builtins.parseDrvName pkgs.znc.name).version;
+ Version = lib.getVersion pkgs.znc;
Listener.l.Port = mkDefault 5000;
Listener.l.SSL = mkDefault true;
};
diff --git a/nixos/modules/services/web-apps/matomo-doc.xml b/nixos/modules/services/web-apps/matomo-doc.xml
index 79cece551d34c6abc494d8ae0118f4c8b93a65bc..69d1170e4523b8d5bf32f384611d1698f97dfb1f 100644
--- a/nixos/modules/services/web-apps/matomo-doc.xml
+++ b/nixos/modules/services/web-apps/matomo-doc.xml
@@ -84,12 +84,6 @@ GRANT ALL PRIVILEGES ON matomo.* TO 'matomo'@'localhost';
Issues
-
-
- Matomo's file integrity check will warn you. This is due to the patches
- necessary for NixOS, you can safely ignore this.
-
-
Matomo will warn you that the JavaScript tracker is not writable. This is
diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix
index b9186a1dc07f74372aaf9ed9455e515274550f7c..b67f08808786dd5d2f86eab2222fdec045126f71 100644
--- a/nixos/modules/services/web-apps/nextcloud.nix
+++ b/nixos/modules/services/web-apps/nextcloud.nix
@@ -390,6 +390,7 @@ in {
in {
wantedBy = [ "multi-user.target" ];
before = [ "phpfpm-nextcloud.service" ];
+ path = [ occ ];
script = ''
chmod og+x ${cfg.home}
ln -sf ${pkgs.nextcloud}/apps ${cfg.home}/
diff --git a/nixos/modules/services/web-servers/phpfpm/default.nix b/nixos/modules/services/web-servers/phpfpm/default.nix
index 095de64dfb1471124c55e448f17bc9990c15f512..7698f8c3a263837da20b8d506e6c9170ef972eb0 100644
--- a/nixos/modules/services/web-servers/phpfpm/default.nix
+++ b/nixos/modules/services/web-servers/phpfpm/default.nix
@@ -262,6 +262,7 @@ in {
in {
Slice = "phpfpm.slice";
PrivateDevices = true;
+ PrivateTmp = true;
ProtectSystem = "full";
ProtectHome = true;
# XXX: We need AF_NETLINK to make the sendmail SUID binary from postfix work
diff --git a/nixos/modules/services/x11/desktop-managers/plasma5.nix b/nixos/modules/services/x11/desktop-managers/plasma5.nix
index b48ca3fad939088d23a349f388e81ed051736a94..56015874723ca4101a9a64ddbe26151a996498e8 100644
--- a/nixos/modules/services/x11/desktop-managers/plasma5.nix
+++ b/nixos/modules/services/x11/desktop-managers/plasma5.nix
@@ -27,20 +27,13 @@ in
example = "vlc";
description = "Phonon audio backend to install.";
};
-
- enableQt4Support = mkOption {
- type = types.bool;
- default = true;
- description = ''
- Enable support for Qt 4-based applications. Particularly, install a
- default backend for Phonon.
- '';
- };
-
};
};
+ imports = [
+ (mkRemovedOptionModule [ "services" "xserver" "desktopManager" "plasma5" "enableQt4Support" ] "Phonon no longer supports Qt 4.")
+ ];
config = mkMerge [
(mkIf cfg.enable {
@@ -173,12 +166,10 @@ in
# Phonon audio backend
++ lib.optional (cfg.phononBackend == "gstreamer") libsForQt5.phonon-backend-gstreamer
- ++ lib.optional (cfg.phononBackend == "gstreamer" && cfg.enableQt4Support) pkgs.phonon-backend-gstreamer
++ lib.optional (cfg.phononBackend == "vlc") libsForQt5.phonon-backend-vlc
- ++ lib.optional (cfg.phononBackend == "vlc" && cfg.enableQt4Support) pkgs.phonon-backend-vlc
# Optional hardware support features
- ++ lib.optionals config.hardware.bluetooth.enable [ bluedevil bluez-qt ]
+ ++ lib.optionals config.hardware.bluetooth.enable [ bluedevil bluez-qt openobex obexftp ]
++ lib.optional config.networking.networkmanager.enable plasma-nm
++ lib.optional config.hardware.pulseaudio.enable plasma-pa
++ lib.optional config.powerManagement.enable powerdevil
diff --git a/nixos/modules/services/x11/display-managers/gdm.nix b/nixos/modules/services/x11/display-managers/gdm.nix
index e5990aec4b9cf7e977662a353382aa21f54dcf64..29a80aac6e68bd3d019fe93b8c2ccf40b71c9218 100644
--- a/nixos/modules/services/x11/display-managers/gdm.nix
+++ b/nixos/modules/services/x11/display-managers/gdm.nix
@@ -31,6 +31,44 @@ let
load-module module-position-event-sounds
'';
+ dmDefault = config.services.xserver.desktopManager.default;
+ wmDefault = config.services.xserver.windowManager.default;
+ hasDefaultUserSession = dmDefault != "none" || wmDefault != "none";
+ defaultSessionName = dmDefault + optionalString (wmDefault != "none") ("+" + wmDefault);
+
+ setSessionScript = pkgs.python3.pkgs.buildPythonApplication {
+ name = "set-session";
+
+ format = "other";
+
+ src = ./set-session.py;
+
+ dontUnpack = true;
+
+ strictDeps = false;
+
+ nativeBuildInputs = with pkgs; [
+ wrapGAppsHook
+ gobject-introspection
+ ];
+
+ buildInputs = with pkgs; [
+ accountsservice
+ glib
+ ];
+
+ propagatedBuildInputs = with pkgs.python3.pkgs; [
+ pygobject3
+ ordered-set
+ ];
+
+ installPhase = ''
+ mkdir -p $out/bin
+ cp $src $out/bin/set-session
+ chmod +x $out/bin/set-session
+ '';
+ };
+
in
{
@@ -88,11 +126,21 @@ in
wayland = mkOption {
default = true;
description = ''
- Allow GDM run on Wayland instead of Xserver
+ Allow GDM to run on Wayland instead of Xserver.
+ Note to enable Wayland with Nvidia you need to
+ enable the .
'';
type = types.bool;
};
+ nvidiaWayland = mkOption {
+ default = false;
+ description = ''
+ Whether to allow wayland to be used with the proprietary
+ NVidia graphics driver.
+ '';
+ };
+
autoSuspend = mkOption {
default = true;
description = ''
@@ -156,6 +204,8 @@ in
cat - > /run/gdm/.config/gnome-initial-setup-done <<- EOF
yes
EOF
+ '' + optionalString hasDefaultUserSession ''
+ ${setSessionScript}/bin/set-session ${defaultSessionName}
'';
};
@@ -197,6 +247,19 @@ in
services.dbus.packages = [ gdm ];
+ # We duplicate upstream's udev rules manually to make wayland with nvidia configurable
+ services.udev.extraRules = ''
+ # disable Wayland on Cirrus chipsets
+ ATTR{vendor}=="0x1013", ATTR{device}=="0x00b8", ATTR{subsystem_vendor}=="0x1af4", ATTR{subsystem_device}=="0x1100", RUN+="${gdm}/libexec/gdm-disable-wayland"
+ # disable Wayland on Hi1710 chipsets
+ ATTR{vendor}=="0x19e5", ATTR{device}=="0x1711", RUN+="${gdm}/libexec/gdm-disable-wayland"
+ ${optionalString (!cfg.gdm.nvidiaWayland) ''
+ DRIVER=="nvidia", RUN+="${gdm}/libexec/gdm-disable-wayland"
+ ''}
+ # disable Wayland when modesetting is disabled
+ IMPORT{cmdline}="nomodeset", RUN+="${gdm}/libexec/gdm-disable-wayland"
+ '';
+
systemd.user.services.dbus.wantedBy = [ "default.target" ];
programs.dconf.profiles.gdm =
@@ -218,7 +281,7 @@ in
customDconfDb = pkgs.stdenv.mkDerivation {
name = "gdm-dconf-db";
buildCommand = ''
- ${pkgs.gnome3.dconf}/bin/dconf compile $out ${customDconf}/dconf
+ ${pkgs.dconf}/bin/dconf compile $out ${customDconf}/dconf
'';
};
in pkgs.stdenv.mkDerivation {
diff --git a/nixos/modules/services/x11/display-managers/set-session.py b/nixos/modules/services/x11/display-managers/set-session.py
new file mode 100755
index 0000000000000000000000000000000000000000..0cca80af44e84bed01bf52ea7d46ddd4328603be
--- /dev/null
+++ b/nixos/modules/services/x11/display-managers/set-session.py
@@ -0,0 +1,86 @@
+#!/usr/bin/env python
+
+import gi, argparse, os, logging, sys
+
+gi.require_version("AccountsService", "1.0")
+from gi.repository import AccountsService, GLib
+from ordered_set import OrderedSet
+
+
+def get_session_file(session):
+ system_data_dirs = GLib.get_system_data_dirs()
+
+ session_dirs = OrderedSet(
+ os.path.join(data_dir, session)
+ for data_dir in system_data_dirs
+ for session in {"wayland-sessions", "xsessions"}
+ )
+
+ session_files = OrderedSet(
+ os.path.join(dir, session + ".desktop")
+ for dir in session_dirs
+ if os.path.exists(os.path.join(dir, session + ".desktop"))
+ )
+
+ # Deal with duplicate wayland-sessions and xsessions.
+ # Needed for the situation in gnome-session, where there's
+ # a xsession named the same as a wayland session.
+ if any(map(is_session_wayland, session_files)):
+ session_files = OrderedSet(
+ session for session in session_files if is_session_wayland(session)
+ )
+ else:
+ session_files = OrderedSet(
+ session for session in session_files if is_session_xsession(session)
+ )
+
+ if len(session_files) == 0:
+ logging.warning("No session files are found.")
+ sys.exit(0)
+ else:
+ return session_files[0]
+
+
+def is_session_xsession(session_file):
+ return "/xsessions/" in session_file
+
+
+def is_session_wayland(session_file):
+ return "/wayland-sessions/" in session_file
+
+
+def main():
+ parser = argparse.ArgumentParser(
+ description="Set session type for all normal users."
+ )
+ parser.add_argument("session", help="Name of session to set.")
+
+ args = parser.parse_args()
+
+ session = getattr(args, "session")
+ session_file = get_session_file(session)
+
+ user_manager = AccountsService.UserManager.get_default()
+ users = user_manager.list_users()
+
+ for user in users:
+ if user.is_system_account():
+ continue
+ else:
+ if is_session_wayland(session_file):
+ logging.debug(
+ f"Setting session name: {session}, as we found the existing wayland-session: {session_file}"
+ )
+ user.set_session(session)
+ elif is_session_xsession(session_file):
+ logging.debug(
+ f"Setting session name: {session}, as we found the existing xsession: {session_file}"
+ )
+ user.set_x_session(session)
+ else:
+ logging.error(f"Couldn't figure out session type for {session_file}")
+ sys.exit(1)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/nixos/modules/system/boot/loader/grub/grub.nix b/nixos/modules/system/boot/loader/grub/grub.nix
index e13f0421d38f6c762551104cc0a1441a0a8b769e..9a4db84f7b731ad3cbc314a876ccabb3b9b1a33e 100644
--- a/nixos/modules/system/boot/loader/grub/grub.nix
+++ b/nixos/modules/system/boot/loader/grub/grub.nix
@@ -47,8 +47,8 @@ let
grub = f grub;
grubTarget = f (grub.grubTarget or "");
shell = "${pkgs.runtimeShell}";
- fullName = (builtins.parseDrvName realGrub.name).name;
- fullVersion = (builtins.parseDrvName realGrub.name).version;
+ fullName = lib.getName realGrub;
+ fullVersion = lib.getVersion realGrub;
grubEfi = f grubEfi;
grubTargetEfi = if cfg.efiSupport && (cfg.version == 2) then f (grubEfi.grubTarget or "") else "";
bootPath = args.path;
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix
index c091d8630349801c4409218899c49e2f49b3adfb..226769f105979e134712f31e5d2b73b19ea261db 100644
--- a/nixos/modules/system/boot/networkd.nix
+++ b/nixos/modules/system/boot/networkd.nix
@@ -201,7 +201,7 @@ let
(assertValueOneOf "IPv6AcceptRA" boolValues)
(assertValueOneOf "IPv4ProxyARP" boolValues)
(assertValueOneOf "IPv6ProxyNDP" boolValues)
- (assertValueOneOf "IPv6PrefixDelegation" boolValues)
+ (assertValueOneOf "IPv6PrefixDelegation" (boolValues ++ [ "dhcpv6" "static" ]))
(assertValueOneOf "ActiveSlave" boolValues)
(assertValueOneOf "PrimarySlave" boolValues)
(assertValueOneOf "ConfigureWithoutCarrier" boolValues)
@@ -924,6 +924,8 @@ in
config = mkIf config.systemd.network.enable {
+ users.users.systemd-network.group = "systemd-network";
+
systemd.additionalUpstreamSystemUnits = [
"systemd-networkd.service" "systemd-networkd-wait-online.service"
];
diff --git a/nixos/modules/system/boot/resolved.nix b/nixos/modules/system/boot/resolved.nix
index 3ea96f8e46457879d5217878c9226c895292fcc5..da61c64faf8b54de8ef3d1904f8dc6f25ba10f20 100644
--- a/nixos/modules/system/boot/resolved.nix
+++ b/nixos/modules/system/boot/resolved.nix
@@ -136,6 +136,8 @@ in
}
];
+ users.users.resolved.group = "systemd-resolve";
+
systemd.additionalUpstreamSystemUnits = [
"systemd-resolved.service"
];
diff --git a/nixos/modules/system/boot/timesyncd.nix b/nixos/modules/system/boot/timesyncd.nix
index 0b1d0ff6c22b8241174c712290f55710ffaf785e..9e2f36ca01f8b2ebf9c0462ae5c63fc64ea7f693 100644
--- a/nixos/modules/system/boot/timesyncd.nix
+++ b/nixos/modules/system/boot/timesyncd.nix
@@ -50,7 +50,10 @@ with lib;
${config.services.timesyncd.extraConfig}
'';
- users.users.systemd-timesync.uid = config.ids.uids.systemd-timesync;
+ users.users.systemd-timesync = {
+ uid = config.ids.uids.systemd-timesync;
+ group = "systemd-timesync";
+ };
users.groups.systemd-timesync.gid = config.ids.gids.systemd-timesync;
system.activationScripts.systemd-timesyncd-migration = mkIf (versionOlder config.system.stateVersion "19.09") ''
diff --git a/nixos/modules/virtualisation/containers.nix b/nixos/modules/virtualisation/containers.nix
index 691ee2c136ecbec044061866b04c4be12025abfb..09678ce9ea7168076bfd2371d2ec5cb979989bd2 100644
--- a/nixos/modules/virtualisation/containers.nix
+++ b/nixos/modules/virtualisation/containers.nix
@@ -149,7 +149,7 @@ let
--setenv PATH="$PATH" \
${optionalString cfg.ephemeral "--ephemeral"} \
${if cfg.additionalCapabilities != null && cfg.additionalCapabilities != [] then
- ''--capability="${concatStringsSep " " cfg.additionalCapabilities}"'' else ""
+ ''--capability="${concatStringsSep "," cfg.additionalCapabilities}"'' else ""
} \
${if cfg.tmpfs != null && cfg.tmpfs != [] then
''--tmpfs=${concatStringsSep " --tmpfs=" cfg.tmpfs}'' else ""
diff --git a/nixos/modules/virtualisation/digital-ocean-config.nix b/nixos/modules/virtualisation/digital-ocean-config.nix
new file mode 100644
index 0000000000000000000000000000000000000000..88cb0cd450e8dfd7a035893c3946beefd3a6659e
--- /dev/null
+++ b/nixos/modules/virtualisation/digital-ocean-config.nix
@@ -0,0 +1,197 @@
+{ config, pkgs, lib, modulesPath, ... }:
+with lib;
+{
+ imports = [
+ (modulesPath + "/profiles/qemu-guest.nix")
+ (modulesPath + "/virtualisation/digital-ocean-init.nix")
+ ];
+ options.virtualisation.digitalOcean = with types; {
+ setRootPassword = mkOption {
+ type = bool;
+ default = false;
+ example = true;
+ description = "Whether to set the root password from the Digital Ocean metadata";
+ };
+ setSshKeys = mkOption {
+ type = bool;
+ default = true;
+ example = true;
+ description = "Whether to fetch ssh keys from Digital Ocean";
+ };
+ seedEntropy = mkOption {
+ type = bool;
+ default = true;
+ example = true;
+ description = "Whether to run the kernel RNG entropy seeding script from the Digital Ocean vendor data";
+ };
+ };
+ config =
+ let
+ cfg = config.virtualisation.digitalOcean;
+ hostName = config.networking.hostName;
+ doMetadataFile = "/run/do-metadata/v1.json";
+ in mkMerge [{
+ fileSystems."/" = {
+ device = "/dev/disk/by-label/nixos";
+ autoResize = true;
+ fsType = "ext4";
+ };
+ boot = {
+ growPartition = true;
+ kernelParams = [ "console=ttyS0" "panic=1" "boot.panic_on_fail" ];
+ initrd.kernelModules = [ "virtio_scsi" ];
+ kernelModules = [ "virtio_pci" "virtio_net" ];
+ loader = {
+ grub.device = "/dev/vda";
+ timeout = 0;
+ grub.configurationLimit = 0;
+ };
+ };
+ services.openssh = {
+ enable = mkDefault true;
+ passwordAuthentication = mkDefault false;
+ };
+ services.do-agent.enable = mkDefault true;
+ networking = {
+ hostName = mkDefault ""; # use Digital Ocean metadata server
+ };
+
+ /* Check for and wait for the metadata server to become reachable.
+ * This serves as a dependency for all the other metadata services. */
+ systemd.services.digitalocean-metadata = {
+ path = [ pkgs.curl ];
+ description = "Get host metadata provided by Digitalocean";
+ script = ''
+ set -eu
+ DO_DELAY_ATTEMPTS=0
+ while ! curl -fsSL -o $RUNTIME_DIRECTORY/v1.json http://169.254.169.254/metadata/v1.json; do
+ DO_DELAY_ATTEMPTS=$((DO_DELAY_ATTEMPTS + 1))
+ if (( $DO_DELAY_ATTEMPTS >= $DO_DELAY_ATTEMPTS_MAX )); then
+ echo "giving up"
+ exit 1
+ fi
+
+ echo "metadata unavailable, trying again in 1s..."
+ sleep 1
+ done
+ chmod 600 $RUNTIME_DIRECTORY/v1.json
+ '';
+ environment = {
+ DO_DELAY_ATTEMPTS_MAX = "10";
+ };
+ serviceConfig = {
+ Type = "oneshot";
+ RemainAfterExit = true;
+ RuntimeDirectory = "do-metadata";
+ RuntimeDirectoryPreserve = "yes";
+ };
+ unitConfig = {
+ ConditionPathExists = "!${doMetadataFile}";
+ After = [ "network-pre.target" ] ++
+ optional config.networking.dhcpcd.enable "dhcpcd.service" ++
+ optional config.systemd.network.enable "systemd-networkd.service";
+ };
+ };
+
+ /* Fetch the root password from the digital ocean metadata.
+ * There is no specific route for this, so we use jq to get
+ * it from the One Big JSON metadata blob */
+ systemd.services.digitalocean-set-root-password = mkIf cfg.setRootPassword {
+ path = [ pkgs.shadow pkgs.jq ];
+ description = "Set root password provided by Digitalocean";
+ wantedBy = [ "multi-user.target" ];
+ script = ''
+ set -eo pipefail
+ ROOT_PASSWORD=$(jq -er '.auth_key' ${doMetadataFile})
+ echo "root:$ROOT_PASSWORD" | chpasswd
+ mkdir -p /etc/do-metadata/set-root-password
+ '';
+ unitConfig = {
+ ConditionPathExists = "!/etc/do-metadata/set-root-password";
+ Before = optional config.services.openssh.enable "sshd.service";
+ After = [ "digitalocean-metadata.service" ];
+ Requires = [ "digitalocean-metadata.service" ];
+ };
+ serviceConfig = {
+ Type = "oneshot";
+ };
+ };
+
+ /* Set the hostname from Digital Ocean, unless the user configured it in
+ * the NixOS configuration. The cached metadata file isn't used here
+ * because the hostname is a mutable part of the droplet. */
+ systemd.services.digitalocean-set-hostname = mkIf (hostName == "") {
+ path = [ pkgs.curl pkgs.nettools ];
+ description = "Set hostname provided by Digitalocean";
+ wantedBy = [ "network.target" ];
+ script = ''
+ set -e
+ DIGITALOCEAN_HOSTNAME=$(curl -fsSL http://169.254.169.254/metadata/v1/hostname)
+ hostname "$DIGITALOCEAN_HOSTNAME"
+ if [[ ! -e /etc/hostname || -w /etc/hostname ]]; then
+ printf "%s\n" "$DIGITALOCEAN_HOSTNAME" > /etc/hostname
+ fi
+ '';
+ unitConfig = {
+ Before = [ "network.target" ];
+ After = [ "digitalocean-metadata.service" ];
+ Wants = [ "digitalocean-metadata.service" ];
+ };
+ serviceConfig = {
+ Type = "oneshot";
+ };
+ };
+
+ /* Fetch the ssh keys for root from Digital Ocean */
+ systemd.services.digitalocean-ssh-keys = mkIf cfg.setSshKeys {
+ description = "Set root ssh keys provided by Digital Ocean";
+ wantedBy = [ "multi-user.target" ];
+ path = [ pkgs.jq ];
+ script = ''
+ set -e
+ mkdir -m 0700 -p /root/.ssh
+ jq -er '.public_keys[]' ${doMetadataFile} > /root/.ssh/authorized_keys
+ chmod 600 /root/.ssh/authorized_keys
+ '';
+ serviceConfig = {
+ Type = "oneshot";
+ RemainAfterExit = true;
+ };
+ unitConfig = {
+ ConditionPathExists = "!/root/.ssh/authorized_keys";
+ Before = optional config.services.openssh.enable "sshd.service";
+ After = [ "digitalocean-metadata.service" ];
+ Requires = [ "digitalocean-metadata.service" ];
+ };
+ };
+
+ /* Initialize the RNG by running the entropy-seed script from the
+ * Digital Ocean metadata
+ */
+ systemd.services.digitalocean-entropy-seed = mkIf cfg.seedEntropy {
+ description = "Run the kernel RNG entropy seeding script from the Digital Ocean vendor data";
+ wantedBy = [ "network.target" ];
+ path = [ pkgs.jq pkgs.mpack ];
+ script = ''
+ set -eo pipefail
+ TEMPDIR=$(mktemp -d)
+ jq -er '.vendor_data' ${doMetadataFile} | munpack -tC $TEMPDIR
+ ENTROPY_SEED=$(grep -rl "DigitalOcean Entropy Seed script" $TEMPDIR)
+ ${pkgs.runtimeShell} $ENTROPY_SEED
+ rm -rf $TEMPDIR
+ '';
+ unitConfig = {
+ Before = [ "network.target" ];
+ After = [ "digitalocean-metadata.service" ];
+ Requires = [ "digitalocean-metadata.service" ];
+ };
+ serviceConfig = {
+ Type = "oneshot";
+ };
+ };
+
+ }
+ ];
+ meta.maintainers = with maintainers; [ arianvp eamsden ];
+}
+
diff --git a/nixos/modules/virtualisation/digital-ocean-image.nix b/nixos/modules/virtualisation/digital-ocean-image.nix
new file mode 100644
index 0000000000000000000000000000000000000000..b582e235d4351996f49cf9e7472d257bd7f42d22
--- /dev/null
+++ b/nixos/modules/virtualisation/digital-ocean-image.nix
@@ -0,0 +1,69 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+let
+ cfg = config.virtualisation.digitalOceanImage;
+in
+{
+
+ imports = [ ./digital-ocean-config.nix ];
+
+ options = {
+ virtualisation.digitalOceanImage.diskSize = mkOption {
+ type = with types; int;
+ default = 4096;
+ description = ''
+ Size of disk image. Unit is MB.
+ '';
+ };
+
+ virtualisation.digitalOceanImage.configFile = mkOption {
+ type = with types; nullOr path;
+ default = null;
+ description = ''
+ A path to a configuration file which will be placed at
+ /etc/nixos/configuration.nix and be used when switching
+ to a new configuration. If set to null, a default
+ configuration is used that imports
+ (modulesPath + "/virtualisation/digital-ocean-config.nix").
+ '';
+ };
+
+ virtualisation.digitalOceanImage.compressionMethod = mkOption {
+ type = types.enum [ "gzip" "bzip2" ];
+ default = "gzip";
+ example = "bzip2";
+ description = ''
+ Disk image compression method. Choose bzip2 to generate smaller images that
+ take longer to generate but will consume less metered storage space on your
+ Digital Ocean account.
+ '';
+ };
+ };
+
+ #### implementation
+ config = {
+
+ system.build.digitalOceanImage = import ../../lib/make-disk-image.nix {
+ name = "digital-ocean-image";
+ format = "qcow2";
+ postVM = let
+ compress = {
+ "gzip" = "${pkgs.gzip}/bin/gzip";
+ "bzip2" = "${pkgs.bzip2}/bin/bzip2";
+ }.${cfg.compressionMethod};
+ in ''
+ ${compress} $diskImage
+ '';
+ configFile = if cfg.configFile == null
+ then config.virtualisation.digitalOcean.defaultConfigFile
+ else cfg.configFile;
+ inherit (cfg) diskSize;
+ inherit config lib pkgs;
+ };
+
+ };
+
+ meta.maintainers = with maintainers; [ arianvp eamsden ];
+
+}
diff --git a/nixos/modules/virtualisation/digital-ocean-init.nix b/nixos/modules/virtualisation/digital-ocean-init.nix
new file mode 100644
index 0000000000000000000000000000000000000000..02f4de009fa8c2e29449b800fd89dc939ed7d33f
--- /dev/null
+++ b/nixos/modules/virtualisation/digital-ocean-init.nix
@@ -0,0 +1,95 @@
+{ config, pkgs, lib, ... }:
+with lib;
+let
+ cfg = config.virtualisation.digitalOcean;
+ defaultConfigFile = pkgs.writeText "digitalocean-configuration.nix" ''
+ { modulesPath, lib, ... }:
+ {
+ imports = lib.optional (builtins.pathExists ./do-userdata.nix) ./do-userdata.nix ++ [
+ (modulesPath + "/virtualisation/digital-ocean-config.nix")
+ ];
+ }
+ '';
+in {
+ options.virtualisation.digitalOcean.rebuildFromUserData = mkOption {
+ type = types.bool;
+ default = true;
+ example = true;
+ description = "Whether to reconfigure the system from Digital Ocean user data";
+ };
+ options.virtualisation.digitalOcean.defaultConfigFile = mkOption {
+ type = types.path;
+ default = defaultConfigFile;
+ defaultText = ''
+ The default configuration imports user-data if applicable and
+ (modulesPath + "/virtualisation/digital-ocean-config.nix").
+ '';
+ description = ''
+ A path to a configuration file which will be placed at
+ /etc/nixos/configuration.nix and be used when switching to
+ a new configuration.
+ '';
+ };
+
+ config = {
+ systemd.services.digitalocean-init = mkIf cfg.rebuildFromUserData {
+ description = "Reconfigure the system from Digital Ocean userdata on startup";
+ wantedBy = [ "network-online.target" ];
+ unitConfig = {
+ ConditionPathExists = "!/etc/nixos/do-userdata.nix";
+ After = [ "digitalocean-metadata.service" "network-online.target" ];
+ Requires = [ "digitalocean-metadata.service" ];
+ X-StopOnRemoval = false;
+ };
+ serviceConfig = {
+ Type = "oneshot";
+ RemainAfterExit = true;
+ };
+ restartIfChanged = false;
+ path = [ pkgs.jq pkgs.gnused pkgs.gnugrep pkgs.systemd config.nix.package config.system.build.nixos-rebuild ];
+ environment = {
+ HOME = "/root";
+ NIX_PATH = concatStringsSep ":" [
+ "/nix/var/nix/profiles/per-user/root/channels/nixos"
+ "nixos-config=/etc/nixos/configuration.nix"
+ "/nix/var/nix/profiles/per-user/root/channels"
+ ];
+ };
+ script = ''
+ set -e
+ echo "attempting to fetch configuration from Digital Ocean user data..."
+ userData=$(mktemp)
+ if jq -er '.user_data' /run/do-metadata/v1.json > $userData; then
+ # If the user-data looks like it could be a nix expression,
+ # copy it over. Also, look for a magic three-hash comment and set
+ # that as the channel.
+ if nix-instantiate --parse $userData > /dev/null; then
+ channels="$(grep '^###' "$userData" | sed 's|###\s*||')"
+ printf "%s" "$channels" | while read channel; do
+ echo "writing channel: $channel"
+ done
+
+ if [[ -n "$channels" ]]; then
+ printf "%s" "$channels" > /root/.nix-channels
+ nix-channel --update
+ fi
+
+ echo "setting configuration from Digital Ocean user data"
+ cp "$userData" /etc/nixos/do-userdata.nix
+ if [[ ! -e /etc/nixos/configuration.nix ]]; then
+ install -m0644 ${cfg.defaultConfigFile} /etc/nixos/configuration.nix
+ fi
+ else
+ echo "user data does not appear to be a Nix expression; ignoring"
+ exit
+ fi
+
+ nixos-rebuild switch
+ else
+ echo "no user data is available"
+ fi
+ '';
+ };
+ };
+ meta.maintainers = with maintainers; [ arianvp eamsden ];
+}
diff --git a/nixos/modules/virtualisation/openvswitch.nix b/nixos/modules/virtualisation/openvswitch.nix
index edec37402308b8fd04628acbf2d2792f739124ac..6b8ad83661fe761d10f4636efc3c4c33f0211e0a 100644
--- a/nixos/modules/virtualisation/openvswitch.nix
+++ b/nixos/modules/virtualisation/openvswitch.nix
@@ -42,6 +42,9 @@ in {
default = false;
description = ''
Whether to start racoon service for openvswitch.
+ Supported only if openvswitch version is less than 2.6.0.
+ Use virtualisation.vswitch.package = pkgs.openvswitch-lts
+ for a version that supports ipsec over GRE.
'';
};
};
@@ -89,6 +92,13 @@ in {
"${cfg.package}/share/openvswitch/vswitch.ovsschema"
fi
chmod -R +w /var/db/openvswitch
+ if ${cfg.package}/bin/ovsdb-tool needs-conversion /var/db/openvswitch/conf.db | grep -q "yes"
+ then
+ echo "Performing database upgrade"
+ ${cfg.package}/bin/ovsdb-tool convert /var/db/openvswitch/conf.db
+ else
+ echo "Database already up to date"
+ fi
'';
serviceConfig = {
ExecStart =
@@ -133,7 +143,7 @@ in {
};
}
- (mkIf cfg.ipsec {
+ (mkIf (cfg.ipsec && (versionOlder cfg.package.version "2.6.0")) {
services.racoon.enable = true;
services.racoon.configPath = "${runDir}/ipsec/etc/racoon/racoon.conf";
@@ -172,5 +182,4 @@ in {
'';
};
})]));
-
}
diff --git a/nixos/modules/virtualisation/qemu-vm.nix b/nixos/modules/virtualisation/qemu-vm.nix
index e313d2b411bb4a63b2905f146c93edd661c5f6e7..31d332e9f07a78e826592e5a09208c1e6400a0a8 100644
--- a/nixos/modules/virtualisation/qemu-vm.nix
+++ b/nixos/modules/virtualisation/qemu-vm.nix
@@ -620,7 +620,7 @@ in
# Wireless won't work in the VM.
networking.wireless.enable = mkVMOverride false;
- networking.connman.enable = mkVMOverride false;
+ services.connman.enable = mkVMOverride false;
# Speed up booting by not waiting for ARP.
networking.dhcpcd.extraConfig = "noarp";
diff --git a/nixos/release-combined.nix b/nixos/release-combined.nix
index 689f881cbea9e750ee2e4410934291e41baa0d4d..678ce3c2880033ba2c4659a16d3c4ce826a125d5 100644
--- a/nixos/release-combined.nix
+++ b/nixos/release-combined.nix
@@ -63,8 +63,7 @@ in rec {
#(all nixos.tests.containers)
(all nixos.tests.containers-imperative)
- (all nixos.tests.containers-ipv4)
- (all nixos.tests.containers-ipv6)
+ (all nixos.tests.containers-ip)
nixos.tests.chromium.x86_64-linux or []
(all nixos.tests.firefox)
(all nixos.tests.firewall)
diff --git a/nixos/release-small.nix b/nixos/release-small.nix
index 84af457801a191afd7e77bea5ece9df9d8027f76..74c16e990f35881e400a1ab01c64c809dff80b4c 100644
--- a/nixos/release-small.nix
+++ b/nixos/release-small.nix
@@ -32,8 +32,7 @@ in rec {
tests = {
inherit (nixos'.tests)
containers-imperative
- containers-ipv4
- containers-ipv6
+ containers-ip
firewall
ipv6
login
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix
index a2129ef7076e5f862aa101054073a3957b08ef65..df65ef249e8a7156125f8019a58782ad453dfdb1 100644
--- a/nixos/tests/all-tests.nix
+++ b/nixos/tests/all-tests.nix
@@ -28,7 +28,7 @@ in
babeld = handleTest ./babeld.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
+ bees = handleTest ./bees.nix {};
bind = handleTest ./bind.nix {};
bittorrent = handleTest ./bittorrent.nix {};
#blivet = handleTest ./blivet.nix {}; # broken since 2017-07024
@@ -53,8 +53,7 @@ in
containers-extra_veth = handleTest ./containers-extra_veth.nix {};
containers-hosts = handleTest ./containers-hosts.nix {};
containers-imperative = handleTest ./containers-imperative.nix {};
- containers-ipv4 = handleTest ./containers-ipv4.nix {};
- containers-ipv6 = handleTest ./containers-ipv6.nix {};
+ containers-ip = handleTest ./containers-ip.nix {};
containers-macvlans = handleTest ./containers-macvlans.nix {};
containers-physical_interfaces = handleTest ./containers-physical_interfaces.nix {};
containers-restart_networking = handleTest ./containers-restart_networking.nix {};
@@ -206,7 +205,6 @@ in
openstack-image-metadata = (handleTestOn ["x86_64-linux"] ./openstack-image.nix {}).metadata or {};
orangefs = handleTest ./orangefs.nix {};
os-prober = handleTestOn ["x86_64-linux"] ./os-prober.nix {};
- osquery = handleTest ./osquery.nix {};
osrm-backend = handleTest ./osrm-backend.nix {};
overlayfs = handleTest ./overlayfs.nix {};
packagekit = handleTest ./packagekit.nix {};
diff --git a/nixos/tests/beegfs.nix b/nixos/tests/beegfs.nix
deleted file mode 100644
index 3465272f5599628bbadbc7adb0697332a10bb58f..0000000000000000000000000000000000000000
--- a/nixos/tests/beegfs.nix
+++ /dev/null
@@ -1,115 +0,0 @@
-import ./make-test.nix ({ ... } :
-
-let
- connAuthFile="beegfs/auth-def.key";
-
- client = { pkgs, ... } : {
- networking.firewall.enable = false;
- services.beegfsEnable = true;
- services.beegfs.default = {
- mgmtdHost = "mgmt";
- connAuthFile = "/etc/${connAuthFile}";
- client = {
- mount = false;
- enable = true;
- };
- };
-
- fileSystems = pkgs.lib.mkVMOverride # FIXME: this should be creatd by the module
- [ { mountPoint = "/beegfs";
- device = "default";
- fsType = "beegfs";
- options = [ "cfgFile=/etc/beegfs/client-default.conf" "_netdev" ];
- }
- ];
-
- environment.etc.${connAuthFile} = {
- enable = true;
- text = "ThisIsALousySecret";
- mode = "0600";
- };
- };
-
-
- server = service : { pkgs, ... } : {
- networking.firewall.enable = false;
- boot.initrd.postDeviceCommands = ''
- ${pkgs.e2fsprogs}/bin/mkfs.ext4 -L data /dev/vdb
- '';
-
- virtualisation.emptyDiskImages = [ 4096 ];
-
- fileSystems = pkgs.lib.mkVMOverride
- [ { mountPoint = "/data";
- device = "/dev/disk/by-label/data";
- fsType = "ext4";
- }
- ];
-
- environment.systemPackages = with pkgs; [ beegfs ];
- environment.etc.${connAuthFile} = {
- enable = true;
- text = "ThisIsALousySecret";
- mode = "0600";
- };
-
- services.beegfsEnable = true;
- services.beegfs.default = {
- mgmtdHost = "mgmt";
- connAuthFile = "/etc/${connAuthFile}";
- ${service} = {
- enable = true;
- storeDir = "/data";
- };
- };
- };
-
-in
-{
- name = "beegfs";
-
- nodes = {
- meta = server "meta";
- mgmt = server "mgmtd";
- storage1 = server "storage";
- storage2 = server "storage";
- client1 = client;
- client2 = client;
- };
-
- testScript = ''
- # Initalize the data directories
- $mgmt->waitForUnit("default.target");
- $mgmt->succeed("beegfs-setup-mgmtd -C -f -p /data");
- $mgmt->succeed("systemctl start beegfs-mgmtd-default");
-
- $meta->waitForUnit("default.target");
- $meta->succeed("beegfs-setup-meta -C -f -s 1 -p /data");
- $meta->succeed("systemctl start beegfs-meta-default");
-
- $storage1->waitForUnit("default.target");
- $storage1->succeed("beegfs-setup-storage -C -f -s 1 -i 1 -p /data");
- $storage1->succeed("systemctl start beegfs-storage-default");
-
- $storage2->waitForUnit("default.target");
- $storage2->succeed("beegfs-setup-storage -C -f -s 2 -i 2 -p /data");
- $storage2->succeed("systemctl start beegfs-storage-default");
-
- #
-
- # Basic test
- $client1->waitForUnit("beegfs.mount");
- $client1->succeed("beegfs-check-servers-default");
- $client1->succeed("echo test > /beegfs/test");
- $client2->waitForUnit("beegfs.mount");
- $client2->succeed("test -e /beegfs/test");
- $client2->succeed("cat /beegfs/test | grep test");
-
- # test raid0/stripping
- $client1->succeed("dd if=/dev/urandom bs=1M count=10 of=/beegfs/striped");
- $client2->succeed("cat /beegfs/striped > /dev/null");
-
- # check if fs is still healthy
- $client1->succeed("beegfs-fsck-default --checkfs");
- '';
-})
diff --git a/nixos/tests/bees.nix b/nixos/tests/bees.nix
index 6f68c2f834f1987380e1473ce57b2bdf165e5de3..6e6a9c3446b0680eadee6263cedad8fa8f6a6c70 100644
--- a/nixos/tests/bees.nix
+++ b/nixos/tests/bees.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ lib, ... }:
+import ./make-test-python.nix ({ lib, pkgs, ... }:
{
name = "bees";
@@ -29,27 +29,34 @@ import ./make-test.nix ({ lib, ... }:
testScript =
let
- withRetry = content: maxTests: sleepTime: ''
- max_tests=${lib.escapeShellArg maxTests}; sleep_time=${lib.escapeShellArg sleepTime}; for ((i=0; i1 && $3 == 0 { count++ } END { print count }') -eq 0 ]]
'';
- someContentIsShared = loc: ''[[ $(btrfs fi du -s --raw ${lib.escapeShellArg loc}/dedup-me-{1,2} | awk 'BEGIN { count=0; } NR>1 && $3 == 0 { count++ } END { print count }') -eq 0 ]]'';
in ''
# shut down the instance started by systemd at boot, so we can test our test procedure
- $machine->succeed("systemctl stop beesd\@aux1.service");
+ machine.succeed("systemctl stop beesd@aux1.service")
- $machine->succeed("dd if=/dev/urandom of=/aux1/dedup-me-1 bs=1M count=8");
- $machine->succeed("cp --reflink=never /aux1/dedup-me-1 /aux1/dedup-me-2");
- $machine->succeed("cp --reflink=never /aux1/* /aux2/");
- $machine->succeed("sync");
- $machine->fail(q(${someContentIsShared "/aux1"}));
- $machine->fail(q(${someContentIsShared "/aux2"}));
- $machine->succeed("systemctl start beesd\@aux1.service");
+ machine.succeed(
+ "dd if=/dev/urandom of=/aux1/dedup-me-1 bs=1M count=8",
+ "cp --reflink=never /aux1/dedup-me-1 /aux1/dedup-me-2",
+ "cp --reflink=never /aux1/* /aux2/",
+ "sync",
+ )
+ machine.fail(
+ "${someContentIsShared "/aux1"}",
+ "${someContentIsShared "/aux2"}",
+ )
+ machine.succeed("systemctl start beesd@aux1.service")
# assert that "Set Shared" column is nonzero
- $machine->succeed(q(${withRetry (someContentIsShared "/aux1") 20 2}));
- $machine->fail(q(${someContentIsShared "/aux2"}));
+ machine.wait_until_succeeds(
+ "${someContentIsShared "/aux1"}",
+ )
+ machine.fail("${someContentIsShared "/aux2"}")
# assert that 16MB hash table size requested was honored
- $machine->succeed(q([[ $(stat -c %s /aux1/.beeshome/beeshash.dat) = $(( 16 * 1024 * 1024)) ]]))
+ machine.succeed(
+ "[[ $(stat -c %s /aux1/.beeshome/beeshash.dat) = $(( 16 * 1024 * 1024)) ]]"
+ )
'';
})
diff --git a/nixos/tests/clickhouse.nix b/nixos/tests/clickhouse.nix
index 7d835069ec4d8bd817a90bbf9f91df7382d2d18a..2d8a7cf7aa9fa6e514325bd4ce644332622b9e43 100644
--- a/nixos/tests/clickhouse.nix
+++ b/nixos/tests/clickhouse.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, ... }: {
+import ./make-test-python.nix ({ pkgs, ... }: {
name = "clickhouse";
meta.maintainers = with pkgs.stdenv.lib.maintainers; [ ma27 ];
@@ -14,12 +14,18 @@ import ./make-test.nix ({ pkgs, ... }: {
selectQuery = pkgs.writeText "select.sql" "SELECT * from `demo`";
in
''
- $machine->start();
- $machine->waitForUnit("clickhouse.service");
- $machine->waitForOpenPort(9000);
+ machine.start()
+ machine.wait_for_unit("clickhouse.service")
+ machine.wait_for_open_port(9000)
- $machine->succeed("cat ${tableDDL} | clickhouse-client");
- $machine->succeed("cat ${insertQuery} | clickhouse-client");
- $machine->succeed("cat ${selectQuery} | clickhouse-client | grep foo");
+ machine.succeed(
+ "cat ${tableDDL} | clickhouse-client"
+ )
+ machine.succeed(
+ "cat ${insertQuery} | clickhouse-client"
+ )
+ machine.succeed(
+ "cat ${selectQuery} | clickhouse-client | grep foo"
+ )
'';
})
diff --git a/nixos/tests/codimd.nix b/nixos/tests/codimd.nix
index 562f6f24f999c9cab8766fac7ef39de616b52b52..b1acbf4a8322e065497e4956fd651257340654e3 100644
--- a/nixos/tests/codimd.nix
+++ b/nixos/tests/codimd.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, lib, ... }:
+import ./make-test-python.nix ({ pkgs, lib, ... }:
{
name = "codimd";
@@ -35,20 +35,18 @@ import ./make-test.nix ({ pkgs, lib, ... }:
};
testScript = ''
- startAll();
+ start_all()
- subtest "CodiMD sqlite", sub {
- $codimdSqlite->waitForUnit("codimd.service");
- $codimdSqlite->waitForOpenPort(3000);
- $codimdSqlite->waitUntilSucceeds("curl -sSf http://localhost:3000/new");
- };
+ with subtest("CodiMD sqlite"):
+ codimdSqlite.wait_for_unit("codimd.service")
+ codimdSqlite.wait_for_open_port(3000)
+ codimdSqlite.wait_until_succeeds("curl -sSf http://localhost:3000/new")
- subtest "CodiMD postgres", sub {
- $codimdPostgres->waitForUnit("postgresql.service");
- $codimdPostgres->waitForUnit("codimd.service");
- $codimdPostgres->waitForOpenPort(5432);
- $codimdPostgres->waitForOpenPort(3000);
- $codimdPostgres->waitUntilSucceeds("curl -sSf http://localhost:3000/new");
- };
+ with subtest("CodiMD postgres"):
+ codimdPostgres.wait_for_unit("postgresql.service")
+ codimdPostgres.wait_for_unit("codimd.service")
+ codimdPostgres.wait_for_open_port(5432)
+ codimdPostgres.wait_for_open_port(3000)
+ codimdPostgres.wait_until_succeeds("curl -sSf http://localhost:3000/new")
'';
})
diff --git a/nixos/tests/containers-bridge.nix b/nixos/tests/containers-bridge.nix
index 38db64eb7931bec873a2cfdc042eb0a863436e4e..2c8e8fa5370f0d0a86fcf9f5f4c26da6ba462532 100644
--- a/nixos/tests/containers-bridge.nix
+++ b/nixos/tests/containers-bridge.nix
@@ -7,7 +7,7 @@ let
containerIp6 = "fc00::2/7";
in
-import ./make-test.nix ({ pkgs, ...} : {
+import ./make-test-python.nix ({ pkgs, ...} : {
name = "containers-bridge";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ aristid aszlig eelco kampfschlaefer ];
@@ -61,43 +61,42 @@ import ./make-test.nix ({ pkgs, ...} : {
virtualisation.pathsInNixDB = [ pkgs.stdenv ];
};
- testScript =
- ''
- $machine->waitForUnit("default.target");
- $machine->succeed("nixos-container list") =~ /webserver/ or die;
-
- # Start the webserver container.
- $machine->succeed("nixos-container status webserver") =~ /up/ or die;
-
- # Check if bridges exist inside containers
- $machine->succeed("nixos-container run webserver -- ip link show eth0");
- $machine->succeed("nixos-container run web-noip -- ip link show eth0");
-
- "${containerIp}" =~ /([^\/]+)\/([0-9+])/;
- my $ip = $1;
- chomp $ip;
- $machine->succeed("ping -n -c 1 $ip");
- $machine->succeed("curl --fail http://$ip/ > /dev/null");
-
- "${containerIp6}" =~ /([^\/]+)\/([0-9+])/;
- my $ip6 = $1;
- chomp $ip6;
- $machine->succeed("ping -n -c 1 $ip6");
- $machine->succeed("curl --fail http://[$ip6]/ > /dev/null");
-
- # Check that nixos-container show-ip works in case of an ipv4 address with
- # subnetmask in CIDR notation.
- my $result = $machine->succeed("nixos-container show-ip webserver");
- chomp $result;
- $result eq $ip or die;
-
- # Stop the container.
- $machine->succeed("nixos-container stop webserver");
- $machine->fail("curl --fail --connect-timeout 2 http://$ip/ > /dev/null");
- $machine->fail("curl --fail --connect-timeout 2 http://[$ip6]/ > /dev/null");
-
- # Destroying a declarative container should fail.
- $machine->fail("nixos-container destroy webserver");
- '';
-
+ testScript = ''
+ machine.wait_for_unit("default.target")
+ assert "webserver" in machine.succeed("nixos-container list")
+
+ with subtest("Start the webserver container"):
+ assert "up" in machine.succeed("nixos-container status webserver")
+
+ with subtest("Bridges exist inside containers"):
+ machine.succeed(
+ "nixos-container run webserver -- ip link show eth0",
+ "nixos-container run web-noip -- ip link show eth0",
+ )
+
+ ip = "${containerIp}".split("/")[0]
+ machine.succeed(f"ping -n -c 1 {ip}")
+ machine.succeed(f"curl --fail http://{ip}/ > /dev/null")
+
+ ip6 = "${containerIp6}".split("/")[0]
+ machine.succeed(f"ping -n -c 1 {ip6}")
+ machine.succeed(f"curl --fail http://[{ip6}]/ > /dev/null")
+
+ with subtest(
+ "nixos-container show-ip works in case of an ipv4 address "
+ + "with subnetmask in CIDR notation."
+ ):
+ result = machine.succeed("nixos-container show-ip webserver").rstrip()
+ assert result == ip
+
+ with subtest("Stop the container"):
+ machine.succeed("nixos-container stop webserver")
+ machine.fail(
+ f"curl --fail --connect-timeout 2 http://{ip}/ > /dev/null",
+ f"curl --fail --connect-timeout 2 http://[{ip6}]/ > /dev/null",
+ )
+
+ # Destroying a declarative container should fail.
+ machine.fail("nixos-container destroy webserver")
+ '';
})
diff --git a/nixos/tests/containers-ephemeral.nix b/nixos/tests/containers-ephemeral.nix
index 1ef8717d9a0e1ea1f7e116eb17ced3ef80141367..692554ac0ba25d61e2b943cd210f7a486e59ecab 100644
--- a/nixos/tests/containers-ephemeral.nix
+++ b/nixos/tests/containers-ephemeral.nix
@@ -1,6 +1,6 @@
# Test for NixOS' container support.
-import ./make-test.nix ({ pkgs, ...} : {
+import ./make-test-python.nix ({ pkgs, ...} : {
name = "containers-ephemeral";
machine = { pkgs, ... }: {
@@ -16,10 +16,10 @@ import ./make-test.nix ({ pkgs, ...} : {
services.nginx = {
enable = true;
virtualHosts.localhost = {
- root = (pkgs.runCommand "localhost" {} ''
+ root = pkgs.runCommand "localhost" {} ''
mkdir "$out"
echo hello world > "$out/index.html"
- '');
+ '';
};
};
networking.firewall.allowedTCPPorts = [ 80 ];
@@ -28,29 +28,27 @@ import ./make-test.nix ({ pkgs, ...} : {
};
testScript = ''
- $machine->succeed("nixos-container list") =~ /webserver/ or die;
+ assert "webserver" in machine.succeed("nixos-container list")
- # Start the webserver container.
- $machine->succeed("nixos-container start webserver");
+ machine.succeed("nixos-container start webserver")
- # Check that container got its own root folder
- $machine->succeed("ls /run/containers/webserver");
+ with subtest("Container got its own root folder"):
+ machine.succeed("ls /run/containers/webserver")
- # Check that container persistent directory is not created
- $machine->fail("ls /var/lib/containers/webserver");
+ with subtest("Container persistent directory is not created"):
+ machine.fail("ls /var/lib/containers/webserver")
# Since "start" returns after the container has reached
# multi-user.target, we should now be able to access it.
- my $ip = $machine->succeed("nixos-container show-ip webserver");
- chomp $ip;
- $machine->succeed("ping -n -c1 $ip");
- $machine->succeed("curl --fail http://$ip/ > /dev/null");
+ ip = machine.succeed("nixos-container show-ip webserver").rstrip()
+ machine.succeed(f"ping -n -c1 {ip}")
+ machine.succeed(f"curl --fail http://{ip}/ > /dev/null")
- # Stop the container.
- $machine->succeed("nixos-container stop webserver");
- $machine->fail("curl --fail --connect-timeout 2 http://$ip/ > /dev/null");
+ with subtest("Stop the container"):
+ machine.succeed("nixos-container stop webserver")
+ machine.fail(f"curl --fail --connect-timeout 2 http://{ip}/ > /dev/null")
- # Check that container's root folder was removed
- $machine->fail("ls /run/containers/webserver");
+ with subtest("Container's root folder was removed"):
+ machine.fail("ls /run/containers/webserver")
'';
})
diff --git a/nixos/tests/containers-hosts.nix b/nixos/tests/containers-hosts.nix
index 8cf298c6225837befd3c3ff85390ad531a3647c6..d6fb4a761eef7c6676ba6eef41a8fcaba1cf4653 100644
--- a/nixos/tests/containers-hosts.nix
+++ b/nixos/tests/containers-hosts.nix
@@ -1,6 +1,6 @@
# Test for NixOS' container support.
-import ./make-test.nix ({ pkgs, ...} : {
+import ./make-test-python.nix ({ pkgs, ...} : {
name = "containers-hosts";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ montag451 ];
@@ -42,11 +42,11 @@ import ./make-test.nix ({ pkgs, ...} : {
};
testScript = ''
- startAll;
- $machine->waitForUnit("default.target");
+ start_all()
+ machine.wait_for_unit("default.target")
- # Ping the containers using the entries added in /etc/hosts
- $machine->succeed("ping -n -c 1 simple.containers");
- $machine->succeed("ping -n -c 1 netmask.containers");
+ with subtest("Ping the containers using the entries added in /etc/hosts"):
+ for host in "simple.containers", "netmask.containers":
+ machine.succeed(f"ping -n -c 1 {host}")
'';
})
diff --git a/nixos/tests/containers-imperative.nix b/nixos/tests/containers-imperative.nix
index 2e7e4b2f1d69aea44d5f8d25ea1112784609b65b..61df74042cb31e606259898a75299256187b84e2 100644
--- a/nixos/tests/containers-imperative.nix
+++ b/nixos/tests/containers-imperative.nix
@@ -1,6 +1,6 @@
# Test for NixOS' container support.
-import ./make-test.nix ({ pkgs, ...} : {
+import ./make-test-python.nix ({ pkgs, ...} : {
name = "containers-imperative";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ aristid aszlig eelco kampfschlaefer ];
@@ -36,95 +36,99 @@ import ./make-test.nix ({ pkgs, ...} : {
};
testScript = let
- tmpfilesContainerConfig = pkgs.writeText "container-config-tmpfiles" ''
- {
- systemd.tmpfiles.rules = [ "d /foo - - - - -" ];
- systemd.services.foo = {
- serviceConfig.Type = "oneshot";
- script = "ls -al /foo";
- wantedBy = [ "multi-user.target" ];
- };
- }
- ''; in
- ''
- # Make sure we have a NixOS tree (required by ‘nixos-container create’).
- $machine->succeed("PAGER=cat nix-env -qa -A nixos.hello >&2");
-
- # Create some containers imperatively.
- my $id1 = $machine->succeed("nixos-container create foo --ensure-unique-name");
- chomp $id1;
- $machine->log("created container $id1");
-
- my $id2 = $machine->succeed("nixos-container create foo --ensure-unique-name");
- chomp $id2;
- $machine->log("created container $id2");
-
- die if $id1 eq $id2;
-
- # Put the root of $id2 into a bind mount.
- $machine->succeed(
- "mv /var/lib/containers/$id2 /id2-bindmount",
- "mount --bind /id2-bindmount /var/lib/containers/$id1"
- );
-
- my $ip1 = $machine->succeed("nixos-container show-ip $id1");
- chomp $ip1;
- my $ip2 = $machine->succeed("nixos-container show-ip $id2");
- chomp $ip2;
- die if $ip1 eq $ip2;
-
- # Create a directory and a file we can later check if it still exists
- # after destruction of the container.
- $machine->succeed(
- "mkdir /nested-bindmount",
- "echo important data > /nested-bindmount/dummy",
- );
-
- # Create a directory with a dummy file and bind-mount it into both
- # containers.
- foreach ($id1, $id2) {
- my $importantPath = "/var/lib/containers/$_/very/important/data";
- $machine->succeed(
- "mkdir -p $importantPath",
- "mount --bind /nested-bindmount $importantPath"
- );
- }
-
- # Start one of them.
- $machine->succeed("nixos-container start $id1");
-
- # Execute commands via the root shell.
- $machine->succeed("nixos-container run $id1 -- uname") =~ /Linux/ or die;
-
- # Execute a nix command via the root shell. (regression test for #40355)
- $machine->succeed("nixos-container run $id1 -- nix-instantiate -E 'derivation { name = \"empty\"; builder = \"false\"; system = \"false\"; }'");
-
- # Stop and start (regression test for #4989)
- $machine->succeed("nixos-container stop $id1");
- $machine->succeed("nixos-container start $id1");
-
- # Ensure tmpfiles are present
- $machine->log("creating container tmpfiles");
- $machine->succeed("nixos-container create tmpfiles --config-file ${tmpfilesContainerConfig}");
- $machine->log("created, starting…");
- $machine->succeed("nixos-container start tmpfiles");
- $machine->log("done starting, investigating…");
- $machine->succeed("echo \$(nixos-container run tmpfiles -- systemctl is-active foo.service) | grep -q active;");
- $machine->succeed("nixos-container destroy tmpfiles");
-
- # Execute commands via the root shell.
- $machine->succeed("nixos-container run $id1 -- uname") =~ /Linux/ or die;
-
- # Destroy the containers.
- $machine->succeed("nixos-container destroy $id1");
- $machine->succeed("nixos-container destroy $id2");
-
- $machine->succeed(
- # Check whether destruction of any container has killed important data
- "grep -qF 'important data' /nested-bindmount/dummy",
- # Ensure that the container path is gone
- "test ! -e /var/lib/containers/$id1"
- );
+ tmpfilesContainerConfig = pkgs.writeText "container-config-tmpfiles" ''
+ {
+ systemd.tmpfiles.rules = [ "d /foo - - - - -" ];
+ systemd.services.foo = {
+ serviceConfig.Type = "oneshot";
+ script = "ls -al /foo";
+ wantedBy = [ "multi-user.target" ];
+ };
+ }
+ '';
+ in ''
+ with subtest("Make sure we have a NixOS tree (required by ‘nixos-container create’)"):
+ machine.succeed("PAGER=cat nix-env -qa -A nixos.hello >&2")
+
+ id1, id2 = None, None
+
+ with subtest("Create some containers imperatively"):
+ id1 = machine.succeed("nixos-container create foo --ensure-unique-name").rstrip()
+ machine.log(f"created container {id1}")
+
+ id2 = machine.succeed("nixos-container create foo --ensure-unique-name").rstrip()
+ machine.log(f"created container {id2}")
+
+ assert id1 != id2
+
+ with subtest(f"Put the root of {id2} into a bind mount"):
+ machine.succeed(
+ f"mv /var/lib/containers/{id2} /id2-bindmount",
+ f"mount --bind /id2-bindmount /var/lib/containers/{id1}",
+ )
+
+ ip1 = machine.succeed(f"nixos-container show-ip {id1}").rstrip()
+ ip2 = machine.succeed(f"nixos-container show-ip {id2}").rstrip()
+ assert ip1 != ip2
+
+ with subtest(
+ "Create a directory and a file we can later check if it still exists "
+ + "after destruction of the container"
+ ):
+ machine.succeed("mkdir /nested-bindmount")
+ machine.succeed("echo important data > /nested-bindmount/dummy")
+
+ with subtest(
+ "Create a directory with a dummy file and bind-mount it into both containers."
+ ):
+ for id in id1, id2:
+ important_path = f"/var/lib/containers/{id}/very/important/data"
+ machine.succeed(
+ f"mkdir -p {important_path}",
+ f"mount --bind /nested-bindmount {important_path}",
+ )
+
+ with subtest("Start one of them"):
+ machine.succeed(f"nixos-container start {id1}")
+
+ with subtest("Execute commands via the root shell"):
+ assert "Linux" in machine.succeed(f"nixos-container run {id1} -- uname")
+
+ with subtest("Execute a nix command via the root shell. (regression test for #40355)"):
+ machine.succeed(
+ f"nixos-container run {id1} -- nix-instantiate -E "
+ + '\'derivation { name = "empty"; builder = "false"; system = "false"; }\' '
+ )
+
+ with subtest("Stop and start (regression test for #4989)"):
+ machine.succeed(f"nixos-container stop {id1}")
+ machine.succeed(f"nixos-container start {id1}")
+
+ with subtest("tmpfiles are present"):
+ machine.log("creating container tmpfiles")
+ machine.succeed(
+ "nixos-container create tmpfiles --config-file ${tmpfilesContainerConfig}"
+ )
+ machine.log("created, starting…")
+ machine.succeed("nixos-container start tmpfiles")
+ machine.log("done starting, investigating…")
+ machine.succeed(
+ "echo $(nixos-container run tmpfiles -- systemctl is-active foo.service) | grep -q active;"
+ )
+ machine.succeed("nixos-container destroy tmpfiles")
+
+ with subtest("Execute commands via the root shell"):
+ assert "Linux" in machine.succeed(f"nixos-container run {id1} -- uname")
+
+ with subtest("Destroy the containers"):
+ for id in id1, id2:
+ machine.succeed(f"nixos-container destroy {id}")
+
+ with subtest("Check whether destruction of any container has killed important data"):
+ machine.succeed("grep -qF 'important data' /nested-bindmount/dummy")
+
+ with subtest("Ensure that the container path is gone"):
+ print(machine.succeed("ls -lsa /var/lib/containers"))
+ machine.succeed(f"test ! -e /var/lib/containers/{id1}")
'';
-
})
diff --git a/nixos/tests/containers-ip.nix b/nixos/tests/containers-ip.nix
new file mode 100644
index 0000000000000000000000000000000000000000..8583a08c62589ae92e1df071cf08a6d8e3f7f1db
--- /dev/null
+++ b/nixos/tests/containers-ip.nix
@@ -0,0 +1,77 @@
+# Test for NixOS' container support.
+
+let
+ webserverFor = hostAddress: localAddress: {
+ inherit hostAddress localAddress;
+ privateNetwork = true;
+ config = {
+ services.httpd = {
+ enable = true;
+ adminAddr = "foo@example.org";
+ };
+ networking.firewall.allowedTCPPorts = [ 80 ];
+ };
+ };
+
+in import ./make-test-python.nix ({ pkgs, ...} : {
+ name = "containers-ipv4-ipv6";
+ meta = with pkgs.stdenv.lib.maintainers; {
+ maintainers = [ aristid aszlig eelco kampfschlaefer ];
+ };
+
+ machine =
+ { pkgs, ... }: {
+ imports = [ ../modules/installer/cd-dvd/channel.nix ];
+ virtualisation = {
+ writableStore = true;
+ memorySize = 768;
+ };
+
+ containers.webserver4 = webserverFor "10.231.136.1" "10.231.136.2";
+ containers.webserver6 = webserverFor "fc00::2" "fc00::1";
+ virtualisation.pathsInNixDB = [ pkgs.stdenv ];
+ };
+
+ testScript = { nodes, ... }: ''
+ import time
+
+
+ def curl_host(ip):
+ # put [] around ipv6 addresses for curl
+ host = ip if ":" not in ip else f"[{ip}]"
+ return f"curl --fail --connect-timeout 2 http://{host}/ > /dev/null"
+
+
+ def get_ip(container):
+ # need to distinguish because show-ip won't work for ipv6
+ if container == "webserver4":
+ ip = machine.succeed(f"nixos-container show-ip {container}").rstrip()
+ assert ip == "${nodes.machine.config.containers.webserver4.localAddress}"
+ return ip
+ return "${nodes.machine.config.containers.webserver6.localAddress}"
+
+
+ for container in "webserver4", "webserver6":
+ assert container in machine.succeed("nixos-container list")
+
+ with subtest(f"Start container {container}"):
+ machine.succeed(f"nixos-container start {container}")
+ # wait 2s for container to start and network to be up
+ time.sleep(2)
+
+ # Since "start" returns after the container has reached
+ # multi-user.target, we should now be able to access it.
+
+ ip = get_ip(container)
+ with subtest(f"{container} reacts to pings and HTTP requests"):
+ machine.succeed(f"ping -n -c1 {ip}")
+ machine.succeed(curl_host(ip))
+
+ with subtest(f"Stop container {container}"):
+ machine.succeed(f"nixos-container stop {container}")
+ machine.fail(curl_host(ip))
+
+ # Destroying a declarative container should fail.
+ machine.fail(f"nixos-container destroy {container}")
+ '';
+})
diff --git a/nixos/tests/containers-ipv4.nix b/nixos/tests/containers-ipv4.nix
deleted file mode 100644
index ace68ff2df8bc38b0e9d1bc878507847f1bd4c37..0000000000000000000000000000000000000000
--- a/nixos/tests/containers-ipv4.nix
+++ /dev/null
@@ -1,55 +0,0 @@
-# Test for NixOS' container support.
-
-import ./make-test.nix ({ pkgs, ...} : {
- name = "containers-ipv4";
- meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ aristid aszlig eelco kampfschlaefer ];
- };
-
- machine =
- { pkgs, ... }:
- { imports = [ ../modules/installer/cd-dvd/channel.nix ];
- virtualisation.writableStore = true;
- virtualisation.memorySize = 768;
-
- containers.webserver =
- { privateNetwork = true;
- hostAddress = "10.231.136.1";
- localAddress = "10.231.136.2";
- config =
- { services.httpd.enable = true;
- services.httpd.adminAddr = "foo@example.org";
- networking.firewall.allowedTCPPorts = [ 80 ];
- system.stateVersion = "18.03";
- };
- };
-
- virtualisation.pathsInNixDB = [ pkgs.stdenv ];
- };
-
- testScript =
- ''
- $machine->succeed("nixos-container list") =~ /webserver/ or die;
-
- # Start the webserver container.
- $machine->succeed("nixos-container start webserver");
-
- # wait two seconds for the container to start and the network to be up
- sleep 2;
-
- # Since "start" returns after the container has reached
- # multi-user.target, we should now be able to access it.
- my $ip = $machine->succeed("nixos-container show-ip webserver");
- chomp $ip;
- $machine->succeed("ping -n -c1 $ip");
- $machine->succeed("curl --fail http://$ip/ > /dev/null");
-
- # Stop the container.
- $machine->succeed("nixos-container stop webserver");
- $machine->fail("curl --fail --connect-timeout 2 http://$ip/ > /dev/null");
-
- # Destroying a declarative container should fail.
- $machine->fail("nixos-container destroy webserver");
- '';
-
-})
diff --git a/nixos/tests/containers-ipv6.nix b/nixos/tests/containers-ipv6.nix
deleted file mode 100644
index a9499d192bd41c8bd8d5229cafab586d468b999f..0000000000000000000000000000000000000000
--- a/nixos/tests/containers-ipv6.nix
+++ /dev/null
@@ -1,60 +0,0 @@
-# Test for NixOS' container support.
-
-let
- hostIp = "fc00::2";
- localIp = "fc00::1";
-in
-
-import ./make-test.nix ({ pkgs, ...} : {
- name = "containers-ipv6";
- meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ aristid aszlig eelco kampfschlaefer ];
- };
-
- machine =
- { pkgs, ... }:
- { imports = [ ../modules/installer/cd-dvd/channel.nix ];
- virtualisation.writableStore = true;
- virtualisation.memorySize = 768;
-
- containers.webserver =
- { privateNetwork = true;
- hostAddress6 = hostIp;
- localAddress6 = localIp;
- config =
- { services.httpd.enable = true;
- services.httpd.adminAddr = "foo@example.org";
- networking.firewall.allowedTCPPorts = [ 80 ];
- };
- };
-
- virtualisation.pathsInNixDB = [ pkgs.stdenv ];
- };
-
- testScript =
- ''
- $machine->waitForUnit("default.target");
- $machine->succeed("nixos-container list") =~ /webserver/ or die;
-
- # Start the webserver container.
- $machine->succeed("nixos-container start webserver");
-
- # wait two seconds for the container to start and the network to be up
- sleep 2;
-
- # Since "start" returns after the container has reached
- # multi-user.target, we should now be able to access it.
- my $ip = "${localIp}";
- chomp $ip;
- $machine->succeed("ping -n -c 1 $ip");
- $machine->succeed("curl --fail http://[$ip]/ > /dev/null");
-
- # Stop the container.
- $machine->succeed("nixos-container stop webserver");
- $machine->fail("curl --fail --connect-timeout 2 http://[$ip]/ > /dev/null");
-
- # Destroying a declarative container should fail.
- $machine->fail("nixos-container destroy webserver");
- '';
-
-})
diff --git a/nixos/tests/containers-reloadable.nix b/nixos/tests/containers-reloadable.nix
index f41dea91b1e4bdc9f526ff5c9e71f4ec67672c5d..35aff91e85b53fa058daca8be465f40fba49a759 100644
--- a/nixos/tests/containers-reloadable.nix
+++ b/nixos/tests/containers-reloadable.nix
@@ -1,7 +1,7 @@
-import ./make-test.nix ({ pkgs, lib, ...} :
+import ./make-test-python.nix ({ pkgs, lib, ...} :
let
client_base = {
-
+
containers.test1 = {
autoStart = true;
config = {
@@ -48,18 +48,25 @@ in {
c1System = nodes.client_c1.config.system.build.toplevel;
c2System = nodes.client_c2.config.system.build.toplevel;
in ''
- $client->start();
- $client->waitForUnit("default.target");
- $client->succeed("[[ \$(nixos-container run test1 cat /etc/check) == client_base ]] >&2");
+ client.start()
+ client.wait_for_unit("default.target")
+
+ assert "client_base" in client.succeed("nixos-container run test1 cat /etc/check")
- $client->succeed("${c1System}/bin/switch-to-configuration test >&2");
- $client->succeed("[[ \$(nixos-container run test1 cat /etc/check) == client_c1 ]] >&2");
- $client->succeed("systemctl status httpd -M test1 >&2");
+ with subtest("httpd is available after activating config1"):
+ client.succeed(
+ "${c1System}/bin/switch-to-configuration test >&2",
+ "[[ $(nixos-container run test1 cat /etc/check) == client_c1 ]] >&2",
+ "systemctl status httpd -M test1 >&2",
+ )
- $client->succeed("${c2System}/bin/switch-to-configuration test >&2");
- $client->succeed("[[ \$(nixos-container run test1 cat /etc/check) == client_c2 ]] >&2");
- $client->fail("systemctl status httpd -M test1 >&2");
- $client->succeed("systemctl status nginx -M test1 >&2");
+ with subtest("httpd is not available any longer after switching to config2"):
+ client.succeed(
+ "${c2System}/bin/switch-to-configuration test >&2",
+ "[[ $(nixos-container run test1 cat /etc/check) == client_c2 ]] >&2",
+ "systemctl status nginx -M test1 >&2",
+ )
+ client.fail("systemctl status httpd -M test1 >&2")
'';
})
diff --git a/nixos/tests/containers-tmpfs.nix b/nixos/tests/containers-tmpfs.nix
index e29fe6bbf03259936af79ceeb12f70f35e8e6968..171e8f01c7b956d4fb060c7b5c27e1318f38a714 100644
--- a/nixos/tests/containers-tmpfs.nix
+++ b/nixos/tests/containers-tmpfs.nix
@@ -1,6 +1,6 @@
# Test for NixOS' container support.
-import ./make-test.nix ({ pkgs, ...} : {
+import ./make-test-python.nix ({ pkgs, ...} : {
name = "containers-tmpfs";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ kampka ];
@@ -31,49 +31,63 @@ import ./make-test.nix ({ pkgs, ...} : {
virtualisation.pathsInNixDB = [ pkgs.stdenv ];
};
- testScript =
- ''
- $machine->waitForUnit("default.target");
- $machine->succeed("nixos-container list") =~ /tmpfs/ or die;
-
- # Start the tmpfs container.
- #$machine->succeed("nixos-container status tmpfs") =~ /up/ or die;
-
- # Verify that /var is mounted as a tmpfs
- #$machine->succeed("nixos-container run tmpfs -- systemctl status var.mount --no-pager 2>/dev/null") =~ /What: tmpfs/ or die;
- $machine->succeed("nixos-container run tmpfs -- mountpoint -q /var 2>/dev/null");
-
- # Verify that /var/log is mounted as a tmpfs
- $machine->succeed("nixos-container run tmpfs -- systemctl status var-log.mount --no-pager 2>/dev/null") =~ /What: tmpfs/ or die;
- $machine->succeed("nixos-container run tmpfs -- mountpoint -q /var/log 2>/dev/null");
-
- # Verify that /some/random/path is mounted as a tmpfs
- $machine->succeed("nixos-container run tmpfs -- systemctl status some-random-path.mount --no-pager 2>/dev/null") =~ /What: tmpfs/ or die;
- $machine->succeed("nixos-container run tmpfs -- mountpoint -q /some/random/path 2>/dev/null");
-
- # Verify that files created in the container in a non-tmpfs directory are visible on the host.
- # This establishes legitimacy for the following tests
- $machine->succeed("nixos-container run tmpfs -- touch /root/test.file 2>/dev/null");
- $machine->succeed("nixos-container run tmpfs -- ls -l /root | grep -q test.file 2>/dev/null");
- $machine->succeed("test -e /var/lib/containers/tmpfs/root/test.file");
-
-
- # Verify that /some/random/path is writable and that files created there
- # are not in the hosts container dir but in the tmpfs
- $machine->succeed("nixos-container run tmpfs -- touch /some/random/path/test.file 2>/dev/null");
- $machine->succeed("nixos-container run tmpfs -- test -e /some/random/path/test.file 2>/dev/null");
-
- $machine->fail("test -e /var/lib/containers/tmpfs/some/random/path/test.file");
-
- # Verify that files created in the hosts container dir in a path where a tmpfs file system has been mounted
- # are not visible to the container as the do not exist in the tmpfs
- $machine->succeed("touch /var/lib/containers/tmpfs/var/test.file");
-
- $machine->succeed("test -e /var/lib/containers/tmpfs/var/test.file");
- $machine->succeed("ls -l /var/lib/containers/tmpfs/var/ | grep -q test.file 2>/dev/null");
-
- $machine->fail("nixos-container run tmpfs -- ls -l /var | grep -q test.file 2>/dev/null");
-
+ testScript = ''
+ machine.wait_for_unit("default.target")
+ assert "tmpfs" in machine.succeed("nixos-container list")
+
+ with subtest("tmpfs container is up"):
+ assert "up" in machine.succeed("nixos-container status tmpfs")
+
+
+ def tmpfs_cmd(command):
+ return f"nixos-container run tmpfs -- {command} 2>/dev/null"
+
+
+ with subtest("/var is mounted as a tmpfs"):
+ machine.succeed(tmpfs_cmd("mountpoint -q /var"))
+
+ with subtest("/var/log is mounted as a tmpfs"):
+ assert "What: tmpfs" in machine.succeed(
+ tmpfs_cmd("systemctl status var-log.mount --no-pager")
+ )
+ machine.succeed(tmpfs_cmd("mountpoint -q /var/log"))
+
+ with subtest("/some/random/path is mounted as a tmpfs"):
+ assert "What: tmpfs" in machine.succeed(
+ tmpfs_cmd("systemctl status some-random-path.mount --no-pager")
+ )
+ machine.succeed(tmpfs_cmd("mountpoint -q /some/random/path"))
+
+ with subtest(
+ "files created in the container in a non-tmpfs directory are visible on the host."
+ ):
+ # This establishes legitimacy for the following tests
+ machine.succeed(
+ tmpfs_cmd("touch /root/test.file"),
+ tmpfs_cmd("ls -l /root | grep -q test.file"),
+ "test -e /var/lib/containers/tmpfs/root/test.file",
+ )
+
+ with subtest(
+ "/some/random/path is writable and that files created there are not "
+ + "in the hosts container dir but in the tmpfs"
+ ):
+ machine.succeed(
+ tmpfs_cmd("touch /some/random/path/test.file"),
+ tmpfs_cmd("test -e /some/random/path/test.file"),
+ )
+ machine.fail("test -e /var/lib/containers/tmpfs/some/random/path/test.file")
+
+ with subtest(
+ "files created in the hosts container dir in a path where a tmpfs "
+ + "file system has been mounted are not visible to the container as "
+ + "the do not exist in the tmpfs"
+ ):
+ machine.succeed(
+ "touch /var/lib/containers/tmpfs/var/test.file",
+ "test -e /var/lib/containers/tmpfs/var/test.file",
+ "ls -l /var/lib/containers/tmpfs/var/ | grep -q test.file 2>/dev/null",
+ )
+ machine.fail(tmpfs_cmd("ls -l /var | grep -q test.file"))
'';
-
})
diff --git a/nixos/tests/deluge.nix b/nixos/tests/deluge.nix
index b58030409b5cf4bc7a2e5b076d5fc0259fb9b851..37689c3d91372199e08d8a6a4639fec44baa8c58 100644
--- a/nixos/tests/deluge.nix
+++ b/nixos/tests/deluge.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, ...} : {
+import ./make-test-python.nix ({ pkgs, ...} : {
name = "deluge";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ flokli ];
@@ -45,18 +45,20 @@ import ./make-test.nix ({ pkgs, ...} : {
};
testScript = ''
- startAll;
+ start_all()
- $simple->waitForUnit("deluged");
- $simple->waitForUnit("delugeweb");
- $simple->waitForOpenPort("8112");
- $declarative->waitForUnit("network.target");
- $declarative->waitUntilSucceeds("curl --fail http://simple:8112");
+ simple.wait_for_unit("deluged")
+ simple.wait_for_unit("delugeweb")
+ simple.wait_for_open_port("8112")
+ declarative.wait_for_unit("network.target")
+ declarative.wait_until_succeeds("curl --fail http://simple:8112")
- $declarative->waitForUnit("deluged");
- $declarative->waitForUnit("delugeweb");
- $declarative->waitUntilSucceeds("curl --fail http://declarative:3142");
- $declarative->succeed("deluge-console 'help' | grep -q 'rm - Remove a torrent'");
- $declarative->succeed("deluge-console 'connect 127.0.0.1:58846 andrew password; help' | grep -q 'rm - Remove a torrent'");
+ declarative.wait_for_unit("deluged")
+ declarative.wait_for_unit("delugeweb")
+ declarative.wait_until_succeeds("curl --fail http://declarative:3142")
+ declarative.succeed("deluge-console 'help' | grep -q 'rm - Remove a torrent'")
+ declarative.succeed(
+ "deluge-console 'connect 127.0.0.1:58846 andrew password; help' | grep -q 'rm - Remove a torrent'"
+ )
'';
})
diff --git a/nixos/tests/docker-registry.nix b/nixos/tests/docker-registry.nix
index 8936421072a992ff0079cb9ee42f2dbcc0d1318d..2928fd8141a43ce2209e0495e12ca032720d8f64 100644
--- a/nixos/tests/docker-registry.nix
+++ b/nixos/tests/docker-registry.nix
@@ -1,6 +1,6 @@
# This test runs docker-registry and check if it works
-import ./make-test.nix ({ pkgs, ...} : {
+import ./make-test-python.nix ({ pkgs, ...} : {
name = "docker-registry";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ globin ma27 ironpinguin ];
@@ -28,36 +28,34 @@ import ./make-test.nix ({ pkgs, ...} : {
};
testScript = ''
- $client1->start();
- $client1->waitForUnit("docker.service");
- $client1->succeed("tar cv --files-from /dev/null | docker import - scratch");
- $client1->succeed("docker tag scratch registry:8080/scratch");
-
- $registry->start();
- $registry->waitForUnit("docker-registry.service");
- $registry->waitForOpenPort("8080");
- $client1->succeed("docker push registry:8080/scratch");
-
- $client2->start();
- $client2->waitForUnit("docker.service");
- $client2->succeed("docker pull registry:8080/scratch");
- $client2->succeed("docker images | grep scratch");
-
- $client2->succeed(
- 'curl -fsS -X DELETE registry:8080/v2/scratch/manifests/$(curl -fsS -I -H"Accept: application/vnd.docker.distribution.manifest.v2+json" registry:8080/v2/scratch/manifests/latest | grep Docker-Content-Digest | sed -e \'s/Docker-Content-Digest: //\' | tr -d \'\r\')'
- );
-
- $registry->systemctl("start docker-registry-garbage-collect.service");
- $registry->waitUntilFails("systemctl status docker-registry-garbage-collect.service");
- $registry->waitForUnit("docker-registry.service");
-
- $registry->fail(
- 'ls -l /var/lib/docker-registry/docker/registry/v2/blobs/sha256/*/*/data'
- );
-
- $client1->succeed("docker push registry:8080/scratch");
- $registry->succeed(
- 'ls -l /var/lib/docker-registry/docker/registry/v2/blobs/sha256/*/*/data'
- );
+ client1.start()
+ client1.wait_for_unit("docker.service")
+ client1.succeed("tar cv --files-from /dev/null | docker import - scratch")
+ client1.succeed("docker tag scratch registry:8080/scratch")
+
+ registry.start()
+ registry.wait_for_unit("docker-registry.service")
+ registry.wait_for_open_port("8080")
+ client1.succeed("docker push registry:8080/scratch")
+
+ client2.start()
+ client2.wait_for_unit("docker.service")
+ client2.succeed("docker pull registry:8080/scratch")
+ client2.succeed("docker images | grep scratch")
+
+ client2.succeed(
+ "curl -fsS -X DELETE registry:8080/v2/scratch/manifests/$(curl -fsS -I -H\"Accept: application/vnd.docker.distribution.manifest.v2+json\" registry:8080/v2/scratch/manifests/latest | grep Docker-Content-Digest | sed -e 's/Docker-Content-Digest: //' | tr -d '\\r')"
+ )
+
+ registry.systemctl("start docker-registry-garbage-collect.service")
+ registry.wait_until_fails("systemctl status docker-registry-garbage-collect.service")
+ registry.wait_for_unit("docker-registry.service")
+
+ registry.fail("ls -l /var/lib/docker-registry/docker/registry/v2/blobs/sha256/*/*/data")
+
+ client1.succeed("docker push registry:8080/scratch")
+ registry.succeed(
+ "ls -l /var/lib/docker-registry/docker/registry/v2/blobs/sha256/*/*/data"
+ )
'';
})
diff --git a/nixos/tests/dovecot.nix b/nixos/tests/dovecot.nix
index 156079d1d585d57f1ea9f6326097f5bf5ffd450b..c19850f418bc16d2906dc22f025799077e945339 100644
--- a/nixos/tests/dovecot.nix
+++ b/nixos/tests/dovecot.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix {
+import ./make-test-python.nix {
name = "dovecot";
machine = { pkgs, ... }: {
@@ -66,12 +66,12 @@ import ./make-test.nix {
};
testScript = ''
- $machine->waitForUnit('postfix.service');
- $machine->waitForUnit('dovecot2.service');
- $machine->succeed('send-testmail');
- $machine->succeed('send-lda');
- $machine->waitUntilFails('[ "$(postqueue -p)" != "Mail queue is empty" ]');
- $machine->succeed('test-imap');
- $machine->succeed('test-pop');
+ machine.wait_for_unit("postfix.service")
+ machine.wait_for_unit("dovecot2.service")
+ machine.succeed("send-testmail")
+ machine.succeed("send-lda")
+ machine.wait_until_fails('[ "$(postqueue -p)" != "Mail queue is empty" ]')
+ machine.succeed("test-imap")
+ machine.succeed("test-pop")
'';
}
diff --git a/nixos/tests/etcd-cluster.nix b/nixos/tests/etcd-cluster.nix
index 43fde7d59205ccba347dd351b1a11094b4f73323..19c5d9158236b7c421bcc09153638672dd2319fe 100644
--- a/nixos/tests/etcd-cluster.nix
+++ b/nixos/tests/etcd-cluster.nix
@@ -1,6 +1,6 @@
# This test runs simple etcd cluster
-import ./make-test.nix ({ pkgs, ... } : let
+import ./make-test-python.nix ({ pkgs, ... } : let
runWithOpenSSL = file: cmd: pkgs.runCommand file {
buildInputs = [ pkgs.openssl ];
@@ -129,29 +129,26 @@ in {
};
testScript = ''
- subtest "should start etcd cluster", sub {
- $node1->start();
- $node2->start();
- $node1->waitForUnit("etcd.service");
- $node2->waitForUnit("etcd.service");
- $node2->waitUntilSucceeds("etcdctl cluster-health");
- $node1->succeed("etcdctl set /foo/bar 'Hello world'");
- $node2->succeed("etcdctl get /foo/bar | grep 'Hello world'");
- };
-
- subtest "should add another member", sub {
- $node1->waitUntilSucceeds("etcdctl member add node3 https://node3:2380");
- $node3->start();
- $node3->waitForUnit("etcd.service");
- $node3->waitUntilSucceeds("etcdctl member list | grep 'node3'");
- $node3->succeed("etcdctl cluster-health");
- };
-
- subtest "should survive member crash", sub {
- $node3->crash;
- $node1->succeed("etcdctl cluster-health");
- $node1->succeed("etcdctl set /foo/bar 'Hello degraded world'");
- $node1->succeed("etcdctl get /foo/bar | grep 'Hello degraded world'");
- };
+ with subtest("should start etcd cluster"):
+ node1.start()
+ node2.start()
+ node1.wait_for_unit("etcd.service")
+ node2.wait_for_unit("etcd.service")
+ node2.wait_until_succeeds("etcdctl cluster-health")
+ node1.succeed("etcdctl set /foo/bar 'Hello world'")
+ node2.succeed("etcdctl get /foo/bar | grep 'Hello world'")
+
+ with subtest("should add another member"):
+ node1.wait_until_succeeds("etcdctl member add node3 https://node3:2380")
+ node3.start()
+ node3.wait_for_unit("etcd.service")
+ node3.wait_until_succeeds("etcdctl member list | grep 'node3'")
+ node3.succeed("etcdctl cluster-health")
+
+ with subtest("should survive member crash"):
+ node3.crash()
+ node1.succeed("etcdctl cluster-health")
+ node1.succeed("etcdctl set /foo/bar 'Hello degraded world'")
+ node1.succeed("etcdctl get /foo/bar | grep 'Hello degraded world'")
'';
})
diff --git a/nixos/tests/etcd.nix b/nixos/tests/etcd.nix
index 6c23b31779bc5accb95a57cdc77b94129a77e552..8427243438411059b571aa73c2232149cec96109 100644
--- a/nixos/tests/etcd.nix
+++ b/nixos/tests/etcd.nix
@@ -1,6 +1,6 @@
# This test runs simple etcd node
-import ./make-test.nix ({ pkgs, ... } : {
+import ./make-test-python.nix ({ pkgs, ... } : {
name = "etcd";
meta = with pkgs.stdenv.lib.maintainers; {
@@ -14,14 +14,12 @@ import ./make-test.nix ({ pkgs, ... } : {
};
testScript = ''
- subtest "should start etcd node", sub {
- $node->start();
- $node->waitForUnit("etcd.service");
- };
+ with subtest("should start etcd node"):
+ node.start()
+ node.wait_for_unit("etcd.service")
- subtest "should write and read some values to etcd", sub {
- $node->succeed("etcdctl set /foo/bar 'Hello world'");
- $node->succeed("etcdctl get /foo/bar | grep 'Hello world'");
- }
+ with subtest("should write and read some values to etcd"):
+ node.succeed("etcdctl set /foo/bar 'Hello world'")
+ node.succeed("etcdctl get /foo/bar | grep 'Hello world'")
'';
})
diff --git a/nixos/tests/fancontrol.nix b/nixos/tests/fancontrol.nix
index 83ddbb54c5bb74216ad78886ef8680ea66475cd4..356cd57ffa1a352c1032526921f0d93470a64852 100644
--- a/nixos/tests/fancontrol.nix
+++ b/nixos/tests/fancontrol.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, ... } : {
+import ./make-test-python.nix ({ pkgs, ... } : {
name = "fancontrol";
machine =
@@ -19,7 +19,10 @@ import ./make-test.nix ({ pkgs, ... } : {
# This configuration cannot be valid for the test VM, so it's expected to get an 'outdated' error.
testScript = ''
- $machine->waitForUnit("fancontrol.service");
- $machine->waitUntilSucceeds("journalctl -eu fancontrol | grep 'Configuration appears to be outdated'");
+ start_all()
+ machine.wait_for_unit("fancontrol.service")
+ machine.wait_until_succeeds(
+ "journalctl -eu fancontrol | grep 'Configuration appears to be outdated'"
+ )
'';
})
diff --git a/nixos/tests/ferm.nix b/nixos/tests/ferm.nix
index edf9c8036aca4f33a14cf628bf9f20a64db6a587..a73c9ce739cf184692547fdacd1a0bcc6863d849 100644
--- a/nixos/tests/ferm.nix
+++ b/nixos/tests/ferm.nix
@@ -1,5 +1,5 @@
-import ./make-test.nix ({ pkgs, ...} : {
+import ./make-test-python.nix ({ pkgs, ...} : {
name = "ferm";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ mic92 ];
@@ -53,24 +53,22 @@ import ./make-test.nix ({ pkgs, ...} : {
testScript =
''
- startAll;
+ start_all()
- $client->waitForUnit("network-online.target");
- $server->waitForUnit("ferm.service");
- $server->waitForUnit("nginx.service");
- $server->waitUntilSucceeds("ss -ntl | grep -q 80");
+ client.wait_for_unit("network-online.target")
+ server.wait_for_unit("ferm.service")
+ server.wait_for_unit("nginx.service")
+ server.wait_until_succeeds("ss -ntl | grep -q 80")
- subtest "port 80 is allowed", sub {
- $client->succeed("curl --fail -g http://192.168.1.1:80/status");
- $client->succeed("curl --fail -g http://[fd00::1]:80/status");
- };
+ with subtest("port 80 is allowed"):
+ client.succeed("curl --fail -g http://192.168.1.1:80/status")
+ client.succeed("curl --fail -g http://[fd00::1]:80/status")
- subtest "port 8080 is not allowed", sub {
- $server->succeed("curl --fail -g http://192.168.1.1:8080/status");
- $server->succeed("curl --fail -g http://[fd00::1]:8080/status");
+ with subtest("port 8080 is not allowed"):
+ server.succeed("curl --fail -g http://192.168.1.1:8080/status")
+ server.succeed("curl --fail -g http://[fd00::1]:8080/status")
- $client->fail("curl --fail -g http://192.168.1.1:8080/status");
- $client->fail("curl --fail -g http://[fd00::1]:8080/status");
- };
+ client.fail("curl --fail -g http://192.168.1.1:8080/status")
+ client.fail("curl --fail -g http://[fd00::1]:8080/status")
'';
})
diff --git a/nixos/tests/firewall.nix b/nixos/tests/firewall.nix
index fcf758910e00758abca987103289907139ba54ea..09a1fef852e64c1586534ad90a9e5d6d6806dba6 100644
--- a/nixos/tests/firewall.nix
+++ b/nixos/tests/firewall.nix
@@ -1,6 +1,6 @@
# Test the firewall module.
-import ./make-test.nix ( { pkgs, ... } : {
+import ./make-test-python.nix ( { pkgs, ... } : {
name = "firewall";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ eelco ];
@@ -36,30 +36,30 @@ import ./make-test.nix ( { pkgs, ... } : {
testScript = { nodes, ... }: let
newSystem = nodes.walled2.config.system.build.toplevel;
in ''
- $walled->start;
- $attacker->start;
+ start_all()
- $walled->waitForUnit("firewall");
- $walled->waitForUnit("httpd");
- $attacker->waitForUnit("network.target");
+ walled.wait_for_unit("firewall")
+ walled.wait_for_unit("httpd")
+ attacker.wait_for_unit("network.target")
# Local connections should still work.
- $walled->succeed("curl -v http://localhost/ >&2");
+ walled.succeed("curl -v http://localhost/ >&2")
# Connections to the firewalled machine should fail, but ping should succeed.
- $attacker->fail("curl --fail --connect-timeout 2 http://walled/ >&2");
- $attacker->succeed("ping -c 1 walled >&2");
+ attacker.fail("curl --fail --connect-timeout 2 http://walled/ >&2")
+ attacker.succeed("ping -c 1 walled >&2")
# Outgoing connections/pings should still work.
- $walled->succeed("curl -v http://attacker/ >&2");
- $walled->succeed("ping -c 1 attacker >&2");
+ walled.succeed("curl -v http://attacker/ >&2")
+ walled.succeed("ping -c 1 attacker >&2")
# If we stop the firewall, then connections should succeed.
- $walled->stopJob("firewall");
- $attacker->succeed("curl -v http://walled/ >&2");
+ walled.stop_job("firewall")
+ attacker.succeed("curl -v http://walled/ >&2")
# Check whether activation of a new configuration reloads the firewall.
- $walled->succeed("${newSystem}/bin/switch-to-configuration test 2>&1" .
- " | grep -qF firewall.service");
+ walled.succeed(
+ "${newSystem}/bin/switch-to-configuration test 2>&1 | grep -qF firewall.service"
+ )
'';
})
diff --git a/nixos/tests/fish.nix b/nixos/tests/fish.nix
index 97c4e8e37ac182eada3636551258f0fb152a1e1e..68fba428439b6842b3cea6a1899227858bb9b4d2 100644
--- a/nixos/tests/fish.nix
+++ b/nixos/tests/fish.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, ... }: {
+import ./make-test-python.nix ({ pkgs, ... }: {
name = "fish";
machine =
@@ -14,8 +14,11 @@ import ./make-test.nix ({ pkgs, ... }: {
testScript =
''
- $machine->waitForFile("/etc/fish/generated_completions/coreutils.fish");
- $machine->waitForFile("/etc/fish/generated_completions/kill.fish");
- $machine->succeed("fish -ic 'echo \$fish_complete_path' | grep -q '/share/fish/completions /etc/fish/generated_completions /root/.local/share/fish/generated_completions\$'");
+ start_all()
+ machine.wait_for_file("/etc/fish/generated_completions/coreutils.fish")
+ machine.wait_for_file("/etc/fish/generated_completions/kill.fish")
+ machine.succeed(
+ "fish -ic 'echo $fish_complete_path' | grep -q '/share/fish/completions /etc/fish/generated_completions /root/.local/share/fish/generated_completions$'"
+ )
'';
})
diff --git a/nixos/tests/fluentd.nix b/nixos/tests/fluentd.nix
index e5c4c3d2163190cd09e23500fb637fd2af4c23dd..918f2f87db17f639983a40c563eb7ad8765842b7 100644
--- a/nixos/tests/fluentd.nix
+++ b/nixos/tests/fluentd.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, lib, ... }: {
+import ./make-test-python.nix ({ pkgs, lib, ... }: {
name = "fluentd";
machine = { pkgs, ... }: {
@@ -33,14 +33,17 @@ import ./make-test.nix ({ pkgs, lib, ... }: {
inherit testMessage;
});
in ''
- $machine->start;
- $machine->waitForUnit('fluentd.service');
- $machine->waitForOpenPort(9880);
+ machine.start()
+ machine.wait_for_unit("fluentd.service")
+ machine.wait_for_open_port(9880)
- $machine->succeed("curl -fsSL -X POST -H 'Content-type: application/json' -d @${payload} http://localhost:9880/test.tag");
+ machine.succeed(
+ "curl -fsSL -X POST -H 'Content-type: application/json' -d @${payload} http://localhost:9880/test.tag"
+ )
- $machine->succeed("systemctl stop fluentd"); # blocking flush
+ # blocking flush
+ machine.succeed("systemctl stop fluentd")
- $machine->succeed("grep '${testMessage}' /tmp/current-log");
+ machine.succeed("grep '${testMessage}' /tmp/current-log")
'';
})
diff --git a/nixos/tests/gitlab.nix b/nixos/tests/gitlab.nix
index be0b3c8746a994be0037791dc0b2066d317ee8f5..7e4e8bcef92dc6003defc52f40cb65b6a5596f20 100644
--- a/nixos/tests/gitlab.nix
+++ b/nixos/tests/gitlab.nix
@@ -3,7 +3,7 @@
let
initialRootPassword = "notproduction";
in
-import ./make-test.nix ({ pkgs, lib, ...} : with lib; {
+import ./make-test-python.nix ({ pkgs, lib, ...} : with lib; {
name = "gitlab";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ globin ];
@@ -63,21 +63,35 @@ import ./make-test.nix ({ pkgs, lib, ...} : with lib; {
});
in
''
- $gitlab->start();
- $gitlab->waitForUnit("gitaly.service");
- $gitlab->waitForUnit("gitlab-workhorse.service");
- $gitlab->waitForUnit("gitlab.service");
- $gitlab->waitForUnit("gitlab-sidekiq.service");
- $gitlab->waitForFile("/var/gitlab/state/tmp/sockets/gitlab.socket");
- $gitlab->waitUntilSucceeds("curl -sSf http://gitlab/users/sign_in");
- $gitlab->succeed("curl -isSf http://gitlab | grep -i location | grep -q http://gitlab/users/sign_in");
- $gitlab->succeed("${pkgs.sudo}/bin/sudo -u gitlab -H gitlab-rake gitlab:check 1>&2");
- $gitlab->succeed("echo \"Authorization: Bearer \$(curl -X POST -H 'Content-Type: application/json' -d @${auth} http://gitlab/oauth/token | ${pkgs.jq}/bin/jq -r '.access_token')\" >/tmp/headers");
- $gitlab->succeed("curl -X POST -H 'Content-Type: application/json' -H @/tmp/headers -d @${createProject} http://gitlab/api/v4/projects");
- $gitlab->succeed("curl -X POST -H 'Content-Type: application/json' -H @/tmp/headers -d @${putFile} http://gitlab/api/v4/projects/1/repository/files/some-file.txt");
- $gitlab->succeed("curl -H @/tmp/headers http://gitlab/api/v4/projects/1/repository/archive.tar.gz > /tmp/archive.tar.gz");
- $gitlab->succeed("curl -H @/tmp/headers http://gitlab/api/v4/projects/1/repository/archive.tar.bz2 > /tmp/archive.tar.bz2");
- $gitlab->succeed("test -s /tmp/archive.tar.gz");
- $gitlab->succeed("test -s /tmp/archive.tar.bz2");
+ gitlab.start()
+ gitlab.wait_for_unit("gitaly.service")
+ gitlab.wait_for_unit("gitlab-workhorse.service")
+ gitlab.wait_for_unit("gitlab.service")
+ gitlab.wait_for_unit("gitlab-sidekiq.service")
+ gitlab.wait_for_file("/var/gitlab/state/tmp/sockets/gitlab.socket")
+ gitlab.wait_until_succeeds("curl -sSf http://gitlab/users/sign_in")
+ gitlab.succeed(
+ "curl -isSf http://gitlab | grep -i location | grep -q http://gitlab/users/sign_in"
+ )
+ gitlab.succeed(
+ "${pkgs.sudo}/bin/sudo -u gitlab -H gitlab-rake gitlab:check 1>&2"
+ )
+ gitlab.succeed(
+ "echo \"Authorization: Bearer \$(curl -X POST -H 'Content-Type: application/json' -d @${auth} http://gitlab/oauth/token | ${pkgs.jq}/bin/jq -r '.access_token')\" >/tmp/headers"
+ )
+ gitlab.succeed(
+ "curl -X POST -H 'Content-Type: application/json' -H @/tmp/headers -d @${createProject} http://gitlab/api/v4/projects"
+ )
+ gitlab.succeed(
+ "curl -X POST -H 'Content-Type: application/json' -H @/tmp/headers -d @${putFile} http://gitlab/api/v4/projects/1/repository/files/some-file.txt"
+ )
+ gitlab.succeed(
+ "curl -H @/tmp/headers http://gitlab/api/v4/projects/1/repository/archive.tar.gz > /tmp/archive.tar.gz"
+ )
+ gitlab.succeed(
+ "curl -H @/tmp/headers http://gitlab/api/v4/projects/1/repository/archive.tar.bz2 > /tmp/archive.tar.bz2"
+ )
+ gitlab.succeed("test -s /tmp/archive.tar.gz")
+ gitlab.succeed("test -s /tmp/archive.tar.bz2")
'';
})
diff --git a/nixos/tests/gitolite.nix b/nixos/tests/gitolite.nix
index 690e456ed7c86e561312a79dee65038b19410a62..a928645bd80f8337dfefe0a31bff9e46f0c49701 100644
--- a/nixos/tests/gitolite.nix
+++ b/nixos/tests/gitolite.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, ...}:
+import ./make-test-python.nix ({ pkgs, ...}:
let
adminPrivateKey = pkgs.writeText "id_ed25519" ''
@@ -43,7 +43,7 @@ let
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJZNonUP1ePHLrvn0W9D2hdN6zWWZYFyJc+QR6pOKQEw bob@client
'';
- gitoliteAdminConfSnippet = ''
+ gitoliteAdminConfSnippet = pkgs.writeText "gitolite-admin-conf-snippet" ''
repo alice-project
RW+ = alice
'';
@@ -85,55 +85,54 @@ in
};
testScript = ''
- startAll;
-
- subtest "can setup ssh keys on system", sub {
- $client->mustSucceed("mkdir -p ~root/.ssh");
- $client->mustSucceed("cp ${adminPrivateKey} ~root/.ssh/id_ed25519");
- $client->mustSucceed("chmod 600 ~root/.ssh/id_ed25519");
-
- $client->mustSucceed("sudo -u alice mkdir -p ~alice/.ssh");
- $client->mustSucceed("sudo -u alice cp ${alicePrivateKey} ~alice/.ssh/id_ed25519");
- $client->mustSucceed("sudo -u alice chmod 600 ~alice/.ssh/id_ed25519");
-
- $client->mustSucceed("sudo -u bob mkdir -p ~bob/.ssh");
- $client->mustSucceed("sudo -u bob cp ${bobPrivateKey} ~bob/.ssh/id_ed25519");
- $client->mustSucceed("sudo -u bob chmod 600 ~bob/.ssh/id_ed25519");
- };
-
- subtest "gitolite server starts", sub {
- $server->waitForUnit("gitolite-init.service");
- $server->waitForUnit("sshd.service");
- $client->mustSucceed('ssh gitolite@server info');
- };
-
- subtest "admin can clone and configure gitolite-admin.git", sub {
- $client->mustSucceed('git clone gitolite@server:gitolite-admin.git');
- $client->mustSucceed("git config --global user.name 'System Administrator'");
- $client->mustSucceed("git config --global user.email root\@domain.example");
- $client->mustSucceed("cp ${alicePublicKey} gitolite-admin/keydir/alice.pub");
- $client->mustSucceed("cp ${bobPublicKey} gitolite-admin/keydir/bob.pub");
- $client->mustSucceed('(cd gitolite-admin && git add . && git commit -m "Add keys for alice, bob" && git push)');
- $client->mustSucceed("printf '${gitoliteAdminConfSnippet}' >> gitolite-admin/conf/gitolite.conf");
- $client->mustSucceed('(cd gitolite-admin && git add . && git commit -m "Add repo for alice" && git push)');
- };
-
- subtest "non-admins cannot clone gitolite-admin.git", sub {
- $client->mustFail('sudo -i -u alice git clone gitolite@server:gitolite-admin.git');
- $client->mustFail('sudo -i -u bob git clone gitolite@server:gitolite-admin.git');
- };
-
- subtest "non-admins can clone testing.git", sub {
- $client->mustSucceed('sudo -i -u alice git clone gitolite@server:testing.git');
- $client->mustSucceed('sudo -i -u bob git clone gitolite@server:testing.git');
- };
-
- subtest "alice can clone alice-project.git", sub {
- $client->mustSucceed('sudo -i -u alice git clone gitolite@server:alice-project.git');
- };
-
- subtest "bob cannot clone alice-project.git", sub {
- $client->mustFail('sudo -i -u bob git clone gitolite@server:alice-project.git');
- };
+ start_all()
+
+ with subtest("can setup ssh keys on system"):
+ client.succeed(
+ "mkdir -p ~root/.ssh",
+ "cp ${adminPrivateKey} ~root/.ssh/id_ed25519",
+ "chmod 600 ~root/.ssh/id_ed25519",
+ )
+ client.succeed(
+ "sudo -u alice mkdir -p ~alice/.ssh",
+ "sudo -u alice cp ${alicePrivateKey} ~alice/.ssh/id_ed25519",
+ "sudo -u alice chmod 600 ~alice/.ssh/id_ed25519",
+ )
+ client.succeed(
+ "sudo -u bob mkdir -p ~bob/.ssh",
+ "sudo -u bob cp ${bobPrivateKey} ~bob/.ssh/id_ed25519",
+ "sudo -u bob chmod 600 ~bob/.ssh/id_ed25519",
+ )
+
+ with subtest("gitolite server starts"):
+ server.wait_for_unit("gitolite-init.service")
+ server.wait_for_unit("sshd.service")
+ client.succeed("ssh gitolite@server info")
+
+ with subtest("admin can clone and configure gitolite-admin.git"):
+ client.succeed(
+ "git clone gitolite@server:gitolite-admin.git",
+ "git config --global user.name 'System Administrator'",
+ "git config --global user.email root\@domain.example",
+ "cp ${alicePublicKey} gitolite-admin/keydir/alice.pub",
+ "cp ${bobPublicKey} gitolite-admin/keydir/bob.pub",
+ "(cd gitolite-admin && git add . && git commit -m 'Add keys for alice, bob' && git push)",
+ "cat ${gitoliteAdminConfSnippet} >> gitolite-admin/conf/gitolite.conf",
+ "(cd gitolite-admin && git add . && git commit -m 'Add repo for alice' && git push)",
+ )
+
+ with subtest("non-admins cannot clone gitolite-admin.git"):
+ client.fail("sudo -i -u alice git clone gitolite@server:gitolite-admin.git")
+ client.fail("sudo -i -u bob git clone gitolite@server:gitolite-admin.git")
+
+ with subtest("non-admins can clone testing.git"):
+ client.succeed("sudo -i -u alice git clone gitolite@server:testing.git")
+ client.succeed("sudo -i -u bob git clone gitolite@server:testing.git")
+
+ with subtest("alice can clone alice-project.git"):
+ client.succeed("sudo -i -u alice git clone gitolite@server:alice-project.git")
+
+ with subtest("bob cannot clone alice-project.git"):
+ client.fail("sudo -i -u bob git clone gitolite@server:alice-project.git")
'';
})
diff --git a/nixos/tests/glusterfs.nix b/nixos/tests/glusterfs.nix
index 9fd8bd2ed1294b72cd7b315d273e8c3dd572cb37..8f9cb8973d51e4f4001a4724432f07c9767caf74 100644
--- a/nixos/tests/glusterfs.nix
+++ b/nixos/tests/glusterfs.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ ... } :
+import ./make-test-python.nix ({pkgs, lib, ...}:
let
client = { pkgs, ... } : {
@@ -39,27 +39,29 @@ in {
};
testScript = ''
- $server1->waitForUnit("glusterd.service");
- $server2->waitForUnit("glusterd.service");
+ server1.wait_for_unit("glusterd.service")
+ server2.wait_for_unit("glusterd.service")
+
+ server1.wait_until_succeeds("gluster peer status")
+ server2.wait_until_succeeds("gluster peer status")
# establish initial contact
- $server1->succeed("sleep 2");
- $server1->succeed("gluster peer probe server2");
- $server1->succeed("gluster peer probe server1");
+ server1.succeed("gluster peer probe server2")
+ server1.succeed("gluster peer probe server1")
- $server1->succeed("gluster peer status | grep Connected");
+ server1.succeed("gluster peer status | grep Connected")
# create volumes
- $server1->succeed("mkdir -p /data/vg0");
- $server2->succeed("mkdir -p /data/vg0");
- $server1->succeed("gluster volume create gv0 server1:/data/vg0 server2:/data/vg0");
- $server1->succeed("gluster volume start gv0");
+ server1.succeed("mkdir -p /data/vg0")
+ server2.succeed("mkdir -p /data/vg0")
+ server1.succeed("gluster volume create gv0 server1:/data/vg0 server2:/data/vg0")
+ server1.succeed("gluster volume start gv0")
# test clients
- $client1->waitForUnit("gluster.mount");
- $client2->waitForUnit("gluster.mount");
+ client1.wait_for_unit("gluster.mount")
+ client2.wait_for_unit("gluster.mount")
- $client1->succeed("echo test > /gluster/file1");
- $client2->succeed("grep test /gluster/file1");
+ client1.succeed("echo test > /gluster/file1")
+ client2.succeed("grep test /gluster/file1")
'';
})
diff --git a/nixos/tests/google-oslogin/default.nix b/nixos/tests/google-oslogin/default.nix
index 3b84bba3f985452f8d94da59582ad9499ac1bd7d..1977e92e98777fdbadca06dac0cd691ba46b02d4 100644
--- a/nixos/tests/google-oslogin/default.nix
+++ b/nixos/tests/google-oslogin/default.nix
@@ -1,7 +1,14 @@
-import ../make-test.nix ({ pkgs, ... } :
+import ../make-test-python.nix ({ pkgs, ... } :
let
inherit (import ./../ssh-keys.nix pkgs)
snakeOilPrivateKey snakeOilPublicKey;
+
+ # don't check host keys or known hosts, use the snakeoil ssh key
+ ssh-config = builtins.toFile "ssh.conf" ''
+ UserKnownHostsFile=/dev/null
+ StrictHostKeyChecking=no
+ IdentityFile=~/.ssh/id_snakeoil
+ '';
in {
name = "google-oslogin";
meta = with pkgs.stdenv.lib.maintainers; {
@@ -15,38 +22,49 @@ in {
client = { ... }: {};
};
testScript = ''
- startAll;
+ start_all()
- $server->waitForUnit("mock-google-metadata.service");
- $server->waitForOpenPort(80);
+ server.wait_for_unit("mock-google-metadata.service")
+ server.wait_for_open_port(80)
# mockserver should return a non-expired ssh key for both mockuser and mockadmin
- $server->succeed('${pkgs.google-compute-engine-oslogin}/bin/google_authorized_keys mockuser | grep -q "${snakeOilPublicKey}"');
- $server->succeed('${pkgs.google-compute-engine-oslogin}/bin/google_authorized_keys mockadmin | grep -q "${snakeOilPublicKey}"');
+ server.succeed(
+ '${pkgs.google-compute-engine-oslogin}/bin/google_authorized_keys mockuser | grep -q "${snakeOilPublicKey}"'
+ )
+ server.succeed(
+ '${pkgs.google-compute-engine-oslogin}/bin/google_authorized_keys mockadmin | grep -q "${snakeOilPublicKey}"'
+ )
- # install snakeoil ssh key on the client
- $client->succeed("mkdir -p ~/.ssh");
- $client->succeed("cat ${snakeOilPrivateKey} > ~/.ssh/id_snakeoil");
- $client->succeed("chmod 600 ~/.ssh/id_snakeoil");
+ # install snakeoil ssh key on the client, and provision .ssh/config file
+ client.succeed("mkdir -p ~/.ssh")
+ client.succeed(
+ "cat ${snakeOilPrivateKey} > ~/.ssh/id_snakeoil"
+ )
+ client.succeed("chmod 600 ~/.ssh/id_snakeoil")
+ client.succeed("cp ${ssh-config} ~/.ssh/config")
- $client->waitForUnit("network.target");
- $server->waitForUnit("sshd.service");
+ client.wait_for_unit("network.target")
+ server.wait_for_unit("sshd.service")
# we should not be able to connect as non-existing user
- $client->fail("ssh -o User=ghost -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no server -i ~/.ssh/id_snakeoil 'true'");
+ client.fail("ssh ghost@server 'true'")
# we should be able to connect as mockuser
- $client->succeed("ssh -o User=mockuser -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no server -i ~/.ssh/id_snakeoil 'true'");
+ client.succeed("ssh mockuser@server 'true'")
# but we shouldn't be able to sudo
- $client->fail("ssh -o User=mockuser -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no server -i ~/.ssh/id_snakeoil '/run/wrappers/bin/sudo /run/current-system/sw/bin/id' | grep -q 'root'");
+ client.fail(
+ "ssh mockuser@server '/run/wrappers/bin/sudo /run/current-system/sw/bin/id' | grep -q 'root'"
+ )
# we should also be able to log in as mockadmin
- $client->succeed("ssh -o User=mockadmin -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no server -i ~/.ssh/id_snakeoil 'true'");
+ client.succeed("ssh mockadmin@server 'true'")
# pam_oslogin_admin.so should now have generated a sudoers file
- $server->succeed("find /run/google-sudoers.d | grep -q '/run/google-sudoers.d/mockadmin'");
+ server.succeed("find /run/google-sudoers.d | grep -q '/run/google-sudoers.d/mockadmin'")
# and we should be able to sudo
- $client->succeed("ssh -o User=mockadmin -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no server -i ~/.ssh/id_snakeoil '/run/wrappers/bin/sudo /run/current-system/sw/bin/id' | grep -q 'root'");
+ client.succeed(
+ "ssh mockadmin@server '/run/wrappers/bin/sudo /run/current-system/sw/bin/id' | grep -q 'root'"
+ )
'';
})
diff --git a/nixos/tests/gotify-server.nix b/nixos/tests/gotify-server.nix
index 0ffc3138d5a1dcb3510a0092cedd127df681a06b..c6e00686aed98ea9012634fed7b5c1c1cec83104 100644
--- a/nixos/tests/gotify-server.nix
+++ b/nixos/tests/gotify-server.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, lib, ...} : {
+import ./make-test-python.nix ({ pkgs, lib, ...} : {
name = "gotify-server";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ ma27 ];
@@ -14,32 +14,32 @@ import ./make-test.nix ({ pkgs, lib, ...} : {
};
testScript = ''
- startAll;
+ machine.start()
- $machine->waitForUnit("gotify-server");
- $machine->waitForOpenPort(3000);
+ machine.wait_for_unit("gotify-server.service")
+ machine.wait_for_open_port(3000)
- my $token = $machine->succeed(
- "curl --fail -sS -X POST localhost:3000/application -F name=nixos " .
- '-H "Authorization: Basic $(echo -ne "admin:admin" | base64 --wrap 0)" ' .
- '| jq .token | xargs echo -n'
- );
+ token = machine.succeed(
+ "curl --fail -sS -X POST localhost:3000/application -F name=nixos "
+ + '-H "Authorization: Basic $(echo -ne "admin:admin" | base64 --wrap 0)" '
+ + "| jq .token | xargs echo -n"
+ )
- my $usertoken = $machine->succeed(
- "curl --fail -sS -X POST localhost:3000/client -F name=nixos " .
- '-H "Authorization: Basic $(echo -ne "admin:admin" | base64 --wrap 0)" ' .
- '| jq .token | xargs echo -n'
- );
+ usertoken = machine.succeed(
+ "curl --fail -sS -X POST localhost:3000/client -F name=nixos "
+ + '-H "Authorization: Basic $(echo -ne "admin:admin" | base64 --wrap 0)" '
+ + "| jq .token | xargs echo -n"
+ )
- $machine->succeed(
- "curl --fail -sS -X POST 'localhost:3000/message?token=$token' -H 'Accept: application/json' " .
- '-F title=Gotify -F message=Works'
- );
+ machine.succeed(
+ f"curl --fail -sS -X POST 'localhost:3000/message?token={token}' -H 'Accept: application/json' "
+ + "-F title=Gotify -F message=Works"
+ )
- my $title = $machine->succeed(
- "curl --fail -sS 'localhost:3000/message?since=0&token=$usertoken' | jq '.messages|.[0]|.title' | xargs echo -n"
- );
+ title = machine.succeed(
+ f"curl --fail -sS 'localhost:3000/message?since=0&token={usertoken}' | jq '.messages|.[0]|.title' | xargs echo -n"
+ )
- $title eq "Gotify" or die "Wrong title ($title), expected 'Gotify'!";
+ assert title == "Gotify"
'';
})
diff --git a/nixos/tests/graylog.nix b/nixos/tests/graylog.nix
index dc54afd1d26d7d6a944e430e06af48960f22a878..2d22012fa7c01fdff5763a812d16627d9e25dbfe 100644
--- a/nixos/tests/graylog.nix
+++ b/nixos/tests/graylog.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, lib, ... }: {
+import ./make-test-python.nix ({ pkgs, lib, ... }: {
name = "graylog";
meta.maintainers = with lib.maintainers; [ ma27 ];
@@ -64,48 +64,52 @@ import ./make-test.nix ({ pkgs, lib, ... }: {
facility = "Test";
});
in ''
- $machine->start;
- $machine->waitForUnit("graylog.service");
- $machine->waitForOpenPort(9000);
- $machine->succeed("curl -sSfL http://127.0.0.1:9000/");
+ machine.start()
+ machine.wait_for_unit("graylog.service")
+ machine.wait_for_open_port(9000)
+ machine.succeed("curl -sSfL http://127.0.0.1:9000/")
- my $session = $machine->succeed("curl -X POST "
- . "-sSfL http://127.0.0.1:9000/api/system/sessions "
- . "-d \$(cat ${payloads.login}) "
- . "-H 'Content-Type: application/json' "
- . "-H 'Accept: application/json' "
- . "-H 'x-requested-by: cli' "
- . "| jq .session_id | xargs echo"
- );
+ session = machine.succeed(
+ "curl -X POST "
+ + "-sSfL http://127.0.0.1:9000/api/system/sessions "
+ + "-d $(cat ${payloads.login}) "
+ + "-H 'Content-Type: application/json' "
+ + "-H 'Accept: application/json' "
+ + "-H 'x-requested-by: cli' "
+ + "| jq .session_id | xargs echo"
+ ).rstrip()
- chomp($session);
+ machine.succeed(
+ "curl -X POST "
+ + f"-sSfL http://127.0.0.1:9000/api/system/inputs -u {session}:session "
+ + '-d $(cat ${payloads.input} | sed -e "s,@node@,$(cat /var/lib/graylog/server/node-id),") '
+ + "-H 'Accept: application/json' "
+ + "-H 'Content-Type: application/json' "
+ + "-H 'x-requested-by: cli' "
+ )
- $machine->succeed("curl -X POST "
- . "-sSfL http://127.0.0.1:9000/api/system/inputs -u $session:session "
- . "-d \$(cat ${payloads.input} | sed -e \"s,\@node\@,\$(cat /var/lib/graylog/server/node-id),\") "
- . "-H 'Accept: application/json' "
- . "-H 'Content-Type: application/json' "
- . "-H 'x-requested-by: cli' "
- );
+ machine.wait_until_succeeds(
+ "test \"$(curl -sSfL 'http://127.0.0.1:9000/api/cluster/inputstates' "
+ + f"-u {session}:session "
+ + "-H 'Accept: application/json' "
+ + "-H 'Content-Type: application/json' "
+ + "-H 'x-requested-by: cli'"
+ + "| jq 'to_entries[]|.value|.[0]|.state' | xargs echo"
+ + ')" = "RUNNING"'
+ )
- $machine->waitUntilSucceeds("test \"\$(curl -sSfL 'http://127.0.0.1:9000/api/cluster/inputstates' "
- . "-u $session:session "
- . "-H 'Accept: application/json' "
- . "-H 'Content-Type: application/json' "
- . "-H 'x-requested-by: cli'"
- . "| jq 'to_entries[]|.value|.[0]|.state' | xargs echo"
- . ")\" = \"RUNNING\""
- );
+ machine.succeed(
+ "echo -n $(cat ${payloads.gelf_message}) | nc -w10 -u 127.0.0.1 12201"
+ )
- $machine->succeed("echo -n \$(cat ${payloads.gelf_message}) | nc -w10 -u 127.0.0.1 12201");
-
- $machine->succeed("test \"\$(curl -X GET "
- . "-sSfL 'http://127.0.0.1:9000/api/search/universal/relative?query=*' "
- . "-u $session:session "
- . "-H 'Accept: application/json' "
- . "-H 'Content-Type: application/json' "
- . "-H 'x-requested-by: cli'"
- . " | jq '.total_results' | xargs echo)\" = \"1\""
- );
+ machine.succeed(
+ 'test "$(curl -X GET '
+ + "-sSfL 'http://127.0.0.1:9000/api/search/universal/relative?query=*' "
+ + f"-u {session}:session "
+ + "-H 'Accept: application/json' "
+ + "-H 'Content-Type: application/json' "
+ + "-H 'x-requested-by: cli'"
+ + ' | jq \'.total_results\' | xargs echo)" = "1"'
+ )
'';
})
diff --git a/nixos/tests/handbrake.nix b/nixos/tests/handbrake.nix
index ae87e1f69a7d3316c7fa60aef63c43b050f2e0e3..e5fb6b269b19721cd6c2d3e59343d5541020e522 100644
--- a/nixos/tests/handbrake.nix
+++ b/nixos/tests/handbrake.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, ... }:
+import ./make-test-python.nix ({ pkgs, ... }:
let
# Download Big Buck Bunny example, licensed under CC Attribution 3.0.
testMkv = pkgs.fetchurl {
@@ -19,7 +19,13 @@ in {
testScript = ''
# Test MP4 and MKV transcoding. Since this is a short clip, transcoding typically
# only takes a few seconds.
- $machine->succeed("HandBrakeCLI -i ${testMkv} -o test.mp4 -e x264 -q 20 -B 160");
- $machine->succeed("HandBrakeCLI -i ${testMkv} -o test.mkv -e x264 -q 20 -B 160");
+ start_all()
+
+ machine.succeed(
+ "HandBrakeCLI -i ${testMkv} -o test.mp4 -e x264 -q 20 -B 160"
+ )
+ machine.succeed(
+ "HandBrakeCLI -i ${testMkv} -o test.mkv -e x264 -q 20 -B 160"
+ )
'';
})
diff --git a/nixos/tests/hibernate.nix b/nixos/tests/hibernate.nix
index 274aa7becc8259aee201bcc0f1cdf1e987da19d8..8251c6e7ef85e9b6b34ca04bb1a8b5ba040c19f3 100644
--- a/nixos/tests/hibernate.nix
+++ b/nixos/tests/hibernate.nix
@@ -1,6 +1,6 @@
# Test whether hibernation from partition works.
-import ./make-test.nix (pkgs: {
+import ./make-test-python.nix (pkgs: {
name = "hibernate";
nodes = {
@@ -28,16 +28,17 @@ import ./make-test.nix (pkgs: {
testScript =
''
- $machine->waitForUnit("multi-user.target");
- $machine->succeed("mkswap /dev/vdb");
- $machine->succeed("swapon -a");
- $machine->startJob("listener");
- $machine->waitForOpenPort(4444);
- $machine->succeed("systemctl hibernate &");
- $machine->waitForShutdown;
- $probe->waitForUnit("multi-user.target");
- $machine->start;
- $probe->waitUntilSucceeds("echo test | nc machine 4444 -N");
+ machine.start()
+ machine.wait_for_unit("multi-user.target")
+ machine.succeed("mkswap /dev/vdb")
+ machine.succeed("swapon -a")
+ machine.start_job("listener")
+ machine.wait_for_open_port(4444)
+ machine.succeed("systemctl hibernate &")
+ machine.wait_for_shutdown()
+ probe.wait_for_unit("multi-user.target")
+ machine.start()
+ probe.wait_until_succeeds("echo test | nc machine 4444 -N")
'';
})
diff --git a/nixos/tests/hound.nix b/nixos/tests/hound.nix
index cb8e25332c076e1de98ed8eb4499e2984cdb245f..27c65abdf27c32c50c34e0387d88be5af3c75ac9 100644
--- a/nixos/tests/hound.nix
+++ b/nixos/tests/hound.nix
@@ -1,5 +1,5 @@
# Test whether `houndd` indexes nixpkgs
-import ./make-test.nix ({ pkgs, ... } : {
+import ./make-test-python.nix ({ pkgs, ... } : {
name = "hound";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ grahamc ];
@@ -46,13 +46,14 @@ import ./make-test.nix ({ pkgs, ... } : {
};
};
- testScript =
- '' startAll;
+ testScript = ''
+ start_all()
- $machine->waitForUnit("network.target");
- $machine->waitForUnit("hound.service");
- $machine->waitForOpenPort(6080);
- $machine->waitUntilSucceeds('curl http://127.0.0.1:6080/api/v1/search\?stats\=fosho\&repos\=\*\&rng=%3A20\&q\=hi\&files\=\&i=nope | grep "Filename" | grep "hello"');
-
- '';
+ machine.wait_for_unit("network.target")
+ machine.wait_for_unit("hound.service")
+ machine.wait_for_open_port(6080)
+ machine.wait_until_succeeds(
+ "curl http://127.0.0.1:6080/api/v1/search\?stats\=fosho\&repos\=\*\&rng=%3A20\&q\=hi\&files\=\&i=nope | grep 'Filename' | grep 'hello'"
+ )
+ '';
})
diff --git a/nixos/tests/icingaweb2.nix b/nixos/tests/icingaweb2.nix
index ea1b94c526b13fec594384ba8de4e5742d126665..2f65604539c111160d24d3048abaa1b51f0f78b4 100644
--- a/nixos/tests/icingaweb2.nix
+++ b/nixos/tests/icingaweb2.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, ... }: {
+import ./make-test-python.nix ({ pkgs, ... }: {
name = "icingaweb2";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ das_j ];
@@ -64,8 +64,8 @@ import ./make-test.nix ({ pkgs, ... }: {
};
testScript = ''
- startAll();
- $icingaweb2->waitForUnit("multi-user.target");
- $icingaweb2->succeed("curl -sSf http://icingaweb2/authentication/login");
+ start_all()
+ icingaweb2.wait_for_unit("multi-user.target")
+ icingaweb2.succeed("curl -sSf http://icingaweb2/authentication/login")
'';
})
diff --git a/nixos/tests/iftop.nix b/nixos/tests/iftop.nix
index a4f524ceb27bf9de647e03f4fe3881a746def966..8a161027c2ad7646f16194040c24407a525ee7e6 100644
--- a/nixos/tests/iftop.nix
+++ b/nixos/tests/iftop.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, lib, ... }:
+import ./make-test-python.nix ({ pkgs, lib, ... }:
with lib;
@@ -18,17 +18,16 @@ with lib;
};
testScript = ''
- subtest "machine with iftop enabled", sub {
- $withIftop->waitForUnit("default.target");
- # limit to eth1 (eth0 is the test driver's control interface)
- # and don't try name lookups
- $withIftop->succeed("su -l alice -c 'iftop -t -s 1 -n -i eth1'");
- };
- subtest "machine without iftop", sub {
- $withoutIftop->waitForUnit("default.target");
- # check that iftop is there but user alice lacks capabilities
- $withoutIftop->succeed("iftop -t -s 1 -n -i eth1");
- $withoutIftop->fail("su -l alice -c 'iftop -t -s 1 -n -i eth1'");
- };
+ with subtest("machine with iftop enabled"):
+ withIftop.wait_for_unit("default.target")
+ # limit to eth1 (eth0 is the test driver's control interface)
+ # and don't try name lookups
+ withIftop.succeed("su -l alice -c 'iftop -t -s 1 -n -i eth1'")
+
+ with subtest("machine without iftop"):
+ withoutIftop.wait_for_unit("default.target")
+ # check that iftop is there but user alice lacks capabilitie
+ withoutIftop.succeed("iftop -t -s 1 -n -i eth1")
+ withoutIftop.fail("su -l alice -c 'iftop -t -s 1 -n -i eth1'")
'';
})
diff --git a/nixos/tests/incron.nix b/nixos/tests/incron.nix
index e39bbb5f096be190f1e9ebee50bdb91e69b64ce4..b22ee4c9a037ada7e98864d4a5ad7013bde9eb96 100644
--- a/nixos/tests/incron.nix
+++ b/nixos/tests/incron.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, lib, ... }:
+import ./make-test-python.nix ({ pkgs, lib, ... }:
{
name = "incron";
@@ -19,34 +19,34 @@ import ./make-test.nix ({ pkgs, lib, ... }:
};
testScript = ''
- startAll;
+ start_all()
- $machine->waitForUnit("multi-user.target");
- $machine->waitForUnit("incron.service");
+ machine.wait_for_unit("multi-user.target")
+ machine.wait_for_unit("incron.service")
- $machine->succeed("test -d /test");
+ machine.succeed("test -d /test")
# create some activity for incron to monitor
- $machine->succeed("touch /test/file");
- $machine->succeed("echo foo >> /test/file");
- $machine->succeed("mv /test/file /root");
- $machine->succeed("mv /root/file /test");
+ machine.succeed("touch /test/file")
+ machine.succeed("echo foo >> /test/file")
+ machine.succeed("mv /test/file /root")
+ machine.succeed("mv /root/file /test")
- $machine->sleep(1);
+ machine.sleep(1)
# touch /test/file
- $machine->succeed("grep '/test/file IN_CREATE' /root/incron.log");
+ machine.succeed("grep '/test/file IN_CREATE' /root/incron.log")
# echo foo >> /test/file
- $machine->succeed("grep '/test/file IN_MODIFY' /root/incron.log");
- $machine->succeed("grep '/test/file IN_CLOSE_WRITE' /root/incron.log");
+ machine.succeed("grep '/test/file IN_MODIFY' /root/incron.log")
+ machine.succeed("grep '/test/file IN_CLOSE_WRITE' /root/incron.log")
# mv /test/file /root
- $machine->succeed("grep '/test/file IN_MOVED_FROM' /root/incron.log");
+ machine.succeed("grep '/test/file IN_MOVED_FROM' /root/incron.log")
# mv /root/file /test
- $machine->succeed("grep '/test/file IN_MOVED_TO' /root/incron.log");
+ machine.succeed("grep '/test/file IN_MOVED_TO' /root/incron.log")
# ensure something unexpected is not present
- $machine->fail("grep 'IN_OPEN' /root/incron.log");
+ machine.fail("grep 'IN_OPEN' /root/incron.log")
'';
})
diff --git a/nixos/tests/influxdb.nix b/nixos/tests/influxdb.nix
index 61201202204b6f826aa61cc194d493c948444c76..04ef80461010b22f2ee0e2ae23b660bb1a48b9b4 100644
--- a/nixos/tests/influxdb.nix
+++ b/nixos/tests/influxdb.nix
@@ -1,6 +1,6 @@
# This test runs influxdb and checks if influxdb is up and running
-import ./make-test.nix ({ pkgs, ...} : {
+import ./make-test-python.nix ({ pkgs, ...} : {
name = "influxdb";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ offline ];
@@ -9,25 +9,32 @@ import ./make-test.nix ({ pkgs, ...} : {
nodes = {
one = { ... }: {
services.influxdb.enable = true;
+ environment.systemPackages = [ pkgs.httpie ];
};
};
testScript = ''
- startAll;
-
- $one->waitForUnit("influxdb.service");
+ import shlex
+
+ start_all()
+
+ one.wait_for_unit("influxdb.service")
# create database
- $one->succeed(q~
- curl -XPOST http://localhost:8086/query --data-urlencode "q=CREATE DATABASE test"
- ~);
+ one.succeed(
+ "curl -XPOST http://localhost:8086/query --data-urlencode 'q=CREATE DATABASE test'"
+ )
# write some points and run simple query
- $one->succeed(q~
- curl -XPOST 'http://localhost:8086/write?db=test' --data-binary 'cpu_load_short,host=server01,region=us-west value=0.64 1434055562000000000'
- ~);
- $one->succeed(q~
- curl -GET 'http://localhost:8086/query' --data-urlencode "db=test" --data-urlencode "q=SELECT \"value\" FROM \"cpu_load_short\" WHERE \"region\"='us-west'" | grep "0\.64"
- ~);
+ out = one.succeed(
+ "curl -XPOST 'http://localhost:8086/write?db=test' --data-binary 'cpu_load_short,host=server01,region=us-west value=0.64 1434055562000000000'"
+ )
+
+ qv = "SELECT value FROM cpu_load_short WHERE region='us-west'"
+ cmd = f'curl -GET "http://localhost:8086/query?db=test" --data-urlencode {shlex.quote("q="+ qv)}'
+ out = one.succeed(cmd)
+
+ assert "2015-06-11T20:46:02Z" in out
+ assert "0.64" in out
'';
})
diff --git a/nixos/tests/jackett.nix b/nixos/tests/jackett.nix
index c749c32ad04e19b1e8c41a6d5a9c3adc925ec3ab..0a706c99b999d98a8a635841fef70cd97259631c 100644
--- a/nixos/tests/jackett.nix
+++ b/nixos/tests/jackett.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ lib, ... }:
+import ./make-test-python.nix ({ lib, ... }:
with lib;
@@ -11,8 +11,9 @@ with lib;
{ services.jackett.enable = true; };
testScript = ''
- $machine->waitForUnit('jackett.service');
- $machine->waitForOpenPort('9117');
- $machine->succeed("curl --fail http://localhost:9117/");
+ machine.start()
+ machine.wait_for_unit("jackett.service")
+ machine.wait_for_open_port(9117)
+ machine.succeed("curl --fail http://localhost:9117/")
'';
})
diff --git a/nixos/tests/jenkins.nix b/nixos/tests/jenkins.nix
index a6eec411ff28df9ab60516ea3879389835024ced..cd64ff5128788d88a4053450c4a054dce3781180 100644
--- a/nixos/tests/jenkins.nix
+++ b/nixos/tests/jenkins.nix
@@ -3,7 +3,7 @@
# 2. jenkins user can be extended on both master and slave
# 3. jenkins service not started on slave node
-import ./make-test.nix ({ pkgs, ...} : {
+import ./make-test-python.nix ({ pkgs, ...} : {
name = "jenkins";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ bjornfor coconnor domenkozar eelco ];
@@ -33,18 +33,17 @@ import ./make-test.nix ({ pkgs, ...} : {
};
testScript = ''
- startAll;
+ start_all()
- $master->waitForUnit("jenkins");
+ master.wait_for_unit("jenkins")
- $master->mustSucceed("curl http://localhost:8080 | grep 'Authentication required'");
+ assert "Authentication required" in master.succeed("curl http://localhost:8080")
- print $master->execute("sudo -u jenkins groups");
- $master->mustSucceed("sudo -u jenkins groups | grep jenkins | grep users");
+ for host in master, slave:
+ groups = host.succeed("sudo -u jenkins groups")
+ assert "jenkins" in groups
+ assert "users" in groups
- print $slave->execute("sudo -u jenkins groups");
- $slave->mustSucceed("sudo -u jenkins groups | grep jenkins | grep users");
-
- $slave->mustFail("systemctl is-enabled jenkins.service");
+ slave.fail("systemctl is-enabled jenkins.service")
'';
})
diff --git a/nixos/tests/kerberos/heimdal.nix b/nixos/tests/kerberos/heimdal.nix
index a0551b131e9144d37a90d72359908f0b01f2c66e..8abae667d043f38ace306ca5f743074d186e671b 100644
--- a/nixos/tests/kerberos/heimdal.nix
+++ b/nixos/tests/kerberos/heimdal.nix
@@ -1,4 +1,4 @@
-import ../make-test.nix ({pkgs, ...}: {
+import ../make-test-python.nix ({pkgs, ...}: {
name = "kerberos_server-heimdal";
machine = { config, libs, pkgs, ...}:
{ services.kerberos_server =
@@ -23,31 +23,20 @@ import ../make-test.nix ({pkgs, ...}: {
};
testScript = ''
- $machine->start;
+ machine.succeed(
+ "kadmin -l init --realm-max-ticket-life='8 day' --realm-max-renewable-life='10 day' FOO.BAR",
+ "systemctl restart kadmind.service kdc.service",
+ )
- $machine->succeed(
- "kadmin -l init --realm-max-ticket-life='8 day' \\
- --realm-max-renewable-life='10 day' FOO.BAR"
- );
+ for unit in ["kadmind", "kdc", "kpasswdd"]:
+ machine.wait_for_unit(f"{unit}.service")
- $machine->succeed("systemctl restart kadmind.service kdc.service");
- $machine->waitForUnit("kadmind.service");
- $machine->waitForUnit("kdc.service");
- $machine->waitForUnit("kpasswdd.service");
-
- $machine->succeed(
- "kadmin -l add --password=admin_pw --use-defaults admin"
- );
- $machine->succeed(
- "kadmin -l ext_keytab --keytab=admin.keytab admin"
- );
- $machine->succeed(
- "kadmin -p admin -K admin.keytab add --password=alice_pw --use-defaults \\
- alice"
- );
- $machine->succeed(
- "kadmin -l ext_keytab --keytab=alice.keytab alice"
- );
- $machine->succeed("kinit -kt alice.keytab alice");
+ machine.succeed(
+ "kadmin -l add --password=admin_pw --use-defaults admin",
+ "kadmin -l ext_keytab --keytab=admin.keytab admin",
+ "kadmin -p admin -K admin.keytab add --password=alice_pw --use-defaults alice",
+ "kadmin -l ext_keytab --keytab=alice.keytab alice",
+ "kinit -kt alice.keytab alice",
+ )
'';
})
diff --git a/nixos/tests/kerberos/mit.nix b/nixos/tests/kerberos/mit.nix
index 6da3a384aa9957185bd1cf2fa1617a72b342acb2..93b4020d49941983ca7cc631896e78b4688ca57f 100644
--- a/nixos/tests/kerberos/mit.nix
+++ b/nixos/tests/kerberos/mit.nix
@@ -1,4 +1,4 @@
-import ../make-test.nix ({pkgs, ...}: {
+import ../make-test-python.nix ({pkgs, ...}: {
name = "kerberos_server-mit";
machine = { config, libs, pkgs, ...}:
{ services.kerberos_server =
@@ -24,22 +24,18 @@ import ../make-test.nix ({pkgs, ...}: {
};
testScript = ''
- $machine->start;
+ machine.succeed(
+ "kdb5_util create -s -r FOO.BAR -P master_key",
+ "systemctl restart kadmind.service kdc.service",
+ )
- $machine->succeed(
- "kdb5_util create -s -r FOO.BAR -P master_key"
- );
+ for unit in ["kadmind", "kdc"]:
+ machine.wait_for_unit(f"{unit}.service")
- $machine->succeed("systemctl restart kadmind.service kdc.service");
- $machine->waitForUnit("kadmind.service");
- $machine->waitForUnit("kdc.service");
-
- $machine->succeed(
- "kadmin.local add_principal -pw admin_pw admin"
- );
- $machine->succeed(
- "kadmin -p admin -w admin_pw addprinc -pw alice_pw alice"
- );
- $machine->succeed("echo alice_pw | sudo -u alice kinit");
+ machine.succeed(
+ "kadmin.local add_principal -pw admin_pw admin",
+ "kadmin -p admin -w admin_pw addprinc -pw alice_pw alice",
+ "echo alice_pw | sudo -u alice kinit",
+ )
'';
})
diff --git a/nixos/tests/kernel-latest.nix b/nixos/tests/kernel-latest.nix
index f30bd2e2e76052a6b54174339f983d2f7233e8ff..f09d0926d2236a8784450d9f81473f1437bc4be9 100644
--- a/nixos/tests/kernel-latest.nix
+++ b/nixos/tests/kernel-latest.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, ...} : {
+import ./make-test-python.nix ({ pkgs, ...} : {
name = "kernel-latest";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ nequissimus ];
@@ -11,7 +11,7 @@ import ./make-test.nix ({ pkgs, ...} : {
testScript =
''
- $machine->succeed("uname -s | grep 'Linux'");
- $machine->succeed("uname -a | grep '${pkgs.linuxPackages_latest.kernel.version}'");
+ assert "Linux" in machine.succeed("uname -s")
+ assert "${pkgs.linuxPackages_latest.kernel.version}" in machine.succeed("uname -a")
'';
})
diff --git a/nixos/tests/kernel-lts.nix b/nixos/tests/kernel-lts.nix
index 28717fa6a844810d31531c8fc01b917d3562fe77..bad706d63c03ab10d0012ca852dc64c0147c3a91 100644
--- a/nixos/tests/kernel-lts.nix
+++ b/nixos/tests/kernel-lts.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, ...} : {
+import ./make-test-python.nix ({ pkgs, ...} : {
name = "kernel-lts";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ nequissimus ];
@@ -11,7 +11,7 @@ import ./make-test.nix ({ pkgs, ...} : {
testScript =
''
- $machine->succeed("uname -s | grep 'Linux'");
- $machine->succeed("uname -a | grep '${pkgs.linuxPackages.kernel.version}'");
+ assert "Linux" in machine.succeed("uname -s")
+ assert "${pkgs.linuxPackages.kernel.version}" in machine.succeed("uname -a")
'';
})
diff --git a/nixos/tests/kernel-testing.nix b/nixos/tests/kernel-testing.nix
index 276d2de12bb55d69fa84ddd26b3d2fbc2d7258e1..b7e10ebd5bd1c970764e6dc4dcd3b80324fc634e 100644
--- a/nixos/tests/kernel-testing.nix
+++ b/nixos/tests/kernel-testing.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, ...} : {
+import ./make-test-python.nix ({ pkgs, ...} : {
name = "kernel-testing";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ nequissimus ];
@@ -11,7 +11,7 @@ import ./make-test.nix ({ pkgs, ...} : {
testScript =
''
- $machine->succeed("uname -s | grep 'Linux'");
- $machine->succeed("uname -a | grep '${pkgs.linuxPackages_testing.kernel.modDirVersion}'");
+ assert "Linux" in machine.succeed("uname -s")
+ assert "${pkgs.linuxPackages_testing.kernel.modDirVersion}" in machine.succeed("uname -a")
'';
})
diff --git a/nixos/tests/mailcatcher.nix b/nixos/tests/mailcatcher.nix
index d45b5d4edfc504bd586b364b518aa88685a8e1ba..eb5b606ecc8404dd0d61662f53641e3a894e3c87 100644
--- a/nixos/tests/mailcatcher.nix
+++ b/nixos/tests/mailcatcher.nix
@@ -9,8 +9,8 @@ import ./make-test.nix ({ lib, ... }:
{
services.mailcatcher.enable = true;
- networking.defaultMailServer.directDelivery = true;
- networking.defaultMailServer.hostName = "localhost:1025";
+ services.ssmtp.enable = true;
+ services.ssmtp.hostName = "localhost:1025";
environment.systemPackages = [ pkgs.mailutils ];
};
diff --git a/nixos/tests/matomo.nix b/nixos/tests/matomo.nix
index 4efa65a7b6deafbb89a952adcb1f3808a0dadff3..2bea237c8bdde216b47f947b12005496fb5567ea 100644
--- a/nixos/tests/matomo.nix
+++ b/nixos/tests/matomo.nix
@@ -1,7 +1,7 @@
{ system ? builtins.currentSystem, config ? { }
, pkgs ? import ../.. { inherit system config; } }:
-with import ../lib/testing.nix { inherit system pkgs; };
+with import ../lib/testing-python.nix { inherit system pkgs; };
with pkgs.lib;
let
@@ -24,11 +24,16 @@ let
};
testScript = ''
- startAll;
- $machine->waitForUnit("mysql.service");
- $machine->waitForUnit("phpfpm-matomo.service");
- $machine->waitForUnit("nginx.service");
- $machine->succeed("curl -sSfL http://localhost/ | grep 'Matomo[^<]*Installation'");
+ start_all()
+ machine.wait_for_unit("mysql.service")
+ machine.wait_for_unit("phpfpm-matomo.service")
+ machine.wait_for_unit("nginx.service")
+
+ # without the grep the command does not produce valid utf-8 for some reason
+ with subtest("welcome screen loads"):
+ machine.succeed(
+ "curl -sSfL http://localhost/ | grep 'Matomo[^<]*Installation'"
+ )
'';
};
in {
diff --git a/nixos/tests/memcached.nix b/nixos/tests/memcached.nix
index b120599c51dd806e4bc342b2232339824cdaf42a..31f5627d25cebd9131c44c7da2b37740c188ebb8 100644
--- a/nixos/tests/memcached.nix
+++ b/nixos/tests/memcached.nix
@@ -1,28 +1,24 @@
-import ./make-test.nix ({ pkgs, ...} : {
+import ./make-test-python.nix ({ pkgs, ... }: {
name = "memcached";
- nodes = {
- machine =
- { ... }:
- {
- imports = [ ../modules/profiles/minimal.nix ];
- services.memcached.enable = true;
- };
+ machine = {
+ imports = [ ../modules/profiles/minimal.nix ];
+ services.memcached.enable = true;
};
testScript = let
- testScript = pkgs.writeScript "testScript.py" ''
- #!${pkgs.python3.withPackages (p: [p.memcached])}/bin/python
-
+ testScript = pkgs.writers.writePython3 "test_memcache" {
+ libraries = with pkgs.python3Packages; [ memcached ];
+ } ''
import memcache
c = memcache.Client(['localhost:11211'])
c.set('key', 'value')
assert 'value' == c.get('key')
'';
in ''
- startAll;
- $machine->waitForUnit("memcached.service");
- $machine->waitForOpenPort("11211");
- $machine->succeed("${testScript}");
+ machine.start()
+ machine.wait_for_unit("memcached.service")
+ machine.wait_for_open_port(11211)
+ machine.succeed("${testScript}")
'';
})
diff --git a/nixos/tests/minidlna.nix b/nixos/tests/minidlna.nix
index 7bf1bed69d060ec61e6d24280048ce302ef76d27..d852c7f60bc4539b3a03047d60e9de6273644b22 100644
--- a/nixos/tests/minidlna.nix
+++ b/nixos/tests/minidlna.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, ... }: {
+import ./make-test-python.nix ({ pkgs, ... }: {
name = "minidlna";
nodes = {
@@ -29,11 +29,11 @@ import ./make-test.nix ({ pkgs, ... }: {
testScript =
''
- startAll;
- $server->succeed("mkdir -p /tmp/stuff && chown minidlna: /tmp/stuff");
- $server->waitForUnit("minidlna");
- $server->waitForOpenPort("8200");
- $server->succeed("curl --fail http://localhost:8200/");
- $client->succeed("curl --fail http://server:8200/");
+ start_all()
+ server.succeed("mkdir -p /tmp/stuff && chown minidlna: /tmp/stuff")
+ server.wait_for_unit("minidlna")
+ server.wait_for_open_port("8200")
+ server.succeed("curl --fail http://localhost:8200/")
+ client.succeed("curl --fail http://server:8200/")
'';
})
diff --git a/nixos/tests/miniflux.nix b/nixos/tests/miniflux.nix
index 19ab4803a1d30703ab92ed0fc273e614f8e4d795..7d83d061a9df74648f77f3edac7611ad862774a9 100644
--- a/nixos/tests/miniflux.nix
+++ b/nixos/tests/miniflux.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, lib, ... }:
+import ./make-test-python.nix ({ pkgs, lib, ... }:
let
port = 3142;
@@ -37,16 +37,20 @@ with lib;
};
};
testScript = ''
- startAll;
+ start_all()
- $default->waitForUnit('miniflux.service');
- $default->waitForOpenPort(${toString defaultPort});
- $default->succeed("curl --fail 'http://localhost:${toString defaultPort}/healthcheck' | grep -q OK");
- $default->succeed("curl 'http://localhost:${toString defaultPort}/v1/me' -u '${defaultUsername}:${defaultPassword}' -H Content-Type:application/json | grep -q '\"is_admin\":true'");
+ default.wait_for_unit("miniflux.service")
+ default.wait_for_open_port(${toString defaultPort})
+ default.succeed("curl --fail 'http://localhost:${toString defaultPort}/healthcheck' | grep -q OK")
+ default.succeed(
+ "curl 'http://localhost:${toString defaultPort}/v1/me' -u '${defaultUsername}:${defaultPassword}' -H Content-Type:application/json | grep -q '\"is_admin\":true'"
+ )
- $customized->waitForUnit('miniflux.service');
- $customized->waitForOpenPort(${toString port});
- $customized->succeed("curl --fail 'http://localhost:${toString port}/healthcheck' | grep -q OK");
- $customized->succeed("curl 'http://localhost:${toString port}/v1/me' -u '${username}:${password}' -H Content-Type:application/json | grep -q '\"is_admin\":true'");
+ customized.wait_for_unit("miniflux.service")
+ customized.wait_for_open_port(${toString port})
+ customized.succeed("curl --fail 'http://localhost:${toString port}/healthcheck' | grep -q OK")
+ customized.succeed(
+ "curl 'http://localhost:${toString port}/v1/me' -u '${username}:${password}' -H Content-Type:application/json | grep -q '\"is_admin\":true'"
+ )
'';
})
diff --git a/nixos/tests/minio.nix b/nixos/tests/minio.nix
index f1218b537711adedd3242a994e4ecfbab7ebddb1..3b0619742671ef252a1513d3e070cce77afd53dd 100644
--- a/nixos/tests/minio.nix
+++ b/nixos/tests/minio.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, ...} :
+import ./make-test-python.nix ({ pkgs, ...} :
let
accessKey = "BKIKJAA5BMMU2RHO6IBB";
secretKey = "V7f1CwQqAcwo80UEIJEjc5gVQUSSx5ohQ9GSrr12";
@@ -18,7 +18,7 @@ let
sio.seek(0)
minioClient.put_object('test-bucket', 'test.txt', sio, sio_len, content_type='text/plain')
'';
- in {
+in {
name = "minio";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ bachp ];
@@ -37,19 +37,19 @@ let
};
};
- testScript =
- ''
- startAll;
- $machine->waitForUnit("minio.service");
- $machine->waitForOpenPort(9000);
+ testScript = ''
+ start_all()
+ machine.wait_for_unit("minio.service")
+ machine.wait_for_open_port(9000)
- # Create a test bucket on the server
- $machine->succeed("mc config host add minio http://localhost:9000 ${accessKey} ${secretKey} S3v4");
- $machine->succeed("mc mb minio/test-bucket");
- $machine->succeed("${minioPythonScript}");
- $machine->succeed("mc ls minio") =~ /test-bucket/ or die;
- $machine->succeed("mc cat minio/test-bucket/test.txt") =~ /Test from Python/ or die;
- $machine->shutdown;
-
- '';
+ # Create a test bucket on the server
+ machine.succeed(
+ "mc config host add minio http://localhost:9000 ${accessKey} ${secretKey} S3v4"
+ )
+ machine.succeed("mc mb minio/test-bucket")
+ machine.succeed("${minioPythonScript}")
+ assert "test-bucket" in machine.succeed("mc ls minio")
+ assert "Test from Python" in machine.succeed("mc cat minio/test-bucket/test.txt")
+ machine.shutdown()
+ '';
})
diff --git a/nixos/tests/mongodb.nix b/nixos/tests/mongodb.nix
index 0ccbeb062f9290f05e30e73b10c6715b102e9e8b..9ebf84eed2325503176a73d6733247fc2b490aea 100644
--- a/nixos/tests/mongodb.nix
+++ b/nixos/tests/mongodb.nix
@@ -1,6 +1,6 @@
# This test start mongodb, runs a query using mongo shell
-import ./make-test.nix ({ pkgs, ...} : let
+import ./make-test-python.nix ({ pkgs, ...} : let
testQuery = pkgs.writeScript "nixtest.js" ''
db.greetings.insert({ "greeting": "hello" });
print(db.greetings.findOne().greeting);
@@ -33,8 +33,10 @@ in {
};
testScript = ''
- startAll;
- $one->waitForUnit("mongodb.service");
- $one->succeed("mongo -u nixtest -p nixtest nixtest ${testQuery}") =~ /hello/ or die;
+ start_all()
+ one.wait_for_unit("mongodb.service")
+ one.succeed(
+ "mongo -u nixtest -p nixtest nixtest ${testQuery} | grep -q hello"
+ )
'';
})
diff --git a/nixos/tests/mpd.nix b/nixos/tests/mpd.nix
index a992576808dc92009fed12050356761decc78b61..895b7e2014c8586360b9a31c299053236f4de381 100644
--- a/nixos/tests/mpd.nix
+++ b/nixos/tests/mpd.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, lib, ... }:
+import ./make-test-python.nix ({ pkgs, lib, ... }:
let
track = pkgs.fetchurl {
# Sourced from http://freemusicarchive.org/music/Blue_Wave_Theory/Surf_Music_Month_Challenge/Skyhawk_Beach_fade_in
@@ -94,40 +94,39 @@ import ./make-test.nix ({ pkgs, lib, ... }:
};
testScript = ''
- my $mpc = "${pkgs.mpc_cli}/bin/mpc --wait";
+ mpc = "${pkgs.mpc_cli}/bin/mpc --wait"
# Connects to the given server and attempts to play a tune.
- sub play_some_music {
- my $server = $_[0];
+ def play_some_music(server):
+ server.wait_for_unit("mpd.service")
+ server.succeed(f"{mpc} update")
+ _, tracks = server.execute(f"{mpc} ls")
- $server->waitForUnit("mpd.service");
- $server->succeed("$mpc update");
- my @tracks = $server->execute("$mpc ls");
+ for track in tracks.splitlines():
+ server.succeed(f"{mpc} add {track}")
- for my $track (split(/\n/, $tracks[1])) {
- $server->succeed("$mpc add $track");
- };
+ _, added_tracks = server.execute(f"{mpc} listall")
- my @added_tracks = $server->execute("$mpc listall");
- (length $added_tracks[1]) > 0 or die "Failed to add audio tracks to the playlist.";
+ # Check we succeeded adding audio tracks to the playlist
+ assert len(added_tracks.splitlines()) > 0
- $server->succeed("$mpc play");
+ server.succeed(f"{mpc} play")
- my @status = $server->execute("$mpc status");
- my @output = split(/\n/, $status[1]);
- $output[1] =~ /.*playing.*/ or die "Audio track is not playing, as expected.";
+ _, output = server.execute(f"{mpc} status")
+ # Assure audio track is playing
+ assert "playing" in output
+
+ server.succeed(f"{mpc} stop")
- $server->succeed("$mpc stop");
- };
- play_some_music($serverALSA);
- play_some_music($serverPulseAudio);
+ play_some_music(serverALSA)
+ play_some_music(serverPulseAudio)
- $client->waitForUnit("multi-user.target");
- $client->succeed("$mpc -h serverALSA status");
+ client.wait_for_unit("multi-user.target")
+ client.succeed(f"{mpc} -h serverALSA status")
# The PulseAudio-based server is configured not to accept external client connections
# to perform the following test:
- $client->fail("$mpc -h serverPulseAudio status");
+ client.fail(f"{mpc} -h serverPulseAudio status")
'';
})
diff --git a/nixos/tests/mysql-backup.nix b/nixos/tests/mysql-backup.nix
index 81482dfef7e5625f624883fab17bf33275cb13a6..a0595e4d55399db08d4a5a562dda5074cc02f7e8 100644
--- a/nixos/tests/mysql-backup.nix
+++ b/nixos/tests/mysql-backup.nix
@@ -1,5 +1,5 @@
# Test whether mysqlBackup option works
-import ./make-test.nix ({ pkgs, ... } : {
+import ./make-test-python.nix ({ pkgs, ... } : {
name = "mysql-backup";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ rvl ];
@@ -20,31 +20,37 @@ import ./make-test.nix ({ pkgs, ... } : {
};
};
- testScript =
- '' startAll;
+ testScript = ''
+ start_all()
- # Delete backup file that may be left over from a previous test run.
- # This is not needed on Hydra but useful for repeated local test runs.
- $master->execute("rm -f /var/backup/mysql/testdb.gz");
+ # Delete backup file that may be left over from a previous test run.
+ # This is not needed on Hydra but useful for repeated local test runs.
+ master.execute("rm -f /var/backup/mysql/testdb.gz")
- # Need to have mysql started so that it can be populated with data.
- $master->waitForUnit("mysql.service");
+ # Need to have mysql started so that it can be populated with data.
+ master.wait_for_unit("mysql.service")
- # Wait for testdb to be fully populated (5 rows).
- $master->waitUntilSucceeds("mysql -u root -D testdb -N -B -e 'select count(id) from tests' | grep -q 5");
+ # Wait for testdb to be fully populated (5 rows).
+ master.wait_until_succeeds(
+ "mysql -u root -D testdb -N -B -e 'select count(id) from tests' | grep -q 5"
+ )
- # Do a backup and wait for it to start
- $master->startJob("mysql-backup.service");
- $master->waitForJob("mysql-backup.service");
+ # Do a backup and wait for it to start
+ master.start_job("mysql-backup.service")
+ master.wait_for_unit("mysql-backup.service")
- # wait for backup to fail, because of database 'doesnotexist'
- $master->waitUntilFails("systemctl is-active -q mysql-backup.service");
+ # wait for backup to fail, because of database 'doesnotexist'
+ master.wait_until_fails("systemctl is-active -q mysql-backup.service")
- # wait for backup file and check that data appears in backup
- $master->waitForFile("/var/backup/mysql/testdb.gz");
- $master->succeed("${pkgs.gzip}/bin/zcat /var/backup/mysql/testdb.gz | grep hello");
+ # wait for backup file and check that data appears in backup
+ master.wait_for_file("/var/backup/mysql/testdb.gz")
+ master.succeed(
+ "${pkgs.gzip}/bin/zcat /var/backup/mysql/testdb.gz | grep hello"
+ )
- # Check that a failed backup is logged
- $master->succeed("journalctl -u mysql-backup.service | grep 'fail.*doesnotexist' > /dev/null");
- '';
+ # Check that a failed backup is logged
+ master.succeed(
+ "journalctl -u mysql-backup.service | grep 'fail.*doesnotexist' > /dev/null"
+ )
+ '';
})
diff --git a/nixos/tests/mysql-replication.nix b/nixos/tests/mysql-replication.nix
index c75a862106f6f45ac5a86ddc55ce0d3d01864629..a2654f041addfcc0e82e9d19557f9945d5533825 100644
--- a/nixos/tests/mysql-replication.nix
+++ b/nixos/tests/mysql-replication.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, ...} :
+import ./make-test-python.nix ({ pkgs, ...} :
let
replicateUser = "replicate";
@@ -54,28 +54,36 @@ in
};
testScript = ''
- $master->start;
- $master->waitForUnit("mysql");
- $master->waitForOpenPort(3306);
+ master.start()
+ master.wait_for_unit("mysql")
+ master.wait_for_open_port(3306)
# Wait for testdb to be fully populated (5 rows).
- $master->waitUntilSucceeds("mysql -u root -D testdb -N -B -e 'select count(id) from tests' | grep -q 5");
+ master.wait_until_succeeds(
+ "mysql -u root -D testdb -N -B -e 'select count(id) from tests' | grep -q 5"
+ )
- $slave1->start;
- $slave2->start;
- $slave1->waitForUnit("mysql");
- $slave1->waitForOpenPort(3306);
- $slave2->waitForUnit("mysql");
- $slave2->waitForOpenPort(3306);
+ slave1.start()
+ slave2.start()
+ slave1.wait_for_unit("mysql")
+ slave1.wait_for_open_port(3306)
+ slave2.wait_for_unit("mysql")
+ slave2.wait_for_open_port(3306)
# wait for replications to finish
- $slave1->waitUntilSucceeds("mysql -u root -D testdb -N -B -e 'select count(id) from tests' | grep -q 5");
- $slave2->waitUntilSucceeds("mysql -u root -D testdb -N -B -e 'select count(id) from tests' | grep -q 5");
+ slave1.wait_until_succeeds(
+ "mysql -u root -D testdb -N -B -e 'select count(id) from tests' | grep -q 5"
+ )
+ slave2.wait_until_succeeds(
+ "mysql -u root -D testdb -N -B -e 'select count(id) from tests' | grep -q 5"
+ )
- $slave2->succeed("systemctl stop mysql");
- $master->succeed("echo 'insert into testdb.tests values (123, 456);' | mysql -u root -N");
- $slave2->succeed("systemctl start mysql");
- $slave2->waitForUnit("mysql");
- $slave2->waitForOpenPort(3306);
- $slave2->waitUntilSucceeds("echo 'select * from testdb.tests where Id = 123;' | mysql -u root -N | grep 456");
+ slave2.succeed("systemctl stop mysql")
+ master.succeed("echo 'insert into testdb.tests values (123, 456);' | mysql -u root -N")
+ slave2.succeed("systemctl start mysql")
+ slave2.wait_for_unit("mysql")
+ slave2.wait_for_open_port(3306)
+ slave2.wait_until_succeeds(
+ "echo 'select * from testdb.tests where Id = 123;' | mysql -u root -N | grep 456"
+ )
'';
})
diff --git a/nixos/tests/mysql.nix b/nixos/tests/mysql.nix
index 05bd968de02dd5b4e981b0f3f636efde131b8e81..2c0d212c2f1daf04a4f61f5163d818faa46119a7 100644
--- a/nixos/tests/mysql.nix
+++ b/nixos/tests/mysql.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, ...} : {
+import ./make-test-python.nix ({ pkgs, ...} : {
name = "mysql";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ eelco shlevy ];
@@ -47,17 +47,23 @@ import ./make-test.nix ({ pkgs, ...} : {
};
testScript = ''
- startAll;
+ start_all
- $mysql->waitForUnit("mysql");
- $mysql->succeed("echo 'use empty_testdb;' | mysql -u root");
- $mysql->succeed("echo 'use testdb; select * from tests;' | mysql -u root -N | grep 4");
+ mysql.wait_for_unit("mysql")
+ mysql.succeed("echo 'use empty_testdb;' | mysql -u root")
+ mysql.succeed("echo 'use testdb; select * from tests;' | mysql -u root -N | grep 4")
# ';' acts as no-op, just check whether login succeeds with the user created from the initialScript
- $mysql->succeed("echo ';' | mysql -u passworduser --password=password123");
+ mysql.succeed("echo ';' | mysql -u passworduser --password=password123")
- $mariadb->waitForUnit("mysql");
- $mariadb->succeed("echo 'use testdb; create table tests (test_id INT, PRIMARY KEY (test_id));' | sudo -u testuser mysql -u testuser");
- $mariadb->succeed("echo 'use testdb; insert into tests values (42);' | sudo -u testuser mysql -u testuser");
- $mariadb->succeed("echo 'use testdb; select test_id from tests;' | sudo -u testuser mysql -u testuser -N | grep 42");
+ mariadb.wait_for_unit("mysql")
+ mariadb.succeed(
+ "echo 'use testdb; create table tests (test_id INT, PRIMARY KEY (test_id));' | sudo -u testuser mysql -u testuser"
+ )
+ mariadb.succeed(
+ "echo 'use testdb; insert into tests values (42);' | sudo -u testuser mysql -u testuser"
+ )
+ mariadb.succeed(
+ "echo 'use testdb; select test_id from tests;' | sudo -u testuser mysql -u testuser -N | grep 42"
+ )
'';
})
diff --git a/nixos/tests/nat.nix b/nixos/tests/nat.nix
index 51d9cf166bb6cf392a2d62ff05b4d56bb68d622c..0d1f7aaedfa234f172caf951c9fb44b22fee1ffb 100644
--- a/nixos/tests/nat.nix
+++ b/nixos/tests/nat.nix
@@ -3,7 +3,7 @@
# client on the inside network, a server on the outside network, and a
# router connected to both that performs Network Address Translation
# for the client.
-import ./make-test.nix ({ pkgs, lib, withFirewall, withConntrackHelpers ? false, ... }:
+import ./make-test-python.nix ({ pkgs, lib, withFirewall, withConntrackHelpers ? false, ... }:
let
unit = if withFirewall then "firewall" else "nat";
@@ -69,49 +69,52 @@ import ./make-test.nix ({ pkgs, lib, withFirewall, withConntrackHelpers ? false,
routerDummyNoNatClosure = nodes.routerDummyNoNat.config.system.build.toplevel;
routerClosure = nodes.router.config.system.build.toplevel;
in ''
- $client->start;
- $router->start;
- $server->start;
+ client.start()
+ router.start()
+ server.start()
# The router should have access to the server.
- $server->waitForUnit("network.target");
- $server->waitForUnit("httpd");
- $router->waitForUnit("network.target");
- $router->succeed("curl --fail http://server/ >&2");
+ server.wait_for_unit("network.target")
+ server.wait_for_unit("httpd")
+ router.wait_for_unit("network.target")
+ router.succeed("curl --fail http://server/ >&2")
# The client should be also able to connect via the NAT router.
- $router->waitForUnit("${unit}");
- $client->waitForUnit("network.target");
- $client->succeed("curl --fail http://server/ >&2");
- $client->succeed("ping -c 1 server >&2");
+ router.wait_for_unit("${unit}")
+ client.wait_for_unit("network.target")
+ client.succeed("curl --fail http://server/ >&2")
+ client.succeed("ping -c 1 server >&2")
# Test whether passive FTP works.
- $server->waitForUnit("vsftpd");
- $server->succeed("echo Hello World > /home/ftp/foo.txt");
- $client->succeed("curl -v ftp://server/foo.txt >&2");
+ server.wait_for_unit("vsftpd")
+ server.succeed("echo Hello World > /home/ftp/foo.txt")
+ client.succeed("curl -v ftp://server/foo.txt >&2")
# Test whether active FTP works.
- $client->${if withConntrackHelpers then "succeed" else "fail"}(
- "curl -v -P - ftp://server/foo.txt >&2");
+ client.${if withConntrackHelpers then "succeed" else "fail"}("curl -v -P - ftp://server/foo.txt >&2")
# Test ICMP.
- $client->succeed("ping -c 1 router >&2");
- $router->succeed("ping -c 1 client >&2");
+ client.succeed("ping -c 1 router >&2")
+ router.succeed("ping -c 1 client >&2")
# If we turn off NAT, the client shouldn't be able to reach the server.
- $router->succeed("${routerDummyNoNatClosure}/bin/switch-to-configuration test 2>&1");
- $client->fail("curl --fail --connect-timeout 5 http://server/ >&2");
- $client->fail("ping -c 1 server >&2");
+ router.succeed(
+ "${routerDummyNoNatClosure}/bin/switch-to-configuration test 2>&1"
+ )
+ client.fail("curl --fail --connect-timeout 5 http://server/ >&2")
+ client.fail("ping -c 1 server >&2")
# And make sure that reloading the NAT job works.
- $router->succeed("${routerClosure}/bin/switch-to-configuration test 2>&1");
+ router.succeed(
+ "${routerClosure}/bin/switch-to-configuration test 2>&1"
+ )
# FIXME: this should not be necessary, but nat.service is not started because
# network.target is not triggered
# (https://github.com/NixOS/nixpkgs/issues/16230#issuecomment-226408359)
${lib.optionalString (!withFirewall) ''
- $router->succeed("systemctl start nat.service");
+ router.succeed("systemctl start nat.service")
''}
- $client->succeed("curl --fail http://server/ >&2");
- $client->succeed("ping -c 1 server >&2");
+ client.succeed("curl --fail http://server/ >&2")
+ client.succeed("ping -c 1 server >&2")
'';
})
diff --git a/nixos/tests/ndppd.nix b/nixos/tests/ndppd.nix
index 6a6f602726dec7778e687e0a040e3743c9dae368..b67b26a79341f62bff163d75f8a25b911f1fd338 100644
--- a/nixos/tests/ndppd.nix
+++ b/nixos/tests/ndppd.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, lib, ...} : {
+import ./make-test-python.nix ({ pkgs, lib, ...} : {
name = "ndppd";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ fpletz ];
@@ -52,9 +52,9 @@ import ./make-test.nix ({ pkgs, lib, ...} : {
};
testScript = ''
- startAll;
- $server->waitForUnit("multi-user.target");
- $upstream->waitForUnit("multi-user.target");
- $upstream->waitUntilSucceeds("ping -c5 fd42::2");
+ start_all()
+ server.wait_for_unit("multi-user.target")
+ upstream.wait_for_unit("multi-user.target")
+ upstream.wait_until_succeeds("ping -c5 fd42::2")
'';
})
diff --git a/nixos/tests/neo4j.nix b/nixos/tests/neo4j.nix
index 86ed8970517c98d9ba2c80b428a9a68bdc9cc8cf..32ee7f501b8bcb081716141da06535d9cb0631d5 100644
--- a/nixos/tests/neo4j.nix
+++ b/nixos/tests/neo4j.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix {
+import ./make-test-python.nix {
name = "neo4j";
nodes = {
@@ -11,10 +11,10 @@ import ./make-test.nix {
};
testScript = ''
- startAll;
+ start_all()
- $master->waitForUnit("neo4j");
- $master->sleep(20); # Hopefully this is long enough!!
- $master->succeed("curl http://localhost:7474/");
+ master.wait_for_unit("neo4j")
+ master.wait_for_open_port(7474)
+ master.succeed("curl http://localhost:7474/")
'';
}
diff --git a/nixos/tests/netdata.nix b/nixos/tests/netdata.nix
index 9bd147968e4b1acd0318e3940546b1704a5dc34c..8dd5eafb0977cf41d3fea596e02f0bb945dc9fb1 100644
--- a/nixos/tests/netdata.nix
+++ b/nixos/tests/netdata.nix
@@ -1,6 +1,6 @@
# This test runs netdata and checks for data via apps.plugin
-import ./make-test.nix ({ pkgs, ...} : {
+import ./make-test-python.nix ({ pkgs, ...} : {
name = "netdata";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ cransom ];
@@ -16,23 +16,22 @@ import ./make-test.nix ({ pkgs, ...} : {
};
testScript = ''
- startAll;
+ start_all()
- $netdata->waitForUnit("netdata.service");
+ netdata.wait_for_unit("netdata.service")
# wait for the service to listen before sending a request
- $netdata->waitForOpenPort(19999);
+ netdata.wait_for_open_port(19999)
# check if the netdata main page loads.
- $netdata->succeed("curl --fail http://localhost:19999/");
+ netdata.succeed("curl --fail http://localhost:19999/")
# check if netdata can read disk ops for root owned processes.
# if > 0, successful. verifies both netdata working and
# apps.plugin has elevated capabilities.
- my $cmd = <<'CMD';
- curl -s http://localhost:19999/api/v1/data\?chart=users.pwrites | \
- jq -e '[.data[range(10)][.labels | indices("root")[0]]] | add | . > 0'
- CMD
- $netdata->waitUntilSucceeds($cmd);
+ url = "http://localhost:19999/api/v1/data\?chart=users.pwrites"
+ filter = '[.data[range(10)][.labels | indices("root")[0]]] | add | . > 0'
+ cmd = f"curl -s {url} | jq -e '{filter}'"
+ netdata.wait_until_succeeds(cmd)
'';
})
diff --git a/nixos/tests/nextcloud/basic.nix b/nixos/tests/nextcloud/basic.nix
index bfb97ec3f230a536c7d9bc3a91a50208d5a0bb30..75862feb202d25721d802a9c4ca2f4ba652160a5 100644
--- a/nixos/tests/nextcloud/basic.nix
+++ b/nixos/tests/nextcloud/basic.nix
@@ -1,4 +1,4 @@
-import ../make-test.nix ({ pkgs, ...}: let
+import ../make-test-python.nix ({ pkgs, ...}: let
adminpass = "notproduction";
adminuser = "root";
in {
@@ -50,11 +50,15 @@ in {
diff <(echo 'hi') <(${pkgs.rclone}/bin/rclone cat nextcloud:test-shared-file)
'';
in ''
- startAll();
- $nextcloud->waitForUnit("multi-user.target");
- $nextcloud->succeed("curl -sSf http://nextcloud/login");
- $nextcloud->succeed("${withRcloneEnv} ${copySharedFile}");
- $client->waitForUnit("multi-user.target");
- $client->succeed("${withRcloneEnv} ${diffSharedFile}");
+ start_all()
+ nextcloud.wait_for_unit("multi-user.target")
+ nextcloud.succeed("curl -sSf http://nextcloud/login")
+ nextcloud.succeed(
+ "${withRcloneEnv} ${copySharedFile}"
+ )
+ client.wait_for_unit("multi-user.target")
+ client.succeed(
+ "${withRcloneEnv} ${diffSharedFile}"
+ )
'';
})
diff --git a/nixos/tests/nextcloud/with-mysql-and-memcached.nix b/nixos/tests/nextcloud/with-mysql-and-memcached.nix
index aaf37ee4c81011714183472c49d01cf18493a436..b9ba5888187d51c1b43bd89eff6576c767b63318 100644
--- a/nixos/tests/nextcloud/with-mysql-and-memcached.nix
+++ b/nixos/tests/nextcloud/with-mysql-and-memcached.nix
@@ -1,4 +1,4 @@
-import ../make-test.nix ({ pkgs, ...}: let
+import ../make-test-python.nix ({ pkgs, ...}: let
adminpass = "hunter2";
adminuser = "root";
in {
@@ -85,13 +85,16 @@ in {
diff <(echo 'hi') <(${pkgs.rclone}/bin/rclone cat nextcloud:test-shared-file)
'';
in ''
- startAll();
- $nextcloud->waitForUnit("multi-user.target");
- $nextcloud->succeed("${configureMemcached}");
- $nextcloud->succeed("curl -sSf http://nextcloud/login");
- $nextcloud->succeed("${withRcloneEnv} ${copySharedFile}");
- $client->waitForUnit("multi-user.target");
- $client->succeed("${withRcloneEnv} ${diffSharedFile}");
-
+ start_all()
+ nextcloud.wait_for_unit("multi-user.target")
+ nextcloud.succeed("${configureMemcached}")
+ nextcloud.succeed("curl -sSf http://nextcloud/login")
+ nextcloud.succeed(
+ "${withRcloneEnv} ${copySharedFile}"
+ )
+ client.wait_for_unit("multi-user.target")
+ client.succeed(
+ "${withRcloneEnv} ${diffSharedFile}"
+ )
'';
})
diff --git a/nixos/tests/nextcloud/with-postgresql-and-redis.nix b/nixos/tests/nextcloud/with-postgresql-and-redis.nix
index f655aba9d45e46b8e40ba5fe5898362e95355ee6..324853350af6ebf39e4712c0fbede642dbf68808 100644
--- a/nixos/tests/nextcloud/with-postgresql-and-redis.nix
+++ b/nixos/tests/nextcloud/with-postgresql-and-redis.nix
@@ -1,4 +1,4 @@
-import ../make-test.nix ({ pkgs, ...}: let
+import ../make-test-python.nix ({ pkgs, ...}: let
adminpass = "hunter2";
adminuser = "custom-admin-username";
in {
@@ -85,12 +85,16 @@ in {
diff <(echo 'hi') <(${pkgs.rclone}/bin/rclone cat nextcloud:test-shared-file)
'';
in ''
- startAll();
- $nextcloud->waitForUnit("multi-user.target");
- $nextcloud->succeed("${configureRedis}");
- $nextcloud->succeed("curl -sSf http://nextcloud/login");
- $nextcloud->succeed("${withRcloneEnv} ${copySharedFile}");
- $client->waitForUnit("multi-user.target");
- $client->succeed("${withRcloneEnv} ${diffSharedFile}");
+ start_all()
+ nextcloud.wait_for_unit("multi-user.target")
+ nextcloud.succeed("${configureRedis}")
+ nextcloud.succeed("curl -sSf http://nextcloud/login")
+ nextcloud.succeed(
+ "${withRcloneEnv} ${copySharedFile}"
+ )
+ client.wait_for_unit("multi-user.target")
+ client.succeed(
+ "${withRcloneEnv} ${diffSharedFile}"
+ )
'';
})
diff --git a/nixos/tests/nexus.nix b/nixos/tests/nexus.nix
index 783c9f5c019ffaa8d36e281287b2e8d09b3d4664..1ec5c40476a68f158d40e9bf4c0d13ea7cda5a73 100644
--- a/nixos/tests/nexus.nix
+++ b/nixos/tests/nexus.nix
@@ -3,7 +3,7 @@
# 2. nexus service can startup on server (creating database and all other initial stuff)
# 3. the web application is reachable via HTTP
-import ./make-test.nix ({ pkgs, ...} : {
+import ./make-test-python.nix ({ pkgs, ...} : {
name = "nexus";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ ironpinguin ma27 ];
@@ -22,11 +22,11 @@ import ./make-test.nix ({ pkgs, ...} : {
};
testScript = ''
- startAll;
+ start_all()
- $server->waitForUnit("nexus");
- $server->waitForOpenPort(8081);
+ server.wait_for_unit("nexus")
+ server.wait_for_open_port(8081)
- $server->succeed("curl -f 127.0.0.1:8081");
+ server.succeed("curl -f 127.0.0.1:8081")
'';
})
diff --git a/nixos/tests/nix-ssh-serve.nix b/nixos/tests/nix-ssh-serve.nix
index 494d55121eb120c8cdee1395d6c6b277d1d0b86a..03f83542c7c113f70b471cf343e9367ee4cd2863 100644
--- a/nixos/tests/nix-ssh-serve.nix
+++ b/nixos/tests/nix-ssh-serve.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, lib, ... }:
+import ./make-test-python.nix ({ pkgs, lib, ... }:
let inherit (import ./ssh-keys.nix pkgs)
snakeOilPrivateKey snakeOilPublicKey;
ssh-config = builtins.toFile "ssh.conf" ''
@@ -18,22 +18,28 @@ in
client.nix.package = pkgs.nix;
};
testScript = ''
- startAll;
+ start_all()
- $client->succeed("mkdir -m 700 /root/.ssh");
- $client->copyFileFromHost("${ssh-config}", "/root/.ssh/config");
- $client->succeed("cat ${snakeOilPrivateKey} > /root/.ssh/id_ecdsa");
- $client->succeed("chmod 600 /root/.ssh/id_ecdsa");
+ client.succeed("mkdir -m 700 /root/.ssh")
+ client.succeed(
+ "cat ${ssh-config} > /root/.ssh/config"
+ )
+ client.succeed(
+ "cat ${snakeOilPrivateKey} > /root/.ssh/id_ecdsa"
+ )
+ client.succeed("chmod 600 /root/.ssh/id_ecdsa")
- $client->succeed("nix-store --add /etc/machine-id > mach-id-path");
+ client.succeed("nix-store --add /etc/machine-id > mach-id-path")
- $server->waitForUnit("sshd");
+ server.wait_for_unit("sshd")
- $client->fail("diff /root/other-store\$(cat mach-id-path) /etc/machine-id");
+ client.fail("diff /root/other-store$(cat mach-id-path) /etc/machine-id")
# Currently due to shared store this is a noop :(
- $client->succeed("nix copy --to ssh-ng://nix-ssh\@server \$(cat mach-id-path)");
- $client->succeed("nix-store --realise \$(cat mach-id-path) --store /root/other-store --substituters ssh-ng://nix-ssh\@server");
- $client->succeed("diff /root/other-store\$(cat mach-id-path) /etc/machine-id");
+ client.succeed("nix copy --to ssh-ng://nix-ssh@server $(cat mach-id-path)")
+ client.succeed(
+ "nix-store --realise $(cat mach-id-path) --store /root/other-store --substituters ssh-ng://nix-ssh@server"
+ )
+ client.succeed("diff /root/other-store$(cat mach-id-path) /etc/machine-id")
'';
}
)
diff --git a/nixos/tests/osquery.nix b/nixos/tests/osquery.nix
deleted file mode 100644
index d95871ffafc6f87105fd1caf5d12d4119e4846a0..0000000000000000000000000000000000000000
--- a/nixos/tests/osquery.nix
+++ /dev/null
@@ -1,28 +0,0 @@
-import ./make-test.nix ({ pkgs, lib, ... }:
-
-with lib;
-
-{
- name = "osquery";
- meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ ma27 ];
- };
-
- machine = {
- services.osquery.enable = true;
- services.osquery.loggerPath = "/var/log/osquery/logs";
- services.osquery.pidfile = "/run/osqueryd.pid";
- };
-
- testScript = ''
- $machine->start;
- $machine->waitForUnit("osqueryd.service");
-
- $machine->succeed("echo 'SELECT address FROM etc_hosts LIMIT 1;' | osqueryi | grep '127.0.0.1'");
- $machine->succeed(
- "echo 'SELECT value FROM osquery_flags WHERE name = \"logger_path\";' | osqueryi | grep /var/log/osquery/logs"
- );
-
- $machine->succeed("echo 'SELECT value FROM osquery_flags WHERE name = \"pidfile\";' | osqueryi | grep /run/osqueryd.pid");
- '';
-})
diff --git a/nixos/tests/pantheon.nix b/nixos/tests/pantheon.nix
index 9888887ee8b54e6931d11fb61271047929b6cdb7..c0434f20754cecf0eca42c2b7cdc468af299279c 100644
--- a/nixos/tests/pantheon.nix
+++ b/nixos/tests/pantheon.nix
@@ -1,9 +1,10 @@
-import ./make-test.nix ({ pkgs, ...} :
+import ./make-test-python.nix ({ pkgs, ...} :
{
name = "pantheon";
+
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ worldofpeace ];
+ maintainers = pkgs.pantheon.maintainers;
};
machine = { ... }:
@@ -21,35 +22,38 @@ import ./make-test.nix ({ pkgs, ...} :
testScript = { nodes, ... }: let
user = nodes.machine.config.users.users.alice;
+ bob = nodes.machine.config.users.users.bob;
in ''
- startAll;
-
- # Wait for display manager to start
- $machine->waitForText(qr/${user.description}/);
- $machine->screenshot("lightdm");
-
- # Log in
- $machine->sendChars("${user.password}\n");
- $machine->waitForFile("/home/alice/.Xauthority");
- $machine->succeed("xauth merge ~alice/.Xauthority");
-
- # Check if "pantheon-shell" components actually start
- $machine->waitUntilSucceeds("pgrep gala");
- $machine->waitForWindow(qr/gala/);
- $machine->waitUntilSucceeds("pgrep wingpanel");
- $machine->waitForWindow("wingpanel");
- $machine->waitUntilSucceeds("pgrep plank");
- $machine->waitForWindow(qr/plank/);
-
- # Check that logging in has given the user ownership of devices.
- $machine->succeed("getfacl -p /dev/snd/timer | grep -q alice");
-
- # Open elementary terminal
- $machine->execute("su - alice -c 'DISPLAY=:0.0 io.elementary.terminal &'");
- $machine->waitForWindow(qr/io.elementary.terminal/);
-
- # Take a screenshot of the desktop
- $machine->sleep(20);
- $machine->screenshot("screen");
+ machine.wait_for_unit("display-manager.service")
+
+ with subtest("Test we can see usernames in elementary-greeter"):
+ machine.wait_for_text("${user.description}")
+ # OCR was struggling with this one.
+ # machine.wait_for_text("${bob.description}")
+ machine.screenshot("elementary_greeter_lightdm")
+
+ with subtest("Login with elementary-greeter"):
+ machine.send_chars("${user.password}\n")
+ machine.wait_for_x()
+ machine.wait_for_file("${user.home}/.Xauthority")
+ machine.succeed("xauth merge ${user.home}/.Xauthority")
+
+ with subtest("Check that logging in has given the user ownership of devices"):
+ machine.succeed("getfacl -p /dev/snd/timer | grep -q ${user.name}")
+
+ # TODO: DBus API could eliminate this? Pantheon uses Bamf.
+ with subtest("Check if pantheon session components actually start"):
+ machine.wait_until_succeeds("pgrep gala")
+ machine.wait_for_window("gala")
+ machine.wait_until_succeeds("pgrep wingpanel")
+ machine.wait_for_window("wingpanel")
+ machine.wait_until_succeeds("pgrep plank")
+ machine.wait_for_window("plank")
+
+ with subtest("Open elementary terminal"):
+ machine.execute("su - ${user.name} -c 'DISPLAY=:0 io.elementary.terminal &'")
+ machine.wait_for_window("io.elementary.terminal")
+ machine.sleep(20)
+ machine.screenshot("screen")
'';
})
diff --git a/nixos/tests/plasma5.nix b/nixos/tests/plasma5.nix
index 614fc9bf316ec7a1b8e6d886ed7b3d2043b084b4..6884f17aabbe803f32262eefad48aac367233fa8 100644
--- a/nixos/tests/plasma5.nix
+++ b/nixos/tests/plasma5.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, ...} :
+import ./make-test-python.nix ({ pkgs, ...} :
{
name = "plasma5";
@@ -7,23 +7,11 @@ import ./make-test.nix ({ pkgs, ...} :
};
machine = { ... }:
- let
- sddm_theme = pkgs.stdenv.mkDerivation {
- name = "breeze-ocr-theme";
- phases = "buildPhase";
- buildCommand = ''
- mkdir -p $out/share/sddm/themes/
- cp -r ${pkgs.plasma-workspace}/share/sddm/themes/breeze $out/share/sddm/themes/breeze-ocr-theme
- chmod -R +w $out/share/sddm/themes/breeze-ocr-theme
- printf "[General]\ntype=color\ncolor=#1d99f3\nbackground=\n" > $out/share/sddm/themes/breeze-ocr-theme/theme.conf
- '';
- };
- in
+
{
imports = [ ./common/user-account.nix ];
services.xserver.enable = true;
services.xserver.displayManager.sddm.enable = true;
- services.xserver.displayManager.sddm.theme = "breeze-ocr-theme";
services.xserver.desktopManager.plasma5.enable = true;
services.xserver.desktopManager.default = "plasma5";
services.xserver.displayManager.sddm.autoLogin = {
@@ -32,34 +20,40 @@ import ./make-test.nix ({ pkgs, ...} :
};
hardware.pulseaudio.enable = true; # needed for the factl test, /dev/snd/* exists without them but udev doesn't care then
virtualisation.memorySize = 1024;
- environment.systemPackages = [ sddm_theme ];
};
testScript = { nodes, ... }: let
user = nodes.machine.config.users.users.alice;
xdo = "${pkgs.xdotool}/bin/xdotool";
in ''
- startAll;
- # wait for log in
- $machine->waitForFile("/home/alice/.Xauthority");
- $machine->succeed("xauth merge ~alice/.Xauthority");
-
- $machine->waitUntilSucceeds("pgrep plasmashell");
- $machine->waitForWindow("^Desktop ");
-
- # Check that logging in has given the user ownership of devices.
- $machine->succeed("getfacl -p /dev/snd/timer | grep -q alice");
-
- $machine->execute("su - alice -c 'DISPLAY=:0.0 dolphin &'");
- $machine->waitForWindow(" Dolphin");
-
- $machine->execute("su - alice -c 'DISPLAY=:0.0 konsole &'");
- $machine->waitForWindow("Konsole");
-
- $machine->execute("su - alice -c 'DISPLAY=:0.0 systemsettings5 &'");
- $machine->waitForWindow("Settings");
-
- $machine->execute("${xdo} key Alt+F1 sleep 10");
- $machine->screenshot("screen");
+ with subtest("Wait for login"):
+ start_all()
+ machine.wait_for_file("${user.home}/.Xauthority")
+ machine.succeed("xauth merge ${user.home}/.Xauthority")
+
+ with subtest("Check plasmashell started"):
+ machine.wait_until_succeeds("pgrep plasmashell")
+ machine.wait_for_window("^Desktop ")
+
+ with subtest("Check that logging in has given the user ownership of devices"):
+ machine.succeed("getfacl -p /dev/snd/timer | grep -q ${user.name}")
+
+ with subtest("Run Dolphin"):
+ machine.execute("su - ${user.name} -c 'DISPLAY=:0.0 dolphin &'")
+ machine.wait_for_window(" Dolphin")
+
+ with subtest("Run Konsole"):
+ machine.execute("su - ${user.name} -c 'DISPLAY=:0.0 konsole &'")
+ machine.wait_for_window("Konsole")
+
+ with subtest("Run systemsettings"):
+ machine.execute("su - ${user.name} -c 'DISPLAY=:0.0 systemsettings5 &'")
+ machine.wait_for_window("Settings")
+
+ with subtest("Wait to get a screenshot"):
+ machine.execute(
+ "${xdo} key Alt+F1 sleep 10"
+ )
+ machine.screenshot("screen")
'';
})
diff --git a/nixos/tests/predictable-interface-names.nix b/nixos/tests/predictable-interface-names.nix
index 194b4dafa772ec5877693f45bcdffa2ec2d563b7..83883477a5ccf9081f6dc2224ea60d2f13b01bb0 100644
--- a/nixos/tests/predictable-interface-names.nix
+++ b/nixos/tests/predictable-interface-names.nix
@@ -4,7 +4,7 @@
}:
let
- inherit (import ../lib/testing.nix { inherit system pkgs; }) makeTest;
+ inherit (import ../lib/testing-python.nix { inherit system pkgs; }) makeTest;
in pkgs.lib.listToAttrs (pkgs.lib.crossLists (predictable: withNetworkd: {
name = pkgs.lib.optionalString (!predictable) "un" + "predictable"
+ pkgs.lib.optionalString withNetworkd "Networkd";
@@ -20,8 +20,8 @@ in pkgs.lib.listToAttrs (pkgs.lib.crossLists (predictable: withNetworkd: {
};
testScript = ''
- print $machine->succeed("ip link");
- $machine->${if predictable then "fail" else "succeed"}("ip link show eth0 ");
+ print(machine.succeed("ip link"))
+ machine.${if predictable then "fail" else "succeed"}("ip link show eth0")
'';
};
}) [[true false] [true false]])
diff --git a/nixos/tests/prometheus.nix b/nixos/tests/prometheus.nix
index 52f61046be39c93a3ae830fd74070abd25972dc7..8bfd0c131e61046411b921ff7b0647c7bf5a031a 100644
--- a/nixos/tests/prometheus.nix
+++ b/nixos/tests/prometheus.nix
@@ -31,7 +31,7 @@ let
};
};
-in import ./make-test.nix {
+in import ./make-test-python.nix {
name = "prometheus";
nodes = {
@@ -173,67 +173,73 @@ in import ./make-test.nix {
testScript = { nodes, ... } : ''
# Before starting the other machines we first make sure that our S3 service is online
# and has a bucket added for thanos:
- $s3->start;
- $s3->waitForUnit("minio.service");
- $s3->waitForOpenPort(${toString minioPort});
- $s3->succeed(
- "mc config host add minio " .
- "http://localhost:${toString minioPort} ${s3.accessKey} ${s3.secretKey} S3v4");
- $s3->succeed("mc mb minio/thanos-bucket");
+ s3.start()
+ s3.wait_for_unit("minio.service")
+ s3.wait_for_open_port(${toString minioPort})
+ s3.succeed(
+ "mc config host add minio "
+ + "http://localhost:${toString minioPort} "
+ + "${s3.accessKey} ${s3.secretKey} S3v4",
+ "mc mb minio/thanos-bucket",
+ )
# Now that s3 has started we can start the other machines:
- $prometheus->start;
- $query->start;
- $store->start;
+ for machine in prometheus, query, store:
+ machine.start()
# Check if prometheus responds to requests:
- $prometheus->waitForUnit("prometheus.service");
- $prometheus->waitForOpenPort(${toString queryPort});
- $prometheus->succeed("curl -s http://127.0.0.1:${toString queryPort}/metrics");
+ prometheus.wait_for_unit("prometheus.service")
+ prometheus.wait_for_open_port(${toString queryPort})
+ prometheus.succeed("curl -s http://127.0.0.1:${toString queryPort}/metrics")
# Let's test if pushing a metric to the pushgateway succeeds:
- $prometheus->waitForUnit("pushgateway.service");
- $prometheus->succeed(
- "echo 'some_metric 3.14' | " .
- "curl --data-binary \@- http://127.0.0.1:${toString pushgwPort}/metrics/job/some_job");
+ prometheus.wait_for_unit("pushgateway.service")
+ prometheus.succeed(
+ "echo 'some_metric 3.14' | "
+ + "curl --data-binary \@- "
+ + "http://127.0.0.1:${toString pushgwPort}/metrics/job/some_job"
+ )
# Now check whether that metric gets ingested by prometheus.
# Since we'll check for the metric several times on different machines
# we abstract the test using the following function:
# Function to check if the metric "some_metric" has been received and returns the correct value.
- local *Machine::waitForMetric = sub {
- my ($self) = @_;
- $self->waitUntilSucceeds(
- "curl -sf 'http://127.0.0.1:${toString queryPort}/api/v1/query?query=some_metric' " .
- "| jq '.data.result[0].value[1]' | grep '\"3.14\"'");
- };
+ def wait_for_metric(machine):
+ return machine.wait_until_succeeds(
+ "curl -sf 'http://127.0.0.1:${toString queryPort}/api/v1/query?query=some_metric' | "
+ + "jq '.data.result[0].value[1]' | grep '\"3.14\"'"
+ )
+
- $prometheus->waitForMetric;
+ wait_for_metric(prometheus)
# Let's test if the pushgateway persists metrics to the configured location.
- $prometheus->waitUntilSucceeds("test -e /var/lib/prometheus-pushgateway/metrics");
+ prometheus.wait_until_succeeds("test -e /var/lib/prometheus-pushgateway/metrics")
# Test thanos
- $prometheus->waitForUnit("thanos-sidecar.service");
+ prometheus.wait_for_unit("thanos-sidecar.service")
# Test if the Thanos query service can correctly retrieve the metric that was send above.
- $query->waitForUnit("thanos-query.service");
- $query->waitForMetric;
+ query.wait_for_unit("thanos-query.service")
+ wait_for_metric(query)
# Test if the Thanos sidecar has correctly uploaded its TSDB to S3, if the
# Thanos storage service has correctly downloaded it from S3 and if the Thanos
# query service running on $store can correctly retrieve the metric:
- $store->waitForUnit("thanos-store.service");
- $store->waitForMetric;
+ store.wait_for_unit("thanos-store.service")
+ wait_for_metric(store)
- $store->waitForUnit("thanos-compact.service");
+ store.wait_for_unit("thanos-compact.service")
# Test if the Thanos bucket command is able to retrieve blocks from the S3 bucket
# and check if the blocks have the correct labels:
- $store->succeed(
- "thanos bucket ls" .
- " --objstore.config-file=${nodes.store.config.services.thanos.store.objstore.config-file}" .
- " --output=json | jq .thanos.labels.some_label | grep 'required by thanos'");
+ store.succeed(
+ "thanos bucket ls "
+ + "--objstore.config-file=${nodes.store.config.services.thanos.store.objstore.config-file} "
+ + "--output=json | "
+ + "jq .thanos.labels.some_label | "
+ + "grep 'required by thanos'"
+ )
'';
}
diff --git a/nixos/tests/rabbitmq.nix b/nixos/tests/rabbitmq.nix
index bb5932c364177c6a04a22c265c9e29e843cf8fdf..8e7f34d06e32e54935ad55e81c8546b021b74ec6 100644
--- a/nixos/tests/rabbitmq.nix
+++ b/nixos/tests/rabbitmq.nix
@@ -1,21 +1,21 @@
# This test runs rabbitmq and checks if rabbitmq is up and running.
-import ./make-test.nix ({ pkgs, ... }: {
+import ./make-test-python.nix ({ pkgs, ... }: {
name = "rabbitmq";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ eelco offline ];
};
- nodes = {
- one = { ... }: {
- services.rabbitmq.enable = true;
- };
+ machine = {
+ services.rabbitmq.enable = true;
};
testScript = ''
- startAll;
+ machine.start()
- $one->waitForUnit("rabbitmq.service");
- $one->waitUntilSucceeds("su -s ${pkgs.stdenv.shell} rabbitmq -c \"rabbitmqctl status\"");
+ machine.wait_for_unit("rabbitmq.service")
+ machine.wait_until_succeeds(
+ 'su -s ${pkgs.stdenv.shell} rabbitmq -c "rabbitmqctl status"'
+ )
'';
})
diff --git a/nixos/tests/roundcube.nix b/nixos/tests/roundcube.nix
index 4dccb411ff4ca171990a8498c5bcac9ef40b3f19..1897b53e283a0e0d7b06819ac94e36be93c15287 100644
--- a/nixos/tests/roundcube.nix
+++ b/nixos/tests/roundcube.nix
@@ -21,11 +21,10 @@ import ./make-test-python.nix ({ pkgs, ...} : {
};
testScript = ''
- $roundcube->start;
- $roundcube->waitForUnit("postgresql.service");
- $roundcube->waitForUnit("roundcube-setup.service");
- $roundcube->waitForUnit("phpfpm-roundcube.service");
- $roundcube->waitForUnit("nginx.service");
- $roundcube->succeed("curl -sSfL http://roundcube/ | grep 'Keep me logged in'");
+ roundcube.start
+ roundcube.wait_for_unit("postgresql.service")
+ roundcube.wait_for_unit("phpfpm-roundcube.service")
+ roundcube.wait_for_unit("nginx.service")
+ roundcube.succeed("curl -sSfL http://roundcube/ | grep 'Keep me logged in'")
'';
})
diff --git a/nixos/tests/sudo.nix b/nixos/tests/sudo.nix
index fc16b99cc19ca08c0e8612b7323daaac6c6239d6..5bbec3d5726915e34eb480356d45f4d6da1b910d 100644
--- a/nixos/tests/sudo.nix
+++ b/nixos/tests/sudo.nix
@@ -4,7 +4,7 @@ let
password = "helloworld";
in
- import ./make-test.nix ({ pkgs, ...} : {
+ import ./make-test-python.nix ({ pkgs, ...} : {
name = "sudo";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ lschuermann ];
@@ -50,44 +50,34 @@ in
testScript =
''
- subtest "users in wheel group should have passwordless sudo", sub {
- $machine->succeed("su - test0 -c \"sudo -u root true\"");
- };
+ with subtest("users in wheel group should have passwordless sudo"):
+ machine.succeed('su - test0 -c "sudo -u root true"')
- subtest "test1 user should have sudo with password", sub {
- $machine->succeed("su - test1 -c \"echo ${password} | sudo -S -u root true\"");
- };
+ with subtest("test1 user should have sudo with password"):
+ machine.succeed('su - test1 -c "echo ${password} | sudo -S -u root true"')
- subtest "test1 user should not be able to use sudo without password", sub {
- $machine->fail("su - test1 -c \"sudo -n -u root true\"");
- };
+ with subtest("test1 user should not be able to use sudo without password"):
+ machine.fail('su - test1 -c "sudo -n -u root true"')
- subtest "users in group 'foobar' should be able to use sudo with password", sub {
- $machine->succeed("sudo -u test2 echo ${password} | sudo -S -u root true");
- };
+ with subtest("users in group 'foobar' should be able to use sudo with password"):
+ machine.succeed("sudo -u test2 echo ${password} | sudo -S -u root true")
- subtest "users in group 'barfoo' should be able to use sudo without password", sub {
- $machine->succeed("sudo -u test3 sudo -n -u root true");
- };
+ with subtest("users in group 'barfoo' should be able to use sudo without password"):
+ machine.succeed("sudo -u test3 sudo -n -u root true")
- subtest "users in group 'baz' (GID 1337) should be able to use sudo without password", sub {
- $machine->succeed("sudo -u test4 sudo -n -u root echo true");
- };
+ with subtest("users in group 'baz' (GID 1337)"):
+ machine.succeed("sudo -u test4 sudo -n -u root echo true")
- subtest "test5 user should be able to run commands under test1", sub {
- $machine->succeed("sudo -u test5 sudo -n -u test1 true");
- };
+ with subtest("test5 user should be able to run commands under test1"):
+ machine.succeed("sudo -u test5 sudo -n -u test1 true")
- subtest "test5 user should not be able to run commands under root", sub {
- $machine->fail("sudo -u test5 sudo -n -u root true");
- };
+ with subtest("test5 user should not be able to run commands under root"):
+ machine.fail("sudo -u test5 sudo -n -u root true")
- subtest "test5 user should be able to keep his environment", sub {
- $machine->succeed("sudo -u test5 sudo -n -E -u test1 true");
- };
+ with subtest("test5 user should be able to keep his environment"):
+ machine.succeed("sudo -u test5 sudo -n -E -u test1 true")
- subtest "users in group 'barfoo' should not be able to keep their environment", sub {
- $machine->fail("sudo -u test3 sudo -n -E -u root true");
- };
+ with subtest("users in group 'barfoo' should not be able to keep their environment"):
+ machine.fail("sudo -u test3 sudo -n -E -u root true")
'';
})
diff --git a/nixos/tests/syncthing-init.nix b/nixos/tests/syncthing-init.nix
index 0de76b688bdc6a4a3fe7c8c4b0697b48b7d7937a..9c8e0a3d087efe184ba13b43bc4aa396c733c3d5 100644
--- a/nixos/tests/syncthing-init.nix
+++ b/nixos/tests/syncthing-init.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ lib, pkgs, ... }: let
+import ./make-test-python.nix ({ lib, pkgs, ... }: let
testId = "7CFNTQM-IMTJBHJ-3UWRDIU-ZGQJFR6-VCXZ3NB-XUH3KZO-N52ITXR-LAIYUAU";
@@ -22,13 +22,11 @@ in {
};
testScript = ''
- my $config;
-
- $machine->waitForUnit("syncthing-init.service");
- $config = $machine->succeed("cat /var/lib/syncthing/.config/syncthing/config.xml");
+ machine.wait_for_unit("syncthing-init.service")
+ config = machine.succeed("cat /var/lib/syncthing/.config/syncthing/config.xml")
- $config =~ /${testId}/ or die;
- $config =~ /testFolder/ or die;
+ assert "testFolder" in config
+ assert "${testId}" in config
'';
})
diff --git a/nixos/tests/syncthing-relay.nix b/nixos/tests/syncthing-relay.nix
index f1ceb49933374420971e9f1e5c62c8d4ce81b15f..cd72ef1cbe1de4ad73202ea38d3698e036703bd3 100644
--- a/nixos/tests/syncthing-relay.nix
+++ b/nixos/tests/syncthing-relay.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ lib, pkgs, ... }: {
+import ./make-test-python.nix ({ lib, pkgs, ... }: {
name = "syncthing-relay";
meta.maintainers = with pkgs.stdenv.lib.maintainers; [ delroth ];
@@ -14,9 +14,13 @@ import ./make-test.nix ({ lib, pkgs, ... }: {
};
testScript = ''
- $machine->waitForUnit("syncthing-relay.service");
- $machine->waitForOpenPort(12345);
- $machine->waitForOpenPort(12346);
- $machine->succeed("curl http://localhost:12346/status | jq -r '.options.\"provided-by\"'") =~ /nixos-test/ or die;
+ machine.wait_for_unit("syncthing-relay.service")
+ machine.wait_for_open_port(12345)
+ machine.wait_for_open_port(12346)
+
+ out = machine.succeed(
+ "curl -sS http://localhost:12346/status | jq -r '.options.\"provided-by\"'"
+ )
+ assert "nixos-test" in out
'';
})
diff --git a/nixos/tests/systemd-networkd-wireguard.nix b/nixos/tests/systemd-networkd-wireguard.nix
index aa0ac54e79696a3efb7c42daa5ef4c953d0c1e1c..be5c0da981d2d84a807a99dfb816cf2b09112e77 100644
--- a/nixos/tests/systemd-networkd-wireguard.nix
+++ b/nixos/tests/systemd-networkd-wireguard.nix
@@ -1,4 +1,4 @@
-let generateNodeConf = { lib, pkgs, config, privkpath, pubk, peerId, nodeId, ...}: {
+let generateNodeConf = { lib, pkgs, config, privk, pubk, peerId, nodeId, ...}: {
imports = [ common/user-account.nix ];
systemd.services.systemd-networkd.environment.SYSTEMD_LOG_LEVEL = "debug";
networking.useNetworkd = true;
@@ -7,13 +7,16 @@ let generateNodeConf = { lib, pkgs, config, privkpath, pubk, peerId, nodeId, ...
virtualisation.vlans = [ 1 ];
environment.systemPackages = with pkgs; [ wireguard-tools ];
boot.extraModulePackages = [ config.boot.kernelPackages.wireguard ];
+ systemd.tmpfiles.rules = [
+ "f /run/wg_priv 0640 root systemd-network - ${privk}"
+ ];
systemd.network = {
enable = true;
netdevs = {
"90-wg0" = {
netdevConfig = { Kind = "wireguard"; Name = "wg0"; };
wireguardConfig = {
- PrivateKeyFile = privkpath ;
+ PrivateKeyFile = "/run/wg_priv";
ListenPort = 51820;
FwMark = 42;
};
@@ -45,7 +48,7 @@ let generateNodeConf = { lib, pkgs, config, privkpath, pubk, peerId, nodeId, ...
};
};
};
-in import ./make-test.nix ({pkgs, ... }: {
+in import ./make-test-python.nix ({pkgs, ... }: {
name = "networkd-wireguard";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ ninjatrappeur ];
@@ -53,7 +56,7 @@ in import ./make-test.nix ({pkgs, ... }: {
nodes = {
node1 = { pkgs, ... }@attrs:
let localConf = {
- privkpath = pkgs.writeText "priv.key" "GDiXWlMQKb379XthwX0haAbK6hTdjblllpjGX0heP00=";
+ privk = "GDiXWlMQKb379XthwX0haAbK6hTdjblllpjGX0heP00=";
pubk = "iRxpqj42nnY0Qz8MAQbSm7bXxXP5hkPqWYIULmvW+EE=";
nodeId = "1";
peerId = "2";
@@ -62,7 +65,7 @@ in import ./make-test.nix ({pkgs, ... }: {
node2 = { pkgs, ... }@attrs:
let localConf = {
- privkpath = pkgs.writeText "priv.key" "eHxSI2jwX/P4AOI0r8YppPw0+4NZnjOxfbS5mt06K2k=";
+ privk = "eHxSI2jwX/P4AOI0r8YppPw0+4NZnjOxfbS5mt06K2k=";
pubk = "27s0OvaBBdHoJYkH9osZpjpgSOVNw+RaKfboT/Sfq0g=";
nodeId = "2";
peerId = "1";
@@ -70,12 +73,12 @@ in import ./make-test.nix ({pkgs, ... }: {
in generateNodeConf (attrs // localConf);
};
testScript = ''
- startAll;
- $node1->waitForUnit('systemd-networkd-wait-online.service');
- $node2->waitForUnit('systemd-networkd-wait-online.service');
- $node1->succeed('ping -c 5 10.0.0.2');
- $node2->succeed('ping -c 5 10.0.0.1');
+ start_all()
+ node1.wait_for_unit("systemd-networkd-wait-online.service")
+ node2.wait_for_unit("systemd-networkd-wait-online.service")
+ node1.succeed("ping -c 5 10.0.0.2")
+ node2.succeed("ping -c 5 10.0.0.1")
# Is the fwmark set?
- $node2->succeed('wg | grep -q 42');
+ node2.succeed("wg | grep -q 42")
'';
})
diff --git a/nixos/tests/systemd-nspawn.nix b/nixos/tests/systemd-nspawn.nix
index c2039bb5980c902292c4910cfcaffeda48fa719e..5bf55060d2e03c3baafd6b0bb3a6e631aebc49bc 100644
--- a/nixos/tests/systemd-nspawn.nix
+++ b/nixos/tests/systemd-nspawn.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({pkgs, lib, ...}:
+import ./make-test-python.nix ({pkgs, lib, ...}:
let
gpgKeyring = (pkgs.runCommand "gpg-keyring" { buildInputs = [ pkgs.gnupg ]; } ''
mkdir -p $out
@@ -32,7 +32,7 @@ let
gpg --batch --sign --detach-sign --output SHA256SUMS.gpg SHA256SUMS
'');
in {
- name = "opensmtpd";
+ name = "systemd-nspawn";
nodes = {
server = { pkgs, ... }: {
@@ -48,11 +48,13 @@ in {
};
testScript = ''
- startAll;
+ start_all()
- $server->waitForUnit("nginx.service");
- $client->waitForUnit("network-online.target");
- $client->succeed("machinectl pull-raw --verify=signature http://server/testimage.raw");
- $client->succeed("cmp /var/lib/machines/testimage.raw ${nspawnImages}/testimage.raw");
+ server.wait_for_unit("nginx.service")
+ client.wait_for_unit("network-online.target")
+ client.succeed("machinectl pull-raw --verify=signature http://server/testimage.raw")
+ client.succeed(
+ "cmp /var/lib/machines/testimage.raw ${nspawnImages}/testimage.raw"
+ )
'';
})
diff --git a/nixos/tests/uwsgi.nix b/nixos/tests/uwsgi.nix
index afc03e74ed7e309e7f04647537f3db6f753ed4b5..78a87147f55cd93ede3cec18cab0e19f8599dd62 100644
--- a/nixos/tests/uwsgi.nix
+++ b/nixos/tests/uwsgi.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, ... }:
+import ./make-test-python.nix ({ pkgs, ... }:
{
name = "uwsgi";
meta = with pkgs.stdenv.lib.maintainers; {
@@ -30,9 +30,9 @@ import ./make-test.nix ({ pkgs, ... }:
testScript =
''
- $machine->waitForUnit('multi-user.target');
- $machine->waitForUnit('uwsgi.service');
- $machine->waitForOpenPort(8000);
- $machine->succeed('curl -v 127.0.0.1:8000 | grep "Hello World!"');
+ machine.wait_for_unit("multi-user.target")
+ machine.wait_for_unit("uwsgi.service")
+ machine.wait_for_open_port(8000)
+ assert "Hello World" in machine.succeed("curl -v 127.0.0.1:8000")
'';
})
diff --git a/nixos/tests/wordpress.nix b/nixos/tests/wordpress.nix
index c6acfa6c1f3d51f61df6b71ffba96063475b93a3..b7449859f7e6229083b2bcab5c0e8e868a8aea0b 100644
--- a/nixos/tests/wordpress.nix
+++ b/nixos/tests/wordpress.nix
@@ -1,9 +1,13 @@
-import ./make-test.nix ({ pkgs, ... }:
+import ./make-test-python.nix ({ pkgs, ... }:
{
name = "wordpress";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ grahamc ]; # under duress!
+ maintainers = [
+ flokli
+ grahamc # under duress!
+ mmilata
+ ];
};
machine =
@@ -23,19 +27,31 @@ import ./make-test.nix ({ pkgs, ... }:
};
testScript = ''
- startAll;
+ import re
- $machine->waitForUnit("httpd");
- $machine->waitForUnit("phpfpm-wordpress-site1.local");
- $machine->waitForUnit("phpfpm-wordpress-site2.local");
+ start_all()
- $machine->succeed("curl -L site1.local | grep 'Welcome to the famous'");
- $machine->succeed("curl -L site2.local | grep 'Welcome to the famous'");
+ machine.wait_for_unit("httpd")
- $machine->succeed("systemctl --no-pager show wordpress-init-site1.local.service | grep 'ExecStart=.*status=0'");
- $machine->succeed("systemctl --no-pager show wordpress-init-site2.local.service | grep 'ExecStart=.*status=0'");
- $machine->succeed("grep -E '^define.*NONCE_SALT.{64,};\$' /var/lib/wordpress/site1.local/secret-keys.php");
- $machine->succeed("grep -E '^define.*NONCE_SALT.{64,};\$' /var/lib/wordpress/site2.local/secret-keys.php");
- '';
+ machine.wait_for_unit("phpfpm-wordpress-site1.local")
+ machine.wait_for_unit("phpfpm-wordpress-site2.local")
+
+ site_names = ["site1.local", "site2.local"]
+
+ with subtest("website returns welcome screen"):
+ for site_name in site_names:
+ assert "Welcome to the famous" in machine.succeed(f"curl -L {site_name}")
+ with subtest("wordpress-init went through"):
+ for site_name in site_names:
+ info = machine.get_unit_info(f"wordpress-init-{site_name}")
+ assert info["Result"] == "success"
+
+ with subtest("secret keys are set"):
+ pattern = re.compile(r"^define.*NONCE_SALT.{64,};$", re.MULTILINE)
+ for site_name in site_names:
+ assert pattern.search(
+ machine.succeed(f"cat /var/lib/wordpress/{site_name}/secret-keys.php")
+ )
+ '';
})
diff --git a/nixos/tests/xmpp/ejabberd.nix b/nixos/tests/xmpp/ejabberd.nix
index 196a04aca3000988237431e076d5347d2f75f2cd..1518aaacc8abb915879d1a57fb5b8de6bf274481 100644
--- a/nixos/tests/xmpp/ejabberd.nix
+++ b/nixos/tests/xmpp/ejabberd.nix
@@ -1,4 +1,4 @@
-import ../make-test.nix ({ pkgs, ... }: {
+import ../make-test-python.nix ({ pkgs, ... }: {
name = "ejabberd";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ ajs124 ];
@@ -248,13 +248,21 @@ import ../make-test.nix ({ pkgs, ... }: {
};
testScript = { nodes, ... }: ''
- $server->waitForUnit('ejabberd.service');
- $server->succeed('su ejabberd -s $(which ejabberdctl) status|grep started') =~ /ejabberd is running/;
- $server->succeed('su ejabberd -s $(which ejabberdctl) register azurediamond example.com hunter2');
- $server->succeed('su ejabberd -s $(which ejabberdctl) register cthon98 example.com nothunter2');
- $server->fail('su ejabberd -s $(which ejabberdctl) register asdf wrong.domain');
- $client->succeed('send-message');
- $server->succeed('su ejabberd -s $(which ejabberdctl) unregister cthon98 example.com');
- $server->succeed('su ejabberd -s $(which ejabberdctl) unregister azurediamond example.com');
+ ejabberd_prefix = "su ejabberd -s $(which ejabberdctl) "
+
+ server.wait_for_unit("ejabberd.service")
+
+ assert "status: started" in server.succeed(ejabberd_prefix + "status")
+
+ server.succeed(
+ ejabberd_prefix + "register azurediamond example.com hunter2",
+ ejabberd_prefix + "register cthon98 example.com nothunter2",
+ )
+ server.fail(ejabberd_prefix + "register asdf wrong.domain")
+ client.succeed("send-message")
+ server.succeed(
+ ejabberd_prefix + "unregister cthon98 example.com",
+ ejabberd_prefix + "unregister azurediamond example.com",
+ )
'';
})
diff --git a/nixos/tests/xmpp/prosody-mysql.nix b/nixos/tests/xmpp/prosody-mysql.nix
index 62b4a17421e5317d385f5b0d5658ad48858baf74..0507227021b227c6e890dbfcdc26096037eecbfd 100644
--- a/nixos/tests/xmpp/prosody-mysql.nix
+++ b/nixos/tests/xmpp/prosody-mysql.nix
@@ -1,4 +1,4 @@
-import ../make-test.nix {
+import ../make-test-python.nix {
name = "prosody-mysql";
nodes = {
@@ -57,21 +57,21 @@ import ../make-test.nix {
};
testScript = { nodes, ... }: ''
- $mysql->waitForUnit('mysql.service');
- $server->waitForUnit('prosody.service');
- $server->succeed('prosodyctl status') =~ /Prosody is running/;
+ mysql.wait_for_unit("mysql.service")
+ server.wait_for_unit("prosody.service")
+ server.succeed('prosodyctl status | grep "Prosody is running"')
# set password to 'nothunter2' (it's asked twice)
- $server->succeed('yes nothunter2 | prosodyctl adduser cthon98@example.com');
+ server.succeed("yes nothunter2 | prosodyctl adduser cthon98@example.com")
# set password to 'y'
- $server->succeed('yes | prosodyctl adduser azurediamond@example.com');
+ server.succeed("yes | prosodyctl adduser azurediamond@example.com")
# correct password to 'hunter2'
- $server->succeed('yes hunter2 | prosodyctl passwd azurediamond@example.com');
+ server.succeed("yes hunter2 | prosodyctl passwd azurediamond@example.com")
- $client->succeed("send-message");
+ client.succeed("send-message")
- $server->succeed('prosodyctl deluser cthon98@example.com');
- $server->succeed('prosodyctl deluser azurediamond@example.com');
+ server.succeed("prosodyctl deluser cthon98@example.com")
+ server.succeed("prosodyctl deluser azurediamond@example.com")
'';
}
diff --git a/nixos/tests/xmpp/prosody.nix b/nixos/tests/xmpp/prosody.nix
index 8331c7b6d3310bbf0013cd0cfcc4761e32bf16d6..9d1374bff6bd67d43b5a2b612da4d9477139cbb6 100644
--- a/nixos/tests/xmpp/prosody.nix
+++ b/nixos/tests/xmpp/prosody.nix
@@ -1,4 +1,4 @@
-import ../make-test.nix {
+import ../make-test-python.nix {
name = "prosody";
nodes = {
@@ -28,19 +28,19 @@ import ../make-test.nix {
};
testScript = { nodes, ... }: ''
- $server->waitForUnit('prosody.service');
- $server->succeed('prosodyctl status') =~ /Prosody is running/;
+ server.wait_for_unit("prosody.service")
+ server.succeed('prosodyctl status | grep "Prosody is running"')
# set password to 'nothunter2' (it's asked twice)
- $server->succeed('yes nothunter2 | prosodyctl adduser cthon98@example.com');
+ server.succeed("yes nothunter2 | prosodyctl adduser cthon98@example.com")
# set password to 'y'
- $server->succeed('yes | prosodyctl adduser azurediamond@example.com');
- # correct password to 'hunter2'
- $server->succeed('yes hunter2 | prosodyctl passwd azurediamond@example.com');
+ server.succeed("yes | prosodyctl adduser azurediamond@example.com")
+ # correct password to "hunter2"
+ server.succeed("yes hunter2 | prosodyctl passwd azurediamond@example.com")
- $client->succeed("send-message");
+ client.succeed("send-message")
- $server->succeed('prosodyctl deluser cthon98@example.com');
- $server->succeed('prosodyctl deluser azurediamond@example.com');
+ server.succeed("prosodyctl deluser cthon98@example.com")
+ server.succeed("prosodyctl deluser azurediamond@example.com")
'';
}
diff --git a/nixos/tests/xss-lock.nix b/nixos/tests/xss-lock.nix
index 0d757e8cef3fc341c75197670b6f37cf7ae88057..3a7dea07d53a5ff22f8b9809e02ac1b85e69dad3 100644
--- a/nixos/tests/xss-lock.nix
+++ b/nixos/tests/xss-lock.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, lib, ... }:
+import ./make-test-python.nix ({ pkgs, lib, ... }:
with lib;
@@ -26,15 +26,19 @@ with lib;
};
testScript = ''
- startAll;
-
- ${concatStringsSep "\n" (mapAttrsToList (name: lockCmd: ''
- ${"$"+name}->start;
- ${"$"+name}->waitForX;
- ${"$"+name}->waitForUnit("xss-lock.service", "alice");
- ${"$"+name}->fail("pgrep ${lockCmd}");
- ${"$"+name}->succeed("su -l alice -c 'xset dpms force standby'");
- ${"$"+name}->waitUntilSucceeds("pgrep ${lockCmd}");
- '') { simple = "i3lock"; custom_lockcmd = "xlock"; })}
+ def perform_xsslock_test(machine, lockCmd):
+ machine.start()
+ machine.wait_for_x()
+ machine.wait_for_unit("xss-lock.service", "alice")
+ machine.fail(f"pgrep {lockCmd}")
+ machine.succeed("su -l alice -c 'xset dpms force standby'")
+ machine.wait_until_succeeds(f"pgrep {lockCmd}")
+
+
+ with subtest("simple"):
+ perform_xsslock_test(simple, "i3lock")
+
+ with subtest("custom_cmd"):
+ perform_xsslock_test(custom_lockcmd, "xlock")
'';
})
diff --git a/nixos/tests/yggdrasil.nix b/nixos/tests/yggdrasil.nix
index 0ef42a0180c2d4ba97887377b8aa0418e2365ec9..468fcf67127404901f0ac8f38496253ba9e0e7e3 100644
--- a/nixos/tests/yggdrasil.nix
+++ b/nixos/tests/yggdrasil.nix
@@ -19,7 +19,7 @@ let
SigningPrivateKey = "2a6c21550f3fca0331df50668ffab66b6dce8237bcd5728e571e8033b363e247de111da0ec781e45bf6c63ecb45a78c24d7d4655abfaeea83b26c36eb5c0fd5b";
};
-in import ./make-test.nix ({ pkgs, ...} : {
+in import ./make-test-python.nix ({ pkgs, ...} : {
name = "yggdrasil";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ gazally ];
@@ -91,33 +91,35 @@ in import ./make-test.nix ({ pkgs, ...} : {
testScript =
''
+ import re
+
# Give Alice a head start so she is ready when Bob calls.
- $alice->start;
- $alice->waitForUnit("yggdrasil.service");
+ alice.start()
+ alice.wait_for_unit("yggdrasil.service")
- $bob->start;
- $carol->start;
- $bob->waitForUnit("yggdrasil.service");
- $carol->waitForUnit("yggdrasil.service");
+ bob.start()
+ carol.start()
+ bob.wait_for_unit("yggdrasil.service")
+ carol.wait_for_unit("yggdrasil.service")
- $carol->waitUntilSucceeds("[ `ip -o -6 addr show dev ygg0 scope global | grep -v tentative | wc -l` -ge 1 ]");
- my $carolIp6 = (split /[ \/]+/, $carol->succeed("ip -o -6 addr show dev ygg0 scope global"))[3];
+ ip_addr_show = "ip -o -6 addr show dev ygg0 scope global"
+ carol.wait_until_succeeds(f"[ `{ip_addr_show} | grep -v tentative | wc -l` -ge 1 ]")
+ carol_ip6 = re.split(" +|/", carol.succeed(ip_addr_show))[3]
# If Alice can talk to Carol, then Bob's outbound peering and Carol's
# local peering have succeeded and everybody is connected.
- $alice->waitUntilSucceeds("ping -c 1 $carolIp6");
- $alice->succeed("ping -c 1 ${bobIp6}");
-
- $bob->succeed("ping -c 1 ${aliceIp6}");
- $bob->succeed("ping -c 1 $carolIp6");
+ alice.wait_until_succeeds(f"ping -c 1 {carol_ip6}")
+ alice.succeed(f"ping -c 1 ${bobIp6}")
- $carol->succeed("ping -c 1 ${aliceIp6}");
- $carol->succeed("ping -c 1 ${bobIp6}");
+ bob.succeed("ping -c 1 ${aliceIp6}")
+ bob.succeed(f"ping -c 1 {carol_ip6}")
- $carol->fail("journalctl -u dhcpcd | grep ygg0");
+ carol.succeed("ping -c 1 ${aliceIp6}")
+ carol.succeed("ping -c 1 ${bobIp6}")
- $alice->waitForUnit("httpd.service");
- $carol->succeed("curl --fail -g http://[${aliceIp6}]");
+ carol.fail("journalctl -u dhcpcd | grep ygg0")
+ alice.wait_for_unit("httpd.service")
+ carol.succeed("curl --fail -g http://[${aliceIp6}]")
'';
})
diff --git a/pkgs/applications/audio/audacity/default.nix b/pkgs/applications/audio/audacity/default.nix
index 11434c0b3498898b3226a3373253dd1ce727eba0..2fd3e5c27fe76f496af07a87dadfae17334d242a 100644
--- a/pkgs/applications/audio/audacity/default.nix
+++ b/pkgs/applications/audio/audacity/default.nix
@@ -7,12 +7,12 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- version = "2.3.2";
+ version = "2.3.3";
pname = "audacity";
src = fetchzip {
url = "https://github.com/audacity/audacity/archive/Audacity-${version}.tar.gz";
- sha256 = "08w96124vv8k4myd4vifq73ningq6404x889wvg2sk016kc4dfv1";
+ sha256 = "0ddc03dbm4ixy877czmwd03fpjgr3y68bxfgb6n2q6cv4prp30ig";
};
preConfigure = /* we prefer system-wide libs */ ''
diff --git a/pkgs/applications/audio/bsequencer/default.nix b/pkgs/applications/audio/bsequencer/default.nix
index e4ac2fbbcdc2a9f0b67b515281b7f2fc8f344b66..b91554f5716e741b5fc1a4e830ff0d12ed1b13ba 100644
--- a/pkgs/applications/audio/bsequencer/default.nix
+++ b/pkgs/applications/audio/bsequencer/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "BSEQuencer";
- version = "0.4";
+ version = "1.2.0";
src = fetchFromGitHub {
owner = "sjaehn";
repo = pname;
- rev = "v${version}";
- sha256 = "0c3bm2z6z2bjjv1cy50383zr81h99rcb2frmxad0r7lhi27mjyqn";
+ rev = "${version}";
+ sha256 = "08xwz5v8wrar0rx7qdr9pkpjz2k9sw6bn5glhpn6sp6453fabf8q";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/audio/bslizr/default.nix b/pkgs/applications/audio/bslizr/default.nix
index 8fbac6daf46639b94b4900409372ec63991b3e81..3273d7de68c2e8a0225d84b304fd3b6b1467f45d 100644
--- a/pkgs/applications/audio/bslizr/default.nix
+++ b/pkgs/applications/audio/bslizr/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "BSlizr";
- version = "1.2.0";
+ version = "1.2.2";
src = fetchFromGitHub {
owner = "sjaehn";
repo = pname;
rev = "${version}";
- sha256 = "1xqhpppfj47nzmyksbqgfvvi5j807g96hqla544w2f752zz4yi0s";
+ sha256 = "0q92ygz17iiriwzqylmaxd5ml2bhqy3n6c3f7g71n4hn9z3bl3s1";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/audio/helm/default.nix b/pkgs/applications/audio/helm/default.nix
index 64de722afe9eabca42153ce2b1ab5f983d4c3be0..428490e119a62a6673714d24e5c5deb8b2fb51ab 100644
--- a/pkgs/applications/audio/helm/default.nix
+++ b/pkgs/applications/audio/helm/default.nix
@@ -1,5 +1,5 @@
- { stdenv, fetchFromGitHub , xorg, freetype, alsaLib, curl, libjack2
- , lv2, pkgconfig, libGLU_combined }:
+{ stdenv, fetchFromGitHub , xorg, freetype, alsaLib, curl, libjack2
+, lv2, pkgconfig, libGLU, libGL }:
stdenv.mkDerivation {
version = "0.9.0";
@@ -15,7 +15,7 @@
buildInputs = [
xorg.libX11 xorg.libXcomposite xorg.libXcursor xorg.libXext
xorg.libXinerama xorg.libXrender xorg.libXrandr
- freetype alsaLib curl libjack2 pkgconfig libGLU_combined lv2
+ freetype alsaLib curl libjack2 pkgconfig libGLU libGL lv2
];
CXXFLAGS = "-DHAVE_LROUND";
diff --git a/pkgs/applications/audio/jack-oscrolloscope/default.nix b/pkgs/applications/audio/jack-oscrolloscope/default.nix
index d31bc981e0cbf93b03a7ff4750f58365976a2661..5bad5453504fab088452fb185421935fe1d7b3f9 100644
--- a/pkgs/applications/audio/jack-oscrolloscope/default.nix
+++ b/pkgs/applications/audio/jack-oscrolloscope/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, SDL, libjack2, libGLU_combined, pkgconfig }:
+{ stdenv, fetchurl, SDL, libjack2, libGLU, libGL, pkgconfig }:
stdenv.mkDerivation rec {
pname = "jack_oscrolloscope";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ SDL libjack2 libGLU_combined ];
+ buildInputs = [ SDL libjack2 libGLU libGL ];
installPhase = ''
mkdir -p $out/bin
diff --git a/pkgs/applications/audio/lmms/default.nix b/pkgs/applications/audio/lmms/default.nix
index d22065eb9fe087b12c3c8a43970c66ea47340464..99503fc3942b9518d59212569d6f337be1425d8b 100644
--- a/pkgs/applications/audio/lmms/default.nix
+++ b/pkgs/applications/audio/lmms/default.nix
@@ -1,9 +1,9 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, alsaLib ? null, fftwFloat, fltk13
, fluidsynth_1 ? null, lame ? null, libgig ? null, libjack2 ? null, libpulseaudio ? null
, libsamplerate, libsoundio ? null, libsndfile, libvorbis ? null, portaudio ? null
-, qtbase, qtx11extras, qttools, SDL ? null }:
+, qtbase, qtx11extras, qttools, SDL ? null, mkDerivation }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "lmms";
version = "1.2.0-rc7";
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
description = "DAW similar to FL Studio (music production software)";
homepage = https://lmms.io;
license = licenses.gpl2Plus;
- platforms = platforms.linux;
+ platforms = [ "x86_64-linux" "i686-linux" ];
maintainers = with maintainers; [ goibhniu yegortimoshenko ];
};
}
diff --git a/pkgs/applications/audio/mda-lv2/default.nix b/pkgs/applications/audio/mda-lv2/default.nix
index 901be5a23d08b1fecfa16e8656336cda2ba7b490..61f2bc33f7f7f3fd52d46bcb21900d26ae5dbb1e 100644
--- a/pkgs/applications/audio/mda-lv2/default.nix
+++ b/pkgs/applications/audio/mda-lv2/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "mda-lv2";
- version = "1.2.2";
+ version = "1.2.4";
src = fetchurl {
url = "https://download.drobilla.net/${pname}-${version}.tar.bz2";
- sha256 = "0hh40c5d2m0k5gb3vw031l6lqn59dg804an3mkmhkc7qv4gc6xm4";
+ sha256 = "1a3cv6w5xby9yn11j695rbh3c4ih7rxfxmkca9s1324ljphh06m8";
};
nativeBuildInputs = [ pkgconfig wafHook ];
diff --git a/pkgs/applications/audio/meters_lv2/default.nix b/pkgs/applications/audio/meters_lv2/default.nix
index a2368017cc1ed11974599b0c03f1b9523d89b9ee..12383dcbbda4a1159fa756ed0259e2663ec553ca 100644
--- a/pkgs/applications/audio/meters_lv2/default.nix
+++ b/pkgs/applications/audio/meters_lv2/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig
-, lv2, libGLU_combined, gtk2, cairo, pango, fftwFloat, libjack2 }:
+, lv2, libGLU, libGL, gtk2, cairo, pango, fftwFloat, libjack2 }:
let
version = "0.9.10";
@@ -26,7 +26,7 @@ stdenv.mkDerivation {
inherit name;
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ lv2 libGLU_combined gtk2 cairo pango fftwFloat libjack2 ];
+ buildInputs = [ lv2 libGLU libGL gtk2 cairo pango fftwFloat libjack2 ];
srcs = [ src robtkSrc ];
sourceRoot = name;
diff --git a/pkgs/applications/audio/mpc/default.nix b/pkgs/applications/audio/mpc/default.nix
index 9a273299297efbcdebc5e4ee338ca944179a261d..1e8d73ce560f0a20557d5266c72e377c256b4f35 100644
--- a/pkgs/applications/audio/mpc/default.nix
+++ b/pkgs/applications/audio/mpc/default.nix
@@ -1,17 +1,17 @@
-{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, mpd_clientlib, sphinx }:
+{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, mpd_clientlib, sphinx, libiconv }:
stdenv.mkDerivation rec {
pname = "mpc";
- version = "0.31";
+ version = "0.33";
src = fetchFromGitHub {
owner = "MusicPlayerDaemon";
repo = "mpc";
rev = "v${version}";
- sha256 = "06wn5f24bgkqmhh2p8rbizmqibzqr4x1q7c6zl0pfq7mdy49g5ds";
+ sha256 = "1qbi0i9cq54rj8z2kapk8x8g1jkw2jz781niwb9i7kw4xfhvy5zx";
};
- buildInputs = [ mpd_clientlib ];
+ buildInputs = [ mpd_clientlib ] ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv ];
nativeBuildInputs = [ meson ninja pkgconfig sphinx ];
diff --git a/pkgs/applications/audio/ncspot/default.nix b/pkgs/applications/audio/ncspot/default.nix
index 63ae9278c5d33b3082a499bd0e193237fc9594b7..136f6fc1427d935b1d483d010827f489f0de8a5b 100644
--- a/pkgs/applications/audio/ncspot/default.nix
+++ b/pkgs/applications/audio/ncspot/default.nix
@@ -11,17 +11,17 @@ let
++ lib.optional withPortAudio "portaudio_backend";
in
rustPlatform.buildRustPackage rec {
- pname = "ncspot-unstable";
- version = "2019-10-12";
+ pname = "ncspot";
+ version = "0.1.1";
src = fetchFromGitHub {
owner = "hrkfdn";
repo = "ncspot";
- rev = "4defded54646958268a20787917e4721ae96407d";
- sha256 = "1w3cmilwjzk3pfnq97qgz6hzxgjgi27dm8jq7maw87qyl3v17gyg";
+ rev = "v${version}";
+ sha256 = "0ldisr45w6ys1j62qv99ssqfg5q9dwrrzxh2maggyrx1zqdlsk6m";
};
- cargoSha256 = "1w1fk39pragfy2i2myw99mqf63w6fw4nr2kri8ily2iqc6g9xpgw";
+ cargoSha256 = "0k765hinqxfm30li1z66m1chsv69v6hiz109q2zlkxzg937qbnjh";
cargoBuildFlags = [ "--no-default-features" "--features" "${lib.concatStringsSep "," features}" ];
diff --git a/pkgs/applications/audio/noise-repellent/default.nix b/pkgs/applications/audio/noise-repellent/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..146e13f34de15eff190cbd91cdd3322e885bad93
--- /dev/null
+++ b/pkgs/applications/audio/noise-repellent/default.nix
@@ -0,0 +1,29 @@
+{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, fftwFloat, lv2 }:
+
+stdenv.mkDerivation rec {
+ pname = "noise-repellent";
+ version = "unstable-2018-12-29";
+
+ src = fetchFromGitHub {
+ owner = "lucianodato";
+ repo = pname;
+ rev = "9efdd0b41ec184a792087c87cbf5382f455e33ec";
+ sha256 = "0pn9cxapfvb5l62q86bchyfll1290vi0rhrzarb1jpc4ix7kz53c";
+ fetchSubmodules = true;
+ };
+
+ mesonFlags = ("--prefix=${placeholder "out"}/lib/lv2");
+
+ nativeBuildInputs = [ meson ninja pkgconfig ];
+ buildInputs = [
+ fftwFloat lv2
+ ];
+
+ meta = with stdenv.lib; {
+ description = "An lv2 plugin for broadband noise reduction";
+ homepage = https://github.com/lucianodato/noise-repellent;
+ license = licenses.gpl3;
+ maintainers = [ maintainers.magnetophon ];
+ platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "i686-darwin" ];
+ };
+}
diff --git a/pkgs/applications/audio/pianobooster/default.nix b/pkgs/applications/audio/pianobooster/default.nix
index 448b219a1afaadfd5a284bafa7d69b1cc89161e8..fee456ae717ca7527e750b61af0e4a2820a733da 100644
--- a/pkgs/applications/audio/pianobooster/default.nix
+++ b/pkgs/applications/audio/pianobooster/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, alsaLib, cmake, libGLU_combined, makeWrapper, qt4 }:
+{ stdenv, fetchurl, alsaLib, cmake, libGLU, libGL, makeWrapper, qt4 }:
stdenv.mkDerivation {
pname = "pianobooster";
@@ -16,12 +16,13 @@ stdenv.mkDerivation {
preConfigure = "cd src";
- buildInputs = [ alsaLib cmake makeWrapper libGLU_combined qt4 ];
+ buildInputs = [ alsaLib cmake makeWrapper libGLU libGL qt4 ];
NIX_LDFLAGS = [ "-lGL" "-lpthread" ];
postInstall = ''
wrapProgram $out/bin/pianobooster \
- --prefix LD_LIBRARY_PATH : ${libGLU_combined}/lib
+ --prefix LD_LIBRARY_PATH : ${libGL}/lib \
+ --prefix LD_LIBRARY_PATH : ${libGLU}/lib
'';
meta = with stdenv.lib; {
diff --git a/pkgs/applications/audio/picard/default.nix b/pkgs/applications/audio/picard/default.nix
index dc1118f47e044ddc62b35df856abe13808cdd7d8..b40ab6d4f7a5eb929bf3648fc48d78a093136715 100644
--- a/pkgs/applications/audio/picard/default.nix
+++ b/pkgs/applications/audio/picard/default.nix
@@ -4,13 +4,13 @@ let
pythonPackages = python3Packages;
in pythonPackages.buildPythonApplication rec {
pname = "picard";
- version = "2.2.2";
+ version = "2.2.3";
src = fetchFromGitHub {
owner = "metabrainz";
repo = pname;
rev = "release-${version}";
- sha256 = "1iibkvwpj862wcrl0fmyi6qhcgx4q5ay63yr0zyg0bkqgcka0gpr";
+ sha256 = "0lb4pzl03mr5hrzrzva99rxqd5yfip62b7sjmlg4j0imw8mxaj16";
};
nativeBuildInputs = [ gettext qt5.wrapQtAppsHook qt5.qtbase ];
diff --git a/pkgs/applications/audio/qtractor/default.nix b/pkgs/applications/audio/qtractor/default.nix
index dee9b8f20c89a34c0bf806747e58799345ded57e..46dafb72c4128e040ab8b88ec703046a09bfd952 100644
--- a/pkgs/applications/audio/qtractor/default.nix
+++ b/pkgs/applications/audio/qtractor/default.nix
@@ -5,11 +5,11 @@
stdenv.mkDerivation rec {
pname = "qtractor";
- version = "0.9.10";
+ version = "0.9.11";
src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
- sha256 = "00fj762qdna4bm8hshdhkwfa48s01bi5sk4f030rfk77mivl09jk";
+ sha256 = "02cpjlf3j4sm74hz88r1frnlycs52rs11mzplr2q8plji3ic5w50";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/audio/reaper/default.nix b/pkgs/applications/audio/reaper/default.nix
index 3b780ee2b36225f281dde872e8d90f72430e54cd..236c42b529305f07716ceb72680415b8895ae168 100644
--- a/pkgs/applications/audio/reaper/default.nix
+++ b/pkgs/applications/audio/reaper/default.nix
@@ -6,11 +6,11 @@
stdenv.mkDerivation rec {
pname = "reaper";
- version = "5.984";
+ version = "5.987";
src = fetchurl {
url = "https://www.reaper.fm/files/${stdenv.lib.versions.major version}.x/reaper${builtins.replaceStrings ["."] [""] version}_linux_x86_64.tar.xz";
- sha256 = "01yy0s9b9mkl6v66vgdfxl2zhr36abridih1d4ajbrdn60vppykw";
+ sha256 = "040k5inzj7mmi75fc6hr0ym18y5xss1675bl5rmhn4sq535m289k";
};
nativeBuildInputs = [ autoPatchelfHook makeWrapper ];
diff --git a/pkgs/applications/audio/setbfree/default.nix b/pkgs/applications/audio/setbfree/default.nix
index 6d5944b7aff2cfb9760bc2272df2ffa1bf1eac5d..5a90ee659478b7f8bfdfe3be64685cfbe11af346 100644
--- a/pkgs/applications/audio/setbfree/default.nix
+++ b/pkgs/applications/audio/setbfree/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchzip, alsaLib, freetype, ftgl, libjack2, libX11, lv2
-, libGLU_combined, pkgconfig, ttf_bitstream_vera
+, libGLU, libGL, pkgconfig, ttf_bitstream_vera
}:
stdenv.mkDerivation rec {
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
- alsaLib freetype ftgl libjack2 libX11 lv2 libGLU_combined
+ alsaLib freetype ftgl libjack2 libX11 lv2 libGLU libGL
ttf_bitstream_vera
];
diff --git a/pkgs/applications/audio/sisco.lv2/default.nix b/pkgs/applications/audio/sisco.lv2/default.nix
index 32cfd0f74940437582675b93e36ffb0ff9f618c3..f95655f5e9a350d29d99339c7ae6b622a4fe1f8d 100644
--- a/pkgs/applications/audio/sisco.lv2/default.nix
+++ b/pkgs/applications/audio/sisco.lv2/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, lv2, pkgconfig, libGLU_combined, cairo, pango, libjack2 }:
+{ stdenv, fetchFromGitHub, lv2, pkgconfig, libGLU, libGL, cairo, pango, libjack2 }:
let
name = "sisco.lv2-${version}";
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
sourceRoot = src.name;
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ lv2 pango cairo libjack2 libGLU_combined ];
+ buildInputs = [ lv2 pango cairo libjack2 libGLU libGL ];
postUnpack = "chmod u+w -R ${robtkName}-src; mv ${robtkName}-src/* ${sourceRoot}/robtk";
sisco_VERSION = version;
diff --git a/pkgs/applications/audio/snd/default.nix b/pkgs/applications/audio/snd/default.nix
index b4a503954643c3cf7bc329a150b75cfcad67edb9..d371f500bc8181459b772b7bdfb8eedad33e904d 100644
--- a/pkgs/applications/audio/snd/default.nix
+++ b/pkgs/applications/audio/snd/default.nix
@@ -4,11 +4,11 @@
}:
stdenv.mkDerivation rec {
- name = "snd-19.8";
+ name = "snd-19.9";
src = fetchurl {
url = "mirror://sourceforge/snd/${name}.tar.gz";
- sha256 = "0cdf3940cjvf5kls5l1zjll9wgg152xzlxs0jmpsq1kml12qa67b";
+ sha256 = "13s8fahpsjygjdrcwmprcrz23ny3klaj2rh2xzdv3bfs69gxvhys";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/audio/soundscape-renderer/default.nix b/pkgs/applications/audio/soundscape-renderer/default.nix
index 30ff41da36958897e893d95abd3e2672ba2c3156..5b5f01eef5cc8629c996c268df5518429bd8368d 100644
--- a/pkgs/applications/audio/soundscape-renderer/default.nix
+++ b/pkgs/applications/audio/soundscape-renderer/default.nix
@@ -11,7 +11,7 @@
, boost
, ecasound
, glibcLocales
-, libGLU_combined # Needed because help2man basically does a ./ssr-binaural --help and ssr-binaural needs libGL
+, libGLU, libGL # Needed because help2man basically does a ./ssr-binaural --help and ssr-binaural needs libGL
}:
stdenv.mkDerivation {
@@ -33,7 +33,7 @@ stdenv.mkDerivation {
LC_ALL = "en_US.UTF-8";
nativeBuildInputs = [ autoreconfHook pkgconfig ];
- buildInputs = [ boost boost.dev ecasound libGLU_combined help2man libsndfile fftwFloat libjack2 libxml2 qt4 glibcLocales ];
+ buildInputs = [ boost boost.dev ecasound libGLU libGL help2man libsndfile fftwFloat libjack2 libxml2 qt4 glibcLocales ];
# 1) Fix detecting version. https://github.com/SoundScapeRenderer/ssr/pull/53
# 2) Make it find ecasound headers
diff --git a/pkgs/applications/audio/spotify-tui/default.nix b/pkgs/applications/audio/spotify-tui/default.nix
index 606abc86ae28465117738da27f0f67cda7fd0123..bd4aaf5a2d630e81c0696420a20a95e6b3559611 100644
--- a/pkgs/applications/audio/spotify-tui/default.nix
+++ b/pkgs/applications/audio/spotify-tui/default.nix
@@ -1,21 +1,22 @@
-{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, Security }:
+{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, python3, libxcb, AppKit, Security }:
rustPlatform.buildRustPackage rec {
pname = "spotify-tui";
- version = "0.9.0";
+ version = "0.10.0";
src = fetchFromGitHub {
owner = "Rigellute";
repo = "spotify-tui";
rev = "v${version}";
- sha256 = "1bbh9df4gfgb5pqavgvmy8fqnr2j5rbqbanv0y31j4i0kv2wrh6a";
+ sha256 = "10wrlfi50lsf6qjsi9qklw2mk2fbf0jib7f841v842l9k9zw0hrg";
};
- cargoSha256 = "1rb4dl9zn3xx2yrapx5cfsli93ggmdq8w9fqi8cy8giyja1mnqfl";
+ cargoSha256 = "140m3pryvbc96xvl5ymz68msrx93rmvvy0y8skvc40yxwl401inc";
- nativeBuildInputs = [ pkgconfig ];
+ nativeBuildInputs = [ pkgconfig python3 ];
buildInputs = [ openssl ]
- ++ stdenv.lib.optional stdenv.isDarwin Security;
+ ++ stdenv.lib.optional stdenv.isLinux libxcb
+ ++ stdenv.lib.optionals stdenv.isDarwin [ AppKit Security ];
meta = with stdenv.lib; {
description = "Spotify for the terminal written in Rust";
diff --git a/pkgs/applications/audio/spotifyd/default.nix b/pkgs/applications/audio/spotifyd/default.nix
index d420d1a67095269ccbe4497c995aefc438c802d3..36ab017c5cbb01e9acc64a6aecdf0bc26903b779 100644
--- a/pkgs/applications/audio/spotifyd/default.nix
+++ b/pkgs/applications/audio/spotifyd/default.nix
@@ -6,16 +6,16 @@
rustPlatform.buildRustPackage rec {
pname = "spotifyd";
- version = "0.2.19";
+ version = "0.2.20";
src = fetchFromGitHub {
owner = "Spotifyd";
repo = "spotifyd";
rev = "v${version}";
- sha256 = "063b28ysj224m6ngns9i574i7vnp1x4g07cqjw908ch04yngcg1c";
+ sha256 = "1hf4wpk7r0s4jpjhxaz67y1hd8jx9ns5imd85r3cdg4lxf3j5gph";
};
- cargoSha256 = "0pqxqd5dyw9mjclrqkxzfnzsz74xl4bg0b86v5q6kc0a91zd49b9";
+ cargoSha256 = "1h3fis47hmxvppiv1icjhgp48nd46gayfcmzfjs34q6jask90n0w";
cargoBuildFlags = [
"--no-default-features"
@@ -36,7 +36,7 @@ rustPlatform.buildRustPackage rec {
description = "An open source Spotify client running as a UNIX daemon";
homepage = "https://github.com/Spotifyd/spotifyd";
license = with licenses; [ gpl3 ];
- maintainers = [ maintainers.anderslundstedt maintainers.marsam ];
+ maintainers = with maintainers; [ anderslundstedt filalex77 marsam ];
platforms = platforms.unix;
};
}
diff --git a/pkgs/applications/audio/strawberry/default.nix b/pkgs/applications/audio/strawberry/default.nix
index c62eba99845271fc6360d647024cc718ec13eecd..07e7bb84c565c1c3d12da853d62e3a0c43a44b16 100644
--- a/pkgs/applications/audio/strawberry/default.nix
+++ b/pkgs/applications/audio/strawberry/default.nix
@@ -22,7 +22,7 @@
, libpulseaudio ? null
, libselinux ? null
, libsepol ? null
-, p11_kit ? null
+, p11-kit ? null
, utillinux ? null
, qtbase
, qtx11extras
@@ -35,13 +35,13 @@
mkDerivation rec {
pname = "strawberry";
- version = "0.6.5";
+ version = "0.6.7";
src = fetchFromGitHub {
owner = "jonaski";
repo = pname;
rev = version;
- sha256 = "1kqx0q99n1p5pm6skvqjihz11byhxdid1qw6gqp67dh2na62z1lm";
+ sha256 = "14bw4hmysrbl4havz03s3wl8bv76380wddf5zzrjvfjjpwn333r6";
};
buildInputs = [
@@ -66,7 +66,7 @@ mkDerivation rec {
libpulseaudio
libselinux
libsepol
- p11_kit
+ p11-kit
utillinux
]
++ lib.optionals withGstreamer (with gst_all_1; [
@@ -93,7 +93,7 @@ mkDerivation rec {
changelog = "https://raw.githubusercontent.com/jonaski/strawberry/${version}/Changelog";
license = licenses.gpl3;
maintainers = with maintainers; [ peterhoeg ];
- # upstream says darwin should work but they lack maintainers as of 0.6.5
+ # upstream says darwin should work but they lack maintainers as of 0.6.6
platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/audio/yoshimi/default.nix b/pkgs/applications/audio/yoshimi/default.nix
index b8acaa5a7e49734ad9de2118d01abe40eb5cf31f..24620d91ff5a34b627c6dcadf014f6457103ca82 100644
--- a/pkgs/applications/audio/yoshimi/default.nix
+++ b/pkgs/applications/audio/yoshimi/default.nix
@@ -1,20 +1,20 @@
{ stdenv, fetchurl, alsaLib, boost, cairo, cmake, fftwSinglePrec, fltk, pcre
-, libjack2, libsndfile, libXdmcp, readline, lv2, libGLU_combined, minixml, pkgconfig, zlib, xorg
+, libjack2, libsndfile, libXdmcp, readline, lv2, libGLU, libGL, minixml, pkgconfig, zlib, xorg
}:
assert stdenv ? glibc;
stdenv.mkDerivation rec {
pname = "yoshimi";
- version = "1.6.0.2";
+ version = "1.6.0.3";
src = fetchurl {
url = "mirror://sourceforge/yoshimi/${pname}-${version}.tar.bz2";
- sha256 = "0q2cw168r53r50zghkdqcxba2cybn44axbdkwacvkm7ag2z0j2l8";
+ sha256 = "1z2mnmm299ng6jcwa61dzr1ilwa5fjgsggxl2wa5smji6b4npmx7";
};
buildInputs = [
- alsaLib boost cairo fftwSinglePrec fltk libjack2 libsndfile libXdmcp readline lv2 libGLU_combined
+ alsaLib boost cairo fftwSinglePrec fltk libjack2 libsndfile libXdmcp readline lv2 libGLU libGL
minixml zlib xorg.libpthreadstubs pcre
];
diff --git a/pkgs/applications/audio/zam-plugins/default.nix b/pkgs/applications/audio/zam-plugins/default.nix
index eeeb8ae2ea449892947f7236c044e96cc36d5bc6..a8236b4b60f1496c3c43d278a9dec40f9a4cc8da 100644
--- a/pkgs/applications/audio/zam-plugins/default.nix
+++ b/pkgs/applications/audio/zam-plugins/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchgit , boost, libX11, libGLU_combined, liblo, libjack2, ladspaH, lv2, pkgconfig, rubberband, libsndfile, fftwFloat, libsamplerate }:
+{ stdenv, fetchgit , boost, libX11, libGL, liblo, libjack2, ladspaH, lv2, pkgconfig, rubberband, libsndfile, fftwFloat, libsamplerate }:
stdenv.mkDerivation {
pname = "zam-plugins";
@@ -12,16 +12,18 @@ stdenv.mkDerivation {
};
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ boost libX11 libGLU_combined liblo libjack2 ladspaH lv2 rubberband libsndfile fftwFloat libsamplerate ];
+ buildInputs = [ boost libX11 libGL liblo libjack2 ladspaH lv2 rubberband libsndfile fftwFloat libsamplerate ];
- patchPhase = ''
+ postPatch = ''
patchShebangs ./dpf/utils/generate-ttl.sh
'';
makeFlags = [
- "PREFIX=$(out)"
+ "PREFIX=${placeholder ''out''}"
];
+ enableParallelBuilding = true;
+
meta = with stdenv.lib; {
homepage = http://www.zamaudio.com/?p=976;
description = "A collection of LV2/LADSPA/VST/JACK audio plugins by ZamAudio";
diff --git a/pkgs/applications/blockchains/bitcoin-abc.nix b/pkgs/applications/blockchains/bitcoin-abc.nix
index 0c806a8901569c30974d3ee7103af69119de3e55..95dab9f18b9acf0f177c831f0d5bf7e9ceb50f49 100644
--- a/pkgs/applications/blockchains/bitcoin-abc.nix
+++ b/pkgs/applications/blockchains/bitcoin-abc.nix
@@ -7,13 +7,13 @@ with stdenv.lib;
stdenv.mkDerivation rec {
name = "bitcoin" + (toString (optional (!withGui) "d")) + "-abc-" + version;
- version = "0.20.5";
+ version = "0.20.6";
src = fetchFromGitHub {
owner = "bitcoin-ABC";
repo = "bitcoin-abc";
rev = "v${version}";
- sha256 = "1adps3g99m7cxs58c48g2dgyihfv0v8d198klzcbbf4dq0s5v45c";
+ sha256 = "1a65pykdjkiic67fcs8cg2qrvzzrqifa93r1bzza3gdyfdvgv3ww";
};
patches = [ ./fix-bitcoin-qt-build.patch ];
diff --git a/pkgs/applications/blockchains/dogecoin.nix b/pkgs/applications/blockchains/dogecoin.nix
index e5f149a0efe763a67691acacd740ee6ee41c2098..02744e50647ea69a93ef5a34a6cf0df25efb48b9 100644
--- a/pkgs/applications/blockchains/dogecoin.nix
+++ b/pkgs/applications/blockchains/dogecoin.nix
@@ -7,13 +7,13 @@
with stdenv.lib;
stdenv.mkDerivation rec {
name = "dogecoin" + (toString (optional (!withGui) "d")) + "-" + version;
- version = "1.14.1";
+ version = "1.14.2";
src = fetchFromGitHub {
owner = "dogecoin";
repo = "dogecoin";
rev = "v${version}";
- sha256 = "0nmbi5gmms16baqs3fmdp2xm0yf8wawnyz80gcmca4j5ph2zka1v";
+ sha256 = "1gw46q63mjzwvb17ck6p1bap2xpdrap08szw2kjhasa3yvd5swyy";
};
nativeBuildInputs = [ pkgconfig autoreconfHook ];
diff --git a/pkgs/applications/blockchains/go-ethereum.nix b/pkgs/applications/blockchains/go-ethereum.nix
index fe7a5f991dd25a61ed6c1a081552ee8c0cca976d..cfdb8dbdc601198023019938d1905ad5b911f840 100644
--- a/pkgs/applications/blockchains/go-ethereum.nix
+++ b/pkgs/applications/blockchains/go-ethereum.nix
@@ -1,22 +1,39 @@
-{ stdenv, buildGoPackage, fetchFromGitHub, libobjc, IOKit }:
+{ stdenv, buildGoModule, fetchFromGitHub, libobjc, IOKit }:
-buildGoPackage rec {
+buildGoModule rec {
pname = "go-ethereum";
- version = "1.9.7";
-
- goPackagePath = "github.com/ethereum/go-ethereum";
-
- # Fix for usb-related segmentation faults on darwin
- propagatedBuildInputs =
- stdenv.lib.optionals stdenv.isDarwin [ libobjc IOKit ];
+ version = "1.9.8";
src = fetchFromGitHub {
owner = "ethereum";
repo = pname;
rev = "v${version}";
- sha256 = "07110dj91wmkpwz7iy0lmxx3y9wjxjrhk3rhkfdil74cxm0wkkn2";
+ sha256 = "0v4hchy6h3282347ps11iv7klcr60bmghha78rnp0iqpx2k8pqb4";
};
+ modSha256 = "1l10p6a4qq77pfx7jmipkcg2qg6w3hg83q5a37yid3apily2scfa";
+
+ subPackages = [
+ "cmd/abigen"
+ "cmd/bootnode"
+ "cmd/checkpoint-admin"
+ "cmd/clef"
+ "cmd/devp2p"
+ "cmd/ethkey"
+ "cmd/evm"
+ "cmd/faucet"
+ "cmd/geth"
+ "cmd/p2psim"
+ "cmd/puppeth"
+ "cmd/rlpdump"
+ "cmd/utils"
+ "cmd/wnode"
+ ];
+
+ # Fix for usb-related segmentation faults on darwin
+ propagatedBuildInputs =
+ stdenv.lib.optionals stdenv.isDarwin [ libobjc IOKit ];
+
meta = with stdenv.lib; {
homepage = "https://geth.ethereum.org/";
description = "Official golang implementation of the Ethereum protocol";
diff --git a/pkgs/applications/blockchains/monero-gui/default.nix b/pkgs/applications/blockchains/monero-gui/default.nix
index dde324b39e1305a382c21e29dfeaefa7d9c4f152..7082794bba76b5bd54e6619e17f9c02d95a3dac5 100644
--- a/pkgs/applications/blockchains/monero-gui/default.nix
+++ b/pkgs/applications/blockchains/monero-gui/default.nix
@@ -12,13 +12,13 @@ with stdenv.lib;
stdenv.mkDerivation rec {
pname = "monero-gui";
- version = "0.15.0.0";
+ version = "0.15.0.1";
src = fetchFromGitHub {
owner = "monero-project";
repo = "monero-gui";
rev = "v${version}";
- sha256 = "1shpnly2dym5jhvk8zk10p69mz062dihx979djg74q6hgkhhhqsh";
+ sha256 = "08j8kkncdn57xql0bhmlzjpjkdfhqbpda1p07r797q8qi0nl4w8n";
};
nativeBuildInputs = [ qmake pkgconfig wrapQtAppsHook ];
diff --git a/pkgs/applications/blockchains/parity/beta.nix b/pkgs/applications/blockchains/parity/beta.nix
index a26a1b7cc7717d37a952485e5399fd0208522c59..c9da6f0e7a82e866e8bef637b842222fbedc6f13 100644
--- a/pkgs/applications/blockchains/parity/beta.nix
+++ b/pkgs/applications/blockchains/parity/beta.nix
@@ -1,6 +1,6 @@
let
- version = "2.6.4";
- sha256 = "11l93w97961zig4gqf345j9l20g0mjp7fayl1mdwdp14hhd5zk5g";
- cargoSha256 = "1q6cbms7j1h726bvq38npxkjkmz14b5ir9c4z7pb0jcy7gkplyxx";
+ version = "2.6.5";
+ sha256 = "1ykrsphqil68051wwp9b0259gsmfrj9xmx0pfhh2yvmmjzv7k4fv";
+ cargoSha256 = "1xqmnirx2r91q5gy1skxl0f79xvaqzimq3l0cj4xvfms7mpdfbg1";
in
import ./parity.nix { inherit version sha256 cargoSha256; }
diff --git a/pkgs/applications/blockchains/parity/default.nix b/pkgs/applications/blockchains/parity/default.nix
index 299bb0639b6cb3b3a4068fb4bfc3e21bd1ccf9bc..ba3491e084d083129bf8c43da06a5283f6023965 100644
--- a/pkgs/applications/blockchains/parity/default.nix
+++ b/pkgs/applications/blockchains/parity/default.nix
@@ -1,6 +1,6 @@
let
- version = "2.5.9";
- sha256 = "06gmfw5l8n5i35dimsmj6dn0fxhbp53zjrdvbkff63r5kfqnwnx2";
- cargoSha256 = "1kdy0bnmyqx4rhpq0a8gliy6mws68n035kfkxrfa6cxr2cn53dyb";
+ version = "2.5.10";
+ sha256 = "0s8llcb1xdzs2zb6rnbsa9hck7dj4m8mamzkkvr0xjmgvigskf64";
+ cargoSha256 = "16nf6y0hyffwdhxn1w4ms4zycs5lkzir8sj6c2lgsabig057hb6z";
in
import ./parity.nix { inherit version sha256 cargoSha256; }
diff --git a/pkgs/applications/blockchains/zcash/default.nix b/pkgs/applications/blockchains/zcash/default.nix
index 1852d72d326f7b77a447118b2521581ac9d59319..f6114b3c2134b582ba3a5d20608ffbf441b3e459 100644
--- a/pkgs/applications/blockchains/zcash/default.nix
+++ b/pkgs/applications/blockchains/zcash/default.nix
@@ -1,37 +1,29 @@
-{ stdenv, libsodium, fetchFromGitHub, wget, pkgconfig, autoreconfHook, openssl, db62, boost
-, zlib, gtest, gmock, callPackage, gmp, qt4, utillinux, protobuf, qrencode, libevent
-, libsnark, withGui }:
+{ stdenv, libsodium, fetchFromGitHub, wget, pkgconfig, autoreconfHook, openssl, db62, boost17x
+, zlib, gtest, gmock, callPackage, gmp, qt4, utillinux, protobuf, qrencode, libevent }:
let librustzcash = callPackage ./librustzcash {};
in
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "zcash" + (toString (optional (!withGui) "d")) + "-" + version;
- version = "1.0.13";
+ pname = "zcash";
+ version = "2.1.0-1";
src = fetchFromGitHub {
owner = "zcash";
repo = "zcash";
rev = "v${version}";
- sha256 = "05y7wxs66anxr5akbf05r36mmjfzqpwawn6vyh3jhpva51hzzzyz";
+ sha256 = "05bnn4lxrrcv1ha3jdfrgwg4ar576161n3j9d4gpc14ww3zgf9vz";
};
- # Dependencies are underspecified: "make -C src gtest/zcash_gtest-test_merkletree.o"
- # fails with "fatal error: test/data/merkle_roots.json.h: No such file or directory"
- enableParallelBuilding = false;
-
nativeBuildInputs = [ autoreconfHook pkgconfig ];
- buildInputs = [ gtest gmock gmp openssl wget db62 boost zlib
- protobuf libevent libsodium librustzcash libsnark ]
- ++ optionals stdenv.isLinux [ utillinux ]
- ++ optionals withGui [ qt4 qrencode ];
+ buildInputs = [ gtest gmock gmp openssl wget db62 boost17x zlib
+ protobuf libevent libsodium librustzcash ]
+ ++ optionals stdenv.isLinux [ utillinux ];
- configureFlags = [ "--with-boost-libdir=${boost.out}/lib"
- ] ++ optionals withGui [ "--with-gui=qt4" ];
+ configureFlags = [ "--with-boost-libdir=${boost17x.out}/lib" ];
patchPhase = ''
- sed -i"" 's,-lboost_system-mt,-lboost_system,' configure.ac
sed -i"" 's,-fvisibility=hidden,,g' src/Makefile.am
'';
@@ -42,7 +34,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Peer-to-peer, anonymous electronic cash system";
homepage = https://z.cash/;
- maintainers = with maintainers; [ rht ];
+ maintainers = with maintainers; [ rht tkerber ];
license = licenses.mit;
platforms = platforms.linux;
};
diff --git a/pkgs/applications/blockchains/zcash/librustzcash/default.nix b/pkgs/applications/blockchains/zcash/librustzcash/default.nix
index 634d4e8538a1507434da94107f021f6b3a2dc396..31703f8fb2a50fac88d7aae79a132701d979fe68 100644
--- a/pkgs/applications/blockchains/zcash/librustzcash/default.nix
+++ b/pkgs/applications/blockchains/zcash/librustzcash/default.nix
@@ -2,28 +2,30 @@
rustPlatform.buildRustPackage rec {
pname = "librustzcash-unstable";
- version = "2017-03-17";
+ version = "2018-10-27";
src = fetchFromGitHub {
owner = "zcash";
repo = "librustzcash";
- rev = "91348647a86201a9482ad4ad68398152dc3d635e";
- sha256 = "02l1f46frpvw1r6k1wfh77mrsnmsdvifqx0vnscxz4xgb9ia9d1c";
+ rev = "06da3b9ac8f278e5d4ae13088cf0a4c03d2c13f5";
+ sha256 = "0md0pp3k97iv7kfjpfkg14pjanhrql4vafa8ggbxpkajv1j4xldv";
};
- cargoSha256 = "1xlq8vkzfyr5q8gxvzkwi8r1kxg4rg8l1ckdwfdxlkhnw0yscbra";
+ cargoSha256 = "166v8cxlpfslbs5gljbh7wp0lxqakayw47ikxm9r9a39n7j36mq1";
installPhase = ''
mkdir -p $out/lib
cp target/release/librustzcash.a $out/lib/
mkdir -p $out/include
- cp include/librustzcash.h $out/include/
+ cp librustzcash/include/librustzcash.h $out/include/
'';
+ doCheck = false;
+
meta = with stdenv.lib; {
description = "Rust-language assets for Zcash";
homepage = https://github.com/zcash/librustzcash;
- maintainers = with maintainers; [ rht ];
+ maintainers = with maintainers; [ rht tkerber ];
license = with licenses; [ mit asl20 ];
platforms = platforms.unix;
};
diff --git a/pkgs/applications/display-managers/lightdm/gtk-greeter.nix b/pkgs/applications/display-managers/lightdm/gtk-greeter.nix
index 5b1490a6b3be58897d060e1516bbec66c059e3de..91fe3e5b22f2c25940baae30f6afcc237674a091 100644
--- a/pkgs/applications/display-managers/lightdm/gtk-greeter.nix
+++ b/pkgs/applications/display-managers/lightdm/gtk-greeter.nix
@@ -20,7 +20,7 @@
let
ver_branch = "2.0";
- version = "2.0.6";
+ version = "2.0.7";
in
stdenv.mkDerivation rec {
pname = "lightdm-gtk-greeter";
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "${meta.homepage}/${ver_branch}/${version}/+download/${pname}-${version}.tar.gz";
- sha256 = "1pis5qyg95pg31dvnfqq34bzgj00hg4vs547r8h60lxjk81z8p15";
+ sha256 = "1g7wc3d3vqfa7mrdhx1w9ywydgjbffla6rbrxq9k3sc62br97qms";
};
nativeBuildInputs = [ pkgconfig intltool wrapGAppsHook ];
diff --git a/pkgs/applications/editors/android-studio/default.nix b/pkgs/applications/editors/android-studio/default.nix
index c9bd1d089ca2bbb5ebf5d7c20500d162da95a9f4..5c796e71fdfe6535acef71e1137b5545d1fdaa1a 100644
--- a/pkgs/applications/editors/android-studio/default.nix
+++ b/pkgs/applications/editors/android-studio/default.nix
@@ -18,9 +18,9 @@ let
sha256Hash = "0wyyr6r0jzb1l4rn1mfgp0nnzvgk3x62imq629z6vrdbymy8psf1";
};
latestVersion = { # canary & dev
- version = "4.0.0.3"; # "Android Studio 4.0 Canary 3"
- build = "192.5994236";
- sha256Hash = "14ig352anjs0df72f41v4r6jl7mlm2n4pn9syanmykaj87dm4kf4";
+ version = "4.0.0.4"; # "Android Studio 4.0 Canary 4"
+ build = "192.6008643";
+ sha256Hash = "1z1srginlg1xnp911nlilhf515mbpmngwhln29q6lxsir8g2cw2z";
};
in {
# Attributes are named by their corresponding release channels
diff --git a/pkgs/applications/editors/jucipp/default.nix b/pkgs/applications/editors/jucipp/default.nix
index cb9f10281c701340022ef7118e8893d941daf5c5..70b2d3c148db5f8888f7b78c84080cf1c209c6c6 100644
--- a/pkgs/applications/editors/jucipp/default.nix
+++ b/pkgs/applications/editors/jucipp/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchgit, gnome3, gtksourceview3, at-spi2-core, gtksourceviewmm,
+{ stdenv, fetchgit, dconf, gtksourceview3, at-spi2-core, gtksourceviewmm,
boost, epoxy, cmake, aspell, llvmPackages, libgit2, pkgconfig, pcre,
libXdmcp, libxkbcommon, libpthreadstubs, wrapGAppsHook, aspellDicts, gtkmm3,
coreutils, glibc, dbus, openssl, libxml2, gnumake, ctags }:
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
gtksourceviewmm
llvmPackages.clang.cc
llvmPackages.lldb
- gnome3.dconf
+ dconf
];
diff --git a/pkgs/applications/editors/kdevelop5/kdevelop.nix b/pkgs/applications/editors/kdevelop5/kdevelop.nix
index d1c4c80d6b56bee4b14eb71ba8b69b951eb4e0e2..dd1f5eea8f4988ef6d3e66878fd81597115ef8af 100644
--- a/pkgs/applications/editors/kdevelop5/kdevelop.nix
+++ b/pkgs/applications/editors/kdevelop5/kdevelop.nix
@@ -37,7 +37,7 @@ mkDerivation rec {
# https://cgit.kde.org/kdevelop.git/commit/?id=716372ae2e8dff9c51e94d33443536786e4bd85b
# required as nixos seems to be unable to find CLANG_BUILTIN_DIR
cmakeFlags = [
- "-DCLANG_BUILTIN_DIR=${llvmPackages.clang-unwrapped}/lib/clang/${(builtins.parseDrvName llvmPackages.clang.name).version}/include"
+ "-DCLANG_BUILTIN_DIR=${llvmPackages.clang-unwrapped}/lib/clang/${lib.getVersion llvmPackages.clang}/include"
];
dontWrapQtApps = true;
diff --git a/pkgs/applications/editors/kodestudio/default.nix b/pkgs/applications/editors/kodestudio/default.nix
index a106c316674709cf5bb9805ea0bf36ae48c2f5dc..9d0d91f4be54988c076ed93c2fe35099385cb010 100644
--- a/pkgs/applications/editors/kodestudio/default.nix
+++ b/pkgs/applications/editors/kodestudio/default.nix
@@ -1,6 +1,6 @@
{ stdenv, lib, fetchurl, makeDesktopItem, makeWrapper
, # Patchelf dependencies:
- alsaLib, atomEnv, boehmgc, flac, libogg, libvorbis, libXScrnSaver, libGLU_combined
+ alsaLib, atomEnv, boehmgc, flac, libogg, libvorbis, libXScrnSaver, libGLU, libGL
, openssl, xorg, zlib
}:
@@ -56,7 +56,7 @@ in
$out/kodestudio
patchelf \
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
- --set-rpath ".:${stdenv.cc.libc}/lib:${xorg.libXinerama}/lib:${xorg.libX11}/lib:${alsaLib}/lib:${libGLU_combined}/lib:${openssl.out}/lib" \
+ --set-rpath ".:${stdenv.cc.libc}/lib:${xorg.libXinerama}/lib:${xorg.libX11}/lib:${alsaLib}/lib:${libGL}/lib:${libGLU}/lib:${openssl.out}/lib" \
$out/resources/app/extensions/krom/Krom/linux/Krom
patchelf \
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
diff --git a/pkgs/applications/editors/mle/default.nix b/pkgs/applications/editors/mle/default.nix
index e98759edd151ab35f042a6a58669c50215034d91..2c36be1c21bcc442679fbb1a0201d5034f1d478f 100644
--- a/pkgs/applications/editors/mle/default.nix
+++ b/pkgs/applications/editors/mle/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "mle";
- version = "1.4.1";
+ version = "1.4.2";
src = fetchFromGitHub {
owner = "adsr";
repo = "mle";
rev = "v${version}";
- sha256 = "15i5lzcp0zar2zh34ky9m6pvvi41zgdrl3hmylpgsqnnj4r87vqc";
+ sha256 = "053zvxkjx2zwq6lwkycirxz1m9sjc3zi9ic8fvp3mjvbqfri1y3x";
};
# Fix location of Lua 5.3 header and library
diff --git a/pkgs/applications/editors/nano/default.nix b/pkgs/applications/editors/nano/default.nix
index 15f251f5b093b7e60aed64d8cdb5786b525baaf2..6f29946d77a8da6c3c3a8dc559516ba561698c71 100644
--- a/pkgs/applications/editors/nano/default.nix
+++ b/pkgs/applications/editors/nano/default.nix
@@ -20,11 +20,11 @@ let
in stdenv.mkDerivation rec {
pname = "nano";
- version = "4.5";
+ version = "4.6";
src = fetchurl {
url = "mirror://gnu/nano/${pname}-${version}.tar.xz";
- sha256 = "0czmz1yq8s5qcxcmfjdxzg9nkhbmlc9q1nz04jvf57fdbs7w7mfy";
+ sha256 = "1s98jsvkfar6qmd5n5l1n1k59623dnc93ciyvlhxjkvpad0kmb4v";
};
nativeBuildInputs = [ texinfo ] ++ optional enableNls gettext;
diff --git a/pkgs/applications/editors/neovim/default.nix b/pkgs/applications/editors/neovim/default.nix
index 99b04059730dc633e0b76f07b4dee6ef5377a78c..b3e2ed5101531ae45b109699ca154cb1b09440e8 100644
--- a/pkgs/applications/editors/neovim/default.nix
+++ b/pkgs/applications/editors/neovim/default.nix
@@ -21,13 +21,13 @@ let
in
stdenv.mkDerivation rec {
pname = "neovim-unwrapped";
- version = "0.4.2";
+ version = "0.4.3";
src = fetchFromGitHub {
owner = "neovim";
repo = "neovim";
rev = "v${version}";
- sha256 = "13w446plvgl219lhj29jyimhiqvs1y1byrz4qpdmxgyddmx9xqss";
+ sha256 = "03p7pic7hw9yxxv7fbgls1f42apx3lik2k6mpaz1a109ngyc5kaj";
};
patches = [
diff --git a/pkgs/applications/editors/neovim/neovim-remote.nix b/pkgs/applications/editors/neovim/neovim-remote.nix
index 18f458fd85c74aaa1331ddf1df735f8f9491385e..9893c6085a69bba859a729eb2ffc9180f6b3da1e 100644
--- a/pkgs/applications/editors/neovim/neovim-remote.nix
+++ b/pkgs/applications/editors/neovim/neovim-remote.nix
@@ -4,14 +4,14 @@ with stdenv.lib;
pythonPackages.buildPythonApplication rec {
pname = "neovim-remote";
- version = "2.2.2";
+ version = "2.2.3";
disabled = !pythonPackages.isPy3k;
src = fetchFromGitHub {
owner = "mhinz";
repo = "neovim-remote";
rev = "v${version}";
- sha256 = "129yjpwn6480rd5na866h4mcr6rf60rqv651hks5fn3ws112n751";
+ sha256 = "0g7gs5gigk3krydxdpmscgfr1fms0a6rc6am2y4c5szkgbd1d0ph";
};
propagatedBuildInputs = with pythonPackages; [ pynvim psutil ];
diff --git a/pkgs/applications/editors/rednotebook/default.nix b/pkgs/applications/editors/rednotebook/default.nix
index 11a5b4c7ba344500502b08f5ab858d62ead93885..6bb40f0166d1f5da59c178c176755242fb5aca15 100644
--- a/pkgs/applications/editors/rednotebook/default.nix
+++ b/pkgs/applications/editors/rednotebook/default.nix
@@ -5,13 +5,13 @@
buildPythonApplication rec {
pname = "rednotebook";
- version = "2.11.1";
+ version = "2.14";
src = fetchFromGitHub {
owner = "jendrikseipp";
repo = "rednotebook";
rev = "v${version}";
- sha256 = "04c7a0wgmdl88v9386y1052c38ajbkryiwhqps5lx34d4g7r6hm1";
+ sha256 = "1xs2wvm9g8vypz25li7rm8m0j4dsdpqpajcvrc756x5m149dxc08";
};
# We have not packaged tests.
@@ -35,7 +35,7 @@ buildPythonApplication rec {
strictDeps = false;
meta = with lib; {
- homepage = http://rednotebook.sourceforge.net/;
+ homepage = "https://rednotebook.sourceforge.io/";
description = "A modern journal that includes a calendar navigation, customizable templates, export functionality and word clouds";
license = licenses.gpl2;
maintainers = with maintainers; [ orivej tstrobel ];
diff --git a/pkgs/applications/editors/tiled/default.nix b/pkgs/applications/editors/tiled/default.nix
index fa9cc155f36a8e9b18c5a2d70467660c37bfe554..e66530aaf769c116828ba18c519c461fc30f8e07 100644
--- a/pkgs/applications/editors/tiled/default.nix
+++ b/pkgs/applications/editors/tiled/default.nix
@@ -3,13 +3,13 @@
mkDerivation rec {
pname = "tiled";
- version = "1.2.5";
+ version = "1.3.1";
src = fetchFromGitHub {
owner = "bjorn";
repo = pname;
rev = "v${version}";
- sha256 = "0sz8klz0nz60dhvz7pdn44zwr9q578pq50sxsbynz7irhrv02b52";
+ sha256 = "1vhg8m1b7ccccrzlp0pyf3qskgvlf6sn1w956zsczmndrixbli9a";
};
nativeBuildInputs = [ pkgconfig qmake ];
diff --git a/pkgs/applications/graphics/antimony/default.nix b/pkgs/applications/graphics/antimony/default.nix
index 04e64b76d3f8f2e52c65a3ed7acff7d1b742f6b8..5966d6427ed61326b5bc85b6845242d70ed32a50 100644
--- a/pkgs/applications/graphics/antimony/default.nix
+++ b/pkgs/applications/graphics/antimony/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, libpng, python3
-, libGLU_combined, qtbase, wrapQtAppsHook, ncurses
+, libGLU, libGL, qtbase, wrapQtAppsHook, ncurses
, cmake, flex, lemon
}:
@@ -29,7 +29,7 @@ in
buildInputs = [
libpng python3 python3.pkgs.boost
- libGLU_combined qtbase wrapQtAppsHook
+ libGLU libGL qtbase wrapQtAppsHook
ncurses
];
diff --git a/pkgs/applications/graphics/avocode/default.nix b/pkgs/applications/graphics/avocode/default.nix
index 1497fe19991470e1dc520e9201969789c966d542..e2a7a9fe5c423252889818991eb16af6d6255450 100644
--- a/pkgs/applications/graphics/avocode/default.nix
+++ b/pkgs/applications/graphics/avocode/default.nix
@@ -5,11 +5,11 @@
stdenv.mkDerivation rec {
pname = "avocode";
- version = "3.9.6";
+ version = "4.0.1";
src = fetchurl {
url = "https://media.avocode.com/download/avocode-app/${version}/avocode-${version}-linux.zip";
- sha256 = "0jnl461dg2s5panrw12707bv34g6wxc1pxc90awnja13yq0z6bfc";
+ sha256 = "13jwxwvwb9nnjxcnh9vfi22n4c00bhdypl84wrpdg5xw9325zhvy";
};
libPath = stdenv.lib.makeLibraryPath (with xorg; [
diff --git a/pkgs/applications/graphics/cinepaint/default.nix b/pkgs/applications/graphics/cinepaint/default.nix
index 57cf6c3f13f49aa656e6e0c5cadc4c1ef2fd7a32..2b70ea3b45072270a878964628a8df342786630b 100644
--- a/pkgs/applications/graphics/cinepaint/default.nix
+++ b/pkgs/applications/graphics/cinepaint/default.nix
@@ -2,7 +2,7 @@
flex, libtiff, libjpeg, libpng, libexif, zlib, perlPackages, libX11,
pythonPackages, gettext, intltool, babl, gegl,
glib, makedepend, xorgproto, libXmu, openexr,
- libGLU_combined, libXext, libXpm, libXau, libXxf86vm, pixman, libpthreadstubs, fltk } :
+ libGLU, libGL, libXext, libXpm, libXau, libXxf86vm, pixman, libpthreadstubs, fltk } :
let
inherit (pythonPackages) python pygtk;
@@ -16,7 +16,7 @@ in stdenv.mkDerivation rec {
buildInputs = [ libpng gtk2 freetype fontconfig lcms flex libtiff libjpeg
libexif zlib libX11 python pygtk gettext intltool babl
- gegl glib makedepend xorgproto libXmu openexr libGLU_combined
+ gegl glib makedepend xorgproto libXmu openexr libGLU libGL
libXext libXpm libXau libXxf86vm pixman libpthreadstubs fltk
] ++ (with perlPackages; [ perl XMLParser ]);
diff --git a/pkgs/applications/graphics/cq-editor/default.nix b/pkgs/applications/graphics/cq-editor/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..32d079d85ff3827b0fcd06584fb8d4fc87cd4ea6
--- /dev/null
+++ b/pkgs/applications/graphics/cq-editor/default.nix
@@ -0,0 +1,57 @@
+{ lib
+, mkDerivationWith
+, python3Packages
+, fetchFromGitHub
+}:
+
+mkDerivationWith python3Packages.buildPythonApplication rec {
+ pname = "cq-editor";
+ version = "0.1RC1";
+
+ src = fetchFromGitHub {
+ owner = "CadQuery";
+ repo = "CQ-editor";
+ rev = version;
+ sha256 = "0iwcpnj15s64k16948sakvkn1lb4mqwrhmbxk3r03bczs0z33zax";
+ };
+
+ propagatedBuildInputs = with python3Packages; [
+ cadquery
+ Logbook
+ pyqt5
+ pyparsing
+ pyqtgraph
+ spyder
+ pathpy
+ qtconsole
+ requests
+ ];
+
+ postFixup = ''
+ wrapQtApp "$out/bin/cq-editor"
+ '';
+
+ checkInputs = with python3Packages; [
+ pytest
+ pytest-xvfb
+ pytest-mock
+ pytestcov
+ pytest-repeat
+ pytest-qt
+ ];
+
+ checkPhase = ''
+ pytest --no-xvfb
+ '';
+
+ # requires X server
+ doCheck = false;
+
+ meta = with lib; {
+ description = "CadQuery GUI editor based on PyQT";
+ homepage = "https://github.com/CadQuery/CQ-editor";
+ license = licenses.asl20;
+ maintainers = with maintainers; [ costrouc marcus7070 ];
+ };
+
+}
diff --git a/pkgs/applications/graphics/draftsight/default.nix b/pkgs/applications/graphics/draftsight/default.nix
index e59d14f7dd6eea7453c7c5e1676c47c8ea9842b5..144c723da20f09ee9eb1ea19605eccaa04268033 100644
--- a/pkgs/applications/graphics/draftsight/default.nix
+++ b/pkgs/applications/graphics/draftsight/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, dpkg, makeWrapper, gcc, libGLU_combined, xdg_utils,
+{ stdenv, fetchurl, dpkg, makeWrapper, gcc, libGLU, libGL, xdg_utils,
dbus, alsaLib, cups, fontconfig, glib, icu, libpng12,
xkeyboard_config, zlib, libxslt, libxml2, sqlite, orc,
libX11, libXcursor, libXrandr, libxcb, libXi, libSM, libICE,
@@ -71,7 +71,7 @@ stdenv.mkDerivation {
sha256 = "05lrvml0zkzqg0sj6sj2h8h66hxdmsw5fg9fwz923r1y8j48qxdx";
};
- libPath = stdenv.lib.makeLibraryPath [ gcc.cc libGLU_combined xdg_utils
+ libPath = stdenv.lib.makeLibraryPath [ gcc.cc libGLU libGL xdg_utils
dbus alsaLib cups.lib fontconfig glib icu libpng12
xkeyboard_config zlib libxslt libxml2 sqlite orc libX11
libXcursor libXrandr libxcb libXi libSM libICE libXrender
diff --git a/pkgs/applications/graphics/drawpile/default.nix b/pkgs/applications/graphics/drawpile/default.nix
index b4f6776e02cba03702ad1c122385aa880a337302..c284f15a874773874bf9e4bf2b4906abab9fb901 100644
--- a/pkgs/applications/graphics/drawpile/default.nix
+++ b/pkgs/applications/graphics/drawpile/default.nix
@@ -60,11 +60,11 @@ let
in mkDerivation rec {
pname = "drawpile";
- version = "2.1.13";
+ version = "2.1.14";
src = fetchurl {
url = "https://drawpile.net/files/src/drawpile-${version}.tar.gz";
- sha256 = "0r56hkzjdlg4615zvrjv60i3f06pv7ssh6bs6jb46qs8wbsawsxf";
+ sha256 = "0vpsq8swvli6xiykjqjmdcz33jd44nvhq1n350dm9qap9s9wdr47";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/graphics/exrdisplay/default.nix b/pkgs/applications/graphics/exrdisplay/default.nix
index 562fb8c11dc39124fd220ff86cd3f53fdb99cfcd..d8b08faf23982a49340fbc9985e8cecbe09d8531 100644
--- a/pkgs/applications/graphics/exrdisplay/default.nix
+++ b/pkgs/applications/graphics/exrdisplay/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, fltk, openexr, libGLU_combined, ctl }:
+{ stdenv, fetchurl, pkgconfig, fltk, openexr, libGLU, libGL, ctl }:
stdenv.mkDerivation {
name ="openexr_viewers-2.2.1";
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
'';
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ openexr fltk libGLU_combined ctl ];
+ buildInputs = [ openexr fltk libGLU libGL ctl ];
meta = {
description = "Application for viewing OpenEXR images on a display at various exposure settings";
diff --git a/pkgs/applications/graphics/fig2dev/default.nix b/pkgs/applications/graphics/fig2dev/default.nix
index ae38730226a46e4d55516ac802b8ba881faa6406..c364badc1742f4f72e89c40fcb2e3df2763ff8b3 100644
--- a/pkgs/applications/graphics/fig2dev/default.nix
+++ b/pkgs/applications/graphics/fig2dev/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, ghostscript, libpng } :
let
- version = "3.2.7a";
+ version = "3.2.7b";
in stdenv.mkDerivation {
pname = "fig2dev";
@@ -9,7 +9,7 @@ in stdenv.mkDerivation {
src = fetchurl {
url = "mirror://sourceforge/mcj/fig2dev-${version}.tar.xz";
- sha256 = "0a7vkfl38fvkhg3na5gr9c4fskas9wbs84y9djg85nzwbshik8mx";
+ sha256 = "1ck8gnqgg13xkxq4hrdy706i4xdgrlckx6bi6wxm1g514121pp27";
};
buildInputs = [ libpng ];
diff --git a/pkgs/applications/graphics/freepv/default.nix b/pkgs/applications/graphics/freepv/default.nix
index 0bd3421f1b10feee5c386511003d1e3f26cf034f..57321220fb144d5c54e6d6798501ff2c65c8a6bf 100644
--- a/pkgs/applications/graphics/freepv/default.nix
+++ b/pkgs/applications/graphics/freepv/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, libjpeg, libGLU_combined, freeglut, zlib, cmake, libX11, libxml2, libpng,
+{ stdenv, fetchurl, libjpeg, libGLU, libGL, freeglut, zlib, cmake, libX11, libxml2, libpng,
libXxf86vm }:
stdenv.mkDerivation {
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
sha256 = "1w19abqjn64w47m35alg7bcdl1p97nf11zn64cp4p0dydihmhv56";
};
- buildInputs = [ libjpeg libGLU_combined freeglut zlib cmake libX11 libxml2 libpng
+ buildInputs = [ libjpeg libGLU libGL freeglut zlib cmake libX11 libxml2 libpng
libXxf86vm ];
postPatch = ''
diff --git a/pkgs/applications/graphics/gthumb/default.nix b/pkgs/applications/graphics/gthumb/default.nix
index d7c0f0e0a0cf052059b61342a8e93bda1b81e8fb..f0057f3a1a8845dda9279f514333c97cf97756f9 100644
--- a/pkgs/applications/graphics/gthumb/default.nix
+++ b/pkgs/applications/graphics/gthumb/default.nix
@@ -33,11 +33,11 @@
stdenv.mkDerivation rec {
pname = "gthumb";
- version = "3.8.1";
+ version = "3.8.2";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "184zn79w4s9y1zy42ar31p3jsg8rmkxy8k6iry51nz8aizbcs7jb";
+ sha256 = "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/graphics/hugin/default.nix b/pkgs/applications/graphics/hugin/default.nix
index d7888da15ef6cee0724c1abd0ce87dc57fdde320..8f7800a7323a67d0d85daf0f0944c94551af8c76 100644
--- a/pkgs/applications/graphics/hugin/default.nix
+++ b/pkgs/applications/graphics/hugin/default.nix
@@ -1,7 +1,7 @@
{ stdenv, cmake, fetchurl, gnumake, makeWrapper, pkgconfig, fetchpatch
, autopanosiftc, boost, cairo, enblend-enfuse, exiv2, fftw, flann, gettext
, glew, ilmbase, lcms2, lensfun, libjpeg, libpng, libtiff, libX11, libXi
-, libXmu, libGLU_combined, openexr, panotools, perlPackages, sqlite, vigra, wxGTK, zlib
+, libXmu, libGLU, libGL, openexr, panotools, perlPackages, sqlite, vigra, wxGTK, zlib
}:
stdenv.mkDerivation rec {
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
buildInputs = [
boost cairo exiv2 fftw flann gettext glew ilmbase lcms2 lensfun libjpeg
- libpng libtiff libX11 libXi libXmu libGLU_combined openexr panotools sqlite vigra
+ libpng libtiff libX11 libXi libXmu libGLU libGL openexr panotools sqlite vigra
wxGTK zlib
];
diff --git a/pkgs/applications/graphics/k3d/default.nix b/pkgs/applications/graphics/k3d/default.nix
index 1487fb8adbac48ce9413a10d6cd66f0731afe956..317987d8d911078f30df9b589dce51e431592855 100644
--- a/pkgs/applications/graphics/k3d/default.nix
+++ b/pkgs/applications/graphics/k3d/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, fetchpatch, ftgl, glew, asciidoc
-, cmake, ninja, libGLU_combined, zlib, python, expat, libxml2, libsigcxx, libuuid, freetype
+, cmake, ninja, libGLU, libGL, zlib, python, expat, libxml2, libsigcxx, libuuid, freetype
, libpng, boost, doxygen, cairomm, pkgconfig, imagemagick, libjpeg, libtiff
, gettext, intltool, perl, gtkmm2, glibmm, gtkglext, pangox_compat, libXmu }:
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ninja gettext intltool doxygen pkgconfig perl asciidoc ];
buildInputs = [
- libGLU_combined zlib python expat libxml2 libsigcxx libuuid freetype libpng
+ libGLU libGL zlib python expat libxml2 libsigcxx libuuid freetype libpng
boost cairomm imagemagick libjpeg libtiff
ftgl glew gtkmm2 glibmm gtkglext pangox_compat libXmu
];
diff --git a/pkgs/applications/graphics/kodelife/default.nix b/pkgs/applications/graphics/kodelife/default.nix
index 961b0175da9f284d8e2ed79dfe61d0c117b4086b..47a0687e79daf4d05f1bb82e9d270be7fc59b088 100644
--- a/pkgs/applications/graphics/kodelife/default.nix
+++ b/pkgs/applications/graphics/kodelife/default.nix
@@ -3,17 +3,17 @@
, alsaLib
, glib
, gst_all_1
-, libGLU_combined
+, libGLU, libGL
, xorg
}:
stdenv.mkDerivation rec {
pname = "kodelife";
- version = "0.8.6.101";
+ version = "0.8.7.105";
src = fetchzip {
url = "https://hexler.net/pub/${pname}/${pname}-${version}-linux-x86_64.zip";
- sha256 = "1ldab1famdcby2djfys657g85d46s8k96m6mr71riw4v336ar238";
+ sha256 = "0ld4lwigzwlikx04qy3gskqqg0wzlk8m3ccrd704ifl8lsp46n5r";
};
dontConfigure = true;
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
glib
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
- libGLU_combined
+ libGLU libGL
xorg.libX11
];
in ''
diff --git a/pkgs/applications/graphics/mypaint/default.nix b/pkgs/applications/graphics/mypaint/default.nix
index c08bbbea7668e27574251ee9e41e2bf44d3be048..1acaf4850ebec5d42334f0ea04d623b6191286ef 100644
--- a/pkgs/applications/graphics/mypaint/default.nix
+++ b/pkgs/applications/graphics/mypaint/default.nix
@@ -1,8 +1,22 @@
-{ stdenv, fetchFromGitHub, gtk3, intltool, json_c, lcms2, libpng, librsvg, gobject-introspection
-, gdk-pixbuf, pkgconfig, python2Packages, scons, swig, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, gtk3
+, intltool
+, json_c
+, lcms2
+, libpng
+, librsvg
+, gobject-introspection
+, gdk-pixbuf
+, pkgconfig
+, python2
+, scons
+, swig
+, wrapGAppsHook
+}:
let
- inherit (python2Packages) python pycairo pygobject3 numpy;
+ inherit (python2.pkgs) pycairo pygobject3 numpy;
in stdenv.mkDerivation {
pname = "mypaint";
version = "1.2.1";
@@ -16,18 +30,32 @@ in stdenv.mkDerivation {
};
nativeBuildInputs = [
- intltool pkgconfig scons swig wrapGAppsHook
+ intltool
+ pkgconfig
+ scons
+ swig
+ wrapGAppsHook
gobject-introspection # for setup hook
];
buildInputs = [
- gtk3 gdk-pixbuf json_c lcms2 libpng librsvg pycairo pygobject3 python
+ gtk3
+ gdk-pixbuf
+ json_c
+ lcms2
+ libpng
+ librsvg
+ pycairo
+ pygobject3
+ python2
];
- propagatedBuildInputs = [ numpy ];
+ propagatedBuildInputs = [
+ numpy
+ ];
postInstall = ''
- sed -i -e 's|/usr/bin/env python2.7|${python}/bin/python|' $out/bin/mypaint
+ sed -i -e 's|/usr/bin/env python2.7|${python2}/bin/python|' $out/bin/mypaint
'';
preFixup = ''
@@ -36,7 +64,7 @@ in stdenv.mkDerivation {
meta = with stdenv.lib; {
description = "A graphics application for digital painters";
- homepage = http://mypaint.org/;
+ homepage = "http://mypaint.org/";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ goibhniu jtojnar ];
diff --git a/pkgs/applications/graphics/nomacs/default.nix b/pkgs/applications/graphics/nomacs/default.nix
index 62fae518b9291ab320ab8ff7b46369e53c51e62d..48a79e8844e8537fa7f45f8e1765312edf64d1cc 100644
--- a/pkgs/applications/graphics/nomacs/default.nix
+++ b/pkgs/applications/graphics/nomacs/default.nix
@@ -1,6 +1,7 @@
{ stdenv
, mkDerivation
, fetchFromGitHub
+, fetchpatch
, cmake
, pkgconfig
@@ -9,7 +10,7 @@
, qtsvg
, exiv2
-, opencv
+, opencv4
, libraw
, libtiff
, quazip
@@ -28,6 +29,12 @@ mkDerivation rec {
patches = [
./nomacs-iostream.patch
+ (fetchpatch {
+ name = "darwin-less-restrictive-opencv.patch";
+ url = "https://github.com/nomacs/nomacs/commit/d182fce4bcd9a25bd15e3de065ca67849a32458c.patch";
+ sha256 = "0j6sviwrjn69nqf59hjn30c4j838h8az7rnlwcx8ymlb21vd9x2h";
+ stripLen = 1;
+ })
];
enableParallelBuilding = true;
@@ -43,7 +50,7 @@ mkDerivation rec {
qttools
qtsvg
exiv2
- opencv
+ opencv4
libraw
libtiff
quazip];
diff --git a/pkgs/applications/graphics/openimageio/2.x.nix b/pkgs/applications/graphics/openimageio/2.x.nix
index 69cc323b40f4c4613dac8f1a05fd06999e8b65a5..bbd2f0b59298ec0468867e2b756e4ebfd5a27e92 100644
--- a/pkgs/applications/graphics/openimageio/2.x.nix
+++ b/pkgs/applications/graphics/openimageio/2.x.nix
@@ -14,13 +14,13 @@
stdenv.mkDerivation rec {
pname = "openimageio";
- version = "2.0.11";
+ version = "2.0.12";
src = fetchFromGitHub {
owner = "OpenImageIO";
repo = "oiio";
rev = "Release-${version}";
- sha256 = "1kasp9as81wjvys9qrx10mgdf9bjbdgryhdgjqn05zdmv2rs95nc";
+ sha256 = "0v3k33jb0glb30jdhq3c732a9dxvnidaclz6b2wpqwik8l3658mj";
};
outputs = [ "bin" "out" "dev" "doc" ];
diff --git a/pkgs/applications/graphics/openscad/default.nix b/pkgs/applications/graphics/openscad/default.nix
index 9f7fbc8421ba3ac33ae4e67085cd027640fb3bf4..2c95f6d403f2cf469afa3adde4cd4f81e6bcbc6e 100644
--- a/pkgs/applications/graphics/openscad/default.nix
+++ b/pkgs/applications/graphics/openscad/default.nix
@@ -7,7 +7,7 @@
, flex
, eigen
, boost
-, libGLU_combined
+, libGLU, libGL
, glew
, opencsg
, cgal
@@ -44,7 +44,7 @@ mkDerivation rec {
eigen boost glew opencsg cgal mpfr gmp glib
harfbuzz lib3mf libzip double-conversion freetype fontconfig
qtbase qtmultimedia qscintilla
- ] ++ stdenv.lib.optional stdenv.isLinux libGLU_combined
+ ] ++ stdenv.lib.optionals stdenv.isLinux [ libGLU libGL ]
++ stdenv.lib.optional stdenv.isDarwin qtmacextras
;
diff --git a/pkgs/applications/graphics/paraview/default.nix b/pkgs/applications/graphics/paraview/default.nix
index fdda8062a4334927750ebea200ec9b71b9c2c207..1a47a35574938cd2d2008249f441776fe7d1104a 100644
--- a/pkgs/applications/graphics/paraview/default.nix
+++ b/pkgs/applications/graphics/paraview/default.nix
@@ -1,6 +1,6 @@
{
stdenv, fetchFromGitHub, cmake, makeWrapper
-,qtbase, qttools, python, libGLU_combined
+,qtbase, qttools, python, libGLU, libGL
,libXt, qtx11extras, qtxmlpatterns
, mkDerivation
}:
@@ -43,7 +43,7 @@ mkDerivation rec {
buildInputs = [
python
python.pkgs.numpy
- libGLU_combined
+ libGLU libGL
libXt
qtbase
qtx11extras
diff --git a/pkgs/applications/graphics/pdfcpu/default.nix b/pkgs/applications/graphics/pdfcpu/default.nix
index 3d6d04db553961f2aee9a96a8fe3c8c28c580553..3df2ab4ab4069e2bc7a9666ef81996713aaa1552 100644
--- a/pkgs/applications/graphics/pdfcpu/default.nix
+++ b/pkgs/applications/graphics/pdfcpu/default.nix
@@ -2,13 +2,13 @@
buildGoModule rec {
pname = "pdfcpu";
- version = "0.2.5";
+ version = "0.3";
src = fetchFromGitHub {
owner = "pdfcpu";
repo = pname;
rev = "v${version}";
- sha256 = "0fgdq8byb9pp9wiq3dm0vxw32kbspczqnk41agxpzjf303zmv75y";
+ sha256 = "03v4wc531dwmbjqgs3y3ncdn6g3xirv1w6h1mfgglb6sjll8jxp5";
};
modSha256 = "1nagb3k2ghfw27g4vcmn7v8s5flg387jpf1l18gw6c44a1xjcivs";
diff --git a/pkgs/applications/graphics/seg3d/cstdio.patch b/pkgs/applications/graphics/seg3d/cstdio.patch
deleted file mode 100644
index 0d9eed07a367cea5c6266ac09cb76056db050ef2..0000000000000000000000000000000000000000
--- a/pkgs/applications/graphics/seg3d/cstdio.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-diff --git a/Core/Geometry/Transform.cc b/Core/Geometry/Transform.cc
-index 4f16fdc..0da4679 100644
---- a/Core/Geometry/Transform.cc
-+++ b/Core/Geometry/Transform.cc
-@@ -28,6 +28,7 @@
-
- #include
- #include
-+#include
-
- #include
- #include
-diff --git a/Core/Util/FullFileName.cc b/Core/Util/FullFileName.cc
-index 7a2cad7..7710e92 100644
---- a/Core/Util/FullFileName.cc
-+++ b/Core/Util/FullFileName.cc
-@@ -29,6 +29,7 @@
-
- #include
- #include
-+#include
-
- namespace SCIRun {
-
-diff --git a/Externals/particle-system-mm/src/sizingfield/LFS.cxx b/Externals/particle-system-mm/src/sizingfield/LFS.cxx
-index d1fa5aa..a5a4358 100644
---- a/Externals/particle-system-mm/src/sizingfield/LFS.cxx
-+++ b/Externals/particle-system-mm/src/sizingfield/LFS.cxx
-@@ -1,5 +1,6 @@
- #include
- #include
-+#include
- #include
-
- using namespace std;
-diff --git a/Externals/slivr/Point.cc b/Externals/slivr/Point.cc
-index d3be03e..ed4e503 100644
---- a/Externals/slivr/Point.cc
-+++ b/Externals/slivr/Point.cc
-@@ -42,6 +42,7 @@
- #include
- #include
- #include
-+#include
-
- namespace SLIVR {
-
-diff --git a/Externals/slivr/Transform.cc b/Externals/slivr/Transform.cc
-index c0a4430..520179f 100644
---- a/Externals/slivr/Transform.cc
-+++ b/Externals/slivr/Transform.cc
-@@ -47,6 +47,7 @@
- #include
- #include
- #include
-+#include
-
- using namespace SLIVR;
- using namespace std;
-diff --git a/Externals/slivr/Vector.cc b/Externals/slivr/Vector.cc
-index 8370d65..8b04bb9 100644
---- a/Externals/slivr/Vector.cc
-+++ b/Externals/slivr/Vector.cc
-@@ -43,6 +43,7 @@
- #include
- #include
- #include
-+#include
-
- using std::istream;
- using std::ostream;
-diff --git a/Externals/vispack/src/image/imagefile.txx b/Externals/vispack/src/image/imagefile.txx
-index ced2590..13a32b2 100644
---- a/Externals/vispack/src/image/imagefile.txx
-+++ b/Externals/vispack/src/image/imagefile.txx
-@@ -1,3 +1,5 @@
-+#include
-+
- template
- int write_raw(const char* name, const VISImage& im)
- {
diff --git a/pkgs/applications/graphics/seg3d/default.nix b/pkgs/applications/graphics/seg3d/default.nix
deleted file mode 100644
index 58cec2ec1703123e4714636c88b5444e86ed9133..0000000000000000000000000000000000000000
--- a/pkgs/applications/graphics/seg3d/default.nix
+++ /dev/null
@@ -1,54 +0,0 @@
-{ fetchurl, stdenv, cmake, wxGTK, itk, libGLU_combined, libXft, libXext, libXi, zlib, libXmu,
-libuuid }:
-
-assert (stdenv ? glibc);
-
-stdenv.mkDerivation {
- name = "seg3d-1.12_20090930";
- src = fetchurl {
- url = https://www.sci.utah.edu/releases/seg3d_v1.12/Seg3D_1.12_20090930_source.tgz;
- sha256 = "1wr6rc6v5qjjkmws8yrc03z35h3iydxk1z28p06v1wdnca0y71z8";
- };
-
- patches = [ ./cstdio.patch ];
-
- cmakeFlags = [
- "-DM_LIBRARY=${stdenv.glibc.out}/lib/libm.so"
- "-DDL_LIBRARY=${stdenv.glibc.out}/lib/libdl.so"
- "-DBUILD_UTILS=1"
- "-DBUILD_SEG3D=1"
- "-DBUILD_DATAFLOW=0"
- "-DBUILD_SHARED_LIBS=0"
- "-DWITH_X11=1"
- "-DBUILD_BIOMESH3D=1"
- "-DWITH_TETGEN=1"
- "-DBUILD_TYPE=Release"
- "-DWITH_WXWIDGETS=ON"
- "-DITK_DIR=${itk}/lib/InsightToolkit"
- "-DGDCM_LIBRARY=${itk}/lib/libitkgdcm.a"
- ];
-
-
- makeFlags = "VERBOSE=1";
-
- preBuild = ''
- export LD_LIBRARY_PATH=`pwd`/lib
- export NIX_LDFLAGS="$NIX_LDFLAGS -lGLU -lSM -lICE -lX11 -lXext -luuid";
- '';
-
- preUnpack = ''
- set -x
- sourceRoot=`pwd`/src
- '';
-
- postInstall = ''
- cp Seg3D $out/bin
- exit 1
- '';
-
- buildInputs = [ cmake wxGTK itk libGLU_combined libXft libXext libXi zlib libXmu libuuid ];
-
- meta = {
- broken = true;
- };
-}
diff --git a/pkgs/applications/graphics/xournalpp/default.nix b/pkgs/applications/graphics/xournalpp/default.nix
index 3597b97fae6386b0543c72867acb274549bd6274..76f8e03fa13f34f86ea088e1b5059a4d1f77e937 100644
--- a/pkgs/applications/graphics/xournalpp/default.nix
+++ b/pkgs/applications/graphics/xournalpp/default.nix
@@ -23,13 +23,13 @@
stdenv.mkDerivation rec {
pname = "xournalpp";
- version = "1.0.15";
+ version = "1.0.16";
src = fetchFromGitHub {
owner = "xournalpp";
repo = pname;
rev = version;
- sha256 = "1q716hn2ajkxfba0dxp7vcnqfa31hx36ax09yz4d13sdw43rfjf4";
+ sha256 = "1bdmxxkcqpjvkckizmrz2839b4yspw4xv69bqkrrgkcyvxsr804w";
};
nativeBuildInputs = [ cmake gettext pkgconfig wrapGAppsHook ];
diff --git a/pkgs/applications/misc/alacritty/default.nix b/pkgs/applications/misc/alacritty/default.nix
index 24f788ef4687a30e19cdd9bdecccd167f62268e9..4b4148bdc63d21db3bd0133f9a70d7d640217142 100644
--- a/pkgs/applications/misc/alacritty/default.nix
+++ b/pkgs/applications/misc/alacritty/default.nix
@@ -52,16 +52,16 @@ let
];
in buildRustPackage rec {
pname = "alacritty";
- version = "0.3.3";
+ version = "0.4.0";
src = fetchFromGitHub {
owner = "jwilm";
repo = pname;
rev = "v${version}";
- sha256 = "1h9zid7bi19qga3a8a2d4x3ma9wf1njmj74s4xnw7nzqqf3dh750";
+ sha256 = "0adaqdbma6gskb2g14yscrgr9gch5wf2g2clchplv72c2qr1k427";
};
- cargoSha256 = "1rxb5ljgvn881jkxm8772kf815mmp08ci7sqmn2x1jwdcrphhxr1";
+ cargoSha256 = "1r267g8f986nxh8ms5yhp50qy1yl8gly2jr78p738qqc6frlxlhv";
nativeBuildInputs = [
cmake
@@ -76,10 +76,6 @@ in buildRustPackage rec {
++ lib.optionals stdenv.isDarwin [ AppKit CoreGraphics CoreServices CoreText Foundation OpenGL ];
outputs = [ "out" "terminfo" ];
- postPatch = ''
- substituteInPlace alacritty_terminal/src/config/mouse.rs \
- --replace xdg-open ${xdg_utils}/bin/xdg-open
- '';
postBuild = lib.optionalString stdenv.isDarwin "make app";
@@ -118,7 +114,7 @@ in buildRustPackage rec {
description = "GPU-accelerated terminal emulator";
homepage = https://github.com/jwilm/alacritty;
license = with licenses; [ asl20 ];
- maintainers = with maintainers; [ mic92 ];
+ maintainers = with maintainers; [ filalex77 mic92 ];
platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" ];
};
}
diff --git a/pkgs/applications/misc/blender/default.nix b/pkgs/applications/misc/blender/default.nix
index 3b98114c710705508cbd7c7ba9b33c225ea6526f..8c4833be3e6cf9df47ce241b6e39d296f18a251c 100644
--- a/pkgs/applications/misc/blender/default.nix
+++ b/pkgs/applications/misc/blender/default.nix
@@ -1,7 +1,8 @@
{ config, stdenv, lib, fetchurl, boost, cmake, ffmpeg, gettext, glew
, ilmbase, libXi, libX11, libXext, libXrender
, libjpeg, libpng, libsamplerate, libsndfile
-, libtiff, libGLU_combined, openal, opencolorio, openexr, openimageio, openjpeg_1, python3Packages
+, libtiff, libGLU, libGL, openal, opencolorio, openexr, openimageio, openjpeg_1, python3Packages
+, openvdb, libXxf86vm, tbb
, zlib, fftw, opensubdiv, freetype, jemalloc, ocl-icd, addOpenGLRunpath
, jackaudioSupport ? false, libjack2
, cudaSupport ? config.cudaSupport or false, cudatoolkit
@@ -15,20 +16,21 @@ let python = python3Packages.python; in
stdenv.mkDerivation rec {
pname = "blender";
- version = "2.80";
+ version = "2.81";
src = fetchurl {
- url = "https://download.blender.org/source/${pname}-${version}.tar.gz";
- sha256 = "1h550jisdbis50hxwk5kxrvrk1a6sh2fsri3yyj66vhzbi87x7fd";
+ url = "https://download.blender.org/source/${pname}-${version}.tar.xz";
+ sha256 = "1prp0f2152f1sz23jlc86vndfvmplb7qhllikkirq7hgpykrshna";
};
nativeBuildInputs = [ cmake ] ++ optional cudaSupport addOpenGLRunpath;
buildInputs =
[ boost ffmpeg gettext glew ilmbase
libXi libX11 libXext libXrender
- freetype libjpeg libpng libsamplerate libsndfile libtiff libGLU_combined openal
+ freetype libjpeg libpng libsamplerate libsndfile libtiff libGLU libGL openal
opencolorio openexr openimageio openjpeg_1 python zlib fftw jemalloc
(opensubdiv.override { inherit cudaSupport; })
+ openvdb libXxf86vm tbb
makeWrapper
]
++ optional jackaudioSupport libjack2
@@ -56,6 +58,9 @@ stdenv.mkDerivation rec {
"-DWITH_PYTHON_INSTALL=OFF"
"-DWITH_PYTHON_INSTALL_NUMPY=OFF"
"-DPYTHON_NUMPY_PATH=${python3Packages.numpy}/${python.sitePackages}"
+ "-DWITH_OPENVDB=ON"
+ "-DWITH_TBB=ON"
+ "-DWITH_IMAGE_OPENJPEG=ON"
]
++ optional jackaudioSupport "-DWITH_JACK=ON"
++ optional cudaSupport "-DWITH_CYCLES_CUDA_BINARIES=ON"
diff --git a/pkgs/applications/misc/buku/default.nix b/pkgs/applications/misc/buku/default.nix
index ac65341d4988d86337550387333c226163c810fd..98f6e2895d181895de55156e1372cad4cf20f978 100644
--- a/pkgs/applications/misc/buku/default.nix
+++ b/pkgs/applications/misc/buku/default.nix
@@ -27,6 +27,7 @@ with python3.pkgs; buildPythonApplication rec {
requests
urllib3
flask
+ flask-admin
flask-api
flask-bootstrap
flask-paginate
diff --git a/pkgs/applications/misc/calibre/default.nix b/pkgs/applications/misc/calibre/default.nix
index 22ae573353ea7e159772b5f6aaa91ebea4d15810..9701db3c0b79100617ba8e84758b4969128fec3b 100644
--- a/pkgs/applications/misc/calibre/default.nix
+++ b/pkgs/applications/misc/calibre/default.nix
@@ -47,7 +47,7 @@ mkDerivation rec {
poppler_utils libpng imagemagick libjpeg
fontconfig podofo qtbase chmlib icu sqlite libusb1 libmtp xdg_utils
] ++ (with pypkgs; [
- apsw cssselect css-parser dateutil dnspython html5-parser lxml markdown netifaces pillow
+ apsw cssselect css-parser dateutil dnspython feedparser html5-parser lxml markdown netifaces pillow
python pyqt5_with_qtwebkit sip
regex msgpack beautifulsoup4 html2text
# the following are distributed with calibre, but we use upstream instead
diff --git a/pkgs/applications/misc/clight/clightd.nix b/pkgs/applications/misc/clight/clightd.nix
index 43ff1d73f78fd6cbc474c70db6a8a3f762bfffed..f9c08d1f00a1a2c52f787abb51b5e3c796fa4b0b 100644
--- a/pkgs/applications/misc/clight/clightd.nix
+++ b/pkgs/applications/misc/clight/clightd.nix
@@ -9,13 +9,13 @@
stdenv.mkDerivation rec {
pname = "clightd";
- version = "3.4";
+ version = "4.0";
src = fetchFromGitHub {
owner = "FedeDP";
repo = "Clightd";
rev = version;
- sha256 = "0g6kawizwfhvigkwm7rbfq6rg872xn8igy8n355w4d7mmcxk0jf8";
+ sha256 = "0cskxy3xsy187in5vg8xcs3kwcx2s160qv009v0ahkcalp29ghz4";
};
# dbus-1.pc has datadir=/etc
diff --git a/pkgs/applications/misc/clight/default.nix b/pkgs/applications/misc/clight/default.nix
index 829fd4e12231760b4cfa81845fb3a7c8461f8af8..a2e4525626985ee7f75a0593447360d8e2d4928e 100644
--- a/pkgs/applications/misc/clight/default.nix
+++ b/pkgs/applications/misc/clight/default.nix
@@ -1,18 +1,18 @@
{ lib, stdenv, fetchFromGitHub
, dbus, cmake, pkgconfig, bash-completion
-, gsl, popt, clightd, systemd, libconfig
+, gsl, popt, clightd, systemd, libconfig, libmodule
, withGeoclue ? true, geoclue2
, withUpower ? true, upower }:
stdenv.mkDerivation rec {
pname = "clight";
- version = "3.1";
+ version = "4.0";
src = fetchFromGitHub {
owner = "FedeDP";
repo = "Clight";
rev = version;
- sha256 = "0rzcr1x9h4llnmklhgzs9r7xwhsrw1qkqvfffkp8fs90nycaqx81";
+ sha256 = "101fp9kwmfmfffpdvv41wf96kdjw0b16xk49g43w32a5wlr74zrq";
};
# bash-completion.pc completionsdir=${bash-completion.out}
@@ -42,6 +42,7 @@ stdenv.mkDerivation rec {
systemd
geoclue2
libconfig
+ libmodule
] ++ optional withGeoclue geoclue2
++ optional withUpower upower;
diff --git a/pkgs/applications/misc/copyq/default.nix b/pkgs/applications/misc/copyq/default.nix
index 825053483a4bda43dc99a64332c53d62559ff6c2..58a85f8f6e97383536c73c7cc2a8879548807ccf 100644
--- a/pkgs/applications/misc/copyq/default.nix
+++ b/pkgs/applications/misc/copyq/default.nix
@@ -5,13 +5,13 @@
mkDerivation rec {
pname = "CopyQ";
- version = "3.9.2";
+ version = "3.9.3";
src = fetchFromGitHub {
owner = "hluk";
repo = "CopyQ";
rev = "v${version}";
- sha256 = "02zs444i7hnqishs1i6vp8ffjxlxk3xkrw935pdwnwppv9s9v202";
+ sha256 = "0wlwq9xg8rzsbj0b29z358k4mbrqy04iraa8x0p26pa95yskgcma";
};
nativeBuildInputs = [ cmake ];
diff --git a/pkgs/applications/misc/cpp-ethereum/default.nix b/pkgs/applications/misc/cpp-ethereum/default.nix
index 0e9ff40cffa41907afa069aae04862646e5a079f..dae25f6b8176f868586e0d11116a96e6d7badacd 100644
--- a/pkgs/applications/misc/cpp-ethereum/default.nix
+++ b/pkgs/applications/misc/cpp-ethereum/default.nix
@@ -13,7 +13,7 @@
, miniupnpc
, libmicrohttpd
, gmp
-, libGLU_combined
+, libGLU, libGL
, extraCmakeFlags ? []
}:
stdenv.mkDerivation rec {
@@ -69,7 +69,7 @@ stdenv.mkDerivation rec {
miniupnpc
libmicrohttpd
gmp
- libGLU_combined
+ libGLU libGL
];
dontStrip = true;
diff --git a/pkgs/applications/misc/dbeaver/default.nix b/pkgs/applications/misc/dbeaver/default.nix
index 1549ab00a4f77280a11b978cbe3d7554c9c87e7c..60598e565395fd59d82f7fca500a0f670ebfb638 100644
--- a/pkgs/applications/misc/dbeaver/default.nix
+++ b/pkgs/applications/misc/dbeaver/default.nix
@@ -7,7 +7,7 @@
stdenv.mkDerivation rec {
pname = "dbeaver-ce";
- version = "6.2.4";
+ version = "6.3.0";
desktopItem = makeDesktopItem {
name = "dbeaver";
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "https://dbeaver.io/files/${version}/dbeaver-ce-${version}-linux.gtk.x86_64.tar.gz";
- sha256 = "1k3aan290kfy2b53gl8r4yxvb8jas6sms1r052m3jld3i8frqgva";
+ sha256 = "07j2r2kfjhfv8zzzzp5qj3ppx4vv7llpx4lwip6bnjfkh80ny22a";
};
installPhase = ''
diff --git a/pkgs/applications/misc/et/default.nix b/pkgs/applications/misc/et/default.nix
index d8b355efe86d8bfb0a86a2dfea43ddf430c5b11d..2cf8813aac402c16a8b0ca7bcddaef7a6b74ac14 100644
--- a/pkgs/applications/misc/et/default.nix
+++ b/pkgs/applications/misc/et/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "et";
- version = "0.1.1";
+ version = "0.1.2";
src = fetchFromGitHub {
owner = "geistesk";
repo = "et";
rev = version;
- sha256 = "167w9qwfpd63rgy0xmkkkh5krmd91q42c3ijy3j099krgdfbb9bc";
+ sha256 = "0i0lgmnly8n7y4y6pb10pxgxyz8s5zk26k8z1g1578v1wan01lnq";
};
buildInputs = [ libnotify gdk-pixbuf ];
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Minimal libnotify-based (egg) timer";
- homepage = https://github.com/geistesk/et;
+ homepage = "https://github.com/geistesk/et";
license = licenses.gpl3;
platforms = platforms.unix;
maintainers = with maintainers; [ geistesk ];
diff --git a/pkgs/applications/misc/gallery-dl/default.nix b/pkgs/applications/misc/gallery-dl/default.nix
index b1cd6a36e08551e4baa282568a09afa5b3551b92..1a9789114dca7fe31835a7e45237dc07e155c21a 100644
--- a/pkgs/applications/misc/gallery-dl/default.nix
+++ b/pkgs/applications/misc/gallery-dl/default.nix
@@ -2,11 +2,11 @@
python3Packages.buildPythonApplication rec {
pname = "gallery_dl";
- version = "1.10.6";
+ version = "1.11.1";
src = python3Packages.fetchPypi {
inherit pname version;
- sha256 = "0jbfp072rnb3pkqp10xds57bnlcn87vqjaz68nhpzkwvwhs3hr4w";
+ sha256 = "08py1f48ylw83712h8313rxz55igbszxcwr2yxkchpr4233avzph";
};
doCheck = false;
diff --git a/pkgs/applications/misc/glava/default.nix b/pkgs/applications/misc/glava/default.nix
index 6f5146161a6da07681325b98e24c0a1dbeb5090b..519df42c789af906800b6d2cfba5efcfd60cd464 100644
--- a/pkgs/applications/misc/glava/default.nix
+++ b/pkgs/applications/misc/glava/default.nix
@@ -8,7 +8,7 @@ let
wrapperScript = writeScript "glava" ''
#!${runtimeShell}
case "$1" in
- --copy-config)
+ --copy-config|-C)
# The binary would symlink it, which won't work in Nix because the
# garbage collector will eventually remove the original files after
# updates
@@ -45,6 +45,14 @@ in
];
preConfigure = ''
+ for f in $(find -type f);do
+ substituteInPlace $f \
+ --replace /etc/xdg $out/etc/xdg
+ done
+
+ substituteInPlace Makefile \
+ --replace '$(DESTDIR)$(SHADERDIR)' '$(SHADERDIR)'
+
substituteInPlace Makefile \
--replace 'unknown' 'v${version}'
diff --git a/pkgs/applications/misc/googleearth/default.nix b/pkgs/applications/misc/googleearth/default.nix
index 961efe4b057665e7d277394d0d23906a12ee8d87..181273752ea87a31bd178da90cda38a314036642 100644
--- a/pkgs/applications/misc/googleearth/default.nix
+++ b/pkgs/applications/misc/googleearth/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, glibc, libGLU_combined, freetype, glib, libSM, libICE, libXi, libXv
+{ stdenv, fetchurl, glibc, libGLU, libGL, freetype, glib, libSM, libICE, libXi, libXv
, libXrender, libXrandr, libXfixes, libXcursor, libXinerama, libXext, libX11
, zlib, fontconfig, dpkg, libproxy, libxml2, gstreamer, gst_all_1, dbus }:
@@ -20,7 +20,7 @@ let
libICE
libXi
libXv
- libGLU_combined
+ libGLU libGL
libXrender
libXrandr
libXfixes
diff --git a/pkgs/applications/misc/gpxsee/default.nix b/pkgs/applications/misc/gpxsee/default.nix
index cad738908f06a72150e1379547913a7290927a9c..9a9edba512aade156261439ce0f0d9fb5c06b52b 100644
--- a/pkgs/applications/misc/gpxsee/default.nix
+++ b/pkgs/applications/misc/gpxsee/default.nix
@@ -2,13 +2,13 @@
mkDerivation rec {
pname = "gpxsee";
- version = "7.17";
+ version = "7.18";
src = fetchFromGitHub {
owner = "tumic0";
repo = "GPXSee";
rev = version;
- sha256 = "10mch709m4ws73yzkrx9lm2hwzl179ggpk6xkbhkvnl7rsd2yz08";
+ sha256 = "1z3knfqfv0rwsq66adk0qngw1r500yvy4z259bygqkzbn2l5fcjk";
};
nativeBuildInputs = [ qmake ];
diff --git a/pkgs/applications/misc/houdini/runtime.nix b/pkgs/applications/misc/houdini/runtime.nix
index 88c87eaca87126370eefbfb95b8d226488ab9eb5..279791561d90861e94d038c511fb0b905fe5e51d 100644
--- a/pkgs/applications/misc/houdini/runtime.nix
+++ b/pkgs/applications/misc/houdini/runtime.nix
@@ -1,4 +1,4 @@
-{ stdenv, requireFile, zlib, libpng, libSM, libICE, fontconfig, xorg, libGLU, libGL, alsaLib, dbus, xkeyboardconfig, bc }:
+{ stdenv, requireFile, zlib, libpng, libSM, libICE, fontconfig, xorg, libGLU, libGL, alsaLib, dbus, xkeyboardconfig, bc, addOpenGLRunpath }:
let
ld_library_path = builtins.concatStringsSep ":" [
@@ -24,19 +24,20 @@ let
zlib
libpng
dbus
+ addOpenGLRunpath.driverLink
])
];
license_dir = "~/.config/houdini";
in
stdenv.mkDerivation rec {
- version = "17.0.352";
+ version = "17.5.327";
pname = "houdini-runtime";
src = requireFile rec {
name = "houdini-${version}-linux_x86_64_gcc6.3.tar.gz";
- sha256 = "0cl5fkgaplb0cvv7mli06ffc9j4ngpy8hl5zqabj3d645gcgafjg";
+ sha256 = "1byigmhmby8lgi2vmgxy9jlrrqk7jyr507zqkihq5bv8kfsanv1x";
message = ''
This nix expression requires that ${name} is already part of the store.
- Download it from https://sidefx.com and add it to the nix store with:
+ Download it from https://www.sidefx.com and add it to the nix store with:
nix-prefetch-url
@@ -77,7 +78,7 @@ stdenv.mkDerivation rec {
'';
meta = {
description = "3D animation application software";
- homepage = https://sidefx.com;
+ homepage = https://www.sidefx.com;
license = stdenv.lib.licenses.unfree;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.canndrew ];
diff --git a/pkgs/applications/misc/hugo/default.nix b/pkgs/applications/misc/hugo/default.nix
index 840f4c32e52a4b7ab01e6499a1388558c44b4d31..c2065d943534267636dd1a9f4e9cd8a25d39c023 100644
--- a/pkgs/applications/misc/hugo/default.nix
+++ b/pkgs/applications/misc/hugo/default.nix
@@ -2,7 +2,7 @@
buildGoModule rec {
pname = "hugo";
- version = "0.58.3";
+ version = "0.60.0";
goPackagePath = "github.com/gohugoio/hugo";
@@ -10,10 +10,10 @@ buildGoModule rec {
owner = "gohugoio";
repo = pname;
rev = "v${version}";
- sha256 = "00dhb6xilkwr9yhncpyc6alzqw77ch3vd85dc7lzsmhw1c80n0lc";
+ sha256 = "0g8rq79xp7c9p31xc0anfjyz7xp8n7qzv3vmvg2nmzl7nayg88aa";
};
- modSha256 = "0d6zc7hxb246zsvwsjz4ds6gdd2m95x6l3djh3mmciwfg9cd7prx";
+ modSha256 = "12h1ik1hgs4lkmk699wpa34rnycnm03qyr2vp1y5lywz1h93by20";
buildFlags = "-tags extended";
diff --git a/pkgs/applications/misc/icesl/default.nix b/pkgs/applications/misc/icesl/default.nix
index c197e1a8fd3801f5790225da857413aa69a6b893..3ee4fd8259a9e2c2e9add7aedf04eb061f29c037 100644
--- a/pkgs/applications/misc/icesl/default.nix
+++ b/pkgs/applications/misc/icesl/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, lib, fetchzip, freeglut, libXmu, libXi, libX11, libICE, libGLU_combined, libSM, libXext, dialog, makeWrapper }:
+{ stdenv, lib, fetchzip, freeglut, libXmu, libXi, libX11, libICE, libGLU, libGL, libSM, libXext, dialog, makeWrapper }:
let
- lpath = stdenv.lib.makeLibraryPath [ libXmu libXi libX11 freeglut libICE libGLU_combined libSM libXext ];
+ lpath = stdenv.lib.makeLibraryPath [ libXmu libXi libX11 freeglut libICE libGLU libGL libSM libXext ];
in
stdenv.mkDerivation rec {
pname = "iceSL";
diff --git a/pkgs/applications/misc/josm/default.nix b/pkgs/applications/misc/josm/default.nix
index 857cc6c74560e5f12bd45710725b3436da1b5da4..a3cbdabeacf6b79e294473b2cf3b744aad51726f 100644
--- a/pkgs/applications/misc/josm/default.nix
+++ b/pkgs/applications/misc/josm/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "josm";
- version = "15390";
+ version = "15492";
src = fetchurl {
url = "https://josm.openstreetmap.de/download/josm-snapshot-${version}.jar";
- sha256 = "1wxncd3mjd4j14svgpmvrxc0nkzfkpn0xlci7m7wp9hfp1l81v9f";
+ sha256 = "0x7ndcrlvrvk2fd4pyn10npr3778khcwg6xzzh19vdw4glh5zfcl";
};
buildInputs = [ jdk11 makeWrapper ];
diff --git a/pkgs/applications/misc/kanboard/default.nix b/pkgs/applications/misc/kanboard/default.nix
index 0bdf8e49d969f9f8c3c38addd47a3e8218210ebb..d3cef00bbe8adb44a2678e3ea310c346bfbf87d6 100644
--- a/pkgs/applications/misc/kanboard/default.nix
+++ b/pkgs/applications/misc/kanboard/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "kanboard";
- version = "1.2.11";
+ version = "1.2.12";
src = fetchFromGitHub {
owner = "kanboard";
repo = "kanboard";
rev = "v${version}";
- sha256 = "0if5nh4m4y3xlvlv86jph7ix5nvpgc1zjkp4cq5iig6z0041bw98";
+ sha256 = "1m1drgbyk1m6mf69xqlz9gqcj650n9m4y2fdj7d2yv20q8r31489";
};
dontBuild = true;
diff --git a/pkgs/applications/misc/keepassx/community.nix b/pkgs/applications/misc/keepassx/community.nix
index 6701c910a1fccd0f21f558807a2ef2885f1209c6..06fc04ba8fb46dcc149214b015a6a2a197642ca1 100644
--- a/pkgs/applications/misc/keepassx/community.nix
+++ b/pkgs/applications/misc/keepassx/community.nix
@@ -34,13 +34,13 @@ with stdenv.lib;
stdenv.mkDerivation rec {
pname = "keepassxc";
- version = "2.5.0";
+ version = "2.5.1";
src = fetchFromGitHub {
owner = "keepassxreboot";
repo = "keepassxc";
rev = version;
- sha256 = "053z6mzcn22w3vkf09i7kdi5p0c6zcd9g62v3p5i3yhd14cgviqr";
+ sha256 = "0dkya9smx81c5cgcwk2gi2m1pabfff1v9gd3ngl42sdvyb63wgdq";
};
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang [
diff --git a/pkgs/applications/misc/kitty/default.nix b/pkgs/applications/misc/kitty/default.nix
index e87d09b50ccf3fcfdc80163c1333dbce60e6589c..cd04fdb25740dbdfe6aa0f1e3c2933dd45042e56 100644
--- a/pkgs/applications/misc/kitty/default.nix
+++ b/pkgs/applications/misc/kitty/default.nix
@@ -21,14 +21,14 @@
with python3Packages;
buildPythonApplication rec {
pname = "kitty";
- version = "0.14.6";
+ version = "0.15.0";
format = "other";
src = fetchFromGitHub {
owner = "kovidgoyal";
repo = "kitty";
rev = "v${version}";
- sha256 = "1rb5ys9xsdhd2qa3kz5gqzz111c6b14za98va6hlglk69wqlmb51";
+ sha256 = "1gh8lcyqpkwvmjxwiq5d43sd43bg3c49fyy2x8drqdzj34gc49qg";
};
buildInputs = [
diff --git a/pkgs/applications/misc/kitty/no-werror.patch b/pkgs/applications/misc/kitty/no-werror.patch
index 8217b5ef51a602d1e198cb40643727aa457bb9a6..92a652588550a88c77c64ebfe0028491033c815d 100644
--- a/pkgs/applications/misc/kitty/no-werror.patch
+++ b/pkgs/applications/misc/kitty/no-werror.patch
@@ -1,11 +1,11 @@
--- a/setup.py
+++ b/setup.py
-@@ -212,7 +212,7 @@
+@@ -217,7 +217,7 @@ def init_env(
cflags = os.environ.get(
'OVERRIDE_CFLAGS', (
- '-Wextra -Wno-missing-field-initializers -Wall -Wstrict-prototypes -std=c11'
+ '-Wextra {} -Wno-missing-field-initializers -Wall -Wstrict-prototypes -std={}11'
- ' -pedantic-errors -Werror {} {} -fwrapv {} {} -pipe {} -fvisibility=hidden'
+ ' {} {} -fwrapv {} {} -pipe {} -fvisibility=hidden'
).format(
+ float_conversion, std,
optimize,
- ' '.join(sanitize_args),
diff --git a/pkgs/applications/misc/llpp/default.nix b/pkgs/applications/misc/llpp/default.nix
index 2c2acb6a74344de70442ee23e6038c7a40403d13..25f9b10b1e859abb3098847af94902a4594e4661 100644
--- a/pkgs/applications/misc/llpp/default.nix
+++ b/pkgs/applications/misc/llpp/default.nix
@@ -1,5 +1,5 @@
{ stdenv, lib, substituteAll, makeWrapper, fetchgit, ocaml, mupdf, libX11,
-libGLU_combined, freetype, xclip, inotify-tools, procps }:
+libGLU, libGL, freetype, xclip, inotify-tools, procps }:
assert lib.versionAtLeast (lib.getVersion ocaml) "4.07";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
});
nativeBuildInputs = [ makeWrapper ];
- buildInputs = [ ocaml mupdf libX11 libGLU_combined freetype ];
+ buildInputs = [ ocaml mupdf libX11 libGLU libGL freetype ];
dontStrip = true;
diff --git a/pkgs/applications/misc/merkaartor/default.nix b/pkgs/applications/misc/merkaartor/default.nix
index 3023a5b5930ca6046d460b09f77bf510d8e95433..e643c212225b60b676adef72ff521c5151171d66 100644
--- a/pkgs/applications/misc/merkaartor/default.nix
+++ b/pkgs/applications/misc/merkaartor/default.nix
@@ -1,20 +1,20 @@
{ stdenv, fetchFromGitHub, makeWrapper, qmake, pkgconfig, boost, gdal, proj
-, qtbase, qtsvg, qtwebkit }:
+, qtbase, qtsvg, qtwebview, qtwebkit }:
stdenv.mkDerivation rec {
pname = "merkaartor";
- version = "0.18.3";
+ version = "unstable-2019-11-12";
src = fetchFromGitHub {
owner = "openstreetmap";
repo = "merkaartor";
- rev = version;
- sha256 = "0ls3q8m1hxiwyrypy6qca8wczhl4969ncl0sszfdwfv70rzxjk88";
+ rev = "29b3388680a03f1daac0037a2b504ea710da879a";
+ sha256 = "0h3d3srzl06p2ajq911j05zr4vkl88qij18plydx45yqmvyvh0xz";
};
nativeBuildInputs = [ makeWrapper qmake pkgconfig ];
- buildInputs = [ boost gdal proj qtbase qtsvg qtwebkit ];
+ buildInputs = [ boost gdal proj qtbase qtsvg qtwebview qtwebkit ];
enableParallelBuilding = true;
diff --git a/pkgs/applications/misc/minder/default.nix b/pkgs/applications/misc/minder/default.nix
index 4b92a43451a3cadaa6ae16d757614d9903be0ed0..5c31cdf6e72776ad5a2d4075eba24f39ca20e5e7 100644
--- a/pkgs/applications/misc/minder/default.nix
+++ b/pkgs/applications/misc/minder/default.nix
@@ -7,13 +7,13 @@
stdenv.mkDerivation rec {
pname = "minder";
- version = "1.5.0";
+ version = "1.5.1";
src = fetchFromGitHub {
owner = "phase1geo";
repo = pname;
rev = version;
- sha256 = "0lhmv3z2jifv4cksxa27jigdfj9n81myjsxg38xp28fx5x3h8bzc";
+ sha256 = "1z3if8bbiigb3m5py641y0j8d9z0s6kbb325waxbqs240pcxipml";
};
nativeBuildInputs = [ pkgconfig meson ninja python3 wrapGAppsHook vala shared-mime-info ];
diff --git a/pkgs/applications/misc/mlterm/default.nix b/pkgs/applications/misc/mlterm/default.nix
index 303b9fe5e8bced4ab82728f4468508fb1ca53733..0c8ad9ae1b3cb94487378c4f4b261d30f8d4d05d 100644
--- a/pkgs/applications/misc/mlterm/default.nix
+++ b/pkgs/applications/misc/mlterm/default.nix
@@ -7,11 +7,11 @@
stdenv.mkDerivation rec {
pname = "mlterm";
- version = "3.8.8";
+ version = "3.8.9";
src = fetchurl {
url = "mirror://sourceforge/project/mlterm/01release/${pname}-${version}/${pname}-${version}.tar.gz";
- sha256 = "1jq3fv2wqhszfipkzj8d0lykr6g0zzksn7xy4d3kwincmzfskv7k";
+ sha256 = "1iy7wq953gcnygr1d04h5ddvhpmy8l575n5is2w0rj3ck31ihpqd";
};
nativeBuildInputs = [ pkgconfig autoconf ];
@@ -86,8 +86,9 @@ stdenv.mkDerivation rec {
};
meta = with stdenv.lib; {
+ description = "Multi Lingual TERMinal emulator on X11";
homepage = http://mlterm.sourceforge.net/;
- license = licenses.bsd2;
+ license = licenses.bsd3;
maintainers = with maintainers; [ vrthra ramkromberg ];
platforms = with platforms; linux;
};
diff --git a/pkgs/applications/misc/navit/default.nix b/pkgs/applications/misc/navit/default.nix
index 4d95f0b523888e5eff2d7a87f62a663b244355f7..29e768c257f101aef62049e8682cefbc02cdb2be 100644
--- a/pkgs/applications/misc/navit/default.nix
+++ b/pkgs/applications/misc/navit/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, pkgconfig, gtk2, fontconfig, freetype, imlib2
-, SDL_image, libGLU_combined, libXmu, freeglut, pcre, dbus, dbus-glib, glib
+, SDL_image, libGLU, libGL, libXmu, freeglut, pcre, dbus, dbus-glib, glib
, librsvg, freeimage, libxslt, cairo, gdk-pixbuf, pango
, atk, patchelf, fetchurl, bzip2, python, gettext, quesoglc
, gd, cmake, shapelib, SDL_ttf, fribidi, makeWrapper
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
];
buildInputs = [
- gtk2 fontconfig freetype imlib2 libGLU_combined freeimage
+ gtk2 fontconfig freetype imlib2 libGLU libGL freeimage
libxslt libXmu freeglut python gettext quesoglc gd
fribidi pcre dbus dbus-glib librsvg shapelib glib
cairo gdk-pixbuf pango atk
diff --git a/pkgs/applications/misc/nut/default.nix b/pkgs/applications/misc/nut/default.nix
index ec5ee031a5be9d5b0415b30830b941302088f543..8b0cab31588899886d546cadd2c7ff033c542310 100644
--- a/pkgs/applications/misc/nut/default.nix
+++ b/pkgs/applications/misc/nut/default.nix
@@ -1,17 +1,27 @@
{ stdenv, fetchurl, pkgconfig, neon, libusb, openssl, udev, avahi, freeipmi
-, libtool, makeWrapper, nss }:
+, libtool, makeWrapper, autoreconfHook, fetchpatch
+}:
stdenv.mkDerivation rec {
- name = "nut-2.7.4";
+ pname = "nut";
+ version = "2.7.4";
src = fetchurl {
- url = "http://www.networkupstools.org/source/2.7/${name}.tar.gz";
+ url = "https://networkupstools.org/source/2.7/${pname}-${version}.tar.gz";
sha256 = "19r5dm07sfz495ckcgbfy0pasx0zy3faa0q7bih69lsjij8q43lq";
};
- buildInputs = [ neon libusb openssl udev avahi freeipmi libtool nss ];
+ patches = [
+ (fetchpatch {
+ # Fix build with openssl >= 1.1.0
+ url = "https://github.com/networkupstools/nut/commit/612c05efb3c3b243da603a3a050993281888b6e3.patch";
+ sha256 = "0jdbii1z5sqyv24286j5px65j7b3gp8zk3ahbph83pig6g46m3hs";
+ })
+ ];
- nativeBuildInputs = [ pkgconfig makeWrapper ];
+ buildInputs = [ neon libusb openssl udev avahi freeipmi ];
+
+ nativeBuildInputs = [ autoreconfHook libtool pkgconfig makeWrapper ];
configureFlags =
[ "--with-all"
@@ -26,7 +36,6 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
-
postInstall = ''
wrapProgram $out/bin/nut-scanner --prefix LD_LIBRARY_PATH : \
"$out/lib:${neon}/lib:${libusb.out}/lib:${avahi}/lib:${freeipmi}/lib"
@@ -39,7 +48,7 @@ stdenv.mkDerivation rec {
interface for monitoring and administering UPS, PDU and SCD hardware.
It uses a layered approach to connect all of the parts.
'';
- homepage = http://www.networkupstools.org/;
+ homepage = https://networkupstools.org/;
repositories.git = https://github.com/networkupstools/nut.git;
platforms = platforms.linux;
maintainers = [ maintainers.pierron ];
diff --git a/pkgs/applications/misc/onboard/default.nix b/pkgs/applications/misc/onboard/default.nix
index 79e3317e64daa031206d8150d43a48e108c09998..1e578cde512a7400055f4e0345764939bf9aafc9 100644
--- a/pkgs/applications/misc/onboard/default.nix
+++ b/pkgs/applications/misc/onboard/default.nix
@@ -7,7 +7,7 @@
, bash
, glib
, glibcLocales
-, gnome3
+, dconf
, gobject-introspection
, gsettings-desktop-schemas
, gtk3
@@ -66,7 +66,7 @@ python3.pkgs.buildPythonApplication rec {
buildInputs = [
bash
glib
- gnome3.dconf
+ dconf
gsettings-desktop-schemas
gtk3
hunspell
@@ -89,7 +89,7 @@ python3.pkgs.buildPythonApplication rec {
];
propagatedUserEnvPkgs = [
- gnome3.dconf
+ dconf
];
checkInputs = [
diff --git a/pkgs/applications/misc/openbrf/default.nix b/pkgs/applications/misc/openbrf/default.nix
index b8b6e42d5cf540785f5638c8c61dbabd82e85531..e943263600cdad9df5de68fadae1e9814192451a 100644
--- a/pkgs/applications/misc/openbrf/default.nix
+++ b/pkgs/applications/misc/openbrf/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, qtbase, vcg, glew, qmake, libGLU_combined }:
+{ stdenv, fetchFromGitHub, qtbase, vcg, glew, qmake, libGLU, libGL }:
stdenv.mkDerivation {
@@ -28,7 +28,7 @@ stdenv.mkDerivation {
install -Dm644 reference.brf $out/share/openBrf/reference.brf
patchelf \
- --set-rpath "${stdenv.lib.makeLibraryPath [ qtbase glew stdenv.cc.cc libGLU_combined ]}" \
+ --set-rpath "${stdenv.lib.makeLibraryPath [ qtbase glew stdenv.cc.cc libGLU libGL ]}" \
$out/share/openBrf/openBrf
mkdir -p "$out/bin"
diff --git a/pkgs/applications/misc/opencpn/default.nix b/pkgs/applications/misc/opencpn/default.nix
index 9240b5d8910e43d62de38ecb3335e38a36a2656e..375552aaa33a4efe1df4cf820e7d39d4d7007085 100644
--- a/pkgs/applications/misc/opencpn/default.nix
+++ b/pkgs/applications/misc/opencpn/default.nix
@@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
pname = "opencpn-unstable";
- version = "2019-05-15";
+ version = "2019-11-21";
src = fetchFromGitHub {
owner = "OpenCPN";
repo = "OpenCPN";
- rev = "83a3c4b5ff011d4eb070f009e0a46d194b177047";
- sha256 = "00s1mxnkf1gg41hrz0zp8ypkp98py0m1c22im2zd09k6lcddxw5p";
+ rev = "e73dc935545b2bbcf193cc61d987a0178c52d7a7";
+ sha256 = "0yiqahkzwcbzgabc5xgxmwlngapkfiaqyva3mwz29xj0c5lg2bdk";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/misc/osmium-tool/default.nix b/pkgs/applications/misc/osmium-tool/default.nix
index 19657da607fc522c35ddfa148f3be8bd94dcd254..82144e9689f84903536dae606ee02fdcddd5ba97 100644
--- a/pkgs/applications/misc/osmium-tool/default.nix
+++ b/pkgs/applications/misc/osmium-tool/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "osmium-tool";
- version = "1.11.0";
+ version = "1.11.1";
src = fetchFromGitHub {
owner = "osmcode";
repo = "osmium-tool";
rev = "v${version}";
- sha256 = "164r1w539dzy67ir2rqh21kwdvkjv87isd18gp51qyxbsprz6kq5";
+ sha256 = "199dvajik5d56nybk2061vdjyxwakngfd7frxj99wr2vsrp4aw2b";
};
nativeBuildInputs = [ cmake ];
diff --git a/pkgs/applications/misc/plank/default.nix b/pkgs/applications/misc/plank/default.nix
index dfc92e38f63ce949d2c81e301b01d96e629921cb..0ae9e7379e7c8574cd0dc10fa2548f4228c406cf 100644
--- a/pkgs/applications/misc/plank/default.nix
+++ b/pkgs/applications/misc/plank/default.nix
@@ -3,6 +3,7 @@
, vala
, atk
, cairo
+, dconf
, glib
, gnome3
, gtk3
@@ -51,7 +52,7 @@ stdenv.mkDerivation rec {
gdk-pixbuf
glib
gnome-menus
- gnome3.dconf
+ dconf
gtk3
libX11
libXfixes
diff --git a/pkgs/applications/misc/polybar/default.nix b/pkgs/applications/misc/polybar/default.nix
index 9ca8c696184cb5c38396366512c2486f15b59a32..fcc6ead550a8f06d452d07c16eb48b74081f9aa3 100644
--- a/pkgs/applications/misc/polybar/default.nix
+++ b/pkgs/applications/misc/polybar/default.nix
@@ -1,5 +1,5 @@
{ cairo, cmake, fetchFromGitHub, libXdmcp, libpthreadstubs, libxcb, pcre, pkgconfig
-, python2, stdenv, xcbproto, xcbutil, xcbutilcursor, xcbutilimage
+, python3, stdenv, xcbproto, xcbutil, xcbutilcursor, xcbutilimage
, xcbutilrenderutil, xcbutilwm, xcbutilxrm, makeWrapper
# optional packages-- override the variables ending in 'Support' to enable or
@@ -24,15 +24,16 @@ assert nlSupport -> ! iwSupport && libnl != null;
assert i3Support -> ! i3GapsSupport && jsoncpp != null && i3 != null;
assert i3GapsSupport -> ! i3Support && jsoncpp != null && i3-gaps != null;
-stdenv.mkDerivation rec {
+let xcbproto-py3 = xcbproto.override { python = python3; };
+in stdenv.mkDerivation rec {
pname = "polybar";
- version = "3.4.0";
+ version = "3.4.1";
src = fetchFromGitHub {
- owner = "jaagr";
+ owner = pname;
repo = pname;
rev = version;
- sha256 = "1g3zj0788cdlm8inpl19279bw8zjcy7dzj7q4f1l2d8c8g1jhv0m";
+ sha256 = "1z1m6dxh2i5vsnkzaccb9j02ab05wgmcgig5d0l9w856g5jp3zmy";
fetchSubmodules = true;
};
@@ -45,12 +46,12 @@ stdenv.mkDerivation rec {
having a black belt in shell scripting.
'';
license = licenses.mit;
- maintainers = [ maintainers.afldcr ];
- platforms = platforms.unix;
+ maintainers = with maintainers; [ afldcr filalex77 ];
+ platforms = platforms.linux;
};
buildInputs = [
- cairo libXdmcp libpthreadstubs libxcb pcre python2 xcbproto xcbutil
+ cairo libXdmcp libpthreadstubs libxcb pcre python3 xcbproto-py3 xcbutil
xcbutilcursor xcbutilimage xcbutilrenderutil xcbutilwm xcbutilxrm
(if alsaSupport then alsaLib else null)
diff --git a/pkgs/applications/misc/qtpass/default.nix b/pkgs/applications/misc/qtpass/default.nix
index 1256bb96608febc65a1514c80693b424f8d2a381..f185524da5875275629b19775cd1d68a47e1f817 100644
--- a/pkgs/applications/misc/qtpass/default.nix
+++ b/pkgs/applications/misc/qtpass/default.nix
@@ -1,5 +1,5 @@
{ lib, mkDerivation, fetchFromGitHub
-, git, gnupg, pass, pwgen
+, git, gnupg, pass, pwgen, qrencode
, qtbase, qtsvg, qttools, qmake
}:
@@ -14,6 +14,11 @@ mkDerivation rec {
sha256 = "0748hjvhjrybi33ci3c8hcr74k9pdrf5jv8npf9hrsrmdyy1kr9x";
};
+ postPatch = ''
+ substituteInPlace src/qtpass.cpp \
+ --replace "/usr/bin/qrencode" "${qrencode}/bin/qrencode"
+ '';
+
buildInputs = [ git gnupg pass qtbase qtsvg ];
nativeBuildInputs = [ qmake qttools ];
diff --git a/pkgs/applications/misc/simplenote/default.nix b/pkgs/applications/misc/simplenote/default.nix
index be8e210540101d5be043d726781d59c16db8f25f..1829407705b9dbbfeeb396fcbda6cb977e9cc7bf 100644
--- a/pkgs/applications/misc/simplenote/default.nix
+++ b/pkgs/applications/misc/simplenote/default.nix
@@ -1,23 +1,37 @@
-{ atomEnv, autoPatchelfHook, dpkg, fetchurl, makeDesktopItem, makeWrapper
-, stdenv, udev, wrapGAppsHook }:
+{ atomEnv
+, autoPatchelfHook
+, dpkg
+, fetchurl
+, makeDesktopItem
+, makeWrapper
+, stdenv
+, udev
+, wrapGAppsHook
+}:
let
inherit (stdenv.hostPlatform) system;
+ throwSystem = throw "Unsupported system: ${system}";
+
pname = "simplenote";
- version = "1.9.1";
+ version = "1.11.0";
sha256 = {
- x86_64-linux = "1zqrjh1xfdpkpj1fsri9r4qkazh9j89pbj8vjr474b39v56v693j";
- }.${system};
+ x86_64-linux = "1ljam1yfiy1lh6lrknrq7cdqpj1q7f655mxjiiwv3izp98qr1f8s";
+ }.${system} or throwSystem;
meta = with stdenv.lib; {
description = "The simplest way to keep notes";
homepage = "https://github.com/Automattic/simplenote-electron";
license = licenses.gpl2;
- maintainers = with maintainers; [ kiwi ];
- platforms = [ "x86_64-linux" ];
+ maintainers = with maintainers; [
+ kiwi
+ ];
+ platforms = [
+ "x86_64-linux"
+ ];
};
linux = stdenv.mkDerivation rec {
@@ -31,14 +45,14 @@ let
};
desktopItem = makeDesktopItem {
- name = "simplenote";
+ categories = "Development";
comment = "Simplenote for Linux";
+ desktopName = "Simplenote";
exec = "simplenote %U";
icon = "simplenote";
- type = "Application";
+ name = "simplenote";
startupNotify = "true";
- desktopName = "Simplenote";
- categories = "Development";
+ type = "Application";
};
dontBuild = true;
@@ -46,9 +60,14 @@ let
dontPatchELF = true;
dontWrapGApps = true;
- buildInputs = atomEnv.packages;
+ nativeBuildInputs = [
+ autoPatchelfHook
+ dpkg
+ makeWrapper
+ wrapGAppsHook
+ ];
- nativeBuildInputs = [ dpkg makeWrapper autoPatchelfHook wrapGAppsHook ];
+ buildInputs = atomEnv.packages;
unpackPhase = "dpkg-deb -x $src .";
@@ -62,14 +81,15 @@ let
cp "${desktopItem}/share/applications/"* "$out/share/applications"
'';
- runtimeDependencies = [ udev.lib ];
+ runtimeDependencies = [
+ udev.lib
+ ];
postFixup = ''
- ls -ahl $out
makeWrapper $out/opt/Simplenote/simplenote $out/bin/simplenote \
- "''${gappsWrapperArgs[@]}"
+ "''${gappsWrapperArgs[@]}"
'';
};
in
- linux
+linux
diff --git a/pkgs/applications/misc/slic3r/boost-compile-error.patch b/pkgs/applications/misc/slic3r/boost-compile-error.patch
new file mode 100644
index 0000000000000000000000000000000000000000..4dbdb85f743d2d684c3ad76f3a9351c91c96beda
--- /dev/null
+++ b/pkgs/applications/misc/slic3r/boost-compile-error.patch
@@ -0,0 +1,12 @@
+diff --git a/xs/src/libslic3r/GCodeSender.hpp b/xs/src/libslic3r/GCodeSender.hpp
+index cc0b2983..0f39f5a3 100644
+--- a/xs/src/libslic3r/GCodeSender.hpp
++++ b/xs/src/libslic3r/GCodeSender.hpp
+@@ -9,6 +9,7 @@
+ #include
+ #include
+ #include
++#include
+
+ namespace Slic3r {
+
diff --git a/pkgs/applications/misc/slic3r/default.nix b/pkgs/applications/misc/slic3r/default.nix
index cf9e93b87b39bbedb15b57110b278793d615db47..8dbd0cd577678df2dfea90d36ecc786dbf9e9772 100644
--- a/pkgs/applications/misc/slic3r/default.nix
+++ b/pkgs/applications/misc/slic3r/default.nix
@@ -1,5 +1,5 @@
-{ stdenv, fetchgit, perl, makeWrapper, makeDesktopItem
-, which, perlPackages, boost
+{ lib, stdenv, fetchgit, perl, makeWrapper
+, makeDesktopItem, which, perlPackages, boost
}:
stdenv.mkDerivation rec {
@@ -40,6 +40,11 @@ stdenv.mkDerivation rec {
sed -i 's|"/usr/include/asm-generic/ioctls.h"||g' xs/src/libslic3r/GCodeSender.cpp
'';
+ # note the boost-compile-error is fixed in
+ # https://github.com/slic3r/Slic3r/commit/90f108ae8e7a4315f82e317f2141733418d86a68
+ # this patch can be probably be removed in the next version after 1.3.0
+ patches = lib.optional (lib.versionAtLeast boost.version "1.56.0") ./boost-compile-error.patch;
+
buildPhase = ''
export SLIC3R_NO_AUTO=true
export LD=$CXX
diff --git a/pkgs/applications/misc/stretchly/default.nix b/pkgs/applications/misc/stretchly/default.nix
index 213f308646ab8a815bcfc0c9577704b8ea36063d..75f3be85dadf654a45e613669fa74ac58a276734 100644
--- a/pkgs/applications/misc/stretchly/default.nix
+++ b/pkgs/applications/misc/stretchly/default.nix
@@ -1,8 +1,12 @@
{ GConf
, alsaLib
, at-spi2-atk
+, at-spi2-core
, atk
+, buildFHSUserEnv
, cairo
+, common-updater-scripts
+, coreutils
, cups
, dbus
, expat
@@ -29,15 +33,19 @@
, libnotify
, libpciaccess
, libpng12
+, libuuid
, libxcb
, nspr
, nss
, pango
, pciutils
, pulseaudio
+, runtimeShell
, stdenv
, udev
, wrapGAppsHook
+, writeScript
+, file
}:
let
@@ -45,6 +53,7 @@ let
GConf
alsaLib
at-spi2-atk
+ at-spi2-core
atk
cairo
cups
@@ -71,6 +80,7 @@ let
libnotify
libpciaccess
libpng12
+ libuuid
libxcb
nspr
nss
@@ -82,58 +92,96 @@ let
];
libPath = lib.makeLibraryPath libs;
+
+ stretchly =
+ stdenv.mkDerivation rec {
+ pname = "stretchly";
+ version = "0.21.0";
+
+ src = fetchurl {
+ url = "https://github.com/hovancik/stretchly/releases/download/v${version}/stretchly-${version}.tar.xz";
+ sha256 = "1gyyr22xq8s4miiacs8wqhp7lxnwvkvlwhngnq8671l62s6iyjzl";
+ };
+
+ nativeBuildInputs = [
+ wrapGAppsHook
+ coreutils
+ ];
+
+ buildInputs = libs;
+
+ dontPatchELF = true;
+ dontBuild = true;
+ dontConfigure = true;
+
+ installPhase = ''
+ mkdir -p $out/bin $out/lib/stretchly
+ cp -r ./* $out/lib/stretchly/
+ ln -s $out/lib/stretchly/stretchly $out/bin/
+ '';
+
+ preFixup = ''
+ patchelf --set-rpath "${libPath}" $out/lib/stretchly/libffmpeg.so
+ patchelf --set-rpath "${libPath}" $out/lib/stretchly/libEGL.so
+ patchelf --set-rpath "${libPath}" $out/lib/stretchly/libGLESv2.so
+ patchelf --set-rpath "${libPath}" $out/lib/stretchly/swiftshader/libEGL.so
+ patchelf --set-rpath "${libPath}" $out/lib/stretchly/swiftshader/libGLESv2.so
+
+ patchelf \
+ --set-rpath "$out/lib/stretchly:${libPath}" \
+ --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
+ $out/lib/stretchly/stretchly
+
+ patchelf \
+ --set-rpath "$out/lib/stretchly:${libPath}" \
+ --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
+ $out/lib/stretchly/chrome-sandbox
+ '';
+
+ meta = with stdenv.lib; {
+ description = "A break time reminder app";
+ longDescription = ''
+ stretchly is a cross-platform electron app that reminds you to take
+ breaks when working on your computer. By default, it runs in your tray
+ and displays a reminder window containing an idea for a microbreak for 20
+ seconds every 10 minutes. Every 30 minutes, it displays a window
+ containing an idea for a longer 5 minute break.
+ '';
+ homepage = https://hovancik.net/stretchly;
+ downloadPage = https://hovancik.net/stretchly/downloads/;
+ license = licenses.bsd2;
+ maintainers = with maintainers; [ cdepillabout ];
+ platforms = platforms.linux;
+ };
+ };
+
in
-stdenv.mkDerivation rec {
- pname = "stretchly";
- version = "0.19.1";
+buildFHSUserEnv {
+ inherit (stretchly) meta;
- src = fetchurl {
- url = "https://github.com/hovancik/stretchly/releases/download/v${version}/stretchly-${version}.tar.xz";
- sha256 = "1q2wxfqs8qv9b1rfh5lhmyp3rrgdl05m6ihsgkxlgp0yzi07afz8";
- };
+ name = "stretchly";
- nativeBuildInputs = [
- wrapGAppsHook
+ targetPkgs = pkgs: [
+ stretchly
];
- buildInputs = libs;
-
- dontPatchELF = true;
- dontBuild = true;
- dontConfigure = true;
-
- installPhase = ''
- mkdir -p $out/bin $out/lib/stretchly
- cp -r ./* $out/lib/stretchly/
- ln -s $out/lib/stretchly/libffmpeg.so $out/lib/
- ln -s $out/lib/stretchly/libnode.so $out/lib/
- ln -s $out/lib/stretchly/stretchly $out/bin/
- '';
-
- preFixup = ''
- patchelf --set-rpath "${libPath}" $out/lib/stretchly/libffmpeg.so
- patchelf --set-rpath "${libPath}" $out/lib/stretchly/libnode.so
-
- patchelf \
- --set-rpath "$out/lib/stretchly:${libPath}" \
- --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
- $out/lib/stretchly/stretchly
- '';
-
- meta = with stdenv.lib; {
- description = "A break time reminder app";
- longDescription = ''
- stretchly is a cross-platform electron app that reminds you to take
- breaks when working on your computer. By default, it runs in your tray
- and displays a reminder window containing an idea for a microbreak for 20
- seconds every 10 minutes. Every 30 minutes, it displays a window
- containing an idea for a longer 5 minute break.
+ runScript = "stretchly";
+
+ passthru = {
+ updateScript = writeScript "update-stretchly" ''
+ #!${runtimeShell}
+
+ set -eu -o pipefail
+
+ # get the latest release version
+ latest_version=$(curl -s https://api.github.com/repos/hovancik/stretchly/releases/latest | jq --raw-output .tag_name | sed -e 's/^v//')
+
+ echo "updating to $latest_version..."
+
+ ${common-updater-scripts}/bin/update-source-version stretchly.passthru.stretchlyWrapped "$latest_version"
'';
- homepage = https://hovancik.net/stretchly;
- downloadPage = https://hovancik.net/stretchly/downloads/;
- license = licenses.bsd2;
- maintainers = with maintainers; [ cdepillabout ];
- platforms = platforms.linux;
+
+ stretchlyWrapped = stretchly;
};
}
diff --git a/pkgs/applications/misc/sweethome3d/default.nix b/pkgs/applications/misc/sweethome3d/default.nix
index 9dcdf8fd2b0e28c4ce107db22e11fbd72bdbc209..76a62d1762c27c05ab1461b90be62afc21700e14 100644
--- a/pkgs/applications/misc/sweethome3d/default.nix
+++ b/pkgs/applications/misc/sweethome3d/default.nix
@@ -3,8 +3,6 @@
let
- getDesktopFileName = drvName: (builtins.parseDrvName drvName).name;
-
# TODO: Should we move this to `lib`? Seems like its would be useful in many cases.
extensionOf = filePath:
lib.concatStringsSep "." (lib.tail (lib.splitString "." (builtins.baseNameOf filePath)));
@@ -15,15 +13,15 @@ let
'') icons);
mkSweetHome3D =
- { name, module, version, src, license, description, desktopName, icons }:
+ { pname, module, version, src, license, description, desktopName, icons }:
stdenv.mkDerivation rec {
- inherit name version src description;
+ inherit pname version src description;
exec = stdenv.lib.toLower module;
sweethome3dItem = makeDesktopItem {
inherit exec desktopName;
- name = getDesktopFileName name;
- icon = getDesktopFileName name;
+ name = pname;
+ icon = pname;
comment = description;
genericName = "Computer Aided (Interior) Design";
categories = "Application;Graphics;2DGraphics;3DGraphics;";
@@ -49,7 +47,7 @@ let
mkdir -p $out/bin
cp install/${module}-${version}.jar $out/share/java/.
- ${installIcons (getDesktopFileName name) icons}
+ ${installIcons pname icons}
cp "${sweethome3dItem}/share/applications/"* $out/share/applications
@@ -74,9 +72,9 @@ let
in {
application = mkSweetHome3D rec {
+ pname = stdenv.lib.toLower module + "-application";
version = "6.2";
module = "SweetHome3D";
- name = stdenv.lib.toLower module + "-application-" + version;
description = "Design and visualize your future home";
license = stdenv.lib.licenses.gpl2Plus;
src = fetchsvn {
diff --git a/pkgs/applications/misc/sweethome3d/editors.nix b/pkgs/applications/misc/sweethome3d/editors.nix
index eef5185aaeedb3a3544e1e3e9d60e780df88f4ae..1d3f1a41e162d723c1046f18860e7233df597d2e 100644
--- a/pkgs/applications/misc/sweethome3d/editors.nix
+++ b/pkgs/applications/misc/sweethome3d/editors.nix
@@ -7,20 +7,17 @@ let
m: "sweethome3d-"
+ removeSuffix "libraryeditor" (toLower m)
+ "-editor";
- sweetName = m: v: sweetExec m + "-" + v;
-
- getDesktopFileName = drvName: (builtins.parseDrvName drvName).name;
mkEditorProject =
- { name, module, version, src, license, description, desktopName }:
+ { pname, module, version, src, license, description, desktopName }:
stdenv.mkDerivation rec {
application = sweethome3dApp;
- inherit name module version src description;
+ inherit pname module version src description;
exec = sweetExec module;
editorItem = makeDesktopItem {
inherit exec desktopName;
- name = getDesktopFileName name;
+ name = pname;
comment = description;
genericName = "Computer Aided (Interior) Design";
categories = "Application;Graphics;2DGraphics;3DGraphics;";
@@ -66,7 +63,7 @@ in {
textures-editor = mkEditorProject rec {
version = "1.5";
module = "TexturesLibraryEditor";
- name = sweetName module version;
+ pname = module;
description = "Easily create SH3T files and edit the properties of the texture images it contain";
license = stdenv.lib.licenses.gpl2Plus;
src = fetchcvs {
@@ -81,7 +78,7 @@ in {
furniture-editor = mkEditorProject rec {
version = "1.19";
module = "FurnitureLibraryEditor";
- name = sweetName module version;
+ pname = module;
description = "Quickly create SH3F files and edit the properties of the 3D models it contain";
license = stdenv.lib.licenses.gpl2;
src = fetchcvs {
diff --git a/pkgs/applications/misc/syncthingtray/default.nix b/pkgs/applications/misc/syncthingtray/default.nix
index 816ae664f8e8ce012435e8f53d5f4f7565e9b704..857dcfaf69f2efcd0fe78827381718bc7d0d8225 100644
--- a/pkgs/applications/misc/syncthingtray/default.nix
+++ b/pkgs/applications/misc/syncthingtray/default.nix
@@ -20,14 +20,14 @@
}:
mkDerivation rec {
- version = "0.10.2";
+ version = "0.10.3";
pname = "syncthingtray";
src = fetchFromGitHub {
owner = "Martchus";
repo = "syncthingtray";
rev = "v${version}";
- sha256 = "09iq1rr70wwy5xk0jmfnwzvnigq409hvs2viy1j0khn9jhvnk6z0";
+ sha256 = "12s1v65h4z051k4gi1b5f3z4hpbgqnhkjnz2xv5bdwhs24zxrrif";
};
buildInputs = [ qtbase cpp-utilities qtutilities ]
diff --git a/pkgs/applications/misc/taskell/default.nix b/pkgs/applications/misc/taskell/default.nix
index 702c3124d8ab104d1a7f550daae133342cc9996f..488e49c2181773bda5a9d315af95a3f22f1fc87a 100644
--- a/pkgs/applications/misc/taskell/default.nix
+++ b/pkgs/applications/misc/taskell/default.nix
@@ -1,8 +1,8 @@
{ lib, haskellPackages, fetchFromGitHub }:
let
- version = "1.6.1";
- sha256 = "047gvpq52pif9sfb4qcfdiwz50x3wlnjvsnnjzypm1qlwyl2rbz1";
+ version = "1.7.3";
+ sha256 = "1439fh79ilc6jvz894cfzhk7gy5r2sv4v79bvqmmqbzbqk9qsbvx";
in (haskellPackages.mkDerivation {
pname = "taskell";
diff --git a/pkgs/applications/misc/tilix/default.nix b/pkgs/applications/misc/tilix/default.nix
index 922b3fd202865556e8c520584322a6f27275d9ea..2fa193fc8e7a09124c2c0295f528f8db12374c54 100644
--- a/pkgs/applications/misc/tilix/default.nix
+++ b/pkgs/applications/misc/tilix/default.nix
@@ -6,7 +6,7 @@
, python3
, pkgconfig
, dmd
-, gnome3
+, dconf
, dbus
, gsettings-desktop-schemas
, desktop-file-utils
@@ -47,7 +47,7 @@ stdenv.mkDerivation {
buildInputs = [
dbus
gettext
- gnome3.dconf
+ dconf
gsettings-desktop-schemas
gtkd
libsecret
diff --git a/pkgs/applications/misc/timewarrior/default.nix b/pkgs/applications/misc/timewarrior/default.nix
index d0419c414d7ace0299f93170341a9a32451d5ca3..a8b86e71cb135c4f4dabb503481c1cc1e5da0ae1 100644
--- a/pkgs/applications/misc/timewarrior/default.nix
+++ b/pkgs/applications/misc/timewarrior/default.nix
@@ -1,14 +1,17 @@
-{ stdenv, fetchurl, cmake }:
+{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "timewarrior";
- version = "1.1.1";
+ version = "1.2.0";
enableParallelBuilding = true;
- src = fetchurl {
- url = "https://taskwarrior.org/download/timew-${version}.tar.gz";
- sha256 = "1jfcfzdwk5qqhxznj1bgy0sx3lnp3z5lqr9kch9a7iazwmi9lz8z";
+ src = fetchFromGitHub {
+ owner = "GothenburgBitFactory";
+ repo = "timewarrior";
+ rev = "v${version}";
+ sha256 = "0ci8kb7gdp1dsv6xj30nbz8lidrmn50pbriw26wv8mdhs17rfk7w";
+ fetchSubmodules = true;
};
nativeBuildInputs = [ cmake ];
diff --git a/pkgs/applications/misc/tnef/default.nix b/pkgs/applications/misc/tnef/default.nix
index cb70d57869c04b116e627f9351bdb1f50e9d28a6..bbd3073a4d8ee07167f1609dcc973c8f0faceb18 100644
--- a/pkgs/applications/misc/tnef/default.nix
+++ b/pkgs/applications/misc/tnef/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
- version = "1.4.17";
+ version = "1.4.18";
pname = "tnef";
src = fetchFromGitHub {
owner = "verdammelt";
repo = "tnef";
rev = version;
- sha256 = "0cq2xh5wd74qn6k2nnw5rayxgqhjl3jbzf4zlc4babcwxrv32ldh";
+ sha256 = "104g48mcm00bgiyzas2vf86331w7bnw7h3bc11ib4lp7rz6zqfck";
};
doCheck = true;
diff --git a/pkgs/applications/misc/xchm/default.nix b/pkgs/applications/misc/xchm/default.nix
index 6a5e62f54e1e5edfaaf6a4d062c7332a2588a839..fb1b59ed01fa3661100ea248ad1be7482737172c 100644
--- a/pkgs/applications/misc/xchm/default.nix
+++ b/pkgs/applications/misc/xchm/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "xchm";
- version = "1.30";
+ version = "1.31";
src = fetchFromGitHub {
owner = "rzvncj";
repo = "xCHM";
rev = version;
- sha256 = "1sjvh06m8jbb28k6y3knas3nkh1dfvff4mlwjs33x12ilhddhr8v";
+ sha256 = "1mzafbpc1c211byf8bnwl13by7vi8xvxlaykyrajb1bj0ynbmmgp";
};
nativeBuildInputs = [ autoreconfHook ];
diff --git a/pkgs/applications/misc/xmrig/default.nix b/pkgs/applications/misc/xmrig/default.nix
index 265c4c173fc6d76ab8d6b696180a749a75b96baa..441cab3dd7b61f60ab19675156564da37d6ababc 100644
--- a/pkgs/applications/misc/xmrig/default.nix
+++ b/pkgs/applications/misc/xmrig/default.nix
@@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
pname = "xmrig";
- version = "5.0.0";
+ version = "5.1.0";
src = fetchFromGitHub {
owner = "xmrig";
repo = "xmrig";
rev = "v${version}";
- sha256 = "17bgz1rpix1zgzzn4zz84jp7hl6b2k968h918y3av5asxn0mji49";
+ sha256 = "1lkw7xrj20ppfmv7abki9i60yjks9i7nr8ni9p6n7rilfbp4603k";
};
nativeBuildInputs = [ cmake ];
diff --git a/pkgs/applications/misc/xmrig/proxy.nix b/pkgs/applications/misc/xmrig/proxy.nix
index 54fdbdb7cc19a527bd1dfdf64a322878770cec1e..fc3070d1dcb4cb43d957df8e76e798003e2a6937 100644
--- a/pkgs/applications/misc/xmrig/proxy.nix
+++ b/pkgs/applications/misc/xmrig/proxy.nix
@@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
pname = "xmrig-proxy";
- version = "5.0.0";
+ version = "5.0.1";
src = fetchFromGitHub {
owner = "xmrig";
repo = "xmrig-proxy";
rev = "v${version}";
- sha256 = "0h0yxzpar952ix94j10qyf31c20g45w0nxr02vfybjip48dvlf76";
+ sha256 = "0lp11p4lf03l9x2kcpq1j19z7c1zrdvjmcfh2xyvlbw8pqx0hxkv";
};
nativeBuildInputs = [ cmake ];
diff --git a/pkgs/applications/misc/xpdf/default.nix b/pkgs/applications/misc/xpdf/default.nix
index d524482dee7087787b36ea91e1cd4b49667d3d41..f5ec9b71503e8d0dec39bcc1d98489a1f95bfa78 100644
--- a/pkgs/applications/misc/xpdf/default.nix
+++ b/pkgs/applications/misc/xpdf/default.nix
@@ -1,20 +1,22 @@
-{ enableGUI ? true, enablePDFtoPPM ? true, useT1Lib ? false
-, stdenv, fetchurl, zlib, libpng, freetype ? null, t1lib ? null
-, cmake, qtbase ? null, qtsvg ? null, wrapQtAppsHook
+{ enableGUI ? true
+, enablePDFtoPPM ? true
+, enablePrinting ? true
+, stdenv, fetchzip, cmake, makeDesktopItem
+, zlib, libpng, cups ? null, freetype ? null
+, qtbase ? null, qtsvg ? null, wrapQtAppsHook
}:
assert enableGUI -> qtbase != null && qtsvg != null && freetype != null;
assert enablePDFtoPPM -> freetype != null;
-assert useT1Lib -> t1lib != null;
+assert enablePrinting -> cups != null;
-assert !useT1Lib; # t1lib has multiple unpatched security vulnerabilities
+stdenv.mkDerivation rec {
+ pname = "xpdf";
+ version = "4.02";
-stdenv.mkDerivation {
- name = "xpdf-4.00";
-
- src = fetchurl {
- url = http://www.xpdfreader.com/dl/xpdf-4.00.tar.gz;
- sha256 = "1mhn89738vjva14xr5gblc2zrdgzmpqbbjdflqdmpqv647294ggz";
+ src = fetchzip {
+ url = "https://xpdfreader-dl.s3.amazonaws.com/${pname}-${version}.tar.gz";
+ sha256 = "0dzwq6fnk013wa4l5mjpvm4mms2mh5hbrxv4rhk2ab5ljbzz7b2w";
};
# Fix "No known features for CXX compiler", see
@@ -26,20 +28,33 @@ stdenv.mkDerivation {
[ cmake ]
++ stdenv.lib.optional enableGUI wrapQtAppsHook;
- cmakeFlags = ["-DSYSTEM_XPDFRC=/etc/xpdfrc" "-DA4_PAPER=ON"];
+ cmakeFlags = ["-DSYSTEM_XPDFRC=/etc/xpdfrc" "-DA4_PAPER=ON" "-DOPI_SUPPORT=ON"]
+ ++ stdenv.lib.optional (!enablePrinting) "-DXPDFWIDGET_PRINTING=OFF";
buildInputs = [ zlib libpng ] ++
stdenv.lib.optional enableGUI qtbase ++
- stdenv.lib.optional useT1Lib t1lib ++
+ stdenv.lib.optional enablePrinting cups ++
stdenv.lib.optional enablePDFtoPPM freetype;
- # Debian uses '-fpermissive' to bypass some errors on char* constantness.
- CXXFLAGS = "-O2 -fpermissive";
-
hardeningDisable = [ "format" ];
+ desktopItem = makeDesktopItem {
+ name = "xpdf";
+ desktopName = "Xpdf";
+ comment = "Views Adobe PDF files";
+ icon = "xpdf";
+ exec = "xpdf %f";
+ categories = "Office;";
+ terminal = "false";
+ };
+
+ postInstall = ''
+ install -Dm644 ${desktopItem}/share/applications/xpdf.desktop $out/share/applications/xpdf.desktop
+ install -Dm644 $src/xpdf-qt/xpdf-icon.svg $out/share/pixmaps/xpdf.svg
+ '';
+
meta = with stdenv.lib; {
- homepage = https://www.xpdfreader.com;
+ homepage = "https://www.xpdfreader.com";
description = "Viewer for Portable Document Format (PDF) files";
longDescription = ''
XPDF includes multiple tools for viewing and processing PDF files.
@@ -56,5 +71,13 @@ stdenv.mkDerivation {
'';
license = with licenses; [ gpl2 gpl3 ];
platforms = platforms.unix;
+ maintainers = with maintainers; [ sikmir ];
+ knownVulnerabilities = [
+ "CVE-2018-7453: loop in PDF objects"
+ "CVE-2018-16369: loop in PDF objects"
+ "CVE-2019-9587: loop in PDF objects"
+ "CVE-2019-9588: loop in PDF objects"
+ "CVE-2019-16088: loop in PDF objects"
+ ];
};
}
diff --git a/pkgs/applications/misc/zola/cargo-lock.patch b/pkgs/applications/misc/zola/cargo-lock.patch
new file mode 100644
index 0000000000000000000000000000000000000000..b9d97e3c328a42e4b4a83a6dfc222e799557e74b
--- /dev/null
+++ b/pkgs/applications/misc/zola/cargo-lock.patch
@@ -0,0 +1,28 @@
+diff --git a/Cargo.lock b/Cargo.lock
+index df5fef3..80f071a 100644
+--- a/Cargo.lock
++++ b/Cargo.lock
+@@ -2158,12 +2158,12 @@ version = "0.2.2"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+ dependencies = [
+ "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
+- "sass-sys 0.4.13 (registry+https://github.com/rust-lang/crates.io-index)",
++ "sass-sys 0.4.15 (registry+https://github.com/rust-lang/crates.io-index)",
+ ]
+
+ [[package]]
+ name = "sass-sys"
+-version = "0.4.13"
++version = "0.4.15"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+ dependencies = [
+ "cc 1.0.45 (registry+https://github.com/rust-lang/crates.io-index)",
+@@ -3410,7 +3410,7 @@ dependencies = [
+ "checksum safemem 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "d2b08423011dae9a5ca23f07cf57dac3857f5c885d352b76f6d95f4aea9434d0"
+ "checksum same-file 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "585e8ddcedc187886a30fa705c47985c3fa88d06624095856b36ca0b82ff4421"
+ "checksum sass-rs 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "cabcf7c6e55053f359911187ac401409aad2dc14338cae972dec266fee486abd"
+-"checksum sass-sys 0.4.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6e16ac97c2335bc367e2d675f54c1823558f1b19a6c67671d48b70e30ae22972"
++"checksum sass-sys 0.4.15 (registry+https://github.com/rust-lang/crates.io-index)" = "304b6f9501d1da13f17404aeee85486d7383d06074906669b3ea032f81e83d22"
+ "checksum schannel 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)" = "87f550b06b6cba9c8b8be3ee73f391990116bf527450d2556e9b9ce263b9a021"
+ "checksum scoped_threadpool 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "1d51f5df5af43ab3f1360b429fa5e0152ac5ce8c0bd6485cae490332e96846a8"
+ "checksum scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "94258f53601af11e6a49f722422f6e3425c52b06245a5cf9bc09908b174f5e27"
diff --git a/pkgs/applications/misc/zola/default.nix b/pkgs/applications/misc/zola/default.nix
index b9231f8f0935f08a6edd8b4e9ee0d6deb45122b0..178be491169328da694fce897153900030f1fa66 100644
--- a/pkgs/applications/misc/zola/default.nix
+++ b/pkgs/applications/misc/zola/default.nix
@@ -8,10 +8,11 @@ rustPlatform.buildRustPackage rec {
owner = "getzola";
repo = pname;
rev = "v${version}";
- sha256 = "0dbj2rkn4k5glnwdazsvjhah5pj9cbdb8hwlvm5q4njsmrgpyaw5";
+ sha256 = "13kbgxh7r6124d1fjdf0x599j1kpgixp1y9d299zb5vrd6rf5wy5";
};
+ cargoPatches = [ ./cargo-lock.patch ];
- cargoSha256 = "0i0xqbpbv3md42d2853cfzkhfwlkvxahhz5dldla5x96rm1i2hr8";
+ cargoSha256 = "03rwf5l1l3ap03qi0xqcxsbyvpg3cqmr50j8ql6c5v55xl0ki9w8";
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ openssl ]
diff --git a/pkgs/applications/networking/browsers/chromium/common.nix b/pkgs/applications/networking/browsers/chromium/common.nix
index 3f7782bb9192456dd1b22c13a3ee3b807273470d..902357fb90e3ec2aa7120a3fd8f1093c5427bc06 100644
--- a/pkgs/applications/networking/browsers/chromium/common.nix
+++ b/pkgs/applications/networking/browsers/chromium/common.nix
@@ -13,7 +13,7 @@
, bison, gperf
, glib, gtk3, dbus-glib
, glibc
-, libXScrnSaver, libXcursor, libXtst, libGLU_combined, libGL
+, libXScrnSaver, libXcursor, libXtst, libGLU, libGL
, protobuf, speechd, libXdamage, cups
, ffmpeg, libxslt, libxml2, at-spi2-core
, jdk
@@ -123,7 +123,7 @@ let
utillinux alsaLib
bison gperf kerberos
glib gtk3 dbus-glib
- libXScrnSaver libXcursor libXtst libGLU_combined
+ libXScrnSaver libXcursor libXtst libGLU libGL
pciutils protobuf speechd libXdamage at-spi2-core
jdk.jre
] ++ optional gnomeKeyringSupport libgnome-keyring3
@@ -150,8 +150,8 @@ let
# ++ optionals (channel == "dev") [ ( githubPatch "" "0000000000000000000000000000000000000000000000000000000000000000" ) ]
# ++ optional (versionRange "68" "72") ( githubPatch "" "0000000000000000000000000000000000000000000000000000000000000000" )
] ++ optionals (useVaapi) [
- # source: https://aur.archlinux.org/cgit/aur.git/plain/chromium-vaapi.patch?h=chromium-vaapi
- ./patches/chromium-vaapi.patch
+ # source: https://aur.archlinux.org/cgit/aur.git/tree/vaapi-fix.patch?h=chromium-vaapi
+ ./patches/vaapi-fix.patch
] ++ optional stdenv.isAarch64 (fetchpatch {
url = https://raw.githubusercontent.com/OSSystems/meta-browser/e4a667deaaf9a26a3a1aeb355770d1f29da549ad/recipes-browser/chromium/files/aarch64-skia-build-fix.patch;
postFetch = "substituteInPlace $out --replace __aarch64__ SK_CPU_ARM64";
diff --git a/pkgs/applications/networking/browsers/chromium/patches/chromium-vaapi.patch b/pkgs/applications/networking/browsers/chromium/patches/chromium-vaapi.patch
deleted file mode 100644
index 38d77e2155166ecda61949924ed2649e7a74a92d..0000000000000000000000000000000000000000
--- a/pkgs/applications/networking/browsers/chromium/patches/chromium-vaapi.patch
+++ /dev/null
@@ -1,117 +0,0 @@
-From abc7295ca1653c85472916909f0eb76e28e79a58 Mon Sep 17 00:00:00 2001
-From: Akarshan Biswas
-Date: Thu, 24 Jan 2019 12:45:29 +0530
-Subject: [PATCH] Enable mojo with VDA2 on Linux
-
----
- chrome/browser/about_flags.cc | 8 ++++----
- chrome/browser/flag_descriptions.cc | 9 +++++++--
- chrome/browser/flag_descriptions.h | 10 ++++++++--
- gpu/config/software_rendering_list.json | 3 ++-
- media/media_options.gni | 9 ++++++---
- media/mojo/services/gpu_mojo_media_client.cc | 4 ++--
- 6 files changed, 29 insertions(+), 14 deletions(-)
-
-diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
-index 0a84c6ac1..be2aa1d8b 100644
---- a/chrome/browser/about_flags.cc
-+++ b/chrome/browser/about_flags.cc
-@@ -1714,7 +1714,7 @@ const FeatureEntry kFeatureEntries[] = {
- "disable-accelerated-video-decode",
- flag_descriptions::kAcceleratedVideoDecodeName,
- flag_descriptions::kAcceleratedVideoDecodeDescription,
-- kOsMac | kOsWin | kOsCrOS | kOsAndroid,
-+ kOsMac | kOsWin | kOsCrOS | kOsAndroid | kOsLinux,
- SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedVideoDecode),
- },
- #if defined(OS_WIN)
-@@ -2345,12 +2345,12 @@ const FeatureEntry kFeatureEntries[] = {
- FEATURE_VALUE_TYPE(service_manager::features::kXRSandbox)},
- #endif // ENABLE_ISOLATED_XR_SERVICE
- #endif // ENABLE_VR
--#if defined(OS_CHROMEOS)
-+#if defined(OS_CHROMEOS) || defined(OS_LINUX)
- {"disable-accelerated-mjpeg-decode",
- flag_descriptions::kAcceleratedMjpegDecodeName,
-- flag_descriptions::kAcceleratedMjpegDecodeDescription, kOsCrOS,
-+ flag_descriptions::kAcceleratedMjpegDecodeDescription, kOsCrOS | kOsLinux,
- SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedMjpegDecode)},
--#endif // OS_CHROMEOS
-+#endif // OS_CHROMEOS // OS_LINUX
- {"v8-cache-options", flag_descriptions::kV8CacheOptionsName,
- flag_descriptions::kV8CacheOptionsDescription, kOsAll,
- MULTI_VALUE_TYPE(kV8CacheOptionsChoices)},
-diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
-index 62637e092..86f89fc6e 100644
---- a/chrome/browser/flag_descriptions.cc
-+++ b/chrome/browser/flag_descriptions.cc
-@@ -3085,15 +3085,20 @@ const char kTextSuggestionsTouchBarDescription[] =
-
- #endif
-
--// Chrome OS -------------------------------------------------------------------
-+// Chrome OS Linux-------------------------------------------------------------------
-
--#if defined(OS_CHROMEOS)
-+#if defined(OS_CHROMEOS) || (defined(OS_LINUX) && !defined(OS_ANDROID))
-
- const char kAcceleratedMjpegDecodeName[] =
- "Hardware-accelerated mjpeg decode for captured frame";
- const char kAcceleratedMjpegDecodeDescription[] =
- "Enable hardware-accelerated mjpeg decode for captured frame where "
- "available.";
-+#endif
-+
-+// Chrome OS --------------------------------------------------
-+
-+#if defined(OS_CHROMEOS)
-
- const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
- const char kAllowTouchpadThreeFingerClickDescription[] =
-diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
-index 5dac660bb..6cc4115da 100644
---- a/chrome/browser/flag_descriptions.h
-+++ b/chrome/browser/flag_descriptions.h
-@@ -1846,13 +1846,19 @@ extern const char kPermissionPromptPersistenceToggleDescription[];
-
- #endif // defined(OS_MACOSX)
-
--// Chrome OS ------------------------------------------------------------------
-+// Chrome OS and Linux ------------------------------------------------------------------
-
--#if defined(OS_CHROMEOS)
-+#if defined(OS_CHROMEOS) || (defined(OS_LINUX) && !defined(OS_ANDROID))
-
- extern const char kAcceleratedMjpegDecodeName[];
- extern const char kAcceleratedMjpegDecodeDescription[];
-
-+#endif // defined(OS_CHROMEOS) || (defined(OS_LINUX) && !defined(OS_ANDROID))
-+
-+// Chrome OS ------------------------------------------------------------------------
-+
-+#if defined(OS_CHROMEOS)
-+
- extern const char kAllowTouchpadThreeFingerClickName[];
- extern const char kAllowTouchpadThreeFingerClickDescription[];
-
-diff --git a/gpu/config/software_rendering_list.json b/gpu/config/software_rendering_list.json
-index 65f37b3f1..ae8a1718f 100644
---- a/gpu/config/software_rendering_list.json
-+++ b/gpu/config/software_rendering_list.json
-@@ -371,11 +371,12 @@
- },
- {
- "id": 48,
-- "description": "Accelerated video decode is unavailable on Linux",
-+ "description": "Accelerated VA-API video decode is not supported on NVIDIA platforms",
- "cr_bugs": [137247],
- "os": {
- "type": "linux"
- },
-+ "vendor_id": "0x10de",
- "features": [
- "accelerated_video_decode"
- ]
---
-2.20.1
-
diff --git a/pkgs/applications/networking/browsers/chromium/patches/vaapi-fix.patch b/pkgs/applications/networking/browsers/chromium/patches/vaapi-fix.patch
new file mode 100644
index 0000000000000000000000000000000000000000..db9d6082756d3e6a6b5d9b207d2b324b458c9d31
--- /dev/null
+++ b/pkgs/applications/networking/browsers/chromium/patches/vaapi-fix.patch
@@ -0,0 +1,54 @@
+--- a/media/gpu/vaapi/vaapi_video_decode_accelerator.cc
++++ b/media/gpu/vaapi/vaapi_video_decode_accelerator.cc
+@@ -635,6 +635,7 @@
+ // |vpp_vaapi_wrapper_| for VaapiPicture to DownloadFromSurface() the VA's
+ // internal decoded frame.
+ if (buffer_allocation_mode_ != BufferAllocationMode::kNone &&
++ buffer_allocation_mode_ != BufferAllocationMode::kWrapVdpau &&
+ !vpp_vaapi_wrapper_) {
+ vpp_vaapi_wrapper_ = VaapiWrapper::Create(
+ VaapiWrapper::kVideoProcess, VAProfileNone,
+@@ -650,7 +651,8 @@
+ // only used as a copy destination. Therefore, the VaapiWrapper used and
+ // owned by |picture| is |vpp_vaapi_wrapper_|.
+ std::unique_ptr picture = vaapi_picture_factory_->Create(
+- (buffer_allocation_mode_ == BufferAllocationMode::kNone)
++ ((buffer_allocation_mode_ == BufferAllocationMode::kNone) ||
++ (buffer_allocation_mode_ == BufferAllocationMode::kWrapVdpau))
+ ? vaapi_wrapper_
+ : vpp_vaapi_wrapper_,
+ make_context_current_cb_, bind_image_cb_, buffers[i]);
+@@ -1077,6 +1079,14 @@
+
+ VaapiVideoDecodeAccelerator::BufferAllocationMode
+ VaapiVideoDecodeAccelerator::DecideBufferAllocationMode() {
++ // NVIDIA blobs use VDPAU
++ if (base::StartsWith(VaapiWrapper::GetVendorStringForTesting(),
++ "Splitted-Desktop Systems VDPAU",
++ base::CompareCase::SENSITIVE)) {
++ LOG(INFO) << "VA-API driver on VDPAU backend";
++ return BufferAllocationMode::kWrapVdpau;
++ }
++
+ // TODO(crbug.com/912295): Enable a better BufferAllocationMode for IMPORT
+ // |output_mode_| as well.
+ if (output_mode_ == VideoDecodeAccelerator::Config::OutputMode::IMPORT)
+@@ -1089,7 +1099,7 @@
+ // depends on the bitstream and sometimes it's not enough to cover the amount
+ // of frames needed by the client pipeline (see b/133733739).
+ // TODO(crbug.com/911754): Enable for VP9 Profile 2.
+- if (IsGeminiLakeOrLater() &&
++ if (false && IsGeminiLakeOrLater() &&
+ (profile_ == VP9PROFILE_PROFILE0 || profile_ == VP8PROFILE_ANY)) {
+ // Add one to the reference frames for the one being currently egressed, and
+ // an extra allocation for both |client_| and |decoder_|, see
+--- a/media/gpu/vaapi/vaapi_video_decode_accelerator.h
++++ b/media/gpu/vaapi/vaapi_video_decode_accelerator.h
+@@ -204,6 +204,7 @@
+ // Using |client_|s provided PictureBuffers and as many internally
+ // allocated.
+ kNormal,
++ kWrapVdpau,
+ };
+
+ // Decides the concrete buffer allocation mode, depending on the hardware
diff --git a/pkgs/applications/networking/browsers/firefox-bin/default.nix b/pkgs/applications/networking/browsers/firefox-bin/default.nix
index 537a30c01a2e20a561e657b4d0036b10686354ef..c9dbe6ba4b96f11abf074ae52bf0820ae65eba67 100644
--- a/pkgs/applications/networking/browsers/firefox-bin/default.nix
+++ b/pkgs/applications/networking/browsers/firefox-bin/default.nix
@@ -32,7 +32,7 @@
, libgnomeui
, libnotify
, gnome3
-, libGLU_combined
+, libGLU, libGL
, nspr
, nss
, pango
@@ -126,7 +126,7 @@ stdenv.mkDerivation {
libgnome
libgnomeui
libnotify
- libGLU_combined
+ libGLU libGL
nspr
nss
pango
diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix
index 1c6ddfc99eb6ec503db266a9c2e9a49c6e62050b..6c49c00ca6cf3ae82340c8991062d2fb311670eb 100644
--- a/pkgs/applications/networking/browsers/firefox/common.nix
+++ b/pkgs/applications/networking/browsers/firefox/common.nix
@@ -7,7 +7,7 @@
{ lib, stdenv, pkgconfig, pango, perl, python2, python3, zip, libIDL
, libjpeg, zlib, dbus, dbus-glib, bzip2, xorg
, freetype, fontconfig, file, nspr, nss, libnotify
-, yasm, libGLU_combined, sqlite, unzip, makeWrapper
+, yasm, libGLU, libGL, sqlite, unzip, makeWrapper
, hunspell, libXdamage, libevent, libstartup_notification, libvpx
, icu, libpng, jemalloc, glib
, autoconf213, which, gnused, cargo, rustc, llvmPackages
@@ -131,7 +131,7 @@ stdenv.mkDerivation rec {
gtk2 perl zip libIDL libjpeg zlib bzip2
dbus dbus-glib pango freetype fontconfig xorg.libXi xorg.libXcursor
xorg.libX11 xorg.libXrender xorg.libXft xorg.libXt file
- libnotify xorg.pixman yasm libGLU_combined
+ libnotify xorg.pixman yasm libGLU libGL
xorg.libXScrnSaver xorg.xorgproto
xorg.libXext sqlite unzip makeWrapper
libevent libstartup_notification libvpx /* cairo */
diff --git a/pkgs/applications/networking/browsers/firefox/wrapper.nix b/pkgs/applications/networking/browsers/firefox/wrapper.nix
index 3ed06717f6a26e58a4be88e7dae39dad07cf2529..4901d694f49f789be62b5dfc883018849a03f1b9 100644
--- a/pkgs/applications/networking/browsers/firefox/wrapper.nix
+++ b/pkgs/applications/networking/browsers/firefox/wrapper.nix
@@ -18,8 +18,9 @@ browser:
let
wrapper =
- { browserName ? browser.browserName or (builtins.parseDrvName browser.name).name
- , name ? (browserName + "-" + (builtins.parseDrvName browser.name).version)
+ { browserName ? browser.browserName or (lib.getName browser)
+ , pname ? browserName
+ , version ? lib.getVersion browser
, desktopName ? # browserName with first letter capitalized
(lib.toUpper (lib.substring 0 1 browserName) + lib.substring 1 (-1) browserName)
, nameSuffix ? ""
@@ -83,7 +84,7 @@ let
gtk_modules = [ libcanberra-gtk2 ];
in stdenv.mkDerivation {
- inherit name;
+ inherit pname version;
desktopItem = makeDesktopItem {
name = browserName;
diff --git a/pkgs/applications/networking/browsers/next-gtk-webkit/default.nix b/pkgs/applications/networking/browsers/next-gtk-webkit/default.nix
deleted file mode 100644
index 6ab5337631099d7609df6706c048e6a37a7206b4..0000000000000000000000000000000000000000
--- a/pkgs/applications/networking/browsers/next-gtk-webkit/default.nix
+++ /dev/null
@@ -1,25 +0,0 @@
-{ stdenv, gcc7, pkg-config
-, next
-, webkitgtk, gsettings-desktop-schemas
-}:
-
-stdenv.mkDerivation rec {
- pname = "next-gtk-webkit";
- inherit (next) src version;
-
- makeFlags = [ "gtk-webkit" "PREFIX=$(out)" ];
- installTargets = "install-gtk-webkit";
-
- nativeBuildInputs = [ gcc7 pkg-config ];
- buildInputs = [
- webkitgtk
- gsettings-desktop-schemas
- ];
- meta = with stdenv.lib; {
- description = "Infinitely extensible web-browser (user interface only)";
- homepage = https://next.atlas.engineer;
- license = licenses.bsd3;
- maintainers = [ maintainers.lewo ];
- platforms = [ "x86_64-linux" ];
- };
-}
diff --git a/pkgs/applications/networking/browsers/next/default.nix b/pkgs/applications/networking/browsers/next/default.nix
index 9b537c55337674a1a262c7f1f794e11844bf76ae..97c65fc12ef5c4d88c824c8a671afabe0fc52661 100644
--- a/pkgs/applications/networking/browsers/next/default.nix
+++ b/pkgs/applications/networking/browsers/next/default.nix
@@ -1,86 +1,90 @@
-{ pkgs, stdenv, fetchFromGitHub
-, gcc7, pkg-config, makeWrapper
-, glib-networking
-, next-gtk-webkit
+{ stdenv
+, fetchFromGitHub
, lispPackages
, sbcl
+, callPackage
}:
-stdenv.mkDerivation rec {
- pname = "next";
- version = "1.3.4";
+let
+
+ # This is the wrapped webkitgtk platform port that we hardcode into the Lisp Core.
+ # See https://github.com/atlas-engineer/next/tree/master/ports#next-platform-ports
+ next-gtk-webkit = callPackage ./next-gtk-webkit.nix {};
- src = fetchFromGitHub {
- owner = "atlas-engineer";
- repo = "next";
- rev = version;
- sha256 = "00iqv4xarabl98gdl1rzqkc5v0vfljx1nawsxqsx9x3a9mnxmgxi";
- };
+in
+
+stdenv.mkDerivation rec {
+ pname = "next";
+ version = "1.3.4";
- # Stripping destroys the generated SBCL image
- dontStrip = true;
+ src = fetchFromGitHub {
+ owner = "atlas-engineer";
+ repo = "next";
+ rev = version;
+ sha256 = "00iqv4xarabl98gdl1rzqkc5v0vfljx1nawsxqsx9x3a9mnxmgxi";
+ };
- prePatch = ''
- substituteInPlace source/ports/gtk-webkit.lisp \
- --replace "next-gtk-webkit" "${next-gtk-webkit}/bin/next-gtk-webkit"
- '';
+ nativeBuildInputs = [
+ sbcl
+ ] ++ (with lispPackages; [
+ prove-asdf
+ trivial-features
+ ]);
- nativeBuildInputs =
- [ sbcl makeWrapper ] ++ (with lispPackages;
- [ prove-asdf trivial-features ]);
+ buildInputs = with lispPackages; [
+ alexandria
+ bordeaux-threads
+ cl-annot
+ cl-ansi-text
+ cl-css
+ cl-hooks
+ cl-json
+ cl-markup
+ cl-ppcre
+ cl-ppcre-unicode
+ cl-prevalence
+ closer-mop
+ dbus
+ dexador
+ ironclad
+ local-time
+ log4cl
+ lparallel
+ mk-string-metrics
+ parenscript
+ quri
+ sqlite
+ str
+ swank
+ trivia
+ trivial-clipboard
+ unix-opts
+ ];
- buildInputs = with lispPackages; [
- alexandria
- bordeaux-threads
- cl-annot
- cl-ansi-text
- cl-css
- cl-hooks
- cl-json
- cl-markup
- cl-ppcre
- cl-ppcre-unicode
- cl-prevalence
- closer-mop
- dbus
- dexador
- ironclad
- local-time
- log4cl
- lparallel
- mk-string-metrics
- parenscript
- quri
- sqlite
- str
- swank
- trivia
- trivial-clipboard
- unix-opts
- ];
- propagatedBuildInputs = [ next-gtk-webkit ];
+ prePatch = ''
+ substituteInPlace source/ports/gtk-webkit.lisp \
+ --replace "next-gtk-webkit" "${next-gtk-webkit}/bin/next-gtk-webkit"
+ '';
- buildPhase = ''
- common-lisp.sh --eval "(require :asdf)" \
- --eval "(asdf:load-asd (truename \"next.asd\") :name \"next\")" \
- --eval '(asdf:make :next)' \
- --quit
- '';
+ buildPhase = ''
+ common-lisp.sh --eval "(require :asdf)" \
+ --eval "(asdf:load-asd (truename \"next.asd\") :name \"next\")" \
+ --eval '(asdf:make :next)' \
+ --quit
+ '';
- installPhase = ''
- install -D -m0755 next $out/bin/next
- '';
+ installPhase = ''
+ install -D -m0755 next $out/bin/next
+ '';
- preFixup = ''
- wrapProgram $out/bin/next \
- --prefix GIO_EXTRA_MODULES : "${glib-networking.out}/lib/gio/modules"
- '';
+ # Stripping destroys the generated SBCL image
+ dontStrip = true;
- meta = with stdenv.lib; {
- description = "Infinitely extensible web-browser (with Lisp development files)";
- homepage = https://next.atlas.engineer;
- license = licenses.bsd3;
- maintainers = [ maintainers.lewo ];
- platforms = [ "x86_64-linux" ];
- };
- }
+ meta = with stdenv.lib; {
+ description = "Infinitely extensible web-browser (with Lisp development files using WebKitGTK platform port)";
+ homepage = https://next.atlas.engineer;
+ license = licenses.bsd3;
+ maintainers = [ maintainers.lewo ];
+ platforms = [ "x86_64-linux" ];
+ };
+}
diff --git a/pkgs/applications/networking/browsers/next/next-gtk-webkit.nix b/pkgs/applications/networking/browsers/next/next-gtk-webkit.nix
new file mode 100644
index 0000000000000000000000000000000000000000..a71583ffbec599b1ec8298d0d201d9730fceb8e1
--- /dev/null
+++ b/pkgs/applications/networking/browsers/next/next-gtk-webkit.nix
@@ -0,0 +1,50 @@
+# https://github.com/atlas-engineer/next/tree/master/ports/gtk-webkit
+
+{ stdenv
+, pkg-config
+, next
+, webkitgtk
+, gtk3
+, glib
+, gsettings-desktop-schemas
+, glib-networking
+, gst_all_1
+, wrapGAppsHook
+}:
+
+stdenv.mkDerivation rec {
+ pname = "next-gtk-webkit";
+ inherit (next) src version;
+
+ nativeBuildInputs = [
+ pkg-config
+ wrapGAppsHook
+ ];
+
+ buildInputs = [
+ glib
+ glib-networking
+ gsettings-desktop-schemas
+ gtk3
+ webkitgtk
+ gst_all_1.gst-plugins-base
+ gst_all_1.gstreamer
+ ];
+
+ makeFlags = [
+ "gtk-webkit"
+ "PREFIX=${placeholder "out"}"
+ ];
+
+ installTargets = [
+ "install-gtk-webkit"
+ ];
+
+ meta = with stdenv.lib; {
+ description = "Infinitely extensible web-browser (user interface only)";
+ homepage = https://next.atlas.engineer;
+ license = licenses.bsd3;
+ maintainers = [ maintainers.lewo ];
+ platforms = [ "x86_64-linux" ];
+ };
+}
diff --git a/pkgs/applications/networking/browsers/opera/default.nix b/pkgs/applications/networking/browsers/opera/default.nix
index f68f34c68e5db4dbe52a42f4777ef7d09214df86..c1ede5044492bd6b43a5fdc77de350ff8bdf320e 100644
--- a/pkgs/applications/networking/browsers/opera/default.nix
+++ b/pkgs/applications/networking/browsers/opera/default.nix
@@ -47,11 +47,11 @@ let
in stdenv.mkDerivation rec {
pname = "opera";
- version = "64.0.3417.83";
+ version = "65.0.3467.48";
src = fetchurl {
url = "${mirror}/${version}/linux/${pname}-stable_${version}_amd64.deb";
- sha256 = "09ygnfma5ncx6y8yr6dm3hz98cd9srv6687wgs786dw5glfhsd57";
+ sha256 = "0vcpq2p8si6rlyvd8nzs0a7pjxks2qn8i8czna968wyfxlczckyr";
};
unpackCmd = "${dpkg}/bin/dpkg-deb -x $curSrc .";
diff --git a/pkgs/applications/networking/browsers/palemoon/default.nix b/pkgs/applications/networking/browsers/palemoon/default.nix
index 07234f59a8eda2488a8616b9756742e332d3b25e..05262b0cf508556af1874384f0efceeb3dc673b8 100644
--- a/pkgs/applications/networking/browsers/palemoon/default.nix
+++ b/pkgs/applications/networking/browsers/palemoon/default.nix
@@ -3,7 +3,7 @@
, dbus, dbus-glib, ffmpeg, file, fontconfig, freetype
, gnome2, gnum4, gtk2, hunspell, libevent, libjpeg
, libnotify, libstartup_notification, makeWrapper
-, libGLU_combined, perl, python, libpulseaudio
+, libGLU, libGL, perl, python, libpulseaudio
, unzip, xorg, wget, which, yasm, zip, zlib
}:
@@ -43,7 +43,7 @@ in stdenv.mkDerivation rec {
buildInputs = [
alsaLib bzip2 cairo dbus dbus-glib ffmpeg file fontconfig freetype
gnome2.GConf gnum4 gtk2 hunspell libevent libjpeg libnotify
- libstartup_notification makeWrapper libGLU_combined perl
+ libstartup_notification makeWrapper libGLU libGL perl
pkgconfig python libpulseaudio unzip wget which yasm zip zlib
] ++ (with xorg; [
libX11 libXext libXft libXi libXrender libXScrnSaver
diff --git a/pkgs/applications/networking/browsers/qutebrowser/default.nix b/pkgs/applications/networking/browsers/qutebrowser/default.nix
index 7b13d748fe05425f245fbcd4f1c438cac45808de..8f2f5a2cf7ef36213b0505ac008b9ebad7e0e39c 100644
--- a/pkgs/applications/networking/browsers/qutebrowser/default.nix
+++ b/pkgs/applications/networking/browsers/qutebrowser/default.nix
@@ -10,23 +10,23 @@ assert withMediaPlayback -> gst_all_1 != null;
let
pdfjs = let
- version = "2.2.228";
+ version = "2.3.200";
in
fetchzip rec {
name = "pdfjs-${version}";
url = "https://github.com/mozilla/pdf.js/releases/download/v${version}/${name}-dist.zip";
- sha256 = "0yik4vfnz46j844jfw1gq5cshgzry42kpy2d5rr7fbn9fjf98bw6";
+ sha256 = "1fpxsw0hzahccyng08acvc7g0gk29j2x701p6w6fg1718mvcrm1q";
stripRoot = false;
};
in mkDerivationWith python3Packages.buildPythonApplication rec {
pname = "qutebrowser";
- version = "1.8.1";
+ version = "1.8.2";
# the release tarballs are different from the git checkout!
src = fetchurl {
url = "https://github.com/qutebrowser/qutebrowser/releases/download/v${version}/${pname}-${version}.tar.gz";
- sha256 = "0ckffbw2zlg0afz4rgyywzdprnqs74va5qj0xqlaqc14ziiypxnw";
+ sha256 = "0walddppjb61k3dyq22cngkaw6alzn75k5npvnawla2l153irw5s";
};
# Needs tox
diff --git a/pkgs/applications/networking/c14/default.nix b/pkgs/applications/networking/c14/default.nix
index 3383d6838f7bb5f13685b141a92471c3a1de00ae..c000a37ff02969137f77e13beb92771781d81d94 100644
--- a/pkgs/applications/networking/c14/default.nix
+++ b/pkgs/applications/networking/c14/default.nix
@@ -17,7 +17,7 @@ buildGoPackage rec {
meta = with stdenv.lib; {
description = "C14 is designed for data archiving & long-term backups.";
- homepage = https://www.online.net/en/c14;
+ homepage = https://www.online.net/en/storage/c14-cold-storage;
license = licenses.mit;
maintainers = with maintainers; [ apeyroux ];
};
diff --git a/pkgs/applications/networking/cawbird/default.nix b/pkgs/applications/networking/cawbird/default.nix
index 02368990a015c146617f13f7fb981255d64a7fa3..6462dd49949331fac94db41cfa366f21e6109a4c 100644
--- a/pkgs/applications/networking/cawbird/default.nix
+++ b/pkgs/applications/networking/cawbird/default.nix
@@ -1,6 +1,23 @@
-{ stdenv, fetchFromGitHub, glib, gtk3, json-glib, sqlite, libsoup, gettext, vala
-, meson, ninja, pkgconfig, gnome3, gst_all_1, wrapGAppsHook, gobject-introspection
-, glib-networking, python3 }:
+{ stdenv
+, fetchFromGitHub
+, glib
+, gtk3
+, json-glib
+, sqlite
+, libsoup
+, gettext
+, gspell
+, vala
+, meson
+, ninja
+, pkgconfig
+, dconf
+, gst_all_1
+, wrapGAppsHook
+, gobject-introspection
+, glib-networking
+, python3
+}:
stdenv.mkDerivation rec {
version = "1.0.3.1";
@@ -14,13 +31,34 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- meson ninja vala pkgconfig wrapGAppsHook python3
+ meson
+ ninja
+ vala
+ pkgconfig
+ wrapGAppsHook
+ python3
gobject-introspection # for setup hook
];
buildInputs = [
- glib gtk3 json-glib sqlite libsoup gettext gnome3.dconf gnome3.gspell glib-networking
- ] ++ (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-bad (gst-plugins-good.override { gtkSupport = true; }) gst-libav ]);
+ glib
+ gtk3
+ json-glib
+ sqlite
+ libsoup
+ gettext
+ dconf
+ gspell
+ glib-networking
+ ] ++ (with gst_all_1; [
+ gstreamer
+ gst-plugins-base
+ gst-plugins-bad
+ (gst-plugins-good.override {
+ gtkSupport = true;
+ })
+ gst-libav
+ ]);
postPatch = ''
chmod +x data/meson_post_install.py # patchShebangs requires executable file
@@ -30,7 +68,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Native GTK Twitter client for the Linux desktop";
longDescription = "Cawbird is a modern, easy and fun Twitter client. Fork of the discontinued Corebird.";
- homepage = https://ibboard.co.uk/cawbird/;
+ homepage = "https://ibboard.co.uk/cawbird/";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with stdenv.lib.maintainers; [ jonafato schmittlauch ];
diff --git a/pkgs/applications/networking/cluster/sonobuoy/default.nix b/pkgs/applications/networking/cluster/sonobuoy/default.nix
index ce6c5424fba123dc9979099816180f30875477b0..32dbced0a461ed8bc95ed0660c4233548385cf70 100644
--- a/pkgs/applications/networking/cluster/sonobuoy/default.nix
+++ b/pkgs/applications/networking/cluster/sonobuoy/default.nix
@@ -1,11 +1,11 @@
{ lib, buildGoPackage, fetchFromGitHub }:
# SHA of ${version} for the tool's help output
-let rev = "7ad367535a6710802085d41e0dbb53df359b9882";
+let rev = "c9c2a461cd3397909fe6e45ff71836347ef89fd8";
in
buildGoPackage rec {
pname = "sonobuoy";
- version = "0.15.0";
+ version = "0.16.1";
goPackagePath = "github.com/heptio/sonobuoy";
@@ -19,10 +19,10 @@ buildGoPackage rec {
'';
src = fetchFromGitHub {
- sha256 = "0dkmhmr7calk8mkdxfpy3yjzk10ja4gz1jq8pgk3v8rh04f4h1x5";
+ sha256 = "14qc5a7jbr403wjpk6pgpb94i72yx647sg9srz07q6drq650kyfv";
rev = "v${version}";
repo = "sonobuoy";
- owner = "heptio";
+ owner = "vmware-tanzu";
};
meta = with lib; {
@@ -36,8 +36,8 @@ buildGoPackage rec {
accessible and non-destructive manner.
'';
- homepage = "https://github.com/heptio/sonobuoy";
+ homepage = "https://sonobuoy.io";
license = licenses.asl20;
- maintainers = with maintainers; [ carlosdagos ];
+ maintainers = with maintainers; [ carlosdagos saschagrunert ];
};
}
diff --git a/pkgs/applications/networking/datovka/default.nix b/pkgs/applications/networking/datovka/default.nix
index 676737d2a77ce54595ba81045123075d74aa82cc..12bad094fcaab7fd228d12c33712c3354eef5a4a 100644
--- a/pkgs/applications/networking/datovka/default.nix
+++ b/pkgs/applications/networking/datovka/default.nix
@@ -11,11 +11,11 @@
mkDerivation rec {
pname = "datovka";
- version = "4.14.0";
+ version = "4.14.1";
src = fetchurl {
url = "https://secure.nic.cz/files/datove_schranky/${version}/${pname}-${version}.tar.xz";
- sha256 = "0q7zlq522wdgwxgd3jxmxvr3awclcy0mbw3qaymwzn2b8d35168r";
+ sha256 = "0jinxsm2zw77294vz9pjiqpgpzdwx5nijsi4nqzxna5rkmwdyxk6";
};
buildInputs = [ libisds qmake qtbase qtsvg libxml2 ];
diff --git a/pkgs/applications/networking/feedreaders/rssguard/default.nix b/pkgs/applications/networking/feedreaders/rssguard/default.nix
index 169b88f27185808822ff7ffb8f96134047eab438..2bb592bfb42c1457b8eb175cf47efdc5b6b31d0e 100644
--- a/pkgs/applications/networking/feedreaders/rssguard/default.nix
+++ b/pkgs/applications/networking/feedreaders/rssguard/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, qmake, qtwebengine, qttools, wrapGAppsHook }:
+{ stdenv, fetchFromGitHub, qmake, qtwebengine, qttools, wrapGAppsHook, wrapQtAppsHook }:
stdenv.mkDerivation rec {
pname = "rssguard";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [ qtwebengine qttools ];
- nativeBuildInputs = [ qmake wrapGAppsHook ];
+ nativeBuildInputs = [ qmake wrapGAppsHook wrapQtAppsHook ];
qmakeFlags = [ "CONFIG+=release" ];
meta = with stdenv.lib; {
diff --git a/pkgs/applications/networking/instant-messengers/linphone/default.nix b/pkgs/applications/networking/instant-messengers/linphone/default.nix
index 09273b7caa50ee40fe63ae42b01c2e92315b739d..b155f3129642140e807be928816daef81bd80607 100644
--- a/pkgs/applications/networking/instant-messengers/linphone/default.nix
+++ b/pkgs/applications/networking/instant-messengers/linphone/default.nix
@@ -2,19 +2,18 @@
, zlib, libxml2, gtk2, libnotify, speex, ffmpeg, libX11, libsoup, udev
, ortp, mediastreamer, sqlite, belle-sip, libosip, libexosip, bzrtp
, mediastreamer-openh264, bctoolbox, makeWrapper, fetchFromGitHub, cmake
-, libmatroska, bcunit, doxygen, gdk-pixbuf, glib, cairo, pango, polarssl
-, python, graphviz, belcard
+, libmatroska, bcunit, doxygen, gdk-pixbuf, glib, cairo, pango, mbedtls
+, python, graphviz, belcard, bcg729
, withGui ? true
}:
stdenv.mkDerivation rec {
- baseName = "linphone";
+ pname = "linphone";
version = "3.12.0";
- name = "${baseName}-${version}";
src = fetchFromGitHub {
owner = "BelledonneCommunications";
- repo = baseName;
+ repo = pname;
rev = version;
sha256 = "0az2ywrpx11sqfb4s4r2v726avcjf4k15bvrqj7xvhz7hdndmh0j";
};
@@ -27,21 +26,25 @@ stdenv.mkDerivation rec {
buildInputs = [
readline openldap cyrus_sasl libupnp zlib libxml2 gtk2 libnotify speex ffmpeg libX11
- polarssl libsoup udev ortp mediastreamer sqlite belle-sip libosip libexosip
- bctoolbox libmatroska bcunit gdk-pixbuf glib cairo pango bzrtp belcard
+ mbedtls libsoup udev ortp mediastreamer sqlite belle-sip libosip libexosip
+ bctoolbox libmatroska gdk-pixbuf glib cairo pango bzrtp belcard bcg729
];
nativeBuildInputs = [
- intltool pkgconfig makeWrapper cmake doxygen graphviz
+ intltool pkgconfig makeWrapper cmake bcunit doxygen graphviz
(python.withPackages (ps: [ ps.pystache ps.six ]))
];
- NIX_CFLAGS_COMPILE = " -Wno-error -I${glib.dev}/include/glib-2.0
- -I${glib.out}/lib/glib-2.0/include -I${gtk2.dev}/include/gtk-2.0/
- -I${cairo.dev}/include/cairo -I${pango.dev}/include/pango-1.0
- -I${gtk2}/lib/gtk-2.0/include
- -DLIBLINPHONE_GIT_VERSION=\"v${version}\"
- ";
+ NIX_CFLAGS_COMPILE = [
+ "-Wno-error"
+ "-I${glib.dev}/include/glib-2.0"
+ "-I${glib.out}/lib/glib-2.0/include"
+ "-I${gtk2.dev}/include/gtk-2.0/"
+ "-I${cairo.dev}/include/cairo"
+ "-I${pango.dev}/include/pango-1.0"
+ "-I${gtk2}/lib/gtk-2.0/include"
+ "-DLIBLINPHONE_GIT_VERSION=\"v${version}\""
+ ];
postInstall = ''
for i in $(cd $out/bin && ls); do
@@ -50,8 +53,8 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
- homepage = http://www.linphone.org/;
- description = "Open Source video SIP softphone";
+ homepage = https://www.linphone.org/;
+ description = "Open source SIP phone for voice/video calls and instant messaging";
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
diff --git a/pkgs/applications/networking/instant-messengers/matrix-recorder/composition.nix b/pkgs/applications/networking/instant-messengers/matrix-recorder/composition.nix
new file mode 100644
index 0000000000000000000000000000000000000000..e03bdd9909e8f78994ac68d95ef8765b4fc6c054
--- /dev/null
+++ b/pkgs/applications/networking/instant-messengers/matrix-recorder/composition.nix
@@ -0,0 +1,21 @@
+# This file has been generated by node2nix 1.7.0. Do not edit!
+
+{pkgs ? import {
+ inherit system;
+ }, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-12_x"}:
+
+let
+ nodeEnv = import ./node-env.nix {
+ inherit (pkgs) stdenv python2 utillinux runCommand writeTextFile;
+ inherit nodejs;
+ libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null;
+ };
+locpkgs =
+import ./node-packages.nix {
+ inherit (pkgs) fetchurl fetchgit;
+ inherit nodeEnv;
+ globalBuildInputs = [
+ locpkgs.node-pre-gyp
+ ];
+};
+in locpkgs
diff --git a/pkgs/applications/networking/instant-messengers/matrix-recorder/default.nix b/pkgs/applications/networking/instant-messengers/matrix-recorder/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..633219626b68ffd8b28f2215dfe25ad72753a94b
--- /dev/null
+++ b/pkgs/applications/networking/instant-messengers/matrix-recorder/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, pkgs }:
+(import ./composition.nix {
+ inherit pkgs;
+ inherit (stdenv.hostPlatform) system;
+})."package".override {
+ postInstall = ''
+ mkdir "$out/bin"
+ echo '#!/bin/sh' >> "$out/bin/matrix-recorder"
+ echo "'${pkgs.nodejs-12_x}/bin/node'" \
+ "'$out/lib/node_modules/matrix-recorder/matrix-recorder.js'" \
+ '"$@"' >> "$out/bin/matrix-recorder"
+ echo '#!/bin/sh' >> "$out/bin/matrix-recorder-to-html"
+ echo 'cd "$1"' >> "$out/bin/matrix-recorder-to-html"
+ echo "test -d templates/ || ln -sfT '$out/lib/node_modules/matrix-recorder/templates' templates" >> "$out/bin/matrix-recorder-to-html"
+ echo "'${pkgs.nodejs-12_x}/bin/node'" \
+ "'$out/lib/node_modules/matrix-recorder/recorder-to-html.js'" \
+ '.' >> "$out/bin/matrix-recorder-to-html"
+ chmod a+x "$out/bin/matrix-recorder"
+ chmod a+x "$out/bin/matrix-recorder-to-html"
+ '';
+ meta = {
+ description = "Matrix message recorder";
+ homepage = "https://gitlab.com/argit/matrix-recorder/";
+ license = stdenv.lib.licenses.mit;
+ maintainers = [ stdenv.lib.maintainers.raskin ];
+ };
+}
diff --git a/pkgs/applications/networking/instant-messengers/matrix-recorder/node-env.nix b/pkgs/applications/networking/instant-messengers/matrix-recorder/node-env.nix
new file mode 100644
index 0000000000000000000000000000000000000000..670556bf271af966045178286805c3152f471683
--- /dev/null
+++ b/pkgs/applications/networking/instant-messengers/matrix-recorder/node-env.nix
@@ -0,0 +1,540 @@
+# This file originates from node2nix
+
+{stdenv, nodejs, python2, utillinux, libtool, runCommand, writeTextFile}:
+
+let
+ python = if nodejs ? python then nodejs.python else python2;
+
+ # Create a tar wrapper that filters all the 'Ignoring unknown extended header keyword' noise
+ tarWrapper = runCommand "tarWrapper" {} ''
+ mkdir -p $out/bin
+
+ cat > $out/bin/tar <> $out/nix-support/hydra-build-products
+ '';
+ };
+
+ includeDependencies = {dependencies}:
+ stdenv.lib.optionalString (dependencies != [])
+ (stdenv.lib.concatMapStrings (dependency:
+ ''
+ # Bundle the dependencies of the package
+ mkdir -p node_modules
+ cd node_modules
+
+ # Only include dependencies if they don't exist. They may also be bundled in the package.
+ if [ ! -e "${dependency.name}" ]
+ then
+ ${composePackage dependency}
+ fi
+
+ cd ..
+ ''
+ ) dependencies);
+
+ # Recursively composes the dependencies of a package
+ composePackage = { name, packageName, src, dependencies ? [], ... }@args:
+ ''
+ DIR=$(pwd)
+ cd $TMPDIR
+
+ unpackFile ${src}
+
+ # Make the base dir in which the target dependency resides first
+ mkdir -p "$(dirname "$DIR/${packageName}")"
+
+ if [ -f "${src}" ]
+ then
+ # Figure out what directory has been unpacked
+ packageDir="$(find . -maxdepth 1 -type d | tail -1)"
+
+ # Restore write permissions to make building work
+ find "$packageDir" -type d -exec chmod u+x {} \;
+ chmod -R u+w "$packageDir"
+
+ # Move the extracted tarball into the output folder
+ mv "$packageDir" "$DIR/${packageName}"
+ elif [ -d "${src}" ]
+ then
+ # Get a stripped name (without hash) of the source directory.
+ # On old nixpkgs it's already set internally.
+ if [ -z "$strippedName" ]
+ then
+ strippedName="$(stripHash ${src})"
+ fi
+
+ # Restore write permissions to make building work
+ chmod -R u+w "$strippedName"
+
+ # Move the extracted directory into the output folder
+ mv "$strippedName" "$DIR/${packageName}"
+ fi
+
+ # Unset the stripped name to not confuse the next unpack step
+ unset strippedName
+
+ # Include the dependencies of the package
+ cd "$DIR/${packageName}"
+ ${includeDependencies { inherit dependencies; }}
+ cd ..
+ ${stdenv.lib.optionalString (builtins.substring 0 1 packageName == "@") "cd .."}
+ '';
+
+ pinpointDependencies = {dependencies, production}:
+ let
+ pinpointDependenciesFromPackageJSON = writeTextFile {
+ name = "pinpointDependencies.js";
+ text = ''
+ var fs = require('fs');
+ var path = require('path');
+
+ function resolveDependencyVersion(location, name) {
+ if(location == process.env['NIX_STORE']) {
+ return null;
+ } else {
+ var dependencyPackageJSON = path.join(location, "node_modules", name, "package.json");
+
+ if(fs.existsSync(dependencyPackageJSON)) {
+ var dependencyPackageObj = JSON.parse(fs.readFileSync(dependencyPackageJSON));
+
+ if(dependencyPackageObj.name == name) {
+ return dependencyPackageObj.version;
+ }
+ } else {
+ return resolveDependencyVersion(path.resolve(location, ".."), name);
+ }
+ }
+ }
+
+ function replaceDependencies(dependencies) {
+ if(typeof dependencies == "object" && dependencies !== null) {
+ for(var dependency in dependencies) {
+ var resolvedVersion = resolveDependencyVersion(process.cwd(), dependency);
+
+ if(resolvedVersion === null) {
+ process.stderr.write("WARNING: cannot pinpoint dependency: "+dependency+", context: "+process.cwd()+"\n");
+ } else {
+ dependencies[dependency] = resolvedVersion;
+ }
+ }
+ }
+ }
+
+ /* Read the package.json configuration */
+ var packageObj = JSON.parse(fs.readFileSync('./package.json'));
+
+ /* Pinpoint all dependencies */
+ replaceDependencies(packageObj.dependencies);
+ if(process.argv[2] == "development") {
+ replaceDependencies(packageObj.devDependencies);
+ }
+ replaceDependencies(packageObj.optionalDependencies);
+
+ /* Write the fixed package.json file */
+ fs.writeFileSync("package.json", JSON.stringify(packageObj, null, 2));
+ '';
+ };
+ in
+ ''
+ node ${pinpointDependenciesFromPackageJSON} ${if production then "production" else "development"}
+
+ ${stdenv.lib.optionalString (dependencies != [])
+ ''
+ if [ -d node_modules ]
+ then
+ cd node_modules
+ ${stdenv.lib.concatMapStrings (dependency: pinpointDependenciesOfPackage dependency) dependencies}
+ cd ..
+ fi
+ ''}
+ '';
+
+ # Recursively traverses all dependencies of a package and pinpoints all
+ # dependencies in the package.json file to the versions that are actually
+ # being used.
+
+ pinpointDependenciesOfPackage = { packageName, dependencies ? [], production ? true, ... }@args:
+ ''
+ if [ -d "${packageName}" ]
+ then
+ cd "${packageName}"
+ ${pinpointDependencies { inherit dependencies production; }}
+ cd ..
+ ${stdenv.lib.optionalString (builtins.substring 0 1 packageName == "@") "cd .."}
+ fi
+ '';
+
+ # Extract the Node.js source code which is used to compile packages with
+ # native bindings
+ nodeSources = runCommand "node-sources" {} ''
+ tar --no-same-owner --no-same-permissions -xf ${nodejs.src}
+ mv node-* $out
+ '';
+
+ # Script that adds _integrity fields to all package.json files to prevent NPM from consulting the cache (that is empty)
+ addIntegrityFieldsScript = writeTextFile {
+ name = "addintegrityfields.js";
+ text = ''
+ var fs = require('fs');
+ var path = require('path');
+
+ function augmentDependencies(baseDir, dependencies) {
+ for(var dependencyName in dependencies) {
+ var dependency = dependencies[dependencyName];
+
+ // Open package.json and augment metadata fields
+ var packageJSONDir = path.join(baseDir, "node_modules", dependencyName);
+ var packageJSONPath = path.join(packageJSONDir, "package.json");
+
+ if(fs.existsSync(packageJSONPath)) { // Only augment packages that exist. Sometimes we may have production installs in which development dependencies can be ignored
+ console.log("Adding metadata fields to: "+packageJSONPath);
+ var packageObj = JSON.parse(fs.readFileSync(packageJSONPath));
+
+ if(dependency.integrity) {
+ packageObj["_integrity"] = dependency.integrity;
+ } else {
+ packageObj["_integrity"] = "sha1-000000000000000000000000000="; // When no _integrity string has been provided (e.g. by Git dependencies), add a dummy one. It does not seem to harm and it bypasses downloads.
+ }
+
+ if(dependency.resolved) {
+ packageObj["_resolved"] = dependency.resolved; // Adopt the resolved property if one has been provided
+ } else {
+ packageObj["_resolved"] = dependency.version; // Set the resolved version to the version identifier. This prevents NPM from cloning Git repositories.
+ }
+
+ if(dependency.from !== undefined) { // Adopt from property if one has been provided
+ packageObj["_from"] = dependency.from;
+ }
+
+ fs.writeFileSync(packageJSONPath, JSON.stringify(packageObj, null, 2));
+ }
+
+ // Augment transitive dependencies
+ if(dependency.dependencies !== undefined) {
+ augmentDependencies(packageJSONDir, dependency.dependencies);
+ }
+ }
+ }
+
+ if(fs.existsSync("./package-lock.json")) {
+ var packageLock = JSON.parse(fs.readFileSync("./package-lock.json"));
+
+ if(packageLock.lockfileVersion !== 1) {
+ process.stderr.write("Sorry, I only understand lock file version 1!\n");
+ process.exit(1);
+ }
+
+ if(packageLock.dependencies !== undefined) {
+ augmentDependencies(".", packageLock.dependencies);
+ }
+ }
+ '';
+ };
+
+ # Reconstructs a package-lock file from the node_modules/ folder structure and package.json files with dummy sha1 hashes
+ reconstructPackageLock = writeTextFile {
+ name = "addintegrityfields.js";
+ text = ''
+ var fs = require('fs');
+ var path = require('path');
+
+ var packageObj = JSON.parse(fs.readFileSync("package.json"));
+
+ var lockObj = {
+ name: packageObj.name,
+ version: packageObj.version,
+ lockfileVersion: 1,
+ requires: true,
+ dependencies: {}
+ };
+
+ function augmentPackageJSON(filePath, dependencies) {
+ var packageJSON = path.join(filePath, "package.json");
+ if(fs.existsSync(packageJSON)) {
+ var packageObj = JSON.parse(fs.readFileSync(packageJSON));
+ dependencies[packageObj.name] = {
+ version: packageObj.version,
+ integrity: "sha1-000000000000000000000000000=",
+ dependencies: {}
+ };
+ processDependencies(path.join(filePath, "node_modules"), dependencies[packageObj.name].dependencies);
+ }
+ }
+
+ function processDependencies(dir, dependencies) {
+ if(fs.existsSync(dir)) {
+ var files = fs.readdirSync(dir);
+
+ files.forEach(function(entry) {
+ var filePath = path.join(dir, entry);
+ var stats = fs.statSync(filePath);
+
+ if(stats.isDirectory()) {
+ if(entry.substr(0, 1) == "@") {
+ // When we encounter a namespace folder, augment all packages belonging to the scope
+ var pkgFiles = fs.readdirSync(filePath);
+
+ pkgFiles.forEach(function(entry) {
+ if(stats.isDirectory()) {
+ var pkgFilePath = path.join(filePath, entry);
+ augmentPackageJSON(pkgFilePath, dependencies);
+ }
+ });
+ } else {
+ augmentPackageJSON(filePath, dependencies);
+ }
+ }
+ });
+ }
+ }
+
+ processDependencies("node_modules", lockObj.dependencies);
+
+ fs.writeFileSync("package-lock.json", JSON.stringify(lockObj, null, 2));
+ '';
+ };
+
+ prepareAndInvokeNPM = {packageName, bypassCache, reconstructLock, npmFlags, production}:
+ let
+ forceOfflineFlag = if bypassCache then "--offline" else "--registry http://www.example.com";
+ in
+ ''
+ # Pinpoint the versions of all dependencies to the ones that are actually being used
+ echo "pinpointing versions of dependencies..."
+ source $pinpointDependenciesScriptPath
+
+ # Patch the shebangs of the bundled modules to prevent them from
+ # calling executables outside the Nix store as much as possible
+ patchShebangs .
+
+ # Deploy the Node.js package by running npm install. Since the
+ # dependencies have been provided already by ourselves, it should not
+ # attempt to install them again, which is good, because we want to make
+ # it Nix's responsibility. If it needs to install any dependencies
+ # anyway (e.g. because the dependency parameters are
+ # incomplete/incorrect), it fails.
+ #
+ # The other responsibilities of NPM are kept -- version checks, build
+ # steps, postprocessing etc.
+
+ export HOME=$TMPDIR
+ cd "${packageName}"
+ runHook preRebuild
+
+ ${stdenv.lib.optionalString bypassCache ''
+ ${stdenv.lib.optionalString reconstructLock ''
+ if [ -f package-lock.json ]
+ then
+ echo "WARNING: Reconstruct lock option enabled, but a lock file already exists!"
+ echo "This will most likely result in version mismatches! We will remove the lock file and regenerate it!"
+ rm package-lock.json
+ else
+ echo "No package-lock.json file found, reconstructing..."
+ fi
+
+ node ${reconstructPackageLock}
+ ''}
+
+ node ${addIntegrityFieldsScript}
+ ''}
+
+ npm ${forceOfflineFlag} --nodedir=${nodeSources} ${npmFlags} ${stdenv.lib.optionalString production "--production"} rebuild
+
+ if [ "$dontNpmInstall" != "1" ]
+ then
+ # NPM tries to download packages even when they already exist if npm-shrinkwrap is used.
+ rm -f npm-shrinkwrap.json
+
+ npm ${forceOfflineFlag} --nodedir=${nodeSources} ${npmFlags} ${stdenv.lib.optionalString production "--production"} install
+ fi
+ '';
+
+ # Builds and composes an NPM package including all its dependencies
+ buildNodePackage =
+ { name
+ , packageName
+ , version
+ , dependencies ? []
+ , buildInputs ? []
+ , production ? true
+ , npmFlags ? ""
+ , dontNpmInstall ? false
+ , bypassCache ? false
+ , reconstructLock ? false
+ , preRebuild ? ""
+ , dontStrip ? true
+ , unpackPhase ? "true"
+ , buildPhase ? "true"
+ , ... }@args:
+
+ let
+ extraArgs = removeAttrs args [ "name" "dependencies" "buildInputs" "dontStrip" "dontNpmInstall" "preRebuild" "unpackPhase" "buildPhase" ];
+ in
+ stdenv.mkDerivation ({
+ name = "node_${name}-${version}";
+ buildInputs = [ tarWrapper python nodejs ]
+ ++ stdenv.lib.optional (stdenv.isLinux) utillinux
+ ++ stdenv.lib.optional (stdenv.isDarwin) libtool
+ ++ buildInputs;
+
+ inherit dontStrip; # Stripping may fail a build for some package deployments
+ inherit dontNpmInstall preRebuild unpackPhase buildPhase;
+
+ compositionScript = composePackage args;
+ pinpointDependenciesScript = pinpointDependenciesOfPackage args;
+
+ passAsFile = [ "compositionScript" "pinpointDependenciesScript" ];
+
+ installPhase = ''
+ # Create and enter a root node_modules/ folder
+ mkdir -p $out/lib/node_modules
+ cd $out/lib/node_modules
+
+ # Compose the package and all its dependencies
+ source $compositionScriptPath
+
+ ${prepareAndInvokeNPM { inherit packageName bypassCache reconstructLock npmFlags production; }}
+
+ # Create symlink to the deployed executable folder, if applicable
+ if [ -d "$out/lib/node_modules/.bin" ]
+ then
+ ln -s $out/lib/node_modules/.bin $out/bin
+ fi
+
+ # Create symlinks to the deployed manual page folders, if applicable
+ if [ -d "$out/lib/node_modules/${packageName}/man" ]
+ then
+ mkdir -p $out/share
+ for dir in "$out/lib/node_modules/${packageName}/man/"*
+ do
+ mkdir -p $out/share/man/$(basename "$dir")
+ for page in "$dir"/*
+ do
+ ln -s $page $out/share/man/$(basename "$dir")
+ done
+ done
+ fi
+
+ # Run post install hook, if provided
+ runHook postInstall
+ '';
+ } // extraArgs);
+
+ # Builds a development shell
+ buildNodeShell =
+ { name
+ , packageName
+ , version
+ , src
+ , dependencies ? []
+ , buildInputs ? []
+ , production ? true
+ , npmFlags ? ""
+ , dontNpmInstall ? false
+ , bypassCache ? false
+ , reconstructLock ? false
+ , dontStrip ? true
+ , unpackPhase ? "true"
+ , buildPhase ? "true"
+ , ... }@args:
+
+ let
+ extraArgs = removeAttrs args [ "name" "dependencies" "buildInputs" ];
+
+ nodeDependencies = stdenv.mkDerivation ({
+ name = "node-dependencies-${name}-${version}";
+
+ buildInputs = [ tarWrapper python nodejs ]
+ ++ stdenv.lib.optional (stdenv.isLinux) utillinux
+ ++ stdenv.lib.optional (stdenv.isDarwin) libtool
+ ++ buildInputs;
+
+ inherit dontStrip; # Stripping may fail a build for some package deployments
+ inherit dontNpmInstall unpackPhase buildPhase;
+
+ includeScript = includeDependencies { inherit dependencies; };
+ pinpointDependenciesScript = pinpointDependenciesOfPackage args;
+
+ passAsFile = [ "includeScript" "pinpointDependenciesScript" ];
+
+ installPhase = ''
+ mkdir -p $out/${packageName}
+ cd $out/${packageName}
+
+ source $includeScriptPath
+
+ # Create fake package.json to make the npm commands work properly
+ cp ${src}/package.json .
+ chmod 644 package.json
+ ${stdenv.lib.optionalString bypassCache ''
+ if [ -f ${src}/package-lock.json ]
+ then
+ cp ${src}/package-lock.json .
+ fi
+ ''}
+
+ # Go to the parent folder to make sure that all packages are pinpointed
+ cd ..
+ ${stdenv.lib.optionalString (builtins.substring 0 1 packageName == "@") "cd .."}
+
+ ${prepareAndInvokeNPM { inherit packageName bypassCache reconstructLock npmFlags production; }}
+
+ # Expose the executables that were installed
+ cd ..
+ ${stdenv.lib.optionalString (builtins.substring 0 1 packageName == "@") "cd .."}
+
+ mv ${packageName} lib
+ ln -s $out/lib/node_modules/.bin $out/bin
+ '';
+ } // extraArgs);
+ in
+ stdenv.mkDerivation {
+ name = "node-shell-${name}-${version}";
+
+ buildInputs = [ python nodejs ] ++ stdenv.lib.optional (stdenv.isLinux) utillinux ++ buildInputs;
+ buildCommand = ''
+ mkdir -p $out/bin
+ cat > $out/bin/shell <",
+ "main": "matrix-recorder.js",
+ "scripts": {
+ "start": "node matrix-recorder.js"
+ },
+ "repository": {
+ "type": "git",
+ "url": "https://gitlab.com/argit/matrix-recorder.git"
+ },
+ "dependencies": {
+ "marked": "^0.6.2",
+ "matrix-js-sdk": "^0.7.13",
+ "mime-types": "^2.1.14",
+ "mustache": "^2.3.0",
+ "node-fetch": "^1.6.3",
+ "node-localstorage": "^1.3.0",
+ "sqlite3": "^4.0.7",
+ "olm": "https://packages.matrix.org/npm/olm/olm-2.3.0.tgz"
+ },
+ "license": "MIT",
+ "optionalDependencies": {
+ }
+}
diff --git a/pkgs/applications/networking/instant-messengers/matrixcli/default.nix b/pkgs/applications/networking/instant-messengers/matrixcli/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..54b7ef2bd99152632e8ac8c2e792b5be385c91ae
--- /dev/null
+++ b/pkgs/applications/networking/instant-messengers/matrixcli/default.nix
@@ -0,0 +1,53 @@
+{ stdenv, fetchgit
+ , buildPythonApplication, buildPythonPackage
+ , pygobject3, pytestrunner, requests, responses, pytest, python-olm
+ , canonicaljson, olm
+}:
+let
+ mainsrc = fetchgit {
+ url = "https://github.com/saadnpq/matrixcli";
+ rev = "61ebde173ca2f77185c261c2b7f6db297ca89863";
+ sha256 = "0xcjjy2xwlcixr9fwgzcfjjkivqpk104h7dslfa7lz9jq9pzqzvq";
+ fetchSubmodules = true;
+ };
+
+ sdk = buildPythonPackage rec {
+ name = "${pname}-${version}";
+ pname = "matrix-python-sdk-matrixcli";
+ version = "0.0.2019-08-15";
+
+ src = "${mainsrc}/matrix-python-sdk/";
+
+ propagatedBuildInputs = [
+ requests responses olm python-olm canonicaljson
+ pytestrunner pytest
+ ];
+
+ doCheck = false;
+ doInstallCheck = false;
+
+ meta = {
+ license = stdenv.lib.licenses.asl20;
+ description = "Fork of Matrix Python SDK";
+ platforms = stdenv.lib.platforms.linux;
+ };
+ };
+
+in
+buildPythonApplication rec {
+ name = "${pname}-${version}";
+ pname = "matrixcli";
+ version = "0.0.2019-08-15";
+
+ src = mainsrc;
+
+ propagatedBuildInputs = [pygobject3 sdk];
+
+ meta = {
+ description = "CLI client for Matrix";
+ license = stdenv.lib.licenses.gpl3;
+ maintainers = [stdenv.lib.maintainers.raskin];
+ platforms = stdenv.lib.platforms.linux;
+ homepage = "https://github.com/saadnpq/matrixcli";
+ };
+}
diff --git a/pkgs/applications/networking/instant-messengers/rambox/pro.nix b/pkgs/applications/networking/instant-messengers/rambox/pro.nix
index eee5fd82bba7e206479d19c262d40ec8935ebfd7..8b1f4d4c0e94e40b3dbc46d5fe4932409607a489 100644
--- a/pkgs/applications/networking/instant-messengers/rambox/pro.nix
+++ b/pkgs/applications/networking/instant-messengers/rambox/pro.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
pname = "rambox-pro";
- version = "1.1.7";
+ version = "1.2.0";
dontBuild = true;
dontStrip = true;
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "https://github.com/ramboxapp/download/releases/download/v${version}/RamboxPro-${version}-linux-x64.tar.gz";
- sha256 = "1d84hlac3qwrbi8khp6r3bm5y25zcz52l6z54k7jmyplay46r5as";
+ sha256 = "189rpsrs25c4100xf1zhcwvdyigbzsw8ffhayj8mmrx4akg39653";
};
installPhase = ''
diff --git a/pkgs/applications/networking/instant-messengers/riot/riot-desktop-package.json b/pkgs/applications/networking/instant-messengers/riot/riot-desktop-package.json
index 30012970d78988ee89cce29b9663dda0bab861e0..3338f6159d92ae840d35af6cb403250f1b28123c 100644
--- a/pkgs/applications/networking/instant-messengers/riot/riot-desktop-package.json
+++ b/pkgs/applications/networking/instant-messengers/riot/riot-desktop-package.json
@@ -2,7 +2,7 @@
"name": "riot-web",
"productName": "Riot",
"main": "src/electron-main.js",
- "version": "1.5.0",
+ "version": "1.5.5",
"description": "A feature-rich client for Matrix.org",
"author": "New Vector Ltd.",
"dependencies": {
diff --git a/pkgs/applications/networking/instant-messengers/riot/riot-desktop.nix b/pkgs/applications/networking/instant-messengers/riot/riot-desktop.nix
index ec3b42c155349c0fe68b1e75e698319f3ff70b83..c3fe4b9dd331847ae149537421a72745bca7afda 100644
--- a/pkgs/applications/networking/instant-messengers/riot/riot-desktop.nix
+++ b/pkgs/applications/networking/instant-messengers/riot/riot-desktop.nix
@@ -1,4 +1,4 @@
-{ pkgs, stdenv, fetchFromGitHub, makeWrapper, makeDesktopItem, electron_5, riot-web, yarn2nix-moretea }:
+{ pkgs, stdenv, fetchFromGitHub, makeWrapper, makeDesktopItem, electron_5, riot-web, mkYarnPackage }:
# Notes for maintainers:
# * versions of `riot-web` and `riot-desktop` should be kept in sync.
@@ -6,15 +6,15 @@
let
executableName = "riot-desktop";
- version = "1.5.0";
+ version = "1.5.5";
riot-web-src = fetchFromGitHub {
owner = "vector-im";
repo = "riot-web";
rev = "v${version}";
- sha256 = "1xi5zg3602d7gdjxskpk2q3anpn2drrkxyirfvi9mzcfp2r05557";
+ sha256 = "18xhqniwxp1sv49qcd9ah8nyy2n2yliy3wg613raxjl16qvvzxmc";
};
-in yarn2nix-moretea.mkYarnPackage rec {
+in mkYarnPackage rec {
name = "riot-desktop-${version}";
inherit version;
diff --git a/pkgs/applications/networking/instant-messengers/riot/riot-web.nix b/pkgs/applications/networking/instant-messengers/riot/riot-web.nix
index ccfad7259a5d8a02627927975210f01d41921f13..93c3d837b050e6b509bc87de329c136562b57308 100644
--- a/pkgs/applications/networking/instant-messengers/riot/riot-web.nix
+++ b/pkgs/applications/networking/instant-messengers/riot/riot-web.nix
@@ -5,11 +5,11 @@
stdenv.mkDerivation rec {
pname = "riot-web";
- version = "1.5.0";
+ version = "1.5.5";
src = fetchurl {
url = "https://github.com/vector-im/riot-web/releases/download/v${version}/riot-v${version}.tar.gz";
- sha256 = "08r9473ncfy3wzqhnds729s77fq82jjgz8w3yya07aahcxzasi94";
+ sha256 = "0isln25sl5jvvlqvh822w73a4i82x75g1ywf3p9n5m1a5sr9f537";
};
installPhase = let
diff --git a/pkgs/applications/networking/instant-messengers/riot/update-riot-desktop.sh b/pkgs/applications/networking/instant-messengers/riot/update-riot-desktop.sh
index b646a9e03adf078167fa410700c308ee00a4d73c..f516e4a76f0a9b678fecb684a1a59bbb7c3ca188 100755
--- a/pkgs/applications/networking/instant-messengers/riot/update-riot-desktop.sh
+++ b/pkgs/applications/networking/instant-messengers/riot/update-riot-desktop.sh
@@ -1,5 +1,5 @@
#!/usr/bin/env nix-shell
-#!nix-shell -I nixpkgs=../../../../../ -i bash -p wget yarn2nix-moretea.yarn2nix
+#!nix-shell -I nixpkgs=../../../../../ -i bash -p wget yarn2nix
set -euo pipefail
diff --git a/pkgs/applications/networking/instant-messengers/signal-cli/default.nix b/pkgs/applications/networking/instant-messengers/signal-cli/default.nix
index 027b5b5805cbf122a350f62c0a9e7d4fb40c2bfb..c821c4b0f44e4833b926c631db30956ea62887fb 100644
--- a/pkgs/applications/networking/instant-messengers/signal-cli/default.nix
+++ b/pkgs/applications/networking/instant-messengers/signal-cli/default.nix
@@ -2,12 +2,12 @@
stdenv.mkDerivation rec {
pname = "signal-cli";
- version = "0.6.3";
+ version = "0.6.5";
# Building from source would be preferred, but is much more involved.
src = fetchurl {
url = "https://github.com/AsamK/signal-cli/releases/download/v${version}/signal-cli-${version}.tar.gz";
- sha256 = "1gvdifscyxmxn2dwlkqi684ahy5kbcj84mqda0m8l4aa8iaq1d59";
+ sha256 = "082kq8kadxbwzf31fmlq4in714id2irk0hhqsl53vsl3wmv45zvv";
};
buildInputs = lib.optional stdenv.isLinux [ libmatthew_java dbus dbus_java ];
diff --git a/pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix b/pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix
index 2893f21357b5e3cf8971e06bac2f04428119cbac..a368473b0c8c80e38b94e694e0dd269b7f24c363 100644
--- a/pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix
+++ b/pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix
@@ -7,7 +7,7 @@ let
# Please keep the version x.y.0.z and do not update to x.y.76.z because the
# source of the latter disappears much faster.
- version = "8.54.0.85";
+ version = "8.54.0.91";
rpath = stdenv.lib.makeLibraryPath [
alsaLib
@@ -63,7 +63,7 @@ let
"https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_${version}_amd64.deb"
"https://web.archive.org/web/https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_${version}_amd64.deb"
];
- sha256 = "09k260g9qy4n8vy6wr2jb5mm27cvqyapmv8vj4ff2j72f3ad31vm";
+ sha256 = "1hnha8sqk78zxkjqg62npmg6dymi5fnyj2bmxlwpgi61v3pyxj94";
}
else
throw "Skype for linux is not supported on ${stdenv.hostPlatform.system}";
diff --git a/pkgs/applications/networking/instant-messengers/slack/update.sh b/pkgs/applications/networking/instant-messengers/slack/update.sh
index e5f79388353833f6794fba0afa2fa1208478dfc5..6a15298c4e7dc8468318c14b25dca6835093ed53 100755
--- a/pkgs/applications/networking/instant-messengers/slack/update.sh
+++ b/pkgs/applications/networking/instant-messengers/slack/update.sh
@@ -3,7 +3,7 @@
set -eu -o pipefail
-oldVersion="$(nix-instantiate --eval -E "with import ./. {}; slack-theme-black.version or (builtins.parseDrvName slack-theme-black.name).version" | tr -d '"')"
+oldVersion="$(nix-instantiate --eval -E "with import ./. {}; lib.getVersion slack-theme-black" | tr -d '"')"
latestSha="$(curl -L -s https://api.github.com/repos/laCour/slack-night-mode/commits\?sha\=master\&since\=${oldVersion} | jq -r '.[0].sha')"
if [ ! "null" = "${latestSha}" ]; then
diff --git a/pkgs/applications/networking/instant-messengers/telepathy/idle/default.nix b/pkgs/applications/networking/instant-messengers/telepathy/idle/default.nix
index 3368ec1124ebfc61e653e3f11ed968fa1e7a557a..f3d1e6cfd750cddebfa07dea70dab828a9befb7d 100644
--- a/pkgs/applications/networking/instant-messengers/telepathy/idle/default.nix
+++ b/pkgs/applications/networking/instant-messengers/telepathy/idle/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, glib, gnome3, pkgconfig, dbus-glib, telepathy-glib, libxslt, makeWrapper }:
+{ stdenv, fetchurl, glib, dconf, pkgconfig, dbus-glib, telepathy-glib, libxslt, makeWrapper }:
stdenv.mkDerivation rec {
pname = "telepathy-idle";
@@ -10,11 +10,11 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ glib telepathy-glib dbus-glib libxslt telepathy-glib.python (stdenv.lib.getLib gnome3.dconf) makeWrapper ];
+ buildInputs = [ glib telepathy-glib dbus-glib libxslt telepathy-glib.python (stdenv.lib.getLib dconf) makeWrapper ];
preFixup = ''
wrapProgram "$out/libexec/telepathy-idle" \
- --prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib gnome3.dconf}/lib/gio/modules"
+ --prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib dconf}/lib/gio/modules"
'';
meta = {
diff --git a/pkgs/applications/networking/instant-messengers/telepathy/logger/default.nix b/pkgs/applications/networking/instant-messengers/telepathy/logger/default.nix
index 8c777cd3f7d657182cf99bc5d0f237bc216400e6..af0ca1589e5aa76b948ea5985e62d26d53e8d3ea 100644
--- a/pkgs/applications/networking/instant-messengers/telepathy/logger/default.nix
+++ b/pkgs/applications/networking/instant-messengers/telepathy/logger/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, dbus-glib, libxml2, sqlite, telepathy-glib, pkgconfig
-, gnome3, makeWrapper, intltool, libxslt, gobject-introspection, dbus }:
+, dconf, makeWrapper, intltool, libxslt, gobject-introspection, dbus }:
stdenv.mkDerivation rec {
project = "telepathy-logger";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
preFixup = ''
wrapProgram "$out/libexec/telepathy-logger" \
- --prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib gnome3.dconf}/lib/gio/modules" \
+ --prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib dconf}/lib/gio/modules" \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
'';
diff --git a/pkgs/applications/networking/instant-messengers/telepathy/mission-control/default.nix b/pkgs/applications/networking/instant-messengers/telepathy/mission-control/default.nix
index 6bbe82c4a28e15e35ba81bead004b582b4e4367e..ef842275a5de587b2150ddf692beca5dae1e7ec2 100644
--- a/pkgs/applications/networking/instant-messengers/telepathy/mission-control/default.nix
+++ b/pkgs/applications/networking/instant-messengers/telepathy/mission-control/default.nix
@@ -1,7 +1,7 @@
{ stdenv
, fetchurl
, pkgconfig
-, gnome3
+, dconf
, telepathy-glib
, python3
, libxslt
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
preFixup = ''
wrapProgram "$lib/libexec/mission-control-5" \
- --prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib gnome3.dconf}/lib/gio/modules" \
+ --prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib dconf}/lib/gio/modules" \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
'';
diff --git a/pkgs/applications/networking/instant-messengers/viber/default.nix b/pkgs/applications/networking/instant-messengers/viber/default.nix
index 1b3e1c8ad81a63b75d5707826803076d646287b7..acdec1dc99c9a4d9a6b0d0a21956f80729e451e1 100644
--- a/pkgs/applications/networking/instant-messengers/viber/default.nix
+++ b/pkgs/applications/networking/instant-messengers/viber/default.nix
@@ -1,6 +1,6 @@
{fetchurl, stdenv, dpkg, makeWrapper,
alsaLib, cups, curl, dbus, expat, fontconfig, freetype, glib, gst_all_1, harfbuzz, libcap,
- libpulseaudio, libxml2, libxslt, libGLU_combined, nspr, nss, openssl, systemd, wayland, xorg, zlib, ...
+ libpulseaudio, libxml2, libxslt, libGLU, libGL, nspr, nss, openssl, systemd, wayland, xorg, zlib, ...
}:
stdenv.mkDerivation {
@@ -32,7 +32,7 @@ stdenv.mkDerivation {
libpulseaudio
libxml2
libxslt
- libGLU_combined
+ libGLU libGL
nspr
nss
openssl
diff --git a/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix b/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix
index f395c2a80550ea47c063934a8cac27f30cbcedc3..0079d9f324f7be645ed8e2ae79bd6d6de1a5a037 100644
--- a/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix
+++ b/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix
@@ -1,12 +1,14 @@
-{ stdenv, fetchurl, makeDesktopItem
-
-, alsaLib, at-spi2-atk, atk, cairo, cups, dbus, dpkg, expat, fontconfig
-, freetype, gdk-pixbuf, glib, gtk3, hunspell, libX11, libXScrnSaver
-, libXcomposite, libXcursor, libXdamage, libXext, libXfixes, libXi, libXrandr
-, libXrender, libXtst, libnotify, libuuid, nspr, nss, pango, pciutils
-, pulseaudio, udev, xdg_utils, xorg
-
-, cpio, xar
+{ atomEnv
+, autoPatchelfHook
+, dpkg
+, fetchurl
+, makeDesktopItem
+, makeWrapper
+, stdenv
+, udev
+, wrapGAppsHook
+, cpio
+, xar
}:
let
@@ -18,13 +20,13 @@ let
pname = "wire-desktop";
version = {
- x86_64-linux = "3.11.2912";
x86_64-darwin = "3.10.3215";
+ x86_64-linux = "3.11.2912";
}.${system} or throwSystem;
sha256 = {
- x86_64-linux = "1d2wa13d750dd2vslnvzf0ibwjmf5s299pxq0rs2x98y2sabw3sl";
x86_64-darwin = "0ygm3fgy9k1dp2kjfwsrrwq1i88wgxc6k8y80yz61ivdawgph9wa";
+ x86_64-linux = "1d2wa13d750dd2vslnvzf0ibwjmf5s299pxq0rs2x98y2sabw3sl";
}.${system} or throwSystem;
meta = with stdenv.lib; {
@@ -40,11 +42,19 @@ let
* Timed messages and chats
* Synced across your phone, desktop and tablet
'';
- homepage = https://wire.com/;
- downloadPage = https://wire.com/download/;
+ homepage = "https://wire.com/";
+ downloadPage = "https://wire.com/download/";
license = licenses.gpl3Plus;
- maintainers = with maintainers; [ arianvp toonn worldofpeace ];
- platforms = [ "x86_64-darwin" "x86_64-linux" ];
+ maintainers = with maintainers; [
+ arianvp
+ kiwi
+ toonn
+ worldofpeace
+ ];
+ platforms = [
+ "x86_64-darwin"
+ "x86_64-linux"
+ ];
};
linux = stdenv.mkDerivation rec {
@@ -52,54 +62,55 @@ let
src = fetchurl {
url = "https://wire-app.wire.com/linux/debian/pool/main/"
- + "Wire-${version}_amd64.deb";
+ + "Wire-${version}_amd64.deb";
inherit sha256;
};
desktopItem = makeDesktopItem {
- name = "wire-desktop";
- exec = "wire-desktop %U";
- icon = "wire-desktop";
+ categories = "Network;InstantMessaging;Chat;VideoConference";
comment = "Secure messenger for everyone";
desktopName = "Wire Desktop";
+ exec = "wire-desktop %U";
genericName = "Secure messenger";
- categories = "Network;InstantMessaging;Chat;VideoConference";
+ icon = "wire-desktop";
+ name = "wire-desktop";
};
dontBuild = true;
- dontPatchELF = true;
dontConfigure = true;
+ dontPatchELF = true;
+ dontWrapGApps = true;
- nativeBuildInputs = [ dpkg ];
- rpath = stdenv.lib.makeLibraryPath [
- alsaLib at-spi2-atk atk cairo cups dbus expat fontconfig freetype
- gdk-pixbuf glib gtk3 hunspell libX11 libXScrnSaver libXcomposite
- libXcursor libXdamage libXext libXfixes libXi libXrandr libXrender
- libXtst libnotify libuuid nspr nss pango pciutils pulseaudio
- stdenv.cc.cc udev xdg_utils xorg.libxcb
+ nativeBuildInputs = [
+ autoPatchelfHook
+ dpkg
+ makeWrapper
+ wrapGAppsHook
];
+ buildInputs = atomEnv.packages;
+
unpackPhase = "dpkg-deb -x $src .";
installPhase = ''
- mkdir -p "$out"
+ mkdir -p "$out/bin"
cp -R "opt" "$out"
cp -R "usr/share" "$out/share"
chmod -R g-w "$out"
- # Patch wire-desktop
- patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
- --set-rpath "${rpath}:$out/opt/Wire" \
- "$out/opt/Wire/wire-desktop"
-
- # Symlink to bin
- mkdir -p "$out/bin"
- ln -s "$out/opt/Wire/wire-desktop" "$out/bin/wire-desktop"
-
# Desktop file
mkdir -p "$out/share/applications"
cp "${desktopItem}/share/applications/"* "$out/share/applications"
'';
+
+ runtimeDependencies = [
+ udev.lib
+ ];
+
+ postFixup = ''
+ makeWrapper $out/opt/Wire/wire-desktop $out/bin/wire-desktop \
+ "''${gappsWrapperArgs[@]}"
+ '';
};
darwin = stdenv.mkDerivation {
@@ -107,18 +118,20 @@ let
src = fetchurl {
url = "https://github.com/wireapp/wire-desktop/releases/download/"
- + "macos%2F${version}/Wire.pkg";
+ + "macos%2F${version}/Wire.pkg";
inherit sha256;
};
- buildInputs = [ cpio xar ];
+ buildInputs = [
+ cpio
+ xar
+ ];
unpackPhase = ''
xar -xf $src
cd com.wearezeta.zclient.mac.pkg
'';
-
buildPhase = ''
cat Payload | gunzip -dc | cpio -i
'';
@@ -129,6 +142,7 @@ let
'';
};
-in if stdenv.isDarwin
- then darwin
- else linux
+in
+if stdenv.isDarwin
+then darwin
+else linux
diff --git a/pkgs/applications/networking/instant-messengers/zoom-us/update.sh b/pkgs/applications/networking/instant-messengers/zoom-us/update.sh
index e06320424938b940758b6372767844054d85733e..6214d4e26255ad5b110a16f0e235ed79a69f08b8 100755
--- a/pkgs/applications/networking/instant-messengers/zoom-us/update.sh
+++ b/pkgs/applications/networking/instant-messengers/zoom-us/update.sh
@@ -3,7 +3,7 @@
set -eu -o pipefail
-oldVersion=$(nix-instantiate --eval -E "with import ./. {}; zoom-us.version or (builtins.parseDrvName zoom-us.name).version" | tr -d '"')
+oldVersion=$(nix-instantiate --eval -E "with import ./. {}; lib.getVersion zoom-us" | tr -d '"')
version="$(curl -sI https://zoom.us/client/latest/zoom_x86_64.tar.xz | grep -Fi 'Location:' | pcregrep -o1 '/(([0-9]\.?)+)/')"
if [ ! "${oldVersion}" = "${version}" ]; then
diff --git a/pkgs/applications/networking/mailreaders/aerc/default.nix b/pkgs/applications/networking/mailreaders/aerc/default.nix
index 98ab5f5635215070d455548694a80cc893de14e3..6915cfd79821577b23452c428713291d508d76fc 100644
--- a/pkgs/applications/networking/mailreaders/aerc/default.nix
+++ b/pkgs/applications/networking/mailreaders/aerc/default.nix
@@ -1,21 +1,22 @@
{ stdenv, buildGoModule, fetchurl
-, go, ncurses, scdoc
+, go, ncurses, notmuch, scdoc
, python3, perl, w3m, dante
}:
buildGoModule rec {
pname = "aerc";
- version = "0.2.1";
+ version = "0.3.0";
src = fetchurl {
url = "https://git.sr.ht/~sircmpwn/aerc/archive/${version}.tar.gz";
- sha256 = "1ky1nl5b54lf5jnac2kb5404fplwnwypjplas8imdlsf517fw32n";
+ sha256 = "188jln8hmgiqn5il5m54bns0wk4grj09di8y6mmid58ibw6spma4";
};
nativeBuildInputs = [
go
scdoc
python3.pkgs.wrapPython
+ notmuch
];
patches = [
@@ -28,6 +29,8 @@ buildGoModule rec {
buildInputs = [ python3 perl ];
+ GOFLAGS="-tags=notmuch";
+
buildPhase = "
runHook preBuild
# we use make instead of go build
@@ -43,12 +46,12 @@ buildGoModule rec {
postFixup = ''
wrapProgram $out/bin/aerc --prefix PATH ":" \
- "$out/share/aerc/filters:${stdenv.lib.makeBinPath [ ncurses.dev ]}"
+ "$out/share/aerc/filters:${stdenv.lib.makeBinPath [ ncurses ]}"
wrapProgram $out/share/aerc/filters/html --prefix PATH ":" \
${stdenv.lib.makeBinPath [ w3m dante ]}
'';
- modSha256 = "0fc9m1qb8innypc8cxzbqyrfkawawyaqq3gqy7lqwmyh32f300jh";
+ modSha256 = "0pxbv4zfhii0g41cy0ycfpkkxw6nnd4ibavic6zqw30j476jnm2x";
meta = with stdenv.lib; {
description = "aerc is an email client for your terminal";
diff --git a/pkgs/applications/networking/mailreaders/aerc/runtime-sharedir.patch b/pkgs/applications/networking/mailreaders/aerc/runtime-sharedir.patch
index 4ff1283b5e3d1bcd3652811f51b5b42d7c287683..ed670d61a7b3151f512e3f0d320a7943a36bf4f9 100644
--- a/pkgs/applications/networking/mailreaders/aerc/runtime-sharedir.patch
+++ b/pkgs/applications/networking/mailreaders/aerc/runtime-sharedir.patch
@@ -1,18 +1,19 @@
-From 7ea68a2eef026723903d72f54ca54b629881ec06 Mon Sep 17 00:00:00 2001
+From 6cf3c2e42d219b9665a43ca65f321c653b0aa102 Mon Sep 17 00:00:00 2001
From: Tadeo Kondrak
Date: Mon, 28 Oct 2019 08:36:36 -0600
Subject: [PATCH] Fix aerc breaking every time the package is rebuilt.
On NixOS, the SHAREDIR changes on every rebuild to the package, but aerc
-fills it in as part of the default config. Fix this by not substituting
-@SHAREDIR@ in the default config until runtime.
+fills it in as part of the default config and then installs that config
+to the users home folder. Fix this by not substituting @SHAREDIR@ in the
+default config until runtime.
---
Makefile | 2 +-
- config/config.go | 3 +++
- 2 files changed, 4 insertions(+), 1 deletion(-)
+ config/config.go | 8 ++++++++
+ 2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
-index d3072d3..17ca0be 100644
+index d1c755d..1185a96 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@ aerc: $(GOSRC)
@@ -25,10 +26,22 @@ index d3072d3..17ca0be 100644
DOCS := \
aerc.1 \
diff --git a/config/config.go b/config/config.go
-index bfcbecf..2f4e703 100644
+index 32d07fc..8ffd3e8 100644
--- a/config/config.go
+++ b/config/config.go
-@@ -377,6 +377,9 @@ func LoadConfigFromFile(root *string, sharedir string) (*AercConfig, error) {
+@@ -355,6 +355,11 @@ func LoadConfigFromFile(root *string, sharedir string) (*AercConfig, error) {
+ return nil, err
+ }
+ }
++ if sec, err := file.GetSection("templates"); err == nil {
++ if key, err := sec.GetKey("template-dirs"); err == nil {
++ sec.NewKey("template-dirs", strings.ReplaceAll(key.String(), "@SHAREDIR@", sharedir))
++ }
++ }
+ file.NameMapper = mapName
+ config := &AercConfig{
+ Bindings: BindingConfig{
+@@ -423,6 +428,9 @@ func LoadConfigFromFile(root *string, sharedir string) (*AercConfig, error) {
if err = config.LoadConfig(file); err != nil {
return nil, err
}
diff --git a/pkgs/applications/networking/mailreaders/balsa/default.nix b/pkgs/applications/networking/mailreaders/balsa/default.nix
index ff6599598760c9e0470eaeeebc3b9c0df224d6f3..e7c9d50cb9be1a6ece343248b1b33f64647d1506 100644
--- a/pkgs/applications/networking/mailreaders/balsa/default.nix
+++ b/pkgs/applications/networking/mailreaders/balsa/default.nix
@@ -6,11 +6,11 @@
stdenv.mkDerivation rec {
pname = "balsa";
- version = "2.5.7";
+ version = "2.5.9";
src = fetchurl {
url = "https://pawsa.fedorapeople.org/balsa/${pname}-${version}.tar.bz2";
- sha256 = "0yfqhfpwm1qnwmbpr6dfn2f5w8a8xxq51pn8ypgg0fw973l1c1nx";
+ sha256 = "19gs1qfvbk9qx4rjmgrmvid00kl9k153zjjx8zjii2lz09w7g19i";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/networking/mailreaders/imapfilter.nix b/pkgs/applications/networking/mailreaders/imapfilter.nix
index 9f05020f2c3ffc314b34135edb8c510697217f48..587cc40aadaad372dce98e668faab8861537129a 100644
--- a/pkgs/applications/networking/mailreaders/imapfilter.nix
+++ b/pkgs/applications/networking/mailreaders/imapfilter.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "imapfilter";
- version = "2.6.14";
+ version = "2.6.16";
src = fetchFromGitHub {
owner = "lefcha";
repo = "imapfilter";
rev = "v${version}";
- sha256 = "09aq9gw1vz0zl6k4fb4zdm6cpjhddsl13asfjx3qy21pbw0azmj6";
+ sha256 = "0f65sg6hhv6778fxwsz4hvarbm97dsb8jj0mg7a9qs273r35pqck";
};
makeFlagsArray = "PREFIX=$(out)";
diff --git a/pkgs/applications/networking/mailreaders/mutt/default.nix b/pkgs/applications/networking/mailreaders/mutt/default.nix
index 3af4c7f5e15f0b73fbd7e4810d19b9f08843089c..bc4bb49981e4da4b854c74db578cacabfbb2dd1d 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 {
pname = "mutt";
- version = "1.12.2";
+ version = "1.13.0";
src = fetchurl {
url = "http://ftp.mutt.org/pub/mutt/${pname}-${version}.tar.gz";
- sha256 = "10k8352s0z7yan6d4z2am80qd3bsaky4h89g72wl4xr3x067ahmw";
+ sha256 = "1dzmypmcyqsxcb0qwz1b2v3nhvd83jcqlnn3acvgaiag10hxq3d0";
};
patches = optional smimeSupport (fetchpatch {
diff --git a/pkgs/applications/networking/mailreaders/neomutt/default.nix b/pkgs/applications/networking/mailreaders/neomutt/default.nix
index 4305294297aac599cf3883e3c98b911d53ae6091..79110ac37b2b7ce65faf1a3126a0be656f673529 100644
--- a/pkgs/applications/networking/mailreaders/neomutt/default.nix
+++ b/pkgs/applications/networking/mailreaders/neomutt/default.nix
@@ -4,14 +4,14 @@
}:
stdenv.mkDerivation rec {
- version = "20191111";
+ version = "20191129";
pname = "neomutt";
src = fetchFromGitHub {
owner = "neomutt";
repo = "neomutt";
rev = version;
- sha256 = "16xr7wdmjw0i72xbnyyh098wx4cr0m8w2cr1szdi1b14p4kpgr67";
+ sha256 = "1zwnap307qzjkfcap0rxgwwmis77lhr7js4avig0qdqnmqbdlgbh";
};
buildInputs = [
diff --git a/pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix b/pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix
index ad98cd660d9cfda8b5f80defb930da8c005ac292..6cdbe4d58adaa2d6373f7881a9afef08e0347fa4 100644
--- a/pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix
+++ b/pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix
@@ -34,7 +34,7 @@
, libgnome
, libgnomeui
, gnome3
-, libGLU_combined
+, libGLU, libGL
, nspr
, nss
, pango
@@ -116,7 +116,7 @@ stdenv.mkDerivation {
libcanberra-gtk2
libgnome
libgnomeui
- libGLU_combined
+ libGLU libGL
nspr
nss
pango
diff --git a/pkgs/applications/networking/mailreaders/thunderbird/default.nix b/pkgs/applications/networking/mailreaders/thunderbird/default.nix
index a4edc76caca04f3337681185a0a799ba5fbab4a8..78ed553ccd873f15726d7bb690c0d0d4f8d56b0d 100644
--- a/pkgs/applications/networking/mailreaders/thunderbird/default.nix
+++ b/pkgs/applications/networking/mailreaders/thunderbird/default.nix
@@ -1,7 +1,7 @@
{ lib, stdenv, fetchurl, pkgconfig, gtk2, pango, perl, python2, python3, nodejs
, libIDL, libjpeg, zlib, dbus, dbus-glib, bzip2, xorg
, freetype, fontconfig, file, nspr, nss, libnotify
-, yasm, libGLU_combined, sqlite, zip, unzip
+, yasm, libGLU, libGL, sqlite, zip, unzip
, libevent, libstartup_notification
, icu, libpng, jemalloc
, autoconf213, which, m4, fetchpatch
@@ -37,7 +37,7 @@ in stdenv.mkDerivation rec {
[ gtk2 zip libIDL libjpeg zlib bzip2
dbus dbus-glib pango freetype fontconfig xorg.libXi
xorg.libX11 xorg.libXrender xorg.libXft xorg.libXt file
- nspr nss libnotify xorg.pixman yasm libGLU_combined
+ nspr nss libnotify xorg.pixman yasm libGLU libGL
xorg.libXScrnSaver xorg.xorgproto
xorg.libXext sqlite unzip
libevent libstartup_notification /* cairo */
diff --git a/pkgs/applications/networking/newsreaders/pan/default.nix b/pkgs/applications/networking/newsreaders/pan/default.nix
index 3f90f65476e42a5c0cc8726bbda28d98212baaee..f50d9516167a73114e6a0bf03ff2299d198c7cc7 100644
--- a/pkgs/applications/networking/newsreaders/pan/default.nix
+++ b/pkgs/applications/networking/newsreaders/pan/default.nix
@@ -7,7 +7,7 @@
assert spellChecking -> gtkspell3 != null;
-let version = "0.145"; in
+let version = "0.146"; in
stdenv.mkDerivation {
pname = "pan";
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
src = fetchurl {
url = "http://pan.rebelbase.com/download/releases/${version}/source/pan-${version}.tar.bz2";
- sha256 = "1b4wamv33hprghcjk903bpvnd233yxyrm18qnh13alc8h1553nk8";
+ sha256 = "17agd27sn4a7nahvkpg0w39kv74njgdrrygs74bbvpaj8rk2hb55";
};
nativeBuildInputs = [ pkgconfig gettext intltool itstool libxml2 makeWrapper ];
diff --git a/pkgs/applications/networking/newsreaders/quiterss/default.nix b/pkgs/applications/networking/newsreaders/quiterss/default.nix
index 6274c1c345d4cf51eef282c426d65b3aab9b00ea..d54e8eca78e4a6ad0ae3de011af3cb7465935c85 100644
--- a/pkgs/applications/networking/newsreaders/quiterss/default.nix
+++ b/pkgs/applications/networking/newsreaders/quiterss/default.nix
@@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
pname = "quiterss";
- version = "0.19.1";
+ version = "0.19.2";
src = fetchFromGitHub {
owner = "QuiteRSS";
repo = "quiterss";
rev = version;
- sha256 = "0zr17r33g99ylvb1avcbixg2jiwisaks4x91lywv2dy3g6dkpxml";
+ sha256 = "1dmfag5hmy4jac20nizwgd92w8h2hdl2ch57hvw5hmjyfckn9rpj";
};
nativeBuildInputs = [ qmake pkgconfig wrapQtAppsHook ];
diff --git a/pkgs/applications/networking/p2p/transmission-remote-gtk/default.nix b/pkgs/applications/networking/p2p/transmission-remote-gtk/default.nix
index 55bdced74b52bd11a7aea80c15837c3be4eafe16..68babaddd1bc8771c12c6a865489429d2fb36e35 100644
--- a/pkgs/applications/networking/p2p/transmission-remote-gtk/default.nix
+++ b/pkgs/applications/networking/p2p/transmission-remote-gtk/default.nix
@@ -1,5 +1,5 @@
{ stdenv, autoconf, automake, libtool, wrapGAppsHook, fetchFromGitHub, pkgconfig
-, intltool, gtk3, json-glib, curl, glib, autoconf-archive, appstream-glib }:
+, intltool, gtk3, json-glib, curl, glib, autoconf-archive, appstream-glib, fetchpatch }:
stdenv.mkDerivation rec {
@@ -13,6 +13,13 @@ stdenv.mkDerivation rec {
sha256 = "1pipc1f94jdppv597mqmcj2kw2rdvaqcbl512v7z8vir76p1a7gk";
};
+ patches = [
+ (fetchpatch {
+ url = "https://github.com/transmission-remote-gtk/transmission-remote-gtk/commit/0f5cc8a9942e220ea0f7d0b17db4a78d094e3b65.patch";
+ sha256 = "195rsjpbc0gzmr9bycvq4mra7abp3hd9by3a5vvcmxsh5ipikycf";
+ })
+ ];
+
preConfigure = "./autogen.sh";
nativeBuildInputs= [
diff --git a/pkgs/applications/networking/p2p/tribler/default.nix b/pkgs/applications/networking/p2p/tribler/default.nix
index 65abcf35a35267e109f4904c3f7fa3b951fe05d2..683507f8b19a8c9338eb52f3387d99b8adda5a3f 100644
--- a/pkgs/applications/networking/p2p/tribler/default.nix
+++ b/pkgs/applications/networking/p2p/tribler/default.nix
@@ -1,48 +1,51 @@
-{ stdenv, fetchurl, pythonPackages, makeWrapper, imagemagick
-, enablePlayer ? true, vlc ? null, qt5 }:
+{ stdenv, fetchurl, pkgs, python3Packages, makeWrapper
+, enablePlayer ? true, vlc ? null, qt5, lib }:
stdenv.mkDerivation rec {
pname = "tribler";
- version = "7.1.2";
+ version = "7.4.0-exp1";
src = fetchurl {
- url = "https://github.com/Tribler/tribler/releases/download/v${version}/Tribler-v${version}.tar.gz";
- sha256 = "1ayzqx4358qlx56hsnsn5s8xl6mzdb6nw4kwsalmp86dw6vmmis8";
+ url = "https://github.com/Tribler/tribler/releases/download/v${version}/Tribler-v${version}.tar.xz";
+ sha256 = "18ziisg0v2gdxnprbhqsryz92yk270waj0la7m2h326k5qql3qkf";
};
- buildInputs = [
- pythonPackages.python
- pythonPackages.wrapPython
+ nativeBuildInputs = [
+ python3Packages.wrapPython
makeWrapper
- imagemagick
+ ];
+
+ buildInputs = [
+ python3Packages.python
];
pythonPath = [
- pythonPackages.libtorrentRasterbar
- pythonPackages.apsw
- pythonPackages.twisted
- pythonPackages.netifaces
- pythonPackages.pycrypto
- pythonPackages.pyasn1
- pythonPackages.requests
- pythonPackages.setuptools
- pythonPackages.m2crypto
- pythonPackages.pyqt5
- pythonPackages.chardet
- pythonPackages.cherrypy
- pythonPackages.cryptography
- pythonPackages.libnacl
- pythonPackages.configobj
- pythonPackages.matplotlib
- pythonPackages.plyvel
- pythonPackages.decorator
- pythonPackages.feedparser
- pythonPackages.service-identity
- pythonPackages.psutil
- pythonPackages.meliae
- pythonPackages.sip
- pythonPackages.pillow
- pythonPackages.networkx
+ python3Packages.libtorrentRasterbar
+ python3Packages.twisted
+ python3Packages.netifaces
+ python3Packages.pycrypto
+ python3Packages.pyasn1
+ python3Packages.requests
+ python3Packages.m2crypto
+ python3Packages.pyqt5
+ python3Packages.chardet
+ python3Packages.cherrypy
+ python3Packages.cryptography
+ python3Packages.libnacl
+ python3Packages.configobj
+ python3Packages.decorator
+ python3Packages.feedparser
+ python3Packages.service-identity
+ python3Packages.psutil
+ python3Packages.pillow
+ python3Packages.networkx
+ python3Packages.pony
+ python3Packages.lz4
+ python3Packages.pyqtgraph
+
+ # there is a BTC feature, but it requires some unclear version of
+ # bitcoinlib, so this doesn't work right now.
+ # python3Packages.bitcoinlib
];
postPatch = ''
@@ -54,12 +57,11 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
- find . -name '*.png' -exec convert -strip {} {} \;
mkdir -pv $out
# Nasty hack; call wrapPythonPrograms to set program_PYTHONPATH.
wrapPythonPrograms
cp -prvd ./* $out/
- makeWrapper ${pythonPackages.python}/bin/python $out/bin/tribler \
+ makeWrapper ${python3Packages.python}/bin/python $out/bin/tribler \
--set QT_QPA_PLATFORM_PLUGIN_PATH ${qt5.qtbase.bin}/lib/qt-*/plugins/platforms \
--set _TRIBLERPATH $out \
--set PYTHONPATH $out:$program_PYTHONPATH \
diff --git a/pkgs/applications/networking/remote/anydesk/default.nix b/pkgs/applications/networking/remote/anydesk/default.nix
index e9dd022c3139fbd3dfa963338495419a5ce0666b..03a2ef9551bbe0770c0f9f385b776ab0a305270b 100644
--- a/pkgs/applications/networking/remote/anydesk/default.nix
+++ b/pkgs/applications/networking/remote/anydesk/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, makeWrapper, makeDesktopItem
-, atk, cairo, gdk-pixbuf, glib, gnome2, gtk2, libGLU_combined, pango, xorg
+, atk, cairo, gdk-pixbuf, glib, gnome2, gtk2, libGLU, libGL, pango, xorg
, lsb-release, freetype, fontconfig, pangox_compat, polkit, polkit_gnome
, pulseaudio }:
let
sha256 = {
- x86_64-linux = "1zdbgbbdavaqx4y02sw9y7i1r9wkxqccrqkn0sp5847a26cpk9k9";
- i386-linux = "11qwyxvy3c3n7hvksmlsfl9vvqaqkv3kwbk5rgjyy7vy8vn4kjmk";
+ x86_64-linux = "0dcg9znjxpnysypznnnq4xbaciiqz8l4p1hrbis3pazwi7bakizs";
+ i386-linux = "04bvsvqjkayac17y9jcpdcfm3hzm2kq1brd9vwnx34gg07x9mn7g";
}.${stdenv.hostPlatform.system} or (throw "system ${stdenv.hostPlatform.system} not supported");
arch = {
@@ -28,7 +28,7 @@ let
in stdenv.mkDerivation rec {
pname = "anydesk";
- version = "5.4.1";
+ version = "5.5.0";
src = fetchurl {
url = "https://download.anydesk.com/linux/${pname}-${version}-${arch}.tar.gz";
@@ -37,7 +37,7 @@ in stdenv.mkDerivation rec {
buildInputs = [
atk cairo gdk-pixbuf glib gtk2 stdenv.cc.cc pango
- gnome2.gtkglext libGLU_combined freetype fontconfig
+ gnome2.gtkglext libGLU libGL freetype fontconfig
pangox_compat polkit polkit_gnome pulseaudio
] ++ (with xorg; [
libxcb libxkbfile libX11 libXdamage libXext libXfixes libXi libXmu
diff --git a/pkgs/applications/networking/remote/citrix-workspace/default.nix b/pkgs/applications/networking/remote/citrix-workspace/default.nix
index 26e8cf59a9e948454e8856d100dc56cf85354962..dc6f85f2130ebf119f0a769ba418d1a6ec05bc91 100644
--- a/pkgs/applications/networking/remote/citrix-workspace/default.nix
+++ b/pkgs/applications/networking/remote/citrix-workspace/default.nix
@@ -9,6 +9,7 @@
, makeDesktopItem
, tzdata
, cacert
+, dconf
, glib
, gtk2
, atk
@@ -137,7 +138,7 @@ let
gdk-pixbuf
cairo
pango
- gnome3.dconf
+ dconf
xorg.libX11
xorg.libXext
xorg.libXrender
diff --git a/pkgs/applications/office/libreoffice/default.nix b/pkgs/applications/office/libreoffice/default.nix
index 51ef4eb9d24ec63f08b5574a9620f27325ab61af..912ab42ce28a6995ae84bd2866c526c2eec17974 100644
--- a/pkgs/applications/office/libreoffice/default.nix
+++ b/pkgs/applications/office/libreoffice/default.nix
@@ -4,7 +4,7 @@
, bison, flex, zip, unzip, gtk3, gtk2, libmspack, getopt, file, cairo, which
, icu, boost, jdk, ant, cups, xorg, libcmis, fontforge
, openssl, gperf, cppunit, GConf, ORBit2, poppler, utillinux
-, librsvg, gnome_vfs, libGLU_combined, bsh, CoinMP, libwps, libabw, libmysqlclient
+, librsvg, gnome_vfs, libGLU, libGL, bsh, CoinMP, libwps, libabw, libmysqlclient
, autoconf, automake, openldap, bash, hunspell, librdf_redland, nss, nspr
, libwpg, dbus-glib, qt4, clucene_core, libcdr, lcms, vigra
, unixODBC, mdds, sane-backends, mythes, libexttextcat, libvisio
@@ -13,7 +13,7 @@
, librevenge, libe-book, libmwaw, glm, glew, gst_all_1
, gdb, commonsLogging, librdf_rasqal, wrapGAppsHook
, gnome3, glib, ncurses, epoxy, gpgme
-, langs ? [ "ca" "cs" "de" "en-GB" "en-US" "eo" "es" "fr" "hu" "it" "ja" "nl" "pl" "ru" "sl" "zh-CN" ]
+, langs ? [ "ca" "cs" "de" "en-GB" "en-US" "eo" "es" "fr" "hu" "it" "ja" "nl" "pl" "pt" "pt-BR" "ru" "sl" "zh-CN" ]
, withHelp ? true
, kdeIntegration ? false
}:
@@ -365,7 +365,7 @@ in stdenv.mkDerivation rec {
hunspell icu jdk lcms libcdr libexttextcat unixODBC libjpeg
libmspack librdf_redland librsvg libsndfile libvisio libwpd libwpg libX11
libXaw libXext libXi libXinerama libxml2 libxslt libXtst
- libXdmcp libpthreadstubs libGLU_combined mythes gst_all_1.gstreamer
+ libXdmcp libpthreadstubs libGLU libGL mythes gst_all_1.gstreamer
gst_all_1.gst-plugins-base glib libmysqlclient
neon nspr nss openldap openssl ORBit2 pam perl pkgconfig poppler
python3 sane-backends unzip vigra which zip zlib
diff --git a/pkgs/applications/office/libreoffice/still.nix b/pkgs/applications/office/libreoffice/still.nix
index fc984d39e27b4b9ef4281abdb15984547e4e3718..ee1497bfb7e9c80d73017e15b780b57c046fe580 100644
--- a/pkgs/applications/office/libreoffice/still.nix
+++ b/pkgs/applications/office/libreoffice/still.nix
@@ -4,7 +4,7 @@
, bison, flex, zip, unzip, gtk3, gtk2, libmspack, getopt, file, cairo, which
, icu, boost, jdk, ant, cups, xorg, libcmis, fontforge
, openssl, gperf, cppunit, GConf, ORBit2, poppler, utillinux
-, librsvg, gnome_vfs, libGLU_combined, bsh, CoinMP, libwps, libabw, libmysqlclient
+, librsvg, gnome_vfs, libGLU, libGL, bsh, CoinMP, libwps, libabw, libmysqlclient
, autoconf, automake, openldap, bash, hunspell, librdf_redland, nss, nspr
, libwpg, dbus-glib, qt4, clucene_core, libcdr, lcms, vigra
, unixODBC, mdds, sane-backends, mythes, libexttextcat, libvisio
@@ -13,7 +13,7 @@
, librevenge, libe-book, libmwaw, glm, glew, gst_all_1
, gdb, commonsLogging, librdf_rasqal, wrapGAppsHook
, gnome3, glib, ncurses, epoxy, gpgme
-, langs ? [ "ca" "cs" "de" "en-GB" "en-US" "eo" "es" "fr" "hu" "it" "ja" "nl" "pl" "ru" "sl" "zh-CN" ]
+, langs ? [ "ca" "cs" "de" "en-GB" "en-US" "eo" "es" "fr" "hu" "it" "ja" "nl" "pl" "pt" "pt-BR" "ru" "sl" "zh-CN" ]
, withHelp ? true
, kdeIntegration ? false
}:
@@ -362,7 +362,7 @@ in stdenv.mkDerivation rec {
hunspell icu jdk lcms libcdr libexttextcat unixODBC libjpeg
libmspack librdf_redland librsvg libsndfile libvisio libwpd libwpg libX11
libXaw libXext libXi libXinerama libxml2 libxslt libXtst
- libXdmcp libpthreadstubs libGLU_combined mythes gst_all_1.gstreamer
+ libXdmcp libpthreadstubs libGLU libGL mythes gst_all_1.gstreamer
gst_all_1.gst-plugins-base glib libmysqlclient
neon nspr nss openldap openssl ORBit2 pam perl poppler
python3 sane-backends unzip vigra which zip zlib
diff --git a/pkgs/applications/office/wpsoffice/default.nix b/pkgs/applications/office/wpsoffice/default.nix
index 1f21ec60ae2beb7b5cc40d18c511a9ebd2b7ead2..6ece55182abc6a787cba88ce16371d5dc6de8af9 100644
--- a/pkgs/applications/office/wpsoffice/default.nix
+++ b/pkgs/applications/office/wpsoffice/default.nix
@@ -1,23 +1,22 @@
{ stdenv, fetchurl
, libX11, glib, xorg, fontconfig, freetype
-, zlib, libpng12, libICE, libXrender, cups }:
+, zlib, libpng12, libICE, libXrender, cups
+, alsaLib, atk, cairo, dbus, expat
+, gdk-pixbuf, gtk2-x11, lzma, pango, zotero
+, sqlite, libuuid, qt5, dpkg }:
-let
- bits = if stdenv.hostPlatform.system == "x86_64-linux" then "x86_64"
- else "x86";
-
- version = "10.1.0.5672";
-in stdenv.mkDerivation rec{
+stdenv.mkDerivation rec{
pname = "wpsoffice";
- inherit version;
+ version = "11.1.0.8865";
src = fetchurl {
- name = "${pname}-${version}.tar.xz";
- url = "http://kdl.cc.ksosoft.com/wps-community/download/a21/wps-office_${version}~a21_${bits}.tar.xz";
- sha256 = if bits == "x86_64" then
- "0mi3n9kplf82gd0g2m0np957agy53p4g1qh81pbban49r4n0ajcz" else
- "1dk400ap5qwdhjvn8lnk602f5akayr391fkljxdkrpn5xac01m97";
+ url = "https://wdl1.cache.wps.cn/wps/download/ep/Linux2019/8865/wps-office_11.1.0.8865_amd64.deb";
+ sha256 = "0pxx3j02cm8d08iakg30azjvl3a50y4avyrf08ddgaavqnvkypfj";
};
+ unpackCmd = "dpkg -x $src .";
+ sourceRoot = ".";
+
+ nativeBuildInputs = [ qt5.wrapQtAppsHook dpkg ];
meta = {
description = "Office program originally named Kingsoft Office";
@@ -25,20 +24,44 @@ in stdenv.mkDerivation rec{
platforms = [ "i686-linux" "x86_64-linux" ];
hydraPlatforms = [];
license = stdenv.lib.licenses.unfreeRedistributable;
+ maintainers = [ stdenv.lib.maintainers.mlatus ];
};
- libPath = stdenv.lib.makeLibraryPath [
+ libPath = with xorg; stdenv.lib.makeLibraryPath [
libX11
libpng12
glib
- xorg.libSM
- xorg.libXext
+ libSM
+ libXext
fontconfig
zlib
freetype
libICE
cups
libXrender
+ libxcb
+
+ alsaLib
+ atk
+ cairo
+ dbus.daemon.lib
+ expat
+ fontconfig.lib
+ gdk-pixbuf
+ gtk2-x11
+ lzma
+ pango
+ zotero
+ sqlite
+ libuuid
+ libXcomposite
+ libXcursor
+ libXdamage
+ libXfixes
+ libXi
+ libXrandr
+ libXScrnSaver
+ libXtst
];
dontPatchELF = true;
@@ -49,32 +72,27 @@ in stdenv.mkDerivation rec{
installPhase = ''
prefix=$out/opt/kingsoft/wps-office
- mkdir -p $prefix
- cp -r . $prefix
+ mkdir -p $out
+ cp -r opt $out
+ cp -r usr/* $out
# Avoid forbidden reference error due use of patchelf
- rm -r $PWD
+ rm -r *
- mkdir $out/bin
- for i in wps wpp et; do
+ for i in wps wpp et wpspdf; do
patchelf \
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
- --force-rpath --set-rpath "$prefix/office6:$libPath" \
+ --force-rpath --set-rpath "$(patchelf --print-rpath $prefix/office6/$i):${stdenv.cc.cc.lib}/lib64:${libPath}" \
$prefix/office6/$i
- substitute $prefix/$i $out/bin/$i \
+ substituteInPlace $out/bin/$i \
--replace /opt/kingsoft/wps-office $prefix
- chmod +x $out/bin/$i
-
- substituteInPlace $prefix/resource/applications/wps-office-$i.desktop \
- --replace /usr/bin $out/bin
done
- # China fonts
- mkdir -p $prefix/resource/fonts/wps-office $out/etc/fonts/conf.d
- ln -s $prefix/fonts/* $prefix/resource/fonts/wps-office
- ln -s $prefix/fontconfig/*.conf $out/etc/fonts/conf.d
-
- ln -s $prefix/resource $out/share
+ for i in $out/share/applications/*;do
+ substituteInPlace $i \
+ --replace /usr/bin $out/bin \
+ --replace /opt/kingsoft/wps-office $prefix
+ done
'';
}
diff --git a/pkgs/applications/office/zotero/default.nix b/pkgs/applications/office/zotero/default.nix
index 34dace1cadb0af8d9f4390529e106c12f9a3f866..a84d9c1b169d07222659cc231383dd8e36dd6e9f 100644
--- a/pkgs/applications/office/zotero/default.nix
+++ b/pkgs/applications/office/zotero/default.nix
@@ -5,6 +5,7 @@
, cups
, dbus-glib
, dbus
+, dconf
, fontconfig
, freetype
, gdk-pixbuf
@@ -25,7 +26,7 @@
, libXt
, libnotify
, gnome3
-, libGLU_combined
+, libGLU, libGL
, nspr
, nss
, pango
@@ -41,7 +42,7 @@ stdenv.mkDerivation rec {
sha256 = "1dgxzprpb8f5wpmvlvkxix0xxckfgjsi3wfcy9mb221a17cv0029";
};
- buildInputs= [ wrapGAppsHook gsettings-desktop-schemas gtk3 gnome3.adwaita-icon-theme gnome3.dconf ];
+ buildInputs= [ wrapGAppsHook gsettings-desktop-schemas gtk3 gnome3.adwaita-icon-theme dconf ];
phases = [ "unpackPhase" "patchPhase" "installPhase" "fixupPhase" ];
@@ -75,7 +76,7 @@ stdenv.mkDerivation rec {
libXrender
libXt
libnotify
- libGLU_combined
+ libGLU libGL
nspr
nss
pango
diff --git a/pkgs/applications/radio/dump1090/default.nix b/pkgs/applications/radio/dump1090/default.nix
index 41ddb671a3690b2b4e67d0d2c396078884115763..0a92bea44e83a2b9a8447a0239b7a76f1abdd1cc 100644
--- a/pkgs/applications/radio/dump1090/default.nix
+++ b/pkgs/applications/radio/dump1090/default.nix
@@ -1,21 +1,31 @@
-{ stdenv, fetchFromGitHub, pkgconfig, libusb, rtl-sdr }:
+{ stdenv
+, fetchFromGitHub
+, pkgconfig
+, libbladeRF
+, libusb
+, ncurses
+, rtl-sdr
+}:
stdenv.mkDerivation rec {
pname = "dump1090";
- version = "2014-10-31";
+ version = "3.7.2";
src = fetchFromGitHub {
- owner = "MalcolmRobb";
+ owner = "flightaware";
repo = pname;
- rev = "bff92c4ad772a0a8d433f788d39dae97e00e4dbe";
- sha256 = "06aaj9gpz5v4qzvnp8xf18wdfclp0jvn3hflls79ly46gz2dh9hy";
+ rev = "v${version}";
+ sha256 = "0vlv9bd805kid202xxkrnl51rh02cyrl055gbcqlqgk51j5rrq8w";
};
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ libusb rtl-sdr ];
-
- makeFlags = [ "PREFIX=$(out)" ];
+ buildInputs = [
+ libbladeRF
+ libusb
+ ncurses
+ rtl-sdr
+ ];
installPhase = ''
mkdir -p $out/bin $out/share
@@ -25,8 +35,8 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "A simple Mode S decoder for RTLSDR devices";
- homepage = https://github.com/MalcolmRobb/dump1090;
- license = licenses.bsd3;
+ homepage = "https://github.com/flightaware/dump1090";
+ license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ earldouglas ];
};
diff --git a/pkgs/applications/radio/tlf/default.nix b/pkgs/applications/radio/tlf/default.nix
index f45e695486d884f9894b4b49c15b34bf331b2215..530008702f10d1bc1afa35dc5e50c7fc68bbe75d 100644
--- a/pkgs/applications/radio/tlf/default.nix
+++ b/pkgs/applications/radio/tlf/default.nix
@@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
pname = "tlf";
- version = "1.3.2";
+ version = "1.4.0";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "${pname}-${version}";
- sha256 = "0gniysjm8aq5anq0a0az31vd6h1vyg56bifc7rpf53lsh9hkzmgc";
+ sha256 = "0f97hxiwc6blp5haik871q6zzvwy0b3p2jg8ad2dvaxg07xc76l0";
};
nativeBuildInputs = [ autoreconfHook autoconf automake pkgconfig perl ];
diff --git a/pkgs/applications/radio/urh/default.nix b/pkgs/applications/radio/urh/default.nix
index d4056dca7bf70412425781bf98383e71e230692b..eea9bb9027cab1fcab58ba8cd0d0ff2067f39357 100644
--- a/pkgs/applications/radio/urh/default.nix
+++ b/pkgs/applications/radio/urh/default.nix
@@ -5,13 +5,13 @@
python3Packages.buildPythonApplication rec {
pname = "urh";
- version = "2.8.0";
+ version = "2.8.1";
src = fetchFromGitHub {
owner = "jopohl";
repo = pname;
rev = "v${version}";
- sha256 = "1c87lff9bqhf574420ycqz88x6ad5hmy36wrb8pi0dqd1s1d72qb";
+ sha256 = "0vwc1jw1fjirdpavrnvc95bql8023ayrz9srbwn0p6n0ia038948";
};
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
diff --git a/pkgs/applications/science/astronomy/celestia/default.nix b/pkgs/applications/science/astronomy/celestia/default.nix
index e3ceffd34c199e413f1e3e997a9916c68c917d27..e72354c86585fd6f4f441c32f8e97041ba9f8784 100644
--- a/pkgs/applications/science/astronomy/celestia/default.nix
+++ b/pkgs/applications/science/astronomy/celestia/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, freeglut, gtk2, gtkglext, libjpeg_turbo, libtheora, libXmu
-, lua, libGLU_combined, pkgconfig, perl, autoreconfHook
+, lua, libGLU, libGL, pkgconfig, perl, autoreconfHook
}:
let
@@ -44,7 +44,7 @@ stdenv.mkDerivation {
};
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ freeglut gtk2 gtkglext libjpeg_turbo libtheora libXmu libGLU_combined lua
+ buildInputs = [ freeglut gtk2 gtkglext libjpeg_turbo libtheora libXmu libGLU libGL lua
perl autoreconfHook ];
patchPhase = ''
diff --git a/pkgs/applications/science/astronomy/gravit/default.nix b/pkgs/applications/science/astronomy/gravit/default.nix
index 03d0018f237b50b68ab21a97a91c5593f9984c75..15f72938effe55c0f39ce03a303a002926584b49 100644
--- a/pkgs/applications/science/astronomy/gravit/default.nix
+++ b/pkgs/applications/science/astronomy/gravit/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, SDL, SDL_ttf, SDL_image, libSM, libICE, libGLU_combined, libpng, lua5, autoconf, automake }:
+{ stdenv, fetchurl, SDL, SDL_ttf, SDL_image, libSM, libICE, libGLU, libGL, libpng, lua5, autoconf, automake }:
stdenv.mkDerivation rec {
name = "gravit-0.5.1";
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "14vf7zj2bgrl96wsl3f1knsggc8h9624354ajzd72l46y09x5ky7";
};
- buildInputs = [ libGLU_combined SDL SDL_ttf SDL_image lua5 libpng libSM libICE ];
+ buildInputs = [ libGLU libGL SDL SDL_ttf SDL_image lua5 libpng libSM libICE ];
nativeBuildInputs = [ autoconf automake ];
diff --git a/pkgs/applications/science/astronomy/stellarium/default.nix b/pkgs/applications/science/astronomy/stellarium/default.nix
index 59c6a02d3494fca9af4cf3c41fc143d79e63e331..1c193c37cb35e7f15ba29c788d69d2fbff22feac 100644
--- a/pkgs/applications/science/astronomy/stellarium/default.nix
+++ b/pkgs/applications/science/astronomy/stellarium/default.nix
@@ -1,5 +1,5 @@
{ mkDerivation, lib, fetchFromGitHub
-, cmake, freetype, libpng, libGLU_combined, openssl, perl, libiconv
+, cmake, freetype, libpng, libGLU, libGL, openssl, perl, libiconv
, qtscript, qtserialport, qttools
, qtmultimedia, qtlocation, qtbase, wrapQtAppsHook
}:
@@ -18,7 +18,7 @@ mkDerivation rec {
nativeBuildInputs = [ cmake perl wrapQtAppsHook ];
buildInputs = [
- freetype libpng libGLU_combined openssl libiconv qtscript qtserialport qttools
+ freetype libpng libGLU libGL openssl libiconv qtscript qtserialport qttools
qtmultimedia qtlocation qtbase
];
diff --git a/pkgs/applications/science/biology/hmmer/default.nix b/pkgs/applications/science/biology/hmmer/default.nix
index 3adbaf0079ef1fa07837761b2ef5e226b814ab90..69ecb228697b6b39f25f669ab49e455154adbf5f 100644
--- a/pkgs/applications/science/biology/hmmer/default.nix
+++ b/pkgs/applications/science/biology/hmmer/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- version = "3.2.1";
+ version = "3.3";
pname = "hmmer";
src = fetchurl {
url = "http://eddylab.org/software/hmmer/${pname}-${version}.tar.gz";
- sha256 = "171bivy6xhgjsz5nv53n81pc3frnwz29ylblawk2bv46szwjjqd5";
+ sha256 = "0v3kcgkr6jihq0xmpgn2xd5q7wiwvj6yswa905k2c0v7mx0bz1h1";
};
meta = with stdenv.lib; {
diff --git a/pkgs/applications/science/biology/kallisto/default.nix b/pkgs/applications/science/biology/kallisto/default.nix
index de93ae5d78291ab4a915bc30b4b3e71f0afdad7e..1a6555e0d6342d210274dcbecad17ef8e8c1f498 100644
--- a/pkgs/applications/science/biology/kallisto/default.nix
+++ b/pkgs/applications/science/biology/kallisto/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "kallisto";
- version = "0.46.0";
+ version = "0.46.1";
src = fetchFromGitHub {
repo = "kallisto";
owner = "pachterlab";
rev = "v${version}";
- sha256 = "09vgdqwpigl4x3sdw5vjfyknsllkli339mh8xapbf7ldm0jldfn9";
+ sha256 = "09ldgy70wziw51ma4a3b7vyrphzf2v1cnq1j5r1wwgfmx8fgbh2z";
};
nativeBuildInputs = [ autoconf cmake ];
diff --git a/pkgs/applications/science/biology/paml/default.nix b/pkgs/applications/science/biology/paml/default.nix
index fe6919656d9d9141cc49e81fbae08f3a8400cc0a..731e31c588fa81f74b94654e20e823a6d1b69a86 100644
--- a/pkgs/applications/science/biology/paml/default.nix
+++ b/pkgs/applications/science/biology/paml/default.nix
@@ -1,11 +1,11 @@
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
- version = "4.9i";
+ version = "4.9j";
pname = "paml";
src = fetchurl {
url = "http://abacus.gene.ucl.ac.uk/software/paml${version}.tgz";
- sha256 = "1k5lcyls6c33ppp5fxl8ply2fy7i2k0gcqaifsl7gnc81d8ay4dw";
+ sha256 = "0qflf3i27x6jwks3c6q560m1q8r043ja96syah145113iz5wdalp";
};
preBuild = ''
@@ -29,6 +29,5 @@ stdenv.mkDerivation rec {
longDescription = ''PAML is a package of programs for phylogenetic analyses of DNA or protein sequences using maximum likelihood. It is maintained and distributed for academic use free of charge by Ziheng Yang. ANSI C source codes are distributed for UNIX/Linux/Mac OSX, and executables are provided for MS Windows. PAML is not good for tree making. It may be used to estimate parameters and test hypotheses to study the evolutionary process, when you have reconstructed trees using other programs such as PAUP*, PHYLIP, MOLPHY, PhyML, RaxML, etc.'';
license = "non-commercial";
homepage = http://abacus.gene.ucl.ac.uk/software/paml.html;
- broken = true;
};
}
diff --git a/pkgs/applications/science/biology/picard-tools/default.nix b/pkgs/applications/science/biology/picard-tools/default.nix
index 5a9cb5de528e866409e0a0c23ce30d008c8fd657..a67653c84373732ae7f08164a9cd5dfb80c4fd58 100644
--- a/pkgs/applications/science/biology/picard-tools/default.nix
+++ b/pkgs/applications/science/biology/picard-tools/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "picard-tools";
- version = "2.21.1";
+ version = "2.21.3";
src = fetchurl {
url = "https://github.com/broadinstitute/picard/releases/download/${version}/picard.jar";
- sha256 = "0knfx0by7rml19kr5ynb7860iykij1z1mx2hx0bg3s287sld1ppl";
+ sha256 = "0s1gn2bkya41866kd8zj0g8xjbivs763jqmlzdpjz4c25h6xkhns";
};
nativeBuildInputs = [ makeWrapper ];
diff --git a/pkgs/applications/science/chemistry/avogadro/default.nix b/pkgs/applications/science/chemistry/avogadro/default.nix
index a569b82ff59dfad469c662b32ab45c2c42132c6a..6aca678480daef388f7e870695faa46aa317c359 100644
--- a/pkgs/applications/science/chemistry/avogadro/default.nix
+++ b/pkgs/applications/science/chemistry/avogadro/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, cmake, qt4, zlib, eigen, openbabel, pkgconfig, libGLU_combined, libX11, doxygen }:
+{ stdenv, fetchurl, cmake, qt4, zlib, eigen, openbabel, pkgconfig, libGLU, libGL, libX11, doxygen }:
stdenv.mkDerivation rec {
name = "avogadro-1.1.1";
@@ -8,11 +8,11 @@ stdenv.mkDerivation rec {
sha256 = "050ag9p4vg7jg8hj1wqfv7lsm6ar2isxjw2vw85s49vsl7g7nvzy";
};
- buildInputs = [ qt4 eigen zlib openbabel libGLU_combined libX11 ];
+ buildInputs = [ qt4 eigen zlib openbabel libGL libGLU libX11 ];
nativeBuildInputs = [ cmake pkgconfig doxygen ];
- NIX_CFLAGS_COMPILE = "-include ${libGLU_combined}/include/GL/glu.h";
+ NIX_CFLAGS_COMPILE = "-include ${libGLU.dev}/include/GL/glu.h";
patches = [
(fetchurl {
diff --git a/pkgs/applications/science/electronics/gtkwave/default.nix b/pkgs/applications/science/electronics/gtkwave/default.nix
index 64c1c3daba82c03de0c360e2de47d962ebde5e5c..9b52e8c505192cac6156334e561217e1a1e8983e 100644
--- a/pkgs/applications/science/electronics/gtkwave/default.nix
+++ b/pkgs/applications/science/electronics/gtkwave/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "gtkwave";
- version = "3.3.102";
+ version = "3.3.103";
src = fetchurl {
url = "mirror://sourceforge/gtkwave/${pname}-${version}.tar.gz";
- sha256 = "1izyfx6b1n9nr08c7q0gkgcf0q04bb4qz92ckwh74n5l5nwprfw0";
+ sha256 = "1xzaxqbabj4sb4n10yki5acglx3736pwl3kwlq4k7i96rzvsn9f3";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/science/electronics/kicad/default.nix b/pkgs/applications/science/electronics/kicad/default.nix
index 5d069c5a219fde2e05d3aa648f5468a5ba8ed36f..6b0c998d751a17aa7c32708a6feb788923aee981 100644
--- a/pkgs/applications/science/electronics/kicad/default.nix
+++ b/pkgs/applications/science/electronics/kicad/default.nix
@@ -1,4 +1,4 @@
-{ wxGTK, lib, stdenv, fetchurl, fetchFromGitHub, cmake, libGLU_combined, zlib
+{ wxGTK, lib, stdenv, fetchurl, fetchFromGitHub, cmake, libGLU, libGL, zlib
, libX11, gettext, glew, glm, cairo, curl, openssl, boost, pkgconfig
, doxygen, pcre, libpthreadstubs, libXdmcp
, wrapGAppsHook
@@ -63,7 +63,7 @@ in stdenv.mkDerivation rec {
propagatedBuildInputs = [ pythonPackages.wxPython ];
buildInputs = [
- libGLU_combined zlib libX11 wxGTK pcre libXdmcp glew glm libpthreadstubs
+ libGLU libGL zlib libX11 wxGTK pcre libXdmcp glew glm libpthreadstubs
cairo curl openssl boost
swig (python.withPackages (ps: with ps; [ wxPython ]))
] ++ optional (oceSupport) opencascade
diff --git a/pkgs/applications/science/electronics/kicad/unstable.nix b/pkgs/applications/science/electronics/kicad/unstable.nix
index 5310da0699e2ee242d533c3e7435809bd73e950c..df0d9932b8a0ab2d0e54f0019870f8c4801ff2ef 100644
--- a/pkgs/applications/science/electronics/kicad/unstable.nix
+++ b/pkgs/applications/science/electronics/kicad/unstable.nix
@@ -1,4 +1,4 @@
-{ wxGTK, lib, stdenv, fetchFromGitHub, cmake, libGLU_combined, zlib
+{ wxGTK, lib, stdenv, fetchFromGitHub, cmake, libGLU, libGL, zlib
, libX11, gettext, glew, glm, cairo, curl, openssl, boost, pkgconfig
, doxygen, pcre, libpthreadstubs, libXdmcp
@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake doxygen pkgconfig ];
buildInputs = [
- libGLU_combined zlib libX11 wxGTK pcre libXdmcp gettext glew glm libpthreadstubs
+ libGLU libGL zlib libX11 wxGTK pcre libXdmcp gettext glew glm libpthreadstubs
cairo curl openssl boost
] ++ optional (oceSupport) opencascade
++ optional (ngspiceSupport) libngspice
diff --git a/pkgs/applications/science/electronics/pcb/default.nix b/pkgs/applications/science/electronics/pcb/default.nix
index 7514aed9f243a4d53d5a773869a2a8768c373e15..93d99928d7d33f657032ccbf8ba1f5b515cb03eb 100644
--- a/pkgs/applications/science/electronics/pcb/default.nix
+++ b/pkgs/applications/science/electronics/pcb/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, gtk2, bison, intltool, flex
-, netpbm, imagemagick, dbus, xlibsWrapper, libGLU_combined
+, netpbm, imagemagick, dbus, xlibsWrapper, libGLU, libGL
, shared-mime-info, tcl, tk, gnome2, pangox_compat, gd, xorg
}:
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
gtk2 bison intltool flex netpbm imagemagick dbus xlibsWrapper
- libGLU_combined tcl shared-mime-info tk
+ libGLU libGL tcl shared-mime-info tk
gnome2.gtkglext pangox_compat gd xorg.libXmu
];
diff --git a/pkgs/applications/science/electronics/verilator/default.nix b/pkgs/applications/science/electronics/verilator/default.nix
index b59f628dfe9f082761ab8f7481c14d6dc4f0565a..98deda0ae6b29c2ec40f8e59b4cb809ce8f9e9f6 100644
--- a/pkgs/applications/science/electronics/verilator/default.nix
+++ b/pkgs/applications/science/electronics/verilator/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "verilator";
- version = "4.020";
+ version = "4.022";
src = fetchurl {
url = "https://www.veripool.org/ftp/${pname}-${version}.tgz";
- sha256 = "06n3vds762vza4byrav0j3kp3aivvadndkgw7nirvasclp19zmxb";
+ sha256 = "1sj0qzl387pl2ygii3ssx35c3m601nb07j16lqj5zcxzhcg62i9p";
};
enableParallelBuilding = true;
diff --git a/pkgs/applications/science/logic/coq/default.nix b/pkgs/applications/science/logic/coq/default.nix
index a463a2c5f3a20cd86009447bf2fd56763c4228bc..bf2d0396f697bc96cb7e2fc3eecb0df9c3b010a5 100644
--- a/pkgs/applications/science/logic/coq/default.nix
+++ b/pkgs/applications/science/logic/coq/default.nix
@@ -124,7 +124,7 @@ self = stdenv.mkDerivation {
setupHook = writeText "setupHook.sh" ''
addCoqPath () {
if test -d "''$1/lib/coq/${coq-version}/user-contrib"; then
- export COQPATH="''${COQPATH}''${COQPATH:+:}''$1/lib/coq/${coq-version}/user-contrib/"
+ export COQPATH="''${COQPATH-}''${COQPATH:+:}''$1/lib/coq/${coq-version}/user-contrib/"
fi
}
diff --git a/pkgs/applications/science/logic/mcrl2/default.nix b/pkgs/applications/science/logic/mcrl2/default.nix
index 93212c5b8546a0abd5f04555f675a7475a6d599f..a479e31e3395538a25e118fce645f8aebd6ff74e 100644
--- a/pkgs/applications/science/logic/mcrl2/default.nix
+++ b/pkgs/applications/science/logic/mcrl2/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchurl, cmake, libGLU_combined, qt5, boost}:
+{stdenv, fetchurl, cmake, libGLU, libGL, qt5, boost}:
stdenv.mkDerivation rec {
version = "201707";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "1c8h94ja7271ph61zrcgnjgblxppld6v22f7f900prjgzbcfy14m";
};
- buildInputs = [ cmake libGLU_combined qt5.qtbase boost ];
+ buildInputs = [ cmake libGLU libGL qt5.qtbase boost ];
enableParallelBuilding = true;
diff --git a/pkgs/applications/science/math/giac/default.nix b/pkgs/applications/science/math/giac/default.nix
index 90b1b367a7c4d8c3aa1b404d99537aceff68bbd1..862761fe6fb5337e8c97013f1a09226a96859353 100644
--- a/pkgs/applications/science/math/giac/default.nix
+++ b/pkgs/applications/science/math/giac/default.nix
@@ -1,10 +1,10 @@
{ stdenv, fetchurl, fetchpatch, texlive, bison, flex, liblapack
, gmp, mpfr, pari, ntl, gsl, blas, mpfi, ecm, glpk, nauty
, readline, gettext, libpng, libao, gfortran, perl
-, enableGUI ? false, libGLU_combined ? null, xorg ? null, fltk ? null
+, enableGUI ? false, libGL ? null, libGLU ? null, xorg ? null, fltk ? null
}:
-assert enableGUI -> libGLU_combined != null && xorg != null && fltk != null;
+assert enableGUI -> libGLU != null && libGL != null && xorg != null && fltk != null;
stdenv.mkDerivation rec {
name = "${attr}-${version}";
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
(stdenv.lib.getLib gfortran.cc)
liblapack
] ++ stdenv.lib.optionals enableGUI [
- libGLU_combined fltk xorg.libX11
+ libGL libGLU fltk xorg.libX11
];
/* fixes:
diff --git a/pkgs/applications/science/math/glsurf/default.nix b/pkgs/applications/science/math/glsurf/default.nix
index 609e73b327adb2d2cac529f9e859d889964a30e2..c11110e4bc499c7ed3614cd6bf5e5957792a845a 100644
--- a/pkgs/applications/science/math/glsurf/default.nix
+++ b/pkgs/applications/science/math/glsurf/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, ocamlPackages, libGLU_combined, freeglut
+{ stdenv, fetchurl, ocamlPackages, libGLU, libGL, freeglut
, libmysqlclient, mpfr, gmp, libtiff, libjpeg, libpng, giflib
}:
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
sha256 = "0w8xxfnw2snflz8wdr2ca9f5g91w5vbyp1hwlx1v7vg83d4bwqs7";
};
- buildInputs = [ freeglut libGLU_combined libmysqlclient mpfr gmp
+ buildInputs = [ freeglut libGLU libGL libmysqlclient mpfr gmp
libtiff libjpeg libpng giflib ]
++ (with ocamlPackages; [
ocaml findlib ocaml_mysql lablgl camlimages_4_0 mlgmpidl
diff --git a/pkgs/applications/science/math/gmsh/default.nix b/pkgs/applications/science/math/gmsh/default.nix
index 1d96c0039ad1b1a6959655289a79c6dc058e7c75..66c41bb073afb40328410f6fd2a8bfd5d865ea62 100644
--- a/pkgs/applications/science/math/gmsh/default.nix
+++ b/pkgs/applications/science/math/gmsh/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, cmake, openblasCompat, gfortran, gmm, fltk, libjpeg
-, zlib, libGLU_combined, libGLU, xorg, opencascade-occt }:
+, zlib, libGL, libGLU, xorg, opencascade-occt }:
stdenv.mkDerivation rec {
pname = "gmsh";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "1p7hibmsgv961lfkzdxlgcvmcb0q155m2sp60r97cjsfzhw68g45";
};
- buildInputs = [ openblasCompat gmm fltk libjpeg zlib libGLU_combined
+ buildInputs = [ openblasCompat gmm fltk libjpeg zlib libGLU libGL
libGLU xorg.libXrender xorg.libXcursor xorg.libXfixes xorg.libXext
xorg.libXft xorg.libXinerama xorg.libX11 xorg.libSM xorg.libICE
opencascade-occt
diff --git a/pkgs/applications/science/math/pspp/default.nix b/pkgs/applications/science/math/pspp/default.nix
index c53e87caa9adbc0fcff665ab9db9950aefb8f97e..3c263916a0eb11cdedcf33513f7a4235553aacc5 100644
--- a/pkgs/applications/science/math/pspp/default.nix
+++ b/pkgs/applications/science/math/pspp/default.nix
@@ -1,7 +1,6 @@
{ stdenv, fetchurl, libxml2, readline, zlib, perl, cairo, gtk3, gsl
-, pkgconfig, gtksourceview, pango, gettext
+, pkgconfig, gtksourceview, pango, gettext, dconf
, makeWrapper, gsettings-desktop-schemas, hicolor-icon-theme
-, gnome3
}:
stdenv.mkDerivation rec {
@@ -26,7 +25,7 @@ stdenv.mkDerivation rec {
--prefix XDG_DATA_DIRS : "$out/share" \
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS" \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \
- --prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib gnome3.dconf}/lib/gio/modules"
+ --prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib dconf}/lib/gio/modules"
'';
meta = {
diff --git a/pkgs/applications/science/medicine/aliza/default.nix b/pkgs/applications/science/medicine/aliza/default.nix
index 53d5ad6ab4cc3b4b711e842282b8b667bafebd46..e135534d1acf0cbdfea6febbfaa9a448aa42c840 100644
--- a/pkgs/applications/science/medicine/aliza/default.nix
+++ b/pkgs/applications/science/medicine/aliza/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, rpmextract, makeWrapper, patchelf, qt4, zlib, libX11, libXt, libSM, libICE, libXext, libGLU_combined }:
+{ stdenv, fetchurl, rpmextract, makeWrapper, patchelf, qt4, zlib, libX11, libXt, libSM, libICE, libXext, libGLU, libGL }:
with stdenv.lib;
stdenv.mkDerivation {
@@ -27,7 +27,7 @@ stdenv.mkDerivation {
'';
postInstall = let
- libs = stdenv.lib.makeLibraryPath [ qt4 zlib stdenv.cc.cc libSM libICE libX11 libXext libXt libGLU_combined ];
+ libs = stdenv.lib.makeLibraryPath [ qt4 zlib stdenv.cc.cc libSM libICE libX11 libXext libXt libGLU libGL ];
in ''
${patchelf}/bin/patchelf \
--interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
diff --git a/pkgs/applications/science/misc/boinc/default.nix b/pkgs/applications/science/misc/boinc/default.nix
index c806b558da0ec97ce34f71c84552a78fc97cd0e5..38b9b8ec66d1a29f696db098db68e3205ed9187c 100644
--- a/pkgs/applications/science/misc/boinc/default.nix
+++ b/pkgs/applications/science/misc/boinc/default.nix
@@ -1,5 +1,5 @@
{ fetchFromGitHub, stdenv, autoconf, automake, pkgconfig, m4, curl,
-libGLU_combined, libXmu, libXi, freeglut, libjpeg, libtool, wxGTK30, xcbutil,
+libGLU, libGL, libXmu, libXi, freeglut, libjpeg, libtool, wxGTK30, xcbutil,
sqlite, gtk2, patchelf, libXScrnSaver, libnotify, libX11, libxcb }:
let
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ libtool automake autoconf m4 pkgconfig ];
buildInputs = [
- curl libGLU_combined libXmu libXi freeglut libjpeg wxGTK30 sqlite gtk2 libXScrnSaver
+ curl libGLU libGL libXmu libXi freeglut libjpeg wxGTK30 sqlite gtk2 libXScrnSaver
libnotify patchelf libX11 libxcb xcbutil
];
diff --git a/pkgs/applications/science/misc/golly/beta.nix b/pkgs/applications/science/misc/golly/beta.nix
index 99159fba5b435d8c7baef9801083cbefc786a828..36de6a1d4c5030d1e9f856b281d6ae66e6616f38 100644
--- a/pkgs/applications/science/misc/golly/beta.nix
+++ b/pkgs/applications/science/misc/golly/beta.nix
@@ -1,5 +1,5 @@
{stdenv, fetchgit
-, wxGTK, perl, python2, zlib, libGLU_combined, libX11
+, wxGTK, perl, python2, zlib, libGLU, libGL, libX11
, automake, autoconf
}:
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [autoconf automake];
buildInputs = [
- wxGTK perl python2 zlib libGLU_combined libX11
+ wxGTK perl python2 zlib libGLU libGL libX11
];
# Link against Python explicitly as it is needed for scripts
diff --git a/pkgs/applications/science/misc/golly/default.nix b/pkgs/applications/science/misc/golly/default.nix
index 4af233a6d55fa752067c1cf44b24bf9bcd65a1d3..1478bb643181b364ef2ce92dd80347ff5a142d2e 100644
--- a/pkgs/applications/science/misc/golly/default.nix
+++ b/pkgs/applications/science/misc/golly/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchurl, wxGTK, perl, python2, zlib, libGLU_combined, libX11}:
+{stdenv, fetchurl, wxGTK, perl, python2, zlib, libGLU, libGL, libX11}:
stdenv.mkDerivation rec {
pname = "golly";
version = "3.3";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [
- wxGTK perl python2 zlib libGLU_combined libX11
+ wxGTK perl python2 zlib libGLU libGL libX11
];
setSourceRoot = ''
diff --git a/pkgs/applications/science/misc/gplates/default.nix b/pkgs/applications/science/misc/gplates/default.nix
index b394639fd0cc9e21c7de703c2d9636df59f6b627..9b510d432fb30d1f24fc826d4786985ccef5b6d2 100644
--- a/pkgs/applications/science/misc/gplates/default.nix
+++ b/pkgs/applications/science/misc/gplates/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, qt4, qwt6_qt4, libGLU_combined, glew, gdal_1_11, cgal
+{ stdenv, fetchurl, qt4, qwt6_qt4, libGLU, libGL, glew, gdal_1_11, cgal
, proj, boost, cmake, python2, doxygen, graphviz, gmp }:
stdenv.mkDerivation rec {
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
];
buildInputs = [
- qt4 qwt6_qt4 libGLU_combined glew gdal_1_11 cgal proj boost cmake python2
+ qt4 qwt6_qt4 libGLU libGL glew gdal_1_11 cgal proj boost cmake python2
doxygen graphviz gmp
];
diff --git a/pkgs/applications/science/misc/root/5.nix b/pkgs/applications/science/misc/root/5.nix
index 2145d7e71d33295d5a4cdd1708af848c180d9d5f..8422eb8752b11ce3ce2c5ab8e92c85a31650c33e 100644
--- a/pkgs/applications/science/misc/root/5.nix
+++ b/pkgs/applications/science/misc/root/5.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, fetchpatch, cmake, pcre, pkgconfig, python2
-, libX11, libXpm, libXft, libXext, libGLU_combined, zlib, libxml2, lzma, gsl_1
+, libX11, libXpm, libXft, libXext, libGLU, libGL, zlib, libxml2, lzma, gsl_1
, Cocoa, OpenGL, noSplash ? false }:
stdenv.mkDerivation rec {
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cmake pcre python2 zlib libxml2 lzma gsl_1 ]
- ++ stdenv.lib.optionals (!stdenv.isDarwin) [ libX11 libXpm libXft libXext libGLU_combined ]
+ ++ stdenv.lib.optionals (!stdenv.isDarwin) [ libX11 libXpm libXft libXext libGLU libGL ]
++ stdenv.lib.optionals (stdenv.isDarwin) [ Cocoa OpenGL ]
;
diff --git a/pkgs/applications/science/misc/root/default.nix b/pkgs/applications/science/misc/root/default.nix
index 690dc920d5c8e11be3670e864df360f669beb2a6..ada2f0b44adb723ba366702bc3b61f5e42b2614a 100644
--- a/pkgs/applications/science/misc/root/default.nix
+++ b/pkgs/applications/science/misc/root/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, cmake, pcre, pkgconfig, python2
-, libX11, libXpm, libXft, libXext, libGLU_combined, zlib, libxml2, lz4, lzma, gsl, xxHash
+, libX11, libXpm, libXft, libXext, libGLU, libGL, zlib, libxml2, lz4, lzma, gsl, xxHash
, Cocoa, OpenGL, noSplash ? false }:
stdenv.mkDerivation rec {
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cmake pcre python2 zlib libxml2 lz4 lzma gsl xxHash ]
- ++ stdenv.lib.optionals (!stdenv.isDarwin) [ libX11 libXpm libXft libXext libGLU_combined ]
+ ++ stdenv.lib.optionals (!stdenv.isDarwin) [ libX11 libXpm libXft libXext libGLU libGL ]
++ stdenv.lib.optionals (stdenv.isDarwin) [ Cocoa OpenGL ]
;
diff --git a/pkgs/applications/science/misc/root/setup-hook.sh b/pkgs/applications/science/misc/root/setup-hook.sh
index fc2b697d8a82ef301efd04b50475a6994e7b436b..b26cf9b779f8431c7a653d1c313828223c259b8f 100644
--- a/pkgs/applications/science/misc/root/setup-hook.sh
+++ b/pkgs/applications/science/misc/root/setup-hook.sh
@@ -1,9 +1,13 @@
thisroot () {
# Workaround thisroot.sh dependency on man
- if [ -z "${MANPATH}" ]; then
+ if [ -z "${MANPATH-}" ]; then
MANPATH=:
fi
+ local oldOpts="-u"
+ shopt -qo nounset || oldOpts="+u"
+ set +u
source @out@/bin/thisroot.sh
+ set "$oldOpts"
}
postHooks+=(thisroot)
diff --git a/pkgs/applications/science/misc/tulip/default.nix b/pkgs/applications/science/misc/tulip/default.nix
index 509cdeaee611255173ba63c3a130b427a22dde3d..3f83f2f30a674d81d56bd31930f745c01d19da8f 100644
--- a/pkgs/applications/science/misc/tulip/default.nix
+++ b/pkgs/applications/science/misc/tulip/default.nix
@@ -1,4 +1,4 @@
-{ fetchurl, stdenv, libxml2, freetype, libGLU_combined, glew, qt4
+{ fetchurl, stdenv, libxml2, freetype, libGLU, libGL, glew, qt4
, cmake, makeWrapper, libjpeg, python }:
let version = "5.2.1"; in
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "0bqmqy6sri87a8xv5xf7ffaq5zin4hiaa13g0l64b84i7yckfwky";
};
- buildInputs = [ libxml2 freetype glew libGLU_combined qt4 libjpeg python ];
+ buildInputs = [ libxml2 freetype glew libGLU libGL qt4 libjpeg python ];
nativeBuildInputs = [ cmake makeWrapper ];
diff --git a/pkgs/applications/science/misc/vite/default.nix b/pkgs/applications/science/misc/vite/default.nix
index 64482ddd74bcce0dfd8f3c011c228d3ab5ad68b7..20c259a9d0c21a2a1aa59652dde585866a3858fd 100644
--- a/pkgs/applications/science/misc/vite/default.nix
+++ b/pkgs/applications/science/misc/vite/default.nix
@@ -1,4 +1,4 @@
-{ fetchsvn, stdenv, cmake, qt4, libGLU_combined }:
+{ fetchsvn, stdenv, cmake, qt4, libGLU, libGL }:
# ViTE 1.1 has several bugs, so use the SVN version.
let
@@ -23,7 +23,7 @@ stdenv.mkDerivation {
ln -sv "${externals}" externals
'';
- buildInputs = [ cmake qt4 libGLU_combined ];
+ buildInputs = [ cmake qt4 libGLU libGL ];
NIX_LDFLAGS = "-lGLU";
diff --git a/pkgs/applications/search/catfish/default.nix b/pkgs/applications/search/catfish/default.nix
index bce5795a9c7e95d6df106669cf64e818460c40e2..3190c5e5d10f62765c828da736775bf0a200a56b 100644
--- a/pkgs/applications/search/catfish/default.nix
+++ b/pkgs/applications/search/catfish/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, file, which, intltool, gobject-introspection,
- findutils, xdg_utils, gnome3, gtk3, pythonPackages,
+ findutils, xdg_utils, dconf, gtk3, pythonPackages,
wrapGAppsHook
}:
@@ -25,7 +25,7 @@ pythonPackages.buildPythonApplication rec {
buildInputs = [
gtk3
- gnome3.dconf
+ dconf
pythonPackages.pyxdg
pythonPackages.ptyprocess
pythonPackages.pycairo
diff --git a/pkgs/applications/version-management/bcompare/default.nix b/pkgs/applications/version-management/bcompare/default.nix
index 8f862af0a282edc940bb24670a5e955c3c8dfff2..d8a6ec058448a0c9c1252c10a388e7d85648133c 100644
--- a/pkgs/applications/version-management/bcompare/default.nix
+++ b/pkgs/applications/version-management/bcompare/default.nix
@@ -1,4 +1,4 @@
-{ autoPatchelfHook, bzip2, cairo, coreutils, fetchurl, gdk-pixbuf, gnome2, gtk2, kcoreaddons, ki18n, kio, kservice, lib, qt4, qt511, qtbase, stdenv, runtimeShell }:
+{ autoPatchelfHook, bzip2, cairo, coreutils, fetchurl, gdk-pixbuf, gnome2, gtk2, kcoreaddons, ki18n, kio, kservice, lib, qt4, qtbase, stdenv, runtimeShell }:
stdenv.mkDerivation rec {
pname = "bcompare";
diff --git a/pkgs/applications/version-management/bugseverywhere/default.nix b/pkgs/applications/version-management/bugseverywhere/default.nix
deleted file mode 100644
index 7d1de378f53d6f2424c7e899c7a1ca182732bff0..0000000000000000000000000000000000000000
--- a/pkgs/applications/version-management/bugseverywhere/default.nix
+++ /dev/null
@@ -1,34 +0,0 @@
-{ stdenv, pythonPackages, fetchurl }:
-
-#
-# Upstream stopped development of this package. If this package does not build
-# anymore, feel free to remove it by reverting the appropriate patch
-# (git log --grep bugseverywhere)
-#
-pythonPackages.buildPythonApplication rec {
- version = "1.1.1";
- pname = "bugseverywhere";
-
- src = fetchurl {
- url =
- "mirror://pypi/b/bugs-everywhere/bugs-everywhere-${version}.tar.gz";
- sha256 = "1ikm3ckwpimwcvx32vy7gh5gbp7q750j3327m17nvrj99g3daz2d";
- };
-
- # There are no tests in the repository.
- doCheck = false;
-
- buildInputs = with pythonPackages; [
- jinja2
- cherrypy
- ];
-
- meta = with stdenv.lib; {
- description = "Bugtracker supporting distributed revision control";
- homepage = http://www.bugseverywhere.org/;
- license = licenses.gpl2Plus;
- platforms = platforms.all;
- maintainers = [ maintainers.matthiasbeyer ];
- };
-}
-
diff --git a/pkgs/applications/version-management/git-and-tools/default.nix b/pkgs/applications/version-management/git-and-tools/default.nix
index db82cc5413516e3a52c435877f3cb5839c0ca4ad..d57ffd75d7f2630f28370f006f38e4739ab09857 100644
--- a/pkgs/applications/version-management/git-and-tools/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/default.nix
@@ -103,6 +103,8 @@ let
git-imerge = callPackage ./git-imerge { };
+ git-machete = python3Packages.callPackage ./git-machete { };
+
git-octopus = callPackage ./git-octopus { };
git-open = callPackage ./git-open { };
@@ -127,6 +129,8 @@ let
git-subrepo = callPackage ./git-subrepo { };
+ git-subtrac = callPackage ./git-subtrac { };
+
git-sync = callPackage ./git-sync { };
git-test = callPackage ./git-test { };
diff --git a/pkgs/applications/version-management/git-and-tools/git-machete/default.nix b/pkgs/applications/version-management/git-and-tools/git-machete/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..32d3465016c8228dea24bfcf4f3276bcf8c5d854
--- /dev/null
+++ b/pkgs/applications/version-management/git-and-tools/git-machete/default.nix
@@ -0,0 +1,33 @@
+{ lib, buildPythonApplication, fetchPypi
+, installShellFiles, pbr
+, flake8, mock, pycodestyle, pylint, tox }:
+
+buildPythonApplication rec {
+ pname = "git-machete";
+ version = "2.12.2";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "0kmwm9rwngxm2qdlv6nvxyhwpfa0i95kbrmasrj1qqdz7rmyyzmi";
+ };
+
+ nativeBuildInputs = [ installShellFiles pbr ];
+
+ # TODO: Add missing check inputs (2019-11-22):
+ # - stestr
+ doCheck = false;
+ checkInputs = [ flake8 mock pycodestyle pylint tox ];
+
+ postInstall = ''
+ installShellCompletion --bash --name git-machete completion/git-machete.completion.bash
+ installShellCompletion --zsh --name _git-machete completion/git-machete.completion.zsh
+ '';
+
+ meta = with lib; {
+ homepage = https://github.com/VirtusLab/git-machete;
+ description = "Git repository organizer and rebase workflow automation tool";
+ license = licenses.mit;
+ platforms = platforms.all;
+ maintainers = [ maintainers.blitz ];
+ };
+}
diff --git a/pkgs/applications/version-management/git-and-tools/git-subrepo/default.nix b/pkgs/applications/version-management/git-and-tools/git-subrepo/default.nix
index b196d39b46f61cfe1d06692f209238314398c4f5..969ea7cc2fa6833d9a6b908d825c35127d0cca7b 100644
--- a/pkgs/applications/version-management/git-and-tools/git-subrepo/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-subrepo/default.nix
@@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
homepage = https://github.com/ingydotnet/git-subrepo;
description = "Git submodule alternative";
license = licenses.mit;
- platforms = platforms.linux;
+ platforms = platforms.unix ++ platforms.darwin;
maintainers = [ maintainers.ryantrinkle ];
};
}
diff --git a/pkgs/applications/version-management/git-and-tools/git-subtrac/default.nix b/pkgs/applications/version-management/git-and-tools/git-subtrac/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..07c63ea0119b4db84b82da0826a8c8ca2eb1cade
--- /dev/null
+++ b/pkgs/applications/version-management/git-and-tools/git-subtrac/default.nix
@@ -0,0 +1,22 @@
+{ lib, buildGoModule, fetchFromGitHub }:
+
+buildGoModule rec {
+ pname = "git-subtrac";
+ version = "0.01";
+
+ src = fetchFromGitHub {
+ owner = "apenwarr";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "1w6gd0x1902lzpqr74gsdrnxq36f6v14bv8h0vhlrfhbwbsih7n6";
+ };
+
+ modSha256 = "147vzllp1gydk2156hif313vwykagrj35vaiqy1swqczxs7p9hhs";
+
+ meta = with lib; {
+ description = "Keep the content for your git submodules all in one place: the parent repo";
+ homepage = "https://github.com/apenwarr/git-subtrac";
+ license = licenses.asl20;
+ maintainers = [ maintainers.marsam ];
+ };
+}
diff --git a/pkgs/applications/version-management/git-and-tools/git/default.nix b/pkgs/applications/version-management/git-and-tools/git/default.nix
index a6b53561771d79dd61414aafa3906a35364cec11..a8e284c6fec7ab8d3c28e4756df6a0a97a21455d 100644
--- a/pkgs/applications/version-management/git-and-tools/git/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git/default.nix
@@ -298,6 +298,10 @@ stdenv.mkDerivation {
# As of 2.19.0, t5562 refers to #!/usr/bin/perl
patchShebangs t/t5562/invoke-with-content-length.pl
+ '' + stdenv.lib.optionalString stdenv.isDarwin ''
+ # XXX: Some tests added in 2.24.0 fail.
+ # Please try to re-enable on the next release.
+ disable_test t7816-grep-binary-pattern
'' + stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
# Test fails (as of 2.17.0, musl 1.1.19)
disable_test t3900-i18n-commit
diff --git a/pkgs/applications/version-management/git-and-tools/git/update.sh b/pkgs/applications/version-management/git-and-tools/git/update.sh
index 05944014743f478613d05b5405350f2f233c2f72..1f1a29782eca5ea39f2799a84df9bc8fa2fe6fcb 100755
--- a/pkgs/applications/version-management/git-and-tools/git/update.sh
+++ b/pkgs/applications/version-management/git-and-tools/git/update.sh
@@ -3,7 +3,7 @@
set -eu -o pipefail
-oldVersion="$(nix-instantiate --eval -E "with import ./. {}; git.version or (builtins.parseDrvName git.name).version" | tr -d '"')"
+oldVersion="$(nix-instantiate --eval -E "with import ./. {}; lib.getVersion git" | tr -d '"')"
latestTag="$(git ls-remote --tags --sort="v:refname" git://github.com/git/git.git | grep -v '\{\}' | grep -v '\-rc' | tail -1 | sed 's|^.*/v\(.*\)|\1|')"
if [ ! "${oldVersion}" = "${latestTag}" ]; then
diff --git a/pkgs/applications/version-management/git-and-tools/subgit/default.nix b/pkgs/applications/version-management/git-and-tools/subgit/default.nix
index 03933788551cac28b12562b99ae0dc23d8b6f923..3636ad11fb6e78bb5be3f813494b86cd9525afb8 100644
--- a/pkgs/applications/version-management/git-and-tools/subgit/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/subgit/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, unzip, makeWrapper, jre }:
stdenv.mkDerivation rec {
- name = "subgit-3.3.8";
+ name = "subgit-3.3.9";
meta = {
description = "A tool for a smooth, stress-free SVN to Git migration";
@@ -21,6 +21,6 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "http://subgit.com/download/${name}.zip";
- sha256 = "0gvyyr4prx1v06f9j9fmmr8br1gjd45bnncl40c9agiqsyy0q06n";
+ sha256 = "0dwd2kymmprci3b61ayr6axzlkc8zgbc40jqxvvyzschfxw9y0v5";
};
}
diff --git a/pkgs/applications/version-management/gitlab/data.json b/pkgs/applications/version-management/gitlab/data.json
index 42cc127e40d020cf69e8f19c26b0318bf39fe94b..b2a9c2a28fc17c4c77514fa0b285b1e96e394219 100644
--- a/pkgs/applications/version-management/gitlab/data.json
+++ b/pkgs/applications/version-management/gitlab/data.json
@@ -1,13 +1,13 @@
{
- "version": "12.4.2",
- "repo_hash": "00y8n0y7wydwxq62fyf7hcpx90zz5sw458m2773lz7pdgnpnrdc2",
+ "version": "12.5.2",
+ "repo_hash": "18mviak37rkpj92m0hzh79rjbfsk8p91r5zzjp7y3y4qjnsf2a8p",
"owner": "gitlab-org",
"repo": "gitlab",
- "rev": "v12.4.2-ee",
+ "rev": "v12.5.2-ee",
"passthru": {
- "GITALY_SERVER_VERSION": "1.67.0",
- "GITLAB_PAGES_VERSION": "1.11.0",
+ "GITALY_SERVER_VERSION": "1.72.1",
+ "GITLAB_PAGES_VERSION": "1.12.0",
"GITLAB_SHELL_VERSION": "10.2.0",
- "GITLAB_WORKHORSE_VERSION": "8.14.0"
+ "GITLAB_WORKHORSE_VERSION": "8.14.1"
}
}
\ No newline at end of file
diff --git a/pkgs/applications/version-management/gitlab/default.nix b/pkgs/applications/version-management/gitlab/default.nix
index 0075f91ae2d8557ba140084bdec7264f51d8fdca..60035990ed02e9ab3cb60d513360eddd0a2ec259 100644
--- a/pkgs/applications/version-management/gitlab/default.nix
+++ b/pkgs/applications/version-management/gitlab/default.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, fetchurl, fetchFromGitLab, bundlerEnv
, ruby, tzdata, git, nettools, nixosTests, nodejs
, gitlabEnterprise ? false, callPackage, yarn
-, yarn2nix-moretea, replace
+, fixup_yarn_lock, replace
}:
let
@@ -62,7 +62,12 @@ let
yarn config --offline set yarn-offline-mirror ${yarnOfflineCache}
# Fixup "resolved"-entries in yarn.lock to match our offline cache
- ${yarn2nix-moretea.fixup_yarn_lock}/bin/fixup_yarn_lock yarn.lock
+ ${fixup_yarn_lock}/bin/fixup_yarn_lock yarn.lock
+
+ # fixup_yarn_lock currently doesn't correctly fix the dagre-d3
+ # url, so we have to do it manually
+ ${replace}/bin/replace-literal -f -e '"https://codeload.github.com/dagrejs/dagre-d3/tar.gz/e1a00e5cb518f5d2304a35647e024f31d178e55b"' \
+ '"https___codeload.github.com_dagrejs_dagre_d3_tar.gz_e1a00e5cb518f5d2304a35647e024f31d178e55b"' yarn.lock
yarn install --offline --frozen-lockfile --ignore-scripts --no-progress --non-interactive
diff --git a/pkgs/applications/version-management/gitlab/gitaly/Gemfile b/pkgs/applications/version-management/gitlab/gitaly/Gemfile
index 9478dc9a84b48f765b196f364f35b27a6ae13b0a..841f6bfdefc5284a6e6efd97004043f7323e19b2 100644
--- a/pkgs/applications/version-management/gitlab/gitaly/Gemfile
+++ b/pkgs/applications/version-management/gitlab/gitaly/Gemfile
@@ -4,13 +4,13 @@ source 'https://rubygems.org'
gem 'bundler', '>= 1.17.3'
gem 'rugged', '~> 0.28'
-gem 'github-linguist', '~> 6.1', require: 'linguist'
+gem 'github-linguist', '~> 7.5', require: 'linguist'
gem 'gitlab-markup', '~> 1.7.0'
gem 'activesupport', '~> 5.2.3'
-gem 'rdoc', '~> 4.2'
+gem 'rdoc', '~> 6.0'
gem 'gitlab-gollum-lib', '~> 4.2.7.7', require: false
gem 'gitlab-gollum-rugged_adapter', '~> 0.4.4.2', require: false
-gem 'grpc', '~> 1.19.0'
+gem 'grpc', '~> 1.24.0'
gem 'sentry-raven', '~> 2.9.0', require: false
gem 'faraday', '~> 0.12'
gem 'rbtrace', require: false
@@ -22,7 +22,7 @@ gem 'gitlab-labkit', '~> 0.5.0'
# This version needs to be in sync with GitLab CE/EE
gem 'licensee', '~> 8.9.0'
-gem 'google-protobuf', '~> 3.7.1'
+gem 'google-protobuf', '~> 3.8.0'
group :development, :test do
gem 'rubocop', '~> 0.69', require: false
diff --git a/pkgs/applications/version-management/gitlab/gitaly/Gemfile.lock b/pkgs/applications/version-management/gitlab/gitaly/Gemfile.lock
index cb292af8cc3ff550a5afc3d1850e812c011b00a1..90c4e1bccea69d8dfbcefeada8197990da7d455d 100644
--- a/pkgs/applications/version-management/gitlab/gitaly/Gemfile.lock
+++ b/pkgs/applications/version-management/gitlab/gitaly/Gemfile.lock
@@ -49,10 +49,10 @@ GEM
ffi (1.11.1)
gemojione (3.3.0)
json
- github-linguist (6.4.1)
+ github-linguist (7.5.1)
charlock_holmes (~> 0.7.6)
escape_utils (~> 1.2.0)
- mime-types (>= 1.19)
+ mini_mime (~> 1.0)
rugged (>= 0.25.1)
github-markup (1.7.0)
gitlab-gollum-lib (4.2.7.7)
@@ -81,12 +81,12 @@ GEM
gitlab-markup (1.7.0)
gollum-grit_adapter (1.0.1)
gitlab-grit (~> 2.7, >= 2.7.1)
- google-protobuf (3.7.1)
+ google-protobuf (3.8.0)
googleapis-common-protos-types (1.0.4)
google-protobuf (~> 3.0)
- grpc (1.19.0)
- google-protobuf (~> 3.1)
- googleapis-common-protos-types (~> 1.0.0)
+ grpc (1.24.0)
+ google-protobuf (~> 3.8)
+ googleapis-common-protos-types (~> 1.0)
hashdiff (0.3.9)
i18n (1.6.0)
concurrent-ruby (~> 1.0)
@@ -99,7 +99,7 @@ GEM
licensee (8.9.2)
rugged (~> 0.24)
listen (0.5.3)
- loofah (2.2.3)
+ loofah (2.3.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
memoizable (0.4.2)
@@ -108,12 +108,13 @@ GEM
mime-types (3.2.2)
mime-types-data (~> 3.2015)
mime-types-data (3.2019.0331)
+ mini_mime (1.0.2)
mini_portile2 (2.4.0)
minitest (5.11.3)
msgpack (1.3.0)
multi_json (1.13.1)
multipart-post (2.0.0)
- nokogiri (1.10.4)
+ nokogiri (1.10.5)
mini_portile2 (~> 2.4.0)
nokogumbo (1.5.0)
nokogiri
@@ -138,14 +139,14 @@ GEM
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
- rails-html-sanitizer (1.2.0)
- loofah (~> 2.2, >= 2.2.2)
+ rails-html-sanitizer (1.3.0)
+ loofah (~> 2.3)
rainbow (3.0.0)
rbtrace (0.4.11)
ffi (>= 1.0.6)
msgpack (>= 0.4.3)
optimist (>= 3.0.0)
- rdoc (4.3.0)
+ rdoc (6.2.0)
redis (4.1.2)
rouge (3.11.0)
rspec (3.8.0)
@@ -217,18 +218,18 @@ DEPENDENCIES
bundler (>= 1.17.3)
factory_bot
faraday (~> 0.12)
- github-linguist (~> 6.1)
+ github-linguist (~> 7.5)
gitlab-gollum-lib (~> 4.2.7.7)
gitlab-gollum-rugged_adapter (~> 0.4.4.2)
gitlab-labkit (~> 0.5.0)
gitlab-markup (~> 1.7.0)
- google-protobuf (~> 3.7.1)
- grpc (~> 1.19.0)
+ google-protobuf (~> 3.8.0)
+ grpc (~> 1.24.0)
licensee (~> 8.9.0)
listen (~> 0.5.0)
pry (~> 0.12.2)
rbtrace
- rdoc (~> 4.2)
+ rdoc (~> 6.0)
rspec
rspec-parameterized
rubocop (~> 0.69)
diff --git a/pkgs/applications/version-management/gitlab/gitaly/default.nix b/pkgs/applications/version-management/gitlab/gitaly/default.nix
index dd17618dc7482ad671eb2267797797866d75bc16..2c7641622306fa881ba6be8f7e636afc2661f3da 100644
--- a/pkgs/applications/version-management/gitlab/gitaly/default.nix
+++ b/pkgs/applications/version-management/gitlab/gitaly/default.nix
@@ -17,14 +17,14 @@ let
};
};
in buildGoPackage rec {
- version = "1.67.0";
+ version = "1.72.1";
pname = "gitaly";
src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitaly";
rev = "v${version}";
- sha256 = "1mj2l15hnxwqmyc8xn79d6qpmpqbqw2ishalr8qvn83nzdsbk8l3";
+ sha256 = "0gnhw7p8fgy3w15828qjgkkxcd4dg7gf1hpanc3xqawb8jqpfc91";
};
goPackagePath = "gitlab.com/gitlab-org/gitaly";
diff --git a/pkgs/applications/version-management/gitlab/gitaly/deps.nix b/pkgs/applications/version-management/gitlab/gitaly/deps.nix
index 34c30f710540e252b82e15574db04e3316a144b4..5f3a324a8021a73183ecef9d8221997b4e3df7bc 100644
--- a/pkgs/applications/version-management/gitlab/gitaly/deps.nix
+++ b/pkgs/applications/version-management/gitlab/gitaly/deps.nix
@@ -18,6 +18,42 @@
sha256 = "1fjdwwfzyzllgiwydknf1pwjvy49qxfsczqx5gz3y0izs7as99j6";
};
}
+ {
+ goPackagePath = "github.com/Joker/hpp";
+ fetch = {
+ type = "git";
+ url = "https://github.com/Joker/hpp";
+ rev = "6893e659854a";
+ sha256 = "0lsx63c28rzqigv3lwzznqacpk7nr0dn6ig37v023x8lzc728ix5";
+ };
+ }
+ {
+ goPackagePath = "github.com/Joker/jade";
+ fetch = {
+ type = "git";
+ url = "https://github.com/Joker/jade";
+ rev = "v1.0.0";
+ sha256 = "0k9b8dcwwhajw6rzjmakqwmhw9z192pzzdhppcvam6dy63yl4zjf";
+ };
+ }
+ {
+ goPackagePath = "github.com/Shopify/goreferrer";
+ fetch = {
+ type = "git";
+ url = "https://github.com/Shopify/goreferrer";
+ rev = "ec9c9a553398";
+ sha256 = "0d740psj8czks1hl0nr6nlrwfbwq3nc51jj2p91d1wyhhmgn6jmn";
+ };
+ }
+ {
+ goPackagePath = "github.com/ajg/form";
+ fetch = {
+ type = "git";
+ url = "https://github.com/ajg/form";
+ rev = "v1.5.1";
+ sha256 = "1d6sxzzf9yycdf8jm5877y0khmhkmhxfw3sc4xpdcsrdlc7gqh5a";
+ };
+ }
{
goPackagePath = "github.com/alecthomas/template";
fetch = {
@@ -36,6 +72,15 @@
sha256 = "1j65b91qb9sbrml9cpabfrcf07wmgzzghrl7809hjjhrmbzri5bl";
};
}
+ {
+ goPackagePath = "github.com/aymerick/raymond";
+ fetch = {
+ type = "git";
+ url = "https://github.com/aymerick/raymond";
+ rev = "v2.0.2";
+ sha256 = "1w6am4142k8lyjnwwcgx94c2d8zviflzi0a9c81gn2j0gyx475i3";
+ };
+ }
{
goPackagePath = "github.com/beorn7/perks";
fetch = {
@@ -81,6 +126,15 @@
sha256 = "1zampgfjbxy192cbwdi7g86l1idxaam96d834wncnpfdwgh5kl57";
};
}
+ {
+ goPackagePath = "github.com/codegangsta/inject";
+ fetch = {
+ type = "git";
+ url = "https://github.com/codegangsta/inject";
+ rev = "33e0aa1cb7c0";
+ sha256 = "1jqakr3z9l60qhcgrdzsb6rlk8ikcamisw0g2ndmrf27s0ibfcaj";
+ };
+ }
{
goPackagePath = "github.com/davecgh/go-spew";
fetch = {
@@ -90,6 +144,42 @@
sha256 = "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y";
};
}
+ {
+ goPackagePath = "github.com/dgrijalva/jwt-go";
+ fetch = {
+ type = "git";
+ url = "https://github.com/dgrijalva/jwt-go";
+ rev = "v3.2.0";
+ sha256 = "08m27vlms74pfy5z79w67f9lk9zkx6a9jd68k3c4msxy75ry36mp";
+ };
+ }
+ {
+ goPackagePath = "github.com/eknkc/amber";
+ fetch = {
+ type = "git";
+ url = "https://github.com/eknkc/amber";
+ rev = "cdade1c07385";
+ sha256 = "152w97yckwncgw7lwjvgd8d00wy6y0nxzlvx72kl7nqqxs9vhxd9";
+ };
+ }
+ {
+ goPackagePath = "github.com/fatih/structs";
+ fetch = {
+ type = "git";
+ url = "https://github.com/fatih/structs";
+ rev = "v1.1.0";
+ sha256 = "1wrhb8wp8zpzggl61lapb627lw8yv281abvr6vqakmf569nswa9q";
+ };
+ }
+ {
+ goPackagePath = "github.com/flosch/pongo2";
+ fetch = {
+ type = "git";
+ url = "https://github.com/flosch/pongo2";
+ rev = "bbf5a6c351f4";
+ sha256 = "0yqh58phznnxakm64w82gawrpndb0r85vsd1s7h244qqrq7w4avq";
+ };
+ }
{
goPackagePath = "github.com/fsnotify/fsnotify";
fetch = {
@@ -99,15 +189,69 @@
sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g";
};
}
+ {
+ goPackagePath = "github.com/gavv/monotime";
+ fetch = {
+ type = "git";
+ url = "https://github.com/gavv/monotime";
+ rev = "30dba4353424";
+ sha256 = "0w67yyc9y11dp7lp4b712dkcgbiln1qmgfx1nbbrw3mfkzr61d7g";
+ };
+ }
{
goPackagePath = "github.com/getsentry/raven-go";
fetch = {
type = "git";
url = "https://github.com/getsentry/raven-go";
- rev = "v0.1.2";
+ rev = "v0.1.0";
sha256 = "1dl80kar4lzdcfl3w6jssi1ld6bv0rmx6sp6bz6rzysfr9ilm02z";
};
}
+ {
+ goPackagePath = "github.com/getsentry/sentry-go";
+ fetch = {
+ type = "git";
+ url = "https://github.com/getsentry/sentry-go";
+ rev = "v0.3.0";
+ sha256 = "1919lhvg1swcqyfa6mck6nz53c7n4df21jsz46f7x4wncb6f5il1";
+ };
+ }
+ {
+ goPackagePath = "github.com/gin-contrib/sse";
+ fetch = {
+ type = "git";
+ url = "https://github.com/gin-contrib/sse";
+ rev = "5545eab6dad3";
+ sha256 = "0jhcvi66rn7c1wg3rf7q7sylrvlk7c40yk79c5lypnz1dpsdcrb5";
+ };
+ }
+ {
+ goPackagePath = "github.com/gin-gonic/gin";
+ fetch = {
+ type = "git";
+ url = "https://github.com/gin-gonic/gin";
+ rev = "v1.4.0";
+ sha256 = "19nxip48p2s8l7p1p7wpd5li2fcngi4c58rgcg71izdmsmj2iw1d";
+ };
+ }
+ {
+ goPackagePath = "github.com/go-check/check";
+ fetch = {
+ type = "git";
+ url = "https://github.com/go-check/check";
+ rev = "788fd7840127";
+ sha256 = "0v3bim0j375z81zrpr5qv42knqs0y2qv2vkjiqi5axvb78slki1a";
+ };
+ }
+ {
+ goPackagePath = "github.com/go-errors/errors";
+ fetch = {
+ type = "git";
+ url = "https://github.com/go-errors/errors";
+ rev = "v1.0.1";
+ sha256 = "0rznpknk19rxkr7li6dqs52c26pjazp69lh493l4ny4sxn5922lp";
+ };
+ }
{
goPackagePath = "github.com/go-kit/kit";
fetch = {
@@ -126,6 +270,15 @@
sha256 = "1gkgh3k5w1xwb2qbjq52p6azq3h1c1rr6pfwjlwj1zrijpzn2xb9";
};
}
+ {
+ goPackagePath = "github.com/go-martini/martini";
+ fetch = {
+ type = "git";
+ url = "https://github.com/go-martini/martini";
+ rev = "22fa46961aab";
+ sha256 = "01ip3mwbnm5isq120ww73yrvbcn6n5944prhhbyf2ggyf6g46ylh";
+ };
+ }
{
goPackagePath = "github.com/go-stack/stack";
fetch = {
@@ -153,15 +306,6 @@
sha256 = "0jb2834rw5sykfr937fxi8hxi2zy80sj2bdn9b3jb4b26ksqng30";
};
}
- {
- goPackagePath = "github.com/golang/lint";
- fetch = {
- type = "git";
- url = "https://github.com/golang/lint";
- rev = "06c8688daad7";
- sha256 = "0xi94dwvz50a66bq1hp9fyqkym5mcpdxdb1hrfvicldgjf37lc47";
- };
- }
{
goPackagePath = "github.com/golang/mock";
fetch = {
@@ -176,8 +320,26 @@
fetch = {
type = "git";
url = "https://github.com/golang/protobuf";
- rev = "v1.3.1";
- sha256 = "15am4s4646qy6iv0g3kkqq52rzykqjhm4bf08dk0fy2r58knpsyl";
+ rev = "v1.3.2";
+ sha256 = "1k1wb4zr0qbwgpvz9q5ws9zhlal8hq7dmq62pwxxriksayl6hzym";
+ };
+ }
+ {
+ goPackagePath = "github.com/google/go-cmp";
+ fetch = {
+ type = "git";
+ url = "https://github.com/google/go-cmp";
+ rev = "v0.2.0";
+ sha256 = "1fbv0x27k9sn8svafc0hjwsnckk864lv4yi7bvzrxvmd3d5hskds";
+ };
+ }
+ {
+ goPackagePath = "github.com/google/go-querystring";
+ fetch = {
+ type = "git";
+ url = "https://github.com/google/go-querystring";
+ rev = "v1.0.0";
+ sha256 = "0xl12bqyvmn4xcnf8p9ksj9rmnr7s40pvppsdmy8n9bzw1db0iwz";
};
}
{
@@ -189,6 +351,24 @@
sha256 = "0hfxcf9frkb57k6q0rdkrmnfs78ms21r1qfk9fhlqga2yh5xg8zb";
};
}
+ {
+ goPackagePath = "github.com/gopherjs/gopherjs";
+ fetch = {
+ type = "git";
+ url = "https://github.com/gopherjs/gopherjs";
+ rev = "0766667cb4d1";
+ sha256 = "13pfc9sxiwjky2lm1xb3i3lcisn8p6mgjk2d927l7r92ysph8dmw";
+ };
+ }
+ {
+ goPackagePath = "github.com/gorilla/schema";
+ fetch = {
+ type = "git";
+ url = "https://github.com/gorilla/schema";
+ rev = "v1.1.0";
+ sha256 = "14d31i3h6bg83r7ncmwm2pirab66z9hza38in18l89pbazxyh2n9";
+ };
+ }
{
goPackagePath = "github.com/grpc-ecosystem/go-grpc-middleware";
fetch = {
@@ -216,6 +396,51 @@
sha256 = "1njpzc0pi1acg5zx9y6vj9xi6ksbsc5d387rd6904hy6rh2m6kn0";
};
}
+ {
+ goPackagePath = "github.com/imkira/go-interpol";
+ fetch = {
+ type = "git";
+ url = "https://github.com/imkira/go-interpol";
+ rev = "v1.1.0";
+ sha256 = "180h3pf2p0pch6hmqf45wk7wd87md83d3p122f8ll43x5nja5mph";
+ };
+ }
+ {
+ goPackagePath = "github.com/iris-contrib/blackfriday";
+ fetch = {
+ type = "git";
+ url = "https://github.com/iris-contrib/blackfriday";
+ rev = "v2.0.0";
+ sha256 = "1gkizavajqmxm79il8r6cbi0g9ls3vwdh9wr0zy89vc9sq17p3im";
+ };
+ }
+ {
+ goPackagePath = "github.com/iris-contrib/formBinder";
+ fetch = {
+ type = "git";
+ url = "https://github.com/iris-contrib/formBinder";
+ rev = "v5.0.0";
+ sha256 = "0mqk6j7a9d3y28ad4ylqc7z5w4hmn1ws5wwnyll918xn1wkzr5rg";
+ };
+ }
+ {
+ goPackagePath = "github.com/iris-contrib/go.uuid";
+ fetch = {
+ type = "git";
+ url = "https://github.com/iris-contrib/go.uuid";
+ rev = "v2.0.0";
+ sha256 = "0nc0ggn0a6bcwdrwinnx3z6889x65c20a2dwja0n8can3xblxs35";
+ };
+ }
+ {
+ goPackagePath = "github.com/iris-contrib/httpexpect";
+ fetch = {
+ type = "git";
+ url = "https://github.com/iris-contrib/httpexpect";
+ rev = "ebe99fcebbce";
+ sha256 = "126c50c6r5l2gdn60jirpb54pqwswxag3wgrv6wcn998h9w9gv8c";
+ };
+ }
{
goPackagePath = "github.com/json-iterator/go";
fetch = {
@@ -225,6 +450,42 @@
sha256 = "08caswxvdn7nvaqyj5kyny6ghpygandlbw9vxdj7l5vkp7q0s43r";
};
}
+ {
+ goPackagePath = "github.com/jtolds/gls";
+ fetch = {
+ type = "git";
+ url = "https://github.com/jtolds/gls";
+ rev = "v4.20.0";
+ sha256 = "1k7xd2q2ysv2xsh373qs801v6f359240kx0vrl0ydh7731lngvk6";
+ };
+ }
+ {
+ goPackagePath = "github.com/juju/errors";
+ fetch = {
+ type = "git";
+ url = "https://github.com/juju/errors";
+ rev = "089d3ea4e4d5";
+ sha256 = "056za75j1zgksky7pbf0pkjqz5ha15g3wj3p4ma10m9sywdyq79r";
+ };
+ }
+ {
+ goPackagePath = "github.com/juju/loggo";
+ fetch = {
+ type = "git";
+ url = "https://github.com/juju/loggo";
+ rev = "584905176618";
+ sha256 = "0hzi0652y74jf62wwyi9gf8bzrs7ynvhjfqc8rwr4l799d7i5gd4";
+ };
+ }
+ {
+ goPackagePath = "github.com/juju/testing";
+ fetch = {
+ type = "git";
+ url = "https://github.com/juju/testing";
+ rev = "472a3e8b2073";
+ sha256 = "05wjc2k0kwbam7anaxwnj30pl03dcdbrsz32icd70zl70ipsqsw4";
+ };
+ }
{
goPackagePath = "github.com/julienschmidt/httprouter";
fetch = {
@@ -234,6 +495,42 @@
sha256 = "1k8bylc9s4vpvf5xhqh9h246dl1snxrzzz0614zz88cdh8yzs666";
};
}
+ {
+ goPackagePath = "github.com/k0kubun/colorstring";
+ fetch = {
+ type = "git";
+ url = "https://github.com/k0kubun/colorstring";
+ rev = "9440f1994b88";
+ sha256 = "0isskya7ky4k9znrh85crfc2pxwyfz2s8j1a5cbjb8b8zf2v0qbj";
+ };
+ }
+ {
+ goPackagePath = "github.com/kataras/golog";
+ fetch = {
+ type = "git";
+ url = "https://github.com/kataras/golog";
+ rev = "99c81de45f40";
+ sha256 = "1dgrsvhzymgj7da54ldv8plkxk3n8zh3kc995qxl6mrpz65j801p";
+ };
+ }
+ {
+ goPackagePath = "github.com/kataras/iris";
+ fetch = {
+ type = "git";
+ url = "https://github.com/kataras/iris";
+ rev = "v11.1.1";
+ sha256 = "1rxpr5hdj9mji26mlfp4zic0pc6nh93akzccw24a5kynj07g68wg";
+ };
+ }
+ {
+ goPackagePath = "github.com/kataras/pio";
+ fetch = {
+ type = "git";
+ url = "https://github.com/kataras/pio";
+ rev = "ea782b38602d";
+ sha256 = "0ca29wmkpx19qwnvi4fja3avkxkzz14x9wyzmg1l9074bxbj8cgj";
+ };
+ }
{
goPackagePath = "github.com/kelseyhightower/envconfig";
fetch = {
@@ -244,12 +541,21 @@
};
}
{
- goPackagePath = "github.com/kisielk/gotool";
+ goPackagePath = "github.com/klauspost/compress";
fetch = {
type = "git";
- url = "https://github.com/kisielk/gotool";
- rev = "v1.0.0";
- sha256 = "14af2pa0ssyp8bp2mvdw184s5wcysk6akil3wzxmr05wwy951iwn";
+ url = "https://github.com/klauspost/compress";
+ rev = "v1.4.0";
+ sha256 = "1y7951q0ji894d111lqqbacq64cxyi2dxsni5sqi9488zsasgw8s";
+ };
+ }
+ {
+ goPackagePath = "github.com/klauspost/cpuid";
+ fetch = {
+ type = "git";
+ url = "https://github.com/klauspost/cpuid";
+ rev = "e7e905edc00e";
+ sha256 = "0cmyv3rwv5r5iqvvfhbiwp3jsfa40c6xfm42nxbngd5lygjcwwgf";
};
}
{
@@ -270,6 +576,51 @@
sha256 = "02ldzxgznrfdzvghfraslhgp19la1fczcbzh7wm2zdc6lmpd1qq9";
};
}
+ {
+ goPackagePath = "github.com/kr/pretty";
+ fetch = {
+ type = "git";
+ url = "https://github.com/kr/pretty";
+ rev = "v0.1.0";
+ sha256 = "18m4pwg2abd0j9cn5v3k2ksk9ig4vlwxmlw9rrglanziv9l967qp";
+ };
+ }
+ {
+ goPackagePath = "github.com/kr/pty";
+ fetch = {
+ type = "git";
+ url = "https://github.com/kr/pty";
+ rev = "v1.1.1";
+ sha256 = "0383f0mb9kqjvncqrfpidsf8y6ns5zlrc91c6a74xpyxjwvzl2y6";
+ };
+ }
+ {
+ goPackagePath = "github.com/kr/text";
+ fetch = {
+ type = "git";
+ url = "https://github.com/kr/text";
+ rev = "v0.1.0";
+ sha256 = "1gm5bsl01apvc84bw06hasawyqm4q84vx1pm32wr9jnd7a8vjgj1";
+ };
+ }
+ {
+ goPackagePath = "github.com/labstack/echo";
+ fetch = {
+ type = "git";
+ url = "https://github.com/labstack/echo";
+ rev = "v4.1.10";
+ sha256 = "0qg9ykmhgldiv2v1w8sz8x0j0bgqf11ghzrim59fb6pxz8qgg25h";
+ };
+ }
+ {
+ goPackagePath = "github.com/labstack/gommon";
+ fetch = {
+ type = "git";
+ url = "https://github.com/labstack/gommon";
+ rev = "v0.3.0";
+ sha256 = "18z7akyzm75p6anm4b8qkqgm4iivx50z07hi5wf50w1pbsvbcdi0";
+ };
+ }
{
goPackagePath = "github.com/libgit2/git2go";
fetch = {
@@ -288,6 +639,33 @@
sha256 = "10n5r66g44s6rnz5kf86s4a3p1g55kc1kxqhnk7bx7mlayndgpmb";
};
}
+ {
+ goPackagePath = "github.com/mattn/go-colorable";
+ fetch = {
+ type = "git";
+ url = "https://github.com/mattn/go-colorable";
+ rev = "v0.1.2";
+ sha256 = "0512jm3wmzkkn7d99x9wflyqf48n5ri3npy1fqkq6l6adc5mni3n";
+ };
+ }
+ {
+ goPackagePath = "github.com/mattn/go-isatty";
+ fetch = {
+ type = "git";
+ url = "https://github.com/mattn/go-isatty";
+ rev = "v0.0.9";
+ sha256 = "0i3km37lajahh1y2392g4hpgvq05arcgiiv93yhzxxyv0fpqj72m";
+ };
+ }
+ {
+ goPackagePath = "github.com/mattn/goveralls";
+ fetch = {
+ type = "git";
+ url = "https://github.com/mattn/goveralls";
+ rev = "v0.0.2";
+ sha256 = "13ffdikvc594g1mryhi94m87skr7irwkjnpxp8ad2kprn6syfslp";
+ };
+ }
{
goPackagePath = "github.com/matttproud/golang_protobuf_extensions";
fetch = {
@@ -297,6 +675,15 @@
sha256 = "1d0c1isd2lk9pnfq2nk0aih356j30k3h1gi2w0ixsivi5csl7jya";
};
}
+ {
+ goPackagePath = "github.com/microcosm-cc/bluemonday";
+ fetch = {
+ type = "git";
+ url = "https://github.com/microcosm-cc/bluemonday";
+ rev = "v1.0.2";
+ sha256 = "0j0aylsxqjcj49w7ph8cmpaqjlpvg7mb5mrcrd9bg71dlb9z9ir2";
+ };
+ }
{
goPackagePath = "github.com/modern-go/concurrent";
fetch = {
@@ -315,6 +702,15 @@
sha256 = "06a3sablw53n1dqqbr2f53jyksbxdmmk8axaas4yvnhyfi55k4lf";
};
}
+ {
+ goPackagePath = "github.com/moul/http2curl";
+ fetch = {
+ type = "git";
+ url = "https://github.com/moul/http2curl";
+ rev = "v1.0.0";
+ sha256 = "15bpx33d3ygya8dg8hbsn24h7acpajl27006pj8lw1c0bfvbnrl0";
+ };
+ }
{
goPackagePath = "github.com/mwitkow/go-conntrack";
fetch = {
@@ -329,8 +725,8 @@
fetch = {
type = "git";
url = "https://github.com/onsi/ginkgo";
- rev = "v1.7.0";
- sha256 = "14wgpdrvpc35rdz3859bz53sc1g4vpr1fysy15wy3ff9gmqs14yg";
+ rev = "v1.10.1";
+ sha256 = "033a42h1wzmji57p86igg9whvsbp6nvfdsypskw738ys903n3z4d";
};
}
{
@@ -338,8 +734,8 @@
fetch = {
type = "git";
url = "https://github.com/onsi/gomega";
- rev = "v1.4.3";
- sha256 = "1c8rqg5i2hz3snmq7s41yar1zjnzilb0fyiyhkg83v97afcfx79v";
+ rev = "v1.7.0";
+ sha256 = "09j6wq425wgzzsbwm9ckhfgl2capv3yyqbrf45qyrjwkzm49i02y";
};
}
{
@@ -360,13 +756,22 @@
sha256 = "1pg84khadh79v42y8sjsdgfb54vw2kzv7hpapxkifgj0yvcp30g2";
};
}
+ {
+ goPackagePath = "github.com/pingcap/errors";
+ fetch = {
+ type = "git";
+ url = "https://github.com/pingcap/errors";
+ rev = "v0.11.1";
+ sha256 = "00wr0l4cwq0qx8jw51j0n7pbh9l7hdq2874x9rf1mz5svz1wbmcp";
+ };
+ }
{
goPackagePath = "github.com/pkg/errors";
fetch = {
type = "git";
url = "https://github.com/pkg/errors";
- rev = "v0.8.0";
- sha256 = "001i6n71ghp2l6kdl3qq1v2vmghcz3kicv9a5wgcihrzigm75pp5";
+ rev = "v0.8.1";
+ sha256 = "0g5qcb4d4fd96midz0zdk8b9kz8xkzwfa8kr1cliqbg8sxsy5vd1";
};
}
{
@@ -414,6 +819,33 @@
sha256 = "0s7pvs7fgnfpmym3cd0k219av321h9sf3yvdlnn3qy0ps280lg7k";
};
}
+ {
+ goPackagePath = "github.com/ryanuber/columnize";
+ fetch = {
+ type = "git";
+ url = "https://github.com/ryanuber/columnize";
+ rev = "v2.1.0";
+ sha256 = "0m9jhagb1k44zfcdai76xdf9vpi3bqdl7p078ffyibmz0z9jfap6";
+ };
+ }
+ {
+ goPackagePath = "github.com/sergi/go-diff";
+ fetch = {
+ type = "git";
+ url = "https://github.com/sergi/go-diff";
+ rev = "v1.0.0";
+ sha256 = "0swiazj8wphs2zmk1qgq75xza6m19snif94h2m6fi8dqkwqdl7c7";
+ };
+ }
+ {
+ goPackagePath = "github.com/shurcooL/sanitized_anchor_name";
+ fetch = {
+ type = "git";
+ url = "https://github.com/shurcooL/sanitized_anchor_name";
+ rev = "v1.0.0";
+ sha256 = "1gv9p2nr46z80dnfjsklc6zxbgk96349sdsxjz05f3z6wb6m5l8f";
+ };
+ }
{
goPackagePath = "github.com/sirupsen/logrus";
fetch = {
@@ -423,6 +855,24 @@
sha256 = "0r6334x2bls8ddznvzaldx4g88msjjns4mlks95rqrrg7h0ijigg";
};
}
+ {
+ goPackagePath = "github.com/smartystreets/assertions";
+ fetch = {
+ type = "git";
+ url = "https://github.com/smartystreets/assertions";
+ rev = "b2de0cb4f26d";
+ sha256 = "1i7ldgavgl35c7gk25p7bvdr282ckng090zr4ch9mk1705akx09y";
+ };
+ }
+ {
+ goPackagePath = "github.com/smartystreets/goconvey";
+ fetch = {
+ type = "git";
+ url = "https://github.com/smartystreets/goconvey";
+ rev = "505e41936337";
+ sha256 = "07zjxwszayal88z1j2bwnqrsa32vg8l4nivks5yfr9j8xfsw7n6m";
+ };
+ }
{
goPackagePath = "github.com/stretchr/objx";
fetch = {
@@ -437,8 +887,8 @@
fetch = {
type = "git";
url = "https://github.com/stretchr/testify";
- rev = "v1.3.0";
- sha256 = "0wjchp2c8xbgcbbq32w3kvblk6q6yn533g78nxl6iskq6y95lxsy";
+ rev = "v1.4.0";
+ sha256 = "187i5g88sxfy4vxpm7dw1gwv29pa2qaq475lxrdh5livh69wqfjb";
};
}
{
@@ -477,6 +927,123 @@
sha256 = "113fwpn80ylx970w8h7nfqnhh18dpx1jadbk7rbr8k68q4di4y0q";
};
}
+ {
+ goPackagePath = "github.com/ugorji/go";
+ fetch = {
+ type = "git";
+ url = "https://github.com/ugorji/go";
+ rev = "v1.1.4";
+ sha256 = "0ma2qvn5wqvjidpdz74x832a813qnr1cxbx6n6n125ak9b3wbn5w";
+ };
+ }
+ {
+ goPackagePath = "github.com/urfave/negroni";
+ fetch = {
+ type = "git";
+ url = "https://github.com/urfave/negroni";
+ rev = "v1.0.0";
+ sha256 = "1gp6j74adi1cn8fq5v3wzlzhwl4zg43n2746m4fzdcdimihk3ccp";
+ };
+ }
+ {
+ goPackagePath = "github.com/valyala/bytebufferpool";
+ fetch = {
+ type = "git";
+ url = "https://github.com/valyala/bytebufferpool";
+ rev = "v1.0.0";
+ sha256 = "01lqzjddq6kz9v41nkky7wbgk7f1cw036sa7ldz10d82g5klzl93";
+ };
+ }
+ {
+ goPackagePath = "github.com/valyala/fasthttp";
+ fetch = {
+ type = "git";
+ url = "https://github.com/valyala/fasthttp";
+ rev = "v1.4.0";
+ sha256 = "0kypc7r91n61fm6qsadza1aiy9n6byghvcxzvx7agi6yzrllk956";
+ };
+ }
+ {
+ goPackagePath = "github.com/valyala/fasttemplate";
+ fetch = {
+ type = "git";
+ url = "https://github.com/valyala/fasttemplate";
+ rev = "v1.0.1";
+ sha256 = "0l131znbv8v67y20s4q361mwiww2c33zdc68mwvxchzk1gpy5ywq";
+ };
+ }
+ {
+ goPackagePath = "github.com/valyala/tcplisten";
+ fetch = {
+ type = "git";
+ url = "https://github.com/valyala/tcplisten";
+ rev = "ceec8f93295a";
+ sha256 = "0ksbj1gsdqanbnhly5w1wcc107bib4w0zpnyl00prr89zch3imnf";
+ };
+ }
+ {
+ goPackagePath = "github.com/xeipuuv/gojsonpointer";
+ fetch = {
+ type = "git";
+ url = "https://github.com/xeipuuv/gojsonpointer";
+ rev = "df4f5c81cb3b";
+ sha256 = "0dfwc66z5gq75m3z7va80c10c22ijiq99bahq86l26ki71g286xn";
+ };
+ }
+ {
+ goPackagePath = "github.com/xeipuuv/gojsonreference";
+ fetch = {
+ type = "git";
+ url = "https://github.com/xeipuuv/gojsonreference";
+ rev = "bd5ef7bd5415";
+ sha256 = "1xby79padc7bmyb8rfbad8wfnfdzpnh51b1n8c0kibch0kwc1db5";
+ };
+ }
+ {
+ goPackagePath = "github.com/xeipuuv/gojsonschema";
+ fetch = {
+ type = "git";
+ url = "https://github.com/xeipuuv/gojsonschema";
+ rev = "v1.1.0";
+ sha256 = "10gn5y4l72zknj21mff29d9vnk4pz7jnw39xnlsb373lsiih91xg";
+ };
+ }
+ {
+ goPackagePath = "github.com/yalp/jsonpath";
+ fetch = {
+ type = "git";
+ url = "https://github.com/yalp/jsonpath";
+ rev = "5cc68e5049a0";
+ sha256 = "0kkyxp1cg3kfxy5hhwzxg132jin4xb492z5jpqq94ix15v6rdf4b";
+ };
+ }
+ {
+ goPackagePath = "github.com/yudai/gojsondiff";
+ fetch = {
+ type = "git";
+ url = "https://github.com/yudai/gojsondiff";
+ rev = "v1.0.0";
+ sha256 = "0qnymi0027mb8kxm24mmd22bvjrdkc56c7f4q3lbdf93x1vxbbc2";
+ };
+ }
+ {
+ goPackagePath = "github.com/yudai/golcs";
+ fetch = {
+ type = "git";
+ url = "https://github.com/yudai/golcs";
+ rev = "ecda9a501e82";
+ sha256 = "0mx6wc5fz05yhvg03vvps93bc5mw4vnng98fhmixd47385qb29pq";
+ };
+ }
+ {
+ goPackagePath = "github.com/yudai/pp";
+ fetch = {
+ type = "git";
+ url = "https://github.com/yudai/pp";
+ rev = "v2.0.1";
+ sha256 = "18vbc7jagnjw1wpvhqjffl0np7bzzqdd9jpdcisvj5h85lbyn5gk";
+ };
+ }
{
goPackagePath = "gitlab.com/gitlab-org/labkit";
fetch = {
@@ -500,8 +1067,8 @@
fetch = {
type = "git";
url = "https://go.googlesource.com/crypto";
- rev = "20be4c3c3ed5";
- sha256 = "1ph7y8v30hc95h1dwr7vrhg1nzs47a261qin6zg8mhf12g5k2lxb";
+ rev = "4def268fd1a4";
+ sha256 = "1bfsnari529gw34cz0zqk3d9mrkcj1ay35kangri8kbgll0ss5a6";
};
}
{
@@ -509,8 +1076,8 @@
fetch = {
type = "git";
url = "https://go.googlesource.com/lint";
- rev = "06c8688daad7";
- sha256 = "0xi94dwvz50a66bq1hp9fyqkym5mcpdxdb1hrfvicldgjf37lc47";
+ rev = "d0100b6bd8b3";
+ sha256 = "0b0amr9x4ji66iv9ayfx7zrfx52k1m5g66qfcxkgj80qrb1y2yn7";
};
}
{
@@ -536,8 +1103,8 @@
fetch = {
type = "git";
url = "https://go.googlesource.com/sync";
- rev = "37e7f081c4d4";
- sha256 = "1bb0mw6ckb1k7z8v3iil2qlqwfj408fvvp8m1cik2b46p7snyjhm";
+ rev = "112230192c58";
+ sha256 = "05i2k43j2d0llq768hg5pf3hb2yhfzp9la1w5wp0rsnnzblr0lfn";
};
}
{
@@ -545,8 +1112,8 @@
fetch = {
type = "git";
url = "https://go.googlesource.com/sys";
- rev = "953cdadca894";
- sha256 = "0gkha4whk8xkcv3isigbs250akag99isxnd3v9xmy0kl3g88hxy1";
+ rev = "fde4db37ae7a";
+ sha256 = "16k4w4pzziq1kln18k5fg01qgk4hpzb5xsm7175kaky6d6gwyhg3";
};
}
{
@@ -563,8 +1130,8 @@
fetch = {
type = "git";
url = "https://go.googlesource.com/tools";
- rev = "6cd1fcedba52";
- sha256 = "00hl0vkmy8impsnmc2dmm55sdhia95k0kqcrjbdpynryn1lamn5d";
+ rev = "2c0ae7006135";
+ sha256 = "1lsi2ssxajclj3bciz2a41v1vjv768ja3v6wnbyhxy8xphwkp4fk";
};
}
{
@@ -590,8 +1157,8 @@
fetch = {
type = "git";
url = "https://github.com/grpc/grpc-go";
- rev = "v1.16.0";
- sha256 = "0a9xl6c5j7lvsb4q6ry5p892rjm86p47d4f8xrf0r8lxblf79qbg";
+ rev = "v1.24.0";
+ sha256 = "0h8mwv74vzcfb7p4ai247x094skxca71vjp4wpj2wzmri0x9p4v6";
};
}
{
@@ -630,6 +1197,33 @@
sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g";
};
}
+ {
+ goPackagePath = "gopkg.in/go-playground/assert.v1";
+ fetch = {
+ type = "git";
+ url = "https://gopkg.in/go-playground/assert.v1";
+ rev = "v1.2.1";
+ sha256 = "1h4amgykpa0djwi619llr3g55p75ia0mi184h9s5zdl8l4rhn9pm";
+ };
+ }
+ {
+ goPackagePath = "gopkg.in/go-playground/validator.v8";
+ fetch = {
+ type = "git";
+ url = "https://gopkg.in/go-playground/validator.v8";
+ rev = "v8.18.2";
+ sha256 = "1m2i48ph5a3kw9nlw2srx8i04v7chicds2hlzlrfm15045crga55";
+ };
+ }
+ {
+ goPackagePath = "gopkg.in/mgo.v2";
+ fetch = {
+ type = "git";
+ url = "https://gopkg.in/mgo.v2";
+ rev = "9856a29383ce";
+ sha256 = "1gfbcmvpwwf1lydxj3g42wv2g9w3pf0y02igqk4f4f21h02sazkw";
+ };
+ }
{
goPackagePath = "gopkg.in/tomb.v1";
fetch = {
@@ -653,8 +1247,8 @@
fetch = {
type = "git";
url = "https://github.com/dominikh/go-tools";
- rev = "88497007e858";
- sha256 = "0rinkyx3r2bq45mgcasnn5jb07cwbv3p3s2wwcrzxsarsj6wa5lc";
+ rev = "ea95bdfd59fc";
+ sha256 = "1763nw7pwpzkvzfnm63dgzcgbq9hwmq5l1nffchnhh77vgkaq4ic";
};
}
]
diff --git a/pkgs/applications/version-management/gitlab/gitaly/gemset.nix b/pkgs/applications/version-management/gitlab/gitaly/gemset.nix
index a5140972ef0fadfbe0638164e2d7984abf5560ee..47e1c3b356848dbb6677b06da766346fb4274d0f 100644
--- a/pkgs/applications/version-management/gitlab/gitaly/gemset.nix
+++ b/pkgs/applications/version-management/gitlab/gitaly/gemset.nix
@@ -224,15 +224,15 @@
version = "3.3.0";
};
github-linguist = {
- dependencies = ["charlock_holmes" "escape_utils" "mime-types" "rugged"];
+ dependencies = ["charlock_holmes" "escape_utils" "mini_mime" "rugged"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0nqsprsy4xd6yxzk3b54815hv0gk2r1xn0vsm81pkyy61bbm35hf";
+ sha256 = "092bq7bjfj2yvss2ig6jb71j0h04cigq79xxfis37j315iixl12j";
type = "gem";
};
- version = "6.4.1";
+ version = "7.5.1";
};
github-markup = {
source = {
@@ -308,10 +308,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "04988m3hmllg4sl4syjb35x0wzsg7rj1nmvhx3d9ihml22w76gb2";
+ sha256 = "0by3289irdklb9gjqw41fq6mg6yja3iyzh99dj8p8z9l4brllqn4";
type = "gem";
};
- version = "3.7.1";
+ version = "3.8.0";
};
googleapis-common-protos-types = {
dependencies = ["google-protobuf"];
@@ -330,10 +330,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1rdywzism5vxz8pnml6xjb9f19diclyy74014z69q01jzqwi1wgs";
+ sha256 = "18wikj9qd4jb4lks55cs2cf3q7fifnanm9z9ywnxhpj57vbnilpf";
type = "gem";
};
- version = "1.19.0";
+ version = "1.24.0";
};
hashdiff = {
groups = ["default" "development" "test"];
@@ -418,10 +418,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1ccsid33xjajd0im2xv941aywi58z7ihwkvaf1w2bv89vn5bhsjg";
+ sha256 = "06kfq90vi38gv6i128f4zg462kj32szs5vsgm25hxgw9zd12pj9x";
type = "gem";
};
- version = "2.2.3";
+ version = "2.3.0";
};
memoizable = {
dependencies = ["thread_safe"];
@@ -459,6 +459,16 @@
};
version = "3.2019.0331";
};
+ mini_mime = {
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1axm0rxyx3ss93wbmfkm78a6x03l8y4qy60rhkkiq0aza0vwq3ha";
+ type = "gem";
+ };
+ version = "1.0.2";
+ };
mini_portile2 = {
source = {
remotes = ["https://rubygems.org"];
@@ -507,10 +517,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0nmdrqqz1gs0fwkgzxjl4wr554gr8dc1fkrqjc2jpsvwgm41rygv";
+ sha256 = "185g3dwba73jqxjr94bd2zk6fil6n9hmcfnfyzh3p1w47vm296r7";
type = "gem";
};
- version = "1.10.4";
+ version = "1.10.5";
};
nokogumbo = {
dependencies = ["nokogiri"];
@@ -640,10 +650,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0ilwxzm3a7bql5c9q2n9g9nb1hax7vd8d65a5yp3d967ld97nvrq";
+ sha256 = "1icpqmxbppl4ynzmn6dx7wdil5hhq6fz707m9ya6d86c7ys8sd4f";
type = "gem";
};
- version = "1.2.0";
+ version = "1.3.0";
};
rainbow = {
source = {
@@ -663,12 +673,14 @@
version = "0.4.11";
};
rdoc = {
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "13ba2mhqqcsp3k97x3iz9x29xk26rv4561lfzzzibcy41vvj1n4c";
+ sha256 = "1gh7sc3xd4rgl9z90181cq580r1xqn063mmv51wdrhhsrkkw2bi9";
type = "gem";
};
- version = "4.3.0";
+ version = "6.2.0";
};
redis = {
groups = ["default"];
diff --git a/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix b/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix
index aa8cf7c164c503c1bf1b312810added14a1bc2b8..4f3322f3d0fcbc723ee4b10981e332a7001155cb 100644
--- a/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix
+++ b/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix
@@ -3,13 +3,13 @@
buildGoPackage rec {
pname = "gitlab-workhorse";
- version = "8.14.0";
+ version = "8.14.1";
src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitlab-workhorse";
rev = "v${version}";
- sha256 = "1cqx75h4x4chjvp72kzbln8qkm5p7p2w7x8bdd99g38kf21wxxaq";
+ sha256 = "19flb9b9l9214ykwgjphcqrinncnfvhis7nrvcr4ns6rlpxnc9dl";
};
goPackagePath = "gitlab.com/gitlab-org/gitlab-workhorse";
diff --git a/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile b/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile
index 920f778c053f1ad4129766047c6bc460ecdfafa5..d27bc276088c873aa70a2bec8d97e27535ac8ccb 100644
--- a/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile
+++ b/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile
@@ -8,12 +8,12 @@ gem 'bootsnap', '~> 1.4'
gem 'nakayoshi_fork', '~> 0.0.4'
# Responders respond_to and respond_with
-gem 'responders', '~> 2.0'
+gem 'responders', '~> 3.0'
gem 'sprockets', '~> 3.7.0'
# Default values for AR models
-gem 'default_value_for', '~> 3.2.0'
+gem 'default_value_for', '~> 3.3.0'
# Supported DBs
gem 'pg', '~> 1.1'
@@ -42,7 +42,7 @@ gem 'omniauth-shibboleth', '~> 1.3.0'
gem 'omniauth-twitter', '~> 1.4'
gem 'omniauth_crowd', '~> 2.2.0'
gem 'omniauth-authentiq', '~> 0.3.3'
-gem 'omniauth_openid_connect', '~> 0.3.1'
+gem 'omniauth_openid_connect', '~> 0.3.3'
gem "omniauth-ultraauth", '~> 0.0.2'
gem 'omniauth-salesforce', '~> 1.0.5'
gem 'rack-oauth2', '~> 1.9.3'
@@ -64,7 +64,7 @@ gem 'u2f', '~> 0.2.1'
# GitLab Pages
gem 'validates_hostname', '~> 1.0.6'
-gem 'rubyzip', '~> 1.2.2', require: 'zip'
+gem 'rubyzip', '~> 1.3.0', require: 'zip'
# GitLab Pages letsencrypt support
gem 'acme-client', '~> 2.0.2'
@@ -72,7 +72,7 @@ gem 'acme-client', '~> 2.0.2'
gem 'browser', '~> 2.5'
# GPG
-gem 'gpgme', '~> 2.0.18'
+gem 'gpgme', '~> 2.0.19'
# LDAP Auth
# GitLab fork with several improvements to original library. For full list of changes
@@ -136,7 +136,7 @@ gem 'faraday_middleware-aws-signers-v4'
# Markdown and HTML processing
gem 'html-pipeline', '~> 2.8'
-gem 'deckar01-task_list', '2.2.0'
+gem 'deckar01-task_list', '2.2.1'
gem 'gitlab-markup', '~> 1.7.0'
gem 'github-markup', '~> 1.7.0', require: 'github/markup'
gem 'commonmarker', '~> 0.17'
@@ -151,7 +151,7 @@ gem 'asciidoctor-plantuml', '0.0.9'
gem 'rouge', '~> 3.11.0'
gem 'truncato', '~> 0.7.11'
gem 'bootstrap_form', '~> 4.2.0'
-gem 'nokogiri', '~> 1.10.4'
+gem 'nokogiri', '~> 1.10.5'
gem 'escape_utils', '~> 1.1'
# Calendar rendering
@@ -159,6 +159,7 @@ gem 'icalendar'
# Diffs
gem 'diffy', '~> 3.1.0'
+gem 'diff_match_patch', '~> 0.1.0'
# Application server
gem 'rack', '~> 2.0.7'
@@ -175,7 +176,7 @@ group :puma do
end
# State machine
-gem 'state_machines-activerecord', '~> 0.5.1'
+gem 'state_machines-activerecord', '~> 0.6.0'
# Issue tags
gem 'acts-as-taggable-on', '~> 6.0'
@@ -259,9 +260,6 @@ gem 'loofah', '~> 2.2'
# Working with license
gem 'licensee', '~> 8.9'
-# Protect against bruteforcing
-gem 'rack-attack', '~> 4.4.1'
-
# Ace editor
gem 'ace-rails-ap', '~> 4.1.0'
@@ -293,10 +291,13 @@ gem 'base32', '~> 0.3.0'
gem "gitlab-license", "~> 1.0"
+# Protect against bruteforcing
+gem 'rack-attack', '~> 6.2.0'
+
# Sentry integration
gem 'sentry-raven', '~> 2.9'
-gem 'premailer-rails', '~> 1.9.7'
+gem 'premailer-rails', '~> 1.10.3'
# LabKit: Tracing and Correlation
gem 'gitlab-labkit', '~> 0.5'
@@ -331,7 +332,6 @@ group :metrics do
end
group :development do
- gem 'foreman', '~> 0.84.0'
gem 'brakeman', '~> 4.2', require: false
gem 'danger', '~> 6.0', require: false
@@ -388,7 +388,6 @@ group :development, :test do
gem 'benchmark-ips', '~> 2.3.0', require: false
- gem 'license_finder', '~> 5.4', require: false
gem 'knapsack', '~> 1.17'
gem 'stackprof', '~> 0.2.10', require: false
@@ -398,6 +397,11 @@ group :development, :test do
gem 'timecop', '~> 0.8.0'
end
+# Gems required in omnibus-gitlab pipeline
+group :development, :test, :omnibus do
+ gem 'license_finder', '~> 5.4', require: false
+end
+
group :test do
gem 'shoulda-matchers', '~> 4.0.1', require: false
gem 'email_spec', '~> 2.2.0'
@@ -407,6 +411,7 @@ group :test do
gem 'concurrent-ruby', '~> 1.1'
gem 'test-prof', '~> 0.10.0'
gem 'rspec_junit_formatter'
+ gem 'guard-rspec'
end
gem 'octokit', '~> 4.9'
@@ -446,18 +451,18 @@ group :ed25519 do
end
# Gitaly GRPC protocol definitions
-gem 'gitaly', '~> 1.65.0'
+gem 'gitaly', '~> 1.70.0'
-gem 'grpc', '~> 1.19.0'
+gem 'grpc', '~> 1.24.0'
-gem 'google-protobuf', '~> 3.7.1'
+gem 'google-protobuf', '~> 3.8.0'
gem 'toml-rb', '~> 1.0.0', require: false
# Feature toggles
-gem 'flipper', '~> 0.13.0'
-gem 'flipper-active_record', '~> 0.13.0'
-gem 'flipper-active_support_cache_store', '~> 0.13.0'
+gem 'flipper', '~> 0.17.1'
+gem 'flipper-active_record', '~> 0.17.1'
+gem 'flipper-active_support_cache_store', '~> 0.17.1'
gem 'unleash', '~> 0.1.5'
# Structured logging
@@ -469,3 +474,5 @@ gem 'gitlab-net-dns', '~> 0.9.1'
# Countries list
gem 'countries', '~> 3.0'
+
+gem 'retriable', '~> 3.1.2'
diff --git a/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile.lock b/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile.lock
index 18160932c56f2fcbc8db903d21219bbb17d0aa9a..15465cd6b03a1f0888c19531aa900f25e5f93d4b 100644
--- a/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile.lock
+++ b/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile.lock
@@ -50,8 +50,8 @@ GEM
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
- acts-as-taggable-on (6.0.0)
- activerecord (~> 5.0)
+ acts-as-taggable-on (6.5.0)
+ activerecord (>= 5.0, < 6.1)
adamantium (0.2.0)
ice_nine (~> 0.11.0)
memoizable (~> 0.4.0)
@@ -80,14 +80,16 @@ GEM
encryptor (~> 3.0.0)
attr_required (1.0.1)
awesome_print (1.8.0)
- aws-sdk (2.9.32)
- aws-sdk-resources (= 2.9.32)
- aws-sdk-core (2.9.32)
+ aws-eventstream (1.0.3)
+ aws-sdk (2.11.374)
+ aws-sdk-resources (= 2.11.374)
+ aws-sdk-core (2.11.374)
aws-sigv4 (~> 1.0)
jmespath (~> 1.0)
- aws-sdk-resources (2.9.32)
- aws-sdk-core (= 2.9.32)
- aws-sigv4 (1.0.0)
+ aws-sdk-resources (2.11.374)
+ aws-sdk-core (= 2.11.374)
+ aws-sigv4 (1.1.0)
+ aws-eventstream (~> 1.0, >= 1.0.2)
axiom-types (0.1.1)
descendants_tracker (~> 0.0.4)
ice_nine (~> 0.11.0)
@@ -171,9 +173,9 @@ GEM
unicode_utils (~> 1.4)
crack (0.4.3)
safe_yaml (~> 1.0.0)
- crass (1.0.4)
+ crass (1.0.5)
creole (0.5.0)
- css_parser (1.5.0)
+ css_parser (1.7.0)
addressable
daemons (1.2.6)
danger (6.0.9)
@@ -192,12 +194,12 @@ GEM
database_cleaner (1.7.0)
debug_inspector (0.0.3)
debugger-ruby_core_source (1.3.8)
- deckar01-task_list (2.2.0)
+ deckar01-task_list (2.2.1)
html-pipeline
declarative (0.0.10)
declarative-option (0.1.0)
- default_value_for (3.2.0)
- activerecord (>= 3.2.0, < 6.0)
+ default_value_for (3.3.0)
+ activerecord (>= 3.2.0, < 6.1)
derailed_benchmarks (1.3.5)
benchmark-ips (~> 2)
get_process_mem (~> 0)
@@ -222,6 +224,7 @@ GEM
railties
rotp (~> 2.0)
diff-lcs (1.3)
+ diff_match_patch (0.1.0)
diffy (3.1.0)
discordrb-webhooks-blackst0ne (3.3.0)
rest-client (~> 2.0)
@@ -285,13 +288,13 @@ GEM
fast_gettext (1.6.0)
ffaker (2.10.0)
ffi (1.11.1)
- flipper (0.13.0)
- flipper-active_record (0.13.0)
- activerecord (>= 3.2, < 6)
- flipper (~> 0.13.0)
- flipper-active_support_cache_store (0.13.0)
- activesupport (>= 3.2, < 6)
- flipper (~> 0.13.0)
+ flipper (0.17.1)
+ flipper-active_record (0.17.1)
+ activerecord (>= 4.2, < 7)
+ flipper (~> 0.17.1)
+ flipper-active_support_cache_store (0.17.1)
+ activesupport (>= 4.2, < 7)
+ flipper (~> 0.17.1)
flowdock (0.7.1)
httparty (~> 0.7)
multi_json
@@ -332,10 +335,8 @@ GEM
fog-xml (0.1.3)
fog-core
nokogiri (>= 1.5.11, < 2.0.0)
- font-awesome-rails (4.7.0.4)
- railties (>= 3.2, < 6.0)
- foreman (0.84.0)
- thor (~> 0.19.1)
+ font-awesome-rails (4.7.0.5)
+ railties (>= 3.2, < 6.1)
formatador (0.2.5)
fugit (1.2.1)
et-orbi (~> 1.1, >= 1.1.8)
@@ -358,12 +359,12 @@ GEM
po_to_json (>= 1.0.0)
rails (>= 3.2.0)
git (1.5.0)
- gitaly (1.65.0)
+ gitaly (1.70.0)
grpc (~> 1.0)
github-markup (1.7.0)
- gitlab-labkit (0.5.2)
- actionpack (~> 5)
- activesupport (~> 5)
+ gitlab-labkit (0.7.0)
+ actionpack (>= 5.0.0, < 6.1.0)
+ activesupport (>= 5.0.0, < 6.1.0)
grpc (~> 1.19)
jaeger-client (~> 0.10)
opentracing (~> 0.4)
@@ -400,7 +401,7 @@ GEM
mime-types (~> 3.0)
representable (~> 3.0)
retriable (>= 2.0, < 4.0)
- google-protobuf (3.7.1)
+ google-protobuf (3.8.0)
googleapis-common-protos-types (1.0.4)
google-protobuf (~> 3.0)
googleauth (0.6.6)
@@ -410,7 +411,7 @@ GEM
multi_json (~> 1.11)
os (>= 0.9, < 2.0)
signet (~> 0.7)
- gpgme (2.0.18)
+ gpgme (2.0.19)
mini_portile2 (~> 2.3)
grape (1.1.0)
activesupport
@@ -440,11 +441,25 @@ GEM
graphql (~> 1.6)
html-pipeline (~> 2.8)
sass (~> 3.4)
- grpc (1.19.0)
- google-protobuf (~> 3.1)
- googleapis-common-protos-types (~> 1.0.0)
+ grpc (1.24.0)
+ google-protobuf (~> 3.8)
+ googleapis-common-protos-types (~> 1.0)
gssapi (1.2.0)
ffi (>= 1.0.1)
+ guard (2.15.1)
+ formatador (>= 0.2.4)
+ listen (>= 2.7, < 4.0)
+ lumberjack (>= 1.0.12, < 2.0)
+ nenv (~> 0.1)
+ notiffany (~> 0.0)
+ pry (>= 0.9.12)
+ shellany (~> 0.0)
+ thor (>= 0.18.1)
+ guard-compat (1.2.1)
+ guard-rspec (4.7.3)
+ guard (~> 2.1)
+ guard-compat (~> 1.1)
+ rspec (>= 2.99.0, < 4.0)
haml (5.0.4)
temple (>= 0.8.0)
tilt
@@ -508,7 +523,7 @@ GEM
atlassian-jwt
multipart-post
oauth (~> 0.5, >= 0.5.0)
- jmespath (1.3.1)
+ jmespath (1.4.0)
js_regex (3.1.1)
character_set (~> 1.1)
regexp_parser (~> 1.1)
@@ -560,15 +575,20 @@ GEM
xml-simple
licensee (8.9.2)
rugged (~> 0.24)
+ listen (3.1.5)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ ruby_dep (~> 1.2)
locale (2.1.2)
lograge (0.10.0)
actionpack (>= 4)
activesupport (>= 4)
railties (>= 4)
request_store (~> 1.0)
- loofah (2.3.0)
+ loofah (2.3.1)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
+ lumberjack (1.0.13)
mail (2.7.1)
mini_mime (>= 0.1.1)
mail_room (0.9.1)
@@ -584,7 +604,7 @@ GEM
mime-types-data (3.2019.0331)
mimemagic (0.3.2)
mini_magick (4.9.5)
- mini_mime (1.0.1)
+ mini_mime (1.0.2)
mini_portile2 (2.4.0)
minitest (5.11.3)
msgpack (1.3.1)
@@ -597,16 +617,20 @@ GEM
mustermann (~> 1.0.0)
nakayoshi_fork (0.0.4)
nap (1.1.0)
+ nenv (0.3.0)
net-ldap (0.16.0)
net-ntp (2.1.3)
net-ssh (5.2.0)
netrc (0.11.0)
nio4r (2.3.1)
no_proxy_fix (0.1.2)
- nokogiri (1.10.4)
+ nokogiri (1.10.5)
mini_portile2 (~> 2.4.0)
nokogumbo (1.5.0)
nokogiri
+ notiffany (0.1.3)
+ nenv (~> 0.1)
+ shellany (~> 0.0)
numerizer (0.1.1)
oauth (0.5.4)
oauth2 (1.4.1)
@@ -675,12 +699,12 @@ GEM
activesupport
nokogiri (>= 1.4.4)
omniauth (~> 1.0)
- omniauth_openid_connect (0.3.1)
+ omniauth_openid_connect (0.3.3)
addressable (~> 2.5)
- omniauth (~> 1.3)
+ omniauth (~> 1.9)
openid_connect (~> 1.1)
open4 (1.3.4)
- openid_connect (1.1.6)
+ openid_connect (1.1.8)
activemodel
attr_required (>= 1.0.0)
json-jwt (>= 1.5.0)
@@ -703,12 +727,12 @@ GEM
pg (1.1.4)
po_to_json (1.0.1)
json (>= 1.6.0)
- premailer (1.10.4)
+ premailer (1.11.1)
addressable
- css_parser (>= 1.4.10)
+ css_parser (>= 1.6.0)
htmlentities (>= 4.0.0)
- premailer-rails (1.9.7)
- actionmailer (>= 3, < 6)
+ premailer-rails (1.10.3)
+ actionmailer (>= 3)
premailer (~> 1.7, >= 1.7.9)
proc_to_ast (0.1.0)
coderay
@@ -724,7 +748,7 @@ GEM
pry (~> 0.10)
pry-rails (0.3.6)
pry (>= 0.10.4)
- public_suffix (3.1.0)
+ public_suffix (3.1.1)
puma (3.12.0)
puma_worker_killer (0.1.0)
get_process_mem (~> 0.2)
@@ -734,8 +758,8 @@ GEM
rack (2.0.7)
rack-accept (0.4.5)
rack (>= 0.4)
- rack-attack (4.4.1)
- rack
+ rack-attack (6.2.0)
+ rack (>= 1.0, < 3)
rack-cors (1.0.2)
rack-oauth2 (1.9.3)
activesupport
@@ -763,10 +787,10 @@ GEM
bundler (>= 1.3.0)
railties (= 5.2.3)
sprockets-rails (>= 2.0.0)
- rails-controller-testing (1.0.2)
- actionpack (~> 5.x, >= 5.0.1)
- actionview (~> 5.x, >= 5.0.1)
- activesupport (~> 5.x)
+ rails-controller-testing (1.0.4)
+ actionpack (>= 5.0.1.x)
+ actionview (>= 5.0.1.x)
+ activesupport (>= 5.0.1.x)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
@@ -798,25 +822,25 @@ GEM
recaptcha (4.13.1)
json
recursive-open-struct (1.1.0)
- redis (4.1.2)
- redis-actionpack (5.0.2)
- actionpack (>= 4.0, < 6)
+ redis (4.1.3)
+ redis-actionpack (5.1.0)
+ actionpack (>= 4.0, < 7)
redis-rack (>= 1, < 3)
redis-store (>= 1.1.0, < 2)
- redis-activesupport (5.0.7)
- activesupport (>= 3, < 6)
+ redis-activesupport (5.2.0)
+ activesupport (>= 3, < 7)
redis-store (>= 1.3, < 2)
redis-namespace (1.6.0)
redis (>= 3.0.4)
- redis-rack (2.0.5)
+ redis-rack (2.0.6)
rack (>= 1.5, < 3)
redis-store (>= 1.2, < 2)
redis-rails (5.0.2)
redis-actionpack (>= 5.0, < 6)
redis-activesupport (>= 5.0, < 6)
redis-store (>= 1.2, < 2)
- redis-store (1.6.0)
- redis (>= 2.2, < 5)
+ redis-store (1.8.1)
+ redis (>= 4, < 5)
regexp_parser (1.5.1)
regexp_property_values (0.3.4)
representable (3.0.4)
@@ -824,9 +848,9 @@ GEM
declarative-option (< 0.2.0)
uber (< 0.2.0)
request_store (1.3.1)
- responders (2.4.1)
- actionpack (>= 4.2.0, < 6.0)
- railties (>= 4.2.0, < 6.0)
+ responders (3.0.0)
+ actionpack (>= 5.0)
+ railties (>= 5.0)
rest-client (2.0.2)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
@@ -897,11 +921,12 @@ GEM
ruby-progressbar (1.10.1)
ruby-saml (1.7.2)
nokogiri (>= 1.5.10)
+ ruby_dep (1.5.0)
ruby_parser (3.13.1)
sexp_processor (~> 4.9)
rubyntlm (0.6.2)
rubypants (0.2.0)
- rubyzip (1.2.2)
+ rubyzip (1.3.0)
rugged (0.28.3.1)
safe_yaml (1.0.4)
sanitize (4.6.6)
@@ -938,6 +963,7 @@ GEM
faraday (>= 0.7.6, < 1.0)
settingslogic (2.0.9)
sexp_processor (4.12.0)
+ shellany (0.0.1)
shoulda-matchers (4.0.1)
activesupport (>= 4.2.0)
sidekiq (5.2.7)
@@ -978,11 +1004,11 @@ GEM
sshkey (2.0.0)
stackprof (0.2.10)
state_machines (0.5.0)
- state_machines-activemodel (0.5.1)
- activemodel (>= 4.1, < 6.0)
+ state_machines-activemodel (0.7.1)
+ activemodel (>= 4.1)
state_machines (>= 0.5.0)
- state_machines-activerecord (0.5.1)
- activerecord (>= 4.1, < 6.0)
+ state_machines-activerecord (0.6.0)
+ activerecord (>= 4.1)
state_machines-activemodel (>= 0.5.0)
swd (1.1.2)
activesupport (>= 3)
@@ -1127,12 +1153,13 @@ DEPENDENCIES
creole (~> 0.5.0)
danger (~> 6.0)
database_cleaner (~> 1.7.0)
- deckar01-task_list (= 2.2.0)
- default_value_for (~> 3.2.0)
+ deckar01-task_list (= 2.2.1)
+ default_value_for (~> 3.3.0)
derailed_benchmarks
device_detector
devise (~> 4.6)
devise-two-factor (~> 3.0.0)
+ diff_match_patch (~> 0.1.0)
diffy (~> 3.1.0)
discordrb-webhooks-blackst0ne (~> 3.3)
doorkeeper (~> 4.3)
@@ -1149,9 +1176,9 @@ DEPENDENCIES
faraday_middleware-aws-signers-v4
fast_blank
ffaker (~> 2.10)
- flipper (~> 0.13.0)
- flipper-active_record (~> 0.13.0)
- flipper-active_support_cache_store (~> 0.13.0)
+ flipper (~> 0.17.1)
+ flipper-active_record (~> 0.17.1)
+ flipper-active_support_cache_store (~> 0.17.1)
flowdock (~> 0.7)
fog-aliyun (~> 0.3)
fog-aws (~> 3.5)
@@ -1161,14 +1188,13 @@ DEPENDENCIES
fog-openstack (~> 1.0)
fog-rackspace (~> 0.1.1)
font-awesome-rails (~> 4.7)
- foreman (~> 0.84.0)
fugit (~> 1.2.1)
fuubar (~> 2.2.0)
gemojione (~> 3.3)
gettext (~> 3.2.2)
gettext_i18n_rails (~> 1.8.0)
gettext_i18n_rails_js (~> 1.3)
- gitaly (~> 1.65.0)
+ gitaly (~> 1.70.0)
github-markup (~> 1.7.0)
gitlab-labkit (~> 0.5)
gitlab-license (~> 1.0)
@@ -1181,8 +1207,8 @@ DEPENDENCIES
gitlab_omniauth-ldap (~> 2.1.1)
gon (~> 6.2)
google-api-client (~> 0.23)
- google-protobuf (~> 3.7.1)
- gpgme (~> 2.0.18)
+ google-protobuf (~> 3.8.0)
+ gpgme (~> 2.0.19)
grape (~> 1.1.0)
grape-entity (~> 0.7.1)
grape-path-helpers (~> 1.1)
@@ -1190,8 +1216,9 @@ DEPENDENCIES
graphiql-rails (~> 1.4.10)
graphql (~> 1.9.11)
graphql-docs (~> 1.6.0)
- grpc (~> 1.19.0)
+ grpc (~> 1.24.0)
gssapi
+ guard-rspec
haml_lint (~> 0.31.0)
hamlit (~> 2.8.8)
hangouts-chat (~> 0.0.5)
@@ -1226,7 +1253,7 @@ DEPENDENCIES
net-ldap
net-ntp
net-ssh (~> 5.2)
- nokogiri (~> 1.10.4)
+ nokogiri (~> 1.10.5)
oauth2 (~> 1.4)
octokit (~> 4.9)
omniauth (~> 1.8)
@@ -1246,17 +1273,17 @@ DEPENDENCIES
omniauth-twitter (~> 1.4)
omniauth-ultraauth (~> 0.0.2)
omniauth_crowd (~> 2.2.0)
- omniauth_openid_connect (~> 0.3.1)
+ omniauth_openid_connect (~> 0.3.3)
org-ruby (~> 0.9.12)
pg (~> 1.1)
- premailer-rails (~> 1.9.7)
+ premailer-rails (~> 1.10.3)
prometheus-client-mmap (~> 0.9.10)
pry-byebug (~> 3.5.1)
pry-rails (~> 0.3.4)
puma (~> 3.12)
puma_worker_killer
rack (~> 2.0.7)
- rack-attack (~> 4.4.1)
+ rack-attack (~> 6.2.0)
rack-cors (~> 1.0.0)
rack-oauth2 (~> 1.9.3)
rack-proxy (~> 0.6.0)
@@ -1275,7 +1302,8 @@ DEPENDENCIES
redis-namespace (~> 1.6.0)
redis-rails (~> 5.0.2)
request_store (~> 1.3)
- responders (~> 2.0)
+ responders (~> 3.0)
+ retriable (~> 3.1.2)
rouge (~> 3.11.0)
rqrcode-rails3 (~> 0.1.7)
rspec-parameterized
@@ -1291,7 +1319,7 @@ DEPENDENCIES
ruby-prof (~> 1.0.0)
ruby-progressbar
ruby_parser (~> 3.8)
- rubyzip (~> 1.2.2)
+ rubyzip (~> 1.3.0)
rugged (~> 0.28)
sanitize (~> 4.6)
sassc-rails (~> 2.1.0)
@@ -1312,7 +1340,7 @@ DEPENDENCIES
sprockets (~> 3.7.0)
sshkey (~> 2.0)
stackprof (~> 0.2.10)
- state_machines-activerecord (~> 0.5.1)
+ state_machines-activerecord (~> 0.6.0)
sys-filesystem (~> 1.1.6)
test-prof (~> 0.10.0)
thin (~> 1.7.0)
diff --git a/pkgs/applications/version-management/gitlab/rubyEnv/gemset.nix b/pkgs/applications/version-management/gitlab/rubyEnv/gemset.nix
index 84a984ea2b355b2329fbc24669155a509fae58ee..dc9c8128d2fe2c3f556ce85356a1b058cd5503ac 100644
--- a/pkgs/applications/version-management/gitlab/rubyEnv/gemset.nix
+++ b/pkgs/applications/version-management/gitlab/rubyEnv/gemset.nix
@@ -146,10 +146,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0hl52pjgfzy3acdwnbxfqy08m808vlv9dmsyp03d5x7x0y499kvl";
+ sha256 = "1nvhd986xa6llyjnhikq4h1nrcf5b9r9s11if25qsj8358inrpga";
type = "gem";
};
- version = "6.0.0";
+ version = "6.5.0";
};
adamantium = {
dependencies = ["ice_nine" "memoizable"];
@@ -309,16 +309,26 @@
};
version = "1.8.0";
};
+ aws-eventstream = {
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "100g77a5ixg4p5zwq77f28n2pdkk0y481f7v83qrlmnj22318qq6";
+ type = "gem";
+ };
+ version = "1.0.3";
+ };
aws-sdk = {
dependencies = ["aws-sdk-resources"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "03r754cqa0jayf1nxpcmp1anaypxwpcjyjaq5cz7i04l9jdxvsnn";
+ sha256 = "1yvl9bxzaxgcyzix2yw46cgll9nl0xfg5qx1j6y3xc1i78rk7vy0";
type = "gem";
};
- version = "2.9.32";
+ version = "2.11.374";
};
aws-sdk-core = {
dependencies = ["aws-sigv4" "jmespath"];
@@ -326,10 +336,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1pq09wwb74y4m5adk4hi4zlz05q6sxjxij6g71v6nkd0z83hi34x";
+ sha256 = "1d7nw1jihv7rglcmkd3hhidjflbzq5ik63n43q27pmx8ki108rd9";
type = "gem";
};
- version = "2.9.32";
+ version = "2.11.374";
};
aws-sdk-resources = {
dependencies = ["aws-sdk-core"];
@@ -337,20 +347,21 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "15m56k12x9gzkcyhwrab1qhi3wqla0qmv84dkqcjwp44d7c2xjyi";
+ sha256 = "0qx2a67vsw8rz1y0m04f97p1q4zx7miy06a5ck78hm77nvsigjj4";
type = "gem";
};
- version = "2.9.32";
+ version = "2.11.374";
};
aws-sigv4 = {
+ dependencies = ["aws-eventstream"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0cnrfxbaxn86qrxhfidg10f89ka1hddihakdhcvnri0dljaw7dsz";
+ sha256 = "1dfc8i5cxjwlvi4b665lbpbwvks8a6wfy3vfmwr3pjdmxwdmc2cs";
type = "gem";
};
- version = "1.0.0";
+ version = "1.1.0";
};
axiom-types = {
dependencies = ["descendants_tracker" "ice_nine" "thread_safe"];
@@ -814,10 +825,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0bpxzy6gjw9ggjynlxschbfsgmx8lv3zw1azkjvnb8b9i895dqfi";
+ sha256 = "030sc98kjrb36rh7g21qsbdfxrj6knsjkx0mn3b7gig8zknwhp2f";
type = "gem";
};
- version = "1.0.4";
+ version = "1.0.5";
};
creole = {
groups = ["default"];
@@ -835,10 +846,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0jlr17cn044yaq4l3d9p42g3bghnamwsprq9c39xn6pxjrn5k1hy";
+ sha256 = "1y4vc018b5mzp7winw4pbb22jk0dpxp22pzzxq7w0rgvfxzi89pd";
type = "gem";
};
- version = "1.5.0";
+ version = "1.7.0";
};
daemons = {
groups = ["default" "development"];
@@ -901,10 +912,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0s637v5pi5ipmv0gn9g2wwjpxdm27dvppfjd8ml0dc1m0jsm7964";
+ sha256 = "09k7rlxsl7pd5kn3wyswgqi0hhbmlj40b66l4mf8v9mqf3c7v0yk";
type = "gem";
};
- version = "2.2.0";
+ version = "2.2.1";
};
declarative = {
groups = ["default"];
@@ -932,10 +943,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1xj9d1y2fk3kxfm1kyiwasjpw6r1w7c1xjx26sm3c33xhmz57fla";
+ sha256 = "08hwnnqm3bxd4n627isliq79zysdlmfkf813403v0b4mkhika5my";
type = "gem";
};
- version = "3.2.0";
+ version = "3.3.0";
};
derailed_benchmarks = {
dependencies = ["benchmark-ips" "get_process_mem" "heapy" "memory_profiler" "rack" "rake" "thor"];
@@ -1001,6 +1012,16 @@
};
version = "1.3";
};
+ diff_match_patch = {
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "03n4g4w2pwiygmqq5lfhqrpbs9g6kv0jhb3vrffz3vgaryzmfq5k";
+ type = "gem";
+ };
+ version = "0.1.0";
+ };
diffy = {
groups = ["default"];
platforms = [];
@@ -1374,10 +1395,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1pdj9y3k6padiicfraxw9ibx9fm8yi2ihh608736lq5nnbf3k6gw";
+ sha256 = "01gbn1qmcvn49gjcbvd5fga57qc8l3915kb04ikkffvb6n09q7f7";
type = "gem";
};
- version = "0.13.0";
+ version = "0.17.1";
};
flipper-active_record = {
dependencies = ["activerecord" "flipper"];
@@ -1385,10 +1406,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0rgm4h5h6xcbf17z47sw8ancaxva8x4hwlxmyqpm0vzj1pnc47c1";
+ sha256 = "154q9xajqs64gxa9fv4hwpad44x3rmwgpldrb941i8wi37dpzskg";
type = "gem";
};
- version = "0.13.0";
+ version = "0.17.1";
};
flipper-active_support_cache_store = {
dependencies = ["activesupport" "flipper"];
@@ -1396,10 +1417,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0zpikmfhadb7l1ny6xbhk5d4840im6yq0wvfsnlw718spxi4ccgk";
+ sha256 = "0mkbyn3mx3f411x4z1l1djc9vix3wrfzd5rhrmxb83iqp60r42hg";
type = "gem";
};
- version = "0.13.0";
+ version = "0.17.1";
};
flowdock = {
dependencies = ["httparty" "multi_json"];
@@ -1517,21 +1538,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "11mf7bk2737pyxjwba3a9lpgcxzbp0vgq01n2dn30774zysc90hj";
+ sha256 = "0a32q69rdsdw9zhmf2cflvvnikg20amidhn40sv2afw2qk91fcrz";
type = "gem";
};
- version = "4.7.0.4";
- };
- foreman = {
- dependencies = ["thor"];
- groups = ["development"];
- platforms = [];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "06mq39lpmc17bxzlwhad9d8i0lcnbb08xr18smh2x79mm631wsw0";
- type = "gem";
- };
- version = "0.84.0";
+ version = "4.7.0.5";
};
formatador = {
groups = ["default"];
@@ -1645,10 +1655,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0h8jzwifqgkrgh9d05g0vsdkyrnk75i53lmm3pfp9rj47gvn1z1j";
+ sha256 = "0b705d2fmdisirf3hydakswdr8jq786wbqn053gvxgssrwcdlrq3";
type = "gem";
};
- version = "1.65.0";
+ version = "1.70.0";
};
github-markup = {
groups = ["default"];
@@ -1666,10 +1676,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1j06gl4ksd83rycg3fb46bb77iw74i1ivs5li6pyf5klrxjq8k3h";
+ sha256 = "0r2zkxkj2l78c6qgr6k9lgcp7w6x7r703259rbsbrg7cfnjm43b7";
type = "gem";
};
- version = "0.5.2";
+ version = "0.7.0";
};
gitlab-license = {
groups = ["default"];
@@ -1794,10 +1804,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "04988m3hmllg4sl4syjb35x0wzsg7rj1nmvhx3d9ihml22w76gb2";
+ sha256 = "0by3289irdklb9gjqw41fq6mg6yja3iyzh99dj8p8z9l4brllqn4";
type = "gem";
};
- version = "3.7.1";
+ version = "3.8.0";
};
googleapis-common-protos-types = {
dependencies = ["google-protobuf"];
@@ -1827,10 +1837,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "12fqirxr964mc8jwsfl5nif6q4wcckrmj7w4c9ci4xg9xy2b9v6m";
+ sha256 = "0jbqajngi5ndqfarw9dxkhbphva0j71jav5wfym3fsiisvk5gg6p";
type = "gem";
};
- version = "2.0.18";
+ version = "2.0.19";
};
grape = {
dependencies = ["activesupport" "builder" "mustermann-grape" "rack" "rack-accept" "virtus"];
@@ -1914,10 +1924,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1rdywzism5vxz8pnml6xjb9f19diclyy74014z69q01jzqwi1wgs";
+ sha256 = "18wikj9qd4jb4lks55cs2cf3q7fifnanm9z9ywnxhpj57vbnilpf";
type = "gem";
};
- version = "1.19.0";
+ version = "1.24.0";
};
gssapi = {
dependencies = ["ffi"];
@@ -1930,6 +1940,38 @@
};
version = "1.2.0";
};
+ guard = {
+ dependencies = ["formatador" "listen" "lumberjack" "nenv" "notiffany" "pry" "shellany" "thor"];
+ groups = ["default" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "000hn5cdqz3wl99b245q958c5byi2dlsqi814q5gmyljv7i47zwf";
+ type = "gem";
+ };
+ version = "2.15.1";
+ };
+ guard-compat = {
+ groups = ["default" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1zj6sr1k8w59mmi27rsii0v8xyy2rnsi09nqvwpgj1q10yq1mlis";
+ type = "gem";
+ };
+ version = "1.2.1";
+ };
+ guard-rspec = {
+ dependencies = ["guard" "guard-compat" "rspec"];
+ groups = ["test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1jkm5xp90gm4c5s51pmf92i9hc10gslwwic6mvk72g0yplya0yx4";
+ type = "gem";
+ };
+ version = "4.7.3";
+ };
haml = {
dependencies = ["temple" "tilt"];
groups = ["default" "development" "test"];
@@ -2241,10 +2283,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "07w8ipjg59qavijq59hl82zs74jf3jsp7vxl9q3a2d0wpv5akz3y";
+ sha256 = "1d4wac0dcd1jf6kc57891glih9w57552zgqswgy74d1xhgnk0ngf";
type = "gem";
};
- version = "1.3.1";
+ version = "1.4.0";
};
js_regex = {
dependencies = ["character_set" "regexp_parser" "regexp_property_values"];
@@ -2450,6 +2492,17 @@
};
version = "8.9.2";
};
+ listen = {
+ dependencies = ["rb-fsevent" "rb-inotify" "ruby_dep"];
+ groups = ["default" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "01v5mrnfqm6sgm8xn2v5swxsn1wlmq7rzh2i48d4jzjsc7qvb6mx";
+ type = "gem";
+ };
+ version = "3.1.5";
+ };
locale = {
groups = ["default" "development"];
platforms = [];
@@ -2477,10 +2530,20 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "06kfq90vi38gv6i128f4zg462kj32szs5vsgm25hxgw9zd12pj9x";
+ sha256 = "0npqav026zd7r4qdidq9x5nxcp2dzg71bnp421xxx7sngbxf2xbd";
type = "gem";
};
- version = "2.3.0";
+ version = "2.3.1";
+ };
+ lumberjack = {
+ groups = ["default" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "06im7gcg42x77yhz2w5da2ly9xz0n0c36y5ks7xs53v0l9g0vf5n";
+ type = "gem";
+ };
+ version = "1.0.13";
};
mail = {
dependencies = ["mini_mime"];
@@ -2605,10 +2668,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1q4pshq387lzv9m39jv32vwb8wrq3wc4jwgl4jk209r4l33v09d3";
+ sha256 = "1axm0rxyx3ss93wbmfkm78a6x03l8y4qy60rhkkiq0aza0vwq3ha";
type = "gem";
};
- version = "1.0.1";
+ version = "1.0.2";
};
mini_portile2 = {
groups = ["default" "development" "test"];
@@ -2721,6 +2784,16 @@
};
version = "1.1.0";
};
+ nenv = {
+ groups = ["default" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0r97jzknll9bhd8yyg2bngnnkj8rjhal667n7d32h8h7ny7nvpnr";
+ type = "gem";
+ };
+ version = "0.3.0";
+ };
net-ldap = {
groups = ["default"];
platforms = [];
@@ -2787,10 +2860,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0nmdrqqz1gs0fwkgzxjl4wr554gr8dc1fkrqjc2jpsvwgm41rygv";
+ sha256 = "185g3dwba73jqxjr94bd2zk6fil6n9hmcfnfyzh3p1w47vm296r7";
type = "gem";
};
- version = "1.10.4";
+ version = "1.10.5";
};
nokogumbo = {
dependencies = ["nokogiri"];
@@ -2803,6 +2876,17 @@
};
version = "1.5.0";
};
+ notiffany = {
+ dependencies = ["nenv" "shellany"];
+ groups = ["default" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0f47h3bmg1apr4x51szqfv3rh2vq58z3grh4w02cp3bzbdh6jxnk";
+ type = "gem";
+ };
+ version = "0.1.3";
+ };
numerizer = {
groups = ["default"];
platforms = [];
@@ -3071,10 +3155,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0ja7cjlm4z0k0pwwy64djl58pay3lzkw7im565fybs4a8q4wmacb";
+ sha256 = "0awybp2jnai0w2qfgqnr3f478g3nbg5r0vcm6pa5g8k5f4rs19qr";
type = "gem";
};
- version = "0.3.1";
+ version = "0.3.3";
};
open4 = {
groups = ["default" "development"];
@@ -3092,10 +3176,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1r13bv18nyvw0g1nw3fzffvv2si99zj24w0k5zgawf4q6nn5f7vd";
+ sha256 = "0r50vwf9hsf6r8gx5mwqs3w3w92l864ikiz9d0fcibqsr1489pbg";
type = "gem";
};
- version = "1.1.6";
+ version = "1.1.8";
};
opentracing = {
groups = ["default"];
@@ -3206,10 +3290,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "10w6f7r6snpkcnv3byxma9b08lyqzcfxkm083scb2dr2ly4xkzyf";
+ sha256 = "1xrhmialxn5vlp1nmf40a4db9gji4h2wbzd7f43sz64z8lvrjj6h";
type = "gem";
};
- version = "1.10.4";
+ version = "1.11.1";
};
premailer-rails = {
dependencies = ["actionmailer" "premailer"];
@@ -3217,10 +3301,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "05czxmx6hnykg6g23hy2ww2bf86a69njbi02sv7lrds4w776jhim";
+ sha256 = "0bqi7d4f15vy3f1g0xb3bxmncfbzv9dd3ilhqj0plvw64xqbkp3w";
type = "gem";
};
- version = "1.9.7";
+ version = "1.10.3";
};
proc_to_ast = {
dependencies = ["coderay" "parser" "unparser"];
@@ -3299,10 +3383,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1c7c5xxkx91hwj4572hbnyvxmydb90q69wlpr2l0dxrmwx2p365l";
+ sha256 = "0g9ds2ffzljl6jjmkjffwxc1z6lh5nkqqmhhkxjk71q5ggv0rkpm";
type = "gem";
};
- version = "3.1.0";
+ version = "3.1.1";
};
puma = {
groups = ["puma"];
@@ -3372,10 +3456,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1czx68p70x98y21dkdndsb64lrxf9qrv09wl1dbcxrypcjnpsdl1";
+ sha256 = "1sqjqwa18c0l59zdymcvvvnh5nk3pjggnzaydb2q1qbrk3rypcnq";
type = "gem";
};
- version = "4.4.1";
+ version = "6.2.0";
};
rack-cors = {
groups = ["default"];
@@ -3458,10 +3542,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "16kdkk73mhhs73iz3i1i0ryjm84dadiyh817b3nh8acdi490jyhy";
+ sha256 = "1m1rklj6pvzi4fydxcmcv4q0xd7913hhhw1hw530nfz1wkl7vjlf";
type = "gem";
};
- version = "1.0.2";
+ version = "1.0.4";
};
rails-dom-testing = {
dependencies = ["activesupport" "nokogiri"];
@@ -3640,10 +3724,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1mymdx7s5sr4mablklaipz679ckczsiigswm1g2v5mc93yj5amw3";
+ sha256 = "08v2y91q1pmv12g9zsvwj66w3s8j9d82yrmxgyv4y4gz380j3wyh";
type = "gem";
};
- version = "4.1.2";
+ version = "4.1.3";
};
redis-actionpack = {
dependencies = ["actionpack" "redis-rack" "redis-store"];
@@ -3651,10 +3735,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "15k41gz7nygd4yydk2yd25gghya1j7q6zifk4mdrra6bwnwjbm63";
+ sha256 = "1hvai5ygkyii9wq8h98wim8shgrm7vkv0js62zpm85vdl1xzvphz";
type = "gem";
};
- version = "5.0.2";
+ version = "5.1.0";
};
redis-activesupport = {
dependencies = ["activesupport" "redis-store"];
@@ -3662,10 +3746,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0y1df62gpqgy0yrlmgl05rp4kb0xvn0kylprhv1k32bs33dgpv62";
+ sha256 = "14a3z8810j02ysvg53f3mvcfb4rw34m91yfd19zy9y5lb3yv2g59";
type = "gem";
};
- version = "5.0.7";
+ version = "5.2.0";
};
redis-namespace = {
dependencies = ["redis"];
@@ -3684,10 +3768,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "03xgdmq4fh187aqlh8z05idbxrmgddcarlb8x1kw4wjfcsf5afqi";
+ sha256 = "1pa19ydbk0l6wilwbxcjn6knfs4ffgj0rhaaldrlhf76pjgkaiqb";
type = "gem";
};
- version = "2.0.5";
+ version = "2.0.6";
};
redis-rails = {
dependencies = ["redis-actionpack" "redis-activesupport" "redis-store"];
@@ -3706,10 +3790,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1mrcnjgkbmx1zf569mly82agdizqayjvnp2k6055k1iy07in3j8b";
+ sha256 = "1isqzzds9kszc2nn8jiy8ikry01qspn7637ba9z2k6sk7vky46d9";
type = "gem";
};
- version = "1.6.0";
+ version = "1.8.1";
};
regexp_parser = {
groups = ["default" "development" "test"];
@@ -3758,10 +3842,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "18lqbiyc7234vd6iwxia5yvvzg6bdvdwl2nm4a5y7ia5fxjl3kqm";
+ sha256 = "1p7pqcfq33q1z4xlp4qm94w4h3fzc1yvr3cny16d00i8b20v4rx2";
type = "gem";
};
- version = "2.4.1";
+ version = "3.0.0";
};
rest-client = {
dependencies = ["http-cookie" "mime-types" "netrc"];
@@ -4052,6 +4136,16 @@
};
version = "1.7.2";
};
+ ruby_dep = {
+ groups = ["default" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1c1bkl97i9mkcvkn1jks346ksnvnnp84cs22gwl0vd7radybrgy5";
+ type = "gem";
+ };
+ version = "1.5.0";
+ };
ruby_parser = {
dependencies = ["sexp_processor"];
groups = ["default"];
@@ -4084,14 +4178,14 @@
version = "0.2.0";
};
rubyzip = {
- groups = ["default" "development" "test"];
+ groups = ["default" "development" "omnibus" "test"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1n1lb2sdwh9h27y244hxzg1lrxxg2m53pk1vq7p33bna003qkyrj";
+ sha256 = "1qxc2zxwwipm6kviiar4gfhcakpx1jdcs89v6lvzivn5hq1xk78l";
type = "gem";
};
- version = "1.2.2";
+ version = "1.3.0";
};
rugged = {
groups = ["default"];
@@ -4243,6 +4337,16 @@
};
version = "4.12.0";
};
+ shellany = {
+ groups = ["default" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1ryyzrj1kxmnpdzhlv4ys3dnl2r5r3d2rs2jwzbnd1v96a8pl4hf";
+ type = "gem";
+ };
+ version = "0.0.1";
+ };
shoulda-matchers = {
dependencies = ["activesupport"];
groups = ["test"];
@@ -4439,10 +4543,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0chhm5hs1y83dq8haff10m66r3yrm7jab35r9xg6adn6qd8ynv2l";
+ sha256 = "05c2dw3115zj3pmyyqh2iypc7afj8ibhrghisg0d61z7gzmir1rd";
type = "gem";
};
- version = "0.5.1";
+ version = "0.7.1";
};
state_machines-activerecord = {
dependencies = ["activerecord" "state_machines-activemodel"];
@@ -4450,10 +4554,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "00h07gd4kb22ahgv61r8zca9hqxaw44fnk2sc28j00c1nmwsw6r3";
+ sha256 = "12g7yqy11fpfiprzc86pwa9jjky1h3haxj37kg47467fgg43p511";
type = "gem";
};
- version = "0.5.1";
+ version = "0.6.0";
};
swd = {
dependencies = ["activesupport" "attr_required" "httpclient"];
diff --git a/pkgs/applications/version-management/gitlab/update.py b/pkgs/applications/version-management/gitlab/update.py
index 1aeb459f64c9e770732e12658cc5cafabfa468de..a2231f813e824795bcc6b0cb469a5dbe565abed5 100755
--- a/pkgs/applications/version-management/gitlab/update.py
+++ b/pkgs/applications/version-management/gitlab/update.py
@@ -1,5 +1,5 @@
#!/usr/bin/env nix-shell
-#! nix-shell -i python3 -p bundix common-updater-scripts nix nix-prefetch-git python3 python3Packages.requests python3Packages.lxml python3Packages.click python3Packages.click-log vgo2nix yarn2nix-moretea.yarn2nix
+#! nix-shell -i python3 -p bundix common-updater-scripts nix nix-prefetch-git python3 python3Packages.requests python3Packages.lxml python3Packages.click python3Packages.click-log vgo2nix yarn2nix
import click
import click_log
diff --git a/pkgs/applications/version-management/gitlab/yarnPkgs.nix b/pkgs/applications/version-management/gitlab/yarnPkgs.nix
index cff2603129d52c4cc8fe14970b25fcf2cf89eb01..04c0b44f4ac5155f105213fc8c622a4eddafa6e7 100644
--- a/pkgs/applications/version-management/gitlab/yarnPkgs.nix
+++ b/pkgs/applications/version-management/gitlab/yarnPkgs.nix
@@ -41,14 +41,6 @@
sha1 = "6b69628dfe4087798e0c4ed98e3d4a6b2fbd2f5f";
};
}
- {
- name = "_babel_helper_builder_react_jsx___helper_builder_react_jsx_7.3.0.tgz";
- path = fetchurl {
- name = "_babel_helper_builder_react_jsx___helper_builder_react_jsx_7.3.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.3.0.tgz";
- sha1 = "a1ac95a5d2b3e88ae5e54846bf462eeb81b318a4";
- };
- }
{
name = "_babel_helper_call_delegate___helper_call_delegate_7.4.4.tgz";
path = fetchurl {
@@ -209,14 +201,6 @@
sha1 = "56d11312bd9248fa619591d02472be6e8cb32540";
};
}
- {
- name = "_babel_parser___parser_7.1.3.tgz";
- path = fetchurl {
- name = "_babel_parser___parser_7.1.3.tgz";
- url = "https://registry.yarnpkg.com/@babel/parser/-/parser-7.1.3.tgz";
- sha1 = "2c92469bac2b7fbff810b67fca07bd138b48af77";
- };
- }
{
name = "_babel_parser___parser_7.6.2.tgz";
path = fetchurl {
@@ -241,22 +225,6 @@
sha1 = "a974cfae1e37c3110e71f3c6a2e48b8e71958cd4";
};
}
- {
- name = "_babel_plugin_proposal_decorators___plugin_proposal_decorators_7.4.4.tgz";
- path = fetchurl {
- name = "_babel_plugin_proposal_decorators___plugin_proposal_decorators_7.4.4.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.4.4.tgz";
- sha1 = "de9b2a1a8ab0196f378e2a82f10b6e2a36f21cc0";
- };
- }
- {
- name = "_babel_plugin_proposal_do_expressions___plugin_proposal_do_expressions_7.5.0.tgz";
- path = fetchurl {
- name = "_babel_plugin_proposal_do_expressions___plugin_proposal_do_expressions_7.5.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-proposal-do-expressions/-/plugin-proposal-do-expressions-7.5.0.tgz";
- sha1 = "ceb594d4a618545b00aa0b5cd61cad4aaaeb7a5a";
- };
- }
{
name = "_babel_plugin_proposal_dynamic_import___plugin_proposal_dynamic_import_7.5.0.tgz";
path = fetchurl {
@@ -265,38 +233,6 @@
sha1 = "e532202db4838723691b10a67b8ce509e397c506";
};
}
- {
- name = "_babel_plugin_proposal_export_default_from___plugin_proposal_export_default_from_7.5.2.tgz";
- path = fetchurl {
- name = "_babel_plugin_proposal_export_default_from___plugin_proposal_export_default_from_7.5.2.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.5.2.tgz";
- sha1 = "2c0ac2dcc36e3b2443fead2c3c5fc796fb1b5145";
- };
- }
- {
- name = "_babel_plugin_proposal_export_namespace_from___plugin_proposal_export_namespace_from_7.5.2.tgz";
- path = fetchurl {
- name = "_babel_plugin_proposal_export_namespace_from___plugin_proposal_export_namespace_from_7.5.2.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.5.2.tgz";
- sha1 = "ccd5ed05b06d700688ff1db01a9dd27155e0d2a0";
- };
- }
- {
- name = "_babel_plugin_proposal_function_bind___plugin_proposal_function_bind_7.2.0.tgz";
- path = fetchurl {
- name = "_babel_plugin_proposal_function_bind___plugin_proposal_function_bind_7.2.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-proposal-function-bind/-/plugin-proposal-function-bind-7.2.0.tgz";
- sha1 = "94dc2cdc505cafc4e225c0014335a01648056bf7";
- };
- }
- {
- name = "_babel_plugin_proposal_function_sent___plugin_proposal_function_sent_7.5.0.tgz";
- path = fetchurl {
- name = "_babel_plugin_proposal_function_sent___plugin_proposal_function_sent_7.5.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-proposal-function-sent/-/plugin-proposal-function-sent-7.5.0.tgz";
- sha1 = "39233aa801145e7d8072077cdb2d25f781c1ffd7";
- };
- }
{
name = "_babel_plugin_proposal_json_strings___plugin_proposal_json_strings_7.2.0.tgz";
path = fetchurl {
@@ -305,30 +241,6 @@
sha1 = "568ecc446c6148ae6b267f02551130891e29f317";
};
}
- {
- name = "_babel_plugin_proposal_logical_assignment_operators___plugin_proposal_logical_assignment_operators_7.2.0.tgz";
- path = fetchurl {
- name = "_babel_plugin_proposal_logical_assignment_operators___plugin_proposal_logical_assignment_operators_7.2.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.2.0.tgz";
- sha1 = "8a5cea6c42a7c87446959e02fff5fad012c56f57";
- };
- }
- {
- name = "_babel_plugin_proposal_nullish_coalescing_operator___plugin_proposal_nullish_coalescing_operator_7.4.4.tgz";
- path = fetchurl {
- name = "_babel_plugin_proposal_nullish_coalescing_operator___plugin_proposal_nullish_coalescing_operator_7.4.4.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.4.4.tgz";
- sha1 = "41c360d59481d88e0ce3a3f837df10121a769b39";
- };
- }
- {
- name = "_babel_plugin_proposal_numeric_separator___plugin_proposal_numeric_separator_7.2.0.tgz";
- path = fetchurl {
- name = "_babel_plugin_proposal_numeric_separator___plugin_proposal_numeric_separator_7.2.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.2.0.tgz";
- sha1 = "646854daf4cd22fd6733f6076013a936310443ac";
- };
- }
{
name = "_babel_plugin_proposal_object_rest_spread___plugin_proposal_object_rest_spread_7.6.2.tgz";
path = fetchurl {
@@ -345,22 +257,6 @@
sha1 = "135d81edb68a081e55e56ec48541ece8065c38f5";
};
}
- {
- name = "_babel_plugin_proposal_optional_chaining___plugin_proposal_optional_chaining_7.2.0.tgz";
- path = fetchurl {
- name = "_babel_plugin_proposal_optional_chaining___plugin_proposal_optional_chaining_7.2.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.2.0.tgz";
- sha1 = "ae454f4c21c6c2ce8cb2397dc332ae8b420c5441";
- };
- }
- {
- name = "_babel_plugin_proposal_pipeline_operator___plugin_proposal_pipeline_operator_7.5.0.tgz";
- path = fetchurl {
- name = "_babel_plugin_proposal_pipeline_operator___plugin_proposal_pipeline_operator_7.5.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-proposal-pipeline-operator/-/plugin-proposal-pipeline-operator-7.5.0.tgz";
- sha1 = "4100ec55ef4f6a4c2490b5f5a4f2a22dfa272c06";
- };
- }
{
name = "_babel_plugin_proposal_private_methods___plugin_proposal_private_methods_7.6.0.tgz";
path = fetchurl {
@@ -369,14 +265,6 @@
sha1 = "19ddc493c7b5d47afdd4291e740c609a83c9fae4";
};
}
- {
- name = "_babel_plugin_proposal_throw_expressions___plugin_proposal_throw_expressions_7.2.0.tgz";
- path = fetchurl {
- name = "_babel_plugin_proposal_throw_expressions___plugin_proposal_throw_expressions_7.2.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-proposal-throw-expressions/-/plugin-proposal-throw-expressions-7.2.0.tgz";
- sha1 = "2d9e452d370f139000e51db65d0a85dc60c64739";
- };
- }
{
name = "_babel_plugin_proposal_unicode_property_regex___plugin_proposal_unicode_property_regex_7.6.2.tgz";
path = fetchurl {
@@ -393,22 +281,6 @@
sha1 = "69e1f0db34c6f5a0cf7e2b3323bf159a76c8cb7f";
};
}
- {
- name = "_babel_plugin_syntax_decorators___plugin_syntax_decorators_7.2.0.tgz";
- path = fetchurl {
- name = "_babel_plugin_syntax_decorators___plugin_syntax_decorators_7.2.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.2.0.tgz";
- sha1 = "c50b1b957dcc69e4b1127b65e1c33eef61570c1b";
- };
- }
- {
- name = "_babel_plugin_syntax_do_expressions___plugin_syntax_do_expressions_7.2.0.tgz";
- path = fetchurl {
- name = "_babel_plugin_syntax_do_expressions___plugin_syntax_do_expressions_7.2.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-syntax-do-expressions/-/plugin-syntax-do-expressions-7.2.0.tgz";
- sha1 = "f3d4b01be05ecde2892086d7cfd5f1fa1ead5a2a";
- };
- }
{
name = "_babel_plugin_syntax_dynamic_import___plugin_syntax_dynamic_import_7.2.0.tgz";
path = fetchurl {
@@ -417,46 +289,6 @@
sha1 = "69c159ffaf4998122161ad8ebc5e6d1f55df8612";
};
}
- {
- name = "_babel_plugin_syntax_export_default_from___plugin_syntax_export_default_from_7.2.0.tgz";
- path = fetchurl {
- name = "_babel_plugin_syntax_export_default_from___plugin_syntax_export_default_from_7.2.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.2.0.tgz";
- sha1 = "edd83b7adc2e0d059e2467ca96c650ab6d2f3820";
- };
- }
- {
- name = "_babel_plugin_syntax_export_namespace_from___plugin_syntax_export_namespace_from_7.2.0.tgz";
- path = fetchurl {
- name = "_babel_plugin_syntax_export_namespace_from___plugin_syntax_export_namespace_from_7.2.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.2.0.tgz";
- sha1 = "8d257838c6b3b779db52c0224443459bd27fb039";
- };
- }
- {
- name = "_babel_plugin_syntax_flow___plugin_syntax_flow_7.2.0.tgz";
- path = fetchurl {
- name = "_babel_plugin_syntax_flow___plugin_syntax_flow_7.2.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.2.0.tgz";
- sha1 = "a765f061f803bc48f240c26f8747faf97c26bf7c";
- };
- }
- {
- name = "_babel_plugin_syntax_function_bind___plugin_syntax_function_bind_7.2.0.tgz";
- path = fetchurl {
- name = "_babel_plugin_syntax_function_bind___plugin_syntax_function_bind_7.2.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-syntax-function-bind/-/plugin-syntax-function-bind-7.2.0.tgz";
- sha1 = "68fe85b0c0da67125f87bf239c68051b06c66309";
- };
- }
- {
- name = "_babel_plugin_syntax_function_sent___plugin_syntax_function_sent_7.2.0.tgz";
- path = fetchurl {
- name = "_babel_plugin_syntax_function_sent___plugin_syntax_function_sent_7.2.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-syntax-function-sent/-/plugin-syntax-function-sent-7.2.0.tgz";
- sha1 = "91474d4d400604e4c6cbd4d77cd6cb3b8565576c";
- };
- }
{
name = "_babel_plugin_syntax_import_meta___plugin_syntax_import_meta_7.2.0.tgz";
path = fetchurl {
@@ -473,38 +305,6 @@
sha1 = "72bd13f6ffe1d25938129d2a186b11fd62951470";
};
}
- {
- name = "_babel_plugin_syntax_jsx___plugin_syntax_jsx_7.2.0.tgz";
- path = fetchurl {
- name = "_babel_plugin_syntax_jsx___plugin_syntax_jsx_7.2.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.2.0.tgz";
- sha1 = "0b85a3b4bc7cdf4cc4b8bf236335b907ca22e7c7";
- };
- }
- {
- name = "_babel_plugin_syntax_logical_assignment_operators___plugin_syntax_logical_assignment_operators_7.2.0.tgz";
- path = fetchurl {
- name = "_babel_plugin_syntax_logical_assignment_operators___plugin_syntax_logical_assignment_operators_7.2.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.2.0.tgz";
- sha1 = "fcab7388530e96c6f277ce494c55caa6c141fcfb";
- };
- }
- {
- name = "_babel_plugin_syntax_nullish_coalescing_operator___plugin_syntax_nullish_coalescing_operator_7.2.0.tgz";
- path = fetchurl {
- name = "_babel_plugin_syntax_nullish_coalescing_operator___plugin_syntax_nullish_coalescing_operator_7.2.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.2.0.tgz";
- sha1 = "f75083dfd5ade73e783db729bbd87e7b9efb7624";
- };
- }
- {
- name = "_babel_plugin_syntax_numeric_separator___plugin_syntax_numeric_separator_7.2.0.tgz";
- path = fetchurl {
- name = "_babel_plugin_syntax_numeric_separator___plugin_syntax_numeric_separator_7.2.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.2.0.tgz";
- sha1 = "7470fe070c2944469a756752a69a6963135018be";
- };
- }
{
name = "_babel_plugin_syntax_object_rest_spread___plugin_syntax_object_rest_spread_7.2.0.tgz";
path = fetchurl {
@@ -521,30 +321,6 @@
sha1 = "a94013d6eda8908dfe6a477e7f9eda85656ecf5c";
};
}
- {
- name = "_babel_plugin_syntax_optional_chaining___plugin_syntax_optional_chaining_7.2.0.tgz";
- path = fetchurl {
- name = "_babel_plugin_syntax_optional_chaining___plugin_syntax_optional_chaining_7.2.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.2.0.tgz";
- sha1 = "a59d6ae8c167e7608eaa443fda9fa8fa6bf21dff";
- };
- }
- {
- name = "_babel_plugin_syntax_pipeline_operator___plugin_syntax_pipeline_operator_7.5.0.tgz";
- path = fetchurl {
- name = "_babel_plugin_syntax_pipeline_operator___plugin_syntax_pipeline_operator_7.5.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-syntax-pipeline-operator/-/plugin-syntax-pipeline-operator-7.5.0.tgz";
- sha1 = "8ea7c2c22847c797748bf07752722a317079dc1e";
- };
- }
- {
- name = "_babel_plugin_syntax_throw_expressions___plugin_syntax_throw_expressions_7.2.0.tgz";
- path = fetchurl {
- name = "_babel_plugin_syntax_throw_expressions___plugin_syntax_throw_expressions_7.2.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-syntax-throw-expressions/-/plugin-syntax-throw-expressions-7.2.0.tgz";
- sha1 = "79001ee2afe1b174b1733cdc2fc69c9a46a0f1f8";
- };
- }
{
name = "_babel_plugin_transform_arrow_functions___plugin_transform_arrow_functions_7.2.0.tgz";
path = fetchurl {
@@ -625,14 +401,6 @@
sha1 = "a63868289e5b4007f7054d46491af51435766008";
};
}
- {
- name = "_babel_plugin_transform_flow_strip_types___plugin_transform_flow_strip_types_7.4.4.tgz";
- path = fetchurl {
- name = "_babel_plugin_transform_flow_strip_types___plugin_transform_flow_strip_types_7.4.4.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.4.4.tgz";
- sha1 = "d267a081f49a8705fc9146de0768c6b58dccd8f7";
- };
- }
{
name = "_babel_plugin_transform_for_of___plugin_transform_for_of_7.4.4.tgz";
path = fetchurl {
@@ -737,38 +505,6 @@
sha1 = "03e33f653f5b25c4eb572c98b9485055b389e905";
};
}
- {
- name = "_babel_plugin_transform_react_display_name___plugin_transform_react_display_name_7.2.0.tgz";
- path = fetchurl {
- name = "_babel_plugin_transform_react_display_name___plugin_transform_react_display_name_7.2.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.2.0.tgz";
- sha1 = "ebfaed87834ce8dc4279609a4f0c324c156e3eb0";
- };
- }
- {
- name = "_babel_plugin_transform_react_jsx_self___plugin_transform_react_jsx_self_7.2.0.tgz";
- path = fetchurl {
- name = "_babel_plugin_transform_react_jsx_self___plugin_transform_react_jsx_self_7.2.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.2.0.tgz";
- sha1 = "461e21ad9478f1031dd5e276108d027f1b5240ba";
- };
- }
- {
- name = "_babel_plugin_transform_react_jsx_source___plugin_transform_react_jsx_source_7.5.0.tgz";
- path = fetchurl {
- name = "_babel_plugin_transform_react_jsx_source___plugin_transform_react_jsx_source_7.5.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.5.0.tgz";
- sha1 = "583b10c49cf057e237085bcbd8cc960bd83bd96b";
- };
- }
- {
- name = "_babel_plugin_transform_react_jsx___plugin_transform_react_jsx_7.3.0.tgz";
- path = fetchurl {
- name = "_babel_plugin_transform_react_jsx___plugin_transform_react_jsx_7.3.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.3.0.tgz";
- sha1 = "f2cab99026631c767e2745a5368b331cfe8f5290";
- };
- }
{
name = "_babel_plugin_transform_regenerator___plugin_transform_regenerator_7.4.5.tgz";
path = fetchurl {
@@ -841,30 +577,6 @@
sha1 = "abbb3ed785c7fe4220d4c82a53621d71fc0c75d3";
};
}
- {
- name = "_babel_preset_flow___preset_flow_7.0.0.tgz";
- path = fetchurl {
- name = "_babel_preset_flow___preset_flow_7.0.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/preset-flow/-/preset-flow-7.0.0.tgz";
- sha1 = "afd764835d9535ec63d8c7d4caf1c06457263da2";
- };
- }
- {
- name = "_babel_preset_react___preset_react_7.0.0.tgz";
- path = fetchurl {
- name = "_babel_preset_react___preset_react_7.0.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.0.0.tgz";
- sha1 = "e86b4b3d99433c7b3e9e91747e2653958bc6b3c0";
- };
- }
- {
- name = "_babel_preset_stage_0___preset_stage_0_7.0.0.tgz";
- path = fetchurl {
- name = "_babel_preset_stage_0___preset_stage_0_7.0.0.tgz";
- url = "https://registry.yarnpkg.com/@babel/preset-stage-0/-/preset-stage-0-7.0.0.tgz";
- sha1 = "999aaec79ee8f0a763042c68c06539c97c6e0646";
- };
- }
{
name = "_babel_standalone___standalone_7.5.5.tgz";
path = fetchurl {
@@ -938,27 +650,27 @@
};
}
{
- name = "_gitlab_svgs___svgs_1.78.0.tgz";
+ name = "_gitlab_svgs___svgs_1.82.0.tgz";
path = fetchurl {
- name = "_gitlab_svgs___svgs_1.78.0.tgz";
- url = "https://registry.yarnpkg.com/@gitlab/svgs/-/svgs-1.78.0.tgz";
- sha1 = "469493bd6cdd254eb5d1271edeab22bbbee2f4c4";
+ name = "_gitlab_svgs___svgs_1.82.0.tgz";
+ url = "https://registry.yarnpkg.com/@gitlab/svgs/-/svgs-1.82.0.tgz";
+ sha1 = "c059c460afc13ebfe9df370521ca8963fa5afb80";
};
}
{
- name = "_gitlab_ui___ui_5.36.0.tgz";
+ name = "_gitlab_ui___ui_7.11.0.tgz";
path = fetchurl {
- name = "_gitlab_ui___ui_5.36.0.tgz";
- url = "https://registry.yarnpkg.com/@gitlab/ui/-/ui-5.36.0.tgz";
- sha1 = "3087b23c138ad1c222f6b047e533f253371bc618";
+ name = "_gitlab_ui___ui_7.11.0.tgz";
+ url = "https://registry.yarnpkg.com/@gitlab/ui/-/ui-7.11.0.tgz";
+ sha1 = "b5c981f3b1edbf0ad75bcca8fa1cd81017676b3b";
};
}
{
- name = "_gitlab_visual_review_tools___visual_review_tools_1.0.3.tgz";
+ name = "_gitlab_visual_review_tools___visual_review_tools_1.2.0.tgz";
path = fetchurl {
- name = "_gitlab_visual_review_tools___visual_review_tools_1.0.3.tgz";
- url = "https://registry.yarnpkg.com/@gitlab/visual-review-tools/-/visual-review-tools-1.0.3.tgz";
- sha1 = "b49c4a6fd8af3a1517d7e7d04096562f8bcb5d14";
+ name = "_gitlab_visual_review_tools___visual_review_tools_1.2.0.tgz";
+ url = "https://registry.yarnpkg.com/@gitlab/visual-review-tools/-/visual-review-tools-1.2.0.tgz";
+ sha1 = "8d6757917193c1023012bb4a316dc1a97309a27a";
};
}
{
@@ -1073,6 +785,62 @@
sha1 = "17adc7d380457379cd14cbb64a435ea196cc4a6e";
};
}
+ {
+ name = "_sentry_browser___browser_5.7.1.tgz";
+ path = fetchurl {
+ name = "_sentry_browser___browser_5.7.1.tgz";
+ url = "https://registry.yarnpkg.com/@sentry/browser/-/browser-5.7.1.tgz";
+ sha1 = "1f8435e2a325d7a09f830065ebce40a2b3c708a4";
+ };
+ }
+ {
+ name = "_sentry_core___core_5.7.1.tgz";
+ path = fetchurl {
+ name = "_sentry_core___core_5.7.1.tgz";
+ url = "https://registry.yarnpkg.com/@sentry/core/-/core-5.7.1.tgz";
+ sha1 = "3eb2b7662cac68245931ee939ec809bf7a639d0e";
+ };
+ }
+ {
+ name = "_sentry_hub___hub_5.7.1.tgz";
+ path = fetchurl {
+ name = "_sentry_hub___hub_5.7.1.tgz";
+ url = "https://registry.yarnpkg.com/@sentry/hub/-/hub-5.7.1.tgz";
+ sha1 = "a52acd9fead7f3779d96e9965c6978aecc8b9cad";
+ };
+ }
+ {
+ name = "_sentry_minimal___minimal_5.7.1.tgz";
+ path = fetchurl {
+ name = "_sentry_minimal___minimal_5.7.1.tgz";
+ url = "https://registry.yarnpkg.com/@sentry/minimal/-/minimal-5.7.1.tgz";
+ sha1 = "56afc537737586929e25349765e37a367958c1e1";
+ };
+ }
+ {
+ name = "_sentry_types___types_5.7.1.tgz";
+ path = fetchurl {
+ name = "_sentry_types___types_5.7.1.tgz";
+ url = "https://registry.yarnpkg.com/@sentry/types/-/types-5.7.1.tgz";
+ sha1 = "4c4c1d4d891b6b8c2c3c7b367d306a8b1350f090";
+ };
+ }
+ {
+ name = "_sentry_utils___utils_5.7.1.tgz";
+ path = fetchurl {
+ name = "_sentry_utils___utils_5.7.1.tgz";
+ url = "https://registry.yarnpkg.com/@sentry/utils/-/utils-5.7.1.tgz";
+ sha1 = "cf37ad55f78e317665cd8680f202d307fa77f1d0";
+ };
+ }
+ {
+ name = "_sourcegraph_code_host_integration___code_host_integration_0.0.13.tgz";
+ path = fetchurl {
+ name = "_sourcegraph_code_host_integration___code_host_integration_0.0.13.tgz";
+ url = "https://registry.yarnpkg.com/@sourcegraph/code-host-integration/-/code-host-integration-0.0.13.tgz";
+ sha1 = "4fd5fe1e0088c63b2a26be231c5a2a4ca79b1596";
+ };
+ }
{
name = "_types_anymatch___anymatch_1.3.0.tgz";
path = fetchurl {
@@ -1433,6 +1201,22 @@
sha1 = "114bbc481fd10ca0e23b3560fa812748b0bae5bc";
};
}
+ {
+ name = "_wry_context___context_0.4.4.tgz";
+ path = fetchurl {
+ name = "_wry_context___context_0.4.4.tgz";
+ url = "https://registry.yarnpkg.com/@wry/context/-/context-0.4.4.tgz";
+ sha1 = "e50f5fa1d6cfaabf2977d1fda5ae91717f8815f8";
+ };
+ }
+ {
+ name = "_wry_equality___equality_0.1.9.tgz";
+ path = fetchurl {
+ name = "_wry_equality___equality_0.1.9.tgz";
+ url = "https://registry.yarnpkg.com/@wry/equality/-/equality-0.1.9.tgz";
+ sha1 = "b13e18b7a8053c6858aa6c85b54911fb31e3a909";
+ };
+ }
{
name = "_xtuc_ieee754___ieee754_1.2.0.tgz";
path = fetchurl {
@@ -1457,14 +1241,6 @@
sha1 = "e77a97fbd345b76d83245edcd17d393b1b41fb31";
};
}
- {
- name = "JSONStream___JSONStream_1.3.5.tgz";
- path = fetchurl {
- name = "JSONStream___JSONStream_1.3.5.tgz";
- url = "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz";
- sha1 = "3208c1f08d3a4d99261ab64f92302bc15e111ca0";
- };
- }
{
name = "abab___abab_2.0.0.tgz";
path = fetchurl {
@@ -1658,27 +1434,27 @@
};
}
{
- name = "apollo_cache_inmemory___apollo_cache_inmemory_1.5.1.tgz";
+ name = "apollo_cache_inmemory___apollo_cache_inmemory_1.6.3.tgz";
path = fetchurl {
- name = "apollo_cache_inmemory___apollo_cache_inmemory_1.5.1.tgz";
- url = "https://registry.yarnpkg.com/apollo-cache-inmemory/-/apollo-cache-inmemory-1.5.1.tgz";
- sha1 = "265d1ee67b0bf0aca9c37629d410bfae44e62953";
+ name = "apollo_cache_inmemory___apollo_cache_inmemory_1.6.3.tgz";
+ url = "https://registry.yarnpkg.com/apollo-cache-inmemory/-/apollo-cache-inmemory-1.6.3.tgz";
+ sha1 = "826861d20baca4abc45f7ca7a874105905b8525d";
};
}
{
- name = "apollo_cache___apollo_cache_1.2.1.tgz";
+ name = "apollo_cache___apollo_cache_1.3.2.tgz";
path = fetchurl {
- name = "apollo_cache___apollo_cache_1.2.1.tgz";
- url = "https://registry.yarnpkg.com/apollo-cache/-/apollo-cache-1.2.1.tgz";
- sha1 = "aae71eb4a11f1f7322adc343f84b1a39b0693644";
+ name = "apollo_cache___apollo_cache_1.3.2.tgz";
+ url = "https://registry.yarnpkg.com/apollo-cache/-/apollo-cache-1.3.2.tgz";
+ sha1 = "df4dce56240d6c95c613510d7e409f7214e6d26a";
};
}
{
- name = "apollo_client___apollo_client_2.5.1.tgz";
+ name = "apollo_client___apollo_client_2.6.4.tgz";
path = fetchurl {
- name = "apollo_client___apollo_client_2.5.1.tgz";
- url = "https://registry.yarnpkg.com/apollo-client/-/apollo-client-2.5.1.tgz";
- sha1 = "36126ed1d32edd79c3713c6684546a3bea80e6d1";
+ name = "apollo_client___apollo_client_2.6.4.tgz";
+ url = "https://registry.yarnpkg.com/apollo-client/-/apollo-client-2.6.4.tgz";
+ sha1 = "872c32927263a0d34655c5ef8a8949fbb20b6140";
};
}
{
@@ -1697,14 +1473,6 @@
sha1 = "64eb231082f182b0395ef7ab903600627f6c7fe8";
};
}
- {
- name = "apollo_link_dedup___apollo_link_dedup_1.0.10.tgz";
- path = fetchurl {
- name = "apollo_link_dedup___apollo_link_dedup_1.0.10.tgz";
- url = "https://registry.yarnpkg.com/apollo-link-dedup/-/apollo-link-dedup-1.0.10.tgz";
- sha1 = "7b94589fe7f969777efd18a129043c78430800ae";
- };
- }
{
name = "apollo_link_http_common___apollo_link_http_common_0.2.13.tgz";
path = fetchurl {
@@ -1730,19 +1498,11 @@
};
}
{
- name = "apollo_utilities___apollo_utilities_1.2.1.tgz";
- path = fetchurl {
- name = "apollo_utilities___apollo_utilities_1.2.1.tgz";
- url = "https://registry.yarnpkg.com/apollo-utilities/-/apollo-utilities-1.2.1.tgz";
- sha1 = "1c3a1ebf5607d7c8efe7636daaf58e7463b41b3c";
- };
- }
- {
- name = "append_buffer___append_buffer_1.0.2.tgz";
+ name = "apollo_utilities___apollo_utilities_1.3.2.tgz";
path = fetchurl {
- name = "append_buffer___append_buffer_1.0.2.tgz";
- url = "https://registry.yarnpkg.com/append-buffer/-/append-buffer-1.0.2.tgz";
- sha1 = "d8220cf466081525efea50614f3de6514dfa58f1";
+ name = "apollo_utilities___apollo_utilities_1.3.2.tgz";
+ url = "https://registry.yarnpkg.com/apollo-utilities/-/apollo-utilities-1.3.2.tgz";
+ sha1 = "8cbdcf8b012f664cd6cb5767f6130f5aed9115c9";
};
}
{
@@ -2121,14 +1881,6 @@
sha1 = "66f06136eefce87797539c0d63f1769cc3915984";
};
}
- {
- name = "babelify___babelify_10.0.0.tgz";
- path = fetchurl {
- name = "babelify___babelify_10.0.0.tgz";
- url = "https://registry.yarnpkg.com/babelify/-/babelify-10.0.0.tgz";
- sha1 = "fe73b1a22583f06680d8d072e25a1e0d1d1d7fb5";
- };
- }
{
name = "babylon___babylon_7.0.0_beta.19.tgz";
path = fetchurl {
@@ -2297,14 +2049,6 @@
sha1 = "96b2709e57c9c4e09a6fd66a8fd979844f69f08a";
};
}
- {
- name = "body___body_5.1.0.tgz";
- path = fetchurl {
- name = "body___body_5.1.0.tgz";
- url = "https://registry.yarnpkg.com/body/-/body-5.1.0.tgz";
- sha1 = "e4ba0ce410a46936323367609ecb4e6553125069";
- };
- }
{
name = "bonjour___bonjour_3.5.0.tgz";
path = fetchurl {
@@ -2457,14 +2201,6 @@
sha1 = "9ac78d3ed5d915804fd87acb158bc797147a1719";
};
}
- {
- name = "buffer_equal___buffer_equal_1.0.0.tgz";
- path = fetchurl {
- name = "buffer_equal___buffer_equal_1.0.0.tgz";
- url = "https://registry.yarnpkg.com/buffer-equal/-/buffer-equal-1.0.0.tgz";
- sha1 = "59616b498304d556abd466966b22eeda3eca5fbe";
- };
- }
{
name = "buffer_from___buffer_from_1.1.1.tgz";
path = fetchurl {
@@ -2489,14 +2225,6 @@
sha1 = "f73e13b1e42f196fe2fd67d001c7d7107edd7c23";
};
}
- {
- name = "buffer_shims___buffer_shims_1.0.0.tgz";
- path = fetchurl {
- name = "buffer_shims___buffer_shims_1.0.0.tgz";
- url = "https://registry.yarnpkg.com/buffer-shims/-/buffer-shims-1.0.0.tgz";
- sha1 = "9978ce317388c649ad8793028c3477ef044a8b51";
- };
- }
{
name = "buffer_xor___buffer_xor_1.0.3.tgz";
path = fetchurl {
@@ -2521,14 +2249,6 @@
sha1 = "85982878e21b98e1c66425e03d0174788f569ee8";
};
}
- {
- name = "bytes___bytes_1.0.0.tgz";
- path = fetchurl {
- name = "bytes___bytes_1.0.0.tgz";
- url = "https://registry.yarnpkg.com/bytes/-/bytes-1.0.0.tgz";
- sha1 = "3569ede8ba34315fab99c3e92cb04c7220de1fa8";
- };
- }
{
name = "bytes___bytes_3.0.0.tgz";
path = fetchurl {
@@ -2577,14 +2297,6 @@
sha1 = "9948cae353aec0a1fcb1eafda2300816ec85387e";
};
}
- {
- name = "cached_path_relative___cached_path_relative_1.0.2.tgz";
- path = fetchurl {
- name = "cached_path_relative___cached_path_relative_1.0.2.tgz";
- url = "https://registry.yarnpkg.com/cached-path-relative/-/cached-path-relative-1.0.2.tgz";
- sha1 = "a13df4196d26776220cc3356eb147a52dba2c6db";
- };
- }
{
name = "call_me_maybe___call_me_maybe_1.0.1.tgz";
path = fetchurl {
@@ -2993,14 +2705,6 @@
sha1 = "deefcfdb2e800784aa34f46fa08e06851c7bbbc5";
};
}
- {
- name = "clone_buffer___clone_buffer_1.0.0.tgz";
- path = fetchurl {
- name = "clone_buffer___clone_buffer_1.0.0.tgz";
- url = "https://registry.yarnpkg.com/clone-buffer/-/clone-buffer-1.0.0.tgz";
- sha1 = "e3e25b207ac4e701af721e2cb5a16792cac3dc58";
- };
- }
{
name = "clone_deep___clone_deep_4.0.1.tgz";
path = fetchurl {
@@ -3017,30 +2721,6 @@
sha1 = "7d65e00885cd8796405c35a737e7a86b7429e36f";
};
}
- {
- name = "clone_stats___clone_stats_1.0.0.tgz";
- path = fetchurl {
- name = "clone_stats___clone_stats_1.0.0.tgz";
- url = "https://registry.yarnpkg.com/clone-stats/-/clone-stats-1.0.0.tgz";
- sha1 = "b3782dff8bb5474e18b9b6bf0fdfe782f8777680";
- };
- }
- {
- name = "clone___clone_2.1.2.tgz";
- path = fetchurl {
- name = "clone___clone_2.1.2.tgz";
- url = "https://registry.yarnpkg.com/clone/-/clone-2.1.2.tgz";
- sha1 = "1b7f4b9f591f1e8f83670401600345a02887435f";
- };
- }
- {
- name = "cloneable_readable___cloneable_readable_1.1.3.tgz";
- path = fetchurl {
- name = "cloneable_readable___cloneable_readable_1.1.3.tgz";
- url = "https://registry.yarnpkg.com/cloneable-readable/-/cloneable-readable-1.1.3.tgz";
- sha1 = "120a00cb053bfb63a222e709f9683ea2e11d8cec";
- };
- }
{
name = "co___co_4.6.0.tgz";
path = fetchurl {
@@ -3137,14 +2817,6 @@
sha1 = "2d1d24317afb8abe95d6d2c0b07b57813539d828";
};
}
- {
- name = "comma_separated_tokens___comma_separated_tokens_1.0.7.tgz";
- path = fetchurl {
- name = "comma_separated_tokens___comma_separated_tokens_1.0.7.tgz";
- url = "https://registry.yarnpkg.com/comma-separated-tokens/-/comma-separated-tokens-1.0.7.tgz";
- sha1 = "419cd7fb3258b1ed838dc0953167a25e152f5b59";
- };
- }
{
name = "commander___commander_2.20.0.tgz";
path = fetchurl {
@@ -3241,14 +2913,6 @@
sha1 = "904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34";
};
}
- {
- name = "concat_stream___concat_stream_1.5.2.tgz";
- path = fetchurl {
- name = "concat_stream___concat_stream_1.5.2.tgz";
- url = "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.5.2.tgz";
- sha1 = "708978624d856af41a5a741defdd261da752c266";
- };
- }
{
name = "config_chain___config_chain_1.1.12.tgz";
path = fetchurl {
@@ -3345,14 +3009,6 @@
sha1 = "e138cc75e040c727b1966fe5e5f8c9aee256fe3b";
};
}
- {
- name = "continuable_cache___continuable_cache_0.3.1.tgz";
- path = fetchurl {
- name = "continuable_cache___continuable_cache_0.3.1.tgz";
- url = "https://registry.yarnpkg.com/continuable-cache/-/continuable-cache-0.3.1.tgz";
- sha1 = "bd727a7faed77e71ff3985ac93351a912733ad0f";
- };
- }
{
name = "convert_source_map___convert_source_map_1.6.0.tgz";
path = fetchurl {
@@ -3553,6 +3209,14 @@
sha1 = "a230f64f568310e1498009940790ec99545bca7e";
};
}
+ {
+ name = "crypto_random_string___crypto_random_string_3.0.1.tgz";
+ path = fetchurl {
+ name = "crypto_random_string___crypto_random_string_3.0.1.tgz";
+ url = "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-3.0.1.tgz";
+ sha1 = "29d7dc759d577a768afb3b7b2765dd9bd7ffe36a";
+ };
+ }
{
name = "css_b64_images___css_b64_images_0.2.5.tgz";
path = fetchurl {
@@ -3617,6 +3281,14 @@
sha1 = "37741919903b868565e1c09ea747445cd18983ee";
};
}
+ {
+ name = "cssfontparser___cssfontparser_1.2.1.tgz";
+ path = fetchurl {
+ name = "cssfontparser___cssfontparser_1.2.1.tgz";
+ url = "https://registry.yarnpkg.com/cssfontparser/-/cssfontparser-1.2.1.tgz";
+ sha1 = "f4022fc8f9700c68029d542084afbaf425a3f3e3";
+ };
+ }
{
name = "cssom___cssom_0.3.4.tgz";
path = fetchurl {
@@ -3946,27 +3618,27 @@
};
}
{
- name = "d3___d3_5.9.2.tgz";
+ name = "d3___d3_5.12.0.tgz";
path = fetchurl {
- name = "d3___d3_5.9.2.tgz";
- url = "https://registry.yarnpkg.com/d3/-/d3-5.9.2.tgz";
- sha1 = "64e8a7e9c3d96d9e6e4999d2c8a2c829767e67f5";
+ name = "d3___d3_5.12.0.tgz";
+ url = "https://registry.yarnpkg.com/d3/-/d3-5.12.0.tgz";
+ sha1 = "0ddeac879c28c882317cd439b495290acd59ab61";
};
}
{
- name = "dagre_d3_renderer___dagre_d3_renderer_0.5.8.tgz";
+ name = "https___codeload.github.com_dagrejs_dagre_d3_tar.gz_e1a00e5cb518f5d2304a35647e024f31d178e55b";
path = fetchurl {
- name = "dagre_d3_renderer___dagre_d3_renderer_0.5.8.tgz";
- url = "https://registry.yarnpkg.com/dagre-d3-renderer/-/dagre-d3-renderer-0.5.8.tgz";
- sha1 = "aa071bb71d3c4d67426925906f3f6ddead49c1a3";
+ name = "https___codeload.github.com_dagrejs_dagre_d3_tar.gz_e1a00e5cb518f5d2304a35647e024f31d178e55b";
+ url = "https://codeload.github.com/dagrejs/dagre-d3/tar.gz/e1a00e5cb518f5d2304a35647e024f31d178e55b";
+ sha1 = "7400df3f5fe80538fde43d0201e1570e1d689004";
};
}
{
- name = "dagre_layout___dagre_layout_0.8.8.tgz";
+ name = "dagre___dagre_0.8.4.tgz";
path = fetchurl {
- name = "dagre_layout___dagre_layout_0.8.8.tgz";
- url = "https://registry.yarnpkg.com/dagre-layout/-/dagre-layout-0.8.8.tgz";
- sha1 = "9b6792f24229f402441c14162c1049e3f261f6d9";
+ name = "dagre___dagre_0.8.4.tgz";
+ url = "https://registry.yarnpkg.com/dagre/-/dagre-0.8.4.tgz";
+ sha1 = "26b9fb8f7bdc60c6110a0458c375261836786061";
};
}
{
@@ -4066,11 +3738,11 @@
};
}
{
- name = "deckar01_task_list___deckar01_task_list_2.2.0.tgz";
+ name = "deckar01_task_list___deckar01_task_list_2.2.1.tgz";
path = fetchurl {
- name = "deckar01_task_list___deckar01_task_list_2.2.0.tgz";
- url = "https://registry.yarnpkg.com/deckar01-task_list/-/deckar01-task_list-2.2.0.tgz";
- sha1 = "5cc3ea06f01d3d786b1a667064a462eb5d069bd3";
+ name = "deckar01_task_list___deckar01_task_list_2.2.1.tgz";
+ url = "https://registry.yarnpkg.com/deckar01-task_list/-/deckar01-task_list-2.2.1.tgz";
+ sha1 = "e1e8a16c4fd6e153e51fd9258fdbee067ebcd86b";
};
}
{
@@ -4161,14 +3833,6 @@
sha1 = "d459689e8d654ba77e02a817f8710d702cb16e9d";
};
}
- {
- name = "defined___defined_1.0.0.tgz";
- path = fetchurl {
- name = "defined___defined_1.0.0.tgz";
- url = "https://registry.yarnpkg.com/defined/-/defined-1.0.0.tgz";
- sha1 = "c98d9bcef75674188e110969151199e39b1fa693";
- };
- }
{
name = "del___del_2.2.2.tgz";
path = fetchurl {
@@ -4241,14 +3905,6 @@
sha1 = "978857442c44749e4206613e37946205826abd80";
};
}
- {
- name = "detab___detab_2.0.2.tgz";
- path = fetchurl {
- name = "detab___detab_2.0.2.tgz";
- url = "https://registry.yarnpkg.com/detab/-/detab-2.0.2.tgz";
- sha1 = "074970d1a807b045d0258a4235df5928dd683561";
- };
- }
{
name = "detect_file___detect_file_1.0.0.tgz";
path = fetchurl {
@@ -4281,14 +3937,6 @@
sha1 = "014ee8f8f669c5c58023da64b8179c083a28c46c";
};
}
- {
- name = "detective___detective_4.7.1.tgz";
- path = fetchurl {
- name = "detective___detective_4.7.1.tgz";
- url = "https://registry.yarnpkg.com/detective/-/detective-4.7.1.tgz";
- sha1 = "0eca7314338442febb6d65da54c10bb1c82b246e";
- };
- }
{
name = "di___di_0.0.1.tgz";
path = fetchurl {
@@ -4313,14 +3961,6 @@
sha1 = "800c0dd1e0a8bfbc95835c202ad220fe317e5a12";
};
}
- {
- name = "diff___diff_4.0.1.tgz";
- path = fetchurl {
- name = "diff___diff_4.0.1.tgz";
- url = "https://registry.yarnpkg.com/diff/-/diff-4.0.1.tgz";
- sha1 = "0c667cb467ebbb5cea7f14f135cc2dba7780a8ff";
- };
- }
{
name = "diffie_hellman___diffie_hellman_5.0.2.tgz";
path = fetchurl {
@@ -4369,14 +4009,6 @@
sha1 = "0449a8f6bb247f563020b78a5485dea95ae2e094";
};
}
- {
- name = "doctrine_temporary_fork___doctrine_temporary_fork_2.1.0.tgz";
- path = fetchurl {
- name = "doctrine_temporary_fork___doctrine_temporary_fork_2.1.0.tgz";
- url = "https://registry.yarnpkg.com/doctrine-temporary-fork/-/doctrine-temporary-fork-2.1.0.tgz";
- sha1 = "36f2154f556ee4f1e60311d391cd23de5187ed57";
- };
- }
{
name = "doctrine___doctrine_1.5.0.tgz";
path = fetchurl {
@@ -4401,14 +4033,6 @@
sha1 = "dad8cb7be38e04ee3f56842e6cf81af46c1249ba";
};
}
- {
- name = "documentation___documentation_12.0.3.tgz";
- path = fetchurl {
- name = "documentation___documentation_12.0.3.tgz";
- url = "https://registry.yarnpkg.com/documentation/-/documentation-12.0.3.tgz";
- sha1 = "32f91da8e5cb4104f69db9fd32c87773a1ad6240";
- };
- }
{
name = "dom_serialize___dom_serialize_2.2.1.tgz";
path = fetchurl {
@@ -4489,14 +4113,6 @@
sha1 = "fbe7acbb9918e0706489072ef663effeef8a79f3";
};
}
- {
- name = "duplexer2___duplexer2_0.1.4.tgz";
- path = fetchurl {
- name = "duplexer2___duplexer2_0.1.4.tgz";
- url = "https://registry.yarnpkg.com/duplexer2/-/duplexer2-0.1.4.tgz";
- sha1 = "8b12dab878c0d69e3e7891051662a32fc6bddcc1";
- };
- }
{
name = "duplexer3___duplexer3_0.1.4.tgz";
path = fetchurl {
@@ -4585,14 +4201,6 @@
sha1 = "cac9af8762c85836187003c8dfe193e5e2eae5df";
};
}
- {
- name = "emoji_regex___emoji_regex_6.1.1.tgz";
- path = fetchurl {
- name = "emoji_regex___emoji_regex_6.1.1.tgz";
- url = "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-6.1.1.tgz";
- sha1 = "c6cd0ec1b0642e2a3c67a1137efc5e796da4f88e";
- };
- }
{
name = "emoji_regex___emoji_regex_7.0.3.tgz";
path = fetchurl {
@@ -4713,14 +4321,6 @@
sha1 = "b4ac40648107fdcdcfae242f428bea8a14d4f1bf";
};
}
- {
- name = "error___error_7.0.2.tgz";
- path = fetchurl {
- name = "error___error_7.0.2.tgz";
- url = "https://registry.yarnpkg.com/error/-/error-7.0.2.tgz";
- sha1 = "a5f75fff4d9926126ddac0ea5dc38e689153cb02";
- };
- }
{
name = "es_abstract___es_abstract_1.13.0.tgz";
path = fetchurl {
@@ -5545,14 +5145,6 @@
sha1 = "2c5cc30ded81282bfe8a0d7c7c1853ddeb102c07";
};
}
- {
- name = "fs_mkdirp_stream___fs_mkdirp_stream_1.0.0.tgz";
- path = fetchurl {
- name = "fs_mkdirp_stream___fs_mkdirp_stream_1.0.0.tgz";
- url = "https://registry.yarnpkg.com/fs-mkdirp-stream/-/fs-mkdirp-stream-1.0.0.tgz";
- sha1 = "0b7815fc3201c6a69e14db98ce098c16935259eb";
- };
- }
{
name = "fs_write_stream_atomic___fs_write_stream_atomic_1.0.10.tgz";
path = fetchurl {
@@ -5649,14 +5241,6 @@
sha1 = "4f94412a82db32f36e3b0b9741f8a97feb031f7e";
};
}
- {
- name = "get_port___get_port_4.2.0.tgz";
- path = fetchurl {
- name = "get_port___get_port_4.2.0.tgz";
- url = "https://registry.yarnpkg.com/get-port/-/get-port-4.2.0.tgz";
- sha1 = "e37368b1e863b7629c43c5a323625f95cf24b119";
- };
- }
{
name = "get_stdin___get_stdin_4.0.1.tgz";
path = fetchurl {
@@ -5737,38 +5321,6 @@
sha1 = "882679cefc71888eb6e69297e6b2dc14c0384fef";
};
}
- {
- name = "git_up___git_up_2.1.0.tgz";
- path = fetchurl {
- name = "git_up___git_up_2.1.0.tgz";
- url = "https://registry.yarnpkg.com/git-up/-/git-up-2.1.0.tgz";
- sha1 = "2f14cfe78327e7c4a2b92fcac7bfc674fdfad40c";
- };
- }
- {
- name = "git_url_parse___git_url_parse_10.1.0.tgz";
- path = fetchurl {
- name = "git_url_parse___git_url_parse_10.1.0.tgz";
- url = "https://registry.yarnpkg.com/git-url-parse/-/git-url-parse-10.1.0.tgz";
- sha1 = "a27813218f8777e91d15f1c121b83bf14721b67e";
- };
- }
- {
- name = "github_slugger___github_slugger_1.2.0.tgz";
- path = fetchurl {
- name = "github_slugger___github_slugger_1.2.0.tgz";
- url = "https://registry.yarnpkg.com/github-slugger/-/github-slugger-1.2.0.tgz";
- sha1 = "8ada3286fd046d8951c3c952a8d7854cfd90fd9a";
- };
- }
- {
- name = "github_slugger___github_slugger_1.2.1.tgz";
- path = fetchurl {
- name = "github_slugger___github_slugger_1.2.1.tgz";
- url = "https://registry.yarnpkg.com/github-slugger/-/github-slugger-1.2.1.tgz";
- sha1 = "47e904e70bf2dccd0014748142d31126cfd49508";
- };
- }
{
name = "glob_parent___glob_parent_3.1.0.tgz";
path = fetchurl {
@@ -5785,14 +5337,6 @@
sha1 = "1dc99f0f39b006d3e92c2c284068382f0c20e954";
};
}
- {
- name = "glob_stream___glob_stream_6.1.0.tgz";
- path = fetchurl {
- name = "glob_stream___glob_stream_6.1.0.tgz";
- url = "https://registry.yarnpkg.com/glob-stream/-/glob-stream-6.1.0.tgz";
- sha1 = "7045c99413b3eb94888d83ab46d0b404cc7bdde4";
- };
- }
{
name = "glob_to_regexp___glob_to_regexp_0.3.0.tgz";
path = fetchurl {
@@ -5857,14 +5401,6 @@
sha1 = "fc85f73064df69f50421f47f883fe5b913ba9b97";
};
}
- {
- name = "globals_docs___globals_docs_2.4.0.tgz";
- path = fetchurl {
- name = "globals_docs___globals_docs_2.4.0.tgz";
- url = "https://registry.yarnpkg.com/globals-docs/-/globals-docs-2.4.0.tgz";
- sha1 = "f2c647544eb6161c7c38452808e16e693c2dafbb";
- };
- }
{
name = "globals___globals_11.12.0.tgz";
path = fetchurl {
@@ -5962,11 +5498,11 @@
};
}
{
- name = "graphlibrary___graphlibrary_2.2.0.tgz";
+ name = "graphlib___graphlib_2.1.7.tgz";
path = fetchurl {
- name = "graphlibrary___graphlibrary_2.2.0.tgz";
- url = "https://registry.yarnpkg.com/graphlibrary/-/graphlibrary-2.2.0.tgz";
- sha1 = "017a14899775228dec4497a39babfdd6bf56eac6";
+ name = "graphlib___graphlib_2.1.7.tgz";
+ url = "https://registry.yarnpkg.com/graphlib/-/graphlib-2.1.7.tgz";
+ sha1 = "b6a69f9f44bd9de3963ce6804a2fc9e73d86aecc";
};
}
{
@@ -6153,38 +5689,6 @@
sha1 = "340dedbe6290187151c1ea1d777a3448935df846";
};
}
- {
- name = "hast_util_is_element___hast_util_is_element_1.0.3.tgz";
- path = fetchurl {
- name = "hast_util_is_element___hast_util_is_element_1.0.3.tgz";
- url = "https://registry.yarnpkg.com/hast-util-is-element/-/hast-util-is-element-1.0.3.tgz";
- sha1 = "423b4b26fe8bf1f25950fe052e9ce8f83fd5f6a4";
- };
- }
- {
- name = "hast_util_sanitize___hast_util_sanitize_1.3.1.tgz";
- path = fetchurl {
- name = "hast_util_sanitize___hast_util_sanitize_1.3.1.tgz";
- url = "https://registry.yarnpkg.com/hast-util-sanitize/-/hast-util-sanitize-1.3.1.tgz";
- sha1 = "4e60d66336bd67e52354d581967467029a933f2e";
- };
- }
- {
- name = "hast_util_to_html___hast_util_to_html_4.0.1.tgz";
- path = fetchurl {
- name = "hast_util_to_html___hast_util_to_html_4.0.1.tgz";
- url = "https://registry.yarnpkg.com/hast-util-to-html/-/hast-util-to-html-4.0.1.tgz";
- sha1 = "3666b05afb62bd69f8f5e6c94db04dea19438e2a";
- };
- }
- {
- name = "hast_util_whitespace___hast_util_whitespace_1.0.3.tgz";
- path = fetchurl {
- name = "hast_util_whitespace___hast_util_whitespace_1.0.3.tgz";
- url = "https://registry.yarnpkg.com/hast-util-whitespace/-/hast-util-whitespace-1.0.3.tgz";
- sha1 = "6d161b307bd0693b5ec000c7c7e8b5445109ee34";
- };
- }
{
name = "he___he_1.2.0.tgz";
path = fetchurl {
@@ -6193,14 +5697,6 @@
sha1 = "84ae65fa7eafb165fddb61566ae14baf05664f0f";
};
}
- {
- name = "highlight.js___highlight.js_9.15.8.tgz";
- path = fetchurl {
- name = "highlight.js___highlight.js_9.15.8.tgz";
- url = "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.15.8.tgz";
- sha1 = "f344fda123f36f1a65490e932cf90569e4999971";
- };
- }
{
name = "highlight.js___highlight.js_9.13.1.tgz";
path = fetchurl {
@@ -6281,14 +5777,6 @@
sha1 = "41f57708c9e6b7b46a00a22317d614c4a2bab166";
};
}
- {
- name = "html_void_elements___html_void_elements_1.0.4.tgz";
- path = fetchurl {
- name = "html_void_elements___html_void_elements_1.0.4.tgz";
- url = "https://registry.yarnpkg.com/html-void-elements/-/html-void-elements-1.0.4.tgz";
- sha1 = "95e8bb5ecd6b88766569c2645f2b5f1591db9ba5";
- };
- }
{
name = "htmlparser2___htmlparser2_3.10.0.tgz";
path = fetchurl {
@@ -6441,14 +5929,6 @@
sha1 = "9db1dbd0faf8de6fbe0f5dd5e56bb606280de69b";
};
}
- {
- name = "immutable_tuple___immutable_tuple_0.4.9.tgz";
- path = fetchurl {
- name = "immutable_tuple___immutable_tuple_0.4.9.tgz";
- url = "https://registry.yarnpkg.com/immutable-tuple/-/immutable-tuple-0.4.9.tgz";
- sha1 = "473ebdd6c169c461913a454bf87ef8f601a20ff0";
- };
- }
{
name = "import_fresh___import_fresh_2.0.0.tgz";
path = fetchurl {
@@ -6657,14 +6137,6 @@
sha1 = "554f2933e7385cc46e94351977ca2081170a206e";
};
}
- {
- name = "is_absolute___is_absolute_1.0.0.tgz";
- path = fetchurl {
- name = "is_absolute___is_absolute_1.0.0.tgz";
- url = "https://registry.yarnpkg.com/is-absolute/-/is-absolute-1.0.0.tgz";
- sha1 = "395e1ae84b11f26ad1795e73c17378e48a301576";
- };
- }
{
name = "is_accessor_descriptor___is_accessor_descriptor_0.1.6.tgz";
path = fetchurl {
@@ -6921,14 +6393,6 @@
sha1 = "0dfd98f5a9111716dd535dda6492f67bf3d25a80";
};
}
- {
- name = "is_negated_glob___is_negated_glob_1.0.0.tgz";
- path = fetchurl {
- name = "is_negated_glob___is_negated_glob_1.0.0.tgz";
- url = "https://registry.yarnpkg.com/is-negated-glob/-/is-negated-glob-1.0.0.tgz";
- sha1 = "6910bca5da8c95e784b5751b976cf5a10fee36d2";
- };
- }
{
name = "is_npm___is_npm_1.0.0.tgz";
path = fetchurl {
@@ -7065,14 +6529,6 @@
sha1 = "cd734a56864e23b956bf4e7c66c396a4c0b22c2d";
};
}
- {
- name = "is_relative___is_relative_1.0.0.tgz";
- path = fetchurl {
- name = "is_relative___is_relative_1.0.0.tgz";
- url = "https://registry.yarnpkg.com/is-relative/-/is-relative-1.0.0.tgz";
- sha1 = "a1bb6935ce8c5dba1e8b9754b9b2dcc020e2260d";
- };
- }
{
name = "is_resolvable___is_resolvable_1.1.0.tgz";
path = fetchurl {
@@ -7089,14 +6545,6 @@
sha1 = "11a060568b67339444033d0125a61a20d564fb34";
};
}
- {
- name = "is_ssh___is_ssh_1.3.1.tgz";
- path = fetchurl {
- name = "is_ssh___is_ssh_1.3.1.tgz";
- url = "https://registry.yarnpkg.com/is-ssh/-/is-ssh-1.3.1.tgz";
- sha1 = "f349a8cadd24e65298037a522cf7520f2e81a0f3";
- };
- }
{
name = "is_stream___is_stream_1.1.0.tgz";
path = fetchurl {
@@ -7121,14 +6569,6 @@
sha1 = "e479c80858df0c1b11ddda6940f96011fcda4a9a";
};
}
- {
- name = "is_unc_path___is_unc_path_1.0.0.tgz";
- path = fetchurl {
- name = "is_unc_path___is_unc_path_1.0.0.tgz";
- url = "https://registry.yarnpkg.com/is-unc-path/-/is-unc-path-1.0.0.tgz";
- sha1 = "d731e8898ed090a12c352ad2eaed5095ad322c9d";
- };
- }
{
name = "is_utf8___is_utf8_0.2.1.tgz";
path = fetchurl {
@@ -7137,14 +6577,6 @@
sha1 = "4b0da1442104d1b336340e80797e865cf39f7d72";
};
}
- {
- name = "is_valid_glob___is_valid_glob_1.0.0.tgz";
- path = fetchurl {
- name = "is_valid_glob___is_valid_glob_1.0.0.tgz";
- url = "https://registry.yarnpkg.com/is-valid-glob/-/is-valid-glob-1.0.0.tgz";
- sha1 = "29bf3eff701be2d4d315dbacc39bc39fe8f601aa";
- };
- }
{
name = "is_whitespace_character___is_whitespace_character_1.0.2.tgz";
path = fetchurl {
@@ -7337,6 +6769,14 @@
sha1 = "7a549bbd9ffe1585b0cd0a191e203055bee574b4";
};
}
+ {
+ name = "jest_canvas_mock___jest_canvas_mock_2.1.2.tgz";
+ path = fetchurl {
+ name = "jest_canvas_mock___jest_canvas_mock_2.1.2.tgz";
+ url = "https://registry.yarnpkg.com/jest-canvas-mock/-/jest-canvas-mock-2.1.2.tgz";
+ sha1 = "0d16c9f91534f773fd132fc289f2e6b6db8faa28";
+ };
+ }
{
name = "jest_changed_files___jest_changed_files_24.8.0.tgz";
path = fetchurl {
@@ -7801,14 +7241,6 @@
sha1 = "8771aae0799b64076b76640fca058f9c10e33ecb";
};
}
- {
- name = "jsonparse___jsonparse_1.3.1.tgz";
- path = fetchurl {
- name = "jsonparse___jsonparse_1.3.1.tgz";
- url = "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz";
- sha1 = "3f4dae4a91fac315f71062f8521cc239f1366280";
- };
- }
{
name = "jsprim___jsprim_1.4.1.tgz";
path = fetchurl {
@@ -7977,14 +7409,6 @@
sha1 = "a205383fea322b33b5ae3b18abee0dc2f356ee15";
};
}
- {
- name = "lazystream___lazystream_1.0.0.tgz";
- path = fetchurl {
- name = "lazystream___lazystream_1.0.0.tgz";
- url = "https://registry.yarnpkg.com/lazystream/-/lazystream-1.0.0.tgz";
- sha1 = "f6995fe0f820392f61396be89462407bb77168e4";
- };
- }
{
name = "lcid___lcid_1.0.0.tgz";
path = fetchurl {
@@ -8001,14 +7425,6 @@
sha1 = "6ef5d2df60e52f82eb228a4c373e8d1f397253cf";
};
}
- {
- name = "lead___lead_1.0.0.tgz";
- path = fetchurl {
- name = "lead___lead_1.0.0.tgz";
- url = "https://registry.yarnpkg.com/lead/-/lead-1.0.0.tgz";
- sha1 = "6f14f99a37be3a9dd784f5495690e5903466ee42";
- };
- }
{
name = "left_pad___left_pad_1.3.0.tgz";
path = fetchurl {
@@ -8065,14 +7481,6 @@
sha1 = "c4caf38a6cd7ac2212ef3c7d2bde30a91561f9db";
};
}
- {
- name = "livereload_js___livereload_js_2.4.0.tgz";
- path = fetchurl {
- name = "livereload_js___livereload_js_2.4.0.tgz";
- url = "https://registry.yarnpkg.com/livereload-js/-/livereload-js-2.4.0.tgz";
- sha1 = "447c31cf1ea9ab52fc20db615c5ddf678f78009c";
- };
- }
{
name = "load_json_file___load_json_file_1.1.0.tgz";
path = fetchurl {
@@ -8185,6 +7593,22 @@
sha1 = "415c4478f2bcc30120c22ce10ed3226f7d3e18e0";
};
}
+ {
+ name = "lodash.isplainobject___lodash.isplainobject_4.0.6.tgz";
+ path = fetchurl {
+ name = "lodash.isplainobject___lodash.isplainobject_4.0.6.tgz";
+ url = "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz";
+ sha1 = "7c526a52d89b45c45cc690b88163be0497f550cb";
+ };
+ }
+ {
+ name = "lodash.isstring___lodash.isstring_4.0.1.tgz";
+ path = fetchurl {
+ name = "lodash.isstring___lodash.isstring_4.0.1.tgz";
+ url = "https://registry.yarnpkg.com/lodash.isstring/-/lodash.isstring-4.0.1.tgz";
+ sha1 = "d527dfb5456eca7cc9bb95d5daeaf88ba54a5451";
+ };
+ }
{
name = "lodash.kebabcase___lodash.kebabcase_4.1.1.tgz";
path = fetchurl {
@@ -8513,46 +7937,6 @@
sha1 = "c12ebe16fffc84573d3e19767726de226e95f649";
};
}
- {
- name = "mdast_util_definitions___mdast_util_definitions_1.2.4.tgz";
- path = fetchurl {
- name = "mdast_util_definitions___mdast_util_definitions_1.2.4.tgz";
- url = "https://registry.yarnpkg.com/mdast-util-definitions/-/mdast-util-definitions-1.2.4.tgz";
- sha1 = "2b54ad4eecaff9d9fcb6bf6f9f6b68b232d77ca7";
- };
- }
- {
- name = "mdast_util_inject___mdast_util_inject_1.1.0.tgz";
- path = fetchurl {
- name = "mdast_util_inject___mdast_util_inject_1.1.0.tgz";
- url = "https://registry.yarnpkg.com/mdast-util-inject/-/mdast-util-inject-1.1.0.tgz";
- sha1 = "db06b8b585be959a2dcd2f87f472ba9b756f3675";
- };
- }
- {
- name = "mdast_util_to_hast___mdast_util_to_hast_3.0.4.tgz";
- path = fetchurl {
- name = "mdast_util_to_hast___mdast_util_to_hast_3.0.4.tgz";
- url = "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-3.0.4.tgz";
- sha1 = "132001b266031192348d3366a6b011f28e54dc40";
- };
- }
- {
- name = "mdast_util_to_string___mdast_util_to_string_1.0.6.tgz";
- path = fetchurl {
- name = "mdast_util_to_string___mdast_util_to_string_1.0.6.tgz";
- url = "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-1.0.6.tgz";
- sha1 = "7d85421021343b33de1552fc71cb8e5b4ae7536d";
- };
- }
- {
- name = "mdast_util_toc___mdast_util_toc_3.1.0.tgz";
- path = fetchurl {
- name = "mdast_util_toc___mdast_util_toc_3.1.0.tgz";
- url = "https://registry.yarnpkg.com/mdast-util-toc/-/mdast-util-toc-3.1.0.tgz";
- sha1 = "395eeb877f067f9d2165d990d77c7eea6f740934";
- };
- }
{
name = "mdurl___mdurl_1.0.1.tgz";
path = fetchurl {
@@ -8642,11 +8026,11 @@
};
}
{
- name = "mermaid___mermaid_8.2.6.tgz";
+ name = "mermaid___mermaid_8.4.2.tgz";
path = fetchurl {
- name = "mermaid___mermaid_8.2.6.tgz";
- url = "https://registry.yarnpkg.com/mermaid/-/mermaid-8.2.6.tgz";
- sha1 = "e73f396461a435c39a998819171c2114f59e46e1";
+ name = "mermaid___mermaid_8.4.2.tgz";
+ url = "https://registry.yarnpkg.com/mermaid/-/mermaid-8.4.2.tgz";
+ sha1 = "91d3d8e9541e72eed7a78d0e882db11564fab3bb";
};
}
{
@@ -8833,14 +8217,6 @@
sha1 = "30057438eac6cf7f8c4767f38648d6697d75c903";
};
}
- {
- name = "module_deps_sortable___module_deps_sortable_5.0.0.tgz";
- path = fetchurl {
- name = "module_deps_sortable___module_deps_sortable_5.0.0.tgz";
- url = "https://registry.yarnpkg.com/module-deps-sortable/-/module-deps-sortable-5.0.0.tgz";
- sha1 = "99db5bb08f7eab55e4c31f6b7c722c6a2144ba74";
- };
- }
{
name = "moment_mini___moment_mini_2.22.1.tgz";
path = fetchurl {
@@ -9153,22 +8529,6 @@
sha1 = "d0b145eb691189c63a78d201dc4fdb1293ef0c03";
};
}
- {
- name = "normalize_url___normalize_url_1.9.1.tgz";
- path = fetchurl {
- name = "normalize_url___normalize_url_1.9.1.tgz";
- url = "https://registry.yarnpkg.com/normalize-url/-/normalize-url-1.9.1.tgz";
- sha1 = "2cc0d66b31ea23036458436e3620d85954c66c3c";
- };
- }
- {
- name = "now_and_later___now_and_later_2.0.1.tgz";
- path = fetchurl {
- name = "now_and_later___now_and_later_2.0.1.tgz";
- url = "https://registry.yarnpkg.com/now-and-later/-/now-and-later-2.0.1.tgz";
- sha1 = "8e579c8685764a7cc02cb680380e94f43ccb1f7c";
- };
- }
{
name = "npm_bundled___npm_bundled_1.0.6.tgz";
path = fetchurl {
@@ -9362,11 +8722,11 @@
};
}
{
- name = "optimism___optimism_0.6.9.tgz";
+ name = "optimism___optimism_0.10.3.tgz";
path = fetchurl {
- name = "optimism___optimism_0.6.9.tgz";
- url = "https://registry.yarnpkg.com/optimism/-/optimism-0.6.9.tgz";
- sha1 = "19258ff8b3be0cea29ac35f06bff818e026e30bb";
+ name = "optimism___optimism_0.10.3.tgz";
+ url = "https://registry.yarnpkg.com/optimism/-/optimism-0.10.3.tgz";
+ sha1 = "163268fdc741dea2fb50f300bedda80356445fd7";
};
}
{
@@ -9385,14 +8745,6 @@
sha1 = "364c5e409d3f4d6301d6c0b4c05bba50180aeb64";
};
}
- {
- name = "ordered_read_streams___ordered_read_streams_1.0.1.tgz";
- path = fetchurl {
- name = "ordered_read_streams___ordered_read_streams_1.0.1.tgz";
- url = "https://registry.yarnpkg.com/ordered-read-streams/-/ordered-read-streams-1.0.1.tgz";
- sha1 = "77c0cb37c41525d64166d990ffad7ec6a0e1363e";
- };
- }
{
name = "orderedmap___orderedmap_1.0.0.tgz";
path = fetchurl {
@@ -9610,27 +8962,19 @@
};
}
{
- name = "parse_entities___parse_entities_1.2.0.tgz";
- path = fetchurl {
- name = "parse_entities___parse_entities_1.2.0.tgz";
- url = "https://registry.yarnpkg.com/parse-entities/-/parse-entities-1.2.0.tgz";
- sha1 = "9deac087661b2e36814153cb78d7e54a4c5fd6f4";
- };
- }
- {
- name = "parse_filepath___parse_filepath_1.0.2.tgz";
+ name = "parse_color___parse_color_1.0.0.tgz";
path = fetchurl {
- name = "parse_filepath___parse_filepath_1.0.2.tgz";
- url = "https://registry.yarnpkg.com/parse-filepath/-/parse-filepath-1.0.2.tgz";
- sha1 = "a632127f53aaf3d15876f5872f3ffac763d6c891";
+ name = "parse_color___parse_color_1.0.0.tgz";
+ url = "https://registry.yarnpkg.com/parse-color/-/parse-color-1.0.0.tgz";
+ sha1 = "7b748b95a83f03f16a94f535e52d7f3d94658619";
};
}
{
- name = "parse_git_config___parse_git_config_0.2.0.tgz";
+ name = "parse_entities___parse_entities_1.2.0.tgz";
path = fetchurl {
- name = "parse_git_config___parse_git_config_0.2.0.tgz";
- url = "https://registry.yarnpkg.com/parse-git-config/-/parse-git-config-0.2.0.tgz";
- sha1 = "272833fdd15fea146fb75d336d236b963b6ff706";
+ name = "parse_entities___parse_entities_1.2.0.tgz";
+ url = "https://registry.yarnpkg.com/parse-entities/-/parse-entities-1.2.0.tgz";
+ sha1 = "9deac087661b2e36814153cb78d7e54a4c5fd6f4";
};
}
{
@@ -9657,22 +9001,6 @@
sha1 = "6d5b934a456993b23d37f40a382d6f1666a8e5c6";
};
}
- {
- name = "parse_path___parse_path_3.0.4.tgz";
- path = fetchurl {
- name = "parse_path___parse_path_3.0.4.tgz";
- url = "https://registry.yarnpkg.com/parse-path/-/parse-path-3.0.4.tgz";
- sha1 = "a48b7b529da41f34d9d1428602a39b29fc7180e4";
- };
- }
- {
- name = "parse_url___parse_url_3.0.2.tgz";
- path = fetchurl {
- name = "parse_url___parse_url_3.0.2.tgz";
- url = "https://registry.yarnpkg.com/parse-url/-/parse-url-3.0.2.tgz";
- sha1 = "602787a7063a795d72b8673197505e72f60610be";
- };
- }
{
name = "parse5___parse5_4.0.0.tgz";
path = fetchurl {
@@ -9793,22 +9121,6 @@
sha1 = "d62dbb5679405d72c4737ec58600e9ddcf06d24c";
};
}
- {
- name = "path_root_regex___path_root_regex_0.1.2.tgz";
- path = fetchurl {
- name = "path_root_regex___path_root_regex_0.1.2.tgz";
- url = "https://registry.yarnpkg.com/path-root-regex/-/path-root-regex-0.1.2.tgz";
- sha1 = "bfccdc8df5b12dc52c8b43ec38d18d72c04ba96d";
- };
- }
- {
- name = "path_root___path_root_0.1.1.tgz";
- path = fetchurl {
- name = "path_root___path_root_0.1.1.tgz";
- url = "https://registry.yarnpkg.com/path-root/-/path-root-0.1.1.tgz";
- sha1 = "9a4a6814cac1c0cd73360a95f32083c8ea4745b7";
- };
- }
{
name = "path_to_regexp___path_to_regexp_0.1.7.tgz";
path = fetchurl {
@@ -10194,11 +9506,11 @@
};
}
{
- name = "postcss___postcss_7.0.18.tgz";
+ name = "postcss___postcss_7.0.21.tgz";
path = fetchurl {
- name = "postcss___postcss_7.0.18.tgz";
- url = "https://registry.yarnpkg.com/postcss/-/postcss-7.0.18.tgz";
- sha1 = "4b9cda95ae6c069c67a4d933029eddd4838ac233";
+ name = "postcss___postcss_7.0.21.tgz";
+ url = "https://registry.yarnpkg.com/postcss/-/postcss-7.0.21.tgz";
+ sha1 = "06bb07824c19c2021c5d056d5b10c35b989f7e17";
};
}
{
@@ -10257,14 +9569,6 @@
sha1 = "2381edb3689f7a53d653190060fcf822d2f368ff";
};
}
- {
- name = "process_nextick_args___process_nextick_args_2.0.1.tgz";
- path = fetchurl {
- name = "process_nextick_args___process_nextick_args_2.0.1.tgz";
- url = "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz";
- sha1 = "7820d9b16120cc55ca9ae7792680ae7dba6d7fe2";
- };
- }
{
name = "process_nextick_args___process_nextick_args_1.0.7.tgz";
path = fetchurl {
@@ -10273,6 +9577,14 @@
sha1 = "150e20b756590ad3f91093f25a4f2ad8bff30ba3";
};
}
+ {
+ name = "process_nextick_args___process_nextick_args_2.0.1.tgz";
+ path = fetchurl {
+ name = "process_nextick_args___process_nextick_args_2.0.1.tgz";
+ url = "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz";
+ sha1 = "7820d9b16120cc55ca9ae7792680ae7dba6d7fe2";
+ };
+ }
{
name = "process___process_0.11.10.tgz";
path = fetchurl {
@@ -10305,14 +9617,6 @@
sha1 = "bf90bc71f6065d255ea2bdc0fe6520485c1b45db";
};
}
- {
- name = "property_information___property_information_4.2.0.tgz";
- path = fetchurl {
- name = "property_information___property_information_4.2.0.tgz";
- url = "https://registry.yarnpkg.com/property-information/-/property-information-4.2.0.tgz";
- sha1 = "f0e66e07cbd6fed31d96844d958d153ad3eb486e";
- };
- }
{
name = "prosemirror_commands___prosemirror_commands_1.0.7.tgz";
path = fetchurl {
@@ -10433,14 +9737,6 @@
sha1 = "212d5bfe1318306a420f6402b8e26ff39647a849";
};
}
- {
- name = "protocols___protocols_1.4.7.tgz";
- path = fetchurl {
- name = "protocols___protocols_1.4.7.tgz";
- url = "https://registry.yarnpkg.com/protocols/-/protocols-1.4.7.tgz";
- sha1 = "95f788a4f0e979b291ffefcf5636ad113d037d32";
- };
- }
{
name = "proxy_addr___proxy_addr_2.0.5.tgz";
path = fetchurl {
@@ -10561,14 +9857,6 @@
sha1 = "cb3ae806e8740444584ef154ce8ee98d403f3e36";
};
}
- {
- name = "query_string___query_string_4.3.4.tgz";
- path = fetchurl {
- name = "query_string___query_string_4.3.4.tgz";
- url = "https://registry.yarnpkg.com/query-string/-/query-string-4.3.4.tgz";
- sha1 = "bbb693b9ca915c232515b228b1a02b609043dbeb";
- };
- }
{
name = "querystring_es3___querystring_es3_0.2.1.tgz";
path = fetchurl {
@@ -10633,14 +9921,6 @@
sha1 = "231b19141f8d086986d8faceb66f8b562ee2c810";
};
}
- {
- name = "raven_js___raven_js_3.22.1.tgz";
- path = fetchurl {
- name = "raven_js___raven_js_3.22.1.tgz";
- url = "https://registry.yarnpkg.com/raven-js/-/raven-js-3.22.1.tgz";
- sha1 = "1117f00dfefaa427ef6e1a7d50bbb1fb998a24da";
- };
- }
{
name = "raw_body___raw_body_2.4.0.tgz";
path = fetchurl {
@@ -10649,14 +9929,6 @@
sha1 = "a1ce6fb9c9bc356ca52e89256ab59059e13d0332";
};
}
- {
- name = "raw_body___raw_body_1.1.7.tgz";
- path = fetchurl {
- name = "raw_body___raw_body_1.1.7.tgz";
- url = "https://registry.yarnpkg.com/raw-body/-/raw-body-1.1.7.tgz";
- sha1 = "1d027c2bfa116acc6623bca8f00016572a87d425";
- };
- }
{
name = "raw_loader___raw_loader_3.1.0.tgz";
path = fetchurl {
@@ -10761,14 +10033,6 @@
sha1 = "8f90341e68a53ccc928788dacfcd11b36eb9b78e";
};
}
- {
- name = "readable_stream___readable_stream_2.1.5.tgz";
- path = fetchurl {
- name = "readable_stream___readable_stream_2.1.5.tgz";
- url = "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.1.5.tgz";
- sha1 = "66fa8b720e1438b364681f2ad1a63c618448c9d0";
- };
- }
{
name = "readdir_enhanced___readdir_enhanced_2.2.4.tgz";
path = fetchurl {
@@ -10929,22 +10193,6 @@
sha1 = "54dbf377e51440aca90a4cd274600d3ff2d888a9";
};
}
- {
- name = "remark_html___remark_html_8.0.0.tgz";
- path = fetchurl {
- name = "remark_html___remark_html_8.0.0.tgz";
- url = "https://registry.yarnpkg.com/remark-html/-/remark-html-8.0.0.tgz";
- sha1 = "9fcb859a6f3cb40f3ef15402950f1a62ec301b3a";
- };
- }
- {
- name = "remark_parse___remark_parse_5.0.0.tgz";
- path = fetchurl {
- name = "remark_parse___remark_parse_5.0.0.tgz";
- url = "https://registry.yarnpkg.com/remark-parse/-/remark-parse-5.0.0.tgz";
- sha1 = "4c077f9e499044d1d5c13f80d7a98cf7b9285d95";
- };
- }
{
name = "remark_parse___remark_parse_6.0.3.tgz";
path = fetchurl {
@@ -10953,30 +10201,6 @@
sha1 = "c99131052809da482108413f87b0ee7f52180a3a";
};
}
- {
- name = "remark_reference_links___remark_reference_links_4.0.4.tgz";
- path = fetchurl {
- name = "remark_reference_links___remark_reference_links_4.0.4.tgz";
- url = "https://registry.yarnpkg.com/remark-reference-links/-/remark-reference-links-4.0.4.tgz";
- sha1 = "190579a0d6b002859d6cdbdc5aeb8bbdae4e06ab";
- };
- }
- {
- name = "remark_slug___remark_slug_5.1.2.tgz";
- path = fetchurl {
- name = "remark_slug___remark_slug_5.1.2.tgz";
- url = "https://registry.yarnpkg.com/remark-slug/-/remark-slug-5.1.2.tgz";
- sha1 = "715ecdef8df1226786204b1887d31ab16aa24609";
- };
- }
- {
- name = "remark_stringify___remark_stringify_5.0.0.tgz";
- path = fetchurl {
- name = "remark_stringify___remark_stringify_5.0.0.tgz";
- url = "https://registry.yarnpkg.com/remark-stringify/-/remark-stringify-5.0.0.tgz";
- sha1 = "336d3a4d4a6a3390d933eeba62e8de4bd280afba";
- };
- }
{
name = "remark_stringify___remark_stringify_6.0.4.tgz";
path = fetchurl {
@@ -10985,14 +10209,6 @@
sha1 = "16ac229d4d1593249018663c7bddf28aafc4e088";
};
}
- {
- name = "remark_toc___remark_toc_5.1.1.tgz";
- path = fetchurl {
- name = "remark_toc___remark_toc_5.1.1.tgz";
- url = "https://registry.yarnpkg.com/remark-toc/-/remark-toc-5.1.1.tgz";
- sha1 = "8c229d6f834cdb43fde6685e2d43248d3fc82d78";
- };
- }
{
name = "remark___remark_10.0.1.tgz";
path = fetchurl {
@@ -11001,38 +10217,6 @@
sha1 = "3058076dc41781bf505d8978c291485fe47667df";
};
}
- {
- name = "remark___remark_9.0.0.tgz";
- path = fetchurl {
- name = "remark___remark_9.0.0.tgz";
- url = "https://registry.yarnpkg.com/remark/-/remark-9.0.0.tgz";
- sha1 = "c5cfa8ec535c73a67c4b0f12bfdbd3a67d8b2f60";
- };
- }
- {
- name = "remote_origin_url___remote_origin_url_0.4.0.tgz";
- path = fetchurl {
- name = "remote_origin_url___remote_origin_url_0.4.0.tgz";
- url = "https://registry.yarnpkg.com/remote-origin-url/-/remote-origin-url-0.4.0.tgz";
- sha1 = "4d3e2902f34e2d37d1c263d87710b77eb4086a30";
- };
- }
- {
- name = "remove_bom_buffer___remove_bom_buffer_3.0.0.tgz";
- path = fetchurl {
- name = "remove_bom_buffer___remove_bom_buffer_3.0.0.tgz";
- url = "https://registry.yarnpkg.com/remove-bom-buffer/-/remove-bom-buffer-3.0.0.tgz";
- sha1 = "c2bf1e377520d324f623892e33c10cac2c252b53";
- };
- }
- {
- name = "remove_bom_stream___remove_bom_stream_1.2.0.tgz";
- path = fetchurl {
- name = "remove_bom_stream___remove_bom_stream_1.2.0.tgz";
- url = "https://registry.yarnpkg.com/remove-bom-stream/-/remove-bom-stream-1.2.0.tgz";
- sha1 = "05f1a593f16e42e1fb90ebf59de8e569525f9523";
- };
- }
{
name = "remove_trailing_separator___remove_trailing_separator_1.1.0.tgz";
path = fetchurl {
@@ -11201,14 +10385,6 @@
sha1 = "c35225843df8f776df21c57557bc087e9dfdfc69";
};
}
- {
- name = "resolve_options___resolve_options_1.1.0.tgz";
- path = fetchurl {
- name = "resolve_options___resolve_options_1.1.0.tgz";
- url = "https://registry.yarnpkg.com/resolve-options/-/resolve-options-1.1.0.tgz";
- sha1 = "32bb9e39c06d67338dc9378c0d6d6074566ad131";
- };
- }
{
name = "resolve_url___resolve_url_0.2.1.tgz";
path = fetchurl {
@@ -11337,14 +10513,6 @@
sha1 = "991ec69d296e0313747d59bdfd2b745c35f8828d";
};
}
- {
- name = "safe_json_parse___safe_json_parse_1.0.1.tgz";
- path = fetchurl {
- name = "safe_json_parse___safe_json_parse_1.0.1.tgz";
- url = "https://registry.yarnpkg.com/safe-json-parse/-/safe-json-parse-1.0.1.tgz";
- sha1 = "3e76723e38dfdda13c9b1d29a1e07ffee4b30b57";
- };
- }
{
name = "safe_regex___safe_regex_1.1.0.tgz";
path = fetchurl {
@@ -11370,11 +10538,11 @@
};
}
{
- name = "sanitize_html___sanitize_html_1.16.3.tgz";
+ name = "sanitize_html___sanitize_html_1.20.1.tgz";
path = fetchurl {
- name = "sanitize_html___sanitize_html_1.16.3.tgz";
- url = "https://registry.yarnpkg.com/sanitize-html/-/sanitize-html-1.16.3.tgz";
- sha1 = "96c1b44a36ff7312e1c22a14b05274370ac8bd56";
+ name = "sanitize_html___sanitize_html_1.20.1.tgz";
+ url = "https://registry.yarnpkg.com/sanitize-html/-/sanitize-html-1.20.1.tgz";
+ sha1 = "f6effdf55dd398807171215a62bfc21811bacf85";
};
}
{
@@ -11777,14 +10945,6 @@
sha1 = "d976bbe800af7bd20ae08598d582393508993c0d";
};
}
- {
- name = "sort_keys___sort_keys_1.1.2.tgz";
- path = fetchurl {
- name = "sort_keys___sort_keys_1.1.2.tgz";
- url = "https://registry.yarnpkg.com/sort-keys/-/sort-keys-1.1.2.tgz";
- sha1 = "441b6d4d346798f1b4e49e8920adfba0e543f9ad";
- };
- }
{
name = "sortablejs___sortablejs_1.10.0.tgz";
path = fetchurl {
@@ -11865,14 +11025,6 @@
sha1 = "5302f8169031735226544092e64981f751750383";
};
}
- {
- name = "space_separated_tokens___space_separated_tokens_1.1.4.tgz";
- path = fetchurl {
- name = "space_separated_tokens___space_separated_tokens_1.1.4.tgz";
- url = "https://registry.yarnpkg.com/space-separated-tokens/-/space-separated-tokens-1.1.4.tgz";
- sha1 = "27910835ae00d0adfcdbd0ad7e611fb9544351fa";
- };
- }
{
name = "spdx_correct___spdx_correct_1.0.2.tgz";
path = fetchurl {
@@ -12033,14 +11185,6 @@
sha1 = "d229e372d2199ddf5d283bbe34ac1f7d2529c2fc";
};
}
- {
- name = "stream_array___stream_array_1.1.2.tgz";
- path = fetchurl {
- name = "stream_array___stream_array_1.1.2.tgz";
- url = "https://registry.yarnpkg.com/stream-array/-/stream-array-1.1.2.tgz";
- sha1 = "9e5f7345f2137c30ee3b498b9114e80b52bb7eb5";
- };
- }
{
name = "stream_browserify___stream_browserify_2.0.1.tgz";
path = fetchurl {
@@ -12049,14 +11193,6 @@
sha1 = "66266ee5f9bdb9940a4e4514cafb43bb71e5c9db";
};
}
- {
- name = "stream_combiner2___stream_combiner2_1.1.1.tgz";
- path = fetchurl {
- name = "stream_combiner2___stream_combiner2_1.1.1.tgz";
- url = "https://registry.yarnpkg.com/stream-combiner2/-/stream-combiner2-1.1.1.tgz";
- sha1 = "fb4d8a1420ea362764e21ad4780397bebcb41cbe";
- };
- }
{
name = "stream_each___stream_each_1.2.2.tgz";
path = fetchurl {
@@ -12089,14 +11225,6 @@
sha1 = "8167d8496ed9f19f05ee4b158d9611321b8cacd9";
};
}
- {
- name = "strict_uri_encode___strict_uri_encode_1.1.0.tgz";
- path = fetchurl {
- name = "strict_uri_encode___strict_uri_encode_1.1.0.tgz";
- url = "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz";
- sha1 = "279b225df1d582b1f54e65addd4352e18faa0713";
- };
- }
{
name = "string_length___string_length_2.0.0.tgz";
path = fetchurl {
@@ -12105,14 +11233,6 @@
sha1 = "d40dbb686a3ace960c1cffca562bf2c45f8363ed";
};
}
- {
- name = "string_template___string_template_0.2.1.tgz";
- path = fetchurl {
- name = "string_template___string_template_0.2.1.tgz";
- url = "https://registry.yarnpkg.com/string-template/-/string-template-0.2.1.tgz";
- sha1 = "42932e598a352d01fc22ec3367d9d84eec6c9add";
- };
- }
{
name = "string_width___string_width_1.0.2.tgz";
path = fetchurl {
@@ -12145,14 +11265,6 @@
sha1 = "ba846d1daa97c3c596155308063e075ed1c99aff";
};
}
- {
- name = "string_decoder___string_decoder_0.10.31.tgz";
- path = fetchurl {
- name = "string_decoder___string_decoder_0.10.31.tgz";
- url = "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz";
- sha1 = "62e203bc41766c6c28c9fc84301dab1c5310fa94";
- };
- }
{
name = "string_decoder___string_decoder_1.1.1.tgz";
path = fetchurl {
@@ -12161,6 +11273,14 @@
sha1 = "9cf1611ba62685d7030ae9e4ba34149c3af03fc8";
};
}
+ {
+ name = "string_decoder___string_decoder_0.10.31.tgz";
+ path = fetchurl {
+ name = "string_decoder___string_decoder_0.10.31.tgz";
+ url = "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz";
+ sha1 = "62e203bc41766c6c28c9fc84301dab1c5310fa94";
+ };
+ }
{
name = "stringify_entities___stringify_entities_1.3.2.tgz";
path = fetchurl {
@@ -12289,14 +11409,6 @@
sha1 = "1bc4c4ce878107e7c396b19226d91ba28268911a";
};
}
- {
- name = "subarg___subarg_1.0.0.tgz";
- path = fetchurl {
- name = "subarg___subarg_1.0.0.tgz";
- url = "https://registry.yarnpkg.com/subarg/-/subarg-1.0.0.tgz";
- sha1 = "f62cf17581e996b48fc965699f54c06ae268b8d2";
- };
- }
{
name = "sugarss___sugarss_2.0.0.tgz";
path = fetchurl {
@@ -12497,14 +11609,6 @@
sha1 = "7307ddd6cd9acadb349132fbf6c18d78c88a5e62";
};
}
- {
- name = "through2_filter___through2_filter_3.0.0.tgz";
- path = fetchurl {
- name = "through2_filter___through2_filter_3.0.0.tgz";
- url = "https://registry.yarnpkg.com/through2-filter/-/through2-filter-3.0.0.tgz";
- sha1 = "700e786df2367c2c88cd8aa5be4cf9c1e7831254";
- };
- }
{
name = "through2___through2_2.0.5.tgz";
path = fetchurl {
@@ -12569,14 +11673,6 @@
sha1 = "82d27468aca5ade8e5fd1e6d22b57dd43ebdfb7c";
};
}
- {
- name = "tiny_lr___tiny_lr_1.1.1.tgz";
- path = fetchurl {
- name = "tiny_lr___tiny_lr_1.1.1.tgz";
- url = "https://registry.yarnpkg.com/tiny-lr/-/tiny-lr-1.1.1.tgz";
- sha1 = "9fa547412f238fedb068ee295af8b682c98b2aab";
- };
- }
{
name = "tiptap_commands___tiptap_commands_1.4.0.tgz";
path = fetchurl {
@@ -12625,14 +11721,6 @@
sha1 = "23640dd7b42d00433911140820e5cf440e521dd1";
};
}
- {
- name = "to_absolute_glob___to_absolute_glob_2.0.2.tgz";
- path = fetchurl {
- name = "to_absolute_glob___to_absolute_glob_2.0.2.tgz";
- url = "https://registry.yarnpkg.com/to-absolute-glob/-/to-absolute-glob-2.0.2.tgz";
- sha1 = "1865f43d9e74b0822db9f145b78cff7d0f7c849b";
- };
- }
{
name = "to_array___to_array_0.1.4.tgz";
path = fetchurl {
@@ -12689,14 +11777,6 @@
sha1 = "13cfdd9b336552f30b51f33a8ae1b42a7a7599ce";
};
}
- {
- name = "to_through___to_through_2.0.0.tgz";
- path = fetchurl {
- name = "to_through___to_through_2.0.0.tgz";
- url = "https://registry.yarnpkg.com/to-through/-/to-through-2.0.0.tgz";
- sha1 = "fc92adaba072647bc0b67d6b03664aa195093af6";
- };
- }
{
name = "toggle_selection___toggle_selection_1.0.6.tgz";
path = fetchurl {
@@ -12737,14 +11817,6 @@
sha1 = "a8b13fd6bfd2489519674ccde55ba3693b706d09";
};
}
- {
- name = "trim_lines___trim_lines_1.1.2.tgz";
- path = fetchurl {
- name = "trim_lines___trim_lines_1.1.2.tgz";
- url = "https://registry.yarnpkg.com/trim-lines/-/trim-lines-1.1.2.tgz";
- sha1 = "c8adbdbdae21bb5c2766240a661f693afe23e59b";
- };
- }
{
name = "trim_newlines___trim_newlines_1.0.0.tgz";
path = fetchurl {
@@ -12817,14 +11889,6 @@
sha1 = "027b69fa823225e551cace3ef03b11f6ab37c1d7";
};
}
- {
- name = "ts_invariant___ts_invariant_0.2.1.tgz";
- path = fetchurl {
- name = "ts_invariant___ts_invariant_0.2.1.tgz";
- url = "https://registry.yarnpkg.com/ts-invariant/-/ts-invariant-0.2.1.tgz";
- sha1 = "3d587f9d6e3bded97bf9ec17951dd9814d5a9d3f";
- };
- }
{
name = "ts_invariant___ts_invariant_0.3.2.tgz";
path = fetchurl {
@@ -12833,6 +11897,14 @@
sha1 = "89a2ffeb70879b777258df1df1c59383c35209b0";
};
}
+ {
+ name = "ts_invariant___ts_invariant_0.4.4.tgz";
+ path = fetchurl {
+ name = "ts_invariant___ts_invariant_0.4.4.tgz";
+ url = "https://registry.yarnpkg.com/ts-invariant/-/ts-invariant-0.4.4.tgz";
+ sha1 = "97a523518688f93aafad01b0e80eb803eb2abd86";
+ };
+ }
{
name = "ts_jest___ts_jest_24.0.0.tgz";
path = fetchurl {
@@ -12881,6 +11953,14 @@
sha1 = "5884cab512cf1d355e3fb784f30804b2b520db72";
};
}
+ {
+ name = "type_fest___type_fest_0.5.2.tgz";
+ path = fetchurl {
+ name = "type_fest___type_fest_0.5.2.tgz";
+ url = "https://registry.yarnpkg.com/type-fest/-/type-fest-0.5.2.tgz";
+ sha1 = "d6ef42a0356c6cd45f49485c3b6281fc148e48a2";
+ };
+ }
{
name = "type_is___type_is_1.6.18.tgz";
path = fetchurl {
@@ -12929,14 +12009,6 @@
sha1 = "9fe1536a10a664a65266a1e3ccf85fd36302bc9c";
};
}
- {
- name = "unc_path_regex___unc_path_regex_0.1.2.tgz";
- path = fetchurl {
- name = "unc_path_regex___unc_path_regex_0.1.2.tgz";
- url = "https://registry.yarnpkg.com/unc-path-regex/-/unc-path-regex-0.1.2.tgz";
- sha1 = "e73dd3d7b0d7c5ed86fbac6b0ae7d8c6a69d50fa";
- };
- }
{
name = "undefsafe___undefsafe_2.0.2.tgz";
path = fetchurl {
@@ -13017,14 +12089,6 @@
sha1 = "5a533f31b4317ea76f17d807fa0d116546111dd0";
};
}
- {
- name = "unified___unified_6.2.0.tgz";
- path = fetchurl {
- name = "unified___unified_6.2.0.tgz";
- url = "https://registry.yarnpkg.com/unified/-/unified-6.2.0.tgz";
- sha1 = "7fbd630f719126d67d40c644b7e3f617035f6dba";
- };
- }
{
name = "unified___unified_7.1.0.tgz";
path = fetchurl {
@@ -13065,14 +12129,6 @@
sha1 = "db6676e7c7cc0629878ff196097c78855ae9f4ab";
};
}
- {
- name = "unique_stream___unique_stream_2.3.1.tgz";
- path = fetchurl {
- name = "unique_stream___unique_stream_2.3.1.tgz";
- url = "https://registry.yarnpkg.com/unique-stream/-/unique-stream-2.3.1.tgz";
- sha1 = "c65d110e9a4adf9a6c5948b28053d9a8d04cbeac";
- };
- }
{
name = "unique_string___unique_string_1.0.0.tgz";
path = fetchurl {
@@ -13081,14 +12137,6 @@
sha1 = "9e1057cca851abb93398f8b33ae187b99caec11a";
};
}
- {
- name = "unist_builder___unist_builder_1.0.4.tgz";
- path = fetchurl {
- name = "unist_builder___unist_builder_1.0.4.tgz";
- url = "https://registry.yarnpkg.com/unist-builder/-/unist-builder-1.0.4.tgz";
- sha1 = "e1808aed30bd72adc3607f25afecebef4dd59e17";
- };
- }
{
name = "unist_util_find_all_after___unist_util_find_all_after_1.0.2.tgz";
path = fetchurl {
@@ -13097,14 +12145,6 @@
sha1 = "9be49cfbae5ca1566b27536670a92836bf2f8d6d";
};
}
- {
- name = "unist_util_generated___unist_util_generated_1.1.4.tgz";
- path = fetchurl {
- name = "unist_util_generated___unist_util_generated_1.1.4.tgz";
- url = "https://registry.yarnpkg.com/unist-util-generated/-/unist-util-generated-1.1.4.tgz";
- sha1 = "2261c033d9fc23fae41872cdb7663746e972c1a7";
- };
- }
{
name = "unist_util_is___unist_util_is_2.1.2.tgz";
path = fetchurl {
@@ -13113,14 +12153,6 @@
sha1 = "1193fa8f2bfbbb82150633f3a8d2eb9a1c1d55db";
};
}
- {
- name = "unist_util_position___unist_util_position_3.0.3.tgz";
- path = fetchurl {
- name = "unist_util_position___unist_util_position_3.0.3.tgz";
- url = "https://registry.yarnpkg.com/unist-util-position/-/unist-util-position-3.0.3.tgz";
- sha1 = "fff942b879538b242096c148153826664b1ca373";
- };
- }
{
name = "unist_util_remove_position___unist_util_remove_position_1.1.2.tgz";
path = fetchurl {
@@ -13137,14 +12169,6 @@
sha1 = "3f37fcf351279dcbca7480ab5889bb8a832ee1c6";
};
}
- {
- name = "unist_util_stringify_position___unist_util_stringify_position_2.0.1.tgz";
- path = fetchurl {
- name = "unist_util_stringify_position___unist_util_stringify_position_2.0.1.tgz";
- url = "https://registry.yarnpkg.com/unist-util-stringify-position/-/unist-util-stringify-position-2.0.1.tgz";
- sha1 = "de2a2bc8d3febfa606652673a91455b6a36fb9f3";
- };
- }
{
name = "unist_util_visit_parents___unist_util_visit_parents_2.0.1.tgz";
path = fetchurl {
@@ -13361,14 +12385,6 @@
sha1 = "2804babe712ad3379459acfbe24746ab2c303fbc";
};
}
- {
- name = "value_or_function___value_or_function_3.0.0.tgz";
- path = fetchurl {
- name = "value_or_function___value_or_function_3.0.0.tgz";
- url = "https://registry.yarnpkg.com/value-or-function/-/value-or-function-3.0.0.tgz";
- sha1 = "1c243a50b595c1be54a754bfece8563b9ff8d813";
- };
- }
{
name = "vary___vary_1.1.2.tgz";
path = fetchurl {
@@ -13401,46 +12417,6 @@
sha1 = "5833ae078a1dfa2d96e9647886cd32993ab313e1";
};
}
- {
- name = "vfile_message___vfile_message_2.0.1.tgz";
- path = fetchurl {
- name = "vfile_message___vfile_message_2.0.1.tgz";
- url = "https://registry.yarnpkg.com/vfile-message/-/vfile-message-2.0.1.tgz";
- sha1 = "951881861c22fc1eb39f873c0b93e336a64e8f6d";
- };
- }
- {
- name = "vfile_reporter___vfile_reporter_6.0.0.tgz";
- path = fetchurl {
- name = "vfile_reporter___vfile_reporter_6.0.0.tgz";
- url = "https://registry.yarnpkg.com/vfile-reporter/-/vfile-reporter-6.0.0.tgz";
- sha1 = "753119f51dec9289b7508b457afc0cddf5e07f2e";
- };
- }
- {
- name = "vfile_sort___vfile_sort_2.2.1.tgz";
- path = fetchurl {
- name = "vfile_sort___vfile_sort_2.2.1.tgz";
- url = "https://registry.yarnpkg.com/vfile-sort/-/vfile-sort-2.2.1.tgz";
- sha1 = "74e714f9175618cdae96bcaedf1a3dc711d87567";
- };
- }
- {
- name = "vfile_statistics___vfile_statistics_1.1.3.tgz";
- path = fetchurl {
- name = "vfile_statistics___vfile_statistics_1.1.3.tgz";
- url = "https://registry.yarnpkg.com/vfile-statistics/-/vfile-statistics-1.1.3.tgz";
- sha1 = "e9c87071997fbcb4243764d2c3805e0bb0820c60";
- };
- }
- {
- name = "vfile___vfile_2.3.0.tgz";
- path = fetchurl {
- name = "vfile___vfile_2.3.0.tgz";
- url = "https://registry.yarnpkg.com/vfile/-/vfile-2.3.0.tgz";
- sha1 = "e62d8e72b20e83c324bc6c67278ee272488bf84a";
- };
- }
{
name = "vfile___vfile_3.0.1.tgz";
path = fetchurl {
@@ -13449,38 +12425,6 @@
sha1 = "47331d2abe3282424f4a4bb6acd20a44c4121803";
};
}
- {
- name = "vfile___vfile_4.0.1.tgz";
- path = fetchurl {
- name = "vfile___vfile_4.0.1.tgz";
- url = "https://registry.yarnpkg.com/vfile/-/vfile-4.0.1.tgz";
- sha1 = "fc3d43a1c71916034216bf65926d5ee3c64ed60c";
- };
- }
- {
- name = "vinyl_fs___vinyl_fs_3.0.3.tgz";
- path = fetchurl {
- name = "vinyl_fs___vinyl_fs_3.0.3.tgz";
- url = "https://registry.yarnpkg.com/vinyl-fs/-/vinyl-fs-3.0.3.tgz";
- sha1 = "c85849405f67428feabbbd5c5dbdd64f47d31bc7";
- };
- }
- {
- name = "vinyl_sourcemap___vinyl_sourcemap_1.1.0.tgz";
- path = fetchurl {
- name = "vinyl_sourcemap___vinyl_sourcemap_1.1.0.tgz";
- url = "https://registry.yarnpkg.com/vinyl-sourcemap/-/vinyl-sourcemap-1.1.0.tgz";
- sha1 = "92a800593a38703a8cdb11d8b300ad4be63b3e16";
- };
- }
- {
- name = "vinyl___vinyl_2.2.0.tgz";
- path = fetchurl {
- name = "vinyl___vinyl_2.2.0.tgz";
- url = "https://registry.yarnpkg.com/vinyl/-/vinyl-2.2.0.tgz";
- sha1 = "d85b07da96e458d25b2ffe19fece9f2caa13ed86";
- };
- }
{
name = "visibilityjs___visibilityjs_1.2.4.tgz";
path = fetchurl {
diff --git a/pkgs/applications/version-management/gource/default.nix b/pkgs/applications/version-management/gource/default.nix
index 0a24cfbb3a0da1eaf5dcc44905d88698baf36509..2ce855d3a7f8baf93cd005a618e0594df7aa9f58 100644
--- a/pkgs/applications/version-management/gource/default.nix
+++ b/pkgs/applications/version-management/gource/default.nix
@@ -1,19 +1,19 @@
{ stdenv, fetchurl, SDL2, ftgl, pkgconfig, libpng, libjpeg, pcre
-, SDL2_image, freetype, glew, libGLU_combined, boost, glm
+, SDL2_image, freetype, glew, libGLU, libGL, boost, glm
}:
stdenv.mkDerivation rec {
- version = "0.49";
+ version = "0.51";
pname = "gource";
src = fetchurl {
url = "https://github.com/acaudwell/Gource/releases/download/${pname}-${version}/${pname}-${version}.tar.gz";
- sha256 = "12hf5ipcsp9dxsqn84n4kr63xaiskrnf5a084wr29qk171lj7pd9";
+ sha256 = "16p7b1x4r0915w883lp374jcdqqja37fnb7m8vnsfnl2n64gi8qr";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
- glew SDL2 ftgl libpng libjpeg pcre SDL2_image libGLU_combined
+ glew SDL2 ftgl libpng libjpeg pcre SDL2_image libGLU libGL
boost glm freetype
];
diff --git a/pkgs/applications/version-management/monotone/default.nix b/pkgs/applications/version-management/monotone/default.nix
index 7081e1a08996a09b3562990d974727368be94d86..bf8e5652d99c7e679c4377479a5d328d5cb3a0cf 100644
--- a/pkgs/applications/version-management/monotone/default.nix
+++ b/pkgs/applications/version-management/monotone/default.nix
@@ -5,7 +5,7 @@
let
version = "1.1";
- perlVersion = (builtins.parseDrvName perl.name).version;
+ perlVersion = stdenv.lib.getVersion perl;
in
assert perlVersion != "";
diff --git a/pkgs/applications/version-management/pijul/default.nix b/pkgs/applications/version-management/pijul/default.nix
index 6d0e39d47bf4ceeebffba5a02da29b72b168fb91..3c5539189252a87346025182a86910f65711e605 100644
--- a/pkgs/applications/version-management/pijul/default.nix
+++ b/pkgs/applications/version-management/pijul/default.nix
@@ -1,6 +1,17 @@
{ stdenv, fetchurl, rustPlatform, darwin, openssl, libsodium, nettle, clang, libclang, pkgconfig }:
-rustPlatform.buildRustPackage rec {
+let
+ # nettle-sys=1.0.1 requires the des-compat.h header, but it was removed in
+ # nettle 3.5. See https://nest.pijul.com/pijul_org/pijul/discussions/416
+ # Remove with the next release
+ nettle_34 = nettle.overrideAttrs (_oldAttrs: rec {
+ version = "3.4.1";
+ src = fetchurl {
+ url = "mirror://gnu/nettle/nettle-${version}.tar.gz";
+ sha256 = "1bcji95n1iz9p9vsgdgr26v6s7zhpsxfbjjwpqcihpfd6lawyhgr";
+ };
+ });
+in rustPlatform.buildRustPackage rec {
pname = "pijul";
version = "0.12.0";
@@ -20,7 +31,7 @@ rustPlatform.buildRustPackage rec {
LIBCLANG_PATH = libclang + "/lib";
- buildInputs = [ openssl libsodium nettle libclang ] ++ stdenv.lib.optionals stdenv.isDarwin
+ buildInputs = [ openssl libsodium nettle_34 libclang ] ++ stdenv.lib.optionals stdenv.isDarwin
(with darwin.apple_sdk.frameworks; [ CoreServices Security ]);
doCheck = false;
diff --git a/pkgs/applications/version-management/sourcehut/lists.nix b/pkgs/applications/version-management/sourcehut/lists.nix
index 8aa6128819f1bfb53a2e6d50874132940850b8f9..d050895ca23755d1771fdc82f7549dbed6835393 100644
--- a/pkgs/applications/version-management/sourcehut/lists.nix
+++ b/pkgs/applications/version-management/sourcehut/lists.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchgit, buildPythonPackage
, python
-, srht, asyncpg, unidiff, aiosmtpd, emailthreads }:
+, srht, asyncpg, unidiff, aiosmtpd, pygit2, emailthreads }:
buildPythonPackage rec {
pname = "listssrht";
@@ -20,6 +20,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
srht
+ pygit2
asyncpg
unidiff
aiosmtpd
diff --git a/pkgs/applications/version-management/yadm/default.nix b/pkgs/applications/version-management/yadm/default.nix
index 66b785e43b17416cd412bbdf86316f6e0314be8b..4995216b8b63abd2e0c395b911647d186e5a76ac 100644
--- a/pkgs/applications/version-management/yadm/default.nix
+++ b/pkgs/applications/version-management/yadm/default.nix
@@ -1,37 +1,39 @@
-{ stdenv, fetchFromGitHub }:
+{ stdenv, fetchFromGitHub, git, gnupg }:
-let version = "1.12.0"; in
+let version = "2.0.1"; in
stdenv.mkDerivation {
pname = "yadm";
inherit version;
+ buildInputs = [ git gnupg ];
+
src = fetchFromGitHub {
owner = "TheLocehiliosan";
repo = "yadm";
rev = version;
- sha256 = "0873jgks7dpfkj5km1jchxdrhf7lia70p0f8zsrh9p4crj5f4pc6";
+ sha256 = "0knz2p0xyid65z6gdmjqfcqljqilxhqi02v4n6n4akl2i12kk193";
};
- buildCommand = ''
- mkdir -p $out/bin
- mkdir -p $out/share/man/man1
- mkdir -p $out/share/zsh/site-functions
- mkdir -p $out/share/bash-completion/completions
- sed -e 's:/bin/bash:/usr/bin/env bash:' $src/yadm > $out/bin/yadm
- chmod 755 $out/bin/yadm
- install -m 644 $src/yadm.1 $out/share/man/man1/yadm.1
- install -m644 $src/completion/yadm.zsh_completion $out/share/zsh/site-functions/_yadm
- install -m644 $src/completion/yadm.bash_completion $out/share/bash-completion/completions/yadm.bash
+ dontConfigure = true;
+ dontBuild = true;
+
+ installPhase = ''
+ runHook preInstall
+ install -Dt $out/bin $src/yadm
+ install -Dt $out/share/man/man1 $src/yadm.1
+ install -D $src/completion/yadm.zsh_completion $out/share/zsh/site-functions/_yadm
+ install -D $src/completion/yadm.bash_completion $out/share/bash-completion/completions/yadm.bash
+ runHook postInstall
'';
meta = {
homepage = https://github.com/TheLocehiliosan/yadm;
description = "Yet Another Dotfiles Manager";
longDescription = ''
- yadm is a dotfile management tool with 3 main features: Manages files across
- systems using a single Git repository. Provides a way to use alternate files on
- a specific OS or host. Supplies a method of encrypting confidential data so it
- can safely be stored in your repository.
+ yadm is a dotfile management tool with 3 main features:
+ * Manages files across systems using a single Git repository.
+ * Provides a way to use alternate files on a specific OS or host.
+ * Supplies a method of encrypting confidential data so it can safely be stored in your repository.
'';
license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.unix;
diff --git a/pkgs/applications/video/aegisub/default.nix b/pkgs/applications/video/aegisub/default.nix
index 2734035b6de954f25afd3fac6347630e694ac173..2d82f3d3e2b49a756bec9c4ded375d8a15c5192e 100644
--- a/pkgs/applications/video/aegisub/default.nix
+++ b/pkgs/applications/video/aegisub/default.nix
@@ -1,7 +1,7 @@
{ config, stdenv, fetchurl
, libX11, wxGTK
, libiconv, fontconfig, freetype
-, libGLU_combined
+, libGLU, libGL
, libass, fftw, ffms
, ffmpeg, pkgconfig, zlib # Undocumented (?) dependencies
, icu, boost, intltool # New dependencies
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
postPatch = "sed '1i#include ' -i src/utils.cpp";
buildInputs = with stdenv.lib;
- [ pkgconfig intltool libX11 wxGTK fontconfig freetype libGLU_combined
+ [ pkgconfig intltool libX11 wxGTK fontconfig freetype libGLU libGL
libass fftw ffms ffmpeg zlib icu boost boost.out libiconv
]
++ optional spellcheckSupport hunspell
diff --git a/pkgs/applications/video/bomi/default.nix b/pkgs/applications/video/bomi/default.nix
index 9ff65483f261fdc27e835b072fdbc3d23ba64c3b..a9d98a9a2a44cea2636cbc008f75409ba59049ce 100644
--- a/pkgs/applications/video/bomi/default.nix
+++ b/pkgs/applications/video/bomi/default.nix
@@ -1,6 +1,6 @@
{ config, stdenv, fetchFromGitHub
, fetchpatch, pkgconfig, perl, python, which
-, libX11, libxcb, libGLU_combined
+, libX11, libxcb, libGLU, libGL
, qtbase, qtdeclarative, qtquickcontrols, qttools, qtx11extras, qmake, makeWrapper
, libchardet
, ffmpeg
@@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
buildInputs = with stdenv.lib;
[ libX11
libxcb
- libGLU_combined
+ libGLU libGL
qtbase
qtx11extras
qtdeclarative
diff --git a/pkgs/applications/video/clipgrab/default.nix b/pkgs/applications/video/clipgrab/default.nix
index 145b7cc06c2d11b8c4411cf2e622524004776389..ad175b246766a728d5b8abb86ada1548615f56cf 100644
--- a/pkgs/applications/video/clipgrab/default.nix
+++ b/pkgs/applications/video/clipgrab/default.nix
@@ -5,10 +5,10 @@
mkDerivation rec {
pname = "clipgrab";
- version = "3.8.5";
+ version = "3.8.6";
src = fetchurl {
- sha256 = "0jfjnzwvz4ynlld0ih7f7d575s5w2dag0hvb02c6qan7xm5jdhv9";
+ sha256 = "1w2j1wk9sf22nnschlraxdbxabqblrxyb8kq0lkyk7dkfa5d0hdq";
# The .tar.bz2 "Download" link is a binary blob, the source is the .tar.gz!
url = "https://download.clipgrab.org/${pname}-${version}.tar.gz";
};
diff --git a/pkgs/applications/video/mkvtoolnix/default.nix b/pkgs/applications/video/mkvtoolnix/default.nix
index 153d0a20b6e621895c79d9e92160f0c181132a1d..cef7ea1bf3c012d54896e90efe93028d92c9e9b7 100644
--- a/pkgs/applications/video/mkvtoolnix/default.nix
+++ b/pkgs/applications/video/mkvtoolnix/default.nix
@@ -13,13 +13,13 @@ with stdenv.lib;
stdenv.mkDerivation rec {
pname = "mkvtoolnix";
- version = "38.0.0";
+ version = "40.0.0";
src = fetchFromGitLab {
owner = "mbunkus";
repo = "mkvtoolnix";
rev = "release-${version}";
- sha256 = "0874rfslglywpa8ilhqv59zvn2hisdsbwd7r61psf5rd64v72ym4";
+ sha256 = "103rvj6f6nlzybzbkqix7q5f2017bmzsn9z5g7bwnjjwgih5mrpq";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/video/mplayer/default.nix b/pkgs/applications/video/mplayer/default.nix
index 2afb7d1c68a525bab1663cf69ca1b618d5e793c3..a75a7a11d67afc1a0a89d69f408cbb977adb3e2b 100644
--- a/pkgs/applications/video/mplayer/default.nix
+++ b/pkgs/applications/video/mplayer/default.nix
@@ -2,7 +2,7 @@
, aalibSupport ? true, aalib ? null
, fontconfigSupport ? true, fontconfig ? null, freefont_ttf ? null
, fribidiSupport ? true, fribidi ? null
-, x11Support ? true, libX11 ? null, libXext ? null, libGLU_combined ? null
+, x11Support ? true, libX11 ? null, libXext ? null, libGLU, libGL ? null
, xineramaSupport ? true, libXinerama ? null
, xvSupport ? true, libXv ? null
, alsaSupport ? stdenv.isLinux, alsaLib ? null
@@ -32,7 +32,7 @@
assert fontconfigSupport -> (fontconfig != null);
assert (!fontconfigSupport) -> (freefont_ttf != null);
assert fribidiSupport -> (fribidi != null);
-assert x11Support -> (libX11 != null && libXext != null && libGLU_combined != null);
+assert x11Support -> (libX11 != null && libXext != null && libGLU != null && libGL != null);
assert xineramaSupport -> (libXinerama != null && x11Support);
assert xvSupport -> (libXv != null && x11Support);
assert alsaSupport -> alsaLib != null;
@@ -111,7 +111,7 @@ stdenv.mkDerivation rec {
++ optional aalibSupport aalib
++ optional fontconfigSupport fontconfig
++ optional fribidiSupport fribidi
- ++ optionals x11Support [ libX11 libXext libGLU_combined ]
+ ++ optionals x11Support [ libX11 libXext libGLU libGL ]
++ optional alsaSupport alsaLib
++ optional xvSupport libXv
++ optional theoraSupport libtheora
diff --git a/pkgs/applications/video/mpv/default.nix b/pkgs/applications/video/mpv/default.nix
index f3c7d3761004fafb5e62ed333151db21d5cc9851..6c86b514afdffc16428280c51021a7e03204b47e 100644
--- a/pkgs/applications/video/mpv/default.nix
+++ b/pkgs/applications/video/mpv/default.nix
@@ -9,7 +9,7 @@
, libxkbcommon ? null
, x11Support ? stdenv.isLinux
- , libGLU_combined ? null
+ , libGLU, libGL ? null
, libX11 ? null
, libXext ? null
, libXxf86vm ? null
@@ -86,7 +86,7 @@ assert vapoursynthSupport -> available vapoursynth;
assert vdpauSupport -> available libvdpau;
assert vulkanSupport -> all available [ libplacebo shaderc vulkan-headers vulkan-loader ];
assert waylandSupport -> all available [ wayland wayland-protocols libxkbcommon ];
-assert x11Support -> all available [ libGLU_combined libX11 libXext libXxf86vm libXrandr ];
+assert x11Support -> all available [ libGLU libGL libX11 libXext libXxf86vm libXrandr ];
assert xineramaSupport -> x11Support && available libXinerama;
assert xvSupport -> x11Support && available libXv;
assert youtubeSupport -> available youtube-dl;
@@ -181,7 +181,7 @@ in stdenv.mkDerivation rec {
++ optionals drmSupport [ libdrm mesa ]
++ optionals dvdnavSupport [ libdvdnav libdvdnav.libdvdread ]
++ optionals waylandSupport [ wayland wayland-protocols libxkbcommon ]
- ++ optionals x11Support [ libX11 libXext libGLU_combined libXxf86vm libXrandr ]
+ ++ optionals x11Support [ libX11 libXext libGLU libGL libXxf86vm libXrandr ]
++ optionals vulkanSupport [ libplacebo shaderc vulkan-headers vulkan-loader ]
++ optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
CoreFoundation Cocoa CoreAudio
diff --git a/pkgs/applications/video/mythtv/default.nix b/pkgs/applications/video/mythtv/default.nix
index 7914bb84c428c44abb3717fdf159290c474e9552..2c73d3e734ccb2d976bacaf85a32b9202233d68b 100644
--- a/pkgs/applications/video/mythtv/default.nix
+++ b/pkgs/applications/video/mythtv/default.nix
@@ -1,5 +1,5 @@
{ stdenv, mkDerivation, fetchFromGitHub, which, qtbase, qtwebkit, qtscript, xlibsWrapper
-, libpulseaudio, fftwSinglePrec , lame, zlib, libGLU_combined, alsaLib, freetype
+, libpulseaudio, fftwSinglePrec , lame, zlib, libGLU, libGL, alsaLib, freetype
, perl, pkgconfig , libsamplerate, libbluray, lzo, libX11, libXv, libXrandr, libXvMC, libXinerama, libXxf86vm
, libXmu , yasm, libuuid, taglib, libtool, autoconf, automake, file, exiv2, linuxHeaders
, libXNVCtrl, enableXnvctrl ? false
@@ -26,7 +26,7 @@ mkDerivation rec {
setSourceRoot = ''sourceRoot=$(echo */mythtv)'';
buildInputs = [
- freetype qtbase qtwebkit qtscript lame zlib xlibsWrapper libGLU_combined
+ freetype qtbase qtwebkit qtscript lame zlib xlibsWrapper libGLU libGL
perl libsamplerate libbluray lzo alsaLib libpulseaudio fftwSinglePrec libX11 libXv libXrandr libXvMC
libXmu libXinerama libXxf86vm libXmu libuuid taglib exiv2
] ++ stdenv.lib.optional enableXnvctrl libXNVCtrl;
diff --git a/pkgs/applications/video/simplescreenrecorder/default.nix b/pkgs/applications/video/simplescreenrecorder/default.nix
index 29ad928e27cd124daca61a60fca20f7bddd45f9b..6191fd0f18adc1201e54f607a1fbdd7a352264d3 100644
--- a/pkgs/applications/video/simplescreenrecorder/default.nix
+++ b/pkgs/applications/video/simplescreenrecorder/default.nix
@@ -1,5 +1,5 @@
{ stdenv, mkDerivation, fetchurl, alsaLib, ffmpeg, libjack2, libX11, libXext, qtx11extras
-, libXfixes, libGLU_combined, pkgconfig, libpulseaudio, qtbase, cmake, ninja
+, libXfixes, libGLU, libGL, pkgconfig, libpulseaudio, qtbase, cmake, ninja
}:
mkDerivation rec {
@@ -25,7 +25,7 @@ mkDerivation rec {
nativeBuildInputs = [ pkgconfig cmake ninja ];
buildInputs = [
- alsaLib ffmpeg libjack2 libX11 libXext libXfixes libGLU_combined
+ alsaLib ffmpeg libjack2 libX11 libXext libXfixes libGLU libGL
libpulseaudio qtbase qtx11extras
];
diff --git a/pkgs/applications/video/smplayer/default.nix b/pkgs/applications/video/smplayer/default.nix
index facb8fabe2654334a3c1f7c5c2c6721e137bc6cb..65a7f358d6fabc73e87eaeb2cbf6b21c9b9889f3 100644
--- a/pkgs/applications/video/smplayer/default.nix
+++ b/pkgs/applications/video/smplayer/default.nix
@@ -2,11 +2,11 @@
mkDerivation rec {
pname = "smplayer";
- version = "19.10.0";
+ version = "19.10.2";
src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
- sha256 = "0sq7hr10b4pbbi0y1q4mxs24h2lb042nv4rqr03r72bp57353xsl";
+ sha256 = "0i2c15yxk4by2zyjhb7n08larz9pmpa6zw383aybjxqh0nd9zv9p";
};
buildInputs = [ qtscript ];
diff --git a/pkgs/applications/video/streamlink/default.nix b/pkgs/applications/video/streamlink/default.nix
index b5ffdb018ffecf40675b8502ec9e9848a39b7924..ce22d8bed27990996a4a739b50a199c708e5425c 100644
--- a/pkgs/applications/video/streamlink/default.nix
+++ b/pkgs/applications/video/streamlink/default.nix
@@ -1,14 +1,14 @@
{ stdenv, pythonPackages, fetchFromGitHub, rtmpdump, ffmpeg }:
pythonPackages.buildPythonApplication rec {
- version = "1.2.0";
+ version = "1.3.0";
pname = "streamlink";
src = fetchFromGitHub {
owner = "streamlink";
repo = "streamlink";
rev = version;
- sha256 = "0l8b9ipfmd6dic07ajqqml26jdydz0k046hvx32mqp64jl5jpznh";
+ sha256 = "0f4qwwa5pxd4igvxq1qadqpphazlbs3c3cr29ybks2x5wajrvwah";
};
checkInputs = with pythonPackages; [ pytest mock requests-mock freezegun ];
diff --git a/pkgs/applications/video/vdr/wrapper.nix b/pkgs/applications/video/vdr/wrapper.nix
index 497ad7c77a08b032e6ba72d2c6ad5d9de6218583..50d3b9d65a8dc7b09625451e365a30902cfa147a 100644
--- a/pkgs/applications/video/vdr/wrapper.nix
+++ b/pkgs/applications/video/vdr/wrapper.nix
@@ -8,7 +8,7 @@
in symlinkJoin {
- name = "vdr-with-plugins-${(builtins.parseDrvName vdr.name).version}";
+ name = "vdr-with-plugins-${lib.getVersion vdr}";
paths = [ vdr ] ++ plugins;
diff --git a/pkgs/applications/virtualization/OVMF/default.nix b/pkgs/applications/virtualization/OVMF/default.nix
index c0080329487fd9a898a6a534b121798a4a441c2e..e475c4ed78affdb70e037ae42c50bb9c3355aa2c 100644
--- a/pkgs/applications/virtualization/OVMF/default.nix
+++ b/pkgs/applications/virtualization/OVMF/default.nix
@@ -16,7 +16,7 @@ let
else
throw "Unsupported architecture";
- version = (builtins.parseDrvName edk2.name).version;
+ version = lib.getVersion edk2;
in
edk2.mkDerivation projectDscPath {
diff --git a/pkgs/applications/virtualization/bochs/default.nix b/pkgs/applications/virtualization/bochs/default.nix
index 72db4f1e5aa50dd94b5421cf8e0a863e6197db65..770154f1918b65b5da45eb52df7d35f7a75a02e7 100644
--- a/pkgs/applications/virtualization/bochs/default.nix
+++ b/pkgs/applications/virtualization/bochs/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl
, pkgconfig, libtool
-, gtk2, libGLU_combined, readline, libX11, libXpm
+, gtk2, libGLU, libGL, readline, libX11, libXpm
, docbook_xml_dtd_45, docbook_xsl
, sdlSupport ? true, SDL2 ? null
, termSupport ? true, ncurses ? null
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
patches = [ ./bochs-2.6.9-glibc-2.26.patch ];
buildInputs = with stdenv.lib;
- [ pkgconfig libtool gtk2 libGLU_combined readline libX11 libXpm docbook_xml_dtd_45 docbook_xsl ]
+ [ pkgconfig libtool gtk2 libGLU libGL readline libX11 libXpm docbook_xml_dtd_45 docbook_xsl ]
++ optionals termSupport [ ncurses ]
++ optionals sdlSupport [ SDL2 ]
++ optionals wxSupport [ wxGTK ]
diff --git a/pkgs/applications/virtualization/charliecloud/default.nix b/pkgs/applications/virtualization/charliecloud/default.nix
index 35c78dfd50a40d7e5c4aa7473ac48c958f3eeaa0..a0694b7efbe8da83b0b91ca5d21f0e76208ee05d 100644
--- a/pkgs/applications/virtualization/charliecloud/default.nix
+++ b/pkgs/applications/virtualization/charliecloud/default.nix
@@ -2,14 +2,14 @@
stdenv.mkDerivation rec {
- version = "0.11";
+ version = "0.12";
pname = "charliecloud";
src = fetchFromGitHub {
owner = "hpc";
repo = "charliecloud";
rev = "v${version}";
- sha256 = "10dzas5fyh2lpa0kf1xv8z9c4g4cf0zlmnpilyvpcyccyfjf6cp2";
+ sha256 = "177rcf1klcxsp6x9cw75cmz3y2izgd1hvi1rb9vc6iz9qx1nmk3v";
};
buildInputs = [ python ];
diff --git a/pkgs/applications/virtualization/cntr/default.nix b/pkgs/applications/virtualization/cntr/default.nix
index 13afe0a4261956bc16f767e7a22e418dd0629576..698f6df0673a8d5a98e8f9f1429abc963cbc307a 100644
--- a/pkgs/applications/virtualization/cntr/default.nix
+++ b/pkgs/applications/virtualization/cntr/default.nix
@@ -2,13 +2,13 @@
rustPlatform.buildRustPackage rec {
pname = "cntr";
- version = "1.2.0";
+ version = "1.2.1";
src = fetchFromGitHub {
owner = "Mic92";
repo = "cntr";
rev = version;
- sha256 = "0lmbsnjia44h4rskqkv9yc7xb6f3qjgbg8kcr9zqnr7ivr5fjcxg";
+ sha256 = "0dhfz7aj3cqi974ybf0axchih40rzrs9m8bxhwz1hgig57aisfc0";
};
cargoSha256 = "0xkwza9fx61pvlsm0s3dxc9i09mqp6c9df8w63fyiq7174vjxryx";
diff --git a/pkgs/applications/virtualization/cri-o/default.nix b/pkgs/applications/virtualization/cri-o/default.nix
index fddf1741720ca88ada178af5a0387d5cf4558a49..29111399ae96185f7769d5f15deddb59cca2672e 100644
--- a/pkgs/applications/virtualization/cri-o/default.nix
+++ b/pkgs/applications/virtualization/cri-o/default.nix
@@ -17,7 +17,7 @@
buildGoPackage rec {
project = "cri-o";
- version = "1.16.0";
+ version = "1.16.1";
name = "${project}-${version}${flavor}";
goPackagePath = "github.com/${project}/${project}";
@@ -26,7 +26,7 @@ buildGoPackage rec {
owner = "cri-o";
repo = "cri-o";
rev = "v${version}";
- sha256 = "1kbg544v7c1apaxrpndgrap0pb5c67d8fazbkgykg6ynskx6n344";
+ sha256 = "0w690zhc55gdqzc31jc34nrzwd253pfb3rq23z51q22nqwmlsh9p";
};
outputs = [ "bin" "out" ];
diff --git a/pkgs/applications/virtualization/docker-compose/default.nix b/pkgs/applications/virtualization/docker-compose/default.nix
index b1c42b099b678c959c7ca7882be95a43ea8584c4..7e8dbf33a7b0bcaf388667ddf5179aebd455b03c 100644
--- a/pkgs/applications/virtualization/docker-compose/default.nix
+++ b/pkgs/applications/virtualization/docker-compose/default.nix
@@ -7,12 +7,12 @@
}:
buildPythonApplication rec {
- version = "1.24.1";
+ version = "1.25.0";
pname = "docker-compose";
src = fetchPypi {
inherit pname version;
- sha256 = "0lx7bx6jvhydbab8vwry0bclhdf0dfj6jrns1m5y45yp9ybqxmd5";
+ sha256 = "0zlprmsgmj4z627snsl0qmq8y7ggcyqrqm5vxvrvcigl7zywnprc";
};
# lots of networking and other fails
diff --git a/pkgs/applications/virtualization/virt-manager/default.nix b/pkgs/applications/virtualization/virt-manager/default.nix
index 42860966fe11fb2224b99633f0117b20687a9b76..99d20477a125e256d19c23af7f276ea3911e0b23 100644
--- a/pkgs/applications/virtualization/virt-manager/default.nix
+++ b/pkgs/applications/virtualization/virt-manager/default.nix
@@ -9,17 +9,12 @@
with stdenv.lib;
-# TODO: remove after there's support for setupPyDistFlags
-let
- setuppy = ../../../development/interpreters/python/run_setup.py;
-in
python3Packages.buildPythonApplication rec {
- name = "virt-manager-${version}";
+ pname = "virt-manager";
version = "2.2.1";
- namePrefix = "";
src = fetchurl {
- url = "http://virt-manager.org/download/sources/virt-manager/${name}.tar.gz";
+ url = "http://virt-manager.org/download/sources/virt-manager/${pname}-${version}.tar.gz";
sha256 = "06ws0agxlip6p6n3n43knsnjyd91gqhh2dadgc33wl9lx1k8vn6g";
};
@@ -49,13 +44,7 @@ python3Packages.buildPythonApplication rec {
${python3Packages.python.interpreter} setup.py configure --prefix=$out
'';
- # TODO: remove after there's support for setupPyDistFlags
- buildPhase = ''
- runHook preBuild
- cp ${setuppy} nix_run_setup
- ${python3Packages.python.pythonForBuild.interpreter} nix_run_setup --no-update-icon-cache build_ext bdist_wheel
- runHook postBuild
- '';
+ setupPyGlobalFlags = [ "--no-update-icon-cache" ];
preFixup = ''
gappsWrapperArgs+=(--set PYTHONPATH "$PYTHONPATH")
diff --git a/pkgs/applications/virtualization/virtualbox/default.nix b/pkgs/applications/virtualization/virtualbox/default.nix
index addcf125e27e092bb646432a8527d8305a673975..13e70c2561d2f16dd314ecb18ea5bb50c0392353 100644
--- a/pkgs/applications/virtualization/virtualbox/default.nix
+++ b/pkgs/applications/virtualization/virtualbox/default.nix
@@ -214,7 +214,7 @@ in stdenv.mkDerivation {
description = "PC emulator";
license = licenses.gpl2;
homepage = https://www.virtualbox.org/;
- maintainers = with maintainers; [ flokli sander ];
+ maintainers = with maintainers; [ sander ];
platforms = [ "x86_64-linux" ];
};
}
diff --git a/pkgs/applications/virtualization/virtualbox/extpack.nix b/pkgs/applications/virtualization/virtualbox/extpack.nix
index 56400a75945794263135f96fc1ebbf57e53009cc..9357a641de2f6103cec35645a51ad8d885e9d0f8 100644
--- a/pkgs/applications/virtualization/virtualbox/extpack.nix
+++ b/pkgs/applications/virtualization/virtualbox/extpack.nix
@@ -18,7 +18,7 @@ fetchurl rec {
description = "Oracle Extension pack for VirtualBox";
license = licenses.virtualbox-puel;
homepage = https://www.virtualbox.org/;
- maintainers = with maintainers; [ flokli sander cdepillabout ];
+ maintainers = with maintainers; [ sander cdepillabout ];
platforms = [ "x86_64-linux" ];
};
}
diff --git a/pkgs/applications/virtualization/x11docker/default.nix b/pkgs/applications/virtualization/x11docker/default.nix
index c57a7f6e7714f8f808ab14017a1f32216bd56f73..af136f7e545aeca1ac8ebdef95adde1aa5fdadf9 100644
--- a/pkgs/applications/virtualization/x11docker/default.nix
+++ b/pkgs/applications/virtualization/x11docker/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchFromGitHub, makeWrapper, nx-libs, xorg, getopt, gnugrep, gawk, ps, mount, iproute }:
stdenv.mkDerivation rec {
pname = "x11docker";
- version = "6.3.0";
+ version = "6.4.0";
src = fetchFromGitHub {
owner = "mviereck";
repo = "x11docker";
rev = "v${version}";
- sha256 = "0x2sx41y3ylzg511x52k3wh8mfbzp4ialpas6sn4ccagqxh2hc4y";
+ sha256 = "0s8gk2kqxkfwx1x44g19ckm7rqgrcax59y8brgmigajqizik7sql";
};
nativeBuildInputs = [ makeWrapper ];
diff --git a/pkgs/applications/window-managers/cage/default.nix b/pkgs/applications/window-managers/cage/default.nix
index be45d68dc5dfd25a14285639b30ed9a7a11e47d0..ce4031b92f56404da9f87bdde099bd29e65aedbe 100644
--- a/pkgs/applications/window-managers/cage/default.nix
+++ b/pkgs/applications/window-managers/cage/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub
, meson, ninja, pkgconfig, makeWrapper
, wlroots, wayland, wayland-protocols, pixman, libxkbcommon
-, systemd, mesa, libX11
+, systemd, libGL, libX11
, xwayland ? null
}:
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
buildInputs = [
wlroots wayland wayland-protocols pixman libxkbcommon
# TODO: Not specified but required:
- systemd mesa libX11
+ systemd libGL libX11
];
enableParallelBuilding = true;
diff --git a/pkgs/applications/window-managers/icewm/default.nix b/pkgs/applications/window-managers/icewm/default.nix
index f388c2d99db208ffd4b6e79ec88afc7062933700..58fa0d194e11d8fb8bf91caa7d66c75021896045 100644
--- a/pkgs/applications/window-managers/icewm/default.nix
+++ b/pkgs/applications/window-managers/icewm/default.nix
@@ -8,13 +8,13 @@
stdenv.mkDerivation rec {
pname = "icewm";
- version = "1.6.0";
+ version = "1.6.3";
src = fetchFromGitHub {
owner = "bbidulock";
repo = "icewm";
rev = version;
- sha256 = "1l8hjmb19d7ds7z21cx207h86wkjcmmmamcnalgkwh4alvbawc2p";
+ sha256 = "0h3w718x28fd4sz36ka9wpgcb98scna6qpycxzls4cjji3rjgm0l";
};
nativeBuildInputs = [ cmake pkgconfig perl asciidoc ];
diff --git a/pkgs/build-support/appimage/default.nix b/pkgs/build-support/appimage/default.nix
index 7e2b2b347d900e07d93f1bba3775772dbb128a9a..c871df787b7eab5841a3d4787d39083d2569504a 100644
--- a/pkgs/build-support/appimage/default.nix
+++ b/pkgs/build-support/appimage/default.nix
@@ -185,7 +185,7 @@ rec {
keyutils.lib
libjack2
fribidi
- p11_kit
+ p11-kit
# libraries not on the upstream include list, but nevertheless expected
# by at least one appimage
diff --git a/pkgs/build-support/bintools-wrapper/default.nix b/pkgs/build-support/bintools-wrapper/default.nix
index 4a56f00db49ecf3012f00645f401c31fba9c545c..0abce22c676512d8cb3fa75c8655decad30e5cc2 100644
--- a/pkgs/build-support/bintools-wrapper/default.nix
+++ b/pkgs/build-support/bintools-wrapper/default.nix
@@ -34,8 +34,8 @@ let
targetPrefix = stdenv.lib.optionalString (targetPlatform != hostPlatform)
(targetPlatform.config + "-");
- bintoolsVersion = (builtins.parseDrvName bintools.name).version;
- bintoolsName = (builtins.parseDrvName bintools.name).name;
+ bintoolsVersion = stdenv.lib.getVersion bintools;
+ bintoolsName = stdenv.lib.removePrefix targetPrefix (stdenv.lib.getName bintools);
libc_bin = if libc == null then null else getBin libc;
libc_dev = if libc == null then null else getDev libc;
@@ -74,7 +74,7 @@ in
stdenv.mkDerivation {
name = targetPrefix
- + (if name != "" then name else stdenv.lib.removePrefix targetPrefix "${bintoolsName}-wrapper")
+ + (if name != "" then name else "${bintoolsName}-wrapper")
+ (stdenv.lib.optionalString (bintools != null && bintoolsVersion != "") "-${bintoolsVersion}");
preferLocalBuild = true;
@@ -184,6 +184,7 @@ stdenv.mkDerivation {
else if targetPlatform.isMsp430 then "msp430"
else if targetPlatform.isAvr then "avr"
else if targetPlatform.isAlpha then "alpha"
+ else if targetPlatform.isVc4 then "vc4"
else throw "unknown emulation for platform: ${targetPlatform.config}";
in if targetPlatform.useLLVM or false then ""
else targetPlatform.platform.bfdEmulation or (fmt + sep + arch);
diff --git a/pkgs/build-support/build-bazel-package/default.nix b/pkgs/build-support/build-bazel-package/default.nix
index a1a38484386d42edd491b3cb1afbe60ba8143cad..8fa3cc55279bf4391344cb59fc347b5cb07e9b47 100644
--- a/pkgs/build-support/build-bazel-package/default.nix
+++ b/pkgs/build-support/build-bazel-package/default.nix
@@ -4,10 +4,30 @@
, lib
}:
-args@{ name, bazelFlags ? [], bazelBuildFlags ? [], bazelFetchFlags ? [], bazelTarget, buildAttrs, fetchAttrs, ... }:
+args@{
+ name
+, bazelFlags ? []
+, bazelBuildFlags ? []
+, bazelFetchFlags ? []
+, bazelTarget
+, buildAttrs
+, fetchAttrs
+
+# Newer versions of Bazel are moving away from built-in rules_cc and instead
+# allow fetching it as an external dependency in a WORKSPACE file[1]. If
+# removed in the fixed-output fetch phase, building will fail to download it.
+# This can be seen e.g. in #73097
+#
+# This option allows configuring the removal of rules_cc in cases where a
+# project depends on it via an external dependency.
+#
+# [1]: https://github.com/bazelbuild/rules_cc
+, removeRulesCC ? true
+, ...
+}:
let
- fArgs = removeAttrs args [ "buildAttrs" "fetchAttrs" ];
+ fArgs = removeAttrs args [ "buildAttrs" "fetchAttrs" "removeRulesCC" ];
fBuildAttrs = fArgs // buildAttrs;
fFetchAttrs = fArgs // removeAttrs fetchAttrs [ "sha256" ];
@@ -24,8 +44,12 @@ in stdenv.mkDerivation (fBuildAttrs // {
export bazelOut="$(echo ''${NIX_BUILD_TOP}/output | sed -e 's,//,/,g')"
export bazelUserRoot="$(echo ''${NIX_BUILD_TOP}/tmp | sed -e 's,//,/,g')"
export HOME="$NIX_BUILD_TOP"
+ export USER="nix"
# This is needed for git_repository with https remotes
export GIT_SSL_CAINFO="${cacert}/etc/ssl/certs/ca-bundle.crt"
+ # This is needed for Bazel fetchers that are themselves programs (e.g.
+ # rules_go using the go toolchain)
+ export SSL_CERT_FILE="${cacert}/etc/ssl/certs/ca-bundle.crt"
'';
buildPhase = fFetchAttrs.buildPhase or ''
@@ -60,7 +84,7 @@ in stdenv.mkDerivation (fBuildAttrs // {
# Remove all built in external workspaces, Bazel will recreate them when building
rm -rf $bazelOut/external/{bazel_tools,\@bazel_tools.marker}
- rm -rf $bazelOut/external/{rules_cc,\@rules_cc.marker}
+ ${if removeRulesCC then "rm -rf $bazelOut/external/{rules_cc,\\@rules_cc.marker}" else ""}
rm -rf $bazelOut/external/{embedded_jdk,\@embedded_jdk.marker}
rm -rf $bazelOut/external/{local_*,\@local_*.marker}
diff --git a/pkgs/build-support/cc-wrapper/default.nix b/pkgs/build-support/cc-wrapper/default.nix
index d6037552ef6e8fc243b46099e11ddf2e627a8ab6..d02f47fde8cd636e7f0d09349bb7dcac73f06b83 100644
--- a/pkgs/build-support/cc-wrapper/default.nix
+++ b/pkgs/build-support/cc-wrapper/default.nix
@@ -35,8 +35,8 @@ let
targetPrefix = stdenv.lib.optionalString (targetPlatform != hostPlatform)
(targetPlatform.config + "-");
- ccVersion = (builtins.parseDrvName cc.name).version;
- ccName = (builtins.parseDrvName cc.name).name;
+ ccVersion = stdenv.lib.getVersion cc;
+ ccName = stdenv.lib.removePrefix targetPrefix (stdenv.lib.getName cc);
libc_bin = if libc == null then null else getBin libc;
libc_dev = if libc == null then null else getDev libc;
@@ -94,7 +94,7 @@ assert nativePrefix == bintools.nativePrefix;
stdenv.mkDerivation {
name = targetPrefix
- + (if name != "" then name else stdenv.lib.removePrefix targetPrefix "${ccName}-wrapper")
+ + (if name != "" then name else "${ccName}-wrapper")
+ (stdenv.lib.optionalString (cc != null && ccVersion != "") "-${ccVersion}");
preferLocalBuild = true;
diff --git a/pkgs/build-support/emacs/setup-hook.sh b/pkgs/build-support/emacs/setup-hook.sh
index b55c1873802333197ac6a586e04cca9c1b4e3586..b210511d670da98adae98248517ad4838b084b7d 100644
--- a/pkgs/build-support/emacs/setup-hook.sh
+++ b/pkgs/build-support/emacs/setup-hook.sh
@@ -1,6 +1,8 @@
addEmacsVars () {
- if [[ -d "$1/share/emacs/site-lisp" ]]; then
- export EMACSLOADPATH="$1/share/emacs/site-lisp${EMACSLOADPATH:+:}${EMACSLOADPATH-}"
+ if test -d $1/share/emacs/site-lisp; then
+ # it turns out, that the trailing : is actually required
+ # see https://www.gnu.org/software/emacs/manual/html_node/elisp/Library-Search.html
+ export EMACSLOADPATH="$1/share/emacs/site-lisp:${EMACSLOADPATH-}"
fi
}
diff --git a/pkgs/build-support/fetchgit/nix-prefetch-git b/pkgs/build-support/fetchgit/nix-prefetch-git
index 931be1a37007eedb885154d7c20575714ff628a0..8020ba46f3f19b429a8f0741e5a2994128f73651 100755
--- a/pkgs/build-support/fetchgit/nix-prefetch-git
+++ b/pkgs/build-support/fetchgit/nix-prefetch-git
@@ -42,6 +42,7 @@ Options:
--url url Any url understood by 'git clone'.
--rev ref Any sha1 or references (such as refs/heads/master)
--hash h Expected hash.
+ --branch-name Branch name to check out into
--deepClone Clone the entire repository.
--no-deepClone Make a shallow clone of just the required ref.
--leave-dotGit Keep the .git directories.
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 e0a52e62561b7b560936238dd95bb139d5b3a10a..db187d2ac14adfb46546c91c26a37f9a28434468 100644
--- a/pkgs/build-support/rust/build-rust-crate/build-crate.nix
+++ b/pkgs/build-support/rust/build-rust-crate/build-crate.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, echo_build_heading, noisily, makeDeps }:
+{ lib, stdenv, echo_build_heading, noisily, makeDeps, rust }:
{ crateName,
dependencies,
crateFeatures, crateRenames, libName, release, libPath,
@@ -13,17 +13,6 @@
(if release then "-C opt-level=3" else "-C debuginfo=2")
(["-C codegen-units=$NIX_BUILD_CORES"] ++ extraRustcOpts);
rustcMeta = "-C metadata=${metadata} -C extra-filename=-${metadata}";
-
- # Some platforms have different names for rustc.
- rustPlatform =
- with stdenv.hostPlatform.parsed;
- let cpu_ = if cpu.name == "armv7a" then "armv7"
- else cpu.name;
- vendor_ = vendor.name;
- kernel_ = kernel.name;
- abi_ = abi.name;
- in
- "${cpu_}-${vendor_}-${kernel_}-${abi_}";
in ''
runHook preBuild
norm=""
@@ -67,7 +56,7 @@
${crateFeatures} --out-dir target/bin --emit=dep-info,link -L dependency=target/deps \
$LINK ${deps}$EXTRA_LIB --cap-lints allow \
$BUILD_OUT_DIR $EXTRA_BUILD $EXTRA_FEATURES --color ${colors} \
- ${if stdenv.hostPlatform != stdenv.buildPlatform then "--target ${rustPlatform} -C linker=${stdenv.hostPlatform.config}-gcc" else ""}
+ ${if stdenv.hostPlatform != stdenv.buildPlatform then "--target ${rust.toRustTarget stdenv.hostPlatform} -C linker=${stdenv.hostPlatform.config}-gcc" else ""}
if [ "$crate_name_" != "$crate_name" ]; then
mv target/bin/$crate_name_ target/bin/$crate_name
fi
@@ -91,18 +80,18 @@
echo "$EXTRA_LINK_SEARCH" | while read i; do
if [[ ! -z "$i" ]]; then
- for lib in $i; do
- echo "-L $lib" >> target/link
- L=$(echo $lib | sed -e "s#$(pwd)/target/build#$out/lib#")
+ for library in $i; do
+ echo "-L $library" >> target/link
+ L=$(echo $library | sed -e "s#$(pwd)/target/build#$lib/lib#")
echo "-L $L" >> target/link.final
done
fi
done
echo "$EXTRA_LINK" | while read i; do
if [[ ! -z "$i" ]]; then
- for lib in $i; do
- echo "-l $lib" >> target/link
- echo "-l $lib" >> target/link.final
+ for library in $i; do
+ echo "-l $library" >> target/link
+ echo "-l $library" >> target/link.final
done
fi
done
diff --git a/pkgs/build-support/rust/build-rust-crate/default.nix b/pkgs/build-support/rust/build-rust-crate/default.nix
index 6534e21c0f0c1b4bf221b99887105a9dba1d7c9b..edff3941636c62bef15e01c47997e4a67d7eac4a 100644
--- a/pkgs/build-support/rust/build-rust-crate/default.nix
+++ b/pkgs/build-support/rust/build-rust-crate/default.nix
@@ -4,7 +4,7 @@
# This can be useful for deploying packages with NixOps, and to share
# binary dependencies between projects.
-{ lib, stdenv, defaultCrateOverrides, fetchCrate, rustc }:
+{ lib, stdenv, defaultCrateOverrides, fetchCrate, rustc, rust }:
let
# This doesn't appear to be officially documented anywhere yet.
@@ -22,9 +22,9 @@ let
else
extern;
in (if lib.lists.any (x: x == "lib") dep.crateType then
- " --extern ${name}=${dep.out}/lib/lib${extern}-${dep.metadata}.rlib"
+ " --extern ${name}=${dep.lib}/lib/lib${extern}-${dep.metadata}.rlib"
else
- " --extern ${name}=${dep.out}/lib/lib${extern}-${dep.metadata}${stdenv.hostPlatform.extensions.sharedLibrary}")
+ " --extern ${name}=${dep.lib}/lib/lib${extern}-${dep.metadata}${stdenv.hostPlatform.extensions.sharedLibrary}")
) dependencies);
echo_build_heading = colors: ''
@@ -59,7 +59,7 @@ let
'';
configureCrate = import ./configure-crate.nix { inherit lib stdenv echo_build_heading noisily makeDeps; };
- buildCrate = import ./build-crate.nix { inherit lib stdenv echo_build_heading noisily makeDeps; };
+ buildCrate = import ./build-crate.nix { inherit lib stdenv echo_build_heading noisily makeDeps rust; };
installCrate = import ./install-crate.nix;
in
@@ -96,12 +96,12 @@ stdenv.mkDerivation (rec {
buildInputs = (crate.buildInputs or []) ++ buildInputs_;
dependencies =
builtins.map
- (dep: dep.override { rust = rust; release = release; verbose = verbose; crateOverrides = crateOverrides; })
+ (dep: lib.getLib (dep.override { rust = rust; release = release; verbose = verbose; crateOverrides = crateOverrides; }))
dependencies_;
buildDependencies =
builtins.map
- (dep: dep.override { rust = rust; release = release; verbose = verbose; crateOverrides = crateOverrides; })
+ (dep: lib.getLib (dep.override { rust = rust; release = release; verbose = verbose; crateOverrides = crateOverrides; }))
buildDependencies_;
completeDeps = lib.lists.unique (dependencies ++ lib.lists.concatMap (dep: dep.completeDeps) dependencies);
@@ -160,6 +160,9 @@ stdenv.mkDerivation (rec {
};
installPhase = installCrate crateName metadata;
+ outputs = [ "out" "lib" ];
+ outputDev = [ "lib" ];
+
} // extraDerivationAttrs
)) {
rust = rustc;
diff --git a/pkgs/build-support/rust/build-rust-crate/install-crate.nix b/pkgs/build-support/rust/build-rust-crate/install-crate.nix
index 3b0282621ea180d27159c668f94eb7db2b7f4838..934c3a03176424f5f794f1acb5833ad616b99f76 100644
--- a/pkgs/build-support/rust/build-rust-crate/install-crate.nix
+++ b/pkgs/build-support/rust/build-rust-crate/install-crate.nix
@@ -1,24 +1,26 @@
crateName: metadata:
''
runHook preInstall
- mkdir -p $out
+ # always create $out even if we do not have binaries. We are detecting binary targets during compilation, if those are missing there is no way to only have $lib
+ mkdir $out
if [[ -s target/env ]]; then
- cp target/env $out/env
+ mkdir -p $lib
+ cp target/env $lib/env
fi
if [[ -s target/link.final ]]; then
- mkdir -p $out/lib
- cp target/link.final $out/lib/link
+ mkdir -p $lib/lib
+ cp target/link.final $lib/lib/link
fi
if [[ "$(ls -A target/lib)" ]]; then
- mkdir -p $out/lib
- cp target/lib/* $out/lib #*/
- for lib in $out/lib/*.so $out/lib/*.dylib; do #*/
- ln -s $lib $(echo $lib | sed -e "s/-${metadata}//")
+ mkdir -p $lib/lib
+ cp target/lib/* $lib/lib #*/
+ for library in $lib/lib/*.so $lib/lib/*.dylib; do #*/
+ ln -s $library $(echo $library | sed -e "s/-${metadata}//")
done
fi
if [[ "$(ls -A target/build)" ]]; then # */
- mkdir -p $out/lib
- cp -r target/build/* $out/lib # */
+ mkdir -p $lib/lib
+ cp -r target/build/* $lib/lib # */
fi
if [[ -d target/bin ]]; then
if [[ "$(ls -A target/bin)" ]]; then
diff --git a/pkgs/build-support/rust/default.nix b/pkgs/build-support/rust/default.nix
index f0f949b220560feb264782325dacadc645df1949..1d8e4448674e9ae3df4c9f826c7d55db42e941d3 100644
--- a/pkgs/build-support/rust/default.nix
+++ b/pkgs/build-support/rust/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, cacert, git, cargo, rustc, fetchcargo, buildPackages, windows }:
+{ stdenv, cacert, git, rust, cargo, rustc, fetchcargo, buildPackages, windows }:
{ name ? "${args.pname}-${args.version}"
, cargoSha256 ? "unset"
@@ -46,12 +46,7 @@ let
cargoDepsCopy="$sourceRoot/${cargoVendorDir}"
'';
- hostConfig = stdenv.hostPlatform.config;
-
- rustHostConfig = {
- x86_64-pc-mingw32 = "x86_64-pc-windows-gnu";
- }.${hostConfig} or hostConfig;
- rustTarget = if target == null then rustHostConfig else target;
+ rustTarget = if target == null then rust.toRustTarget stdenv.hostPlatform else target;
ccForBuild="${buildPackages.stdenv.cc}/bin/${buildPackages.stdenv.cc.targetPrefix}cc";
cxxForBuild="${buildPackages.stdenv.cc}/bin/${buildPackages.stdenv.cc.targetPrefix}c++";
@@ -87,7 +82,7 @@ stdenv.mkDerivation (args // {
--subst-var-by vendor "$(pwd)/$cargoDepsCopy"
cat >> .cargo/config <<'EOF'
- [target."${stdenv.buildPlatform.config}"]
+ [target."${rust.toRustTarget stdenv.buildPlatform}"]
"linker" = "${ccForBuild}"
${stdenv.lib.optionalString (stdenv.buildPlatform.config != stdenv.hostPlatform.config) ''
[target."${rustTarget}"]
@@ -129,10 +124,10 @@ stdenv.mkDerivation (args // {
(
set -x
env \
- "CC_${stdenv.buildPlatform.config}"="${ccForBuild}" \
- "CXX_${stdenv.buildPlatform.config}"="${cxxForBuild}" \
- "CC_${stdenv.hostPlatform.config}"="${ccForHost}" \
- "CXX_${stdenv.hostPlatform.config}"="${cxxForHost}" \
+ "CC_${rust.toRustTarget stdenv.buildPlatform}"="${ccForBuild}" \
+ "CXX_${rust.toRustTarget stdenv.buildPlatform}"="${cxxForBuild}" \
+ "CC_${rust.toRustTarget stdenv.hostPlatform}"="${ccForHost}" \
+ "CXX_${rust.toRustTarget stdenv.hostPlatform}"="${cxxForHost}" \
cargo build \
${stdenv.lib.optionalString (buildType == "release") "--release"} \
--target ${rustTarget} \
diff --git a/pkgs/build-support/setup-hooks/set-java-classpath.sh b/pkgs/build-support/setup-hooks/set-java-classpath.sh
index 5d3548dc2e88623b0ada7dee66deda2b2659234c..445fa56d61deef4a3a01cadb9c8f2f49d205a4db 100644
--- a/pkgs/build-support/setup-hooks/set-java-classpath.sh
+++ b/pkgs/build-support/setup-hooks/set-java-classpath.sh
@@ -6,7 +6,7 @@ export CLASSPATH
addPkgToClassPath () {
local jar
for jar in $1/share/java/*.jar; do
- export CLASSPATH=''${CLASSPATH}''${CLASSPATH:+:}''${jar}
+ export CLASSPATH=''${CLASSPATH-}''${CLASSPATH:+:}''${jar}
done
}
diff --git a/pkgs/common-updater/scripts/update-source-version b/pkgs/common-updater/scripts/update-source-version
index 591ffa6ca5baa4b6bd39022c7181e1ab9f678c81..d051a0f75c1317998d29694894c4b539604bf8be 100755
--- a/pkgs/common-updater/scripts/update-source-version
+++ b/pkgs/common-updater/scripts/update-source-version
@@ -92,8 +92,8 @@ if [ -z "$oldUrl" ]; then
die "Couldn't evaluate source url from '$attr.src'!"
fi
-drvName=$(nix-instantiate $systemArg --eval -E "with import ./. {}; (builtins.parseDrvName $attr.name).name" | tr -d '"')
-oldVersion=$(nix-instantiate $systemArg --eval -E "with import ./. {}; $attr.${versionKey} or (builtins.parseDrvName $attr.name).version" | tr -d '"')
+drvName=$(nix-instantiate $systemArg --eval -E "with import ./. {}; lib.getName $attr" | tr -d '"')
+oldVersion=$(nix-instantiate $systemArg --eval -E "with import ./. {}; $attr.${versionKey} or (lib.getVersion $attr)" | tr -d '"')
if [ -z "$drvName" -o -z "$oldVersion" ]; then
die "Couldn't evaluate name and version from '$attr.name'!"
diff --git a/pkgs/data/documentation/man-pages/default.nix b/pkgs/data/documentation/man-pages/default.nix
index a266a597e0b025d4651ebefb5e6df36a51a099f5..b4435fb911fa4b1524def2ef6f19620575d974b8 100644
--- a/pkgs/data/documentation/man-pages/default.nix
+++ b/pkgs/data/documentation/man-pages/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "man-pages";
- version = "5.03";
+ version = "5.04";
src = fetchurl {
url = "mirror://kernel/linux/docs/man-pages/${pname}-${version}.tar.xz";
- sha256 = "082i9258rl9xxjgpxpz3v8jcwk96dsk704ki9h9lq7q8z7m3mqbz";
+ sha256 = "1bx4ws24bjq6iyfyilg7aih5f0qrhy9l97ksrwcd4yxvjh8gn13x";
};
makeFlags = [ "MANDIR=$(out)/share/man" ];
diff --git a/pkgs/data/fonts/babelstone-han/default.nix b/pkgs/data/fonts/babelstone-han/default.nix
index 3485b181d5af3b7901e904609820653e152fa222..0d46fc92d5f2e9753d0dd0878cc56564ee5d2aea 100644
--- a/pkgs/data/fonts/babelstone-han/default.nix
+++ b/pkgs/data/fonts/babelstone-han/default.nix
@@ -14,7 +14,7 @@ in fetchzip {
meta = with lib; {
description = "Unicode CJK font with over 36000 Han characters";
- homepage = http://www.babelstone.co.uk/Fonts/Han.html;
+ homepage = https://www.babelstone.co.uk/Fonts/Han.html;
license = licenses.free;
platforms = platforms.all;
diff --git a/pkgs/data/fonts/cascadia-code/default.nix b/pkgs/data/fonts/cascadia-code/default.nix
index d2d2ad342561edb0095a72e47230a2ddd24b9cf5..105b5da31051f037db0b58e583728a303bca3323 100644
--- a/pkgs/data/fonts/cascadia-code/default.nix
+++ b/pkgs/data/fonts/cascadia-code/default.nix
@@ -2,7 +2,7 @@
let
pname = "cascadia-code";
- version = "1910.04";
+ version = "1911.20";
in
fetchurl {
name = "${pname}-${version}";
@@ -15,7 +15,7 @@ fetchurl {
install -Dm444 $downloadedFile $out/share/fonts/truetype/Cascadia.ttf
'';
- sha256 = "124zbv7xwirwwxrm988h3plwd2vynqxyx7p2gijqrnw69q9pf67q";
+ sha256 = "1dfd3g7cf2h0z2gxvk4pxy46xswd3wyqz3p8ypxcv2dkz4ri6l0j";
meta = with lib; {
description = "Monospaced font that includes programming ligatures and is designed to enhance the modern look and feel of the Windows Terminal";
diff --git a/pkgs/data/fonts/input-fonts/default.nix b/pkgs/data/fonts/input-fonts/default.nix
index 68322bd54828a1b7e4bde2e95f3058cdaadf0200..c3d3bf4aa6a0bb966865583f0e90260956676d9b 100644
--- a/pkgs/data/fonts/input-fonts/default.nix
+++ b/pkgs/data/fonts/input-fonts/default.nix
@@ -2,12 +2,12 @@
stdenv.mkDerivation {
pname = "input-fonts";
- version = "2017-08-10"; # date of the download and checksum
+ version = "2019-11-25"; # date of the download and checksum
src = requireFile {
name = "Input-Font.zip";
url = "https://input.fontbureau.com/download/";
- sha256 = "07fkyvbb12agkb2kpnq2j45nycgbjvb4n1s5hjyqsipdh2z9zihq";
+ sha256 = "10rax2a7vzidcs7kyfg5lv5bwp9i7kvjpdcsd10p0517syijkp3b";
};
nativeBuildInputs = [ unzip ];
@@ -25,7 +25,7 @@ stdenv.mkDerivation {
outputHashAlgo = "sha256";
outputHashMode = "recursive";
- outputHash = "0k7xqkgqldd110ch9s144ilh762q777qcjvg3plmrb9s6xiaqvvd";
+ outputHash = "15sdhqqqd4jgk80fw7ncx49avi9cxbdgyrvnrfya0066x4q4r6lv";
meta = with stdenv.lib; {
description = "Fonts for Code, from Font Bureau";
diff --git a/pkgs/data/fonts/iosevka/bin.nix b/pkgs/data/fonts/iosevka/bin.nix
index d6d986c699ad2195ae2e557042c9714ca32113eb..cbe4b25bd360178eb624d8aadee3415d06ca0075 100644
--- a/pkgs/data/fonts/iosevka/bin.nix
+++ b/pkgs/data/fonts/iosevka/bin.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchzip }:
let
- version = "2.3.2";
+ version = "2.3.3";
in fetchzip {
name = "iosevka-bin-${version}";
@@ -12,7 +12,7 @@ in fetchzip {
unzip -j $downloadedFile \*.ttc -d $out/share/fonts/iosevka
'';
- sha256 = "1dkfh354scjgzq7kgy4cn70z030wmfgxixqp8p9m6i0ps8gccjgs";
+ sha256 = "1dfm1888rii5kfmkxp5hnx8ycji57cbs5gazpgkxg1mnmn7i35wl";
meta = with stdenv.lib; {
homepage = https://be5invis.github.io/Iosevka/;
diff --git a/pkgs/data/fonts/overpass/default.nix b/pkgs/data/fonts/overpass/default.nix
index 4730a67e290cf648c828eee96d5ba1953928f2bc..1d0cf04d7569135ba20f28fe1d84e4ef97dcb926 100644
--- a/pkgs/data/fonts/overpass/default.nix
+++ b/pkgs/data/fonts/overpass/default.nix
@@ -1,7 +1,7 @@
{ lib, fetchzip }:
let
- version = "3.0.3";
+ version = "3.0.4";
in fetchzip rec {
name = "overpass-${version}";
@@ -12,10 +12,10 @@ in fetchzip rec {
mkdir -p $out/share/doc/${name} ; unzip -j $downloadedFile \*.md -d $out/share/doc/${name}
'';
- sha256 = "1m6p7rrlyqikjvypp4698sn0lp3a4z0z5al4swblfhg8qaxzv5pg";
+ sha256 = "13b4yam0nycclccxidzj2fa3nwms5qji7gfkixdnl4ybf0f56b64";
meta = with lib; {
- homepage = http://overpassfont.org/;
+ homepage = "https://overpassfont.org/";
description = "Font heavily inspired by Highway Gothic";
license = licenses.ofl;
platforms = platforms.all;
diff --git a/pkgs/data/fonts/rhodium-libre/default.nix b/pkgs/data/fonts/rhodium-libre/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..fc89d65259222a2b5559495bb0e13cce38fa9922
--- /dev/null
+++ b/pkgs/data/fonts/rhodium-libre/default.nix
@@ -0,0 +1,28 @@
+{ lib, fetchFromGitHub }:
+
+let
+ pname = "RhodiumLibre";
+ version = "1.2.0";
+in fetchFromGitHub {
+ name = "${pname}-${version}";
+
+ owner = "DunwichType";
+ repo = pname;
+ rev = version;
+
+ postFetch = ''
+ tar xf $downloadedFile --strip=1
+ install -Dm444 -t $out/share/fonts/opentype/ RhodiumLibre-Regular.otf
+ install -Dm444 -t $out/share/fonts/truetype/ RhodiumLibre-Regular.ttf
+ '';
+
+ sha256 = "04ax6bri5vsji465806p8d7zbdf12r5bpvcm9nb8isfqm81ggj0r";
+
+ meta = with lib; {
+ description = "F/OSS/Libre font for Latin and Devanagari";
+ homepage = "https://github.com/DunwichType/RhodiumLibre";
+ license = licenses.ofl;
+ platforms = platforms.all;
+ maintainers = [ maintainers.marsam ];
+ };
+}
diff --git a/pkgs/data/icons/flat-remix-icon-theme/default.nix b/pkgs/data/icons/flat-remix-icon-theme/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..f0e13b21dfd4c683c05ea2316aa8498e8e52bb73
--- /dev/null
+++ b/pkgs/data/icons/flat-remix-icon-theme/default.nix
@@ -0,0 +1,35 @@
+{ stdenv, fetchFromGitHub , gtk3 }:
+
+stdenv.mkDerivation rec {
+ pname = "flat-remix-icon-theme";
+ version = "20191018";
+
+ src = fetchFromGitHub {
+ owner = "daniruiz";
+ repo = "flat-remix";
+ rev = version;
+ sha256 = "13ibxvrvri04lb5phm49b6d553jh0aigm57z5i0nsins405gixn9";
+ };
+
+ nativeBuildInputs = [ gtk3 ];
+
+ installPhase = ''
+ mkdir -p $out/share/icons
+ mv Flat-Remix* $out/share/icons/
+ '';
+
+ postFixup = ''
+ for theme in $out/share/icons/*; do
+ gtk-update-icon-cache $theme
+ done
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Flat remix is a pretty simple icon theme inspired on material design";
+ homepage = https://drasite.com/flat-remix;
+ license = with licenses; [ gpl3 ];
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ mschneider ];
+ };
+}
+
diff --git a/pkgs/data/icons/zafiro-icons/default.nix b/pkgs/data/icons/zafiro-icons/default.nix
index 0b28a02ba4d96a378e71fe0bb412f9f08bb5fbbb..c3670a6f58ce2a374ac73a99b82e34f9bfaace60 100644
--- a/pkgs/data/icons/zafiro-icons/default.nix
+++ b/pkgs/data/icons/zafiro-icons/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "zafiro-icons";
- version = "0.9";
+ version = "1.0";
src = fetchFromGitHub {
owner = "zayronxio";
repo = pname;
- rev = "v${version}";
- sha256 = "0zmnhih4gz8bidyzf1wimy85z7zx9i29mv1zirmykpqj819g7mx9";
+ rev = "${version}";
+ sha256 = "0gy3c0jkj1icnwcs23b6km9cj9cccv8y5z1w11nfdv91cq3mdhmb";
};
nativeBuildInputs = [ gtk3 ];
diff --git a/pkgs/data/misc/tzdata/default.nix b/pkgs/data/misc/tzdata/default.nix
index b2363b4b549e1bc1b4c8c4ad6125c6e00ef2e44b..3227d9a76235b33ac66e917a92bf435005acbe88 100644
--- a/pkgs/data/misc/tzdata/default.nix
+++ b/pkgs/data/misc/tzdata/default.nix
@@ -2,16 +2,16 @@
stdenv.mkDerivation rec {
pname = "tzdata";
- version = "2019b";
+ version = "2019c";
srcs =
[ (fetchurl {
url = "https://data.iana.org/time-zones/releases/tzdata${version}.tar.gz";
- sha256 = "0r0clnlslwm15m1c61dinf1fi9ffgl6aipng7i7yryfwj0n0kn85";
+ sha256 = "0z7w1yv37cfk8yhix2cillam091vgp1j4g8fv84261q9mdnq1ivr";
})
(fetchurl {
url = "https://data.iana.org/time-zones/releases/tzcode${version}.tar.gz";
- sha256 = "0vbmswvv3li25s31shyllq5v24449lxnrki9hr043nipjd09sirf";
+ sha256 = "1m3y2rnf1nggxxhxplab5zdd5whvar3ijyrv7lifvm82irkd7szn";
})
];
diff --git a/pkgs/misc/themes/adapta-kde/default.nix b/pkgs/data/themes/adapta-kde/default.nix
similarity index 83%
rename from pkgs/misc/themes/adapta-kde/default.nix
rename to pkgs/data/themes/adapta-kde/default.nix
index a7624d2889bba31d7f4b7a78575515c70eddf178..47740aa6762225ddc49d4e4921a0a89f5774ac82 100644
--- a/pkgs/misc/themes/adapta-kde/default.nix
+++ b/pkgs/data/themes/adapta-kde/default.nix
@@ -2,16 +2,16 @@
stdenv.mkDerivation rec {
pname = "adapta-kde-theme";
- version = "20180512";
+ version = "20180828";
src = fetchFromGitHub {
owner = "PapirusDevelopmentTeam";
repo = "adapta-kde";
rev = version;
- sha256 = "1lgpkylhzbayk892inql16sjyy9d3v126f9i1v7qgha1203rwcji";
+ sha256 = "1q85678sff8is2kwvgd703ckcns42gdga2c1rqlp61gb6bqf09j8";
};
- makeFlags = ["PREFIX=$(out)" ];
+ makeFlags = [ "PREFIX=$(out)" ];
# Make this a fixed-output derivation
outputHashMode = "recursive";
diff --git a/pkgs/misc/themes/adapta/default.nix b/pkgs/data/themes/adapta/default.nix
similarity index 100%
rename from pkgs/misc/themes/adapta/default.nix
rename to pkgs/data/themes/adapta/default.nix
diff --git a/pkgs/misc/themes/adwaita-qt/default.nix b/pkgs/data/themes/adwaita-qt/default.nix
similarity index 100%
rename from pkgs/misc/themes/adwaita-qt/default.nix
rename to pkgs/data/themes/adwaita-qt/default.nix
diff --git a/pkgs/misc/themes/albatross/default.nix b/pkgs/data/themes/albatross/default.nix
similarity index 100%
rename from pkgs/misc/themes/albatross/default.nix
rename to pkgs/data/themes/albatross/default.nix
diff --git a/pkgs/misc/themes/arc-kde/default.nix b/pkgs/data/themes/arc-kde/default.nix
similarity index 73%
rename from pkgs/misc/themes/arc-kde/default.nix
rename to pkgs/data/themes/arc-kde/default.nix
index decdbdfac2dcfe3db3620dec44575beab2781463..4937a99daecd3aadd8affacf1d178fcc797be7d0 100644
--- a/pkgs/misc/themes/arc-kde/default.nix
+++ b/pkgs/data/themes/arc-kde/default.nix
@@ -1,17 +1,17 @@
{ stdenv, fetchFromGitHub }:
-stdenv.mkDerivation {
+stdenv.mkDerivation rec {
pname = "arc-kde-theme";
- version = "2017-11-09";
+ version = "20180614";
src = fetchFromGitHub {
owner = "PapirusDevelopmentTeam";
repo = "arc-kde";
- rev = "a0abe6fc5ebf74f9ae88b8a2035957cc16f706f5";
- sha256 = "1p6f4ny97096nb054lrgyjwikmvg0qlbcnsjag7m5dfbclfnvzkg";
+ rev = version;
+ sha256 = "0wli16k9my7m8a9561545vjwfifmxm4w606z1h0j08msvlky40xw";
};
- makeFlags = ["PREFIX=$(out)" ];
+ makeFlags = [ "PREFIX=$(out)" ];
# Make this a fixed-output derivation
outputHashMode = "recursive";
diff --git a/pkgs/misc/themes/blackbird/default.nix b/pkgs/data/themes/blackbird/default.nix
similarity index 100%
rename from pkgs/misc/themes/blackbird/default.nix
rename to pkgs/data/themes/blackbird/default.nix
diff --git a/pkgs/misc/themes/clearlooks-phenix/default.nix b/pkgs/data/themes/clearlooks-phenix/default.nix
similarity index 89%
rename from pkgs/misc/themes/clearlooks-phenix/default.nix
rename to pkgs/data/themes/clearlooks-phenix/default.nix
index 7c1eb54f92f5add33a98741ed9266bcb44da2aa6..2f701b9b765b6093745bc35fe4177305fa851960 100644
--- a/pkgs/misc/themes/clearlooks-phenix/default.nix
+++ b/pkgs/data/themes/clearlooks-phenix/default.nix
@@ -1,12 +1,12 @@
-{ stdenv, fetchurl }:
+{ stdenv, fetchzip }:
stdenv.mkDerivation rec {
version = "7.0.1";
pname = "clearlooks-phenix";
- src = fetchurl {
+ src = fetchzip {
url = "https://github.com/jpfleury/clearlooks-phenix/archive/${version}.tar.gz";
- sha256 = "1x2psfbhxc3bk3q795bafxv6p890yfsankfw64p44q4r1x0236ra";
+ sha256 = "1b6y4l3rf3c5r4v72fyj3ppvnvw13kvr2a1dyl63ni1jxnlk50kd";
};
dontBuild = true;
diff --git a/pkgs/misc/themes/e17gtk/default.nix b/pkgs/data/themes/e17gtk/default.nix
similarity index 100%
rename from pkgs/misc/themes/e17gtk/default.nix
rename to pkgs/data/themes/e17gtk/default.nix
diff --git a/pkgs/misc/themes/equilux-theme/default.nix b/pkgs/data/themes/equilux-theme/default.nix
similarity index 100%
rename from pkgs/misc/themes/equilux-theme/default.nix
rename to pkgs/data/themes/equilux-theme/default.nix
diff --git a/pkgs/misc/themes/gnome-breeze/default.nix b/pkgs/data/themes/gnome-breeze/default.nix
similarity index 100%
rename from pkgs/misc/themes/gnome-breeze/default.nix
rename to pkgs/data/themes/gnome-breeze/default.nix
diff --git a/pkgs/misc/themes/kde2/default.nix b/pkgs/data/themes/kde2/default.nix
similarity index 58%
rename from pkgs/misc/themes/kde2/default.nix
rename to pkgs/data/themes/kde2/default.nix
index fac8c38eecaee241210e4896cc536ae89a5f498b..547e4f30aa6ca90877cf437ba7b65bed69f91133 100644
--- a/pkgs/misc/themes/kde2/default.nix
+++ b/pkgs/data/themes/kde2/default.nix
@@ -1,18 +1,17 @@
-{ stdenv, fetchFromGitHub, mkDerivation
+{ lib, fetchFromGitHub, mkDerivation
, cmake, extra-cmake-modules
-, qtbase, kcoreaddons, kdecoration }:
+, qtbase, kcoreaddons, kdecoration
+}:
-let
- version = "2017-03-15";
-in mkDerivation rec {
+mkDerivation rec {
pname = "kde2-decoration";
- inherit version;
+ version = "1.0";
src = fetchFromGitHub {
owner = "repos-holder";
repo = "kdecoration2-kde2";
- rev = "2a9cf18ac0646b3532d4db2dd28bd73c4c229783";
- sha256 = "0kilw6sd3blvm6gx9w4w5ivkjfxlv6wnyivw46pwwvhgxqymkbxk";
+ rev = version;
+ sha256 = "1766z9wscybcqvr828xih93b3rab3hb0ghsf818iflhp1xy0js08";
};
enableParallelBuilding = true;
@@ -21,9 +20,9 @@ in mkDerivation rec {
buildInputs = [ qtbase kcoreaddons kdecoration ];
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "KDE 2 window decoration ported to Plasma 5";
- homepage = src.meta.homepage;
+ homepage = "https://github.com/repos-holder/kdecoration2-kde2";
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = with maintainers; [ gnidorah ];
diff --git a/pkgs/misc/themes/numix-solarized/default.nix b/pkgs/data/themes/numix-solarized/default.nix
similarity index 100%
rename from pkgs/misc/themes/numix-solarized/default.nix
rename to pkgs/data/themes/numix-solarized/default.nix
diff --git a/pkgs/misc/themes/numix-sx/default.nix b/pkgs/data/themes/numix-sx/default.nix
similarity index 100%
rename from pkgs/misc/themes/numix-sx/default.nix
rename to pkgs/data/themes/numix-sx/default.nix
diff --git a/pkgs/misc/themes/numix/default.nix b/pkgs/data/themes/numix/default.nix
similarity index 100%
rename from pkgs/misc/themes/numix/default.nix
rename to pkgs/data/themes/numix/default.nix
diff --git a/pkgs/misc/themes/onestepback/default.nix b/pkgs/data/themes/onestepback/default.nix
similarity index 100%
rename from pkgs/misc/themes/onestepback/default.nix
rename to pkgs/data/themes/onestepback/default.nix
diff --git a/pkgs/misc/themes/orion/default.nix b/pkgs/data/themes/orion/default.nix
similarity index 100%
rename from pkgs/misc/themes/orion/default.nix
rename to pkgs/data/themes/orion/default.nix
diff --git a/pkgs/misc/themes/paper/default.nix b/pkgs/data/themes/paper-gtk/default.nix
similarity index 100%
rename from pkgs/misc/themes/paper/default.nix
rename to pkgs/data/themes/paper-gtk/default.nix
diff --git a/pkgs/data/themes/plata/default.nix b/pkgs/data/themes/plata/default.nix
index d1d7228183c55ecd717d712696bcc6b773eac3e7..37eb9b7e5bcd9dcf6300ad8982512a88d1e8dce3 100644
--- a/pkgs/data/themes/plata/default.nix
+++ b/pkgs/data/themes/plata/default.nix
@@ -19,13 +19,13 @@
stdenv.mkDerivation rec {
pname = "plata-theme";
- version = "0.9.0";
+ version = "0.9.1";
src = fetchFromGitLab {
owner = "tista500";
repo = "plata-theme";
rev = version;
- sha256 = "1bcjrnh6bm7pxyqrr39yx5zykf3yzxrsydd5xcawjfihnph3yrlg";
+ sha256 = "0rva56xdvsj6vwwvrn55137mw83c9p4xy00i3mq0ryh43imyj4mg";
};
preferLocalBuild = true;
diff --git a/pkgs/misc/themes/qtcurve/default.nix b/pkgs/data/themes/qtcurve/default.nix
similarity index 95%
rename from pkgs/misc/themes/qtcurve/default.nix
rename to pkgs/data/themes/qtcurve/default.nix
index 0071e386e88c20f257d900fd066493905affbc55..673b97cc137c9022ce1b727257308755600491a1 100644
--- a/pkgs/misc/themes/qtcurve/default.nix
+++ b/pkgs/data/themes/qtcurve/default.nix
@@ -11,7 +11,7 @@ in mkDerivation {
pname = "qtcurve";
inherit version;
src = fetchurl {
- url = "http://download.kde.org/stable/qtcurve/qtcurve-${version}.tar.xz";
+ url = "https://download.kde.org/stable/qtcurve/qtcurve-${version}.tar.xz";
sha256 = "169gdny1cdld0qnx3nqvx568zjzdba4pwp3gxapc1hdh2cymw7r8";
};
diff --git a/pkgs/misc/themes/solarc/default.nix b/pkgs/data/themes/solarc/default.nix
similarity index 100%
rename from pkgs/misc/themes/solarc/default.nix
rename to pkgs/data/themes/solarc/default.nix
diff --git a/pkgs/misc/themes/vertex/default.nix b/pkgs/data/themes/vertex/default.nix
similarity index 100%
rename from pkgs/misc/themes/vertex/default.nix
rename to pkgs/data/themes/vertex/default.nix
diff --git a/pkgs/desktops/deepin/deepin-desktop-schemas/default.nix b/pkgs/desktops/deepin/deepin-desktop-schemas/default.nix
index fe2062a3d96504246fd73981eb297a25f0d031f9..745b2992c5fbf672850f8e59f600393094fd2cf1 100644
--- a/pkgs/desktops/deepin/deepin-desktop-schemas/default.nix
+++ b/pkgs/desktops/deepin/deepin-desktop-schemas/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, python3, gnome3, glib, deepin-gtk-theme,
+{ stdenv, fetchFromGitHub, python3, dconf, glib, deepin-gtk-theme,
deepin-icon-theme, deepin-sound-theme, deepin-wallpapers, deepin }:
stdenv.mkDerivation rec {
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
];
buildInputs = [
- gnome3.dconf
+ dconf
deepin-gtk-theme
deepin-icon-theme
deepin-sound-theme
diff --git a/pkgs/desktops/deepin/deepin-editor/default.nix b/pkgs/desktops/deepin/deepin-editor/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..0aea9558ec00868aa44d3796a2830ed5ea6c6d04
--- /dev/null
+++ b/pkgs/desktops/deepin/deepin-editor/default.nix
@@ -0,0 +1,64 @@
+{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, cmake, deepin,
+ dtkcore, dtkwidget, kcodecs, qttools, syntax-highlighting,
+ wrapQtAppsHook
+}:
+
+stdenv.mkDerivation rec {
+ name = "${pname}-${version}";
+ pname = "deepin-editor";
+ version = "1.2.9.1";
+
+ src = fetchFromGitHub {
+ owner = "linuxdeepin";
+ repo = pname;
+ rev = version;
+ sha256 = "0g7c3adqwn8i4ndxdrzibahr75dddz1fiqnsh3bjj1jjr86rv4ks";
+ };
+
+ nativeBuildInputs = [
+ cmake
+ pkgconfig
+ qttools
+ wrapQtAppsHook
+ deepin.setupHook
+ ];
+
+ buildInputs = [
+ dtkcore
+ dtkwidget
+ kcodecs
+ syntax-highlighting
+ ];
+
+ postPatch = ''
+ searchHardCodedPaths # debugging
+
+ patchShebangs translate_generation.sh
+
+ fixPath $out /usr \
+ CMakeLists.txt \
+ dedit/main.cpp \
+ src/resources/settings.json \
+ src/thememodule/themelistmodel.cpp
+
+ substituteInPlace deepin-editor.desktop \
+ --replace "Exec=deepin-editor" "Exec=$out/bin/deepin-editor"
+
+ substituteInPlace src/editwrapper.cpp \
+ --replace "appExec = \"deepin-editor\"" "appExec = \"$out/bin/deepin-editor\""
+ '';
+
+ postFixup = ''
+ searchHardCodedPaths $out # debugging
+ '';
+
+ passthru.updateScript = deepin.updateScript { inherit name; };
+
+ meta = with stdenv.lib; {
+ description = "Simple editor for Deepin Desktop Environment";
+ homepage = https://github.com/linuxdeepin/deepin-editor;
+ license = licenses.gpl3;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ romildo worldofpeace ];
+ };
+}
diff --git a/pkgs/desktops/deepin/default.nix b/pkgs/desktops/deepin/default.nix
index a2bb4ed19d94862bfdc0a2edd2bb69c85fe853b6..57b0b35a532721ab6663c6bc0499a78010dc6140 100644
--- a/pkgs/desktops/deepin/default.nix
+++ b/pkgs/desktops/deepin/default.nix
@@ -23,6 +23,7 @@ let
deepin-calculator = callPackage ./deepin-calculator { };
deepin-desktop-base = callPackage ./deepin-desktop-base { };
deepin-desktop-schemas = callPackage ./deepin-desktop-schemas { };
+ deepin-editor = callPackage ./deepin-editor { };
deepin-gettext-tools = callPackage ./deepin-gettext-tools { };
deepin-gtk-theme = callPackage ./deepin-gtk-theme { };
deepin-icon-theme = callPackage ./deepin-icon-theme { };
diff --git a/pkgs/desktops/gnome-2/default.nix b/pkgs/desktops/gnome-2/default.nix
index 6cc6848b316fcfc84bb3b4f3cc2706f2b6ec040c..d0a7a890355a15eb5a326c42641509fb3d2bdcf5 100644
--- a/pkgs/desktops/gnome-2/default.nix
+++ b/pkgs/desktops/gnome-2/default.nix
@@ -37,9 +37,7 @@ lib.makeScope pkgs.newScope (self: with self; {
gnome_python_desktop = callPackage ./bindings/gnome-python-desktop { };
- gnome_vfs = callPackage ./platform/gnome-vfs {
- openssl = pkgs.openssl_1_0_2;
- };
+ gnome_vfs = callPackage ./platform/gnome-vfs { };
libgnome = callPackage ./platform/libgnome { };
diff --git a/pkgs/desktops/gnome-2/platform/gnome-vfs/default.nix b/pkgs/desktops/gnome-2/platform/gnome-vfs/default.nix
index c15f43b542aa7decd6830446c3477488c90b180e..7196840978f4e21434ad2941e593a2c27c668314 100644
--- a/pkgs/desktops/gnome-2/platform/gnome-vfs/default.nix
+++ b/pkgs/desktops/gnome-2/platform/gnome-vfs/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, libxml2, bzip2, openssl, dbus-glib
+{ stdenv, fetchurl, fetchpatch, pkgconfig, libxml2, bzip2, openssl, dbus-glib
, glib, gamin, cdparanoia, intltool, GConf, gnome_mime_data, avahi, acl }:
stdenv.mkDerivation rec {
@@ -20,6 +20,18 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ GConf glib ];
+ # struct SSL is opaque in openssl-1.1; and the SSL_free() man page
+ # says that one should not free members of it manually (in both
+ # the openssl-1.0 and openssl-1.1 man pages).
+ # https://bugs.gentoo.org/592540
+ patches = [ (fetchpatch {
+ name = "gnome-vfs-2.24.4-openssl-1.1.patch";
+ url = "https://bugs.gentoo.org/attachment.cgi?id=535944";
+ sha256 = "1q4icapvmwmd5rjah7rr0bqazzk5cg36znmjlpra20n9y27nz040";
+ extraPrefix = "";
+ })
+ ];
+
postPatch = "find . -name Makefile.in | xargs sed 's/-DG_DISABLE_DEPRECATED//g' -i ";
doCheck = false; # needs dbus daemon
diff --git a/pkgs/desktops/gnome-2/platform/gtkglext/default.nix b/pkgs/desktops/gnome-2/platform/gtkglext/default.nix
index 27caaa70634f983167fec351596950009f28003d..3b972718230a5b2ccc95c1df872f7e011d6b7c0e 100644
--- a/pkgs/desktops/gnome-2/platform/gtkglext/default.nix
+++ b/pkgs/desktops/gnome-2/platform/gtkglext/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, fetchpatch, pkgconfig, glib, gtk2, libGLU_combined, pango, pangox_compat, xorg }:
+{ stdenv, fetchurl, fetchpatch, pkgconfig, glib, gtk2, libGLU, libGL, pango, pangox_compat, xorg }:
stdenv.mkDerivation rec {
name = "gtkglext-1.2.0";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
};
buildInputs = with xorg;
- [ pkgconfig glib gtk2 libGLU_combined pango libX11 libXmu ];
+ [ pkgconfig glib gtk2 libGLU libGL pango libX11 libXmu ];
propagatedBuildInputs = [ pangox_compat ];
patches = [
diff --git a/pkgs/desktops/gnome-3/apps/accerciser/default.nix b/pkgs/desktops/gnome-3/apps/accerciser/default.nix
index c801657f74bf5ce2f5047e0522e30de25723118f..0b833a876b61cd8905482d9aec4a41f47bd3c750 100644
--- a/pkgs/desktops/gnome-3/apps/accerciser/default.nix
+++ b/pkgs/desktops/gnome-3/apps/accerciser/default.nix
@@ -17,13 +17,13 @@
python3.pkgs.buildPythonApplication rec {
name = "accerciser-${version}";
- version = "3.34.1";
+ version = "3.34.2";
format = "other";
src = fetchurl {
url = "mirror://gnome/sources/accerciser/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "1awf7fcm52r23s51gllyybhywf2kljqkaw4znblajph9sawnfs3l";
+ sha256 = "1n6sy95j0r0v01sc9rbbpzikq2z4z42j8ah73hzmjdmck4iniik4";
};
nativeBuildInputs = [
diff --git a/pkgs/desktops/gnome-3/apps/file-roller/default.nix b/pkgs/desktops/gnome-3/apps/file-roller/default.nix
index 36b89a310522817ea15af6fabf5c264e1237acdf..387f0ebdc4462256404aab5867986d9bcdba3ffc 100644
--- a/pkgs/desktops/gnome-3/apps/file-roller/default.nix
+++ b/pkgs/desktops/gnome-3/apps/file-roller/default.nix
@@ -3,11 +3,11 @@
stdenv.mkDerivation rec {
pname = "file-roller";
- version = "3.32.2";
+ version = "3.32.3";
src = fetchurl {
url = "mirror://gnome/sources/file-roller/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "0w8s6hakgsvb2nqwbv0lr8ki4cbf1pz5z3qwkb0b2k7ppbh7j2n6";
+ sha256 = "0ap2hxvjljh4p6wsd9ikh2my3vsxp9r2nvjxxj3v87nwfyw1y4dy";
};
LANG = "en_US.UTF-8"; # postinstall.py
diff --git a/pkgs/desktops/gnome-3/apps/gedit/default.nix b/pkgs/desktops/gnome-3/apps/gedit/default.nix
index 5115c2d8fb4f40e2b44732a7f24d3f77a6472cc8..6ea04910d230cdf4abda12b559084eefaebea190 100644
--- a/pkgs/desktops/gnome-3/apps/gedit/default.nix
+++ b/pkgs/desktops/gnome-3/apps/gedit/default.nix
@@ -6,11 +6,11 @@
stdenv.mkDerivation rec {
pname = "gedit";
- version = "3.34.0";
+ version = "3.34.1";
src = fetchurl {
url = "mirror://gnome/sources/gedit/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "0zjh3p3lns7a7kx3g3v7gkgcqdzyx1zyv8ssr6d5ljfb7hfyb59y";
+ sha256 = "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb";
};
nativeBuildInputs = [
diff --git a/pkgs/desktops/gnome-3/apps/gnome-boxes/default.nix b/pkgs/desktops/gnome-3/apps/gnome-boxes/default.nix
index ce8215d6391789c3648ade8fcd4920b7c49bab9c..d59746adc3d9fd47ab5e010e42f65306e201ad10 100644
--- a/pkgs/desktops/gnome-3/apps/gnome-boxes/default.nix
+++ b/pkgs/desktops/gnome-3/apps/gnome-boxes/default.nix
@@ -51,11 +51,11 @@
stdenv.mkDerivation rec {
pname = "gnome-boxes";
- version = "3.34.1";
+ version = "3.34.2";
src = fetchurl {
url = "mirror://gnome/sources/gnome-boxes/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "1758k5b79kyywdg67b4byqhva9045i13lzg5r62my950c4c2p0pc";
+ sha256 = "1rqdjf61cbi3zcpzr6cfkj3lcfrdlhs20bl65lxw2xrwk4jn0ph5";
};
doCheck = true;
diff --git a/pkgs/desktops/gnome-3/apps/gnome-maps/default.nix b/pkgs/desktops/gnome-3/apps/gnome-maps/default.nix
index 49b44f5f283834f123a3843edbe4cc1be48b3036..12dba8b41e133f2b80dc1fdc120429cc5a7b0ab4 100644
--- a/pkgs/desktops/gnome-3/apps/gnome-maps/default.nix
+++ b/pkgs/desktops/gnome-3/apps/gnome-maps/default.nix
@@ -5,13 +5,13 @@
let
pname = "gnome-maps";
- version = "3.34.1";
+ version = "3.34.2";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "03nswj60lqznr2j3ld2lgjzr4j9x2gblqx2ip4l2yxnm9kgbm14s";
+ sha256 = "00xslcnhhwslqglgfv2im7vq3awa49y2jxzr8wsby7f713k28vf5";
};
doCheck = true;
diff --git a/pkgs/desktops/gnome-3/core/dconf-editor/default.nix b/pkgs/desktops/gnome-3/core/dconf-editor/default.nix
index c7a126034f2be5e13b8781a2c1b28f6913447e2d..5934f56274cb60f217008b6be5ebdf724bf15491 100644
--- a/pkgs/desktops/gnome-3/core/dconf-editor/default.nix
+++ b/pkgs/desktops/gnome-3/core/dconf-editor/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, meson, ninja, vala, libxslt, pkgconfig, glib, gtk3, gnome3, python3
+{ stdenv, fetchurl, meson, ninja, vala, libxslt, pkgconfig, glib, gtk3, gnome3, python3, dconf
, libxml2, gettext, docbook_xsl, wrapGAppsHook, gobject-introspection }:
let
@@ -17,7 +17,7 @@ in stdenv.mkDerivation rec {
gettext docbook_xsl libxml2 gobject-introspection python3
];
- buildInputs = [ glib gtk3 gnome3.dconf ];
+ buildInputs = [ glib gtk3 dconf ];
postPatch = ''
chmod +x meson_post_install.py
diff --git a/pkgs/desktops/gnome-3/core/epiphany/default.nix b/pkgs/desktops/gnome-3/core/epiphany/default.nix
index bfcf01591e5630f2413c1e1c0a4188c7ce9b5af1..f042bbd146a4358d4c2695ec15b3b09b14208aa0 100644
--- a/pkgs/desktops/gnome-3/core/epiphany/default.nix
+++ b/pkgs/desktops/gnome-3/core/epiphany/default.nix
@@ -34,11 +34,11 @@
stdenv.mkDerivation rec {
pname = "epiphany";
- version = "3.34.1";
+ version = "3.34.2";
src = fetchurl {
url = "mirror://gnome/sources/epiphany/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "1nf1pqv3pdgrlq7fbic06rl3731dx5ihpfsphpai9grcmnbwjyx0";
+ sha256 = "18d48vcp2nxs63bddkdplslgbnlfq79pm2ivl8hk38kkggy3dahf";
};
# Tests need an X display
diff --git a/pkgs/desktops/gnome-3/core/evince/default.nix b/pkgs/desktops/gnome-3/core/evince/default.nix
index 61f27f10ae108f710bce4935affb1d90e2cf7e73..bab84eeb78cead0980574e6133c717c9a3acea6c 100644
--- a/pkgs/desktops/gnome-3/core/evince/default.nix
+++ b/pkgs/desktops/gnome-3/core/evince/default.nix
@@ -43,13 +43,13 @@
stdenv.mkDerivation rec {
pname = "evince";
- version = "3.34.1";
+ version = "3.34.2";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/evince/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "1pr6fvbaam1mzxjwyqd53hcxzdjzf73idn10j4j7n54nwg6hgr45";
+ sha256 = "05q6v9lssd21623mnj2p49clj9v9csw9kay7n4nklki025grbh1w";
};
postPatch = ''
diff --git a/pkgs/desktops/gnome-3/core/evolution-data-server/default.nix b/pkgs/desktops/gnome-3/core/evolution-data-server/default.nix
index fa70ecea264aefdf6f776f98f0b8847e0963aff8..6c293cb55b9dc766af1f160cf951430c099f1664 100644
--- a/pkgs/desktops/gnome-3/core/evolution-data-server/default.nix
+++ b/pkgs/desktops/gnome-3/core/evolution-data-server/default.nix
@@ -6,13 +6,13 @@
stdenv.mkDerivation rec {
pname = "evolution-data-server";
- version = "3.34.1";
+ version = "3.34.2";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/evolution-data-server/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "1gisymfjhkibqy73pmd0d3fwl43a23d0lvlxzqkycfdn9jh6pxbg";
+ sha256 = "16z85y6hhazcrp5ngw47w4x9r0j8zrj7awv5im58hhp0xs19zf1y";
};
patches = [
diff --git a/pkgs/desktops/gnome-3/core/gdm/default.nix b/pkgs/desktops/gnome-3/core/gdm/default.nix
index 9d1602dfccd3a81306b3e2c2eff771ab9e558645..ba660a64418cc1a2ee2e8ad327136aa9776baff1 100644
--- a/pkgs/desktops/gnome-3/core/gdm/default.nix
+++ b/pkgs/desktops/gnome-3/core/gdm/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, substituteAll, pkgconfig, glib, itstool, libxml2, xorg
-, accountsservice, libX11, gnome3, systemd, autoreconfHook
+, accountsservice, libX11, gnome3, systemd, autoreconfHook, dconf
, gtk3, libcanberra-gtk3, pam, libtool, gobject-introspection, plymouth
, librsvg, coreutils, xwayland, nixos-icons, fetchpatch }:
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
"--with-udevdir=$(out)/lib/udev"
];
- nativeBuildInputs = [ pkgconfig libxml2 itstool autoreconfHook libtool gnome3.dconf ];
+ nativeBuildInputs = [ pkgconfig libxml2 itstool autoreconfHook libtool dconf ];
buildInputs = [
glib accountsservice systemd
gobject-introspection libX11 gtk3
diff --git a/pkgs/desktops/gnome-3/core/mutter/default.nix b/pkgs/desktops/gnome-3/core/mutter/default.nix
index 8fad9e3c288b27409d0eebdd0c72327167e01da7..6d36b8710b62044b082036235dd9c664e4bed4db 100644
--- a/pkgs/desktops/gnome-3/core/mutter/default.nix
+++ b/pkgs/desktops/gnome-3/core/mutter/default.nix
@@ -10,6 +10,7 @@
, sysprof
, desktop-file-utils
, libcap_ng
+, egl-wayland
}:
stdenv.mkDerivation rec {
@@ -26,6 +27,8 @@ stdenv.mkDerivation rec {
mesonFlags = [
"-Dxwayland-path=${xwayland}/bin/Xwayland"
"-Dinstalled_tests=false" # TODO: enable these
+ "-Dwayland_eglstream=true"
+ "-Degl_device=true"
];
propagatedBuildInputs = [
@@ -52,7 +55,7 @@ stdenv.mkDerivation rec {
gnome-desktop cairo pango cogl zenity libstartup_notification
geocode-glib libinput libgudev libwacom
libcanberra-gtk3 zenity xkeyboard_config libxkbfile
- libxkbcommon pipewire xwayland
+ libxkbcommon pipewire xwayland egl-wayland
gnome-settings-daemon sysprof
];
diff --git a/pkgs/desktops/gnome-3/core/rygel/default.nix b/pkgs/desktops/gnome-3/core/rygel/default.nix
index c38e677a4217a823d9de8fc087440391d227edeb..415974d0c2b719cb78ff926b042b00a744070111 100644
--- a/pkgs/desktops/gnome-3/core/rygel/default.nix
+++ b/pkgs/desktops/gnome-3/core/rygel/default.nix
@@ -28,14 +28,14 @@
stdenv.mkDerivation rec {
pname = "rygel";
- version = "0.38.1";
+ version = "0.38.3";
# TODO: split out lib
outputs = [ "out" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "1w8bi2rw91qyfny1zxhy32k4qn62hdjl2m38f75cp7wv6494d7w0";
+ sha256 = "003xficqb08r1dgid20i7cn889lbfwrglpx78rjd5nkvgxbimhh8";
};
nativeBuildInputs = [
diff --git a/pkgs/desktops/gnome-3/core/simple-scan/default.nix b/pkgs/desktops/gnome-3/core/simple-scan/default.nix
index 21e198a867f14987b8181a09ff22949be543ad86..8d737b22a7ac70e89f229970ca085b7990e37536 100644
--- a/pkgs/desktops/gnome-3/core/simple-scan/default.nix
+++ b/pkgs/desktops/gnome-3/core/simple-scan/default.nix
@@ -4,11 +4,11 @@
stdenv.mkDerivation rec {
pname = "simple-scan";
- version = "3.34.1";
+ version = "3.34.2";
src = fetchurl {
url = "mirror://gnome/sources/simple-scan/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "0glzskxdc7p9z7nwcakqc7qzij4l79adlvvb2cj5fmis731zw9yq";
+ sha256 = "1fk3g4f9slckqfwm576jrjq1d1qihw0dlgzdf00ns7qbhzb0kxsp";
};
buildInputs = [
diff --git a/pkgs/desktops/gnome-3/core/yelp-xsl/default.nix b/pkgs/desktops/gnome-3/core/yelp-xsl/default.nix
index 7cb63b8df797ec0d5e37324873fcf5962eb16b6f..34f6accdd5ffa34ad3aea6b39c2f58d6c52b9400 100644
--- a/pkgs/desktops/gnome-3/core/yelp-xsl/default.nix
+++ b/pkgs/desktops/gnome-3/core/yelp-xsl/default.nix
@@ -10,11 +10,11 @@
stdenv.mkDerivation rec {
pname = "yelp-xsl";
- version = "3.34.0";
+ version = "3.34.2";
src = fetchurl {
url = "mirror://gnome/sources/yelp-xsl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "1qjfw4s8yf4hmyqrcqy6q2rsnb8b2cl1qbq67m7n7pyiczp3l1p8";
+ sha256 = "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc";
};
nativeBuildInputs = [
diff --git a/pkgs/desktops/gnome-3/default.nix b/pkgs/desktops/gnome-3/default.nix
index 1e760c0602922d1a8508977f13364093d9b2c3e7..605ef95656c34d7e07307248c9cad05401dcf1a8 100644
--- a/pkgs/desktops/gnome-3/default.nix
+++ b/pkgs/desktops/gnome-3/default.nix
@@ -14,10 +14,9 @@ lib.makeScope pkgs.newScope (self: with self; {
*/
removePackagesByName = packages: packagesToRemove:
let
- pkgName = drv: (builtins.parseDrvName drv.name).name;
- namesToRemove = map pkgName packagesToRemove;
+ namesToRemove = map lib.getName packagesToRemove;
in
- lib.filter (x: !(builtins.elem (pkgName x) namesToRemove)) packages;
+ lib.filter (x: !(builtins.elem (lib.getName x) namesToRemove)) packages;
maintainers = with pkgs.lib.maintainers; [ lethalman jtojnar hedning worldofpeace ];
@@ -36,7 +35,6 @@ lib.makeScope pkgs.newScope (self: with self; {
caribou = callPackage ./core/caribou { };
- dconf = callPackage ./core/dconf { };
dconf-editor = callPackage ./core/dconf-editor { };
empathy = callPackage ./core/empathy { };
@@ -360,4 +358,6 @@ lib.makeScope pkgs.newScope (self: with self; {
inherit (pkgs) gjs; # added 2019-01-05
inherit (pkgs) yelp-tools; # added 2019-11-20
+
+ inherit (pkgs) dconf; # added 2019-11-30
})
diff --git a/pkgs/desktops/gnome-3/extensions/caffeine/default.nix b/pkgs/desktops/gnome-3/extensions/caffeine/default.nix
index 8cf9fb9f0e632c5a168e8cbc9b9c4586443c00f5..1761887f8fb1b560ba4c8cd089e967bcaabc8f60 100644
--- a/pkgs/desktops/gnome-3/extensions/caffeine/default.nix
+++ b/pkgs/desktops/gnome-3/extensions/caffeine/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "gnome-shell-extension-caffeine";
- version = "unstable-2019-04-02";
+ version = "33";
src = fetchFromGitHub {
owner = "eonpatapon";
repo = "gnome-shell-extension-caffeine";
- rev = "a6b37dee108cddf50a0f0a19f0101854a75bf173";
- sha256 = "1j3q12j36v97551sjb0c8qc8zr7a7gmxibygczryfdfmwjzp6icl";
+ rev = "v${version}";
+ sha256 = "1v74xfk7csgc4kw1fg75brmhk2aby3d453ksnmj4k8ivyxkzxmfg";
};
uuid = "caffeine@patapon.info";
@@ -32,6 +32,5 @@ stdenv.mkDerivation rec {
license = licenses.gpl2;
maintainers = with maintainers; [ eperuffo ];
homepage = https://github.com/eonpatapon/gnome-shell-extension-caffeine;
- broken = versionAtLeast gnome3.gnome-shell.version "3.32"; # Doesn't support 3.34
};
}
diff --git a/pkgs/desktops/gnome-3/games/gnome-taquin/default.nix b/pkgs/desktops/gnome-3/games/gnome-taquin/default.nix
index dd7908ba726eef897c3f0d7df8c8a9948d28ab16..9edeb3ea5dece5f4bccdbb1f9fe48ef714a8f169 100644
--- a/pkgs/desktops/gnome-3/games/gnome-taquin/default.nix
+++ b/pkgs/desktops/gnome-3/games/gnome-taquin/default.nix
@@ -5,11 +5,11 @@
stdenv.mkDerivation rec {
pname = "gnome-taquin";
- version = "3.34.1";
+ version = "3.34.2";
src = fetchurl {
url = "mirror://gnome/sources/gnome-taquin/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "0vyrfhkfpx83n9p70jssykbndvb3sxwdihqvvvb94rbw7n6c4q4r";
+ sha256 = "1ff3h57wr26np3dlh7smpslba2awxasmhv3y45bn498i3n1vyvsk";
};
passthru = {
diff --git a/pkgs/desktops/gnome-3/games/iagno/default.nix b/pkgs/desktops/gnome-3/games/iagno/default.nix
index c679f3f74b8f03f233bb946e174ffe68ff54298a..33cd60f527201abad969f80fdaa57066671f92c4 100644
--- a/pkgs/desktops/gnome-3/games/iagno/default.nix
+++ b/pkgs/desktops/gnome-3/games/iagno/default.nix
@@ -5,11 +5,11 @@
stdenv.mkDerivation rec {
pname = "iagno";
- version = "3.34.2";
+ version = "3.34.3";
src = fetchurl {
url = "mirror://gnome/sources/iagno/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "0r31k6b8mqgn5c55hi94gpdr776ykq7ww55vq6pmp5irhdwb3gn9";
+ sha256 = "1m9654dbi4vrl59wvbyxz7jf81v4mn4n5lcq7abb42lba965d2z2";
};
nativeBuildInputs = [
diff --git a/pkgs/desktops/gnome-3/misc/gnome-flashback/default.nix b/pkgs/desktops/gnome-3/misc/gnome-flashback/default.nix
index dc7e0ed222f070961482bef5c2d13a69aa45f95c..808d36dab95c2003051817f4bf4394079f935140 100644
--- a/pkgs/desktops/gnome-3/misc/gnome-flashback/default.nix
+++ b/pkgs/desktops/gnome-3/misc/gnome-flashback/default.nix
@@ -27,14 +27,14 @@
let
pname = "gnome-flashback";
- version = "3.34.1";
+ version = "3.34.2";
requiredComponents = wmName: "RequiredComponents=${wmName};gnome-flashback;gnome-panel;org.gnome.SettingsDaemon.A11ySettings;org.gnome.SettingsDaemon.Color;org.gnome.SettingsDaemon.Datetime;org.gnome.SettingsDaemon.Housekeeping;org.gnome.SettingsDaemon.Keyboard;org.gnome.SettingsDaemon.MediaKeys;org.gnome.SettingsDaemon.Power;org.gnome.SettingsDaemon.PrintNotifications;org.gnome.SettingsDaemon.Rfkill;org.gnome.SettingsDaemon.ScreensaverProxy;org.gnome.SettingsDaemon.Sharing;org.gnome.SettingsDaemon.Smartcard;org.gnome.SettingsDaemon.Sound;org.gnome.SettingsDaemon.Wacom;org.gnome.SettingsDaemon.XSettings;";
gnome-flashback = stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "0xxw5w66gx04amyxhf4xbz0s4bf0rdp7y9nyrf6bb4xdc6b0rfnx";
+ sha256 = "1726xcm2q94nfvb055d3m61m20s0xy3xl1fc3ds3k3rcrn457riv";
};
# make .desktop Execs absolute
diff --git a/pkgs/desktops/gnustep/make/setup-hook.sh b/pkgs/desktops/gnustep/make/setup-hook.sh
index 5313890111645a719d525750658400cba2d16d95..b2b90f1e5222da56c44e10d33fbd4ec9d28f87c4 100644
--- a/pkgs/desktops/gnustep/make/setup-hook.sh
+++ b/pkgs/desktops/gnustep/make/setup-hook.sh
@@ -20,57 +20,57 @@ addEnvVars() {
local filename
for filename in $1/share/GNUstep/Makefiles/Additional/*.make ; do
- if case "$NIX_GNUSTEP_MAKEFILES_ADDITIONAL" in *"{$filename}"*) false;; *) true;; esac; then
+ if case "${NIX_GNUSTEP_MAKEFILES_ADDITIONAL-}" in *"{$filename}"*) false;; *) true;; esac; then
export NIX_GNUSTEP_MAKEFILES_ADDITIONAL+=" $filename"
fi
done
local tmp="$1/lib/GNUstep/Applications"
- if [ -d "$tmp" ] && case "$NIX_GNUSTEP_SYSTEM_APPS" in *"${tmp}"*) false;; *) true;; esac; then
+ if [ -d "$tmp" ] && case "${NIX_GNUSTEP_SYSTEM_APPS-}" in *"${tmp}"*) false;; *) true;; esac; then
addToSearchPath NIX_GNUSTEP_SYSTEM_APPS "$tmp"
fi
tmp="$1/lib/GNUstep/Applications"
- if [ -d "$tmp" ] && case "$NIX_GNUSTEP_SYSTEM_ADMIN_APPS" in *"${tmp}"*) false;; *) true;; esac; then
+ if [ -d "$tmp" ] && case "${NIX_GNUSTEP_SYSTEM_ADMIN_APPS-}" in *"${tmp}"*) false;; *) true;; esac; then
addToSearchPath NIX_GNUSTEP_SYSTEM_ADMIN_APPS "$tmp"
fi
tmp="$1/lib/GNUstep/WebApplications"
- if [ -d "$tmp" ] && case "$NIX_GNUSTEP_SYSTEM_WEB_APPS" in *"${tmp}"*) false;; *) true;; esac; then
+ if [ -d "$tmp" ] && case "${NIX_GNUSTEP_SYSTEM_WEB_APPS-}" in *"${tmp}"*) false;; *) true;; esac; then
addToSearchPath NIX_GNUSTEP_SYSTEM_WEB_APPS "$tmp"
fi
tmp="$1/bin"
- if [ -d "$tmp" ] && case "$NIX_GNUSTEP_SYSTEM_TOOLS" in *"${tmp}"*) false;; *) true;; esac; then
+ if [ -d "$tmp" ] && case "${NIX_GNUSTEP_SYSTEM_TOOLS-}" in *"${tmp}"*) false;; *) true;; esac; then
addToSearchPath NIX_GNUSTEP_SYSTEM_TOOLS "$tmp"
fi
tmp="$1/sbin"
- if [ -d "$tmp" ] && case "$NIX_GNUSTEP_SYSTEM_ADMIN_TOOLS" in *"${tmp}"*) false;; *) true;; esac; then
+ if [ -d "$tmp" ] && case "${NIX_GNUSTEP_SYSTEM_ADMIN_TOOLS-}" in *"${tmp}"*) false;; *) true;; esac; then
addToSearchPath NIX_GNUSTEP_SYSTEM_ADMIN_TOOLS "$tmp"
fi
tmp="$1/lib/GNUstep"
- if [ -d "$tmp" ] && case "$NIX_GNUSTEP_SYSTEM_LIBRARY" in *"${tmp}"*) false;; *) true;; esac; then
+ if [ -d "$tmp" ] && case "${NIX_GNUSTEP_SYSTEM_LIBRARY-}" in *"${tmp}"*) false;; *) true;; esac; then
addToSearchPath NIX_GNUSTEP_SYSTEM_LIBRARY "$tmp"
fi
tmp="$1/include"
- if [ -d "$tmp" ] && case "$NIX_GNUSTEP_SYSTEM_HEADERS" in *"${tmp}"*) false;; *) true;; esac; then
- if [ -z "$NIX_GNUSTEP_SYSTEM_HEADERS" ]; then
+ if [ -d "$tmp" ] && case "${NIX_GNUSTEP_SYSTEM_HEADERS-}" in *"${tmp}"*) false;; *) true;; esac; then
+ if [ -z "${NIX_GNUSTEP_SYSTEM_HEADERS-}" ]; then
export NIX_GNUSTEP_SYSTEM_HEADERS="$tmp"
else
export NIX_GNUSTEP_SYSTEM_HEADERS+=" $tmp"
fi
fi
tmp="$1/lib"
- if [ -d "$tmp" ] && case "$NIX_GNUSTEP_SYSTEM_LIBRARIES" in *"${tmp}"*) false;; *) true;; esac; then
+ if [ -d "$tmp" ] && case "${NIX_GNUSTEP_SYSTEM_LIBRARIES-}" in *"${tmp}"*) false;; *) true;; esac; then
addToSearchPath NIX_GNUSTEP_SYSTEM_LIBRARIES "$tmp"
fi
tmp="$1/share/GNUstep/Documentation"
- if [ -d "$tmp" ] && case "$NIX_GNUSTEP_SYSTEM_DOC" in *"${tmp}"*) false;; *) true;; esac; then
+ if [ -d "$tmp" ] && case "${NIX_GNUSTEP_SYSTEM_DOC-}" in *"${tmp}"*) false;; *) true;; esac; then
addToSearchPath NIX_GNUSTEP_SYSTEM_DOC "$tmp"
fi
tmp="$1/share/man"
- if [ -d "$tmp" ] && case "$NIX_GNUSTEP_SYSTEM_DOC_MAN" in *"${tmp}"*) false;; *) true;; esac; then
+ if [ -d "$tmp" ] && case "${NIX_GNUSTEP_SYSTEM_DOC_MAN-}" in *"${tmp}"*) false;; *) true;; esac; then
addToSearchPath NIX_GNUSTEP_SYSTEM_DOC_MAN "$tmp"
fi
tmp="$1/share/info"
- if [ -d "$tmp" ] && case "$NIX_GNUSTEP_SYSTEM_DOC_INFO" in *"${tmp}"*) false;; *) true;; esac; then
+ if [ -d "$tmp" ] && case "${NIX_GNUSTEP_SYSTEM_DOC_INFO-}" in *"${tmp}"*) false;; *) true;; esac; then
addToSearchPath NIX_GNUSTEP_SYSTEM_DOC_INFO "$tmp"
fi
}
diff --git a/pkgs/desktops/mate/mate-control-center/default.nix b/pkgs/desktops/mate/mate-control-center/default.nix
index e16effed670c49338a2668f362935116f3d7e10e..836588e7e2b219767ff8102d836d88cec2d0de98 100644
--- a/pkgs/desktops/mate/mate-control-center/default.nix
+++ b/pkgs/desktops/mate/mate-control-center/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, pkgconfig, intltool, itstool, libxml2, dbus-glib,
libxklavier, libcanberra-gtk3, librsvg, libappindicator-gtk3,
- desktop-file-utils, gnome3, gtk3, mate, hicolor-icon-theme, wrapGAppsHook
+ desktop-file-utils, dconf, gtk3, mate, hicolor-icon-theme, wrapGAppsHook
}:
stdenv.mkDerivation rec {
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
librsvg
libappindicator-gtk3
gtk3
- gnome3.dconf
+ dconf
hicolor-icon-theme
mate.mate-desktop
mate.libmatekbd
diff --git a/pkgs/desktops/mate/mate-desktop/default.nix b/pkgs/desktops/mate/mate-desktop/default.nix
index 8d157a201bed0ed863fdd640e1f8a3fd9a25f156..35cacee5a4dc0aeec68c06caf9c14825587e7650 100644
--- a/pkgs/desktops/mate/mate-desktop/default.nix
+++ b/pkgs/desktops/mate/mate-desktop/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, intltool, isocodes, gnome3, gtk3, wrapGAppsHook }:
+{ stdenv, fetchurl, pkgconfig, intltool, isocodes, gnome3, gtk3, dconf, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "mate-desktop";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
];
buildInputs = [
- gnome3.dconf
+ dconf
gtk3
isocodes
];
diff --git a/pkgs/desktops/mate/mate-panel/default.nix b/pkgs/desktops/mate/mate-panel/default.nix
index db45dc9c472540cbf5b794029d0027efd2e18930..09744ecfdaa85e5cee4e9ae3c6d797bade3677e9 100644
--- a/pkgs/desktops/mate/mate-panel/default.nix
+++ b/pkgs/desktops/mate/mate-panel/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, intltool, itstool, glib, libwnck3, librsvg, libxml2, gnome3, gtk3, mate, hicolor-icon-theme, gobject-introspection, wrapGAppsHook }:
+{ stdenv, fetchurl, pkgconfig, intltool, itstool, glib, libwnck3, librsvg, libxml2, dconf, gtk3, mate, hicolor-icon-theme, gobject-introspection, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "mate-panel";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
librsvg
libxml2
gtk3
- gnome3.dconf
+ dconf
mate.libmateweather
mate.mate-desktop
mate.mate-menus
diff --git a/pkgs/desktops/mate/mate-settings-daemon/default.nix b/pkgs/desktops/mate/mate-settings-daemon/default.nix
index 73dd7011d49dc06db1d91aa8fd57a8258b7152c5..b7385839242ac0f0067e7c6f99bdef800b959edf 100644
--- a/pkgs/desktops/mate/mate-settings-daemon/default.nix
+++ b/pkgs/desktops/mate/mate-settings-daemon/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, intltool, glib, dbus-glib, libxklavier,
- libcanberra-gtk3, libnotify, nss, polkit, gnome3, gtk3, mate,
+ libcanberra-gtk3, libnotify, nss, polkit, dconf, gtk3, mate,
pulseaudioSupport ? stdenv.config.pulseaudio or true, libpulseaudio,
wrapGAppsHook, fetchpatch, autoreconfHook }:
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
nss
polkit
gtk3
- gnome3.dconf
+ dconf
mate.mate-desktop
mate.libmatekbd
mate.libmatemixer
diff --git a/pkgs/desktops/mate/mate-terminal/default.nix b/pkgs/desktops/mate/mate-terminal/default.nix
index 7ec9944aa0e1b72c9bb573c74da43a62c2a764a8..704db60ff15c877ea0459c681e3286f09d49beb8 100644
--- a/pkgs/desktops/mate/mate-terminal/default.nix
+++ b/pkgs/desktops/mate/mate-terminal/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, intltool, glib, itstool, libxml2, mate, gnome3, gtk3, vte, wrapGAppsHook }:
+{ stdenv, fetchurl, pkgconfig, intltool, glib, itstool, libxml2, mate, dconf, gtk3, vte, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "mate-terminal";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
vte
gtk3
- gnome3.dconf
+ dconf
];
nativeBuildInputs = [
diff --git a/pkgs/desktops/pantheon/apps/elementary-calculator/default.nix b/pkgs/desktops/pantheon/apps/elementary-calculator/default.nix
index bcbe50e5de35a690f0486b2bd2c78f292475d4a3..3c73de6e7a98e86847514d7e64b3d6dc88a754d9 100644
--- a/pkgs/desktops/pantheon/apps/elementary-calculator/default.nix
+++ b/pkgs/desktops/pantheon/apps/elementary-calculator/default.nix
@@ -18,7 +18,7 @@
stdenv.mkDerivation rec {
pname = "elementary-calculator";
- version = "1.5.2";
+ version = "1.5.4";
repoName = "calculator";
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
owner = "elementary";
repo = repoName;
rev = version;
- sha256 = "1vdgl89hdf9q1ya6as7310hlr0xls3w7js2gzsd9z8arb6037ccl";
+ sha256 = "0053bdzn5viqlni6qg6q39nma6bsddmhnafa0mzggiv8l4qasbrx";
};
passthru = {
diff --git a/pkgs/desktops/pantheon/apps/elementary-calendar/default.nix b/pkgs/desktops/pantheon/apps/elementary-calendar/default.nix
index 4e5f69fc9e6c2b141c80972ba9db341c81aa87a9..4f4244fa03e8c87cfb9a34e90fefe7b8ab89823c 100644
--- a/pkgs/desktops/pantheon/apps/elementary-calendar/default.nix
+++ b/pkgs/desktops/pantheon/apps/elementary-calendar/default.nix
@@ -25,22 +25,21 @@
stdenv.mkDerivation rec {
pname = "elementary-calendar";
- version = "unstable-2019-10-29";
+ version = "5.0.3";
repoName = "calendar";
src = fetchFromGitHub {
owner = "elementary";
repo = repoName;
- rev = "7d201fc5ea9e8dc25c46427397594fcab2016ed6"; # needed for libical 2.0 compat
- sha256 = "11bqf3nxrj1sfd0qq5h0jsmimc6mwkd2g7q9ycizn9x5ak2gb8xi";
+ rev = version;
+ sha256 = "1dqcmh585fjib4m8bs7qy23fv429s7q9nbcqnn0vvmy1n36fic4m";
};
passthru = {
updateScript = pantheon.updateScript {
inherit repoName;
attrPath = pname;
- versionPolicy = "master";
};
};
diff --git a/pkgs/desktops/pantheon/apps/elementary-photos/default.nix b/pkgs/desktops/pantheon/apps/elementary-photos/default.nix
index 94b6a2fce8ece9760ddc02ace97d432465e1ffad..50a797a702df315e480b2f72eb442ddfba6971f0 100644
--- a/pkgs/desktops/pantheon/apps/elementary-photos/default.nix
+++ b/pkgs/desktops/pantheon/apps/elementary-photos/default.nix
@@ -33,7 +33,7 @@
stdenv.mkDerivation rec {
pname = "elementary-photos";
- version = "2.6.4";
+ version = "2.6.5";
repoName = "photos";
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
owner = "elementary";
repo = repoName;
rev = version;
- sha256 = "17r9658s0pqy6s45ysi3915sm8hpvmsp7cw2jahqvjc61r4qpdc1";
+ sha256 = "0r6d9y936nw4bn0jvixi1p62dy8qsgl2bx8g3889fndnhfnhbjv0";
};
passthru = {
diff --git a/pkgs/desktops/pantheon/apps/elementary-screenshot-tool/default.nix b/pkgs/desktops/pantheon/apps/elementary-screenshot-tool/default.nix
index 4dd168f25f05fd1f55dd99c58b2db9c59bff3f48..ce9d0b6c82d91211d6c5b1da310e77d8dd50fbf5 100644
--- a/pkgs/desktops/pantheon/apps/elementary-screenshot-tool/default.nix
+++ b/pkgs/desktops/pantheon/apps/elementary-screenshot-tool/default.nix
@@ -17,7 +17,7 @@
stdenv.mkDerivation rec {
pname = "elementary-screenshot-tool"; # This will be renamed to "screenshot" soon. See -> https://github.com/elementary/screenshot/pull/93
- version = "1.6.2";
+ version = "1.7.0";
repoName = "screenshot";
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
owner = "elementary";
repo = repoName;
rev = version;
- sha256 = "1z61j96jk9zjr3bn5hgsp25m4v8h1rqwxm0kg8c34bvl06f13v8q";
+ sha256 = "09jcyy4drzpfxb1blln7hyjg5b7r8w5j5v7va2qhq31y7vzczh62";
};
passthru = {
diff --git a/pkgs/desktops/pantheon/apps/elementary-terminal/default.nix b/pkgs/desktops/pantheon/apps/elementary-terminal/default.nix
index 8bd335c65305adc2f62e109ea2e731691961148c..e847a139616adb9070547cb4328f4cb473d2fafc 100644
--- a/pkgs/desktops/pantheon/apps/elementary-terminal/default.nix
+++ b/pkgs/desktops/pantheon/apps/elementary-terminal/default.nix
@@ -20,7 +20,7 @@
stdenv.mkDerivation rec {
pname = "elementary-terminal";
- version = "5.3.6";
+ version = "5.4.0";
repoName = "terminal";
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
owner = "elementary";
repo = repoName;
rev = version;
- sha256 = "0jp21sy8k3jq3ycvng9yy2hbhcvfgiknxxa8vcg3c06vqhadmnc3";
+ sha256 = "1rj4hrg5qljsv11apgdp0x4dazlfmjq3s0lk0dvwjvh9nqkr6jbw";
};
passthru = {
diff --git a/pkgs/desktops/pantheon/apps/elementary-videos/default.nix b/pkgs/desktops/pantheon/apps/elementary-videos/default.nix
index 9132707db2ba1529495c89bf41b6566369f16fed..e934a944df81c6dc14232883036d5bcb38c08cb7 100644
--- a/pkgs/desktops/pantheon/apps/elementary-videos/default.nix
+++ b/pkgs/desktops/pantheon/apps/elementary-videos/default.nix
@@ -19,7 +19,7 @@
stdenv.mkDerivation rec {
pname = "elementary-videos";
- version = "2.6.3";
+ version = "2.7.0";
repoName = "videos";
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
owner = "elementary";
repo = repoName;
rev = version;
- sha256 = "1ncm8kh6dcy83p8pmpilnk03b4dx3b1jm8w13izq2dkglfgdwvqx";
+ sha256 = "1b6dqqmxa83fwlh9r0v918ikxd3mnwk0j5xssw1wk5l7q72s43w7";
};
passthru = {
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/about/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/about/default.nix
index c179160ddabe9a10fda615f8cbe08ae2ea643055..6c97c986ae07c381c713bb9cf24f1ddb280bb5c1 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/about/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/about/default.nix
@@ -16,13 +16,13 @@
stdenv.mkDerivation rec {
pname = "switchboard-plug-about";
- version = "2.6.0";
+ version = "2.6.1";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
- sha256 = "12ysymk5y2k49yh3rzmra7jmimxrd54gz2f4ssc9i8w06xj5djp7";
+ sha256 = "1z58d21xrjghvjx0ng53pcxwdk2f5d00dvngcyjja0kf7sixba71";
};
passthru = {
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/applications/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/applications/default.nix
index ddb589c9e79227e9aa61d672fd22823d8ba4abab..c15219fbdf828104e2a0524b2edcadc4ee118d02 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/applications/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/applications/default.nix
@@ -13,13 +13,13 @@
stdenv.mkDerivation rec {
pname = "switchboard-plug-applications";
- version = "2.1.5";
+ version = "2.1.6";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
- sha256 = "1c4agff456625kycacpsww7c9jsnsg1rqps96r7cvn9zq371b5ir";
+ sha256 = "19l979sdn9jzibvn98ag3ys28ka7zqlsbs0gj2gs9jcxhzngrxvg";
};
passthru = {
@@ -42,8 +42,6 @@ stdenv.mkDerivation rec {
switchboard
];
- PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
-
meta = with stdenv.lib; {
description = "Switchboard Applications Plug";
homepage = https://github.com/elementary/switchboard-plug-applications;
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/display/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/display/default.nix
index 00524786f4bb39bfd25d5e24fa27e9792c236b47..eb3066597edb800e83f0ede068ea6180e885c260 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/display/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/display/default.nix
@@ -13,13 +13,13 @@
stdenv.mkDerivation rec {
pname = "switchboard-plug-display";
- version = "2.1.9";
+ version = "2.2.0";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
- sha256 = "0g9apywxgkan82h933rjjdm9fhd8vak8mziwsbqlprdz310b2jb2";
+ sha256 = "0mr89kyq034wffzixqlq6lmhyc4jry3dcgxrk306dhks2myindqh";
};
passthru = {
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/mouse-touchpad/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/mouse-touchpad/default.nix
index a8556bd54014f9f2d7c13cf99ddc2329e0cd42ca..c7f2fcce458d554aa083066aa9e8dbe2d21516ea 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/mouse-touchpad/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/mouse-touchpad/default.nix
@@ -15,24 +15,15 @@
stdenv.mkDerivation rec {
pname = "switchboard-plug-mouse-touchpad";
- version = "2.2.0";
+ version = "2.3.1";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
- sha256 = "0mr25p7j5hl8zmvz5i3g30s4xbdhk6d22lw2akch3si40il9q5fv";
+ sha256 = "1974zdr5w3xd882gi95fp7axgilfni1sclsr750qm32yhl7d9bfn";
};
- patches = [
- ./hardcode-settings-daemon-gsettings.patch
- ];
-
- postPatch = ''
- substituteInPlace src/Views/General.vala \
- --subst-var-by GSD_GSETTINGS ${glib.getSchemaPath elementary-settings-daemon}
- '';
-
passthru = {
updateScript = pantheon.updateScript {
repoName = pname;
@@ -51,11 +42,10 @@ stdenv.mkDerivation rec {
granite
gtk3
libgee
+ elementary-settings-daemon
switchboard
];
- PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
-
meta = with stdenv.lib; {
description = "Switchboard Mouse & Touchpad Plug";
homepage = https://github.com/elementary/switchboard-plug-mouse-touchpad;
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/mouse-touchpad/hardcode-settings-daemon-gsettings.patch b/pkgs/desktops/pantheon/apps/switchboard-plugs/mouse-touchpad/hardcode-settings-daemon-gsettings.patch
deleted file mode 100644
index b904fe153094ffe707e174c2bd1a5bfbddfb2d1c..0000000000000000000000000000000000000000
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/mouse-touchpad/hardcode-settings-daemon-gsettings.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-diff --git a/src/Views/General.vala b/src/Views/General.vala
-index 4b19b73..dfa3d4d 100644
---- a/src/Views/General.vala
-+++ b/src/Views/General.vala
-@@ -138,32 +138,34 @@ public class MouseTouchpad.GeneralView : Gtk.Grid {
- attach (pointer_speed_scale, 3, 8);
- attach (pointer_speed_help, 1, 9, 3);
-
-- var xsettings_schema = SettingsSchemaSource.get_default ().lookup ("org.gnome.settings-daemon.plugins.xsettings", false);
-- if (xsettings_schema != null) {
-- var primary_paste_switch = new Gtk.Switch ();
-- primary_paste_switch.halign = Gtk.Align.START;
--
-- var primary_paste_help = new Gtk.Label (_("Middle or three-finger clicking on an input will paste any selected text"));
-- primary_paste_help.margin_bottom = 18;
-- primary_paste_help.wrap = true;
-- primary_paste_help.xalign = 0;
-- primary_paste_help.get_style_context ().add_class (Gtk.STYLE_CLASS_DIM_LABEL);
--
-- attach (new SettingLabel (_("Middle click paste:")), 0, 4);
-- attach (primary_paste_switch, 1, 4);
-- attach (primary_paste_help, 1, 5, 3);
--
-- var xsettings = new GLib.Settings ("org.gnome.settings-daemon.plugins.xsettings");
-- primary_paste_switch.notify["active"].connect (() => on_primary_paste_switch_changed (primary_paste_switch, xsettings));
--
-- var current_value = xsettings.get_value ("overrides").lookup_value ("Gtk/EnablePrimaryPaste", VariantType.INT32);
-- if (current_value != null) {
-- primary_paste_switch.active = current_value.get_int32 () == 1;
-- }
-+ var primary_paste_switch = new Gtk.Switch ();
-+ primary_paste_switch.halign = Gtk.Align.START;
-+
-+ var primary_paste_help = new Gtk.Label (_("Middle or three-finger clicking on an input will paste any selected text"));
-+ primary_paste_help.margin_bottom = 18;
-+ primary_paste_help.wrap = true;
-+ primary_paste_help.xalign = 0;
-+ primary_paste_help.get_style_context ().add_class (Gtk.STYLE_CLASS_DIM_LABEL);
-+
-+ attach (new SettingLabel (_("Middle click paste:")), 0, 4);
-+ attach (primary_paste_switch, 1, 4);
-+ attach (primary_paste_help, 1, 5, 3);
-+
-+ SettingsSchemaSource daemon_schema_source = new SettingsSchemaSource.from_directory ("@GSD_GSETTINGS@", null, true);
-+ SettingsSchema xsettings_schema = daemon_schema_source.lookup ("org.gnome.settings-daemon.plugins.xsettings", false);
-+
-+ var xsettings = new GLib.Settings.full (xsettings_schema, null, null);
-+ primary_paste_switch.notify["active"].connect (() => on_primary_paste_switch_changed (primary_paste_switch, xsettings));
-+
-+ var current_value = xsettings.get_value ("overrides").lookup_value ("Gtk/EnablePrimaryPaste", VariantType.INT32);
-+ if (current_value != null) {
-+ primary_paste_switch.active = current_value.get_int32 () == 1;
- }
-
-- var daemon_settings = new GLib.Settings ("org.gnome.settings-daemon.peripherals.mouse");
-- daemon_settings.bind ("locate-pointer", reveal_pointer_switch, "active", GLib.SettingsBindFlags.DEFAULT);
-+ SettingsSchema daemon_mouse_schema = daemon_schema_source.lookup ("org.gnome.settings-daemon.peripherals.mouse", false);
-+
-+ var daemon_mouse_settings = new GLib.Settings.full (daemon_mouse_schema, null, null);
-+ daemon_mouse_settings.bind ("locate-pointer", reveal_pointer_switch, "active", GLib.SettingsBindFlags.DEFAULT);
-
- var a11y_mouse_settings = new GLib.Settings ("org.gnome.desktop.a11y.mouse");
- a11y_mouse_settings.bind ("secondary-click-enabled", hold_switch, "active", GLib.SettingsBindFlags.DEFAULT);
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/network/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/network/default.nix
index 175f0e45f46e6624b03318a47854898f9aed9fa4..be4614df557a6aba4fb8bd4f9689edf1890fde1f 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/network/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/network/default.nix
@@ -16,13 +16,13 @@
stdenv.mkDerivation rec {
pname = "switchboard-plug-network";
- version = "2.1.4";
+ version = "2.2.0";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
- sha256 = "12lvcc15jngzsa40fjhxa6kccs58h5qq4lqrc7lcx5przmfaik8k";
+ sha256 = "0zg4bxrrw1nmm91yp8ymji7mha2wcjrwljcnpcvxq7lf8f2k0145";
};
passthru = {
@@ -49,14 +49,12 @@ stdenv.mkDerivation rec {
patches = [
(substituteAll {
- src = ./nma.patch;
- networkmanagerapplet = networkmanagerapplet;
+ src = ./fix-paths.patch;
+ inherit networkmanagerapplet;
})
];
- PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
-
meta = with stdenv.lib; {
description = "Switchboard Networking Plug";
homepage = https://github.com/elementary/switchboard-plug-network;
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/network/fix-paths.patch b/pkgs/desktops/pantheon/apps/switchboard-plugs/network/fix-paths.patch
new file mode 100644
index 0000000000000000000000000000000000000000..e2d7a6d497057ee7fa8b05859bec6eda5e33a725
--- /dev/null
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/network/fix-paths.patch
@@ -0,0 +1,35 @@
+diff --git a/src/Views/VPNPage.vala b/src/Views/VPNPage.vala
+index 82e7826..cf00145 100644
+--- a/src/Views/VPNPage.vala
++++ b/src/Views/VPNPage.vala
+@@ -265,7 +265,7 @@ public class Network.VPNPage : Network.Widgets.Page {
+ private void try_connection_editor (string args) {
+ try {
+ var appinfo = AppInfo.create_from_commandline (
+- "nm-connection-editor %s".printf (args),
++ "@networkmanagerapplet@/bin/nm-connection-editor %s".printf (args),
+ null,
+ GLib.AppInfoCreateFlags.NONE
+ );
+diff --git a/src/Widgets/SettingsButton.vala b/src/Widgets/SettingsButton.vala
+index ed36b38..bc71c0c 100644
+--- a/src/Widgets/SettingsButton.vala
++++ b/src/Widgets/SettingsButton.vala
+@@ -24,7 +24,7 @@
+ clicked.connect (() => {
+ try {
+ var appinfo = AppInfo.create_from_commandline (
+- "nm-connection-editor",
++ "@networkmanagerapplet@/bin/nm-connection-editor",
+ null,
+ AppInfoCreateFlags.NONE
+ );
+@@ -71,7 +71,7 @@
+ private void edit_connection_uuid (string uuid) {
+ try {
+ var appinfo = AppInfo.create_from_commandline (
+- "nm-connection-editor --edit=%s".printf (uuid), null, AppInfoCreateFlags.NONE
++ "@networkmanagerapplet@/bin/nm-connection-editor --edit=%s".printf (uuid), null, AppInfoCreateFlags.NONE
+ );
+
+ appinfo.launch (null, null);
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/network/nma.patch b/pkgs/desktops/pantheon/apps/switchboard-plugs/network/nma.patch
deleted file mode 100644
index a5fff9d6a32b0a863dcfb2c1a5947bfa0588e2a9..0000000000000000000000000000000000000000
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/network/nma.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-diff --git a/src/Widgets/SettingsButton.vala b/src/Widgets/SettingsButton.vala
-index 19fd514..bc800d9 100644
---- a/src/Widgets/SettingsButton.vala
-+++ b/src/Widgets/SettingsButton.vala
-@@ -23,7 +23,7 @@
- label = _("Edit Connections…");
- clicked.connect (() => {
- try {
-- var appinfo = AppInfo.create_from_commandline ("nm-connection-editor", null, AppInfoCreateFlags.NONE);
-+ var appinfo = AppInfo.create_from_commandline ("@networkmanagerapplet@/bin/nm-connection-editor", null, AppInfoCreateFlags.NONE);
- appinfo.launch (null, null);
- } catch (Error e) {
- warning ("%s", e.message);
-@@ -61,13 +61,13 @@
- label = title;
- clicked.connect (() => {
- edit_connection_uuid (connection.get_uuid ());
-- });
-+ });
- }
-
- private void edit_connection_uuid (string uuid) {
- try {
- var appinfo = AppInfo.create_from_commandline (
-- "nm-connection-editor --edit=%s".printf (uuid), null, AppInfoCreateFlags.NONE
-+ "@networkmanagerapplet@/bin/nm-connection-editor --edit=%s".printf (uuid), null, AppInfoCreateFlags.NONE
- );
-
- appinfo.launch (null, null);
-diff --git a/src/Widgets/VPN/VPNPage.vala b/src/Widgets/VPN/VPNPage.vala
-index 23c3ae9..c71984c 100644
---- a/src/Widgets/VPN/VPNPage.vala
-+++ b/src/Widgets/VPN/VPNPage.vala
-@@ -86,8 +86,7 @@ namespace Network {
- add_button.tooltip_text = _("Add VPN Connection…");
- add_button.clicked.connect (() => {
- add_button.sensitive = false;
-- var command = new Granite.Services.SimpleCommand ("/usr/bin",
-- "nm-connection-editor --create --type=vpn");
-+ var command = new Granite.Services.SimpleCommand ("@networkmanagerapplet@", "bin/nm-connection-editor --create --type=vpn");
- command.done.connect ((exit) => {
- if (exit != 0) {
- var dialog = new Gtk.MessageDialog (null, Gtk.DialogFlags.MODAL, Gtk.MessageType.ERROR, Gtk.ButtonsType.CLOSE, "%s", _("Failed to run Connection Editor."));
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/pantheon-shell/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/pantheon-shell/default.nix
index 35dd958483d6f8b3d92aadba90ea8dc798840ab5..f8fdb01aee66133689a26fff85061f65e2549bea 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/pantheon-shell/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/pantheon-shell/default.nix
@@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
pname = "switchboard-plug-pantheon-shell";
- version = "2.8.1";
+ version = "2.8.2";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
- sha256 = "1vrnzxqzl84k8gbrais4j1jyap10kvil4cr769jpr3q3bkbblwrw";
+ sha256 = "0l4js2gqvn8lmky5b3jjqw6mzxcv9i2gjqr1vka0z40px6vfzf0z";
};
passthru = {
@@ -36,30 +36,16 @@ stdenv.mkDerivation rec {
granite
gtk3
libgee
+ gala
+ wingpanel
plank
switchboard
];
patches = [
./backgrounds.patch # Having https://github.com/elementary/switchboard-plug-pantheon-shell/issues/166 would make this patch uneeded
- ./hardcode-gsettings.patch
- # Fixes https://github.com/elementary/switchboard-plug-pantheon-shell/issues/172
- (fetchpatch {
- url = "https://github.com/elementary/switchboard-plug-pantheon-shell/commit/e4f86df6a6be402db4c979a4b005573618b744d1.patch";
- sha256 = "0sa8611k6sqg96mnp2plmxd30w6zq76bfwszl8ankr9kwsgyc66y";
- })
];
- postPatch = ''
- substituteInPlace src/Views/Appearance.vala \
- --subst-var-by GALA_GSETTINGS_PATH ${glib.getSchemaPath gala}
- substituteInPlace src/Views/Appearance.vala \
- --subst-var-by WINGPANEL_GSETTINGS_PATH ${glib.getSchemaPath wingpanel}
- '';
-
-
- PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
-
meta = with stdenv.lib; {
description = "Switchboard Desktop Plug";
homepage = https://github.com/elementary/switchboard-plug-pantheon-shell;
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/pantheon-shell/hardcode-gsettings.patch b/pkgs/desktops/pantheon/apps/switchboard-plugs/pantheon-shell/hardcode-gsettings.patch
deleted file mode 100644
index d023e1b55ce65d29fae4ae9b240ab4efb64c04c5..0000000000000000000000000000000000000000
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/pantheon-shell/hardcode-gsettings.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff --git a/src/Views/Appearance.vala b/src/Views/Appearance.vala
-index 721d458..17e1c58 100644
---- a/src/Views/Appearance.vala
-+++ b/src/Views/Appearance.vala
-@@ -66,10 +66,16 @@ public class Appearance : Gtk.Grid {
- attach (text_size_label, 0, 2);
- attach (text_size_modebutton, 1, 2);
-
-- var animations_settings = new Settings (ANIMATIONS_SCHEMA);
-+ SettingsSchemaSource gala_schema_source = new SettingsSchemaSource.from_directory ("@GALA_GSETTINGS_PATH@", SettingsSchemaSource.get_default (), true);
-+ SettingsSchema animations_schema = gala_schema_source.lookup (ANIMATIONS_SCHEMA, false);
-+
-+ var animations_settings = new Settings.full (animations_schema, null, null);
- animations_settings.bind (ANIMATIONS_KEY, animations_switch, "active", SettingsBindFlags.DEFAULT);
-
-- var panel_settings = new Settings (PANEL_SCHEMA);
-+ SettingsSchemaSource panel_schema_source = new SettingsSchemaSource.from_directory ("@WINGPANEL_GSETTINGS_PATH@", SettingsSchemaSource.get_default (), true);
-+ SettingsSchema panel_schema = panel_schema_source.lookup (PANEL_SCHEMA, false);
-+
-+ var panel_settings = new Settings.full (panel_schema, null, null);
- panel_settings.bind (TRANSLUCENCY_KEY, translucency_switch, "active", SettingsBindFlags.DEFAULT);
-
- var interface_settings = new Settings (INTERFACE_SCHEMA);
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/power/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/power/default.nix
index 7bc3f6ba7adbd0494e41184d75625cb539fc6b68..df2051d8040ab1ee441afa17e8ab7c1fd5553940 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/power/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/power/default.nix
@@ -19,13 +19,13 @@
stdenv.mkDerivation rec {
pname = "switchboard-plug-power";
- version = "2.3.5";
+ version = "2.4.0";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
- sha256 = "1wcxz4jxyv8kms9gxpwvrb356h10qvcwmdjzjzl2bvj5yl1rfcs9";
+ sha256 = "1b25slfh8166v9z2zmb25k64pcj0lh001qh04qhfilzfcbh54krj";
};
passthru = {
@@ -43,6 +43,8 @@ stdenv.mkDerivation rec {
buildInputs = [
dbus
+ elementary-dpms-helper
+ elementary-settings-daemon
glib
granite
gtk3
@@ -56,21 +58,8 @@ stdenv.mkDerivation rec {
src = ./dpms-helper-exec.patch;
elementary_dpms_helper = elementary-dpms-helper;
})
- ./hardcode-gsettings.patch
];
- postPatch = ''
- substituteInPlace src/MainView.vala \
- --subst-var-by DPMS_HELPER_GSETTINGS_PATH ${glib.getSchemaPath elementary-dpms-helper}
- substituteInPlace src/MainView.vala \
- --subst-var-by GSD_GSETTINGS_PATH ${glib.getSchemaPath elementary-settings-daemon}
- '';
-
- PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
- PKG_CONFIG_DBUS_1_SYSTEM_BUS_SERVICES_DIR = "${placeholder "out"}/share/dbus-1/system-services";
- PKG_CONFIG_DBUS_1_SYSCONFDIR = "${placeholder "out"}/etc";
- PKG_CONFIG_POLKIT_GOBJECT_1_POLICYDIR = "${placeholder "out"}/share/polkit-1/actions";
-
meta = with stdenv.lib; {
description = "Switchboard Power Plug";
homepage = https://github.com/elementary/switchboard-plug-power;
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/power/hardcode-gsettings.patch b/pkgs/desktops/pantheon/apps/switchboard-plugs/power/hardcode-gsettings.patch
deleted file mode 100644
index caacdad6eda9201db856eda7fb90e09fa30db98e..0000000000000000000000000000000000000000
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/power/hardcode-gsettings.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/src/MainView.vala b/src/MainView.vala
-index 1654e68..ad8fed9 100644
---- a/src/MainView.vala
-+++ b/src/MainView.vala
-@@ -46,8 +46,13 @@ public class Power.MainView : Gtk.Grid {
-
- var label_size = new Gtk.SizeGroup (Gtk.SizeGroupMode.HORIZONTAL);
-
-- settings = new GLib.Settings ("org.gnome.settings-daemon.plugins.power");
-- elementary_dpms_settings = new GLib.Settings ("io.elementary.dpms");
-+ SettingsSchemaSource gsd_sss = new SettingsSchemaSource.from_directory ("@GSD_GSETTINGS_PATH@", null, true);
-+ SettingsSchema gsd_schema = gsd_sss.lookup ("org.gnome.settings-daemon.plugins.power", false);
-+ settings = new GLib.Settings.full (gsd_schema, null, null);
-+
-+ SettingsSchemaSource dpms_sss = new SettingsSchemaSource.from_directory ("@DPMS_HELPER_GSETTINGS_PATH@", null, true);
-+ SettingsSchema elementary_dpms_schema = dpms_sss.lookup ("io.elementary.dpms", false);
-+ elementary_dpms_settings = new GLib.Settings.full (elementary_dpms_schema, null, null);
-
- battery = new Battery ();
- power_supply = new PowerSupply ();
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/printers/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/printers/default.nix
index aa65934acdb2df2cbe78d59aa699df6c4df082f6..10c95dd7b8e8efdf80fcaeacdc5128c9765fe344 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/printers/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/printers/default.nix
@@ -15,13 +15,13 @@
stdenv.mkDerivation rec {
pname = "switchboard-plug-printers";
- version = "2.1.6";
+ version = "2.1.7";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
- sha256 = "05pkf3whh51gd9d0h2h4clgf7r3mvzl4ybas7834vhy19dzcbzmc";
+ sha256 = "03r67q6my10i4hl8d0q3d6fhqm9abs9kn9j92hk6ykqb4ybxw1z1";
};
passthru = {
@@ -45,16 +45,6 @@ stdenv.mkDerivation rec {
switchboard
];
- patches = [
- # Fix build with latest vala.
- (fetchpatch {
- url = "https://github.com/elementary/switchboard-plug-printers/commit/3175c2ebf106145a95355d2571e0a2aa4834e884.patch";
- sha256 = "1b2q48a1284037nz79vjcrz8g2qpsyg7s5rag6bfp03a1ijb7gw3";
- })
- ];
-
- PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
-
meta = with stdenv.lib; {
description = "Switchboard Printers Plug";
homepage = https://github.com/elementary/switchboard-plug-printers;
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/security-privacy/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/security-privacy/default.nix
index 5c72af923975c570e756bc663807d0eed5655029..e8d21478cc9f963f457b60a481e12ca55a06f9a6 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/security-privacy/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/security-privacy/default.nix
@@ -48,21 +48,13 @@ stdenv.mkDerivation rec {
libgee
polkit
switchboard
+ lightlocker
zeitgeist
];
- patches = [
- ./hardcode-gsettings.patch
- ];
-
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
-
- substituteInPlace src/Views/LockPanel.vala \
- --subst-var-by LIGHTLOCKER_GSETTINGS_PATH ${glib.getSchemaPath lightlocker}
- substituteInPlace src/Views/FirewallPanel.vala \
- --subst-var-by SWITCHBOARD_SEC_PRIV_GSETTINGS_PATH ${glib.makeSchemaPath "$out" "${pname}-${version}"}
'';
meta = with stdenv.lib; {
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/security-privacy/hardcode-gsettings.patch b/pkgs/desktops/pantheon/apps/switchboard-plugs/security-privacy/hardcode-gsettings.patch
deleted file mode 100644
index 24a104248f82b0407bb9e9c532b008148fe91314..0000000000000000000000000000000000000000
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/security-privacy/hardcode-gsettings.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff --git a/src/Views/FirewallPanel.vala b/src/Views/FirewallPanel.vala
-index 0335c29..481b1c8 100644
---- a/src/Views/FirewallPanel.vala
-+++ b/src/Views/FirewallPanel.vala
-@@ -49,7 +49,11 @@ public class SecurityPrivacy.FirewallPanel : Granite.SimpleSettingsPage {
- }
-
- construct {
-- settings = new Settings ("io.elementary.switchboard.security-privacy");
-+ SettingsSchemaSource sss = new SettingsSchemaSource.from_directory ("@SWITCHBOARD_SEC_PRIV_GSETTINGS_PATH@", SettingsSchemaSource.get_default (), true);
-+ SettingsSchema security_privacy_schema = sss.lookup ("io.elementary.switchboard.security-privacy", false);
-+
-+ settings = new Settings.full (security_privacy_schema, null, null);
-+
- disabled_rules = new Gee.HashMap ();
- load_disabled_rules ();
-
-diff --git a/src/Views/LockPanel.vala b/src/Views/LockPanel.vala
-index 4f523f9..7135a83 100644
---- a/src/Views/LockPanel.vala
-+++ b/src/Views/LockPanel.vala
-@@ -30,7 +30,10 @@ public class SecurityPrivacy.LockPanel : Granite.SimpleSettingsPage {
- }
-
- construct {
-- locker = new Settings ("apps.light-locker");
-+ SettingsSchemaSource sss = new SettingsSchemaSource.from_directory ("@LIGHTLOCKER_GSETTINGS_PATH@", SettingsSchemaSource.get_default (), true);
-+ SettingsSchema locker_schema = sss.lookup ("apps.light-locker", false);
-+
-+ locker = new Settings.full (locker_schema, null, null);
-
- var lock_suspend_label = new Gtk.Label (_("Lock on suspend:"));
- var lock_suspend_switch = new Gtk.Switch ();
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/sound/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/sound/default.nix
index dee2f851e3fd43e899fe9b4918bc5bbdb4b0db8e..cd4b4beb1df523f8db37378d9df555c6d3139267 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/sound/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/sound/default.nix
@@ -16,13 +16,13 @@
stdenv.mkDerivation rec {
pname = "switchboard-plug-sound";
- version = "2.2.1";
+ version = "2.2.2";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
- sha256 = "0frml591r82j7hf1zlccgv8pzk3w10x470f9nzvdgdjpz0r776k2";
+ sha256 = "1aa9wgaz34glrrnilnqis3k0bnx2a2ir38j493y4d0klkjkwyn5k";
};
passthru = {
@@ -48,8 +48,6 @@ stdenv.mkDerivation rec {
switchboard
];
- PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
-
meta = with stdenv.lib; {
description = "Switchboard Sound Plug";
homepage = https://github.com/elementary/switchboard-plug-sound;
diff --git a/pkgs/desktops/pantheon/apps/switchboard/wrapper.nix b/pkgs/desktops/pantheon/apps/switchboard/wrapper.nix
index 756ae86bb19d6b55abdae5e43a5b51619c6840c6..c0abb172806bac1e03f785426fe4052e88b54d34 100644
--- a/pkgs/desktops/pantheon/apps/switchboard/wrapper.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard/wrapper.nix
@@ -1,4 +1,6 @@
-{ makeWrapper
+{ wrapGAppsHook
+, glib
+, lib
, symlinkJoin
, switchboard
, switchboardPlugs
@@ -11,13 +13,22 @@ in
symlinkJoin {
name = "${switchboard.name}-with-plugs";
- paths = [ switchboard ] ++ selectedPlugs;
+ paths = [
+ switchboard
+ ] ++ selectedPlugs;
- buildInputs = [ makeWrapper ];
+ buildInputs = [
+ wrapGAppsHook
+ glib
+ ] ++ (lib.forEach selectedPlugs (x: x.buildInputs))
+ ++ selectedPlugs;
postBuild = ''
- wrapProgram $out/bin/io.elementary.switchboard \
- --set SWITCHBOARD_PLUGS_PATH "$out/lib/switchboard"
+ make_glib_find_gsettings_schemas
+
+ gappsWrapperArgs+=(--set SWITCHBOARD_PLUGS_PATH "$out/lib/switchboard")
+
+ wrapGAppsHook
'';
inherit (switchboard) meta;
diff --git a/pkgs/desktops/pantheon/artwork/elementary-wallpapers/default.nix b/pkgs/desktops/pantheon/artwork/elementary-wallpapers/default.nix
index c48dd761e0815c05eb06d0a29bf5ec56a3969f94..8a4973728620ac459456865af21ebbd2d0568ecd 100644
--- a/pkgs/desktops/pantheon/artwork/elementary-wallpapers/default.nix
+++ b/pkgs/desktops/pantheon/artwork/elementary-wallpapers/default.nix
@@ -1,11 +1,14 @@
{ stdenv
, fetchFromGitHub
, pantheon
+, meson
+, ninja
+, gettext
}:
stdenv.mkDerivation rec {
pname = "elementary-wallpapers";
- version = "5.4";
+ version = "5.5.0";
repoName = "wallpapers";
@@ -13,9 +16,15 @@ stdenv.mkDerivation rec {
owner = "elementary";
repo = repoName;
rev = version;
- sha256 = "1ihvv9v8m5f2n2v3bgg769l52wbg241zgp3d45q6phk7p8s1gz3s";
+ sha256 = "0c63nds2ylqgcp39s13mfwhipgyw8cirn0bhybp291l5g86ii6s3";
};
+ nativeBuildInputs = [
+ gettext
+ meson
+ ninja
+ ];
+
passthru = {
updateScript = pantheon.updateScript {
inherit repoName;
@@ -23,14 +32,6 @@ stdenv.mkDerivation rec {
};
};
- dontBuild = true;
- dontConfigure = true;
-
- installPhase = ''
- mkdir -p $out/share/backgrounds/elementary
- cp -av *.jpg $out/share/backgrounds/elementary
- '';
-
meta = with stdenv.lib; {
description = "Collection of wallpapers for elementary";
homepage = https://github.com/elementary/wallpapers;
diff --git a/pkgs/desktops/pantheon/desktop/elementary-onboarding/default.nix b/pkgs/desktops/pantheon/desktop/elementary-onboarding/default.nix
index 3ee55a141b82976b27ed4154191785020c8e03ce..2c532f899abf026c3785bb3ee48d11a26c17e6d7 100644
--- a/pkgs/desktops/pantheon/desktop/elementary-onboarding/default.nix
+++ b/pkgs/desktops/pantheon/desktop/elementary-onboarding/default.nix
@@ -14,12 +14,13 @@
, elementary-icon-theme
, elementary-gtk-theme
, gettext
+, libhandy
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "elementary-onboarding";
- version = "1.0.1";
+ version = "1.1.0";
repoName = "onboarding";
@@ -27,7 +28,7 @@ stdenv.mkDerivation rec {
owner = "elementary";
repo = repoName;
rev = version;
- sha256 = "025i9av4waqwp1gn8d6sjp8qdwg2j3jskxhmyf9qxbzwfc5msysg";
+ sha256 = "17fw95qg7j0mvam90jrvr77hw2ipxb2lkw0xxql1lzwvdx1h0r2k";
};
passthru = {
@@ -48,20 +49,13 @@ stdenv.mkDerivation rec {
];
buildInputs = [
+ elementary-gtk-theme
elementary-icon-theme
+ glib
granite
gtk3
- elementary-gtk-theme
libgee
- glib
- ];
-
- patches = [
- # Make sure we use our logo from /etc/os-release
- (fetchpatch {
- url = "https://github.com/elementary/onboarding/commit/03975bacb75741d3dd391a126217e415f43c6059.patch";
- sha256 = "1yw7dysav90abxnmkv86bc60dyl8nvi0sgaiz8v39cc2x00rqsg1";
- })
+ libhandy
];
postPatch = ''
diff --git a/pkgs/desktops/pantheon/desktop/elementary-shortcut-overlay/default.nix b/pkgs/desktops/pantheon/desktop/elementary-shortcut-overlay/default.nix
index 20b1ac7d353fb7c88d569f60b1b641bf37ae6266..097c62f344fb9d82e020920912bf68ddcc790733 100644
--- a/pkgs/desktops/pantheon/desktop/elementary-shortcut-overlay/default.nix
+++ b/pkgs/desktops/pantheon/desktop/elementary-shortcut-overlay/default.nix
@@ -17,7 +17,7 @@
stdenv.mkDerivation rec {
pname = "elementary-shortcut-overlay";
- version = "1.0.1";
+ version = "1.1.0";
repoName = "shortcut-overlay";
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
owner = "elementary";
repo = repoName;
rev = version;
- sha256 = "1ph4rx2l5fn0zh4fjfjlgbgskmzc0lvzqgcv7v4kr5m4rij1p4y4";
+ sha256 = "10s44x5qln3asrdr6v5b3v92prh8rfhv96dbm73zhifm2jjm22g8";
};
passthru = {
diff --git a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/applications-menu/default.nix b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/applications-menu/default.nix
index a266223eced8fd396e807b9d85f476946b14facb..ca9abadf9ba2df4256561994ffd79ee0b779f2c9 100644
--- a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/applications-menu/default.nix
+++ b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/applications-menu/default.nix
@@ -26,7 +26,7 @@
stdenv.mkDerivation rec {
pname = "wingpanel-applications-menu";
- version = "2.4.4";
+ version = "2.5.0";
repoName = "applications-menu";
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
owner = "elementary";
repo = repoName;
rev = version;
- sha256 = "09ssxn264v6nzrxgk529kpdxq5j3b14z8mbwq0gni1bgjcla773d";
+ sha256 = "1zry9xvcljsn5fnl8qs21x7q8rpwv0sxvp2dmnx3ddqnvj4q2m7d";
};
passthru = {
@@ -73,13 +73,10 @@ stdenv.mkDerivation rec {
"--sysconfdir=${placeholder "out"}/etc"
];
- PKG_CONFIG_WINGPANEL_2_0_INDICATORSDIR = "${placeholder "out"}/lib/wingpanel";
- PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
-
patches = [
(substituteAll {
- src = ./bc.patch;
- exec = "${bc}/bin/bc";
+ src = ./fix-paths.patch;
+ bc = "${bc}/bin/bc";
})
];
diff --git a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/applications-menu/fix-paths.patch b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/applications-menu/fix-paths.patch
new file mode 100644
index 0000000000000000000000000000000000000000..25e3891a205afcba4bdd8c95468dd65d83e6085f
--- /dev/null
+++ b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/applications-menu/fix-paths.patch
@@ -0,0 +1,24 @@
+diff --git a/src/synapse-plugins/calculator-plugin.vala b/src/synapse-plugins/calculator-plugin.vala
+index 18ca3af..f5d1076 100644
+--- a/src/synapse-plugins/calculator-plugin.vala
++++ b/src/synapse-plugins/calculator-plugin.vala
+@@ -44,9 +44,7 @@ namespace Synapse {
+ _("Calculator"),
+ _("Calculate basic expressions."),
+ "accessories-calculator",
+- register_plugin,
+- Environment.find_program_in_path ("bc") != null,
+- _("bc is not installed")
++ register_plugin
+ );
+ }
+
+@@ -87,7 +85,7 @@ namespace Synapse {
+ if (matched) {
+ Pid pid;
+ int read_fd, write_fd;
+- string[] argv = {"bc", "-l"};
++ string[] argv = {"@bc@", "-l"};
+ string? solution = null;
+
+ try {
diff --git a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/bluetooth/default.nix b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/bluetooth/default.nix
index 3a462219f1e630cee2acd3e31ac90bfdab0fa291..965d9800c5b1bec0fd08e2669a734be8d6dbf4af 100644
--- a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/bluetooth/default.nix
+++ b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/bluetooth/default.nix
@@ -16,13 +16,13 @@
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-bluetooth";
- version = "2.1.3";
+ version = "2.1.4";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
- sha256 = "04ggakf7qp4q0kah5xksbwjn78wpdrp9kdgkj6ibzsb97ngn70g9";
+ sha256 = "05v3qy4rxi4l3g1ql99vcjylb01hz3galh19c2jc3lqc1mf1z1j1";
};
passthru = {
@@ -48,8 +48,6 @@ stdenv.mkDerivation rec {
wingpanel
];
- PKG_CONFIG_WINGPANEL_2_0_INDICATORSDIR = "${placeholder "out"}/lib/wingpanel";
-
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
diff --git a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/datetime/default.nix b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/datetime/default.nix
index 91549342052cd7fcaf1f3146963478c5de58b6f3..a356b9c15d927f635e02ba683c13557e080bbed5 100644
--- a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/datetime/default.nix
+++ b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/datetime/default.nix
@@ -35,13 +35,13 @@ in
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-datetime";
- version = "2.2.0";
+ version = "2.2.1";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
- sha256 = "1whdx0vgm0qbbzsw8dg2liz3cbh3ad5ybkriy4lmx5ynyhpbz0sx";
+ sha256 = "0y8lfrrkzcj8nw94jqawbxr4jz41ac0z539kkr3n3x0qmx72md2y";
};
passthru = {
diff --git a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/notifications/default.nix b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/notifications/default.nix
index 4dbf6528c70b734a39b67fa415224755c2c9a081..78512b341bb0874ef047af408dc20854c0cd9e27 100644
--- a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/notifications/default.nix
+++ b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/notifications/default.nix
@@ -14,13 +14,13 @@
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-notifications";
- version = "2.1.2";
+ version = "2.1.3";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
- sha256 = "1960s3xcsx6yjlnk0csf1m66s1z1sj5rym9b2fy7pm2nan47z3ld";
+ sha256 = "1lx023z7xxlgwh0br48fw5w7xw673p2sqxwl1gz9f54xx7rv81py";
};
passthru = {
@@ -44,8 +44,6 @@ stdenv.mkDerivation rec {
wingpanel
];
- PKG_CONFIG_WINGPANEL_2_0_INDICATORSDIR = "${placeholder "out"}/lib/wingpanel";
-
meta = with stdenv.lib; {
description = "Notifications Indicator for Wingpanel";
homepage = https://github.com/elementary/wingpanel-indicator-notifications;
diff --git a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/session/default.nix b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/session/default.nix
index 7efb03f9d665fbdd45598d8e4431967bf09014c8..c80da53986ac8579db59dc9e15e7f9fda7785fdf 100644
--- a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/session/default.nix
+++ b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/session/default.nix
@@ -14,13 +14,13 @@
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-session";
- version = "2.2.5";
+ version = "2.2.6";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
- sha256 = "0lqh9g6qq09m744gncspm79lbwx1vjl1d6j2szwcq9f0jdm01pm5";
+ sha256 = "0pzknbm0hg4kf2izfg1mcmyildfzwyq1hh0xhlq16gsmakq4ld26";
};
passthru = {
@@ -44,8 +44,6 @@ stdenv.mkDerivation rec {
wingpanel
];
- PKG_CONFIG_WINGPANEL_2_0_INDICATORSDIR = "${placeholder "out"}/lib/wingpanel";
-
meta = with stdenv.lib; {
description = "Session Indicator for Wingpanel";
homepage = https://github.com/elementary/wingpanel-indicator-session;
diff --git a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/sound/default.nix b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/sound/default.nix
index fa89cca68c0eebedf235028fcb40f4c21b9a6174..12654ff5509cf865a2dd055b49c31025641645e7 100644
--- a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/sound/default.nix
+++ b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/sound/default.nix
@@ -18,13 +18,13 @@
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-sound";
- version = "2.1.3";
+ version = "2.1.4";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
- sha256 = "0lgjl969c7s31nszh6d4pr1vsxfdsizplsihvd8r02mm1mlxmsda";
+ sha256 = "00r3dqkyp7k34xwn12l0dbzfmz70084lblxchykmk77pgzid2a0b";
};
passthru = {
@@ -52,8 +52,6 @@ stdenv.mkDerivation rec {
wingpanel
];
- PKG_CONFIG_WINGPANEL_2_0_INDICATORSDIR = "${placeholder "out"}/lib/wingpanel";
-
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
diff --git a/pkgs/desktops/pantheon/desktop/wingpanel/wrapper.nix b/pkgs/desktops/pantheon/desktop/wingpanel/wrapper.nix
index 6b554d89caa9f4ed9accf6ede6035f4c213f4e4b..253c61b7790994c0cd49de33810ef237d79392b2 100644
--- a/pkgs/desktops/pantheon/desktop/wingpanel/wrapper.nix
+++ b/pkgs/desktops/pantheon/desktop/wingpanel/wrapper.nix
@@ -1,5 +1,6 @@
{ lib
-, makeWrapper
+, wrapGAppsHook
+, glib
, symlinkJoin
, wingpanel
, wingpanelIndicators
@@ -13,17 +14,27 @@ in
symlinkJoin {
name = "${wingpanel.name}-with-indicators";
- paths = [ wingpanel ] ++ selectedIndicators;
+ paths = [
+ wingpanel
+ ] ++ selectedIndicators;
- buildInputs = [ makeWrapper ];
+ buildInputs = [
+ glib
+ wrapGAppsHook
+ ] ++ (lib.forEach selectedIndicators (x: x.buildInputs))
+ ++ selectedIndicators;
# We have to set SWITCHBOARD_PLUGS_PATH because wingpanel-applications-menu
# has a plugin to search switchboard settings
postBuild = ''
- wrapProgram $out/bin/wingpanel \
- --set WINGPANEL_INDICATORS_PATH "$out/lib/wingpanel" \
- --set SWITCHBOARD_PLUGS_PATH "${switchboard-with-plugs}/lib/switchboard" \
- --suffix XDG_DATA_DIRS : ${lib.concatMapStringsSep ":" (indicator: ''${indicator}/share/gsettings-schemas/${indicator.name}'') selectedIndicators}
+ make_glib_find_gsettings_schemas
+
+ gappsWrapperArgs+=(
+ --set WINGPANEL_INDICATORS_PATH "$out/lib/wingpanel"
+ --set SWITCHBOARD_PLUGS_PATH "${switchboard-with-plugs}/lib/switchboard"
+ )
+
+ wrapGAppsHook
'';
inherit (wingpanel) meta;
diff --git a/pkgs/desktops/pantheon/services/elementary-capnet-assist/default.nix b/pkgs/desktops/pantheon/services/elementary-capnet-assist/default.nix
index 6305c872b2fa01dad06fcad6fc56c03e7dcd973e..b4982fcf6bee70a3804385edd4e996d550ebb0e0 100644
--- a/pkgs/desktops/pantheon/services/elementary-capnet-assist/default.nix
+++ b/pkgs/desktops/pantheon/services/elementary-capnet-assist/default.nix
@@ -17,7 +17,7 @@
stdenv.mkDerivation rec {
pname = "elementary-capnet-assist";
- version = "2.2.3";
+ version = "2.2.4";
repoName = "capnet-assist";
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
owner = "elementary";
repo = repoName;
rev = version;
- sha256 = "15cnwimkmmsb4rwvgm8bizcsn1krsj6k3qc88izn79is75y6wwji";
+ sha256 = "0yz827gs1qv6csgv4v993rjmqzc6dbymbvznsy45ghlh19l4l7j1";
};
passthru = {
diff --git a/pkgs/desktops/pantheon/services/pantheon-agent-geoclue2/default.nix b/pkgs/desktops/pantheon/services/pantheon-agent-geoclue2/default.nix
index 8afbbbeed829cb88cb0bed715455faa88b7dc2dd..1e7f82f134d5a27c170d78462fcdf376f7aff644 100644
--- a/pkgs/desktops/pantheon/services/pantheon-agent-geoclue2/default.nix
+++ b/pkgs/desktops/pantheon/services/pantheon-agent-geoclue2/default.nix
@@ -15,13 +15,13 @@
stdenv.mkDerivation rec {
pname = "pantheon-agent-geoclue2";
- version = "1.0.2";
+ version = "1.0.3";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
- sha256 = "1hjnbbzsch09090b200b3i85x8fv95agfqd6nrlc9za3jqjhm2xs";
+ sha256 = "1fhgdcykn0ykn8fp7inn2akygpglhdwfpdkpnih86kqmqj8siahv";
};
passthru = {
diff --git a/pkgs/desktops/pantheon/services/pantheon-agent-polkit/default.nix b/pkgs/desktops/pantheon/services/pantheon-agent-polkit/default.nix
index 53a65ddb9474cf6dfd8eb8a99c35f6f70eb13b5c..0259e687bd3a8297e1f25c2e7d9ee423c15001af 100644
--- a/pkgs/desktops/pantheon/services/pantheon-agent-polkit/default.nix
+++ b/pkgs/desktops/pantheon/services/pantheon-agent-polkit/default.nix
@@ -7,19 +7,20 @@
, vala
, gtk3
, libgee
+, granite
, polkit
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "pantheon-agent-polkit";
- version = "0.1.6";
+ version = "1.0.0";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
- sha256 = "1g9l2jzpvv0dbvxh93w98a7ijsfqv3s3382li4s256179gihhd67";
+ sha256 = "1yybblprcn0cgcf9j76yckqcimm4h8l41cczxjvgp789p1pki3bn";
};
passthru = {
@@ -37,6 +38,7 @@ stdenv.mkDerivation rec {
];
buildInputs = [
+ granite
gtk3
libgee
polkit
diff --git a/pkgs/desktops/pantheon/update.sh b/pkgs/desktops/pantheon/update.sh
index 8d002fe47c27e6269699712b53281310f791033b..4897697d94fe75d8a6d0f57665b413e780acd79b 100755
--- a/pkgs/desktops/pantheon/update.sh
+++ b/pkgs/desktops/pantheon/update.sh
@@ -114,7 +114,26 @@ EOF
function get_latest_tag ( ) {
repo_name="$1"
- curl --silent --show-error --fail -X GET "https://api.github.com/repos/elementary/$repo_name/releases/latest" | jq -r '.tag_name'
+ OAUTH_TOKEN=$(printenv OAUTH_TOKEN)
+
+ if [ -n "$OAUTH_TOKEN" ]; then
+ curl \
+ --silent \
+ --show-error \
+ --fail \
+ -X GET \
+ --header "Authorization: token $OAUTH_TOKEN" \
+ "https://api.github.com/repos/elementary/$repo_name/releases/latest" \
+ | jq -r '.tag_name'
+ else
+ curl \
+ --silent \
+ --show-error \
+ --fail \
+ -X GET \
+ "https://api.github.com/repos/elementary/$repo_name/releases/latest" \
+ | jq -r '.tag_name'
+ fi
}
#
diff --git a/pkgs/desktops/plasma-5/default.nix b/pkgs/desktops/plasma-5/default.nix
index 4a8c3f408314d8d62baba601ab011973a90e6301..a199a4a959db1de34654204cf0766a5b7ae555af 100644
--- a/pkgs/desktops/plasma-5/default.nix
+++ b/pkgs/desktops/plasma-5/default.nix
@@ -43,11 +43,11 @@ let
propagate = out:
let setupHook = { writeScript }:
writeScript "setup-hook" ''
- if [ "${hookName:-}" != postHook ]; then
+ if [[ "''${hookName-}" != postHook ]]; then
postHooks+=("source @dev@/nix-support/setup-hook")
else
# Propagate $${out} output
- propagatedUserEnvPkgs="$propagatedUserEnvPkgs @${out}@"
+ propagatedUserEnvPkgs+=" @${out}@"
if [ -z "$outputDev" ]; then
echo "error: \$outputDev is unset!" >&2
@@ -57,7 +57,7 @@ let
# Propagate $dev so that this setup hook is propagated
# But only if there is a separate $dev output
if [ "$outputDev" != out ]; then
- propagatedBuildInputs="$propagatedBuildInputs @dev@"
+ propagatedBuildInputs+=" @dev@"
fi
fi
'';
diff --git a/pkgs/desktops/xfce/default.nix b/pkgs/desktops/xfce/default.nix
index 07773523b3e0c378882e4f81ef3005a489b5878b..fa666bb556d016cc81ad3b5bc39455f7ce74a877 100644
--- a/pkgs/desktops/xfce/default.nix
+++ b/pkgs/desktops/xfce/default.nix
@@ -3,8 +3,6 @@
lib.makeScope pkgs.newScope (self: with self; {
#### NixOS support
- inherit (pkgs.gnome3) dconf;
-
mkXfceDerivation = callPackage ./mkXfceDerivation.nix { };
automakeAddFlags = pkgs.makeSetupHook { } ./automakeAddFlags.sh;
@@ -217,4 +215,7 @@ lib.makeScope pkgs.newScope (self: with self; {
thunar-bare = thunar.override {
thunarPlugins = [];
};
+
+ # added 2019-11-30
+ inherit (pkgs) dconf;
})
diff --git a/pkgs/development/compilers/abcl/default.nix b/pkgs/development/compilers/abcl/default.nix
index accedf9a7af724dd24a8e84f65fdd644597bdbef..44f72a93c3a3f0997b8cf2e620203db31f755af1 100644
--- a/pkgs/development/compilers/abcl/default.nix
+++ b/pkgs/development/compilers/abcl/default.nix
@@ -1,11 +1,11 @@
{stdenv, fetchurl, ant, jre, jdk}:
stdenv.mkDerivation rec {
pname = "abcl";
- version = "1.5.0";
+ version = "1.6.0";
# or fetchFromGitHub(owner,repo,rev) or fetchgit(rev)
src = fetchurl {
url = "https://common-lisp.net/project/armedbear/releases/${version}/${pname}-src-${version}.tar.gz";
- sha256 = "1hhvcg050nfpjbdmskc1cv2j38qi6qfl77a61b5cxx576kbff3lj";
+ sha256 = "0hvbcsffr8n2xwdixc8wyw1bfl9fxn2gyy0c4nma7j9zbn0wwgw9";
};
configurePhase = ''
mkdir nix-tools
diff --git a/pkgs/development/compilers/adoptopenjdk-bin/jdk-darwin-base.nix b/pkgs/development/compilers/adoptopenjdk-bin/jdk-darwin-base.nix
index 3b9cb752b9b805d78a6e97e66c54c8cd11c8ac5a..5e402b2d728b861f989cef29277102febd5f5bb5 100644
--- a/pkgs/development/compilers/adoptopenjdk-bin/jdk-darwin-base.nix
+++ b/pkgs/development/compilers/adoptopenjdk-bin/jdk-darwin-base.nix
@@ -28,9 +28,6 @@ let cpuName = stdenv.hostPlatform.parsed.cpu.name;
# Remove some broken manpages.
rm -rf $out/Home/man/ja*
- # for backward compatibility
- ln -s $out/Contents/Home $out/jre
-
ln -s $out/Contents/Home/* $out/
mkdir -p $out/nix-support
diff --git a/pkgs/development/compilers/adoptopenjdk-bin/sources.json b/pkgs/development/compilers/adoptopenjdk-bin/sources.json
index 403bd96efb0edc60b3fd89ebd1c769bf0ae31650..e40ed72c46c1f54c807012b7c7736d81cd5b6269 100644
--- a/pkgs/development/compilers/adoptopenjdk-bin/sources.json
+++ b/pkgs/development/compilers/adoptopenjdk-bin/sources.json
@@ -10,34 +10,34 @@
"version": "11.0.4"
},
"armv6l": {
- "build": "7",
- "sha256": "3fbe418368e6d5888d0f15c4751139eb60d9785b864158a001386537fa46f67e",
- "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.3%2B7/OpenJDK11U-jdk_arm_linux_hotspot_11.0.3_7.tar.gz",
- "version": "11.0.3"
+ "build": "10",
+ "sha256": "c6b1fda3f8807028cbfcc34a4ded2e8a5a6b6239d2bcc1f06673ea6b1530df94",
+ "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.5%2B10/OpenJDK11U-jdk_arm_linux_hotspot_11.0.5_10.tar.gz",
+ "version": "11.0.5"
},
"armv7l": {
- "build": "7",
- "sha256": "3fbe418368e6d5888d0f15c4751139eb60d9785b864158a001386537fa46f67e",
- "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.3%2B7/OpenJDK11U-jdk_arm_linux_hotspot_11.0.3_7.tar.gz",
- "version": "11.0.3"
+ "build": "10",
+ "sha256": "c6b1fda3f8807028cbfcc34a4ded2e8a5a6b6239d2bcc1f06673ea6b1530df94",
+ "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.5%2B10/OpenJDK11U-jdk_arm_linux_hotspot_11.0.5_10.tar.gz",
+ "version": "11.0.5"
},
"packageType": "jdk",
"vmType": "hotspot",
"x86_64": {
- "build": "11",
- "sha256": "90c33cf3f2ed0bd773f648815de7347e69cfbb3416ef3bf41616ab1c4aa0f5a8",
- "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.4%2B11/OpenJDK11U-jdk_x64_linux_hotspot_11.0.4_11.tar.gz",
- "version": "11.0.4"
+ "build": "10",
+ "sha256": "6dd0c9c8a740e6c19149e98034fba8e368fd9aa16ab417aa636854d40db1a161",
+ "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.5%2B10/OpenJDK11U-jdk_x64_linux_hotspot_11.0.5_10.tar.gz",
+ "version": "11.0.5"
}
},
"openj9": {
"packageType": "jdk",
"vmType": "openj9",
"x86_64": {
- "build": "11",
- "sha256": "b1099cccc80a3f434728c9bc3b8a90395793b625f4680ca05267cf635143d64d",
- "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.4%2B11_openj9-0.15.1/OpenJDK11U-jdk_x64_linux_openj9_11.0.4_11_openj9-0.15.1.tar.gz",
- "version": "11.0.4"
+ "build": "10",
+ "sha256": "6ead0515aecb24c6a8f5f3800a070b7d20a66c8f26cba5dad137824da590a532",
+ "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.5%2B10_openj9-0.17.0/OpenJDK11U-jdk_x64_linux_openj9_11.0.5_10_openj9-0.17.0.tar.gz",
+ "version": "11.0.5"
}
}
},
@@ -52,20 +52,20 @@
"packageType": "jre",
"vmType": "hotspot",
"x86_64": {
- "build": "11",
- "sha256": "70d2cc675155476f1d8516a7ae6729d44681e4fad5a6fc8dfa65cab36a67b7e0",
- "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.4%2B11/OpenJDK11U-jre_x64_linux_hotspot_11.0.4_11.tar.gz",
- "version": "11.0.4"
+ "build": "10",
+ "sha256": "2f08c469c9a8adea1b6ee3444ba2a8242a7e99d87976a077faf037a9eb7f884b",
+ "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.5%2B10/OpenJDK11U-jre_x64_linux_hotspot_11.0.5_10.tar.gz",
+ "version": "11.0.5"
}
},
"openj9": {
"packageType": "jre",
"vmType": "openj9",
"x86_64": {
- "build": "11",
- "sha256": "c2601e7cb22af7a910e03883280cee805074656104d6d3dcaaf30e3bbb832690",
- "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.4%2B11_openj9-0.15.1/OpenJDK11U-jre_x64_linux_openj9_11.0.4_11_openj9-0.15.1.tar.gz",
- "version": "11.0.4"
+ "build": "10",
+ "sha256": "2b68ea68d41281238a9dbe494cec762bd97fe34cf4fb6ba44ee1ce66bcec9d38",
+ "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.5%2B10_openj9-0.17.0/OpenJDK11U-jre_x64_linux_openj9_11.0.5_10_openj9-0.17.0.tar.gz",
+ "version": "11.0.5"
}
}
}
@@ -76,20 +76,20 @@
"packageType": "jdk",
"vmType": "hotspot",
"x86_64": {
- "build": "11",
- "sha256": "a50b211f475b9497311c9b65594764d7b852b1653f249582bb20fc3c302846a5",
- "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.4%2B11/OpenJDK11U-jdk_x64_mac_hotspot_11.0.4_11.tar.gz",
- "version": "11.0.4"
+ "build": "10",
+ "sha256": "0825d0d3177832320b697944cd8e7b2e7fe3893fafe8bfcf33ee3631aa5ca96b",
+ "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.5%2B10/OpenJDK11U-jdk_x64_mac_hotspot_11.0.5_10.tar.gz",
+ "version": "11.0.5"
}
},
"openj9": {
"packageType": "jdk",
"vmType": "openj9",
"x86_64": {
- "build": "11",
- "sha256": "7c09678d9c2d9dd0366693c6ab27bed39c76a23e7ac69b8a25c794e99dcf3ba7",
- "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.4%2B11_openj9-0.15.1/OpenJDK11U-jdk_x64_mac_openj9_11.0.4_11_openj9-0.15.1.tar.gz",
- "version": "11.0.4"
+ "build": "10",
+ "sha256": "97dc8234b73e233316b5dfdca75af9a0d54aa23b1309b1a68fd0a5d2fa928e05",
+ "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.5%2B10.1_openj9-0.17.0/OpenJDK11U-jdk_x64_mac_openj9_11.0.5_10_openj9-0.17.0.tar.gz",
+ "version": "11.0.5"
}
}
},
@@ -98,20 +98,20 @@
"packageType": "jre",
"vmType": "hotspot",
"x86_64": {
- "build": "11",
- "sha256": "1647fded28d25e562811f7bce2092eb9c21d30608843b04250c023b40604ff26",
- "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.4%2B11/OpenJDK11U-jre_x64_mac_hotspot_11.0.4_11.tar.gz",
- "version": "11.0.4"
+ "build": "10",
+ "sha256": "dfd212023321ebb41bce8cced15b4668001e86ecff6bffdd4f2591ccaae41566",
+ "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.5%2B10/OpenJDK11U-jre_x64_mac_hotspot_11.0.5_10.tar.gz",
+ "version": "11.0.5"
}
},
"openj9": {
"packageType": "jre",
"vmType": "openj9",
"x86_64": {
- "build": "11",
- "sha256": "1a8e84bae517a848aa5f25c7b04f26ab3a3bfffaa7fdf9be24e1f83325e46766",
- "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.4%2B11_openj9-0.15.1/OpenJDK11U-jre_x64_mac_openj9_11.0.4_11_openj9-0.15.1.tar.gz",
- "version": "11.0.4"
+ "build": "10",
+ "sha256": "ea6bd0be4562e766c035b997447c059d10d5d2e58ca464c57f9078858da1c967",
+ "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.5%2B10.1_openj9-0.17.0/OpenJDK11U-jre_x64_mac_openj9_11.0.5_10_openj9-0.17.0.tar.gz",
+ "version": "11.0.5"
}
}
}
@@ -122,56 +122,56 @@
"jdk": {
"hotspot": {
"aarch64": {
- "build": "10",
- "sha256": "652776586ede124189dc218174b5922cc97feac81021ad81905900b349a352d2",
- "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10/OpenJDK8U-jdk_aarch64_linux_hotspot_8u222b10.tar.gz",
- "version": "8.0.222"
+ "build": "9",
+ "sha256": "35799a2fd4b467115aff1bc3a54853b5131ba9068e53e1ab0fbe5521a3f2ba83",
+ "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u232-b09/OpenJDK8U-jdk_aarch64_linux_hotspot_8u232b09.tar.gz",
+ "version": "8.0.232"
},
"packageType": "jdk",
"vmType": "hotspot",
"x86_64": {
- "build": "10",
- "sha256": "37356281345b93feb4212e6267109b4409b55b06f107619dde4960e402bafa77",
- "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10/OpenJDK8U-jdk_x64_linux_hotspot_8u222b10.tar.gz",
- "version": "8.0.222"
+ "build": "9",
+ "sha256": "7b7884f2eb2ba2d47f4c0bf3bb1a2a95b73a3a7734bd47ebf9798483a7bcc423",
+ "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u232-b09/OpenJDK8U-jdk_x64_linux_hotspot_8u232b09.tar.gz",
+ "version": "8.0.232"
}
},
"openj9": {
"packageType": "jdk",
"vmType": "openj9",
"x86_64": {
- "build": "10",
- "sha256": "20cff719c6de43f8bb58c7f59e251da7c1fa2207897c9a4768c8c669716dc819",
- "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10_openj9-0.15.1/OpenJDK8U-jdk_x64_linux_openj9_8u222b10_openj9-0.15.1.tar.gz",
- "version": "8.0.222"
+ "build": "9",
+ "sha256": "abea758c7e102f3c4a3be8757ee0ce039a70e2d498c160400dfb83c6f7004dbf",
+ "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u232-b09_openj9-0.17.0/OpenJDK8U-jdk_x64_linux_openj9_8u232b09_openj9-0.17.0.tar.gz",
+ "version": "8.0.232"
}
}
},
"jre": {
"hotspot": {
"aarch64": {
- "build": "10",
- "sha256": "dfaf5a121f7606c54bd6232793677a4267eddf65d29cde352b84d84edbccbb51",
- "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10/OpenJDK8U-jre_aarch64_linux_hotspot_8u222b10.tar.gz",
- "version": "8.0.222"
+ "build": "9",
+ "sha256": "4540db665260fdc84ae2f191e21beec9168a70a4227718bee5edd317707e2fda",
+ "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u232-b09/OpenJDK8U-jre_aarch64_linux_hotspot_8u232b09.tar.gz",
+ "version": "8.0.232"
},
"packageType": "jre",
"vmType": "hotspot",
"x86_64": {
- "build": "10",
- "sha256": "a418ce895c8bf3ca2e7b2f423f038b8b093941684c9430f2e40da0982e12b52d",
- "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10/OpenJDK8U-jre_x64_linux_hotspot_8u222b10.tar.gz",
- "version": "8.0.222"
+ "build": "9",
+ "sha256": "bd06b84a1fc10e0a555431bc49a84e86df45de0be93c8ee4d09d13513219843b",
+ "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u232-b09/OpenJDK8U-jre_x64_linux_hotspot_8u232b09.tar.gz",
+ "version": "8.0.232"
}
},
"openj9": {
"packageType": "jre",
"vmType": "openj9",
"x86_64": {
- "build": "10",
- "sha256": "ae56994a7c8e8c19939c0c2ff8fe5a850eb2f23845c499aa5ede26deb3d5ad28",
- "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10_openj9-0.15.1/OpenJDK8U-jre_x64_linux_openj9_8u222b10_openj9-0.15.1.tar.gz",
- "version": "8.0.222"
+ "build": "9",
+ "sha256": "30bdfdb38901d4807d96a72a33b83f7a4f40255e11a88853c1e8732acc4644a7",
+ "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u232-b09_openj9-0.17.0/OpenJDK8U-jre_x64_linux_openj9_8u232b09_openj9-0.17.0.tar.gz",
+ "version": "8.0.232"
}
}
}
@@ -182,20 +182,20 @@
"packageType": "jdk",
"vmType": "hotspot",
"x86_64": {
- "build": "10",
- "sha256": "9605fd00d2960934422437f601c7a9a1c5537309b9199d5bc75f84f20cd29a76",
- "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10/OpenJDK8U-jdk_x64_mac_hotspot_8u222b10.tar.gz",
- "version": "8.0.222"
+ "build": "9",
+ "sha256": "c237b2c2c32c893e4ee60cdac8c4bcc34ca731a5445986c03b95cf79918e40c3",
+ "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u232-b09/OpenJDK8U-jdk_x64_mac_hotspot_8u232b09.tar.gz",
+ "version": "8.0.232"
}
},
"openj9": {
"packageType": "jdk",
"vmType": "openj9",
"x86_64": {
- "build": "10",
- "sha256": "df185e167756332163633a826b329db067f8a721f7d5d27f0b353a35fc415de0",
- "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10_openj9-0.15.1/OpenJDK8U-jdk_x64_mac_openj9_8u222b10_openj9-0.15.1.tar.gz",
- "version": "8.0.222"
+ "build": "9",
+ "sha256": "168079dcc20f62ac4409800c78d23a63ba7c665e58cd7ac8bde21ebbbb2b6d48",
+ "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u232-b09.1_openj9-0.17.0/OpenJDK8U-jdk_x64_mac_openj9_8u232b09_openj9-0.17.0.tar.gz",
+ "version": "8.0.232"
}
}
},
@@ -204,20 +204,20 @@
"packageType": "jre",
"vmType": "hotspot",
"x86_64": {
- "build": "10",
- "sha256": "b3ac2436534cea932ccf665b317dbf5ffc0ee065efca808b22b6c2d795ca1b90",
- "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10/OpenJDK8U-jre_x64_mac_hotspot_8u222b10.tar.gz",
- "version": "8.0.222"
+ "build": "9",
+ "sha256": "5ec5f11dbc81ab65641b765e1ef2f924736c0d1cc797cb95b078598d9d863afd",
+ "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u232-b09/OpenJDK8U-jre_x64_mac_hotspot_8u232b09.tar.gz",
+ "version": "8.0.232"
}
},
"openj9": {
"packageType": "jre",
"vmType": "openj9",
"x86_64": {
- "build": "10",
- "sha256": "d5754413d7bc3a3233aaa7f8465451fbdabaf2a0c2a91743155bf135a3047ec8",
- "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10_openj9-0.15.1/OpenJDK8U-jre_x64_mac_openj9_8u222b10_openj9-0.15.1.tar.gz",
- "version": "8.0.222"
+ "build": "9",
+ "sha256": "60b70aa16c8ca38b96c305003f3d9871897555d0b4039b8e1f8db9ceeab16d53",
+ "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u232-b09.1_openj9-0.17.0/OpenJDK8U-jre_x64_mac_openj9_8u232b09_openj9-0.17.0.tar.gz",
+ "version": "8.0.232"
}
}
}
diff --git a/pkgs/development/compilers/carp/default.nix b/pkgs/development/compilers/carp/default.nix
index 235ec4090391532a27322dc7ed52d7d1431e8554..e02880b314ebf850f4d8be209f246f912c20cc80 100644
--- a/pkgs/development/compilers/carp/default.nix
+++ b/pkgs/development/compilers/carp/default.nix
@@ -1,21 +1,22 @@
{ stdenv, fetchFromGitHub, makeWrapper, clang, haskellPackages }:
-haskellPackages.mkDerivation {
+haskellPackages.mkDerivation rec {
pname = "carp";
- version = "unstable-2018-09-15";
+ version = "0.3.0";
src = fetchFromGitHub {
owner = "carp-lang";
repo = "Carp";
- rev = "cf9286c35cab1c170aa819f7b30b5871b9e812e6";
- sha256 = "1k6kdxbbaclhi40b9p3fgbkc1x6pc4v0029xjm6gny6pcdci2cli";
+ rev = "v${version}";
+ sha256 = "07yk3gy4l6h3k7sh8al7lgwk75a13zxwfp7siqpb5gnnqr1z3brc";
};
buildDepends = [ makeWrapper ];
executableHaskellDepends = with haskellPackages; [
- HUnit blaze-markup blaze-html split cmdargs
+ HUnit blaze-markup blaze-html split cmdargs ansi-terminal cmark
+ edit-distance
];
isExecutable = true;
diff --git a/pkgs/development/compilers/chicken/4/eggDerivation.nix b/pkgs/development/compilers/chicken/4/eggDerivation.nix
index 4dc7ebe66717e38825bfa1dd8e377ce540f1338b..16f9c413d4c5a900ca5dc90e6cd03e1965b0fc65 100644
--- a/pkgs/development/compilers/chicken/4/eggDerivation.nix
+++ b/pkgs/development/compilers/chicken/4/eggDerivation.nix
@@ -8,7 +8,7 @@
let
libPath = "${chicken}/var/lib/chicken/${toString chicken.binaryVersion}/";
overrides = import ./overrides.nix;
- baseName = (builtins.parseDrvName name).name;
+ baseName = lib.getName name;
override = if builtins.hasAttr baseName overrides
then
builtins.getAttr baseName overrides
diff --git a/pkgs/development/compilers/fasm/bin.nix b/pkgs/development/compilers/fasm/bin.nix
index 5353862424a0bf688214fcd0a90f3a2302b9b762..14610af10ae51077ac5e5f7423f81d136d5fc4b6 100644
--- a/pkgs/development/compilers/fasm/bin.nix
+++ b/pkgs/development/compilers/fasm/bin.nix
@@ -3,11 +3,11 @@
stdenvNoCC.mkDerivation rec {
pname = "fasm-bin";
- version = "1.73.16";
+ version = "1.73.18";
src = fetchurl {
url = "https://flatassembler.net/fasm-${version}.tgz";
- sha256 = "1jaqm7w458ny37fsw3fln17kw31rcsk8kyadci45qcbw6jspmn7k";
+ sha256 = "0m88vi8ac9mlak430nyrg3nxsj0fzy3yli8kk0mqsw8rqw2pfvqb";
};
installPhase = ''
diff --git a/pkgs/development/compilers/gcc/4.8/default.nix b/pkgs/development/compilers/gcc/4.8/default.nix
index c047d9e50ee1a946f0a254d0ace7d819d5528879..4844ddaa1fbadbc4283590de7464f208e24ecd48 100644
--- a/pkgs/development/compilers/gcc/4.8/default.nix
+++ b/pkgs/development/compilers/gcc/4.8/default.nix
@@ -102,8 +102,8 @@ let majorVersion = "4";
/* Cross-gcc settings (build == host != target) */
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
- stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
- crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
+ stageNameAddon = if crossStageStatic then "stage-static" else "stage-final";
+ crossNameAddon = optionalString (targetPlatform != hostPlatform) "${targetPlatform.config}-${stageNameAddon}-";
in
@@ -111,7 +111,7 @@ in
assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
stdenv.mkDerivation ({
- name = crossNameAddon + "${name}${if stripped then "" else "-debug"}-${version}";
+ name = "${crossNameAddon}${name}${if stripped then "" else "-debug"}-${version}";
builder = ../builder.sh;
diff --git a/pkgs/development/compilers/gcc/4.9/default.nix b/pkgs/development/compilers/gcc/4.9/default.nix
index 78027bcdac456de5c1ce80ad311eb66305fd4c14..dde72fb615d5ed72c6831b7a0da7eb88014748fc 100644
--- a/pkgs/development/compilers/gcc/4.9/default.nix
+++ b/pkgs/development/compilers/gcc/4.9/default.nix
@@ -107,8 +107,8 @@ let majorVersion = "4";
/* Cross-gcc settings (build == host != target) */
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
- stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
- crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
+ stageNameAddon = if crossStageStatic then "stage-static" else "stage-final";
+ crossNameAddon = optionalString (targetPlatform != hostPlatform) "${targetPlatform.config}-${stageNameAddon}-";
in
@@ -116,7 +116,7 @@ in
assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
stdenv.mkDerivation ({
- name = crossNameAddon + "${name}${if stripped then "" else "-debug"}-${version}";
+ name = "${crossNameAddon}${name}${if stripped then "" else "-debug"}-${version}";
builder = ../builder.sh;
diff --git a/pkgs/development/compilers/gcc/5/default.nix b/pkgs/development/compilers/gcc/5/default.nix
index a6aab5c26d4384eb5be864b0d64b4d76d8228e00..cc3912c6aee9b57dfe126823215837e314d6abaa 100644
--- a/pkgs/development/compilers/gcc/5/default.nix
+++ b/pkgs/development/compilers/gcc/5/default.nix
@@ -98,8 +98,8 @@ let majorVersion = "5";
/* Cross-gcc settings (build == host != target) */
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
- stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
- crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
+ stageNameAddon = if crossStageStatic then "stage-static" else "stage-final";
+ crossNameAddon = optionalString (targetPlatform != hostPlatform) "${targetPlatform.config}-${stageNameAddon}-";
in
@@ -107,7 +107,7 @@ in
assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
stdenv.mkDerivation ({
- name = crossNameAddon + "${name}${if stripped then "" else "-debug"}-${version}";
+ name = "${crossNameAddon}${name}${if stripped then "" else "-debug"}-${version}";
builder = ../builder.sh;
diff --git a/pkgs/development/compilers/gcc/6/default.nix b/pkgs/development/compilers/gcc/6/default.nix
index 4ec24dbe88e795d963b2183a7cc32b2de71cae1e..fa69a2818c71ec6b5be73cfd5b167cdda407aaa8 100644
--- a/pkgs/development/compilers/gcc/6/default.nix
+++ b/pkgs/development/compilers/gcc/6/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, targetPackages, fetchurl, fetchpatch, noSysDirs
+{ stdenv, targetPackages, fetchurl, fetchpatch, fetchFromGitHub, noSysDirs
, langC ? true, langCC ? true, langFortran ? false
, langObjC ? stdenv.targetPlatform.isDarwin
, langObjCpp ? stdenv.targetPlatform.isDarwin
@@ -9,6 +9,7 @@
, enableShared ? true
, enableLTO ? true
, texinfo ? null
+, flex
, perl ? null # optional, for texi2pod (then pod2man); required for Java
, gmp, mpfr, libmpc, gettext, which
, libelf # optional, for link-time optimizations (LTO)
@@ -94,8 +95,8 @@ let majorVersion = "6";
/* Cross-gcc settings (build == host != target) */
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
- stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
- crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
+ stageNameAddon = if crossStageStatic then "stage-static" else "stage-final";
+ crossNameAddon = optionalString (targetPlatform != hostPlatform) "${targetPlatform.config}-${stageNameAddon}-";
in
@@ -103,11 +104,16 @@ in
assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
stdenv.mkDerivation ({
- name = crossNameAddon + "${name}${if stripped then "" else "-debug"}-${version}";
+ name = "${crossNameAddon}${name}${if stripped then "" else "-debug"}-${version}";
builder = ../builder.sh;
- src = fetchurl {
+ src = if stdenv.targetPlatform.isVc4 then fetchFromGitHub {
+ owner = "itszor";
+ repo = "gcc-vc4";
+ rev = "e90ff43f9671c760cf0d1dd62f569a0fb9bf8918";
+ sha256 = "0gxf66hwqk26h8f853sybphqa5ca0cva2kmrw5jsiv6139g0qnp8";
+ } else fetchurl {
url = "mirror://gnu/gcc/gcc-${version}/gcc-${version}.tar.xz";
sha256 = "0i89fksfp6wr1xg9l8296aslcymv2idn60ip31wr9s4pwin7kwby";
};
@@ -172,7 +178,8 @@ stdenv.mkDerivation ({
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [ texinfo which gettext ]
++ (optional (perl != null) perl)
- ++ (optional javaAwtGtk pkgconfig);
+ ++ (optional javaAwtGtk pkgconfig)
+ ++ (optional (stdenv.targetPlatform.isVc4) flex);
# For building runtime libs
depsBuildTarget =
diff --git a/pkgs/development/compilers/gcc/7/default.nix b/pkgs/development/compilers/gcc/7/default.nix
index aa46a5263898a952ddf8342acdd020f150163eb8..d860cf64a3802b405d24a503584cbd258bd1b997 100644
--- a/pkgs/development/compilers/gcc/7/default.nix
+++ b/pkgs/development/compilers/gcc/7/default.nix
@@ -72,13 +72,13 @@ let majorVersion = "7";
/* Cross-gcc settings (build == host != target) */
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
- stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
- crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
+ stageNameAddon = if crossStageStatic then "stage-static" else "stage-final";
+ crossNameAddon = optionalString (targetPlatform != hostPlatform) "${targetPlatform.config}-${stageNameAddon}-";
in
stdenv.mkDerivation ({
- name = crossNameAddon + "${name}${if stripped then "" else "-debug"}-${version}";
+ name = "${crossNameAddon}${name}${if stripped then "" else "-debug"}-${version}";
builder = ../builder.sh;
diff --git a/pkgs/development/compilers/gcc/8/default.nix b/pkgs/development/compilers/gcc/8/default.nix
index 0874d4d085ad45d0c6942ee31c96eaacd1606034..e6a9a6aa92c9f9a5cd96bab69e01b6de6e7367e1 100644
--- a/pkgs/development/compilers/gcc/8/default.nix
+++ b/pkgs/development/compilers/gcc/8/default.nix
@@ -64,13 +64,13 @@ let majorVersion = "8";
/* Cross-gcc settings (build == host != target) */
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
- stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
- crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
+ stageNameAddon = if crossStageStatic then "stage-static" else "stage-final";
+ crossNameAddon = optionalString (targetPlatform != hostPlatform) "${targetPlatform.config}-${stageNameAddon}-";
in
stdenv.mkDerivation ({
- name = crossNameAddon + "${name}${if stripped then "" else "-debug"}-${version}";
+ name = "${crossNameAddon}${name}${if stripped then "" else "-debug"}-${version}";
builder = ../builder.sh;
diff --git a/pkgs/development/compilers/gcc/9/default.nix b/pkgs/development/compilers/gcc/9/default.nix
index f16dcb59b4696d4c56946decafde9e398f70ce57..cece94e1b730f15f5a6ddf085d19933a9374614a 100644
--- a/pkgs/development/compilers/gcc/9/default.nix
+++ b/pkgs/development/compilers/gcc/9/default.nix
@@ -63,13 +63,13 @@ let majorVersion = "9";
/* Cross-gcc settings (build == host != target) */
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
- stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
- crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
+ stageNameAddon = if crossStageStatic then "stage-static" else "stage-final";
+ crossNameAddon = optionalString (targetPlatform != hostPlatform) "${targetPlatform.config}-${stageNameAddon}-";
in
stdenv.mkDerivation ({
- name = crossNameAddon + "${name}${if stripped then "" else "-debug"}-${version}";
+ name = "${crossNameAddon}${name}${if stripped then "" else "-debug"}-${version}";
builder = ../builder.sh;
diff --git a/pkgs/development/compilers/gcc/snapshot/default.nix b/pkgs/development/compilers/gcc/snapshot/default.nix
index 5344b6591696ad5c3fa5740dc19302f21dab4447..ce76fd184f0f484d90558a52bad9f913f93234ca 100644
--- a/pkgs/development/compilers/gcc/snapshot/default.nix
+++ b/pkgs/development/compilers/gcc/snapshot/default.nix
@@ -60,13 +60,13 @@ let majorVersion = "7";
/* Cross-gcc settings (build == host != target) */
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
- stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
- crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
+ stageNameAddon = if crossStageStatic then "stage-static" else "stage-final";
+ crossNameAddon = optionalString (targetPlatform != hostPlatform) "${targetPlatform.config}-${stageNameAddon}-";
in
stdenv.mkDerivation ({
- name = crossNameAddon + "${name}${if stripped then "" else "-debug"}-${version}";
+ name = "${crossNameAddon}${name}${if stripped then "" else "-debug"}-${version}";
builder = ../builder.sh;
diff --git a/pkgs/development/compilers/gerbil/unstable.nix b/pkgs/development/compilers/gerbil/unstable.nix
index a9618a7e06677e281d14daa4a4e302faa11711ee..5f0347aa9a66b1361af7aec074f4009128e70977 100644
--- a/pkgs/development/compilers/gerbil/unstable.nix
+++ b/pkgs/development/compilers/gerbil/unstable.nix
@@ -1,14 +1,15 @@
-{ stdenv, callPackage, fetchFromGitHub, gambit-unstable }:
+{ stdenv, callPackage, fetchFromGitHub, gambit, gambit-unstable }:
callPackage ./build.nix {
- version = "unstable-2019-08-11";
- git-version = "0.16-DEV-132-gcb58f9a3";
- gambit = gambit-unstable;
+ version = "unstable-2019-11-15";
+ git-version = "0.15.1-461-gee22de62";
+ #gambit = gambit-unstable;
+ gambit = gambit;
src = fetchFromGitHub {
owner = "vyzo";
repo = "gerbil";
- rev = "cb58f9a30630a6f3e85a55f2c1dcc654f517ffed";
- sha256 = "18jh64v1gi6z3pks9zf19f2wcjpv21cs270dnaq617kgwp53vysh";
+ rev = "ee22de628a656ee59c6c72bc25d7b2e25a4ece2f";
+ sha256 = "1n1j596b91k9xcmv22l72nga6wv20bka2q51ik2jw2vkcw8zkc1c";
};
inherit stdenv;
}
diff --git a/pkgs/development/compilers/ghc/head.nix b/pkgs/development/compilers/ghc/head.nix
index 565c545e48c34cdf4b84b61752f203fb71e0711c..0e73f81fbabdafbf840a12db6c97ff64352f6dd7 100644
--- a/pkgs/development/compilers/ghc/head.nix
+++ b/pkgs/development/compilers/ghc/head.nix
@@ -2,11 +2,14 @@
# build-tools
, bootPkgs
-, autoconf, automake, coreutils, fetchgit, fetchpatch, perl, python3, m4, sphinx
+, autoconf, autoreconfHook, automake, coreutils, fetchgit, fetchpatch, perl, python3, m4, sphinx
, bash
, libiconv ? null, ncurses
+, enableDwarf ? !stdenv.targetPlatform.isDarwin &&
+ !stdenv.targetPlatform.isWindows, elfutils # for DWARF support
+
, useLLVM ? !stdenv.targetPlatform.isx86
, # LLVM is conceptually a run-time-only depedendency, but for
# non-x86, we need LLVM to bootstrap later stages, so it becomes a
@@ -27,7 +30,7 @@
, # Whetherto build terminfo.
enableTerminfo ? !stdenv.targetPlatform.isWindows
-, version ? "8.9.20190924"
+, version ? "8.10.20191119"
, # What flavour to build. An empty string indicates no
# specific flavour and falls back to ghc default values.
ghcFlavour ? stdenv.lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform)
@@ -73,7 +76,8 @@ let
# Splicer will pull out correct variations
libDeps = platform: stdenv.lib.optional enableTerminfo [ ncurses ]
++ stdenv.lib.optional (!enableIntegerSimple) gmp
- ++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv;
+ ++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv
+ ++ stdenv.lib.optional enableDwarf elfutils;
toolsForTarget = [
pkgsBuildTarget.targetPackages.stdenv.cc
@@ -89,8 +93,8 @@ stdenv.mkDerivation (rec {
src = fetchgit {
url = "https://gitlab.haskell.org/ghc/ghc.git/";
- rev = "795986aaf33e2ffc233836b86a92a77366c91db2";
- sha256 = "0a111x6c53r07q5qdg6c8mnydqp0wh4mpxmw7ga4x5wlap8i0bji";
+ rev = "0418c38d55c7a47967187dce2db5ea2ab1021b1e";
+ sha256 = "1d8g30ii0w4xh6fh61bxbalsqqyanny99nn3p727fx7favnhgvxi";
};
enableParallelBuilding = true;
@@ -98,13 +102,6 @@ stdenv.mkDerivation (rec {
outputs = [ "out" "doc" ];
patches = [
- (fetchpatch { # https://github.com/haskell/haddock/issues/900
- url = "https://patch-diff.githubusercontent.com/raw/haskell/haddock/pull/983.diff";
- name = "loadpluginsinmodules.diff";
- sha256 = "0bvvv0zsfq2581zsir97zfkggc1kkircbbajc2fz3b169ycpbha1";
- extraPrefix = "utils/haddock/";
- stripLen = 1;
- })
];
postPatch = "patchShebangs .";
@@ -176,13 +173,17 @@ stdenv.mkDerivation (rec {
"CONF_GCC_LINKER_OPTS_STAGE2=-fuse-ld=gold"
] ++ stdenv.lib.optionals (disableLargeAddressSpace) [
"--disable-large-address-space"
+ ] ++ stdenv.lib.optional enableDwarf [
+ "--enable-dwarf-unwind"
+ "--with-libdw-includes=${stdenv.lib.getDev elfutils}/include"
+ "--with-libdw-libraries=${stdenv.lib.getLib elfutils}/lib"
];
# Make sure we never relax`$PATH` and hooks support for compatability.
strictDeps = true;
nativeBuildInputs = [
- perl autoconf automake m4 python3 sphinx
+ perl autoconf autoreconfHook automake m4 python3 sphinx
ghc bootPkgs.alex bootPkgs.happy bootPkgs.hscolour
];
diff --git a/pkgs/development/compilers/ghcjs-ng/configured-ghcjs-src.nix b/pkgs/development/compilers/ghcjs-ng/configured-ghcjs-src.nix
index 56b69ea267f95a4476f92b185e9963132e16ae2d..943866d5f24e274d534f9337aaac55893fb72a85 100644
--- a/pkgs/development/compilers/ghcjs-ng/configured-ghcjs-src.nix
+++ b/pkgs/development/compilers/ghcjs-ng/configured-ghcjs-src.nix
@@ -16,7 +16,7 @@
}:
runCommand "configured-ghcjs-src" {
- buildInputs = [
+ nativeBuildInputs = [
perl
autoconf
automake
diff --git a/pkgs/development/compilers/go-jsonnet/default.nix b/pkgs/development/compilers/go-jsonnet/default.nix
index e051d41993ccbdf8e3aef138b1479ac36b8da654..949190903673feddb503858b6db47002024ba5c3 100644
--- a/pkgs/development/compilers/go-jsonnet/default.nix
+++ b/pkgs/development/compilers/go-jsonnet/default.nix
@@ -1,33 +1,24 @@
-{ lib, buildGoPackage, fetchFromGitHub }:
+{ lib, buildGoModule, fetchFromGitHub }:
-buildGoPackage rec {
+buildGoModule rec {
pname = "go-jsonnet";
- version = "0.13.0";
-
- goPackagePath = "github.com/google/go-jsonnet";
-
- # regenerate deps.nix using following steps:
- #
- # go get -u github.com/google/go-jsonnet
- # cd $GOPATH/src/github.com/google/go-jsonnet
- # git checkout
- # dep init
- # dep2nix
- goDeps = ./deps.nix;
+ version = "0.14.0";
src = fetchFromGitHub {
- rev = "v${version}";
owner = "google";
repo = "go-jsonnet";
- sha256 = "0x95sqhrw4pscxq0q8781wix0w881k9my5kn5nf6k0fg1d6qlgiy";
- fetchSubmodules = true;
+ rev = "v${version}";
+ sha256 = "1q0mpydh8h0zrml605q9r259y8584kbwcr9g4sqcb1n13b4d1sgp";
};
- meta = {
+ modSha256 = "1b6hz5a66hhlzpcv1badxr1b4nmk4lw0507d5jks7lqzvvwd0sxq";
+
+ subPackages = [ "cmd/jsonnet" ];
+
+ meta = with lib; {
description = "An implementation of Jsonnet in pure Go";
- maintainers = with lib.maintainers; [ nshalman ];
- license = lib.licenses.asl20;
- homepage = https://github.com/google/go-jsonnet;
- platforms = lib.platforms.unix;
+ homepage = "https://github.com/google/go-jsonnet";
+ license = licenses.asl20;
+ maintainers = with maintainers; [ nshalman ];
};
}
diff --git a/pkgs/development/compilers/go-jsonnet/deps.nix b/pkgs/development/compilers/go-jsonnet/deps.nix
deleted file mode 100644
index 1f413a16d81d19ea8bc85368873282b974f99d26..0000000000000000000000000000000000000000
--- a/pkgs/development/compilers/go-jsonnet/deps.nix
+++ /dev/null
@@ -1,48 +0,0 @@
-# file generated from Gopkg.lock using dep2nix (https://github.com/nixcloud/dep2nix)
-[
- {
- goPackagePath = "github.com/fatih/color";
- fetch = {
- type = "git";
- url = "https://github.com/fatih/color";
- rev = "5b77d2a35fb0ede96d138fc9a99f5c9b6aef11b4";
- sha256 = "0v8msvg38r8d1iiq2i5r4xyfx0invhc941kjrsg5gzwvagv55inv";
- };
- }
- {
- goPackagePath = "github.com/mattn/go-colorable";
- fetch = {
- type = "git";
- url = "https://github.com/mattn/go-colorable";
- rev = "167de6bfdfba052fa6b2d3664c8f5272e23c9072";
- sha256 = "1nwjmsppsjicr7anq8na6md7b1z84l9ppnlr045hhxjvbkqwalvx";
- };
- }
- {
- goPackagePath = "github.com/mattn/go-isatty";
- fetch = {
- type = "git";
- url = "https://github.com/mattn/go-isatty";
- rev = "1311e847b0cb909da63b5fecfb5370aa66236465";
- sha256 = "0rqfh1rj6f5wm8p2ky7inm8g10152p7w6n2cli17kf9gad797i8h";
- };
- }
- {
- goPackagePath = "github.com/sergi/go-diff";
- fetch = {
- type = "git";
- url = "https://github.com/sergi/go-diff";
- rev = "1744e2970ca51c86172c8190fadad617561ed6e7";
- sha256 = "0swiazj8wphs2zmk1qgq75xza6m19snif94h2m6fi8dqkwqdl7c7";
- };
- }
- {
- goPackagePath = "golang.org/x/sys";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/sys";
- rev = "4c4f7f33c9ed00de01c4c741d2177abfcfe19307";
- sha256 = "191001bxqyc3xfs46nnqmm7jdk0r73vk7a4zqngfl7zwjv9smwsq";
- };
- }
-]
\ No newline at end of file
diff --git a/pkgs/development/compilers/intel-graphics-compiler/default.nix b/pkgs/development/compilers/intel-graphics-compiler/default.nix
index 183e1f2a0850fddb7333f67c4dc70d6fffd846f3..a365761b014fc4048f715359e63f45540dfafc68 100644
--- a/pkgs/development/compilers/intel-graphics-compiler/default.nix
+++ b/pkgs/development/compilers/intel-graphics-compiler/default.nix
@@ -24,13 +24,13 @@ in
stdenv.mkDerivation rec {
pname = "intel-graphics-compiler";
- version = "1.0.2714.1";
+ version = "1.0.2878";
src = fetchFromGitHub {
owner = "intel";
repo = "intel-graphics-compiler";
rev = "igc-${version}";
- sha256 = "0ys03sv08fg8q06lb6k5088xirnwms4nzazxp3kbdjm973n7imxc";
+ sha256 = "0rgij1013fy2x2szfchy3z6390mjfqw3nz4zprcb5v2v6mpvcj4l";
};
nativeBuildInputs = [ clang cmake bison flex llvm python ];
diff --git a/pkgs/development/compilers/kotlin/default.nix b/pkgs/development/compilers/kotlin/default.nix
index 12a75eb8f1438b22adc8e32d3f46a95b2fbefe47..a6384c449c8fcbe68830df1941be62233c1c70c4 100644
--- a/pkgs/development/compilers/kotlin/default.nix
+++ b/pkgs/development/compilers/kotlin/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchurl, makeWrapper, jre, unzip }:
let
- version = "1.3.50";
+ version = "1.3.60";
in stdenv.mkDerivation {
inherit version;
pname = "kotlin";
src = fetchurl {
url = "https://github.com/JetBrains/kotlin/releases/download/v${version}/kotlin-compiler-${version}.zip";
- sha256 = "1v66pnk810agf26khwdv7l8jpc11x6na5fyqxs9jvxdpls8l0hk9";
+ sha256 = "1frgnirrl795m8xydngrbn73np5gwgs7wymr9j81d0gz4gzpry8j";
};
propagatedBuildInputs = [ jre ] ;
diff --git a/pkgs/development/compilers/mruby/default.nix b/pkgs/development/compilers/mruby/default.nix
index 03f3d56fd93d6c4d8f08aa7e494fde4548b3a3fe..e4c756e9c7d31a2e5cc19c2bccb035dc1ffcb762 100644
--- a/pkgs/development/compilers/mruby/default.nix
+++ b/pkgs/development/compilers/mruby/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "mruby";
- version = "2.0.1";
+ version = "2.1.0";
src = fetchFromGitHub {
owner = "mruby";
repo = "mruby";
rev = version;
- sha256 = "1zm2d5kj9fnfx8ifj8ysrrr838ipwmvz35byzjhprakrg64911p9";
+ sha256 = "1y072c7dh9jf8xwy7kia6cb4dkpspq4zf24ssn7zm5f46p4waxni";
};
nativeBuildInputs = [ ruby bison ];
diff --git a/pkgs/development/compilers/nim/default.nix b/pkgs/development/compilers/nim/default.nix
index 48808bf356b95ced0365af120538dfac09ec834e..dee0b351a609f52aa3aebc0a19bd2dd53f49b7df 100644
--- a/pkgs/development/compilers/nim/default.nix
+++ b/pkgs/development/compilers/nim/default.nix
@@ -5,11 +5,11 @@
stdenv.mkDerivation rec {
pname = "nim";
- version = "1.0.2";
+ version = "1.0.4";
src = fetchurl {
url = "https://nim-lang.org/download/${pname}-${version}.tar.xz";
- sha256 = "1rjinrs119c8i6wzz5fzjfml7n7kbd5hb9642g4rr8qxkq4sx83k";
+ sha256 = "1q5fx9g40bk4ajghi856w5l34fmrl7avq5j6p0dr2xa4l52ib149";
};
enableParallelBuilding = true;
diff --git a/pkgs/development/compilers/ocaml/generic.nix b/pkgs/development/compilers/ocaml/generic.nix
index 9557d0a79aebb2382b12b6a44a49ce67188bfb03..d39c0d86fd5731ffd96f080bc583ba8f0fdd7e57 100644
--- a/pkgs/development/compilers/ocaml/generic.nix
+++ b/pkgs/development/compilers/ocaml/generic.nix
@@ -12,16 +12,18 @@ in
{ stdenv, fetchurl, ncurses, buildEnv
, libX11, xorgproto, useX11 ? safeX11 stdenv
+, aflSupport ? false
, flambdaSupport ? false
}:
assert useX11 -> !stdenv.isAarch32 && !stdenv.isMips;
+assert aflSupport -> stdenv.lib.versionAtLeast version "4.05";
assert flambdaSupport -> stdenv.lib.versionAtLeast version "4.03";
let
useNativeCompilers = !stdenv.isMips;
inherit (stdenv.lib) optional optionals optionalString;
- name = "ocaml${optionalString flambdaSupport "+flambda"}-${version}";
+ name = "ocaml${optionalString aflSupport "+afl"}${optionalString flambdaSupport "+flambda"}-${version}";
in
let
@@ -41,11 +43,16 @@ stdenv.mkDerivation (args // {
};
prefixKey = "-prefix ";
- configureFlags = optionals useX11 (
- if stdenv.lib.versionAtLeast version "4.08"
- then [ "--x-libraries=${x11lib}" "--x-includes=${x11inc}"]
- else [ "-x11lib" x11lib "-x11include" x11inc ])
- ++ optional flambdaSupport "-flambda"
+ configureFlags =
+ let flags = new: old:
+ if stdenv.lib.versionAtLeast version "4.08"
+ then new else old
+ ; in
+ optionals useX11 (flags
+ [ "--x-libraries=${x11lib}" "--x-includes=${x11inc}"]
+ [ "-x11lib" x11lib "-x11include" x11inc ])
+ ++ optional aflSupport (flags "--with-afl" "-afl-instrument")
+ ++ optional flambdaSupport (flags "--enable-flambda" "-flambda")
;
buildFlags = "world" + optionalString useNativeCompilers " bootstrap world.opt";
diff --git a/pkgs/development/compilers/openjdk/8.nix b/pkgs/development/compilers/openjdk/8.nix
index ff3d03321e21f1ae146c679a7176cb42f0ec402a..4debf10c0cb406701994004de8000b6023d3dec2 100644
--- a/pkgs/development/compilers/openjdk/8.nix
+++ b/pkgs/development/compilers/openjdk/8.nix
@@ -193,6 +193,11 @@ let
mkdir $out/lib/openjdk/jre
lndir $jre/lib/openjdk/jre $out/lib/openjdk/jre
+ # Make sure cmm/*.pf are not symlinks:
+ # https://youtrack.jetbrains.com/issue/IDEA-147272
+ rm -rf $out/lib/openjdk/jre/lib/cmm
+ ln -s {$jre,$out}/lib/openjdk/jre/lib/cmm
+
# Setup fallback fonts
${lib.optionalString (!headless) ''
mkdir -p $jre/lib/openjdk/jre/lib/fonts
diff --git a/pkgs/development/compilers/ponyc/default.nix b/pkgs/development/compilers/ponyc/default.nix
index f20a32aceddea37d96729c9a3958c8e79a6e23c5..33a3a1216dd2ff9eb7a29cec2307a934b5e73041 100644
--- a/pkgs/development/compilers/ponyc/default.nix
+++ b/pkgs/development/compilers/ponyc/default.nix
@@ -1,18 +1,18 @@
-{ stdenv, fetchFromGitHub, llvm, makeWrapper, pcre2, coreutils, which, libressl,
+{ stdenv, fetchFromGitHub, llvm, makeWrapper, pcre2, coreutils, which, libressl, libxml2,
cc ? stdenv.cc, lto ? !stdenv.isDarwin }:
stdenv.mkDerivation ( rec {
pname = "ponyc";
- version = "0.32.0";
+ version = "0.33.0";
src = fetchFromGitHub {
owner = "ponylang";
repo = pname;
rev = version;
- sha256 = "07ai5lr0zdrcdmfjxsypp33fpj8lnak7y5177s7qd19163z0ia20";
+ sha256 = "0a0sw902nrayg0s1zrkhfpvrmdqw19nif67hsv0ijrckcq37bjcz";
};
- buildInputs = [ llvm makeWrapper which ];
+ buildInputs = [ llvm makeWrapper which libxml2 ];
propagatedBuildInputs = [ cc ];
# Disable problematic networking tests
diff --git a/pkgs/development/compilers/ponyc/pony-stable.nix b/pkgs/development/compilers/ponyc/pony-stable.nix
index 6719293af2a79e36fd84b2fe757fbd2729868642..23e7f3b28f7f3bde383967ad3bcc5d3f5f49982f 100644
--- a/pkgs/development/compilers/ponyc/pony-stable.nix
+++ b/pkgs/development/compilers/ponyc/pony-stable.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "pony-stable";
- version = "0.2.1";
+ version = "0.2.2";
src = fetchFromGitHub {
owner = "ponylang";
repo = "pony-stable";
rev = version;
- sha256 = "1wiinw35bp3zpq9kx61x2zvid7ln00jrw052ah8801s0d9dbwrdr";
+ sha256 = "0nzvsqvl315brp3yb4j5kl82xnkmib4jk416jjc7yrz4k3jgr278";
};
buildInputs = [ ponyc ];
diff --git a/pkgs/development/compilers/purescript/purescript/default.nix b/pkgs/development/compilers/purescript/purescript/default.nix
index 149a38231b44ac47f7713e72efd54d97fe255b61..f1126fdeddfd6ebfc8a7230b46adf3d1dee6d21a 100644
--- a/pkgs/development/compilers/purescript/purescript/default.nix
+++ b/pkgs/development/compilers/purescript/purescript/default.nix
@@ -18,19 +18,19 @@ let
in stdenv.mkDerivation rec {
pname = "purescript";
- version = "0.13.4";
+ version = "0.13.5";
src =
if stdenv.isDarwin
then
fetchurl {
url = "https://github.com/${pname}/${pname}/releases/download/v${version}/macos.tar.gz";
- sha256 = "0rqjair1r1yr1k8rva3ly16dv5594f4s8xwpnrz9n7x3f99mk4fx";
+ sha256 = "19bb50m0cd738r353blgy21d842b3yj58xfbplk7bz59jawj9lym";
}
else
fetchurl {
url = "https://github.com/${pname}/${pname}/releases/download/v${version}/linux64.tar.gz";
- sha256 = "1ajzi5ikgzgdfrgq36r9pc3yc6f7h0qgnqcq414zd66z08mbggng";
+ sha256 = "016wvwypgb4859f0n1lqsqv9a8cca2y8g7d6ffvzx6rncd115gxi";
};
diff --git a/pkgs/development/compilers/rust/1_38_0.nix b/pkgs/development/compilers/rust/1_38_0.nix
index 5260ab201741ee600aa2e29cb554bb4eb6d38c8e..be43e074228d4807c479bf91dffaf705955af048 100644
--- a/pkgs/development/compilers/rust/1_38_0.nix
+++ b/pkgs/development/compilers/rust/1_38_0.nix
@@ -10,6 +10,7 @@ import ./default.nix {
bootstrapHashes = {
i686-unknown-linux-gnu = "74510e0e52a55e65a9f716673c2cda4d2bd427e2453541c6993c77c3ec04acf9";
x86_64-unknown-linux-gnu = "cb573229bfd32928177c3835fdeb62d52da64806b844bc1095c6225b0665a1cb";
+ arm-unknown-linux-gnueabihf = "272739fbb23cf6c2040c1813af9c8c7f386cac37d9de638f22a1816eb96bc0ae";
armv7-unknown-linux-gnueabihf = "5b87b877f0ed20c6a09ce26e7a15d8c61b26b62484b97e78a51099d0efefec98";
aarch64-unknown-linux-gnu = "263ef98fa3a6b2911b56f89c06615cdebf6ef676eb9b2493ad1539602f79b6ba";
i686-apple-darwin = "e45d0c4d882fc6c404ffa6fe790294f4ea96384a2b48804adbf723f3635477a8";
diff --git a/pkgs/development/compilers/rust/1_39_0.nix b/pkgs/development/compilers/rust/1_39_0.nix
index aa29c7a9ff7ca9426175f1f98eb2876ef39f8420..cc07590dedc65555f6df68cb4e9ba9fd4df2c758 100644
--- a/pkgs/development/compilers/rust/1_39_0.nix
+++ b/pkgs/development/compilers/rust/1_39_0.nix
@@ -10,6 +10,7 @@ import ./default.nix {
bootstrapHashes = {
i686-unknown-linux-gnu = "41aed8a350e24a0cac1444ed99b3dd24a90bc581dd88cb420c6e547d6b5f57af";
x86_64-unknown-linux-gnu = "adda26b3f0609dbfbdc2019da4a20101879b9db2134fae322a4e863a069ec221";
+ arm-unknown-linux-gnueabihf = "0603a3d3d16ae8f3b3b117eb699e8f3ef7532a6f6d3c29d13e7d4614fc3c9e7a";
armv7-unknown-linux-gnueabihf = "8b1bf1680a61a643d6b5c7a3b1a1ce88448652756395e20ba5846739cbd085c4";
aarch64-unknown-linux-gnu = "06afd6d525326cea95c3aa658aaa8542eab26f44235565bb16913ac9d12b7bda";
i686-apple-darwin = "cdbf2807774bed350a3af6f41d7f7dd7ceff28777cde310c3ba90033188eb2f8";
diff --git a/pkgs/development/compilers/rust/bootstrap.nix b/pkgs/development/compilers/rust/bootstrap.nix
index 54b2d3016e507d7b7a11d5ba9af2e79e8bb7d138..7c0b46d55931f3a6a5a0d23e6aeddf6d9be23233 100644
--- a/pkgs/development/compilers/rust/bootstrap.nix
+++ b/pkgs/development/compilers/rust/bootstrap.nix
@@ -1,24 +1,11 @@
-{ stdenv, fetchurl, callPackage, version, hashes }:
+{ stdenv, fetchurl, rust, callPackage, version, hashes }:
let
- platform =
- if stdenv.hostPlatform.system == "i686-linux"
- then "i686-unknown-linux-gnu"
- else if stdenv.hostPlatform.system == "x86_64-linux"
- then "x86_64-unknown-linux-gnu"
- else if stdenv.hostPlatform.system == "armv7l-linux"
- then "armv7-unknown-linux-gnueabihf"
- else if stdenv.hostPlatform.system == "aarch64-linux"
- then "aarch64-unknown-linux-gnu"
- else if stdenv.hostPlatform.system == "i686-darwin"
- then "i686-apple-darwin"
- else if stdenv.hostPlatform.system == "x86_64-darwin"
- then "x86_64-apple-darwin"
- else throw "missing bootstrap url for platform ${stdenv.hostPlatform.system}";
+ platform = rust.toRustTarget stdenv.hostPlatform;
src = fetchurl {
url = "https://static.rust-lang.org/dist/rust-${version}-${platform}.tar.gz";
- sha256 = hashes.${platform};
+ sha256 = hashes.${platform} or (throw "missing bootstrap url for platform ${platform}");
};
in callPackage ./binary.nix
diff --git a/pkgs/development/compilers/rust/default.nix b/pkgs/development/compilers/rust/default.nix
index efd641efb6e68c019a6818c36b0b9046d4c4ebd9..75104ac7ad58efe3bf2cfd5e11f53bb100459d90 100644
--- a/pkgs/development/compilers/rust/default.nix
+++ b/pkgs/development/compilers/rust/default.nix
@@ -11,6 +11,14 @@
, llvmPackages_5
, pkgsBuildTarget, pkgsBuildBuild
}: rec {
+ toRustTarget = platform: with platform.parsed; let
+ cpu_ = {
+ "armv7a" = "armv7";
+ "armv7l" = "armv7";
+ "armv6l" = "arm";
+ }.${cpu.name} or cpu.name;
+ in "${cpu_}-${vendor.name}-${kernel.name}${lib.optionalString (abi.name != "unknown") "-${abi.name}"}";
+
makeRustPlatform = { rustc, cargo, ... }: {
rust = {
inherit rustc cargo;
diff --git a/pkgs/development/compilers/rust/print-hashes.sh b/pkgs/development/compilers/rust/print-hashes.sh
index 7eb00a30ad73f8487a5ec76e171260b300d122db..1d46fe376d4bb4339cfe7a0d18bc73255003d055 100755
--- a/pkgs/development/compilers/rust/print-hashes.sh
+++ b/pkgs/development/compilers/rust/print-hashes.sh
@@ -10,6 +10,7 @@ set -euo pipefail
PLATFORMS=(
i686-unknown-linux-gnu
x86_64-unknown-linux-gnu
+ arm-unknown-linux-gnueabihf
armv7-unknown-linux-gnueabihf
aarch64-unknown-linux-gnu
i686-apple-darwin
diff --git a/pkgs/development/compilers/rust/rustc.nix b/pkgs/development/compilers/rust/rustc.nix
index ceaf6f4c2258f7be90733e7f68e9dfa423eb6ac9..ca9bf05b7e7d83e87deb4bd17ebaee68d5f43083 100644
--- a/pkgs/development/compilers/rust/rustc.nix
+++ b/pkgs/development/compilers/rust/rustc.nix
@@ -1,6 +1,6 @@
{ stdenv, removeReferencesTo, pkgsBuildBuild, pkgsBuildHost, pkgsBuildTarget
, fetchurl, file, python2
-, llvm_9, darwin, git, cmake, rustPlatform
+, llvm_9, darwin, git, cmake, rust, rustPlatform
, pkgconfig, openssl
, which, libffi
, withBundledLLVM ? false
@@ -53,9 +53,9 @@ in stdenv.mkDerivation rec {
# We need rust to build rust. If we don't provide it, configure will try to download it.
# Reference: https://github.com/rust-lang/rust/blob/master/src/bootstrap/configure.py
configureFlags = let
- setBuild = "--set=target.${stdenv.buildPlatform.config}";
- setHost = "--set=target.${stdenv.hostPlatform.config}";
- setTarget = "--set=target.${stdenv.targetPlatform.config}";
+ setBuild = "--set=target.${rust.toRustTarget stdenv.buildPlatform}";
+ setHost = "--set=target.${rust.toRustTarget stdenv.hostPlatform}";
+ setTarget = "--set=target.${rust.toRustTarget stdenv.targetPlatform}";
ccForBuild = "${pkgsBuildBuild.targetPackages.stdenv.cc}/bin/${pkgsBuildBuild.targetPackages.stdenv.cc.targetPrefix}cc";
cxxForBuild = "${pkgsBuildBuild.targetPackages.stdenv.cc}/bin/${pkgsBuildBuild.targetPackages.stdenv.cc.targetPrefix}c++";
ccForHost = "${pkgsBuildHost.targetPackages.stdenv.cc}/bin/${pkgsBuildHost.targetPackages.stdenv.cc.targetPrefix}cc";
@@ -68,9 +68,9 @@ in stdenv.mkDerivation rec {
"--set=build.cargo=${rustPlatform.rust.cargo}/bin/cargo"
"--enable-rpath"
"--enable-vendor"
- "--build=${stdenv.buildPlatform.config}"
- "--host=${stdenv.hostPlatform.config}"
- "--target=${stdenv.targetPlatform.config}"
+ "--build=${rust.toRustTarget stdenv.buildPlatform}"
+ "--host=${rust.toRustTarget stdenv.hostPlatform}"
+ "--target=${rust.toRustTarget stdenv.targetPlatform}"
"${setBuild}.cc=${ccForBuild}"
"${setHost}.cc=${ccForHost}"
diff --git a/pkgs/development/compilers/scala/dotty-bare.nix b/pkgs/development/compilers/scala/dotty-bare.nix
index 5a01e295e49e914739fd3d46cb20ed470fe6dcbb..675e91b302a7950e705815d1b9e2772098e0da39 100644
--- a/pkgs/development/compilers/scala/dotty-bare.nix
+++ b/pkgs/development/compilers/scala/dotty-bare.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, makeWrapper, jre, ncurses }:
stdenv.mkDerivation rec {
- version = "0.14.0-RC1";
+ version = "0.20.0-RC1";
pname = "dotty-bare";
src = fetchurl {
url = "https://github.com/lampepfl/dotty/releases/download/${version}/dotty-${version}.tar.gz";
- sha256 = "0nrgsyhqjlpvnjqgb18pryr8q7knq3dq25jhp98s4wh76nssm1zr";
+ sha256 = "08qs3m32cbh6516gcwraa1b5k935awmjxls6kg6xll722hkdd9l6";
};
propagatedBuildInputs = [ jre ncurses.dev ] ;
@@ -35,6 +35,6 @@ stdenv.mkDerivation rec {
homepage = http://dotty.epfl.ch/;
license = licenses.bsd3;
platforms = platforms.all;
- maintainers = [maintainers.karolchmist];
+ maintainers = [maintainers.karolchmist maintainers.virusdave];
};
}
diff --git a/pkgs/development/compilers/souffle/default.nix b/pkgs/development/compilers/souffle/default.nix
index a39a6c4a2e4f5cf4bbe910632fbf3ddab0e99218..33821bfc25744a78005ce16794bfc58be0f736c3 100644
--- a/pkgs/development/compilers/souffle/default.nix
+++ b/pkgs/development/compilers/souffle/default.nix
@@ -10,13 +10,13 @@ let
in
stdenv.mkDerivation rec {
pname = "souffle";
- version = "1.6.1";
+ version = "1.7.0";
src = fetchFromGitHub {
owner = "souffle-lang";
repo = "souffle";
rev = version;
- sha256 = "004c5iicjnlzn1yz1k7a28s4xdqx00016rr870drdq2z30mxfgz8";
+ sha256 = "0q6cwfy3pwmaw3j1hhfk1ivcf03ijyvchyf92wdgrpj6q626kcpj";
};
nativeBuildInputs = [ autoreconfHook bison flex mcpp doxygen graphviz makeWrapper perl ];
diff --git a/pkgs/development/compilers/unison/default.nix b/pkgs/development/compilers/unison/default.nix
index 90dd233a2bbe15246a9a1a8e7da12fd8a2399dad..2a8c07fa0fe08c4ee6dd00587d8cbbb4ffa63332 100644
--- a/pkgs/development/compilers/unison/default.nix
+++ b/pkgs/development/compilers/unison/default.nix
@@ -4,18 +4,18 @@
stdenv.mkDerivation rec {
pname = "unison-code-manager";
- milestone_id = "M1e";
+ milestone_id = "M1g";
version = "1.0.${milestone_id}-alpha";
src = if (stdenv.isDarwin) then
fetchurl {
url = "https://github.com/unisonweb/unison/releases/download/release/${milestone_id}/unison-osx.tar.gz";
- sha256 = "1jcjc8drjnvr67174ym9cppzi5zdq7jrj98xmf8gvrbx45v2gc6h";
+ sha256 = "186y7y7ffg976w01cbb8am84ajbifb7lcnsc4g3x262mkswr7lry";
}
else
fetchurl {
url = "https://github.com/unisonweb/unison/releases/download/release/${milestone_id}/unison-linux64.tar.gz";
- sha256 = "1jq6xx879lqv3hxq8azg1rp72hy63qsn5w9nx95i4dzmmgwp0xx1";
+ sha256 = "1ki9car1clpaspnl5jb5qnr6nzv108q279n8m8bjm8azfcnl61ab";
};
# The tarball is just the prebuilt binary, in the archive root.
diff --git a/pkgs/development/compilers/vala/default.nix b/pkgs/development/compilers/vala/default.nix
index 8079daf59a534b6065373360f1155277375ef015..d84503caa607c973a9dc455d0b8e7ab11aa96988 100644
--- a/pkgs/development/compilers/vala/default.nix
+++ b/pkgs/development/compilers/vala/default.nix
@@ -106,18 +106,18 @@ in rec {
};
vala_0_40 = generic {
- version = "0.40.16";
- sha256 = "0vv25fmr9jqiqf080vak1x4raa4w3cz3n5ysjglqsq9qfx304i7b";
+ version = "0.40.18";
+ sha256 = "1f7cdkjdysg4dcri1wbzdddm46amk2s48jkwb5ghpdvhjb4l5j2m";
};
vala_0_44 = generic {
- version = "0.44.8";
- sha256 = "0f7pc496zvxfhbkhg8ayxykjas6f55mgv452wsnh0bz5zbxm8xrl";
+ version = "0.44.11";
+ sha256 = "06spdvm9q9k4riq1d2fxkyc8d88bcv460v360465iy1lnj3z9x2s";
};
vala_0_46 = generic {
- version = "0.46.2";
- sha256 = "1g20fzcwh3j7ab46jalabyi005h2in0cp7xj0yga4b8hx29h61wj";
+ version = "0.46.5";
+ sha256 = "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s";
};
vala = vala_0_46;
diff --git a/pkgs/development/compilers/x11basic/default.nix b/pkgs/development/compilers/x11basic/default.nix
index 3d955c4394b043740881cea29ae851d94a946a17..147ec13c5556a7f895f14212307fb533fcb99818 100644
--- a/pkgs/development/compilers/x11basic/default.nix
+++ b/pkgs/development/compilers/x11basic/default.nix
@@ -5,13 +5,13 @@
stdenv.mkDerivation rec {
pname = "X11basic";
- version = "1.26";
+ version = "1.27";
src = fetchFromGitHub {
owner = "kollokollo";
repo = pname;
rev = version;
- sha256 = "0rwj9cf496xailply0rgw695bzdladh2dhy7vdqac1pwbkl53nvd";
+ sha256 = "1hpxzdqnjl1fiwgs2vrjg4kxm29c7pqwk3g1m4p5pm4x33a3d1q2";
};
buildInputs = [
diff --git a/pkgs/development/em-modules/generic/default.nix b/pkgs/development/em-modules/generic/default.nix
index d1e7ac882d79b7d1d741d2c604f254c530c9994a..a260beb5104438b10704c6e3b54c2df77b59d5bb 100644
--- a/pkgs/development/em-modules/generic/default.nix
+++ b/pkgs/development/em-modules/generic/default.nix
@@ -10,8 +10,8 @@ pkgs.stdenv.mkDerivation (
args //
{
- pname = "emscripten-${args.pname or (builtins.parseDrvName args.name).name}";
- version = args.version or (builtins.parseDrvName args.name).version;
+ pname = "emscripten-${lib.getName args}";
+ version = lib.getVersion args;
buildInputs = [ emscripten python ] ++ buildInputs;
nativeBuildInputs = [ emscripten python ] ++ nativeBuildInputs;
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 9fd343870b9b080a9efca723dadeebd1190e3ddc..4579cf015cd2bdbaf4a826688c640f7f742f8ea6 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -511,7 +511,9 @@ self: super: {
else dontCheck super.tasty-discover);
# generic-deriving bound is too tight
- aeson = doJailbreak super.aeson;
+ # aeson 1.4.6.0 needs Diff 0.4.0 to do tests but nixpkgs is still at 0.3.4
+ # https://github.com/bos/aeson/issues/740
+ aeson = dontCheck (doJailbreak super.aeson);
# containers >=0.4 && <0.6 is too tight
# https://github.com/RaphaelJ/friday/issues/34
@@ -1183,18 +1185,6 @@ self: super: {
# test suite failure: https://github.com/jgm/pandoc/issues/5582
pandoc = dontCheck super.pandoc;
- # 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 = "20190814-git";
- src = pkgs.fetchFromGitHub {
- owner = "haskell-CI";
- repo = "haskell-ci";
- rev = "70918d80b6fd43aca7e4d00ba0d2ea116b666556";
- sha256 = "0bzp959qy74zmqq75f60rcixpjbvvyrb5a8zp2nyql3nm9vxzy5k";
- };
- }) (with self; [temporary lattices Cabal_3_0_0_0]));
-
# Fix build with attr-2.4.48 (see #53716)
xattr = appendPatch super.xattr ./patches/xattr-fix-build.patch;
@@ -1251,7 +1241,7 @@ self: super: {
});
# The LTS-14.x version of their dependencies are too old.
- cabal-plan = super.cabal-plan.override { optparse-applicative = self.optparse-applicative_0_15_1_0; };
+ cabal-plan = super.cabal-plan.overrideScope (self: super: { optparse-applicative = self.optparse-applicative_0_15_1_0; ansi-terminal = self.ansi-terminal_0_10_2; base-compat = self.base-compat_0_11_0; semialign = self.semialign_1_1; time-compat = doJailbreak super.time-compat; });
hoogle = super.hoogle.override { haskell-src-exts = self.haskell-src-exts_1_22_0; };
# Version bounds for http-client are too strict:
@@ -1318,4 +1308,10 @@ self: super: {
# Needs the corresponding version of haskell-src-exts.
haskell-src-exts-simple = super.haskell-src-exts-simple.override { haskell-src-exts = self.haskell-src-exts_1_22_0; };
+ # https://github.com/Daniel-Diaz/HaTeX/issues/144
+ HaTeX = dontCheck super.HaTeX;
+
+ # https://github.com/kazu-yamamoto/dns/issues/150
+ dns = dontCheck super.dns;
+
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super
diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
index ec0e4377f764aa99475058d2698ddb32bd45a98a..617ca63c27f2d1473008253f1363a418d3de65a6 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
@@ -69,20 +69,29 @@ self: super: {
snap-server = doJailbreak super.snap-server;
# use latest version to fix the build
+ doctemplates = self.doctemplates_0_7_2;
generics-sop = self.generics-sop_0_5_0_0;
hackage-db = self.hackage-db_2_1_0;
+ haddock-library = self.haddock-library_1_8_0;
+ HsYAML = self.HsYAML_0_2_1_0;
lens = self.lens_4_18_1;
memory = self.memory_0_15_0;
microlens = self.microlens_0_4_11_2;
optparse-applicative = self.optparse-applicative_0_15_1_0;
+ pandoc = self.pandoc_2_8_0_1;
+ pandoc-types = self.pandoc-types_1_20;
primitive = dontCheck super.primitive_0_7_0_0; # evaluating the test suite gives an infinite recursion
regex-base = self.regex-base_0_94_0_0;
regex-pcre-builtin = self.regex-pcre-builtin_0_95_1_1_8_43;
regex-posix = self.regex-posix_0_96_0_0;
regex-tdfa = self.regex-tdfa_1_3_0;
shelly = self.shelly_1_9_0;
+ skylighting = self.skylighting_0_8_3;
+ skylighting-core = self.skylighting-core_0_8_3;
sop-core = self.sop-core_0_5_0_0;
+ texmath = self.texmath_0_12;
tls = self.tls_1_5_2;
+ trifecta = self.trifecta_2_1;
xmonad-contrib = self.xmonad-contrib_0_16;
# These packages don't work and need patching and/or an update.
diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
index f57768ecb773d2a1cf5fc51392eeca80ce9cc8c4..b8b38c7704357f2ca6d89b091221658e77df7f13 100644
--- a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
+++ b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
@@ -43,7 +43,7 @@ core-packages:
- ghcjs-base-0
default-package-overrides:
- # LTS Haskell 14.14
+ # LTS Haskell 14.16
- abstract-deque ==0.3
- abstract-deque-tests ==0.3
- abstract-par ==0.3.3
@@ -55,7 +55,7 @@ default-package-overrides:
- adjunctions ==4.4
- adler32 ==0.1.2.0
- advent-of-code-api ==0.1.2.3
- - aeson ==1.4.5.0
+ - aeson ==1.4.6.0
- aeson-attoparsec ==0.0.0
- aeson-better-errors ==0.9.1.0
- aeson-casing ==0.2.0.0
@@ -120,7 +120,7 @@ default-package-overrides:
- async-timer ==0.2.0.0
- atom-basic ==0.2.5
- atomic-primops ==0.8.3
- - atomic-write ==0.2.0.6
+ - atomic-write ==0.2.0.7
- attoparsec ==0.13.2.3
- attoparsec-base64 ==0.0.0
- attoparsec-binary ==0.2
@@ -131,7 +131,7 @@ default-package-overrides:
- attoparsec-uri ==0.0.7
- audacity ==0.0.2
- aur ==6.2.0.1
- - authenticate ==1.3.4
+ - authenticate ==1.3.5
- authenticate-oauth ==1.6.0.1
- auto ==0.4.3.1
- autoexporter ==1.1.15
@@ -142,7 +142,7 @@ default-package-overrides:
- avro ==0.4.5.4
- avwx ==0.3.0.2
- aws-cloudfront-signed-cookies ==0.2.0.1
- - aws-lambda-haskell-runtime ==2.0.1
+ - aws-lambda-haskell-runtime ==2.0.2
- backprop ==0.2.6.3
- bank-holidays-england ==0.2.0.2
- barbies ==1.1.3.0
@@ -279,7 +279,7 @@ default-package-overrides:
- casing ==0.1.4.1
- cassava ==0.5.2.0
- cassava-conduit ==0.5.1
- - cassava-megaparsec ==2.0.0
+ - cassava-megaparsec ==2.0.1
- cassava-records ==0.1.0.4
- cast ==0.1.0.2
- caster ==0.0.3.0
@@ -311,7 +311,7 @@ default-package-overrides:
- chiphunk ==0.1.2.1
- choice ==0.2.2
- chronologique ==0.3.1.1
- - chronos ==1.0.8
+ - chronos ==1.0.9
- chronos-bench ==0.2.0.2
- chunked-data ==0.3.1
- cipher-aes ==0.2.11
@@ -326,7 +326,7 @@ default-package-overrides:
- classy-prelude ==1.5.0
- classy-prelude-conduit ==1.5.0
- classy-prelude-yesod ==1.5.0
- - clay ==0.13.1
+ - clay ==0.13.2
- clientsession ==0.9.1.2
- Clipboard ==2.3.2.0
- clock ==0.8
@@ -336,7 +336,7 @@ default-package-overrides:
- clr-marshal ==0.2.0.0
- clumpiness ==0.17.0.2
- cmark ==0.6
- - cmark-gfm ==0.2.0
+ - cmark-gfm ==0.2.1
- cmdargs ==0.10.20
- codec ==0.2.1
- codec-beam ==0.2.0
@@ -388,7 +388,7 @@ default-package-overrides:
- connection ==0.3.1
- connection-pool ==0.2.2
- console-style ==0.0.2.1
- - constraint ==0.1.3.0
+ - constraint ==0.1.4.0
- constraints ==0.10.1
- contravariant ==1.5.2
- contravariant-extras ==0.3.5
@@ -397,9 +397,9 @@ default-package-overrides:
- control-monad-free ==0.6.2
- control-monad-omega ==0.3.2
- convertible ==1.1.1.0
- - cookie ==0.4.4
- - core-data ==0.2.1.0
- - core-text ==0.2.2.1
+ - cookie ==0.4.5
+ - core-data ==0.2.1.4
+ - core-text ==0.2.2.4
- countable ==1.0
- country ==0.1.6
- courier ==0.1.1.5
@@ -408,7 +408,7 @@ default-package-overrides:
- cprng-aes ==0.6.1
- cpu ==0.1.2
- cpuinfo ==0.1.0.1
- - cql ==4.0.1
+ - cql ==4.0.2
- cql-io ==1.1.1
- crackNum ==2.3
- crc32c ==0.0.0
@@ -519,14 +519,14 @@ default-package-overrides:
- dhall-bash ==1.0.21
- dhall-json ==1.3.0
- diagrams ==1.4
- - diagrams-contrib ==1.4.3
+ - diagrams-contrib ==1.4.4
- diagrams-core ==1.4.2
- diagrams-lib ==1.4.3
- diagrams-postscript ==1.4.1
- diagrams-rasterific ==1.4.1.1
- diagrams-solve ==0.1.1
- diagrams-svg ==1.4.2
- - di-core ==1.0.3
+ - di-core ==1.0.4
- dictionary-sharing ==0.1.0.0
- Diff ==0.3.4
- digest ==0.0.1.2
@@ -544,7 +544,7 @@ default-package-overrides:
- dlist ==0.8.0.7
- dlist-instances ==0.1.1.1
- dlist-nonempty ==0.1.1
- - dns ==4.0.0
+ - dns ==4.0.1
- dockerfile ==0.2.0
- docopt ==0.7.0.5
- doctemplates ==0.2.2.1
@@ -555,7 +555,7 @@ default-package-overrides:
- do-list ==1.0.1
- dom-parser ==3.1.0
- do-notation ==0.1.0.2
- - dotenv ==0.8.0.2
+ - dotenv ==0.8.0.4
- dotgen ==0.4.2
- dotnet-timespan ==0.0.1.0
- double-conversion ==2.0.2.0
@@ -664,7 +664,7 @@ default-package-overrides:
- filecache ==0.4.1
- file-embed ==0.0.11
- file-embed-lzma ==0
- - filelock ==0.1.1.3
+ - filelock ==0.1.1.4
- filemanip ==0.3.6.3
- file-modules ==0.1.2.4
- filepattern ==0.1.1
@@ -734,7 +734,7 @@ default-package-overrides:
- gauge ==0.2.5
- gc ==0.0.3
- gd ==3000.7.3
- - gdp ==0.0.0.2
+ - gdp ==0.0.3.0
- general-games ==1.1.1
- generic-arbitrary ==0.1.0
- generic-data ==0.7.0.0
@@ -847,7 +847,7 @@ default-package-overrides:
- hackage-db ==2.0.1
- hackage-security ==0.5.3.0
- haddock-library ==1.7.0
- - hadolint ==1.17.2
+ - hadolint ==1.17.3
- half ==0.3
- hamilton ==0.1.0.3
- hamtsolo ==1.0.3
@@ -885,7 +885,7 @@ default-package-overrides:
- haxl ==2.1.2.0
- hbeanstalk ==0.2.4
- HCodecs ==0.5.1
- - hdaemonize ==0.5.5
+ - hdaemonize ==0.5.6
- HDBC ==2.4.0.3
- HDBC-mysql ==0.7.1.0
- HDBC-session ==0.1.2.0
@@ -929,7 +929,7 @@ default-package-overrides:
- hmpfr ==0.4.4
- hoauth2 ==1.8.9
- Hoed ==0.5.1
- - hOpenPGP ==2.8
+ - hOpenPGP ==2.8.4
- hopenpgp-tools ==0.21.3
- hopfli ==0.2.2.1
- hosc ==0.17
@@ -1007,7 +1007,7 @@ default-package-overrides:
- htoml ==1.0.0.3
- http2 ==1.6.5
- HTTP ==4000.3.14
- - http-api-data ==0.4.1
+ - http-api-data ==0.4.1.1
- http-client ==0.6.4
- http-client-tls ==0.3.5.3
- http-common ==0.8.2.0
@@ -1047,7 +1047,7 @@ default-package-overrides:
- hw-mquery ==0.2.0.2
- hw-packed-vector ==0.0.0.3
- hw-parser ==0.1.0.2
- - hw-prim ==0.6.2.38
+ - hw-prim ==0.6.2.39
- hw-rankselect ==0.13.0.0
- hw-rankselect-base ==0.3.2.3
- hw-simd ==0.1.1.5
@@ -1086,7 +1086,6 @@ default-package-overrides:
- indents ==0.5.0.1
- indexed ==0.1.3
- indexed-list-literals ==0.2.1.2
- - indexed-profunctors ==0.1
- infer-license ==0.2.0
- inflections ==0.4.0.4
- influxdb ==1.7.1.1
@@ -1096,7 +1095,7 @@ default-package-overrides:
- inline-c-cpp ==0.3.0.3
- inline-r ==0.10.2
- inliterate ==0.1.0
- - insert-ordered-containers ==0.2.3
+ - insert-ordered-containers ==0.2.2
- inspection-testing ==0.4.2.2
- instance-control ==0.1.2.0
- int-cast ==0.2.0.0
@@ -1141,7 +1140,7 @@ default-package-overrides:
- ixset-typed ==0.4.0.1
- ix-shapable ==0.1.0
- jack ==0.7.1.4
- - jose ==0.8.1.0
+ - jose ==0.8.2.0
- jose-jwt ==0.8.0
- js-dgtable ==0.5.2
- js-flot ==0.8.3
@@ -1253,7 +1252,7 @@ default-package-overrides:
- log-domain ==0.12
- logfloat ==0.13.3.3
- logger-thread ==0.1.0.2
- - logging-effect ==1.3.7
+ - logging-effect ==1.3.8
- logging-facade ==0.3.0
- logging-facade-syslog ==1
- logict ==0.7.0.2
@@ -1280,7 +1279,7 @@ default-package-overrides:
- markdown-unlit ==0.5.0
- markov-chain ==0.0.3.4
- massiv ==0.4.3.0
- - massiv-io ==0.1.7.0
+ - massiv-io ==0.1.9.0
- massiv-test ==0.1.1
- mathexpr ==0.3.0.0
- math-functions ==0.3.3.0
@@ -1352,7 +1351,7 @@ default-package-overrides:
- monad-logger ==0.3.30
- monad-logger-json ==0.1.0.0
- monad-logger-prefix ==0.1.11
- - monad-logger-syslog ==0.1.4.0
+ - monad-logger-syslog ==0.1.5.0
- monad-loops ==0.4.3
- monad-memo ==0.5.1
- monad-metrics ==0.2.1.4
@@ -1432,7 +1431,7 @@ default-package-overrides:
- network-house ==0.1.0.2
- network-info ==0.2.0.10
- network-ip ==0.3.0.3
- - network-messagepack-rpc ==0.1.1.4
+ - network-messagepack-rpc ==0.1.2.0
- network-multicast ==0.3.2
- network-simple ==0.4.5
- network-simple-tls ==0.3.2
@@ -1448,10 +1447,9 @@ default-package-overrides:
- nonce ==1.0.7
- nondeterminism ==1.4
- non-empty ==0.3.2
- - nonempty-containers ==0.3.2.0
+ - nonempty-containers ==0.3.1.0
- nonemptymap ==0.0.6.0
- - non-empty-sequence ==0.2.0.2
- - nonempty-vector ==0.2.0.1
+ - non-empty-sequence ==0.2.0.4
- non-negative ==0.1.2
- not-gloss ==0.7.7.0
- no-value ==1.0.0.0
@@ -1461,7 +1459,7 @@ default-package-overrides:
- numbers ==3000.2.0.2
- numeric-extras ==0.1
- numeric-prelude ==0.4.3.1
- - numhask ==0.3.0.0
+ - numhask ==0.3.1
- NumInstances ==1.4
- numtype-dk ==0.5.0.2
- nuxeo ==0.3.2
@@ -1495,8 +1493,6 @@ default-package-overrides:
- open-witness ==0.4.0.1
- operational ==0.2.3.5
- operational-class ==0.3.0.0
- - optics-core ==0.2
- - optics-extra ==0.2
- optional-args ==1.0.2
- options ==1.2.1.1
- optparse-applicative ==0.14.3.0
@@ -1548,7 +1544,7 @@ default-package-overrides:
- pcf-font-embed ==0.1.2.0
- pcg-random ==0.1.3.6
- pcre-heavy ==1.0.0.2
- - pcre-light ==0.4.0.4
+ - pcre-light ==0.4.1.0
- pcre-utils ==0.1.8.1.1
- pdfinfo ==1.5.4
- peano ==0.1.0.1
@@ -1651,7 +1647,7 @@ default-package-overrides:
- primitive ==0.6.4.0
- primitive-extras ==0.7.1.1
- prim-uniq ==0.1.0.1
- - probability ==0.2.5.2
+ - probability ==0.2.6
- process-extras ==0.7.4
- product-isomorphic ==0.0.3.3
- product-profunctors ==0.10.0.0
@@ -1909,7 +1905,7 @@ default-package-overrides:
- sexpr-parser ==0.1.1.2
- SHA ==1.6.4.4
- shake-language-c ==0.12.0
- - shakespeare ==2.0.22
+ - shakespeare ==2.0.23
- shared-memory ==0.2.0.0
- shell-conduit ==4.7.0
- shell-escape ==0.2.0
@@ -1953,7 +1949,7 @@ default-package-overrides:
- smallcheck-series ==0.6.1
- smoothie ==0.4.2.9
- snap-blaze ==0.2.1.5
- - snap-core ==1.0.4.0
+ - snap-core ==1.0.4.1
- snap-server ==1.1.1.1
- snowflake ==0.1.1.1
- soap ==0.2.3.6
@@ -2226,7 +2222,7 @@ default-package-overrides:
- type-operators ==0.2.0.0
- typerep-map ==0.3.2
- type-spec ==0.4.0.0
- - tz ==0.1.3.2
+ - tz ==0.1.3.3
- tzdata ==0.1.20190325.0
- ua-parser ==0.7.5.1
- ucam-webauth ==0.1.0.0
@@ -2355,7 +2351,7 @@ default-package-overrides:
- webex-teams-api ==0.2.0.0
- webex-teams-conduit ==0.2.0.0
- webex-teams-pipes ==0.2.0.0
- - web-routes ==0.27.14.2
+ - web-routes ==0.27.14.3
- web-routes-hsp ==0.24.6.1
- web-routes-wai ==0.24.3.1
- webrtc-vad ==0.1.0.3
@@ -2437,7 +2433,7 @@ default-package-overrides:
- yesod-auth ==1.6.8
- yesod-auth-hashdb ==1.7.1.1
- yesod-auth-oauth2 ==0.6.1.2
- - yesod-bin ==1.6.0.3
+ - yesod-bin ==1.6.0.4
- yesod-core ==1.6.16.1
- yesod-csp ==0.2.5.0
- yesod-eventsource ==1.6.0
@@ -2452,7 +2448,7 @@ default-package-overrides:
- yesod-recaptcha2 ==0.3.0
- yesod-sitemap ==1.6.0
- yesod-static ==1.6.0.1
- - yesod-test ==1.6.7
+ - yesod-test ==1.6.8
- yesod-text-markdown ==0.1.10
- yesod-websockets ==0.3.0.2
- yes-precure5-command ==5.5.3
@@ -2548,7 +2544,6 @@ package-maintainers:
- funcmp
- git-annex
- hackage-db
- - haskell-ci
- hledger
- hledger-interest
- hledger-ui
@@ -2594,6 +2589,7 @@ package-maintainers:
cdepillabout:
- pretty-simple
- purescript
+ - spago
- termonad
unsupported-platforms:
@@ -2855,6 +2851,7 @@ broken-packages:
- alerta
- alex-meta
- alex-prelude
+ - alex-tools
- alfred
- alg
- alga
@@ -2937,6 +2934,7 @@ broken-packages:
- apecs-stm
- apelsin
- api-builder
+ - api-rpc-factom
- api-rpc-pegnet
- api-tools
- api-yoti
@@ -2998,6 +2996,7 @@ broken-packages:
- array-chunks
- array-forth
- array-primops
+ - arrayfire
- arraylist
- ArrayRef
- arrow-improve
@@ -3264,6 +3263,7 @@ broken-packages:
- biofasta
- biofastq
- biohazard
+ - BioHMM
- bioinformatics-toolkit
- biophd
- biopsl
@@ -3273,6 +3273,7 @@ broken-packages:
- bird
- BirdPP
- bisect-binary
+ - bishbosh
- bit-array
- bit-stream
- bitcoin-hs
@@ -3388,6 +3389,7 @@ broken-packages:
- buffer
- buffer-builder-aeson
- BufferedSocket
+ - buffet
- buffon
- bugzilla
- build
@@ -3446,11 +3448,13 @@ broken-packages:
- cabal-ghc-dynflags
- cabal-ghci
- cabal-graphdeps
+ - cabal-helper
- Cabal-ide-backend
- cabal-info
- cabal-install-bundle
- cabal-install-ghc72
- cabal-install-ghc74
+ - cabal-install-parsers
- cabal-meta
- cabal-mon
- cabal-nirvana
@@ -3492,7 +3496,9 @@ broken-packages:
- calculator
- caldims
- caledon
+ - calenderweek
- call
+ - call-alloy
- call-haskell-from-anything
- camfort
- campfire
@@ -3685,6 +3691,7 @@ broken-packages:
- cloud-haskell
- cloud-seeder
- cloudfront-signer
+ - cloudi
- clr-inline
- clua
- cluss
@@ -3713,6 +3720,8 @@ broken-packages:
- co-log-sys
- Coadjute
- coalpit
+ - cobot-io
+ - cobot-tools
- code-builder
- codec-beam
- codec-libevent
@@ -3764,6 +3773,7 @@ broken-packages:
- compact-socket
- compact-string
- compact-string-fix
+ - compact-word-vectors
- Compactable
- compdata-dags
- competition
@@ -3827,6 +3837,7 @@ broken-packages:
- conkin
- conlogger
- connection-string
+ - connections
- Conscript
- consistent
- const-math-ghc-plugin
@@ -4177,6 +4188,7 @@ broken-packages:
- dgim
- dgs
- dhall-check
+ - dhall-fly
- dhall-lsp-server
- dhall-nix
- dhall-to-cabal
@@ -4355,6 +4367,7 @@ broken-packages:
- dtd-text
- dtw
- dual
+ - duet
- Dung
- duplo
- Dust
@@ -4430,6 +4443,7 @@ broken-packages:
- email
- email-header
- email-postmark
+ - email-validator
- emailparse
- embeddock
- embeddock-example
@@ -4542,6 +4556,7 @@ broken-packages:
- exif
- exinst-deepseq
- exinst-hashable
+ - exist-instances
- exists
- exitcode
- expand
@@ -4571,6 +4586,7 @@ broken-packages:
- f-ree-hack-cheats-free-v-bucks-generator
- Facebook-Password-Hacker-Online-Latest-Version
- faceted
+ - factory
- Facts
- factual-api
- fadno
@@ -4665,6 +4681,7 @@ broken-packages:
- FilePather
- filepather
- Files
+ - filestore
- FileSystem
- filesystem-conduit
- filesystem-enumerator
@@ -4687,6 +4704,7 @@ broken-packages:
- first-and-last
- firstify
- FirstOrderTheory
+ - fishfood
- fit
- fits-parse
- fitsio
@@ -4757,6 +4775,7 @@ broken-packages:
- Forestry
- forger
- ForkableT
+ - forma
- formal
- FormalGrammars
- format
@@ -4862,6 +4881,10 @@ broken-packages:
- funnyprint
- funpat
- funsat
+ - fused-effects-exceptions
+ - fused-effects-lens
+ - fused-effects-random
+ - fused-effects-resumable
- fusion
- futhark
- futun
@@ -4875,6 +4898,7 @@ broken-packages:
- g2q
- g4ip
- gact
+ - galois-fft
- game-probability
- gameclock
- gamgee
@@ -4957,6 +4981,7 @@ broken-packages:
- getflag
- GGg
- ggtsTC
+ - gh-labeler
- ghc-core-smallstep
- ghc-datasize
- ghc-dump-tree
@@ -5289,7 +5314,6 @@ broken-packages:
- hakyll-dir-list
- hakyll-favicon
- hakyll-filestore
- - hakyll-images
- hakyll-ogmarkup
- hakyll-R
- hakyll-sass
@@ -5412,6 +5436,7 @@ broken-packages:
- haskell-bitmex-client
- haskell-bitmex-rest
- haskell-brainfuck
+ - haskell-ci
- haskell-cnc
- haskell-coffee
- haskell-compression
@@ -5505,6 +5530,7 @@ broken-packages:
- haskmon
- haskoin
- haskoin-bitcoind
+ - haskoin-core
- haskoin-crypto
- haskoin-node
- haskoin-protocol
@@ -5634,6 +5660,7 @@ broken-packages:
- hedgehog-classes
- hedgehog-gen-json
- hedgehog-generic
+ - hedgehog-golden
- Hedi
- hedis-config
- hedis-pile
@@ -5889,6 +5916,7 @@ broken-packages:
- hoovie
- hopencc
- hopencl
+ - hOpenPGP
- hopenpgp-tools
- hopfield
- hoppy-docs
@@ -5946,6 +5974,9 @@ broken-packages:
- hR
- hranker
- HRay
+ - hreq-client
+ - hreq-conduit
+ - hreq-core
- Hricket
- hricket
- hriemann
@@ -6167,6 +6198,7 @@ broken-packages:
- http-streams
- http-wget
- http2-client-grpc
+ - http2-grpc-proto3-wire
- https-everywhere-rules
- https-everywhere-rules-raw
- httpspec
@@ -6561,6 +6593,7 @@ broken-packages:
- JYU-Utils
- kademlia
- kafka-client
+ - kafka-client-sync
- kaleidoscope
- Kalman
- kalman
@@ -7066,6 +7099,9 @@ broken-packages:
- marxup
- masakazu-bot
- MASMGen
+ - massiv
+ - massiv-io
+ - massiv-test
- master-plan
- matchable-th
- matchers
@@ -7208,6 +7244,7 @@ broken-packages:
- mm2
- mmsyn2
- mmsyn4
+ - mmsyn6ukr
- mmtf
- mmtl
- mmtl-base
@@ -7293,6 +7330,7 @@ broken-packages:
- monoids
- monopati
- monte-carlo
+ - months
- monzo
- moo
- moonshine
@@ -7301,11 +7339,14 @@ broken-packages:
- morley
- morley-prelude
- morph
+ - morpheus-graphql-cli
- morphisms-functors
- morphisms-functors-inventory
- morphisms-objects
- morte
- mosaico-lib
+ - moto
+ - moto-postgresql
- mount
- movie-monad
- mp
@@ -7524,6 +7565,7 @@ broken-packages:
- nirum
- nitro
- nixfromnpm
+ - nixpkgs-update
- nkjp
- nlp-scores
- nlp-scores-scripts
@@ -7549,6 +7591,7 @@ broken-packages:
- NoSlow
- not-gloss-examples
- notcpp
+ - notifications-tray-icon
- notmuch-haskell
- notmuch-web
- now-haskell
@@ -7574,6 +7617,7 @@ broken-packages:
- numhask-histogram
- numhask-prelude
- numhask-range
+ - numhask-space
- numhask-test
- Nussinov78
- Nutri
@@ -7679,6 +7723,7 @@ broken-packages:
- orgstat
- origami
- orizentic
+ - ormolu
- OrPatterns
- osc
- oscpacking
@@ -7714,12 +7759,13 @@ broken-packages:
- pairing
- pam
- panda
+ - pandoc-citeproc-preamble
+ - pandoc-crossref
- pandoc-include
- pandoc-include-code
- pandoc-japanese-filters
- pandoc-lens
- pandoc-markdown-ghci-filter
- - pandoc-placetable
- pandoc-plantuml-diagrams
- pandoc-pyplot
- pandoc-unlit
@@ -7885,6 +7931,7 @@ broken-packages:
- piet
- pig
- pinchot
+ - pine
- ping
- pinpon
- Pipe
@@ -7959,6 +8006,7 @@ broken-packages:
- pocket-dns
- point-octree
- pointfree-fancy
+ - pointful
- pointless-lenses
- pointless-rewrite
- pokemon-go-protobuf-types
@@ -8092,6 +8140,7 @@ broken-packages:
- product
- prof2dot
- prof2pretty
+ - profunctor-optics
- progress
- progress-meter
- progressbar
@@ -8115,6 +8164,7 @@ broken-packages:
- proteome
- proto-lens-combinators
- proto-lens-descriptors
+ - proto-lens-jsonpb
- proto3-suite
- protobuf-native
- protocol-buffers-descriptor-fork
@@ -8226,6 +8276,7 @@ broken-packages:
- quiver-instances
- quiver-interleave
- quiver-sort
+ - quokka
- quoridor-hs
- qux
- R-pandoc
@@ -8357,6 +8408,7 @@ broken-packages:
- reformat
- refresht
- refurb
+ - reg-alloc
- regex-deriv
- regex-dfa
- regex-generator
@@ -8484,6 +8536,7 @@ broken-packages:
- riff
- ring-buffer
- ring-buffers
+ - rings
- riot
- risc386
- riscv-isa
@@ -8620,6 +8673,7 @@ broken-packages:
- scenegraph
- schedevr
- schedule-planner
+ - scheduler
- schedyield
- schemas
- schematic
@@ -8896,6 +8950,7 @@ broken-packages:
- singleton-dict
- singleton-typelits
- singnal
+ - singular-factory
- sink
- siphon
- siren-json
@@ -9044,6 +9099,7 @@ broken-packages:
- sorted
- sorting
- sorty
+ - souffle-haskell
- sound-collage
- sounddelay
- soundgen
@@ -9114,6 +9170,7 @@ broken-packages:
- sqlvalue-list
- sqsd-local
- squeal-postgresql
+ - squeeze
- sr-extra
- srcinst
- sscan
@@ -9124,6 +9181,7 @@ broken-packages:
- sssp
- sstable
- SSTG
+ - st2
- stable-heap
- stable-maps
- stable-marriage
@@ -9382,6 +9440,7 @@ broken-packages:
- tasty-laws
- tasty-lens
- tasty-stats
+ - tasty-tap
- Taxonomy
- TaxonomyTools
- TBC
@@ -9696,6 +9755,7 @@ broken-packages:
- twilio
- twill
- twine
+ - twirp
- twitter
- twitter-conduit
- twitter-enumerator
@@ -10059,6 +10119,7 @@ broken-packages:
- websockets-simple
- websockets-simple-extra
- webwire
+ - weekdaze
- weighted
- weighted-regexp
- welshy
@@ -10230,6 +10291,7 @@ broken-packages:
- yam-servant
- yam-transaction-odbc
- yam-web
+ - yaml-combinators
- yaml-pretty-extras
- yaml-rpc
- yaml-rpc-scotty
diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix
index dbdad1ddf1d0df8213850e4ee548a8449f17e3c3..b31ed9af71b6d8d4d14d976755171fee0718c423 100644
--- a/pkgs/development/haskell-modules/configuration-nix.nix
+++ b/pkgs/development/haskell-modules/configuration-nix.nix
@@ -259,7 +259,7 @@ self: super: builtins.intersectAttrs super {
wxcore = super.wxcore.override { wxGTK = pkgs.wxGTK30; };
# Test suite wants to connect to $DISPLAY.
- hsqml = dontCheck (addExtraLibrary (super.hsqml.override { qt5 = pkgs.qt5Full; }) pkgs.libGLU_combined);
+ hsqml = dontCheck (addExtraLibraries (super.hsqml.override { qt5 = pkgs.qt5Full; }) [pkgs.libGLU pkgs.libGL]);
# Tests attempt to use NPM to install from the network into
# /homeless-shelter. Disabled.
@@ -636,4 +636,60 @@ self: super: builtins.intersectAttrs super {
# need it during the build itself, too.
cairo = addBuildTool super.cairo self.buildHaskellPackages.gtk2hs-buildtools;
pango = disableHardening (addBuildTool super.pango self.buildHaskellPackages.gtk2hs-buildtools) ["fortify"];
+
+ spago =
+ let
+ # Spago basically compiles with LTS-14, but it requires a newer version
+ # of directory. This is to work around a bug only present on windows, so
+ # we can safely jailbreak spago and use the older directory package from
+ # LTS-14.
+ spagoWithOverrides = doJailbreak (super.spago.override {
+ # spago requires the latest version of dhall.
+ directory = self.dhall_1_27_0;
+ });
+
+ docsSearchAppJsFile = pkgs.fetchurl {
+ url = "https://github.com/spacchetti/purescript-docs-search/releases/download/v0.0.5/docs-search-app.js";
+ sha256 = "11721x455qzh40vzfmralaynn9v8b5wix86r107hhs08vhryjib2";
+ };
+
+ purescriptDocsSearchFile = pkgs.fetchurl {
+ url = "https://github.com/spacchetti/purescript-docs-search/releases/download/v0.0.5/purescript-docs-search";
+ sha256 = "16p1fmdvpwz1yswav8qjsd26c9airb22xncqw1rjnbd8lcpqx0p5";
+ };
+
+ spagoFixHpack = overrideCabal spagoWithOverrides (drv: {
+ postUnpack = (drv.postUnpack or "") + ''
+ # The source for spago is pulled directly from GitHub. It uses a
+ # package.yaml file with hpack, not a .cabal file. In the package.yaml file,
+ # it uses defaults from the master branch of the hspec repo. It will try to
+ # fetch these at build-time (but it will fail if running in the sandbox).
+ #
+ # The following line modifies the package.yaml to not pull in
+ # defaults from the hspec repo.
+ substituteInPlace "$sourceRoot/package.yaml" --replace 'defaults: hspec/hspec@master' ""
+
+ # Spago includes the following two files directly into the binary
+ # with Template Haskell. They are fetched at build-time from the
+ # `purescript-docs-search` repo above. If they cannot be fetched at
+ # build-time, they are pulled in from the `templates/` directory in
+ # the spago source.
+ #
+ # However, they are not actually available in the spago source, so they
+ # need to fetched with nix and put in the correct place.
+ # https://github.com/spacchetti/spago/issues/510
+ cp ${docsSearchAppJsFile} "$sourceRoot/templates/docs-search-app.js"
+ cp ${purescriptDocsSearchFile} "$sourceRoot/templates/purescript-docs-search"
+ '';
+ });
+
+ # Haddock generation is broken for spago.
+ # https://github.com/spacchetti/spago/issues/511
+ spagoWithoutHaddocks = dontHaddock spagoFixHpack;
+
+ # Because of the problem above with pulling in hspec defaults to the
+ # package.yaml file, the tests are disabled.
+ spagoWithoutChecks = dontCheck spagoWithoutHaddocks;
+ in
+ spagoWithoutChecks;
}
diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix
index 0e66938e67d6acf438e1e59f914ece9becbeec41..c343821f2d962daba7ffb471240ad22934ca964e 100644
--- a/pkgs/development/haskell-modules/hackage-packages.nix
+++ b/pkgs/development/haskell-modules/hackage-packages.nix
@@ -1438,7 +1438,7 @@ self: {
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {inherit (pkgs) db; inherit (pkgs) dbxml;
+ }) {inherit (pkgs) db; inherit (pkgs) dbxml;
inherit (pkgs) xercesc; inherit (pkgs) xqilla;};
"BerlekampAlgorithm" = callPackage
@@ -1509,6 +1509,8 @@ self: {
];
description = "Libary for Hidden Markov Models in HMMER3 format";
license = stdenv.lib.licenses.gpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"Biobase" = callPackage
@@ -1668,8 +1670,8 @@ self: {
}:
mkDerivation {
pname = "BiobaseHTTP";
- version = "1.1.0";
- sha256 = "0y26d4aqxqpdr142y26p70v6cnrr48dhxm5nnnhqxg0lsirbxad0";
+ version = "1.2.0";
+ sha256 = "1m6lfs08zyk2xcxcmapcdfqp7afmzz3n2r3rr3qzlibwc6w7pj1d";
libraryHaskellDepends = [
aeson base BiobaseEnsembl bytestring conduit either-unwrap HTTP
http-conduit hxt mtl network Taxonomy text transformers
@@ -2629,10 +2631,10 @@ self: {
license = "GPL";
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {opencv_calib3d = null; opencv_contrib = null;
- opencv_core = null; opencv_features2d = null; opencv_flann = null;
- opencv_gpu = null; opencv_highgui = null; opencv_imgproc = null;
- opencv_legacy = null; opencv_ml = null; opencv_objdetect = null;
+ }) {opencv_calib3d = null; opencv_contrib = null;
+ opencv_core = null; opencv_features2d = null; opencv_flann = null;
+ opencv_gpu = null; opencv_highgui = null; opencv_imgproc = null;
+ opencv_legacy = null; opencv_ml = null; opencv_objdetect = null;
opencv_video = null;};
"Cabal_2_2_0_1" = callPackage
@@ -6464,7 +6466,7 @@ self: {
librarySystemDepends = [ libGL libX11 libXext libXfixes ];
description = "A Haskell binding for GLFW";
license = stdenv.lib.licenses.bsd3;
- }) {inherit (pkgs) libGL; inherit (pkgs.xorg) libX11;
+ }) {inherit (pkgs) libGL; inherit (pkgs.xorg) libX11;
inherit (pkgs.xorg) libXext; inherit (pkgs.xorg) libXfixes;};
"GLFW-OGL" = callPackage
@@ -7827,7 +7829,7 @@ self: {
license = "LGPL";
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {mysqlclient = null; inherit (pkgs) openssl;
+ }) {mysqlclient = null; inherit (pkgs) openssl;
inherit (pkgs) zlib;};
"HDBC-odbc" = callPackage
@@ -8027,12 +8029,12 @@ self: {
}) {};
"HGL" = callPackage
- ({ mkDerivation, array, base, X11 }:
+ ({ mkDerivation, array, base, stm, X11 }:
mkDerivation {
pname = "HGL";
- version = "3.2.3.1";
- sha256 = "0m9y2sdlbmw0n4xad26viajr391w0clpqw1256lanidwkrxfwpfh";
- libraryHaskellDepends = [ array base X11 ];
+ version = "3.2.3.2";
+ sha256 = "087k8i0bha3mzpqa3z3c6npl5vmccg7xcwl28lbv0yzbvj1qkg38";
+ libraryHaskellDepends = [ array base stm X11 ];
description = "A simple graphics library based on X11 or Win32";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -8131,7 +8133,7 @@ self: {
description = "A Toolset for the Haskell Game Programmer - CEGUI Bindings";
license = "unknown";
hydraPlatforms = stdenv.lib.platforms.none;
- }) {CEGUIBase = null; CEGUIOgreRenderer = null;
+ }) {CEGUIBase = null; CEGUIOgreRenderer = null;
hg3dcegui050 = null;};
"HGamer3D-Common" = callPackage
@@ -8283,8 +8285,8 @@ self: {
description = "Ogre Binding for HGamer3D";
license = "unknown";
hydraPlatforms = stdenv.lib.platforms.none;
- }) {OgreMain = null; OgrePaging = null; OgreProperty = null;
- OgreRTShaderSystem = null; OgreTerrain = null;
+ }) {OgreMain = null; OgrePaging = null; OgreProperty = null;
+ OgreRTShaderSystem = null; OgreTerrain = null;
hg3dogre050 = null;};
"HGamer3D-SDL2-Binding" = callPackage
@@ -8302,7 +8304,7 @@ self: {
description = "SDL2 Binding for HGamer3D";
license = "unknown";
hydraPlatforms = stdenv.lib.platforms.none;
- }) {inherit (pkgs) SDL2; hg3dsdl2050 = null;
+ }) {inherit (pkgs) SDL2; hg3dsdl2050 = null;
inherit (pkgs.xorg) libX11;};
"HGamer3D-SFML-Binding" = callPackage
@@ -8320,7 +8322,7 @@ self: {
description = "SFML Binding for HGamer3D";
license = "unknown";
hydraPlatforms = stdenv.lib.platforms.none;
- }) {hg3dsfml050 = null; sfml-audio = null; sfml-network = null;
+ }) {hg3dsfml050 = null; sfml-audio = null; sfml-network = null;
sfml-system = null; sfml-window = null;};
"HGamer3D-WinEvent" = callPackage
@@ -9229,6 +9231,42 @@ self: {
license = stdenv.lib.licenses.lgpl21;
}) {};
+ "HTF_0_14_0_1" = callPackage
+ ({ mkDerivation, aeson, aeson-pretty, array, base
+ , base64-bytestring, bytestring, Cabal, containers, cpphs, Diff
+ , directory, filepath, haskell-src, HUnit, lifted-base
+ , monad-control, mtl, old-time, pretty, process, QuickCheck, random
+ , regex-compat, template-haskell, temporary, text, time, unix
+ , unordered-containers, vector, xmlgen
+ }:
+ mkDerivation {
+ pname = "HTF";
+ version = "0.14.0.1";
+ sha256 = "025gcc77j547713bxm8y2i7xmq95nc4imyym6agmfrd7bh8h1jdb";
+ isLibrary = true;
+ isExecutable = true;
+ setupHaskellDepends = [ base Cabal process ];
+ libraryHaskellDepends = [
+ aeson array base base64-bytestring bytestring containers cpphs Diff
+ directory haskell-src HUnit lifted-base monad-control mtl old-time
+ pretty process QuickCheck random regex-compat text time unix vector
+ xmlgen
+ ];
+ libraryToolDepends = [ cpphs ];
+ executableHaskellDepends = [
+ array base cpphs directory HUnit mtl old-time random text
+ ];
+ executableToolDepends = [ cpphs ];
+ testHaskellDepends = [
+ aeson aeson-pretty base bytestring directory filepath HUnit mtl
+ process random regex-compat template-haskell temporary text
+ unordered-containers
+ ];
+ description = "The Haskell Test Framework";
+ license = stdenv.lib.licenses.lgpl21;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"HTTP" = callPackage
({ mkDerivation, array, base, bytestring, deepseq, httpd-shed
, HUnit, mtl, network, network-uri, parsec, pureMD5, split
@@ -12458,6 +12496,28 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "ListLike_4_6_3" = callPackage
+ ({ mkDerivation, array, base, bytestring, containers, deepseq
+ , dlist, fmlist, HUnit, QuickCheck, random, text, utf8-string
+ , vector
+ }:
+ mkDerivation {
+ pname = "ListLike";
+ version = "4.6.3";
+ sha256 = "10vn7gslx4zzjq547cwpzdfb4c5w3nsfis6qr03dr9c4fdzj61lx";
+ libraryHaskellDepends = [
+ array base bytestring containers deepseq dlist fmlist text
+ utf8-string vector
+ ];
+ testHaskellDepends = [
+ array base bytestring containers dlist fmlist HUnit QuickCheck
+ random text utf8-string vector
+ ];
+ description = "Generalized support for list-like structures";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"ListT" = callPackage
({ mkDerivation, base, smallcheck, tasty, tasty-smallcheck
, transformers, util
@@ -12887,8 +12947,8 @@ self: {
}:
mkDerivation {
pname = "Map";
- version = "0.1.3.0";
- sha256 = "06i3lw329mvx7is5kb8hl2dz9dd0r8qh5g674ld006kbbk7p3jay";
+ version = "0.1.3.1";
+ sha256 = "1a5pygjxk839lxx6pavq72fl35sk53zq10q1ivsm309xrvq93pki";
libraryHaskellDepends = [
base containers either-both filtrable util
];
@@ -14495,8 +14555,8 @@ self: {
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {comctl32 = null; comdlg32 = null; gdi32 = null;
- kernel32 = null; ole32 = null; shell32 = null; user32 = null;
+ }) {comctl32 = null; comdlg32 = null; gdi32 = null;
+ kernel32 = null; ole32 = null; shell32 = null; user32 = null;
winmm = null; winspool = null;};
"ObjectName" = callPackage
@@ -17109,9 +17169,9 @@ self: {
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {csfml-audio = null; csfml-graphics = null;
- csfml-network = null; csfml-system = null; csfml-window = null;
- sfml-audio = null; sfml-graphics = null; sfml-network = null;
+ }) {csfml-audio = null; csfml-graphics = null;
+ csfml-network = null; csfml-system = null; csfml-window = null;
+ sfml-audio = null; sfml-graphics = null; sfml-network = null;
sfml-system = null; sfml-window = null;};
"SFML-control" = callPackage
@@ -18549,8 +18609,8 @@ self: {
}:
mkDerivation {
pname = "StockholmAlignment";
- version = "1.1.2";
- sha256 = "1x41m0xcmz9j4gypbl4pi6a6v53j6v37ndl8g5rq60fqfl18hizb";
+ version = "1.2.0";
+ sha256 = "0zz437d771cb4zpjzcddjl8xvz9qxmj1pyxql70lqczvqrk6k78y";
libraryHaskellDepends = [
base colour diagrams-cairo diagrams-lib directory either-unwrap
filepath parsec ParsecTools SVGFonts text vector
@@ -19050,8 +19110,8 @@ self: {
}:
mkDerivation {
pname = "Taxonomy";
- version = "1.0.3";
- sha256 = "0w4j1v2l7c8a8x0rpvq1gxbvjcw83kj84m5bw6bwx3x6gc997xxn";
+ version = "2.0.0";
+ sha256 = "1b2x0lkg5pgjk1jyanbi8g9rs1sr7llihyjhdfsg6fajklrzh3m9";
libraryHaskellDepends = [
aeson base bytestring either-unwrap fgl graphviz parsec text vector
];
@@ -20652,10 +20712,8 @@ self: {
({ mkDerivation, base, bytestring, deepseq, text, text-short }:
mkDerivation {
pname = "X";
- version = "0.3.0.0";
- sha256 = "0grjiznl8j44mq3m0jkhm9z7wcr4cywrnfmk92nk3g6ddhcyakkc";
- revision = "1";
- editedCabalFile = "1nbp0zci2sp07cr5j5xlh7gswcnj52z9dp6akh9xk4mzk3salxwq";
+ version = "0.3.1.0";
+ sha256 = "10paczbaiwag50v8ay9pl0f6whqds6y0yy14z0h8s6j04p9zd50f";
libraryHaskellDepends = [
base bytestring deepseq text text-short
];
@@ -20677,8 +20735,8 @@ self: {
];
description = "A binding to the X11 graphics library";
license = stdenv.lib.licenses.bsd3;
- }) {inherit (pkgs.xorg) libX11; inherit (pkgs.xorg) libXScrnSaver;
- inherit (pkgs.xorg) libXext; inherit (pkgs.xorg) libXinerama;
+ }) {inherit (pkgs.xorg) libX11; inherit (pkgs.xorg) libXScrnSaver;
+ inherit (pkgs.xorg) libXext; inherit (pkgs.xorg) libXinerama;
inherit (pkgs.xorg) libXrandr; inherit (pkgs.xorg) libXrender;};
"X11-extras" = callPackage
@@ -22652,8 +22710,8 @@ self: {
({ mkDerivation, base, criterion, time }:
mkDerivation {
pname = "acme-year";
- version = "2016";
- sha256 = "1zvhy62hrc47idl1awbdjzrhbhqjplsfy7lpybvdhc298criygdl";
+ version = "2019";
+ sha256 = "011vpap3j0riw6y23j8c4h7610yhjq00jpcfjg2g7lagb62gmkpa";
libraryHaskellDepends = [ base ];
testHaskellDepends = [ base time ];
benchmarkHaskellDepends = [ base criterion ];
@@ -23109,20 +23167,21 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "advent-of-code-api_0_2_2_0" = callPackage
+ "advent-of-code-api_0_2_4_2" = callPackage
({ mkDerivation, aeson, base, bytestring, containers, deepseq
, directory, filepath, finite-typelits, http-api-data, http-client
- , http-client-tls, http-media, HUnit, megaparsec, mtl, servant
- , servant-client, servant-client-core, stm, tagsoup, text, time
+ , http-client-tls, http-media, HUnit, megaparsec, mtl, profunctors
+ , servant, servant-client, servant-client-core, stm, tagsoup, text
+ , time
}:
mkDerivation {
pname = "advent-of-code-api";
- version = "0.2.2.0";
- sha256 = "1r06kb8l6h4hm4r1f7prch3px0zigdcp8vrzi1x0qw6g1wj4zii0";
+ version = "0.2.4.2";
+ sha256 = "01mw95ygb20bg6fs9bda1fr7z05h2sinmycpvi0ccid5qci57fa3";
libraryHaskellDepends = [
aeson base bytestring containers deepseq directory filepath
finite-typelits http-api-data http-client http-client-tls
- http-media megaparsec mtl servant servant-client
+ http-media megaparsec mtl profunctors servant servant-client
servant-client-core stm tagsoup text time
];
testHaskellDepends = [ base directory filepath HUnit text ];
@@ -23205,38 +23264,6 @@ self: {
}) {};
"aeson" = callPackage
- ({ mkDerivation, attoparsec, base, base-compat, base-orphans
- , base16-bytestring, bytestring, containers, deepseq, Diff
- , directory, dlist, filepath, generic-deriving, ghc-prim, hashable
- , hashable-time, integer-logarithms, primitive, QuickCheck
- , quickcheck-instances, scientific, tagged, tasty, tasty-golden
- , tasty-hunit, tasty-quickcheck, template-haskell, text
- , th-abstraction, time, time-compat, unordered-containers
- , uuid-types, vector
- }:
- mkDerivation {
- pname = "aeson";
- version = "1.4.5.0";
- sha256 = "1jhabz1lbbv6yqxqiybifi86cb5xlsadrn368n5dd0wzzc7ja4iz";
- libraryHaskellDepends = [
- attoparsec base base-compat bytestring containers deepseq dlist
- ghc-prim hashable primitive scientific tagged template-haskell text
- th-abstraction time time-compat unordered-containers uuid-types
- vector
- ];
- testHaskellDepends = [
- attoparsec base base-compat base-orphans base16-bytestring
- bytestring containers Diff directory dlist filepath
- generic-deriving ghc-prim hashable hashable-time integer-logarithms
- QuickCheck quickcheck-instances scientific tagged tasty
- tasty-golden tasty-hunit tasty-quickcheck template-haskell text
- time time-compat unordered-containers uuid-types vector
- ];
- description = "Fast JSON parsing and encoding";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "aeson_1_4_6_0" = callPackage
({ mkDerivation, attoparsec, base, base-compat, base-orphans
, base16-bytestring, bytestring, containers, deepseq, Diff
, directory, dlist, filepath, generic-deriving, ghc-prim, hashable
@@ -23266,7 +23293,6 @@ self: {
];
description = "Fast JSON parsing and encoding";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"aeson-applicative" = callPackage
@@ -24811,16 +24837,21 @@ self: {
}) {};
"alex-tools" = callPackage
- ({ mkDerivation, base, deepseq, template-haskell, text }:
+ ({ mkDerivation, base, bytestring, deepseq, template-haskell, text
+ }:
mkDerivation {
pname = "alex-tools";
- version = "0.4";
- sha256 = "0qyh3dr5nh7whv3qh431l8x4lx3nzkildlyl3xgnaxpbs8gr8sgi";
- revision = "2";
- editedCabalFile = "1hz7gdff15bxvx5jijgh6ih1m2v39nadfy2yjsb43c48p9hcn93z";
- libraryHaskellDepends = [ base deepseq template-haskell text ];
+ version = "0.5";
+ sha256 = "06ghkigqabz9h17wjpc3jwv1f4k6fajpzblzvysqzg71pfncx88m";
+ revision = "1";
+ editedCabalFile = "0br92hrl0pxw2a5k9wgzk3zwyz2dimcwwjxijgzrd2yg0s1vnm9p";
+ libraryHaskellDepends = [
+ base bytestring deepseq template-haskell text
+ ];
description = "A set of functions for a common use case of Alex";
license = stdenv.lib.licenses.isc;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"alfred" = callPackage
@@ -25516,6 +25547,22 @@ self: {
broken = true;
}) {};
+ "altsvc" = callPackage
+ ({ mkDerivation, base, bytestring, cereal, tasty, tasty-hunit
+ , tasty-quickcheck
+ }:
+ mkDerivation {
+ pname = "altsvc";
+ version = "0.1.0.0";
+ sha256 = "0lgfj02ryc3130ymrkw179j311df2cj0ry9w32mvd77mwx48396c";
+ libraryHaskellDepends = [ base bytestring cereal ];
+ testHaskellDepends = [
+ base bytestring cereal tasty tasty-hunit tasty-quickcheck
+ ];
+ description = "HTTP Alternative Services";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"alure" = callPackage
({ mkDerivation, alure, base, OpenAL }:
mkDerivation {
@@ -28687,10 +28734,8 @@ self: {
}:
mkDerivation {
pname = "ansi-pretty";
- version = "0.1.2.1";
- sha256 = "1ill2dlzbxn97smkzdqcjfx9z3fw7pgwvz6w36d92n8p7zwik23h";
- revision = "6";
- editedCabalFile = "1j2iyzf61wmwdrb8i3xynins7shjv89y4028sy13rfywsbqpjg4s";
+ version = "0.1.2.2";
+ sha256 = "0q72y2pnx5qx7jk1waq3qdry1azq07wygb9hcgjqz78lbszg19cm";
libraryHaskellDepends = [
aeson ansi-wl-pprint array base bytestring containers generics-sop
nats scientific semigroups tagged text time unordered-containers
@@ -28713,12 +28758,12 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "ansi-terminal_0_10_1" = callPackage
+ "ansi-terminal_0_10_2" = callPackage
({ mkDerivation, base, colour }:
mkDerivation {
pname = "ansi-terminal";
- version = "0.10.1";
- sha256 = "1b168z688b1lg4d2bmbxmm2mj51mwm2wv0smfb1vcwjp2vzpqf9i";
+ version = "0.10.2";
+ sha256 = "0h09lia7gqchp023hbgwq4w8bmg33a02chaixdsx8nqbj8jf5558";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ base colour ];
@@ -28734,8 +28779,8 @@ self: {
}:
mkDerivation {
pname = "ansi-terminal-game";
- version = "0.6.0.0";
- sha256 = "117j5s87pw1cmh9klzcc3jcc3hvynsrwknkqys8lqlhp2xkvha5y";
+ version = "0.7.2.0";
+ sha256 = "041xw7kq620ydnbdawmsdb65021p2534f9725qddv1i0pcwdn274";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -29614,6 +29659,8 @@ self: {
testHaskellDepends = [ base bytestring ];
description = "RPC API client for Factom";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"api-rpc-pegnet" = callPackage
@@ -30589,8 +30636,8 @@ self: {
}:
mkDerivation {
pname = "arbor-monad-metric-datadog";
- version = "1.1.1";
- sha256 = "1188xwwxx7ykdh7v15gqnh0kv9w1g66wp09jp1fpfyms1qj12nqj";
+ version = "1.1.2";
+ sha256 = "1wja13n9k2vad0icqsm8lydrxkgb01062ajm3y1xq7fybn5g6rbx";
libraryHaskellDepends = [
arbor-datadog arbor-monad-metric base bytestring containers
generic-lens lens mtl network resourcet stm text transformers
@@ -31406,6 +31453,8 @@ self: {
testToolDepends = [ hspec-discover ];
description = "Haskell bindings to the ArrayFire general-purpose GPU library";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {af = null;};
"arraylist" = callPackage
@@ -32829,8 +32878,8 @@ self: {
}:
mkDerivation {
pname = "atomic-write";
- version = "0.2.0.6";
- sha256 = "1xs3shwnlj8hmnm3q6jc8nv78z0481i5n4hrqqdmbpx8grvlnqyl";
+ version = "0.2.0.7";
+ sha256 = "03cn3ii74h0w3g4h78xsx9v2sn58r3qsr2dbdwq340xwhiwcgxdm";
libraryHaskellDepends = [
base bytestring directory filepath temporary text unix-compat
];
@@ -32903,8 +32952,8 @@ self: {
}:
mkDerivation {
pname = "ats-format";
- version = "0.2.0.34";
- sha256 = "146l1zlm4jc83v8rs3ci9j53x2gsvpdb2wjx06d4zg1h2ri8064i";
+ version = "0.2.0.35";
+ sha256 = "02lqpvfqmz99k5ywim9badn22y18qqss2q21ibj79l1lljw4sqss";
isLibrary = false;
isExecutable = true;
setupHaskellDepends = [ base Cabal cli-setup filepath ];
@@ -32929,8 +32978,8 @@ self: {
}:
mkDerivation {
pname = "ats-pkg";
- version = "3.3.0.7";
- sha256 = "15xr1g3ivmfnwmbrh2ga75vppyv1qk6zcx556f69jxx1ab492zyq";
+ version = "3.4.0.1";
+ sha256 = "0lfmlsnxa7fvifqay4xvnkl8cpbx7a6vbfb0szvb5j0nfa8607n6";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -33574,21 +33623,18 @@ self: {
"authenticate" = callPackage
({ mkDerivation, aeson, attoparsec, base, blaze-builder, bytestring
- , case-insensitive, conduit, containers, http-conduit, http-types
- , network-uri, resourcet, tagstream-conduit, text, transformers
+ , case-insensitive, conduit, containers, html-conduit, http-conduit
+ , http-types, network-uri, resourcet, text, transformers
, unordered-containers, xml-conduit
}:
mkDerivation {
pname = "authenticate";
- version = "1.3.4";
- sha256 = "1f1gjggfq114h3nrlzg2svm0j5ghp6n9zlgb3fnq2pgpzpdndm9z";
- revision = "1";
- editedCabalFile = "0ipbmf633c0kmcwwb7d51ac8s4220nfyk5xghhq66mpgna77j2c2";
+ version = "1.3.5";
+ sha256 = "10df40ycd4r45p58xzdh0vcsa401909fa99nkgd18fx5alqh84sz";
libraryHaskellDepends = [
aeson attoparsec base blaze-builder bytestring case-insensitive
- conduit containers http-conduit http-types network-uri resourcet
- tagstream-conduit text transformers unordered-containers
- xml-conduit
+ conduit containers html-conduit http-conduit http-types network-uri
+ resourcet text transformers unordered-containers xml-conduit
];
description = "Authentication methods for Haskell web applications";
license = stdenv.lib.licenses.mit;
@@ -34013,7 +34059,7 @@ self: {
license = "unknown";
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {aviation-cessna172-weight-balance = null;
+ }) {aviation-cessna172-weight-balance = null;
aviation-units = null; aviation-weight-balance = null;};
"avl-static" = callPackage
@@ -34587,8 +34633,8 @@ self: {
}:
mkDerivation {
pname = "aws-lambda-haskell-runtime";
- version = "2.0.1";
- sha256 = "0q8x5zqxql403wm9ndii42lac8737i0qhd7p7nsy3i2sswfr5gry";
+ version = "2.0.2";
+ sha256 = "11pkvq3d5w56bsqdha9cfsbqw0rhfda9bh7zipik1b0lc3mk8p0a";
libraryHaskellDepends = [
aeson base bytestring http-client http-types path path-io
safe-exceptions-checked template-haskell text
@@ -36092,8 +36138,8 @@ self: {
pname = "base62";
version = "0.1.0.0";
sha256 = "1ns8hr9xjmrlq5lgi47630gpn8xdglk33ncqw4kjvdrb1x90iz0p";
- revision = "1";
- editedCabalFile = "13n150czdd97hrpjnrkd0wcg7ch9d5zvqlv38n61pjcds6dvvdsy";
+ revision = "2";
+ editedCabalFile = "0i1ipcawbnjf0mjdva4q8s2kw4hd4lfnygmvc81sjxd9crlwy4vm";
libraryHaskellDepends = [
base byteslice natural-arithmetic primitive small-bytearray-builder
wide-word
@@ -37701,6 +37747,29 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "bifunctors_5_5_6" = callPackage
+ ({ mkDerivation, base, base-orphans, comonad, containers, hspec
+ , hspec-discover, QuickCheck, tagged, template-haskell
+ , th-abstraction, transformers, transformers-compat
+ }:
+ mkDerivation {
+ pname = "bifunctors";
+ version = "5.5.6";
+ sha256 = "1jnsnc0rj3vkx8rjwsf2aacla9xzdfy1am9mmjk8crxp2gkazcnc";
+ libraryHaskellDepends = [
+ base base-orphans comonad containers tagged template-haskell
+ th-abstraction transformers
+ ];
+ testHaskellDepends = [
+ base hspec QuickCheck template-haskell transformers
+ transformers-compat
+ ];
+ testToolDepends = [ hspec-discover ];
+ description = "Bifunctors";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"bighugethesaurus" = callPackage
({ mkDerivation, base, HTTP, split }:
mkDerivation {
@@ -37796,7 +37865,7 @@ self: {
license = "LGPL";
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {leksah-dummy = null; leksah-main = null;
+ }) {leksah-dummy = null; leksah-main = null;
leksah-plugin-pane = null;};
"billeksah-pane" = callPackage
@@ -38580,10 +38649,10 @@ self: {
];
description = "Low-level bindings to GLFW OpenGL library";
license = stdenv.lib.licenses.bsd3;
- }) {inherit (pkgs) libGL; inherit (pkgs.xorg) libX11;
- inherit (pkgs.xorg) libXcursor; inherit (pkgs.xorg) libXext;
- inherit (pkgs.xorg) libXfixes; inherit (pkgs.xorg) libXi;
- inherit (pkgs.xorg) libXinerama; inherit (pkgs.xorg) libXrandr;
+ }) {inherit (pkgs) libGL; inherit (pkgs.xorg) libX11;
+ inherit (pkgs.xorg) libXcursor; inherit (pkgs.xorg) libXext;
+ inherit (pkgs.xorg) libXfixes; inherit (pkgs.xorg) libXi;
+ inherit (pkgs.xorg) libXinerama; inherit (pkgs.xorg) libXrandr;
inherit (pkgs.xorg) libXxf86vm;};
"bindings-GLFW_3_3_0_0" = callPackage
@@ -38606,10 +38675,10 @@ self: {
description = "Low-level bindings to GLFW OpenGL library";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
- }) {inherit (pkgs) libGL; inherit (pkgs.xorg) libX11;
- inherit (pkgs.xorg) libXcursor; inherit (pkgs.xorg) libXext;
- inherit (pkgs.xorg) libXfixes; inherit (pkgs.xorg) libXi;
- inherit (pkgs.xorg) libXinerama; inherit (pkgs.xorg) libXrandr;
+ }) {inherit (pkgs) libGL; inherit (pkgs.xorg) libX11;
+ inherit (pkgs.xorg) libXcursor; inherit (pkgs.xorg) libXext;
+ inherit (pkgs.xorg) libXfixes; inherit (pkgs.xorg) libXi;
+ inherit (pkgs.xorg) libXinerama; inherit (pkgs.xorg) libXrandr;
inherit (pkgs.xorg) libXxf86vm;};
"bindings-K8055" = callPackage
@@ -39793,6 +39862,8 @@ self: {
];
description = "Plays chess";
license = "GPL";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"bit-array" = callPackage
@@ -41743,15 +41814,16 @@ self: {
"bond" = callPackage
({ mkDerivation, aeson, aeson-pretty, async, base, bytestring
- , cmdargs, derive, Diff, directory, filepath, HUnit, megaparsec
- , monad-loops, mtl, pretty, process, QuickCheck, scientific
- , shakespeare, tasty, tasty-golden, tasty-hunit, tasty-quickcheck
- , text, unordered-containers
+ , cmdargs, Diff, directory, filepath, HUnit, megaparsec
+ , monad-loops, mtl, pretty, process, QuickCheck
+ , quickcheck-arbitrary-template, scientific, shakespeare, tasty
+ , tasty-golden, tasty-hunit, tasty-quickcheck, text
+ , unordered-containers
}:
mkDerivation {
pname = "bond";
- version = "0.11.0.3";
- sha256 = "1zarrlhcp8q1impikmqsz8mnaxi8l8b4nl02qp8xm6y6gpbyhaqj";
+ version = "0.12.0.1";
+ sha256 = "0zhfhr1ya0ljvg5s0s6fpqyrb0f25qdkschblfcmf68c6xmy4ws0";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -41760,12 +41832,14 @@ self: {
];
executableHaskellDepends = [
aeson async base bytestring cmdargs directory filepath megaparsec
- monad-loops process text
+ monad-loops mtl process scientific shakespeare text
+ unordered-containers
];
testHaskellDepends = [
- aeson aeson-pretty base bytestring cmdargs derive Diff directory
- filepath HUnit megaparsec monad-loops pretty QuickCheck shakespeare
- tasty tasty-golden tasty-hunit tasty-quickcheck text
+ aeson aeson-pretty base bytestring cmdargs Diff directory filepath
+ HUnit megaparsec monad-loops mtl pretty QuickCheck
+ quickcheck-arbitrary-template scientific shakespeare tasty
+ tasty-golden tasty-hunit tasty-quickcheck text unordered-containers
];
description = "Bond schema compiler and code generator";
license = stdenv.lib.licenses.mit;
@@ -42064,8 +42138,8 @@ self: {
({ mkDerivation, base, mtl, semigroups, template-haskell, text }:
mkDerivation {
pname = "boomerang";
- version = "1.4.5.6";
- sha256 = "0zkr9w9qqrcicdm6r928a1z1svspnx6vh0b9mac4q7cd1h021ph3";
+ version = "1.4.5.7";
+ sha256 = "11ycghpgngnw0ks47h3wmp0xdfl3qw1wnwdil1vmr1b5a4gngzi1";
libraryHaskellDepends = [
base mtl semigroups template-haskell text
];
@@ -42732,7 +42806,7 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "brick_0_50" = callPackage
+ "brick_0_50_1" = callPackage
({ mkDerivation, base, bytestring, config-ini, containers
, contravariant, data-clist, deepseq, directory, dlist, filepath
, microlens, microlens-mtl, microlens-th, QuickCheck, stm
@@ -42741,10 +42815,8 @@ self: {
}:
mkDerivation {
pname = "brick";
- version = "0.50";
- sha256 = "0g2c420zpvjv8v3y5l4jhmml279d920k9d92yga8d86jymanbvy9";
- revision = "1";
- editedCabalFile = "0sknkg4fkmxs78ysk76xhrz5mixndazxnmw7ss1j560z8z368ry0";
+ version = "0.50.1";
+ sha256 = "0wv69pbs4xqfdqw9ag32fhqhmh8djxb14h8jpyblmykirlznx77y";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -43007,16 +43079,14 @@ self: {
}) {};
"broadcast-chan" = callPackage
- ({ mkDerivation, async, base, criterion, deepseq, stm
+ ({ mkDerivation, async, base, criterion, deepseq, stm, transformers
, unliftio-core
}:
mkDerivation {
pname = "broadcast-chan";
- version = "0.2.0.2";
- sha256 = "12ax37y9i3cs8wifz01lpq0awm9c235l5xkybf13ywvyk5svb0jv";
- revision = "1";
- editedCabalFile = "1sgifhdf9l8zkc0dddnkfy8f1bkry061vm67iich489fi8nlhfjn";
- libraryHaskellDepends = [ base unliftio-core ];
+ version = "0.2.1";
+ sha256 = "1pigxkncv71p51qnhxkag6hry14jp5s2skmxxbq2pmlrkj9j6rgs";
+ libraryHaskellDepends = [ base transformers unliftio-core ];
benchmarkHaskellDepends = [ async base criterion deepseq stm ];
description = "Closable, fair, single-wakeup channel type that avoids 0 reader space leaks";
license = stdenv.lib.licenses.bsd3;
@@ -43028,8 +43098,8 @@ self: {
}:
mkDerivation {
pname = "broadcast-chan-conduit";
- version = "0.2.0.2";
- sha256 = "1xnf1ibgnzi4xbmfgrkkfg3pkig7v8vv0xpfhhcdmnybwm2yhlli";
+ version = "0.2.1";
+ sha256 = "1n9hqmdyw3v58kv8czbvvw5sfy4il3izqvn6rk8gak84hb51brxq";
libraryHaskellDepends = [
base broadcast-chan conduit resourcet transformers unliftio-core
];
@@ -43048,8 +43118,8 @@ self: {
}:
mkDerivation {
pname = "broadcast-chan-pipes";
- version = "0.2.0.2";
- sha256 = "1brr0vjrsd53qji8pmns003m3k1s28hvr2w8875hv2fznmm8x1g7";
+ version = "0.2.1";
+ sha256 = "0yifpd97cihagflmh0xs0wcl541k89hick4h9hh8zrah72g71fqr";
libraryHaskellDepends = [ base broadcast-chan pipes pipes-safe ];
testHaskellDepends = [
base broadcast-chan-tests containers foldl pipes pipes-safe
@@ -43068,10 +43138,8 @@ self: {
}:
mkDerivation {
pname = "broadcast-chan-tests";
- version = "0.2.0.2";
- sha256 = "1m7m06pd9vfvz0rfnylpr6pjvizxv31qizri3a400rkz3zanhkym";
- revision = "2";
- editedCabalFile = "0mfld36ppfyhx2w9a99gxa8qxnik0mnznl7bvqhbbaf1ayinhx91";
+ version = "0.2.1";
+ sha256 = "01vlhxxwhkakllffw7vdqr7fcsf9m7rkwkbs8x6d5dfwb5qxs6gk";
libraryHaskellDepends = [
async base broadcast-chan clock containers optparse-applicative
paramtree stm tagged tasty tasty-golden tasty-hunit tasty-travis
@@ -43273,8 +43341,8 @@ self: {
pname = "bsb-http-chunked";
version = "0.0.0.4";
sha256 = "0z0f18yc6zlwh29c6175ivfcin325lvi4irpvv0n3cmq7vi0k0ql";
- revision = "1";
- editedCabalFile = "07k9422yaw7rz66awmc20ni17xw2bd1pn48ja79c66d5va89f6wz";
+ revision = "2";
+ editedCabalFile = "0bz62lxdbnwkfr1d4ngm8xi4y1ndpdflbv71s6h43vp5lbd546hr";
libraryHaskellDepends = [ base bytestring ];
testHaskellDepends = [
attoparsec base blaze-builder bytestring doctest hedgehog tasty
@@ -43589,6 +43657,35 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "buffet" = callPackage
+ ({ mkDerivation, aeson, aeson-pretty, base, bytestring, cassava
+ , containers, directory, filepath, language-docker, mustache
+ , optparse-applicative, parsec, random, split, tasty, tasty-hunit
+ , text, typed-process, unordered-containers, vector, yaml
+ }:
+ mkDerivation {
+ pname = "buffet";
+ version = "0.2.0";
+ sha256 = "1zmsgsxdl7mr6h9m7g9n7qb2w86s6xr379psr947fba4vkydzi0n";
+ isLibrary = false;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ aeson aeson-pretty base bytestring cassava containers directory
+ filepath language-docker mustache optparse-applicative parsec
+ random split text typed-process unordered-containers vector yaml
+ ];
+ executableHaskellDepends = [ base ];
+ testHaskellDepends = [
+ aeson base bytestring directory filepath tasty tasty-hunit text
+ typed-process unordered-containers vector yaml
+ ];
+ doHaddock = false;
+ description = "Assembles many Dockerfiles in one";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"buffon" = callPackage
({ mkDerivation, base, monad-primitive, mwc-random
, mwc-random-monad, primitive, transformers
@@ -43885,8 +43982,8 @@ self: {
}:
mkDerivation {
pname = "bulmex";
- version = "2.1.0";
- sha256 = "0awdbwh9s5wdj05fnkzr7dpp2riipv9rlvknrcxf4dpxp9c72n1g";
+ version = "4.0.0";
+ sha256 = "0892prpi8hf8mkwr6n9228bfyji0wgdz9hyh619k20f6xim13ysc";
libraryHaskellDepends = [
aeson base bytestring containers generic-lens jsaddle jsaddle-dom
keycode lens network-uri reflex reflex-dom-core reflex-dom-helpers
@@ -44396,6 +44493,8 @@ self: {
pname = "bytesmith";
version = "0.3.1.0";
sha256 = "1wkwxb9ygc6hii90jr7cjbv4s5d0l4wv0197p9jn4lj7h4i79iqd";
+ revision = "1";
+ editedCabalFile = "13maddwkl9ajczvnrsnsa9f7w20fzq8il09xh9lqhwyrz9yak4ii";
libraryHaskellDepends = [
base byteslice bytestring contiguous primitive run-st text-short
wide-word
@@ -44848,6 +44947,8 @@ self: {
pname = "bytestring-trie";
version = "0.2.5.0";
sha256 = "1jpynpyarikxhlc4ifdswvkj0ph9fd5d0vcxhjv0lrv0zwqvv488";
+ revision = "1";
+ editedCabalFile = "1qpv52ywp8r30s3m9qyjiqiwa6clg3zp095yhs2d4533amprryly";
libraryHaskellDepends = [ base binary bytestring ];
description = "An efficient finite map from (byte)strings to values";
license = stdenv.lib.licenses.bsd3;
@@ -45623,6 +45724,8 @@ self: {
doCheck = false;
description = "Simple interface to some of Cabal's configuration state, mainly used by ghc-mod";
license = stdenv.lib.licenses.gpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"cabal-info" = callPackage
@@ -45740,6 +45843,32 @@ self: {
broken = true;
}) {};
+ "cabal-install-parsers" = callPackage
+ ({ mkDerivation, aeson, ansi-terminal, base, base16-bytestring
+ , binary, binary-instances, bytestring, Cabal, containers
+ , cryptohash-sha256, directory, filepath, lukko, network-uri
+ , parsec, pretty, tar, tasty, tasty-golden, tasty-hunit, text, time
+ , transformers, tree-diff
+ }:
+ mkDerivation {
+ pname = "cabal-install-parsers";
+ version = "0.1";
+ sha256 = "0jklbv5c6nsbdj52a42ywr6nl7xqr2hgzc8l8g6aalb8nr117b45";
+ libraryHaskellDepends = [
+ aeson base base16-bytestring binary binary-instances bytestring
+ Cabal containers cryptohash-sha256 directory filepath lukko
+ network-uri parsec pretty tar text time transformers
+ ];
+ testHaskellDepends = [
+ ansi-terminal base bytestring Cabal containers directory filepath
+ tasty tasty-golden tasty-hunit tree-diff
+ ];
+ description = "Utilities to work with cabal-install files";
+ license = "GPL-2.0-or-later AND BSD-3-Clause";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"cabal-lenses" = callPackage
({ mkDerivation, base, Cabal, lens, strict, system-fileio
, system-filepath, text, transformers, unordered-containers
@@ -45846,18 +45975,16 @@ self: {
}) {};
"cabal-plan" = callPackage
- ({ mkDerivation, aeson, ansi-terminal, base, base-compat
+ ({ mkDerivation, aeson, ansi-terminal, async, base, base-compat
, base16-bytestring, bytestring, containers, directory, filepath
- , mtl, optics-core, optparse-applicative, parsec, process-extras
+ , mtl, optics-core, optparse-applicative, parsec, process
, semialign, singleton-bool, text, these, topograph, transformers
, vector
}:
mkDerivation {
pname = "cabal-plan";
- version = "0.6.1.0";
- sha256 = "0jb50a45aky1jljl6g84h61wrirk6gh5pwk0m0pkhd1q7zj58jgi";
- revision = "1";
- editedCabalFile = "02krq0ibb4q2ypj7cp8yclc175a2hlaa9x5x3j3i8wjkf8pyyvx1";
+ version = "0.6.2.0";
+ sha256 = "0gwbyyj4xih9barg2c589v6z82s0gx98airs6icivg301khg9fzg";
configureFlags = [ "-fexe" ];
isLibrary = true;
isExecutable = true;
@@ -45866,9 +45993,9 @@ self: {
filepath text
];
executableHaskellDepends = [
- ansi-terminal base base-compat bytestring containers directory mtl
- optics-core optparse-applicative parsec process-extras semialign
- singleton-bool text these topograph transformers vector
+ ansi-terminal async base base-compat bytestring containers
+ directory mtl optics-core optparse-applicative parsec process
+ semialign singleton-bool text these topograph transformers vector
];
description = "Library and utility for processing cabal's plan.json file";
license = stdenv.lib.licenses.gpl2Plus;
@@ -46937,6 +47064,23 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "calenderweek" = callPackage
+ ({ mkDerivation, base, megaparsec, optparse-generic, text, time }:
+ mkDerivation {
+ pname = "calenderweek";
+ version = "1.0.0";
+ sha256 = "10lv7c74jrw8v06vaz8assgqlvrk0spn08sw0nvzz1q0x0zbbwff";
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [
+ base megaparsec optparse-generic text time
+ ];
+ description = "Commandline tool to get week of the year";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"call" = callPackage
({ mkDerivation, base, bindings-portaudio, boundingboxes, colors
, containers, control-bool, deepseq, directory, filepath, free
@@ -46982,6 +47126,8 @@ self: {
];
description = "A simple library to call Alloy given a specification";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"call-haskell-from-anything" = callPackage
@@ -47292,8 +47438,8 @@ self: {
pname = "cantor-pairing";
version = "0.1.1.0";
sha256 = "03vl7qd5962kr0mi4ymgmh667948rzqiq9f1ixcvycyjz8hz0yqw";
- revision = "2";
- editedCabalFile = "0vl4b3v7qzbsd93vb0flyd6xkpayji49il97d2a6v35cliph5yw2";
+ revision = "3";
+ editedCabalFile = "0rcjz2r4l4crxxda3hjpi5kkxrh4pgdrcbw29bj5w9a4jph0d0ld";
libraryHaskellDepends = [
arithmoi base containers integer-gmp integer-logarithms
];
@@ -48199,24 +48345,6 @@ self: {
}) {};
"cassava-megaparsec" = callPackage
- ({ mkDerivation, base, bytestring, cassava, hspec, hspec-megaparsec
- , megaparsec, unordered-containers, vector
- }:
- mkDerivation {
- pname = "cassava-megaparsec";
- version = "2.0.0";
- sha256 = "0jwhvgfkgxpxp6cci9ahp3kryr4vaxbpqgjzf8ylr2592dm2irnf";
- libraryHaskellDepends = [
- base bytestring cassava megaparsec unordered-containers vector
- ];
- testHaskellDepends = [
- base bytestring cassava hspec hspec-megaparsec vector
- ];
- description = "Megaparsec parser of CSV files that plays nicely with Cassava";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "cassava-megaparsec_2_0_1" = callPackage
({ mkDerivation, base, bytestring, cassava, hspec, hspec-megaparsec
, megaparsec, unordered-containers, vector
}:
@@ -48232,7 +48360,6 @@ self: {
];
description = "Megaparsec parser of CSV files that plays nicely with Cassava";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"cassava-records" = callPackage
@@ -50558,8 +50685,8 @@ self: {
}:
mkDerivation {
pname = "chronos";
- version = "1.0.8";
- sha256 = "08lxf5f40nhqpxx7f75d3lp5xyjmh3gk1hljm4iq7p8mm22nl2fn";
+ version = "1.0.9";
+ sha256 = "103vwpdjqk1csw8famc62ba5ck9s6yd8w5hfa6a0qj3bx9vmf9qv";
libraryHaskellDepends = [
aeson attoparsec base bytestring clock hashable primitive
semigroups text torsor vector
@@ -50576,20 +50703,19 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "chronos_1_0_9" = callPackage
- ({ mkDerivation, aeson, attoparsec, base, bytestring, clock
- , criterion, deepseq, doctest, hashable, HUnit, old-locale
- , primitive, QuickCheck, semigroups, test-framework
- , test-framework-hunit, test-framework-quickcheck2, text, thyme
- , time, torsor, vector
+ "chronos_1_1" = callPackage
+ ({ mkDerivation, aeson, attoparsec, base, bytestring, criterion
+ , deepseq, doctest, hashable, HUnit, old-locale, primitive
+ , QuickCheck, semigroups, test-framework, test-framework-hunit
+ , test-framework-quickcheck2, text, thyme, time, torsor, vector
}:
mkDerivation {
pname = "chronos";
- version = "1.0.9";
- sha256 = "103vwpdjqk1csw8famc62ba5ck9s6yd8w5hfa6a0qj3bx9vmf9qv";
+ version = "1.1";
+ sha256 = "0g41hchir6rxfnd8halg49y80pc9dr38k7b7cik18gqdasswwg6c";
libraryHaskellDepends = [
- aeson attoparsec base bytestring clock hashable primitive
- semigroups text torsor vector
+ aeson attoparsec base bytestring hashable primitive semigroups text
+ torsor vector
];
testHaskellDepends = [
attoparsec base bytestring doctest HUnit QuickCheck test-framework
@@ -51855,8 +51981,23 @@ self: {
({ mkDerivation, base, hspec, hspec-discover, mtl, text }:
mkDerivation {
pname = "clay";
- version = "0.13.1";
- sha256 = "18r8lgzyscxnw6xdxg0jxvp2977i02fjh3n5p89fnd8qrh0r2kl4";
+ version = "0.13.2";
+ sha256 = "1jxwq159hcc55ijga18zdlqr3ga1flilymq96hqpizb4khpq7y6j";
+ libraryHaskellDepends = [ base mtl text ];
+ testHaskellDepends = [ base hspec hspec-discover mtl text ];
+ testToolDepends = [ hspec-discover ];
+ description = "CSS preprocessor as embedded Haskell";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "clay_0_13_3" = callPackage
+ ({ mkDerivation, base, hspec, hspec-discover, mtl, text }:
+ mkDerivation {
+ pname = "clay";
+ version = "0.13.3";
+ sha256 = "192lsbyj6azjs2ygpx4i47fyr8zfmvwcas8mia07ndqglk2c9csx";
libraryHaskellDepends = [ base mtl text ];
testHaskellDepends = [ base hspec hspec-discover mtl text ];
testToolDepends = [ hspec-discover ];
@@ -52264,8 +52405,8 @@ self: {
}:
mkDerivation {
pname = "cli-setup";
- version = "0.2.1.0";
- sha256 = "010rra96lw9qkqm2jvnjxzb6q7xmg8drxaiywbmpb93slrb56r6n";
+ version = "0.2.1.2";
+ sha256 = "0fh9lp8r73mslhwxcjpfzvm0j0qbq0prr4bkkwq2v16izg14ccda";
libraryHaskellDepends = [
base bytestring directory file-embed process
];
@@ -52723,13 +52864,15 @@ self: {
}:
mkDerivation {
pname = "cloudi";
- version = "1.7.5";
- sha256 = "08cklswxmd7x0zxkkrlwh1qy57jbqp0dv3x57xskxpmwyhws2vgs";
+ version = "1.8.0";
+ sha256 = "0j98dbyhc845y26abyp8sdcajpxvpsjcqrmcls4jnb4bhnz21jkc";
libraryHaskellDepends = [
array base binary bytestring containers network time unix zlib
];
description = "Haskell CloudI API";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"cloudyfs" = callPackage
@@ -53032,23 +53175,6 @@ self: {
}) {};
"cmark-gfm" = callPackage
- ({ mkDerivation, base, blaze-html, bytestring, cheapskate
- , criterion, discount, HUnit, markdown, sundown, text
- }:
- mkDerivation {
- pname = "cmark-gfm";
- version = "0.2.0";
- sha256 = "03xflrkyw84qv3yjly5iks9311bqv5cmrmsylr763v4ph0fn7rjq";
- libraryHaskellDepends = [ base bytestring text ];
- testHaskellDepends = [ base HUnit text ];
- benchmarkHaskellDepends = [
- base blaze-html cheapskate criterion discount markdown sundown text
- ];
- description = "Fast, accurate GitHub Flavored Markdown parser and renderer";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "cmark-gfm_0_2_1" = callPackage
({ mkDerivation, base, blaze-html, bytestring, cheapskate
, criterion, discount, HUnit, markdown, sundown, text
}:
@@ -53063,7 +53189,6 @@ self: {
];
description = "Fast, accurate GitHub Flavored Markdown parser and renderer";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"cmark-highlight" = callPackage
@@ -53258,6 +53383,18 @@ self: {
broken = true;
}) {};
+ "cmf" = callPackage
+ ({ mkDerivation, base, containers, hedgehog }:
+ mkDerivation {
+ pname = "cmf";
+ version = "0.1";
+ sha256 = "16d83x6qggifljm7n8sqlawy79iz7lkrb6vknrr825wa0zg1bc49";
+ libraryHaskellDepends = [ base containers ];
+ testHaskellDepends = [ base containers hedgehog ];
+ description = "(C)oncurrent (M)onoidal (F)olds";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"cml" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -53552,46 +53689,52 @@ self: {
"cobot-io" = callPackage
({ mkDerivation, array, attoparsec, base, binary, bytestring
- , containers, data-msgpack, deepseq, hspec, http-conduit, hyraxAbif
- , lens, linear, mtl, neat-interpolation, QuickCheck, split, text
- , vector
+ , containers, data-msgpack, deepseq, directory, hspec, http-conduit
+ , hyraxAbif, lens, linear, mtl, neat-interpolation, QuickCheck
+ , split, text, vector
}:
mkDerivation {
pname = "cobot-io";
- version = "0.1.2.0";
- sha256 = "0md5sd67sd3wl7p9z6904pbswlkkzlclrgj7lc3a2qpq6ky7w1ik";
+ version = "0.1.2.1";
+ sha256 = "17rl3xbap3fgn2bg0iykysxaff1rakr8fq759hl7pmx3qnr8xz12";
libraryHaskellDepends = [
array attoparsec base binary bytestring containers data-msgpack
deepseq http-conduit hyraxAbif lens linear mtl split text vector
];
testHaskellDepends = [
array attoparsec base binary bytestring containers data-msgpack
- deepseq hspec http-conduit hyraxAbif lens linear mtl
+ deepseq directory hspec http-conduit hyraxAbif lens linear mtl
neat-interpolation QuickCheck split text vector
];
description = "Biological data file formats and IO";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"cobot-tools" = callPackage
- ({ mkDerivation, array, base, cobot, containers, data-msgpack
- , deepseq, hspec, lens, mtl, neat-interpolation, QuickCheck, RNA
- , text
+ ({ mkDerivation, array, base, bytestring, cobot, containers
+ , data-default, data-msgpack, deepseq, hspec, lens, mtl
+ , neat-interpolation, QuickCheck, regex-tdfa, RNA, text
}:
mkDerivation {
pname = "cobot-tools";
- version = "0.1.0.1";
- sha256 = "0jlfz2jf8vphaxg3wn9bhzzjp5ldnpiyf420fz7waadi6bfi7q75";
+ version = "0.1.1.0";
+ sha256 = "0i717g632jvnah8cibgia6r12mmyiqwfgryiam71pvbaz2508rhr";
libraryHaskellDepends = [
- array base cobot containers data-msgpack deepseq lens mtl text
+ array base bytestring cobot containers data-default data-msgpack
+ deepseq lens mtl regex-tdfa text
];
librarySystemDepends = [ RNA ];
testHaskellDepends = [
- array base cobot containers data-msgpack deepseq hspec lens mtl
- neat-interpolation QuickCheck text
+ array base bytestring cobot containers data-default data-msgpack
+ deepseq hspec lens mtl neat-interpolation QuickCheck regex-tdfa
+ text
];
description = "Biological data file formats and IO";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {RNA = null;};
"code-builder" = callPackage
@@ -54995,6 +55138,25 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "comonad_5_0_6" = callPackage
+ ({ mkDerivation, base, Cabal, cabal-doctest, containers
+ , distributive, doctest, tagged, transformers, transformers-compat
+ }:
+ mkDerivation {
+ pname = "comonad";
+ version = "5.0.6";
+ sha256 = "1blgp2nm9cvnsdi2bmkmly5m0gz91npjvf1i5j4pnx6imhbb1kvp";
+ setupHaskellDepends = [ base Cabal cabal-doctest ];
+ libraryHaskellDepends = [
+ base containers distributive tagged transformers
+ transformers-compat
+ ];
+ testHaskellDepends = [ base doctest ];
+ description = "Comonads";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"comonad-extras" = callPackage
({ mkDerivation, array, base, comonad, containers, distributive
, semigroupoids, transformers
@@ -55175,6 +55337,24 @@ self: {
broken = true;
}) {};
+ "compact-word-vectors" = callPackage
+ ({ mkDerivation, base, primitive, QuickCheck, random, tasty
+ , tasty-hunit, tasty-quickcheck
+ }:
+ mkDerivation {
+ pname = "compact-word-vectors";
+ version = "0.2.0.1";
+ sha256 = "0ix8l6vvnf62vp6716gmypwqsrs6x5pzcx5yfj24bn4gk0xak3lm";
+ libraryHaskellDepends = [ base primitive ];
+ testHaskellDepends = [
+ base primitive QuickCheck random tasty tasty-hunit tasty-quickcheck
+ ];
+ description = "Small vectors of small integers stored very compactly";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"compactable" = callPackage
({ mkDerivation, base, containers, transformers, vector }:
mkDerivation {
@@ -55319,6 +55499,30 @@ self: {
pname = "compensated";
version = "0.7.3";
sha256 = "089xj9j3gznxz66ywapjd9kasjcnv197ipj4azgjfbpl2y11l8dg";
+ revision = "1";
+ editedCabalFile = "1ax4jq2hp5737yvi3lxvyj3c4bzkg10h4c7w3nw0hgfcn1ng49kc";
+ setupHaskellDepends = [ base Cabal cabal-doctest ];
+ libraryHaskellDepends = [
+ base bifunctors binary bytes cereal comonad deepseq distributive
+ hashable lens log-domain safecopy semigroupoids semigroups vector
+ ];
+ testHaskellDepends = [
+ base doctest generic-deriving semigroups simple-reflect
+ ];
+ description = "Compensated floating-point arithmetic";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "compensated_0_8" = callPackage
+ ({ mkDerivation, base, bifunctors, binary, bytes, Cabal
+ , cabal-doctest, cereal, comonad, deepseq, distributive, doctest
+ , generic-deriving, hashable, lens, log-domain, safecopy
+ , semigroupoids, semigroups, simple-reflect, vector
+ }:
+ mkDerivation {
+ pname = "compensated";
+ version = "0.8";
+ sha256 = "1jvvsa1dqsds6ri6f746y47flwrlfxnc7jsgic2m6kvf1b700qr9";
setupHaskellDepends = [ base Cabal cabal-doctest ];
libraryHaskellDepends = [
base bifunctors binary bytes cereal comonad deepseq distributive
@@ -55329,6 +55533,7 @@ self: {
];
description = "Compensated floating-point arithmetic";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"competition" = callPackage
@@ -56147,14 +56352,14 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
- "concurrency_1_8_0_0" = callPackage
+ "concurrency_1_8_1_0" = callPackage
({ mkDerivation, array, atomic-primops, base, exceptions
, monad-control, mtl, stm, transformers
}:
mkDerivation {
pname = "concurrency";
- version = "1.8.0.0";
- sha256 = "091nv78c4cfcrg4hwxhn97l0xr5x2n4pfh802ysxmn2zvnm9fbf4";
+ version = "1.8.1.0";
+ sha256 = "0nw5i85lzh03ppcprzpvrlp3bmdam1z50bp7ddq9mp2ycyjbvrp5";
libraryHaskellDepends = [
array atomic-primops base exceptions monad-control mtl stm
transformers
@@ -57711,6 +57916,8 @@ self: {
testHaskellDepends = [ base hedgehog property ];
description = "Partial orders & Galois connections";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"consistent" = callPackage
@@ -57927,8 +58134,8 @@ self: {
({ mkDerivation, base, category, unconstrained }:
mkDerivation {
pname = "constraint";
- version = "0.1.3.0";
- sha256 = "0yp09vg9hx5p7ncyh8h6mhcl14kanhhjldyn892lmp0jmlm7flyy";
+ version = "0.1.4.0";
+ sha256 = "0cdncdzpgyr9a0v213g9f6fqfd4311j5rg84gh85xynp8hhh0rr4";
libraryHaskellDepends = [ base category unconstrained ];
description = "Reified constraints";
license = stdenv.lib.licenses.bsd3;
@@ -57977,8 +58184,8 @@ self: {
({ mkDerivation, base }:
mkDerivation {
pname = "constraint-tuples";
- version = "0.1.1";
- sha256 = "0jml9sqgmfz3yqpd8g7k0ki1n036a6ws4m5ywbjmcyiz6gr52czl";
+ version = "0.1.2";
+ sha256 = "16f9y0q771f3mc38g8jpr875c8grjav6sg9lwbhg7nmcvcczwqk2";
libraryHaskellDepends = [ base ];
description = "Partially applicable constraint tuples";
license = stdenv.lib.licenses.bsd3;
@@ -58994,26 +59201,6 @@ self: {
}) {};
"cookie" = callPackage
- ({ mkDerivation, base, bytestring, data-default-class, deepseq
- , HUnit, QuickCheck, tasty, tasty-hunit, tasty-quickcheck, text
- , time
- }:
- mkDerivation {
- pname = "cookie";
- version = "0.4.4";
- sha256 = "1qy09i0jh2z9i9avy2khf8a8afq4fqgnv0fyrszgfg4kmq2fsi9j";
- libraryHaskellDepends = [
- base bytestring data-default-class deepseq text time
- ];
- testHaskellDepends = [
- base bytestring HUnit QuickCheck tasty tasty-hunit tasty-quickcheck
- text time
- ];
- description = "HTTP cookie parsing and rendering";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "cookie_0_4_5" = callPackage
({ mkDerivation, base, bytestring, data-default-class, deepseq
, HUnit, QuickCheck, tasty, tasty-hunit, tasty-quickcheck, text
, time
@@ -59031,7 +59218,6 @@ self: {
];
description = "HTTP cookie parsing and rendering";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"cookies" = callPackage
@@ -59066,12 +59252,15 @@ self: {
}:
mkDerivation {
pname = "copilot";
- version = "3.0.1";
- sha256 = "0sfvrk8ik6zaim6xlkvlnz3rnrqbiqvq7i6yxjiba74qx5w8yv4m";
+ version = "3.1";
+ sha256 = "1dw7bkmadwsncd39pkngaxglfsnrnc9km7y8ld0l9bkiiw136x2w";
+ isLibrary = true;
+ isExecutable = true;
libraryHaskellDepends = [
base copilot-c99 copilot-core copilot-language copilot-libraries
copilot-theorem directory filepath optparse-applicative
];
+ executableHaskellDepends = [ base copilot-c99 copilot-libraries ];
description = "A stream DSL for writing embedded C programs";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -59085,8 +59274,8 @@ self: {
}:
mkDerivation {
pname = "copilot-c99";
- version = "3.0.2";
- sha256 = "02987kxwsrxcjicgfnj55prabiv12y5d1s82nr34kk3scrlixl1y";
+ version = "3.1";
+ sha256 = "1cwypmis5dcdzjasq03wcas4lnml7l4a4ymw1v55aybfmz94mxc3";
libraryHaskellDepends = [
base containers copilot-core directory filepath language-c99
language-c99-simple language-c99-util mtl pretty
@@ -59114,14 +59303,12 @@ self: {
}) {};
"copilot-core" = callPackage
- ({ mkDerivation, base, containers, dlist, mtl, pretty, random }:
+ ({ mkDerivation, base, containers, dlist, mtl, pretty }:
mkDerivation {
pname = "copilot-core";
- version = "3.0.1";
- sha256 = "0gq55db39fsg3kim83s86nw58f9wbg59nlrhi4ic70864iv55zs8";
- libraryHaskellDepends = [
- base containers dlist mtl pretty random
- ];
+ version = "3.1";
+ sha256 = "08xz5s0b2fd5igja5wiaq93ignx6bsf942rg4hy42fmh4c03hylp";
+ libraryHaskellDepends = [ base containers dlist mtl pretty ];
description = "An intermediate representation for Copilot";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -59132,8 +59319,8 @@ self: {
}:
mkDerivation {
pname = "copilot-language";
- version = "3.0.1";
- sha256 = "1vx656vdjvdbsd3zv5cpb9xjvj85ylfqbbk8iibkbdgbq6sm11f6";
+ version = "3.1";
+ sha256 = "0hdk8418l30vz9lv7c4bzh8m5gn8knpvg296b14n66si9g36qglp";
libraryHaskellDepends = [
array base containers copilot-core copilot-theorem data-reify
ghc-prim mtl
@@ -59150,8 +59337,8 @@ self: {
}:
mkDerivation {
pname = "copilot-libraries";
- version = "3.0";
- sha256 = "0xrv37m770qnc722iv5x67kjic11q2sd1bcx2b0gr93p54frbjs4";
+ version = "3.1";
+ sha256 = "094hjzg22b55n4kv89ccr7pbgqpbd0z8f5myn93nyw6yqpmpp30v";
libraryHaskellDepends = [
array base containers copilot-language data-reify mtl parsec
];
@@ -59185,8 +59372,8 @@ self: {
}:
mkDerivation {
pname = "copilot-theorem";
- version = "3.0";
- sha256 = "1h8gjlfhl473d6h8zafmqv3dzdhmgpyp8bsvysfzb7s2ga5hwnrq";
+ version = "3.1";
+ sha256 = "15vnl5lg9s6h9s98f1nvva3ab0gdn3a5314mxdfxxa53ywmiq2a0";
libraryHaskellDepends = [
ansi-terminal base bimap containers copilot-core data-default
directory mtl parsec pretty process random transformers xml
@@ -59257,26 +59444,8 @@ self: {
}:
mkDerivation {
pname = "core-data";
- version = "0.2.1.0";
- sha256 = "1d4sf0383kcc7wzy1bld1hlagf9g934bwnx6xdvj45grdkj8l787";
- libraryHaskellDepends = [
- aeson base bytestring containers core-text hashable prettyprinter
- prettyprinter-ansi-terminal scientific text unordered-containers
- vector
- ];
- description = "Convenience wrappers around common data structures and encodings";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "core-data_0_2_1_3" = callPackage
- ({ mkDerivation, aeson, base, bytestring, containers, core-text
- , hashable, prettyprinter, prettyprinter-ansi-terminal, scientific
- , text, unordered-containers, vector
- }:
- mkDerivation {
- pname = "core-data";
- version = "0.2.1.3";
- sha256 = "1l5q8ayhpr6cjvsj9y4hj8b9iq2013rg9dq1f8b349c9mz98bxqa";
+ version = "0.2.1.4";
+ sha256 = "1arrw5xbzxpwqzpxcyw13lv4sazn5pzv448crw54284kyi798hc3";
libraryHaskellDepends = [
aeson base bytestring containers core-text hashable prettyprinter
prettyprinter-ansi-terminal scientific text unordered-containers
@@ -59284,7 +59453,6 @@ self: {
];
description = "Convenience wrappers around common data structures and encodings";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"core-haskell" = callPackage
@@ -59313,8 +59481,8 @@ self: {
}:
mkDerivation {
pname = "core-program";
- version = "0.2.2.3";
- sha256 = "0yyhvi84qw67lql1vdf9j1psxglqv1nd43wh6kxz92n1im7canks";
+ version = "0.2.2.4";
+ sha256 = "0l30qvn118bb6vj39ca6wl7ynhf7hkwq7pbh60vhcmwcr20rj4b1";
libraryHaskellDepends = [
async base bytestring chronologique core-data core-text directory
exceptions filepath hashable hinotify hourglass mtl prettyprinter
@@ -59334,32 +59502,14 @@ self: {
}:
mkDerivation {
pname = "core-text";
- version = "0.2.2.1";
- sha256 = "0bql1ksfblnplhj4rbzsjwjbdqdy3z28c51i63q6vhy20mr3bxqk";
- libraryHaskellDepends = [
- base bytestring deepseq fingertree hashable prettyprinter
- prettyprinter-ansi-terminal template-haskell text text-short
- ];
- description = "A rope type based on a finger tree over UTF-8 fragments";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "core-text_0_2_2_3" = callPackage
- ({ mkDerivation, base, bytestring, deepseq, fingertree, hashable
- , prettyprinter, prettyprinter-ansi-terminal, template-haskell
- , text, text-short
- }:
- mkDerivation {
- pname = "core-text";
- version = "0.2.2.3";
- sha256 = "00ac8f7pajqr77r48g332kgfwsmnybdw2f2z9f7dx03hm3x9vgyx";
+ version = "0.2.2.4";
+ sha256 = "1lfxphm5y9irrs225vr0gbvb129lxzfr0xjxy23dz6d0cc3pr1ph";
libraryHaskellDepends = [
base bytestring deepseq fingertree hashable prettyprinter
prettyprinter-ansi-terminal template-haskell text text-short
];
description = "A rope type based on a finger tree over UTF-8 fragments";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"corebot-bliki" = callPackage
@@ -60045,28 +60195,6 @@ self: {
}) {python34 = null;};
"cql" = callPackage
- ({ mkDerivation, base, bytestring, cereal, containers, Decimal
- , iproute, network, QuickCheck, tasty, tasty-quickcheck
- , template-haskell, text, time, transformers, uuid, vector
- }:
- mkDerivation {
- pname = "cql";
- version = "4.0.1";
- sha256 = "021qaz6qvbdp76gdyfcs07wnnq6k6r1cmqky0g3giinjdrm4qac9";
- libraryHaskellDepends = [
- base bytestring cereal containers Decimal iproute network
- template-haskell text time transformers uuid vector
- ];
- testHaskellDepends = [
- base bytestring cereal Decimal iproute network QuickCheck tasty
- tasty-quickcheck text time uuid
- ];
- description = "Cassandra CQL binary protocol";
- license = "unknown";
- hydraPlatforms = stdenv.lib.platforms.none;
- }) {};
-
- "cql_4_0_2" = callPackage
({ mkDerivation, base, bytestring, cereal, containers, Decimal
, iproute, network, QuickCheck, tasty, tasty-quickcheck
, template-haskell, text, time, transformers, uuid, vector
@@ -62661,8 +62789,8 @@ self: {
}:
mkDerivation {
pname = "curry-base";
- version = "1.1.0";
- sha256 = "1hxac2mx7irphcyhljwivx1w6j6li0s7gl54yb50na6qpna7arqg";
+ version = "1.1.1";
+ sha256 = "0dczgya46jk80j8b7sswjcck64hzw7fifipixnhylhlfvd1cqdlb";
libraryHaskellDepends = [
base containers directory extra filepath mtl parsec pretty time
transformers
@@ -62673,24 +62801,26 @@ self: {
}) {};
"curry-frontend" = callPackage
- ({ mkDerivation, base, Cabal, containers, curry-base, directory
- , extra, filepath, mtl, network-uri, pretty, process, set-extra
- , transformers
+ ({ mkDerivation, base, bytestring, Cabal, containers, curry-base
+ , directory, extra, file-embed, filepath, mtl, network-uri, pretty
+ , process, set-extra, template-haskell, transformers
}:
mkDerivation {
pname = "curry-frontend";
- version = "1.0.3";
- sha256 = "0dqmmvn6iziyzdmig1gbcpdpbpg1hjp57pldzcv03fm2bjhq0a4q";
+ version = "1.0.4";
+ sha256 = "1dfljqyrp9w0sw3zmyy9rglpnjv14qj8ky1yjslmiaanjnl0m07b";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
libraryHaskellDepends = [
- base containers curry-base directory extra filepath mtl network-uri
- pretty process set-extra transformers
+ base bytestring containers curry-base directory extra file-embed
+ filepath mtl network-uri pretty process set-extra template-haskell
+ transformers
];
executableHaskellDepends = [
- base containers curry-base directory extra filepath mtl network-uri
- pretty process set-extra transformers
+ base bytestring containers curry-base directory extra file-embed
+ filepath mtl network-uri pretty process set-extra template-haskell
+ transformers
];
testHaskellDepends = [ base Cabal curry-base filepath ];
description = "Compile the functional logic language Curry to several intermediate formats";
@@ -63044,7 +63174,7 @@ self: {
description = "A raw binding for the directX 11";
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.none;
- }) {D3DCompiler = null; d3d11 = null; d3dx11 = null;
+ }) {D3DCompiler = null; d3d11 = null; d3dx11 = null;
d3dxof = null; dxgi = null; dxguid = null;};
"d3js" = callPackage
@@ -63353,7 +63483,7 @@ self: {
license = "GPL";
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {inherit (pkgs) curl; inherit (pkgs) ncurses;
+ }) {inherit (pkgs) curl; inherit (pkgs) ncurses;
inherit (pkgs) zlib;};
"darcs-fastconvert" = callPackage
@@ -64181,6 +64311,24 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "data-diverse_4_7_0_0" = callPackage
+ ({ mkDerivation, base, containers, criterion, deepseq, ghc-prim
+ , hspec, tagged
+ }:
+ mkDerivation {
+ pname = "data-diverse";
+ version = "4.7.0.0";
+ sha256 = "0ccbb8kf2spaa2h6k10y26zzaij1w28vrifhc8c1ljlvsmc9dkf3";
+ libraryHaskellDepends = [
+ base containers deepseq ghc-prim tagged
+ ];
+ testHaskellDepends = [ base hspec tagged ];
+ benchmarkHaskellDepends = [ base criterion ];
+ description = "Extensible records and polymorphic variants";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"data-diverse-lens" = callPackage
({ mkDerivation, base, data-diverse, data-has, hspec, lens
, profunctors, tagged
@@ -67632,8 +67780,8 @@ self: {
}:
mkDerivation {
pname = "dependent-monoidal-map";
- version = "0.1.1.0";
- sha256 = "0l5nj7jalyca6vv9aqsx0j799vrr65cm1jzh17fcnwkxair3lkgx";
+ version = "0.1.1.1";
+ sha256 = "0i3zgngcdli6hw09h985ca4n7l9cpsrxalbhg8lbq32hwh7dim89";
libraryHaskellDepends = [
aeson base constraints constraints-extras dependent-map
dependent-sum dependent-sum-aeson-orphans
@@ -68077,6 +68225,30 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "deriving-compat_0_5_8" = callPackage
+ ({ mkDerivation, base, base-compat, base-orphans, containers
+ , ghc-boot-th, ghc-prim, hspec, hspec-discover, QuickCheck, tagged
+ , template-haskell, th-abstraction, transformers
+ , transformers-compat
+ }:
+ mkDerivation {
+ pname = "deriving-compat";
+ version = "0.5.8";
+ sha256 = "1dznwypw0w935z30zi9pf9k4mr5yfl6jfp43nv9vx3f6zy5gip9r";
+ libraryHaskellDepends = [
+ base containers ghc-boot-th ghc-prim template-haskell
+ th-abstraction transformers transformers-compat
+ ];
+ testHaskellDepends = [
+ base base-compat base-orphans hspec QuickCheck tagged
+ template-haskell transformers transformers-compat
+ ];
+ testToolDepends = [ hspec-discover ];
+ description = "Backports of GHC deriving extensions";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"derp" = callPackage
({ mkDerivation, base, containers }:
mkDerivation {
@@ -68365,8 +68537,8 @@ self: {
}:
mkDerivation {
pname = "df1";
- version = "0.3.1";
- sha256 = "0a1fpi9r6nivjxlknfyfkwdgnq5m6qmf68z46m3xjvy0md40caij";
+ version = "0.3.2";
+ sha256 = "1iywyrz2pfdpichfq6n77x8fpmfikj20rhkgnrwcf63ichav6xfp";
libraryHaskellDepends = [
attoparsec base bytestring containers text time
];
@@ -68632,30 +68804,33 @@ self: {
"dhall-fly" = callPackage
({ mkDerivation, aeson, aeson-casing, aeson-yaml, base, bytestring
- , dhall, dhall-json, hspec, hspec-discover, scientific, text
- , transformers, unordered-containers, vector
+ , dhall, dhall-json, hspec, hspec-discover, optparse-applicative
+ , scientific, text, transformers, unordered-containers, vector
}:
mkDerivation {
pname = "dhall-fly";
- version = "0.1.0";
- sha256 = "0rjbcpwcpz3kq0cil0pp7vkmksvnyxzv8jg5jpgnkg9pzmapg43y";
+ version = "0.2.0";
+ sha256 = "0h684icyp6r5cmr5cddgwbi2ci5ihkra0lyhgnisgrsvn8qmzz5d";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- aeson aeson-casing base dhall scientific text transformers
- unordered-containers vector
+ aeson aeson-casing base dhall optparse-applicative scientific text
+ transformers unordered-containers vector
];
executableHaskellDepends = [
aeson aeson-casing aeson-yaml base bytestring dhall dhall-json
- scientific text transformers unordered-containers vector
+ optparse-applicative scientific text transformers
+ unordered-containers vector
];
testHaskellDepends = [
- aeson aeson-casing base dhall hspec scientific text transformers
- unordered-containers vector
+ aeson aeson-casing base dhall hspec optparse-applicative scientific
+ text transformers unordered-containers vector
];
testToolDepends = [ hspec-discover ];
description = "Translate concourse config from Dhall to YAML";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"dhall-json" = callPackage
@@ -68900,8 +69075,8 @@ self: {
}:
mkDerivation {
pname = "di";
- version = "1.2";
- sha256 = "0d4ywmnibg9h12bah4bdh03fs2l50f5s590kv45baz010bcqyx0b";
+ version = "1.3";
+ sha256 = "13d503xhmnj2br9m4r4xx58hd2p8jsj8hxf9b4k4451p31kbzs54";
libraryHaskellDepends = [
base containers df1 di-core di-df1 di-handle di-monad exceptions
];
@@ -68915,8 +69090,8 @@ self: {
}:
mkDerivation {
pname = "di-core";
- version = "1.0.3";
- sha256 = "1rfza96ljcf754mj44m2ffm51k9v6c0ii2sqqnddjkva3h3hx47h";
+ version = "1.0.4";
+ sha256 = "0wrj2ndzk9r7izjvwkjjmqb3gg1zy93ch7j7fdalzadzzsd4sqsm";
libraryHaskellDepends = [
base containers safe-exceptions stm time
];
@@ -68934,8 +69109,8 @@ self: {
}:
mkDerivation {
pname = "di-df1";
- version = "1.0.2";
- sha256 = "1imk26njmr7hj56227yxgshjh4dicgr2c9bpc2m9nvsw2qbqslfh";
+ version = "1.2";
+ sha256 = "0bixrinmmb496j55c3vlh914nq6zfsaxq0pp2fcdxhwig1y53fgr";
libraryHaskellDepends = [
base df1 di-core di-handle di-monad stm
];
@@ -69138,34 +69313,6 @@ self: {
}) {};
"diagrams-contrib" = callPackage
- ({ mkDerivation, base, circle-packing, colour, containers
- , cubicbezier, data-default, data-default-class, diagrams-core
- , diagrams-lib, diagrams-solve, force-layout, hashable, HUnit, lens
- , linear, mfsolve, MonadRandom, monoid-extras, mtl, mtl-compat
- , parsec, QuickCheck, random, semigroups, split, test-framework
- , test-framework-hunit, test-framework-quickcheck2, text
- }:
- mkDerivation {
- pname = "diagrams-contrib";
- version = "1.4.3";
- sha256 = "01r081rvxkb9i56iqi28zw4054nm62pf9f1szd9i0avmnxxsiyv5";
- revision = "3";
- editedCabalFile = "0mm1mmagx6q8g6dxk1cagqka38z6393ihp0lvf6095prlvidasqs";
- libraryHaskellDepends = [
- base circle-packing colour containers cubicbezier data-default
- data-default-class diagrams-core diagrams-lib diagrams-solve
- force-layout hashable lens linear mfsolve MonadRandom monoid-extras
- mtl mtl-compat parsec random semigroups split text
- ];
- testHaskellDepends = [
- base containers diagrams-lib HUnit QuickCheck test-framework
- test-framework-hunit test-framework-quickcheck2
- ];
- description = "Collection of user contributions to diagrams EDSL";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "diagrams-contrib_1_4_4" = callPackage
({ mkDerivation, base, circle-packing, colour, containers
, cubicbezier, data-default, data-default-class, diagrams-core
, diagrams-lib, diagrams-solve, force-layout, hashable, HUnit, lens
@@ -69189,7 +69336,6 @@ self: {
];
description = "Collection of user contributions to diagrams EDSL";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"diagrams-core" = callPackage
@@ -70196,8 +70342,8 @@ self: {
}:
mkDerivation {
pname = "digit";
- version = "0.8";
- sha256 = "0m3m9c2452b0x7ccglkz7mr3ivi7r98qa44zwfnf7a55d6xckfa9";
+ version = "0.9";
+ sha256 = "0xyghgg8kzjrvhrcjizqnbprcyq5a3ma3x0dfijrdvbyd3lzghvm";
libraryHaskellDepends = [
base lens parsers scientific semigroupoids semigroups
template-haskell
@@ -72265,17 +72411,14 @@ self: {
"dns" = callPackage
({ mkDerivation, array, async, attoparsec, auto-update, base
- , base16-bytestring, base64-bytestring, bytestring, Cabal
- , cabal-doctest, containers, cryptonite, doctest, hourglass, hspec
- , iproute, mtl, network, psqueues, QuickCheck, word8
+ , base16-bytestring, base64-bytestring, bytestring, containers
+ , cryptonite, doctest, hourglass, hspec, iproute, mtl, network
+ , psqueues, QuickCheck, word8
}:
mkDerivation {
pname = "dns";
- version = "4.0.0";
- sha256 = "0gq0y8pw4x8fja0f3hhwpbxh4rg2i8nzfnp2rxh2py49qfhg38mj";
- revision = "1";
- editedCabalFile = "0cg5jhn5g28qspkinx44zyz0yn08ddcsylhmvlpp4clyb9zlz1si";
- setupHaskellDepends = [ base Cabal cabal-doctest ];
+ version = "4.0.1";
+ sha256 = "1jv89bdhvwb51d9h9157k2r1cg7x0gzari91lddwvghrkx8v9k90";
libraryHaskellDepends = [
array async attoparsec auto-update base base16-bytestring
base64-bytestring bytestring containers cryptonite hourglass
@@ -72284,6 +72427,7 @@ self: {
testHaskellDepends = [
base bytestring doctest hspec iproute network QuickCheck word8
];
+ doHaddock = false;
testTarget = "spec";
description = "DNS library in Haskell";
license = stdenv.lib.licenses.bsd3;
@@ -72643,7 +72787,7 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "doctemplates_0_7" = callPackage
+ "doctemplates_0_7_2" = callPackage
({ mkDerivation, aeson, base, bytestring, containers, criterion
, doclayout, filepath, Glob, HsYAML, mtl, parsec, safe, scientific
, tasty, tasty-golden, tasty-hunit, temporary, text
@@ -72651,16 +72795,16 @@ self: {
}:
mkDerivation {
pname = "doctemplates";
- version = "0.7";
- sha256 = "061llh59b69a84175z5wp0y0s2nw461kmf2w986wd5qcrjanxi62";
+ version = "0.7.2";
+ sha256 = "1sadadxq3vyzq4l3p05wvmkw68nwjprn98hn4l5zxif0r722jyxj";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
aeson base containers doclayout filepath HsYAML mtl parsec safe
scientific text text-conversions unordered-containers vector
];
testHaskellDepends = [
- aeson base bytestring doclayout filepath Glob tasty tasty-golden
- tasty-hunit temporary text
+ aeson base bytestring containers doclayout filepath Glob tasty
+ tasty-golden tasty-hunit temporary text
];
benchmarkHaskellDepends = [
aeson base containers criterion doclayout filepath mtl text
@@ -73105,34 +73249,6 @@ self: {
}) {};
"dotenv" = callPackage
- ({ mkDerivation, base, base-compat, containers, directory
- , exceptions, hspec, hspec-megaparsec, megaparsec
- , optparse-applicative, process, text, transformers, yaml
- }:
- mkDerivation {
- pname = "dotenv";
- version = "0.8.0.2";
- sha256 = "0an7spi0cgvzr64nyy7p8pdslyf0jlh9l2ww52jbh1habsxjn6fp";
- isLibrary = true;
- isExecutable = true;
- enableSeparateDataOutput = true;
- libraryHaskellDepends = [
- base base-compat containers directory exceptions megaparsec process
- text transformers yaml
- ];
- executableHaskellDepends = [
- base base-compat megaparsec optparse-applicative process text
- transformers yaml
- ];
- testHaskellDepends = [
- base base-compat containers directory exceptions hspec
- hspec-megaparsec megaparsec process text transformers yaml
- ];
- description = "Loads environment variables from dotenv files";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "dotenv_0_8_0_4" = callPackage
({ mkDerivation, base, base-compat, containers, directory
, exceptions, hspec, hspec-megaparsec, megaparsec
, optparse-applicative, process, text, transformers, yaml
@@ -73158,7 +73274,6 @@ self: {
];
description = "Loads environment variables from dotenv files";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"dotfs" = callPackage
@@ -74254,8 +74369,8 @@ self: {
}:
mkDerivation {
pname = "duet";
- version = "0.0.1";
- sha256 = "00f9j3zcna8gxs9g3rnmcm6xqsx7sm9ivygbzjw5dyhmiivh6nr7";
+ version = "0.0.2";
+ sha256 = "16hjhyn254d307ibg5541y00x0l6n5rwk06r5cdkj5x07jmgcafm";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -74270,8 +74385,10 @@ self: {
aeson base containers deepseq edit-distance exceptions hspec
monad-logger mtl parsec syb text
];
- description = "A tiny language, a subset of Haskell (with type classes) aimed at aiding teachers teach Haskell";
+ description = "A tiny language, a subset of Haskell (with type classes) aimed at aiding teachers to teach Haskell";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"dumb-cas" = callPackage
@@ -75907,26 +76024,27 @@ self: {
({ mkDerivation, array, base, containers, criterion, deepseq
, directory, filepath, ghc, ghc-paths, Glob, hashable, haskeline
, HUnit, megaparsec, mtl, optparse-applicative, parsec
- , parser-combinators, process, random, regex-tdfa, split
- , test-framework, test-framework-hunit, text, transformers
+ , parser-combinators, prettyprinter, process, random, regex-tdfa
+ , split, test-framework, test-framework-hunit, text, transformers
, unordered-containers, vector
}:
mkDerivation {
pname = "egison";
- version = "3.9.3";
- sha256 = "03scyzfwrzn8hbkk3r02ix7lw2pfx6r5qyf60xgvi0fgxhg7v7cv";
+ version = "3.10.1";
+ sha256 = "047l2knxhzlrmc4n6xaannnwa1zhq7lxr3iswwrji5xcqbbag5xp";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
libraryHaskellDepends = [
array base containers directory ghc ghc-paths hashable haskeline
- megaparsec mtl parsec parser-combinators process random regex-tdfa
- split text transformers unordered-containers vector
+ megaparsec mtl optparse-applicative parsec parser-combinators
+ prettyprinter process random regex-tdfa split text transformers
+ unordered-containers vector
];
executableHaskellDepends = [
array base containers directory filepath ghc ghc-paths haskeline
- mtl optparse-applicative parsec process text transformers
- unordered-containers vector
+ mtl optparse-applicative parsec prettyprinter process split text
+ transformers unordered-containers vector
];
testHaskellDepends = [
base filepath Glob HUnit mtl test-framework test-framework-hunit
@@ -75963,8 +76081,8 @@ self: {
}:
mkDerivation {
pname = "egison-tutorial";
- version = "3.9.3";
- sha256 = "0p55bak45hxqajpz0kh6d4czhxm8xm1jkcmk7la6h0fvazz4665p";
+ version = "3.10.0";
+ sha256 = "109j17iskxs7gwgvxyyvmipf3xsbnysjxj20z6hhjzz1sb3sw5x5";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -77294,6 +77412,8 @@ self: {
];
description = "Perform basic syntax and deliverability checks on email addresses";
license = stdenv.lib.licenses.agpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"emailaddress" = callPackage
@@ -79025,7 +79145,7 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "esqueleto_3_2_2" = callPackage
+ "esqueleto_3_2_3" = callPackage
({ mkDerivation, aeson, attoparsec, base, blaze-html, bytestring
, conduit, containers, exceptions, hspec, monad-logger, mtl, mysql
, mysql-simple, persistent, persistent-mysql, persistent-postgresql
@@ -79035,8 +79155,8 @@ self: {
}:
mkDerivation {
pname = "esqueleto";
- version = "3.2.2";
- sha256 = "1pnhnnsxx21jah4rnv8qy7jb4n7f6vbrxjh9cs2rygvrwqkg3n9c";
+ version = "3.2.3";
+ sha256 = "1m8ib08bnrmigpf0lzkn1wm8p479aflm92irzq5v3gg07dqgypcy";
libraryHaskellDepends = [
aeson attoparsec base blaze-html bytestring conduit containers
monad-logger persistent resourcet tagged text time transformers
@@ -80673,6 +80793,34 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "exist" = callPackage
+ ({ mkDerivation, base, base-unicode-symbols, util }:
+ mkDerivation {
+ pname = "exist";
+ version = "0.2.0.0";
+ sha256 = "0w2ip29f99qzi3wxicydkv991ws0lhnar3w0qka54r2mjb3xzrk9";
+ libraryHaskellDepends = [ base base-unicode-symbols util ];
+ description = "Dependent sum type";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "exist-instances" = callPackage
+ ({ mkDerivation, base, base-unicode-symbols, constraint, exist
+ , util
+ }:
+ mkDerivation {
+ pname = "exist-instances";
+ version = "0.1.0.0";
+ sha256 = "09714dl2gwpr44fhkq5w9fswn4fk0zhddg21mgcw2nb5l7930d7x";
+ libraryHaskellDepends = [
+ base base-unicode-symbols constraint exist util
+ ];
+ description = "Instances for \"exist\" package (requires more language extensions and dependencies)";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"existential" = callPackage
({ mkDerivation, base, cereal, constraints, control-invariants
, lens, portable-template-haskell-lens, QuickCheck
@@ -81116,8 +81264,8 @@ self: {
}:
mkDerivation {
pname = "expresso";
- version = "0.1.2.0";
- sha256 = "15s4gpf7pv6wv13q5i1cff7s93nx5vb8gyjfm4ifz76ki3xafgcn";
+ version = "0.1.2.2";
+ sha256 = "1fa37bqyw8zlva3z6sj10sp4r7sslh4xakrmr7d5diqynyrgdjax";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -81580,6 +81728,8 @@ self: {
];
description = "Rational arithmetic in an irrational world";
license = "GPL";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"facts" = callPackage
@@ -81829,7 +81979,7 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "fakedata_0_3_1" = callPackage
+ "fakedata_0_4_0" = callPackage
({ mkDerivation, base, bytestring, containers, deepseq, directory
, exceptions, filepath, gauge, hashable, hspec, hspec-discover
, random, template-haskell, text, time, unordered-containers
@@ -81837,8 +81987,8 @@ self: {
}:
mkDerivation {
pname = "fakedata";
- version = "0.3.1";
- sha256 = "0y5gnqjgn3n2px80xbpqx0kaxrdkaqhw8n9ah4ry310j80m9z8ma";
+ version = "0.4.0";
+ sha256 = "0q90aa92wraqjnj256bpv34mhsl42wyp31y2g4nv2sgzj7mi9jjg";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
base bytestring containers directory exceptions filepath hashable
@@ -82068,15 +82218,15 @@ self: {
}) {};
"fast-downward" = callPackage
- ({ mkDerivation, base, containers, list-t, mtl, process, temporary
- , text, transformers
+ ({ mkDerivation, base, containers, mtl, process, temporary, text
+ , transformers
}:
mkDerivation {
pname = "fast-downward";
- version = "0.1.1.0";
- sha256 = "1c4qsihjf6wjmmh4nm088pxaj7xc1mm9di8jq124zgllf85j1lfl";
+ version = "0.2.0.0";
+ sha256 = "0a2ax0z326mf02p5wyp1d8knxj6afn92n9bqxav2qhkc2v5kijhw";
libraryHaskellDepends = [
- base containers list-t mtl process temporary text transformers
+ base containers mtl process temporary text transformers
];
description = "Solve classical planning problems (STRIPS/SAS+) using Haskell & Fast Downward";
license = stdenv.lib.licenses.bsd3;
@@ -83053,6 +83203,31 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "feed_1_3_0_0" = callPackage
+ ({ mkDerivation, base, base-compat, bytestring, HUnit
+ , markdown-unlit, old-locale, old-time, safe, syb, test-framework
+ , test-framework-hunit, text, time, time-locale-compat, utf8-string
+ , xml-conduit, xml-types
+ }:
+ mkDerivation {
+ pname = "feed";
+ version = "1.3.0.0";
+ sha256 = "19xqkx8ars0sjana18m34d7qg9l0qbg1i3v14a5rqabdppzcfrp2";
+ enableSeparateDataOutput = true;
+ libraryHaskellDepends = [
+ base base-compat bytestring old-locale old-time safe text time
+ time-locale-compat utf8-string xml-conduit xml-types
+ ];
+ testHaskellDepends = [
+ base base-compat HUnit old-time syb test-framework
+ test-framework-hunit text time xml-conduit xml-types
+ ];
+ testToolDepends = [ markdown-unlit ];
+ description = "Interfacing with RSS (v 0.9x, 2.x, 1.0) + Atom feeds.";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"feed-cli" = callPackage
({ mkDerivation, base, directory, feed, old-locale, old-time, time
, xml
@@ -83615,7 +83790,7 @@ self: {
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {inherit (pkgs) ffmpeg; libavcodec = null; libavdevice = null;
+ }) {inherit (pkgs) ffmpeg; libavcodec = null; libavdevice = null;
libavformat = null; libswscale = null;};
"ffmpeg-tutorials" = callPackage
@@ -84057,8 +84232,8 @@ self: {
({ mkDerivation, async, base, process, unix }:
mkDerivation {
pname = "filelock";
- version = "0.1.1.3";
- sha256 = "04qimhz78jjndk686dblkx06l9jscq2q9gyr014a4pbfj4iljgi5";
+ version = "0.1.1.4";
+ sha256 = "189n4pvq7f4d235smg2iqs2m5rqmnjdxflifq0mnb2qdbc4jjznr";
libraryHaskellDepends = [ base unix ];
testHaskellDepends = [ async base process ];
description = "Portable interface to file locking (flock / LockFileEx)";
@@ -84193,8 +84368,8 @@ self: {
}:
mkDerivation {
pname = "filestore";
- version = "0.6.3.4";
- sha256 = "0q1ynqjslcxx5r93l6w2hsmd1khlq38c5g5mwrifrv12qnh28sx0";
+ version = "0.6.4";
+ sha256 = "1z967kviqsy3ma8xdfffx864f7ji6nsrbd5riis0nasm1bbwm8rr";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
base bytestring containers Diff directory filepath old-locale
@@ -84205,6 +84380,8 @@ self: {
];
description = "Interface for versioning file stores";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"filesystem-abstractions" = callPackage
@@ -84538,24 +84715,25 @@ self: {
}) {};
"finitary-derive" = callPackage
- ({ mkDerivation, base, binary, coercible-utils, deepseq, finitary
- , finite-typelits, ghc-typelits-extra, ghc-typelits-knownnat
- , hashable, hedgehog, hedgehog-classes, monad-loops, mtl, vector
- , vector-sized
+ ({ mkDerivation, base, binary, bitvec, coercible-utils, deepseq
+ , finitary, finite-typelits, ghc-typelits-extra
+ , ghc-typelits-knownnat, hashable, hedgehog, hedgehog-classes
+ , transformers, vector, vector-binary-instances, vector-instances
}:
mkDerivation {
pname = "finitary-derive";
- version = "1.0.0.1";
- sha256 = "1wv9jjvv1jd5y39pybfawb19pxzwb6r3p69ajyh2f7m8nn81kcim";
+ version = "2.2.0.0";
+ sha256 = "11nkryzbhkbz4v2i4kwaggw67nlhs5jljqczmvliyz1df75f5kh3";
libraryHaskellDepends = [
- base binary coercible-utils deepseq finitary finite-typelits
- ghc-typelits-extra ghc-typelits-knownnat hashable mtl vector
- vector-sized
+ base binary bitvec coercible-utils deepseq finitary finite-typelits
+ ghc-typelits-extra ghc-typelits-knownnat hashable transformers
+ vector vector-binary-instances vector-instances
];
testHaskellDepends = [
- base finitary finite-typelits hedgehog hedgehog-classes monad-loops
+ base binary deepseq finitary finite-typelits hashable hedgehog
+ hedgehog-classes
];
- description = "Easy and efficient Unbox, Storable, Binary and Hashable instances for Finitary types";
+ description = "Flexible and easy deriving of type classes for finitary types";
license = stdenv.lib.licenses.gpl3Plus;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
@@ -84747,6 +84925,8 @@ self: {
];
description = "Calculates file-size frequency-distribution";
license = "GPL";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"fit" = callPackage
@@ -85217,10 +85397,8 @@ self: {
}:
mkDerivation {
pname = "fixplate";
- version = "0.1.7";
- sha256 = "0brll5vkb3341l5iblrc1r50jzg8q6ycvbqvrc9jnj2nc86mslay";
- revision = "1";
- editedCabalFile = "0ynmm06iblqsyzfc068sdvmlpll8zwyccwkdlji3nf535biv56hb";
+ version = "0.1.8";
+ sha256 = "0m0g7gbdhigfc0k0sbvxhcl3gilv1wfmffwl14wr6jqbmpqy0as5";
libraryHaskellDepends = [ base containers ];
testHaskellDepends = [
base containers QuickCheck tasty tasty-quickcheck
@@ -86033,7 +86211,7 @@ self: {
];
description = "FLTK bindings";
license = stdenv.lib.licenses.mit;
- }) {inherit (pkgs) fltk14; inherit (pkgs) libGL;
+ }) {inherit (pkgs) fltk14; inherit (pkgs) libGL;
inherit (pkgs) libGLU; inherit (pkgs) pkg-config;};
"fltkhs-demos" = callPackage
@@ -87033,6 +87211,26 @@ self: {
testHaskellDepends = [ aeson base containers hspec mtl text ];
description = "Parse and validate forms in JSON format";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "forma_1_1_3" = callPackage
+ ({ mkDerivation, aeson, base, containers, hspec, mtl, text
+ , unordered-containers
+ }:
+ mkDerivation {
+ pname = "forma";
+ version = "1.1.3";
+ sha256 = "0pd2qzibffbkw2c4mk687yg109pl0nfjq0kpwi2cl0l8d0qlyv0c";
+ libraryHaskellDepends = [
+ aeson base containers mtl text unordered-containers
+ ];
+ testHaskellDepends = [ aeson base containers hspec mtl text ];
+ description = "Parse and validate forms in JSON format";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"formal" = callPackage
@@ -87782,6 +87980,24 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "free_5_1_3" = callPackage
+ ({ mkDerivation, base, comonad, containers, distributive
+ , exceptions, mtl, profunctors, semigroupoids, template-haskell
+ , transformers, transformers-base
+ }:
+ mkDerivation {
+ pname = "free";
+ version = "5.1.3";
+ sha256 = "0b9f9jrfgkq13333px6p1faxpcypqvzi0m9dnbj2rm8s79pdcw1c";
+ libraryHaskellDepends = [
+ base comonad containers distributive exceptions mtl profunctors
+ semigroupoids template-haskell transformers transformers-base
+ ];
+ description = "Monads for free";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"free-algebras" = callPackage
({ mkDerivation, base, containers, data-fix, dlist, free, groups
, hedgehog, kan-extensions, mtl, transformers
@@ -88151,7 +88367,7 @@ self: {
description = "Interface to the Kinect device";
license = stdenv.lib.licenses.bsd3;
platforms = [ "i686-linux" "x86_64-linux" ];
- }) {inherit (pkgs) freenect; freenect_sync = null;
+ }) {inherit (pkgs) freenect; freenect_sync = null;
libfreenect = null;};
"freer" = callPackage
@@ -89475,6 +89691,33 @@ self: {
broken = true;
}) {};
+ "functor-combinators_0_2_0_0" = callPackage
+ ({ mkDerivation, base, bifunctors, comonad, constraints, containers
+ , dependent-sum, deriving-compat, free, hedgehog, kan-extensions
+ , mmorph, mtl, natural-transformation, nonempty-containers, pointed
+ , profunctors, semigroupoids, tagged, tasty, tasty-hedgehog, these
+ , transformers, trivial-constraint, vinyl
+ }:
+ mkDerivation {
+ pname = "functor-combinators";
+ version = "0.2.0.0";
+ sha256 = "0z8r9z08cayyv2ag748aa8550sd2mnj2zagdkf5i5yn3lvhd0k6j";
+ libraryHaskellDepends = [
+ base bifunctors comonad constraints containers deriving-compat free
+ kan-extensions mmorph mtl natural-transformation
+ nonempty-containers pointed profunctors semigroupoids tagged these
+ transformers trivial-constraint vinyl
+ ];
+ testHaskellDepends = [
+ base bifunctors dependent-sum free hedgehog nonempty-containers
+ semigroupoids tasty tasty-hedgehog transformers
+ ];
+ description = "Tools for functor combinator-based program design";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"functor-combo" = callPackage
({ mkDerivation, base, base-orphans, containers, data-inttrie, lub
, type-unary, TypeCompose
@@ -89793,6 +90036,8 @@ self: {
testToolDepends = [ markdown-unlit ];
description = "Handle exceptions thrown in IO with fused-effects";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"fused-effects-lens" = callPackage
@@ -89805,6 +90050,8 @@ self: {
testHaskellDepends = [ base fused-effects hspec microlens ];
description = "Monadic lens combinators for fused-effects";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"fused-effects-random" = callPackage
@@ -89820,6 +90067,8 @@ self: {
];
description = "Random number generation for fused-effects";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"fused-effects-resumable" = callPackage
@@ -89833,6 +90082,8 @@ self: {
];
description = "Resumable exceptions for the fused-effects ecosystem";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"fusion" = callPackage
@@ -89866,8 +90117,8 @@ self: {
}:
mkDerivation {
pname = "futhark";
- version = "0.12.3";
- sha256 = "02ddxa7mkmbwg16ylvjdld85fw479n8jvi21mn7fak7vaqjdd2hw";
+ version = "0.13.1";
+ sha256 = "0h92q21hg3850f7hv5n497mn90dv3hxp8fa3cl29gwkn0pkaz33b";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -90234,6 +90485,34 @@ self: {
broken = true;
}) {};
+ "galois-fft" = callPackage
+ ({ mkDerivation, base, criterion, elliptic-curve, galois-field
+ , pairing, poly, protolude, QuickCheck, quickcheck-instances, tasty
+ , tasty-discover, tasty-hunit, tasty-quickcheck, vector
+ }:
+ mkDerivation {
+ pname = "galois-fft";
+ version = "0.1.0";
+ sha256 = "1qyhx0b0p3avag82g1fdwbiwxdr0npw39k4f2nv0x772rr4h9rz1";
+ libraryHaskellDepends = [
+ base elliptic-curve galois-field poly protolude vector
+ ];
+ testHaskellDepends = [
+ base elliptic-curve galois-field pairing poly protolude QuickCheck
+ quickcheck-instances tasty tasty-discover tasty-hunit
+ tasty-quickcheck vector
+ ];
+ testToolDepends = [ tasty-discover ];
+ benchmarkHaskellDepends = [
+ base criterion elliptic-curve galois-field pairing poly protolude
+ vector
+ ];
+ description = "FFTs over finite fields";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"galois-field" = callPackage
({ mkDerivation, base, criterion, integer-gmp, MonadRandom
, protolude, tasty, tasty-quickcheck, wl-pprint-text
@@ -90505,12 +90784,12 @@ self: {
}) {};
"gasp" = callPackage
- ({ mkDerivation, base, binary, containers }:
+ ({ mkDerivation, base, binary, containers, mtl }:
mkDerivation {
pname = "gasp";
- version = "1.1.0.0";
- sha256 = "1zv7jq60nw2nd0np7xkz83y7jnvnshccz63j0i9bl0d9x1grhzbq";
- libraryHaskellDepends = [ base binary containers ];
+ version = "1.2.0.0";
+ sha256 = "0dq867kgil7xp7wqk8ylmx9ninxrqwc375g5l13iskvyz1li7474";
+ libraryHaskellDepends = [ base binary containers mtl ];
description = "A framework of algebraic classes";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -90640,9 +90919,9 @@ self: {
];
description = "A Haskell binding to a subset of the GD graphics library";
license = stdenv.lib.licenses.bsd3;
- }) {inherit (pkgs) expat; inherit (pkgs) fontconfig;
- inherit (pkgs) freetype; inherit (pkgs) gd;
- inherit (pkgs) libjpeg; inherit (pkgs) libpng;
+ }) {inherit (pkgs) expat; inherit (pkgs) fontconfig;
+ inherit (pkgs) freetype; inherit (pkgs) gd;
+ inherit (pkgs) libjpeg; inherit (pkgs) libpng;
inherit (pkgs) zlib;};
"gdax" = callPackage
@@ -90748,20 +91027,6 @@ self: {
}) {};
"gdp" = callPackage
- ({ mkDerivation, base, lawful }:
- mkDerivation {
- pname = "gdp";
- version = "0.0.0.2";
- sha256 = "1gqs19wjyng0nacwvi7sjxnhnxjy2az0jwjyy6w2r5g4w9dgykr1";
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [ base lawful ];
- executableHaskellDepends = [ base ];
- description = "Reason about invariants and preconditions with ghosts of departed proofs";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "gdp_0_0_3_0" = callPackage
({ mkDerivation, base, lawful }:
mkDerivation {
pname = "gdp";
@@ -90773,7 +91038,6 @@ self: {
executableHaskellDepends = [ base ];
description = "Reason about invariants and preconditions with ghosts of departed proofs";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"gearbox" = callPackage
@@ -91333,14 +91597,14 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "generic-deriving_1_13" = callPackage
+ "generic-deriving_1_13_1" = callPackage
({ mkDerivation, base, containers, ghc-prim, hspec, hspec-discover
, template-haskell, th-abstraction
}:
mkDerivation {
pname = "generic-deriving";
- version = "1.13";
- sha256 = "0k4av4jamgpavn82q54g345la5i2ckfbq2w9nnf2a6vhvk1lnw8g";
+ version = "1.13.1";
+ sha256 = "1glsl15dc40wn1r851bray6i450g82xa2n0q53p1i3p5x903mdg9";
libraryHaskellDepends = [
base containers ghc-prim template-haskell th-abstraction
];
@@ -92578,8 +92842,8 @@ self: {
}:
mkDerivation {
pname = "geoip2";
- version = "0.4.0.0";
- sha256 = "1a2wxblnv611asfwkgm2ndam1jvm2xqajj3rk0ii9qi7j9s5w8v0";
+ version = "0.4.0.1";
+ sha256 = "0q0clfmq7spfplxr6dxhq0d39f5l95yfr87ixnv2cn0ahcx7fpi7";
libraryHaskellDepends = [
base bytestring cereal containers iproute lens mmap
reinterpret-cast text
@@ -92807,6 +93071,8 @@ self: {
];
description = "Github Standard Labeler";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"gh-pocket-knife" = callPackage
@@ -93855,11 +94121,11 @@ self: {
({ mkDerivation, base, bytestring, criterion, text }:
mkDerivation {
pname = "ghc-trace-events";
- version = "0.0.0.1";
- sha256 = "0b9s07wy26f9xswg6ysylpjaa9gv9iqw50n3zqpkj3jr8ah8y3kl";
+ version = "0.1.0";
+ sha256 = "0i68zk3k02f3hp6yvkgmdvdjfm8kgh3pwhr3qff4bc9isfh6qks2";
libraryHaskellDepends = [ base bytestring text ];
benchmarkHaskellDepends = [ base bytestring criterion ];
- description = "Faster replacements for traceEvent and traceMarker";
+ description = "Faster traceEvent and traceMarker, and binary object logging for eventlog";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
@@ -94023,8 +94289,8 @@ self: {
({ mkDerivation, base, directory, ghc, time }:
mkDerivation {
pname = "ghcflags";
- version = "1.0.1";
- sha256 = "1s7xx13ka5jc8c5ga2yzzx3m6l9kn8fjgrfq6g7y6z8kw38590vb";
+ version = "1.0.2";
+ sha256 = "17j7bkx7ki5vqr0a3vl0f0v4l9cz2q7lm9xpkj3144y9sqmiqzy3";
libraryHaskellDepends = [ base directory ghc time ];
description = "Dump the ghc flags during compilation";
license = stdenv.lib.licenses.bsd2;
@@ -94218,6 +94484,33 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "ghcid_0_7_7" = callPackage
+ ({ mkDerivation, ansi-terminal, base, cmdargs, containers
+ , directory, extra, filepath, fsnotify, process, tasty, tasty-hunit
+ , terminal-size, time, unix
+ }:
+ mkDerivation {
+ pname = "ghcid";
+ version = "0.7.7";
+ sha256 = "1qrj6is1f6jnx9m2g7cp2009dik7inzf5yqlvqv4pwzzxp0nhl3a";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ ansi-terminal base cmdargs directory extra filepath process time
+ ];
+ executableHaskellDepends = [
+ ansi-terminal base cmdargs containers directory extra filepath
+ fsnotify process terminal-size time unix
+ ];
+ testHaskellDepends = [
+ ansi-terminal base cmdargs containers directory extra filepath
+ fsnotify process tasty tasty-hunit terminal-size time unix
+ ];
+ description = "GHCi based bare bones IDE";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"ghcide" = callPackage
({ mkDerivation, aeson, async, base, binary, bytestring, containers
, data-default, deepseq, directory, extra, filepath, ghc, ghc-boot
@@ -95929,9 +96222,9 @@ self: {
description = "manage files with git, without checking their contents into git";
license = stdenv.lib.licenses.agpl3;
maintainers = with stdenv.lib.maintainers; [ peti ];
- }) {inherit (pkgs) bup; inherit (pkgs) curl; inherit (pkgs) git;
- inherit (pkgs) gnupg; inherit (pkgs) lsof; inherit (pkgs) openssh;
- inherit (pkgs) perl; inherit (pkgs) rsync; inherit (pkgs) wget;
+ }) {inherit (pkgs) bup; inherit (pkgs) curl; inherit (pkgs) git;
+ inherit (pkgs) gnupg; inherit (pkgs) lsof; inherit (pkgs) openssh;
+ inherit (pkgs) perl; inherit (pkgs) rsync; inherit (pkgs) wget;
inherit (pkgs) which;};
"git-brunch" = callPackage
@@ -95985,8 +96278,8 @@ self: {
}:
mkDerivation {
pname = "git-config";
- version = "0.1.1";
- sha256 = "0vspjqscw02x3hr6n0d0d4kyjfh5lij4wy58fp4z301vmyv77vgl";
+ version = "0.1.2";
+ sha256 = "1kp5yqn7pz5haq41m2za2f3bw0ygf1zlnn3n0b76zh0jbrndgknh";
libraryHaskellDepends = [
base megaparsec text unordered-containers
];
@@ -96395,8 +96688,8 @@ self: {
}:
mkDerivation {
pname = "github";
- version = "0.23";
- sha256 = "1d08m0kajl6zaralz1rbm4miv2a5zrbm6asjyrl75n915l56m9mb";
+ version = "0.24";
+ sha256 = "0jbk34aibm5bqbax8f2sif840f31g81yipnkav96lr4pfdv5b4mr";
libraryHaskellDepends = [
aeson base base-compat base16-bytestring binary binary-instances
bytestring containers cryptohash-sha1 deepseq deepseq-generics
@@ -96760,22 +97053,23 @@ self: {
}) {};
"gitlab-haskell" = callPackage
- ({ mkDerivation, aeson, base, bytestring, connection, http-conduit
- , http-types, optparse-applicative, text, transformers, unliftio
- , unliftio-core
+ ({ mkDerivation, aeson, base, bytestring, connection, directory
+ , filepath, http-conduit, http-types, moss, optparse-applicative
+ , temporary, text, time, transformers, unliftio, unliftio-core
}:
mkDerivation {
pname = "gitlab-haskell";
- version = "0.1.2";
- sha256 = "0m5gxf7799ds3ff46bz7j3rxycwnbaaik7lffyh22ipp3wlxjxpn";
+ version = "0.1.3";
+ sha256 = "12yfq12c6jlkr08x2jhykxdydikf3x4dmkyyn15fxhajqi7f1ka2";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- aeson base bytestring connection http-conduit http-types text
+ aeson base bytestring connection http-conduit http-types text time
transformers unliftio unliftio-core
];
executableHaskellDepends = [
- base http-types optparse-applicative text
+ base bytestring directory filepath http-types moss
+ optparse-applicative temporary text unliftio-core
];
description = "A Haskell library for the GitLab web API";
license = stdenv.lib.licenses.bsd3;
@@ -97785,10 +98079,15 @@ self: {
}:
mkDerivation {
pname = "glpk-hs";
- version = "0.5";
- sha256 = "1scr5iyxn83172g3d7wjww3frcrgk8kh3hzni11qchskllkx0vm3";
+ version = "0.7";
+ sha256 = "0cbdlidq14hmhndlgxid4gdzyg0jlm5habp5389xl3zkbmm2hni9";
+ isLibrary = true;
+ isExecutable = true;
libraryHaskellDepends = [ array base containers deepseq gasp mtl ];
librarySystemDepends = [ glpk ];
+ executableHaskellDepends = [
+ array base containers deepseq gasp mtl
+ ];
description = "Comprehensive GLPK linear programming bindings";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -98011,7 +98310,7 @@ self: {
libraryToolDepends = [ c2hs ];
description = "Bindings for libgnome-keyring";
license = stdenv.lib.licenses.gpl3;
- }) {inherit (pkgs.gnome3) gnome-keyring;
+ }) {inherit (pkgs.gnome3) gnome-keyring;
inherit (pkgs) libgnome-keyring;};
"gnomevfs" = callPackage
@@ -102064,21 +102363,22 @@ self: {
}) {};
"graphql" = callPackage
- ({ mkDerivation, aeson, base, hspec, hspec-expectations
+ ({ mkDerivation, aeson, base, containers, hspec, hspec-expectations
, hspec-megaparsec, megaparsec, raw-strings-qq, text, transformers
, unordered-containers
}:
mkDerivation {
pname = "graphql";
- version = "0.5.1.0";
- sha256 = "0wnn4nhszcciv06h17qkaxn649w48fw876v85934mfbn56fczzdd";
+ version = "0.6.0.0";
+ sha256 = "0gippn2y1ngykfz33825r4r4m5km7m8qch7ijics1q9d1jnszs5a";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
- aeson base megaparsec text transformers unordered-containers
+ aeson base containers megaparsec text transformers
+ unordered-containers
];
testHaskellDepends = [
- aeson base hspec hspec-expectations hspec-megaparsec megaparsec
- raw-strings-qq text transformers unordered-containers
+ aeson base containers hspec hspec-expectations hspec-megaparsec
+ megaparsec raw-strings-qq text transformers unordered-containers
];
description = "Haskell GraphQL implementation";
license = stdenv.lib.licenses.bsd3;
@@ -102121,8 +102421,8 @@ self: {
({ mkDerivation, base, containers, json, text }:
mkDerivation {
pname = "graphql-w-persistent";
- version = "0.6.0.0";
- sha256 = "03m247xmj8gvvjs4bgsc06daz9avklza7ngs575psaqmkpxd8ga3";
+ version = "0.7.0.0";
+ sha256 = "02qbwkbr8hckr6z9ivszdnwlilz7mkh6zinb33s7gas7iwzkf9jc";
libraryHaskellDepends = [ base containers json text ];
description = "GraphQL interface middleware for (SQL) databases";
license = stdenv.lib.licenses.isc;
@@ -102362,7 +102662,7 @@ self: {
executablePkgconfigDepends = [ libXau xcb xdmcp xlibsWrapper ];
description = "Simple clipboard manager to be integrated with rofi";
license = stdenv.lib.licenses.bsd3;
- }) {inherit (pkgs.xorg) libXau; xcb = null; xdmcp = null;
+ }) {inherit (pkgs.xorg) libXau; xcb = null; xdmcp = null;
inherit (pkgs) xlibsWrapper;};
"greg-client" = callPackage
@@ -103731,9 +104031,9 @@ self: {
license = stdenv.lib.licenses.lgpl21;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {inherit (pkgs) gtk2; inherit (pkgs.gnome2) gtkglext;
- inherit (pkgs) libGLU; inherit (pkgs.xorg) libICE;
- inherit (pkgs.xorg) libSM; inherit (pkgs.xorg) libXmu;
+ }) {inherit (pkgs) gtk2; inherit (pkgs.gnome2) gtkglext;
+ inherit (pkgs) libGLU; inherit (pkgs.xorg) libICE;
+ inherit (pkgs.xorg) libSM; inherit (pkgs.xorg) libXmu;
inherit (pkgs.xorg) libXt;};
"gtkimageview" = callPackage
@@ -104121,7 +104421,7 @@ self: {
license = "LGPL";
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {cudd = null; epd = null; inherit (pkgs) mtr;
+ }) {cudd = null; epd = null; inherit (pkgs) mtr;
inherit (pkgs) st; util = null;};
"hCM" = callPackage
@@ -104270,29 +104570,28 @@ self: {
"hOpenPGP" = callPackage
({ mkDerivation, aeson, asn1-encoding, attoparsec, base
- , base16-bytestring, base64-bytestring, bifunctors, binary
- , binary-conduit, bytestring, bzlib, conduit, conduit-extra
- , containers, criterion, crypto-cipher-types, cryptonite, errors
- , hashable, incremental-parser, ixset-typed, lens, memory
- , monad-loops, nettle, network, network-uri, newtype
- , openpgp-asciiarmor, prettyprinter, QuickCheck
- , quickcheck-instances, resourcet, semigroups, split, tasty
- , tasty-hunit, tasty-quickcheck, text, time, time-locale-compat
- , transformers, unliftio-core, unordered-containers, zlib
+ , base16-bytestring, bifunctors, binary, binary-conduit, bytestring
+ , bzlib, conduit, conduit-extra, containers, criterion
+ , crypto-cipher-types, cryptonite, errors, hashable
+ , incremental-parser, ixset-typed, lens, memory, monad-loops
+ , nettle, network, network-uri, newtype, openpgp-asciiarmor
+ , prettyprinter, QuickCheck, quickcheck-instances, resourcet
+ , semigroups, split, tasty, tasty-hunit, tasty-quickcheck, text
+ , time, time-locale-compat, transformers, unliftio-core
+ , unordered-containers, zlib
}:
mkDerivation {
pname = "hOpenPGP";
- version = "2.8";
- sha256 = "1n6cpwgg934ii3b4ap2gp347q3k4b64dc9x37d4bj51hs6910pmw";
- libraryHaskellDepends = [
- aeson asn1-encoding attoparsec base base16-bytestring
- base64-bytestring bifunctors binary binary-conduit bytestring bzlib
- conduit conduit-extra containers crypto-cipher-types cryptonite
- errors hashable incremental-parser ixset-typed lens memory
- monad-loops nettle network-uri newtype openpgp-asciiarmor
- prettyprinter resourcet semigroups split text time
- time-locale-compat transformers unliftio-core unordered-containers
- zlib
+ version = "2.8.4";
+ sha256 = "0vvr86y29ncgs3j2hd5qhsxix09jf01ah8qqq6n12zsh484cr127";
+ libraryHaskellDepends = [
+ aeson asn1-encoding attoparsec base base16-bytestring bifunctors
+ binary binary-conduit bytestring bzlib conduit conduit-extra
+ containers crypto-cipher-types cryptonite errors hashable
+ incremental-parser ixset-typed lens memory monad-loops nettle
+ network-uri newtype openpgp-asciiarmor prettyprinter resourcet
+ semigroups split text time time-locale-compat transformers
+ unliftio-core unordered-containers zlib
];
testHaskellDepends = [
aeson asn1-encoding attoparsec base base16-bytestring bifunctors
@@ -104305,16 +104604,68 @@ self: {
unliftio-core unordered-containers zlib
];
benchmarkHaskellDepends = [
- aeson base base16-bytestring base64-bytestring bifunctors binary
- binary-conduit bytestring bzlib conduit conduit-extra containers
- criterion crypto-cipher-types cryptonite errors hashable
+ aeson base base16-bytestring bifunctors binary binary-conduit
+ bytestring bzlib conduit conduit-extra containers criterion
+ crypto-cipher-types cryptonite errors hashable incremental-parser
+ ixset-typed lens memory monad-loops nettle network network-uri
+ newtype openpgp-asciiarmor prettyprinter resourcet semigroups split
+ text time time-locale-compat transformers unliftio-core
+ unordered-containers zlib
+ ];
+ description = "native Haskell implementation of OpenPGP (RFC4880)";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "hOpenPGP_2_8_5" = callPackage
+ ({ mkDerivation, aeson, asn1-encoding, attoparsec, base
+ , base16-bytestring, bifunctors, binary, binary-conduit, bytestring
+ , bzlib, conduit, conduit-extra, containers, criterion
+ , crypto-cipher-types, cryptonite, errors, hashable
+ , incremental-parser, ixset-typed, lens, memory, monad-loops
+ , nettle, network, network-uri, newtype, openpgp-asciiarmor
+ , prettyprinter, QuickCheck, quickcheck-instances, resourcet
+ , semigroups, split, tasty, tasty-hunit, tasty-quickcheck, text
+ , time, time-locale-compat, transformers, unliftio-core
+ , unordered-containers, zlib
+ }:
+ mkDerivation {
+ pname = "hOpenPGP";
+ version = "2.8.5";
+ sha256 = "1d5cmgj3rg8snc2b5jn9h7hb83j2hhf0c9shiiyrpr8rrl4hx2mj";
+ libraryHaskellDepends = [
+ aeson asn1-encoding attoparsec base base16-bytestring bifunctors
+ binary binary-conduit bytestring bzlib conduit conduit-extra
+ containers crypto-cipher-types cryptonite errors hashable
+ incremental-parser ixset-typed lens memory monad-loops nettle
+ network-uri newtype openpgp-asciiarmor prettyprinter resourcet
+ semigroups split text time time-locale-compat transformers
+ unliftio-core unordered-containers zlib
+ ];
+ testHaskellDepends = [
+ aeson asn1-encoding attoparsec base base16-bytestring bifunctors
+ binary binary-conduit bytestring bzlib conduit conduit-extra
+ containers crypto-cipher-types cryptonite errors hashable
incremental-parser ixset-typed lens memory monad-loops nettle
- network network-uri newtype openpgp-asciiarmor prettyprinter
- resourcet semigroups split text time time-locale-compat
- transformers unliftio-core unordered-containers zlib
+ network network-uri newtype prettyprinter QuickCheck
+ quickcheck-instances resourcet semigroups split tasty tasty-hunit
+ tasty-quickcheck text time time-locale-compat transformers
+ unliftio-core unordered-containers zlib
+ ];
+ benchmarkHaskellDepends = [
+ aeson base base16-bytestring bifunctors binary binary-conduit
+ bytestring bzlib conduit conduit-extra containers criterion
+ crypto-cipher-types cryptonite errors hashable incremental-parser
+ ixset-typed lens memory monad-loops nettle network network-uri
+ newtype openpgp-asciiarmor prettyprinter resourcet semigroups split
+ text time time-locale-compat transformers unliftio-core
+ unordered-containers zlib
];
description = "native Haskell implementation of OpenPGP (RFC4880)";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"hPDB" = callPackage
@@ -105253,6 +105604,34 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "hackage-security_0_6_0_0" = callPackage
+ ({ mkDerivation, aeson, base, base16-bytestring, base64-bytestring
+ , bytestring, Cabal, containers, cryptohash-sha256, directory
+ , ed25519, filepath, ghc-prim, lukko, mtl, network, network-uri
+ , parsec, pretty, QuickCheck, tar, tasty, tasty-hunit
+ , tasty-quickcheck, template-haskell, temporary, time, transformers
+ , unordered-containers, vector, zlib
+ }:
+ mkDerivation {
+ pname = "hackage-security";
+ version = "0.6.0.0";
+ sha256 = "1y9vs30y474ri8b9jqkbwfkcfh7p7jaafzwxina9z0xl32d0bn1c";
+ libraryHaskellDepends = [
+ base base16-bytestring base64-bytestring bytestring Cabal
+ containers cryptohash-sha256 directory ed25519 filepath ghc-prim
+ lukko mtl network network-uri parsec pretty tar template-haskell
+ time transformers zlib
+ ];
+ testHaskellDepends = [
+ aeson base bytestring Cabal containers network-uri QuickCheck tar
+ tasty tasty-hunit tasty-quickcheck temporary time
+ unordered-containers vector zlib
+ ];
+ description = "Hackage security library";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"hackage-security-HTTP" = callPackage
({ mkDerivation, base, bytestring, hackage-security, HTTP, mtl
, network, network-uri, zlib
@@ -105729,8 +106108,8 @@ self: {
}:
mkDerivation {
pname = "hadolint";
- version = "1.17.2";
- sha256 = "0s9q0016j3y56sblkq12mai1j58h8w8cy8k2x1bzvhb95zpg1va9";
+ version = "1.17.3";
+ sha256 = "00lyf2m6q866383q79b705xhn987504wz3fp3zh7m8580v8phy5p";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -106484,8 +106863,6 @@ self: {
];
description = "Hakyll utilities to work with images";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"hakyll-ogmarkup" = callPackage
@@ -107511,8 +107888,8 @@ self: {
}:
mkDerivation {
pname = "happstack-authenticate";
- version = "2.4.0";
- sha256 = "1q4k8x6mwh9g7y5njcjd1xyn79yjnjv01nk4xa5q9yspmsa4685m";
+ version = "2.4.0.2";
+ sha256 = "16f4rs4h3lznkci5axibliiwfr3vrm03arxcjfjiv6mypkcpnp2r";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
acid-state aeson authenticate base base64-bytestring boomerang
@@ -107771,8 +108148,8 @@ self: {
}:
mkDerivation {
pname = "happstack-hsp";
- version = "7.3.7.3";
- sha256 = "0m7psd6dg33xijshs3dxz2xrqghmpbs402h67b52pkqsk5nmy633";
+ version = "7.3.7.4";
+ sha256 = "188fqqpq7m921qkfv2b64pikcx8zzsy376l4py4wxlkabl7fkydr";
libraryHaskellDepends = [
base bytestring happstack-server harp hsp hsx2hs mtl syb text
utf8-string
@@ -107827,8 +108204,8 @@ self: {
}:
mkDerivation {
pname = "happstack-jmacro";
- version = "7.0.12.1";
- sha256 = "0bx2wa0pdj73f11xhkk0qq3k8zwh6ccc3kqli9q59617s05wq6zz";
+ version = "7.0.12.2";
+ sha256 = "0zgmh75z59g6hs8n924sbnhswjdd6b947ywiird2a3y6d2zwqj3v";
libraryHaskellDepends = [
base base64-bytestring bytestring cereal digest happstack-server
jmacro text utf8-string wl-pprint-text
@@ -108408,8 +108785,8 @@ self: {
({ mkDerivation, base }:
mkDerivation {
pname = "harp";
- version = "0.4.3.2";
- sha256 = "1abyfsr0ya7j0s6znixhfhsr9mlmcg16rg5d9909b0xr896bkbn6";
+ version = "0.4.3.3";
+ sha256 = "16bmv3ymiiyvy65vf4s5h4fhp6q5hrw40xfdba4yarwgpbm0frm2";
libraryHaskellDepends = [ base ];
description = "HaRP allows pattern-matching with regular expressions";
license = stdenv.lib.licenses.bsd3;
@@ -108501,6 +108878,27 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "hasbolt_0_1_3_6" = callPackage
+ ({ mkDerivation, base, binary, bytestring, connection, containers
+ , data-binary-ieee754, data-default, hex, hspec, mtl, network
+ , QuickCheck, text
+ }:
+ mkDerivation {
+ pname = "hasbolt";
+ version = "0.1.3.6";
+ sha256 = "0sgxvgvxqykslbjslrb5mzmaaar4nbc59p94qhk7rzbjsas01vp2";
+ libraryHaskellDepends = [
+ base binary bytestring connection containers data-binary-ieee754
+ data-default mtl network text
+ ];
+ testHaskellDepends = [
+ base bytestring containers hex hspec QuickCheck text
+ ];
+ description = "Haskell driver for Neo4j 3+ (BOLT protocol)";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"hasbolt-extras" = callPackage
({ mkDerivation, aeson, aeson-casing, base, bytestring, containers
, data-default, doctest, free, hasbolt, lens, mtl
@@ -109485,23 +109883,24 @@ self: {
"haskell-ci" = callPackage
({ mkDerivation, aeson, ansi-terminal, base, base-compat
- , bytestring, Cabal, containers, deepseq, Diff, directory
- , exceptions, filepath, generic-lens, HsYAML, lattices, microlens
- , mtl, network-uri, optparse-applicative, parsec, pretty, process
- , ShellCheck, tasty, tasty-golden, temporary, text, transformers
- , unordered-containers
+ , bytestring, Cabal, cabal-install-parsers, containers, deepseq
+ , Diff, directory, exceptions, filepath, generic-lens, HsYAML
+ , lattices, microlens, mtl, network-uri, optparse-applicative
+ , parsec, pretty, process, ShellCheck, tasty, tasty-golden
+ , temporary, text, transformers, unordered-containers
}:
mkDerivation {
pname = "haskell-ci";
- version = "0.6";
- sha256 = "1g9zfdw4z00sbh3mkaz2hzn09hjlawkb7h67mqn4qsdjw6dbwaab";
+ version = "0.8";
+ sha256 = "1wm5fs8fdy85lvjyy9n0yh66ax6bs0ll4gq7d8ba0ibsp69g6pm3";
isLibrary = false;
isExecutable = true;
libraryHaskellDepends = [
- aeson base base-compat bytestring Cabal containers deepseq
- directory exceptions filepath generic-lens HsYAML lattices
- microlens mtl network-uri optparse-applicative parsec pretty
- process ShellCheck temporary text transformers unordered-containers
+ aeson base base-compat bytestring Cabal cabal-install-parsers
+ containers deepseq directory exceptions filepath generic-lens
+ HsYAML lattices microlens mtl network-uri optparse-applicative
+ parsec pretty process ShellCheck temporary text transformers
+ unordered-containers
];
executableHaskellDepends = [ base ];
testHaskellDepends = [
@@ -109511,7 +109910,8 @@ self: {
doHaddock = false;
description = "Cabal package script generator for Travis-CI";
license = stdenv.lib.licenses.gpl3Plus;
- maintainers = with stdenv.lib.maintainers; [ peti ];
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"haskell-cnc" = callPackage
@@ -110051,7 +110451,7 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
- "haskell-lsp_0_17_0_0" = callPackage
+ "haskell-lsp_0_18_0_0" = callPackage
({ mkDerivation, aeson, async, attoparsec, base, bytestring
, containers, data-default, directory, filepath, hashable
, haskell-lsp-types, hslogger, hspec, hspec-discover, lens, mtl
@@ -110060,8 +110460,8 @@ self: {
}:
mkDerivation {
pname = "haskell-lsp";
- version = "0.17.0.0";
- sha256 = "17c95ndm6jadab04q707pmv6x9cwshk463c8gc9ai0m7763win7x";
+ version = "0.18.0.0";
+ sha256 = "0q9xpjgr3n7svhd9f7mmkw113avswvfm08fnbijdr1sblipd12sl";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -110120,15 +110520,15 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
- "haskell-lsp-types_0_17_0_0" = callPackage
+ "haskell-lsp-types_0_18_0_0" = callPackage
({ mkDerivation, aeson, base, bytestring, data-default, deepseq
, filepath, hashable, lens, network-uri, scientific, text
, unordered-containers
}:
mkDerivation {
pname = "haskell-lsp-types";
- version = "0.17.0.0";
- sha256 = "03i3s7f82imv4ysclhjv07mcs0dl3m5nmjxmfa5wafircai4yi3p";
+ version = "0.18.0.0";
+ sha256 = "1ypa3gxxcg7dl905d4nprcqzw2fcl7z7xy1hpg5har1dw3w9fyiq";
libraryHaskellDepends = [
aeson base bytestring data-default deepseq filepath hashable lens
network-uri scientific text unordered-containers
@@ -110772,14 +111172,14 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "haskell-src-meta_0_8_4" = callPackage
+ "haskell-src-meta_0_8_5" = callPackage
({ mkDerivation, base, containers, haskell-src-exts, HUnit, pretty
, syb, tasty, tasty-hunit, template-haskell, th-orphans
}:
mkDerivation {
pname = "haskell-src-meta";
- version = "0.8.4";
- sha256 = "18zcsaz9cb65rpyxmxrs30vqmdighc4flyfv8ix623nlq247drsn";
+ version = "0.8.5";
+ sha256 = "1csqp3n7330rhia9msyw34z7qwwj64gdy5qlv8w4jbm49dap24ik";
libraryHaskellDepends = [
base haskell-src-exts pretty syb template-haskell th-orphans
];
@@ -112108,6 +112508,8 @@ self: {
testToolDepends = [ hspec-discover ];
description = "Bitcoin & Bitcoin Cash library for Haskell";
license = stdenv.lib.licenses.publicDomain;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"haskoin-crypto" = callPackage
@@ -113406,21 +113808,21 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
- "hasql-transaction_1" = callPackage
+ "hasql-transaction_1_0_0_1" = callPackage
({ mkDerivation, async, base, bytestring, bytestring-tree-builder
, contravariant, contravariant-extras, hasql, mtl, rebase
, transformers
}:
mkDerivation {
pname = "hasql-transaction";
- version = "1";
- sha256 = "1k82b0bx4j2g7lhr2p4z4a365kx1i23dr6zikwg1yyhpvhl3xbcj";
+ version = "1.0.0.1";
+ sha256 = "0jfvabsjpj56piny41hzbblhprjsk5xkpk35x502q2isl2mkk5ql";
libraryHaskellDepends = [
base bytestring bytestring-tree-builder contravariant
contravariant-extras hasql mtl transformers
];
testHaskellDepends = [ async hasql rebase ];
- description = "A composable abstraction over the retryable transactions for Hasql";
+ description = "Composable abstraction over retryable transactions for Hasql";
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
@@ -114609,21 +115011,6 @@ self: {
}) {bluetooth = null; inherit (pkgs) cwiid;};
"hdaemonize" = callPackage
- ({ mkDerivation, base, bytestring, extensible-exceptions, filepath
- , hsyslog, mtl, unix
- }:
- mkDerivation {
- pname = "hdaemonize";
- version = "0.5.5";
- sha256 = "17q2zr9bv6xwnldgbsh1idwfgybp8q4xzq79p2lmmi3f0q6cnl6j";
- libraryHaskellDepends = [
- base bytestring extensible-exceptions filepath hsyslog mtl unix
- ];
- description = "Library to handle the details of writing daemons for UNIX";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "hdaemonize_0_5_6" = callPackage
({ mkDerivation, base, bytestring, extensible-exceptions, filepath
, hsyslog, mtl, unix
}:
@@ -114636,7 +115023,6 @@ self: {
];
description = "Library to handle the details of writing daemons for UNIX";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"hdaemonize-buildfix" = callPackage
@@ -115109,6 +115495,21 @@ self: {
broken = true;
}) {};
+ "headed-megaparsec" = callPackage
+ ({ mkDerivation, base, case-insensitive, megaparsec
+ , parser-combinators, selective
+ }:
+ mkDerivation {
+ pname = "headed-megaparsec";
+ version = "0.1.0.2";
+ sha256 = "0npkkphm4gv7cgm08asr5qxjyk6jdbm4h4w0jwsvxzpxh3nfxgbr";
+ libraryHaskellDepends = [
+ base case-insensitive megaparsec parser-combinators selective
+ ];
+ description = "More informative parser";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"headergen" = callPackage
({ mkDerivation, aeson, aeson-pretty, base, bytestring, directory
, filepath, haskeline, time
@@ -115527,6 +115928,25 @@ self: {
broken = true;
}) {};
+ "hedgehog-golden" = callPackage
+ ({ mkDerivation, aeson, aeson-pretty, base, bytestring, containers
+ , Diff, directory, extra, hedgehog, text
+ }:
+ mkDerivation {
+ pname = "hedgehog-golden";
+ version = "1.0.0";
+ sha256 = "17ja3ch042kvk0fpd1gd9nnj9x5jbl37vxn579hr9rimwgf99az7";
+ libraryHaskellDepends = [
+ aeson aeson-pretty base bytestring containers Diff directory extra
+ hedgehog text
+ ];
+ testHaskellDepends = [ base hedgehog ];
+ description = "Golden testing capabilities for hedgehog using Aeson";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"hedgehog-quickcheck" = callPackage
({ mkDerivation, base, hedgehog, QuickCheck, transformers }:
mkDerivation {
@@ -115905,7 +116325,7 @@ self: {
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {newrelic-collector-client = null; newrelic-common = null;
+ }) {newrelic-collector-client = null; newrelic-common = null;
newrelic-transaction = null;};
"helics-wai" = callPackage
@@ -117308,7 +117728,7 @@ self: {
description = "File/folder watching for OS X";
license = stdenv.lib.licenses.bsd3;
platforms = [ "x86_64-darwin" ];
- }) {inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa;
+ }) {inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa;
inherit (pkgs.darwin.apple_sdk.frameworks) CoreServices;};
"hfusion" = callPackage
@@ -118880,20 +119300,22 @@ self: {
}) {};
"hip" = callPackage
- ({ mkDerivation, base, bytestring, Chart, Chart-diagrams, colour
- , criterion, deepseq, directory, filepath, hspec, JuicyPixels
- , netpbm, primitive, process, QuickCheck, repa, repa-algorithms
- , temporary, vector
+ ({ mkDerivation, array, base, bytestring, Chart, Chart-diagrams
+ , colour, criterion, deepseq, directory, filepath, hspec
+ , hspec-discover, JuicyPixels, netpbm, primitive, process
+ , QuickCheck, random, repa, repa-algorithms, temporary, vector
}:
mkDerivation {
pname = "hip";
- version = "1.5.3.0";
- sha256 = "07jgqz5dz8qk96xz0q92hpn172jaqivfmn0mrynhicmvkx7a7izr";
+ version = "1.5.4.0";
+ sha256 = "09vv9zshgy6g9333pyny5lcja8662rxnldg1m0vvfiywcjafbn14";
libraryHaskellDepends = [
- base bytestring Chart Chart-diagrams colour deepseq directory
- filepath JuicyPixels netpbm primitive process repa temporary vector
+ array base bytestring Chart Chart-diagrams colour deepseq directory
+ filepath JuicyPixels netpbm primitive process random repa temporary
+ vector
];
testHaskellDepends = [ base bytestring hspec QuickCheck ];
+ testToolDepends = [ hspec-discover ];
benchmarkHaskellDepends = [
base criterion deepseq repa repa-algorithms vector
];
@@ -120183,6 +120605,8 @@ self: {
pname = "hlrdb";
version = "0.3.0.0";
sha256 = "0pc3hqi6v9b78fijisnarfs59w6mw8jgyww25r1wmblgwyakl5ab";
+ revision = "1";
+ editedCabalFile = "1ycglx3b5n1l97pq0rd50wd313gwz1is10snf8s0c9bjlrzspbn5";
libraryHaskellDepends = [
base base64-bytestring bytestring cryptonite hashable hedis
hlrdb-core memory random store time unordered-containers
@@ -122280,6 +122704,40 @@ self: {
broken = true;
}) {};
+ "hopenpgp-tools_0_22" = callPackage
+ ({ mkDerivation, aeson, alex, array, attoparsec, base
+ , base16-bytestring, binary, binary-conduit, bytestring, conduit
+ , conduit-extra, containers, crypto-pubkey, cryptohash, cryptonite
+ , directory, errors, fgl, graphviz, happy, hOpenPGP, http-client
+ , http-client-tls, http-types, ixset-typed, lens, monad-loops, mtl
+ , openpgp-asciiarmor, optparse-applicative, prettyprinter
+ , prettyprinter-ansi-terminal, prettyprinter-convert-ansi-wl-pprint
+ , resourcet, text, time, time-locale-compat, transformers
+ , unordered-containers, vector, yaml
+ }:
+ mkDerivation {
+ pname = "hopenpgp-tools";
+ version = "0.22";
+ sha256 = "1rcjwbnns5fj8x9sgyjlpjda2srmcixvdlmia4nid5nq01clc0c4";
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [
+ aeson array attoparsec base base16-bytestring binary binary-conduit
+ bytestring conduit conduit-extra containers crypto-pubkey
+ cryptohash cryptonite directory errors fgl graphviz hOpenPGP
+ http-client http-client-tls http-types ixset-typed lens monad-loops
+ mtl openpgp-asciiarmor optparse-applicative prettyprinter
+ prettyprinter-ansi-terminal prettyprinter-convert-ansi-wl-pprint
+ resourcet text time time-locale-compat transformers
+ unordered-containers vector yaml
+ ];
+ executableToolDepends = [ alex happy ];
+ description = "hOpenPGP-based command-line tools";
+ license = stdenv.lib.licenses.agpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"hopenssl" = callPackage
({ mkDerivation, base, bytestring, HUnit, openssl }:
mkDerivation {
@@ -122786,7 +123244,7 @@ self: {
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {inherit (pkgs) freeglut; inherit (pkgs) libGL;
+ }) {inherit (pkgs) freeglut; inherit (pkgs) libGL;
inherit (pkgs) libGLU;};
"hp2any-manager" = callPackage
@@ -123757,8 +124215,8 @@ self: {
}:
mkDerivation {
pname = "hreq-client";
- version = "0.1.0.0";
- sha256 = "0slvpkypfxk4szrls0jsbjn00izgslskzixn9i2fq108wadm0b1b";
+ version = "0.1.1.0";
+ sha256 = "0bx4vhvwh4arkp5ly6clj55dmai3npl2p87l64radhyqr9z0il24";
isLibrary = true;
isExecutable = true;
setupHaskellDepends = [ base Cabal cabal-doctest ];
@@ -123774,6 +124232,8 @@ self: {
testToolDepends = [ hspec-discover ];
description = "A Type dependent Highlevel HTTP client library";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"hreq-conduit" = callPackage
@@ -123798,6 +124258,8 @@ self: {
testToolDepends = [ hspec-discover markdown-unlit ];
description = "Conduit streaming support for Hreq";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"hreq-core" = callPackage
@@ -123808,8 +124270,8 @@ self: {
}:
mkDerivation {
pname = "hreq-core";
- version = "0.1.0.0";
- sha256 = "0ndbwdfcs89n8k96h2piw9n2hs0dbpp8vr7kpzdavaji0jzg0w20";
+ version = "0.1.1.0";
+ sha256 = "0lc1bc3kr3j6rkrz9w0s5aqb5bb60xhafg1v02n7vcyishdh2iwl";
setupHaskellDepends = [ base Cabal cabal-doctest ];
libraryHaskellDepends = [
aeson attoparsec base base-compat bytestring containers exceptions
@@ -123818,6 +124280,8 @@ self: {
testHaskellDepends = [ base doctest ];
description = "Core functionality for Hreq Http client library";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"hrfsize" = callPackage
@@ -123962,7 +124426,7 @@ self: {
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {brotlidec = null; brotlienc = null; libbrotlidec = null;
+ }) {brotlidec = null; brotlienc = null; libbrotlidec = null;
libbrotlienc = null;};
"hs-captcha" = callPackage
@@ -126154,7 +126618,7 @@ self: {
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {inherit (pkgs) blas; inherit (pkgs) gsl;
+ }) {inherit (pkgs) blas; inherit (pkgs) gsl;
inherit (pkgs) liblapack;};
"hsilop" = callPackage
@@ -126224,8 +126688,8 @@ self: {
}:
mkDerivation {
pname = "hsinspect";
- version = "0.0.7";
- sha256 = "0vwhxlycvmyczd412llpsjfl63f58bz4ad4fbhiiqw754d7qwaka";
+ version = "0.0.8";
+ sha256 = "1lqczihv7qjh1yy51qds4sg95riwaq1i0fd9mgn3kvhgbyx1r9nn";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -126537,10 +127001,10 @@ self: {
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {GraphicsMagick = null; inherit (pkgs) bzip2; freetype2 = null;
- inherit (pkgs) jasper; inherit (pkgs) lcms;
- inherit (pkgs) libjpeg; inherit (pkgs) libpng;
- inherit (pkgs) libxml2; tiff = null; wmflite = null;
+ }) {GraphicsMagick = null; inherit (pkgs) bzip2; freetype2 = null;
+ inherit (pkgs) jasper; inherit (pkgs) lcms;
+ inherit (pkgs) libjpeg; inherit (pkgs) libpng;
+ inherit (pkgs) libxml2; tiff = null; wmflite = null;
inherit (pkgs) zlib;};
"hsmisc" = callPackage
@@ -126887,6 +127351,17 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "hspec-bracket" = callPackage
+ ({ mkDerivation, base, hspec }:
+ mkDerivation {
+ pname = "hspec-bracket";
+ version = "0.0.1.0";
+ sha256 = "1d6262frfaghmq77nqsvcalm6w4jl7bn995bkphx461skhm8n300";
+ libraryHaskellDepends = [ base hspec ];
+ description = "The bracket definitions for Hspec";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"hspec-checkers" = callPackage
({ mkDerivation, base, checkers, hspec }:
mkDerivation {
@@ -128382,7 +128857,7 @@ self: {
license = "GPL";
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {inherit (pkgs) ncurses; inherit (pkgs) readline;
+ }) {inherit (pkgs) ncurses; inherit (pkgs) readline;
swipl = null;};
"hsx" = callPackage
@@ -128436,8 +128911,8 @@ self: {
}:
mkDerivation {
pname = "hsx2hs";
- version = "0.14.1.5";
- sha256 = "0cw66j3firzgg5c7689y0kffgfq36yn4y17yprbbgv6kw4g7wid4";
+ version = "0.14.1.6";
+ sha256 = "09qynnmy5pq7yl8zic91wysrvjb1a1ibcjc9ry458wgbz236br4n";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -129184,35 +129659,6 @@ self: {
}) {};
"http-api-data" = callPackage
- ({ mkDerivation, attoparsec, attoparsec-iso8601, base, base-compat
- , bytestring, Cabal, cabal-doctest, containers, cookie, directory
- , doctest, filepath, hashable, hspec, hspec-discover, http-types
- , HUnit, nats, QuickCheck, quickcheck-instances, tagged, text
- , time-compat, unordered-containers, uuid-types
- }:
- mkDerivation {
- pname = "http-api-data";
- version = "0.4.1";
- sha256 = "1ps4bvln43gz72dr9mc3c9n1rn38c4rz6m49vxzz9nz6jz1978rv";
- revision = "2";
- editedCabalFile = "14gvcqdxxs9s74r73i5f5g2819dfyp05m0p4s729ynwm7c20fzfs";
- setupHaskellDepends = [ base Cabal cabal-doctest ];
- libraryHaskellDepends = [
- attoparsec attoparsec-iso8601 base base-compat bytestring
- containers cookie hashable http-types tagged text time-compat
- unordered-containers uuid-types
- ];
- testHaskellDepends = [
- base base-compat bytestring cookie directory doctest filepath hspec
- HUnit nats QuickCheck quickcheck-instances text time-compat
- unordered-containers uuid-types
- ];
- testToolDepends = [ hspec-discover ];
- description = "Converting to/from HTTP API data like URL pieces, headers and query parameters";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "http-api-data_0_4_1_1" = callPackage
({ mkDerivation, attoparsec, attoparsec-iso8601, base, base-compat
, bytestring, containers, cookie, hashable, hspec, hspec-discover
, http-types, HUnit, nats, QuickCheck, quickcheck-instances, tagged
@@ -129235,7 +129681,6 @@ self: {
testToolDepends = [ hspec-discover ];
description = "Converting to/from HTTP API data like URL pieces, headers and query parameters";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"http-attoparsec" = callPackage
@@ -130377,6 +130822,8 @@ self: {
];
description = "Encoders based on `proto3-wire` for gRPC over HTTP2";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"http2-grpc-types" = callPackage
@@ -131310,6 +131757,29 @@ self: {
broken = true;
}) {};
+ "hw-bits_0_7_0_9" = callPackage
+ ({ mkDerivation, base, bytestring, criterion, deepseq, hedgehog
+ , hspec, hspec-discover, hw-hspec-hedgehog, hw-int, hw-prim
+ , hw-string-parse, vector
+ }:
+ mkDerivation {
+ pname = "hw-bits";
+ version = "0.7.0.9";
+ sha256 = "0k10r3xyk030h4j9mv7wksglwqm5i3jhfzm7fy6qw0ddqp59nynq";
+ libraryHaskellDepends = [
+ base bytestring deepseq hw-int hw-prim hw-string-parse vector
+ ];
+ testHaskellDepends = [
+ base bytestring hedgehog hspec hw-hspec-hedgehog hw-prim vector
+ ];
+ testToolDepends = [ hspec-discover ];
+ benchmarkHaskellDepends = [ base criterion vector ];
+ description = "Bit manipulation";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"hw-ci-assist" = callPackage
({ mkDerivation, base, hedgehog, hspec, hspec-discover, hw-hedgehog
, hw-hspec-hedgehog, optparse-applicative
@@ -131546,6 +132016,8 @@ self: {
pname = "hw-eliasfano";
version = "0.1.1.1";
sha256 = "0fmbcddw13m49xvw8gnpjh246mw4k9h3hr94k956bi1vdvywyqv7";
+ revision = "1";
+ editedCabalFile = "1i5in5h9jnx4p873qv80jmdd1ak6yyyf70002j3lhxyaxx9byy7k";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -132094,8 +132566,8 @@ self: {
}:
mkDerivation {
pname = "hw-prim";
- version = "0.6.2.38";
- sha256 = "0669dkpwax4nh66c2ll4lb0fvzqhvpvirwnbzzskvykqkq1sj3kr";
+ version = "0.6.2.39";
+ sha256 = "06f4ygwmfb3ambzw972cninj9v0i7pir97qq0832a1mb19h4222g";
libraryHaskellDepends = [
base bytestring deepseq ghc-prim mmap semigroups transformers
unliftio-core vector
@@ -132388,25 +132860,26 @@ self: {
}:
mkDerivation {
pname = "hw-xml";
- version = "0.4.0.2";
- sha256 = "122viqivv2csgrv144xc88xhafiq5vcsy545jpmg052d3kg1x4g2";
+ version = "0.5.0.0";
+ sha256 = "0cqrs19bd9yh67yczhhb1yf5dhcx2v6xikybd88vqwxdh51pxyyn";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
libraryHaskellDepends = [
ansi-wl-pprint array attoparsec base bytestring cereal containers
deepseq ghc-prim hw-balancedparens hw-bits hw-parser hw-prim
- hw-rankselect hw-rankselect-base lens mmap mtl resourcet
+ hw-rankselect hw-rankselect-base lens mmap mtl resourcet text
transformers vector word8
];
executableHaskellDepends = [
- attoparsec base bytestring generic-lens hw-balancedparens hw-bits
- hw-prim hw-rankselect lens mmap mtl optparse-applicative resourcet
- text vector
+ attoparsec base bytestring deepseq generic-lens hw-balancedparens
+ hw-bits hw-prim hw-rankselect lens mmap mtl optparse-applicative
+ resourcet text vector
];
testHaskellDepends = [
attoparsec base bytestring hedgehog hspec hw-balancedparens hw-bits
- hw-hspec-hedgehog hw-prim hw-rankselect hw-rankselect-base vector
+ hw-hspec-hedgehog hw-prim hw-rankselect hw-rankselect-base text
+ vector
];
testToolDepends = [ hspec-discover ];
benchmarkHaskellDepends = [
@@ -136173,6 +136646,26 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "inflections_0_4_0_5" = callPackage
+ ({ mkDerivation, base, containers, exceptions, hspec
+ , hspec-megaparsec, megaparsec, QuickCheck, text
+ , unordered-containers
+ }:
+ mkDerivation {
+ pname = "inflections";
+ version = "0.4.0.5";
+ sha256 = "0fdq3iwa2vgb5k19ck6jxzh7f1xsf1kpwx4p3agpdpsrylrcanvb";
+ libraryHaskellDepends = [
+ base exceptions megaparsec text unordered-containers
+ ];
+ testHaskellDepends = [
+ base containers hspec hspec-megaparsec megaparsec QuickCheck text
+ ];
+ description = "Inflections library for Haskell";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"inflist" = callPackage
({ mkDerivation, base, QuickCheck }:
mkDerivation {
@@ -136415,16 +136908,16 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
- "inline-c_0_8_0_1" = callPackage
+ "inline-c_0_9_0_0" = callPackage
({ mkDerivation, ansi-wl-pprint, base, bytestring, containers
, hashable, hspec, mtl, parsec, parsers, QuickCheck, raw-strings-qq
- , regex-posix, template-haskell, transformers, unordered-containers
- , vector
+ , regex-posix, split, template-haskell, transformers
+ , unordered-containers, vector
}:
mkDerivation {
pname = "inline-c";
- version = "0.8.0.1";
- sha256 = "1w8njc8k1g8kmpk8c8q5p7m8adgpv5v4k4643hsi5422jdaq0g3i";
+ version = "0.9.0.0";
+ sha256 = "086kqca1vcxhi7wdzmdv3rjwh9k50k3wj4rzig1yjz3x12d0h6q6";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -136433,7 +136926,7 @@ self: {
];
testHaskellDepends = [
ansi-wl-pprint base containers hashable hspec parsers QuickCheck
- raw-strings-qq regex-posix template-haskell transformers
+ raw-strings-qq regex-posix split template-haskell transformers
unordered-containers vector
];
description = "Write Haskell source files including C code inline. No FFI required.";
@@ -136470,6 +136963,25 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "inline-c-cpp_0_4_0_0" = callPackage
+ ({ mkDerivation, base, containers, hspec, inline-c, safe-exceptions
+ , template-haskell
+ }:
+ mkDerivation {
+ pname = "inline-c-cpp";
+ version = "0.4.0.0";
+ sha256 = "10d0yxs3jfkws440wzxrzwcyxjszv8c3f45hbfmj5ln0b0hpfrq0";
+ libraryHaskellDepends = [
+ base containers inline-c safe-exceptions template-haskell
+ ];
+ testHaskellDepends = [
+ base containers hspec inline-c safe-exceptions
+ ];
+ description = "Lets you embed C++ code into Haskell";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"inline-c-win32" = callPackage
({ mkDerivation, base, containers, inline-c, template-haskell
, Win32
@@ -136575,6 +137087,30 @@ self: {
}) {aether = null;};
"insert-ordered-containers" = callPackage
+ ({ mkDerivation, aeson, base, base-compat, hashable, lens
+ , QuickCheck, semigroupoids, semigroups, tasty, tasty-quickcheck
+ , text, transformers, unordered-containers
+ }:
+ mkDerivation {
+ pname = "insert-ordered-containers";
+ version = "0.2.2";
+ sha256 = "1ikjhg0pdfpnx1d645r92k2dwlk7y935j1w5lcsk23nzpwhbkxja";
+ revision = "1";
+ editedCabalFile = "1hlinc8nnjlzc6ds3wf8jvkihpcbhz2dk0rqxq1ns0c5zbbhnylq";
+ libraryHaskellDepends = [
+ aeson base base-compat hashable lens semigroupoids semigroups text
+ transformers unordered-containers
+ ];
+ testHaskellDepends = [
+ aeson base base-compat hashable lens QuickCheck semigroupoids
+ semigroups tasty tasty-quickcheck text transformers
+ unordered-containers
+ ];
+ description = "Associative containers retaining insertion order for traversals";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "insert-ordered-containers_0_2_3" = callPackage
({ mkDerivation, aeson, base, base-compat, hashable, lens
, optics-core, optics-extra, QuickCheck, semigroupoids, semigroups
, tasty, tasty-quickcheck, text, transformers, unordered-containers
@@ -136594,6 +137130,7 @@ self: {
];
description = "Associative containers retaining insertion order for traversals";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"inserts" = callPackage
@@ -137534,6 +138071,29 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "intro_0_6_0_0" = callPackage
+ ({ mkDerivation, base, bytestring, containers, deepseq, dlist
+ , extra, hashable, lens, mtl, QuickCheck, safe, text, transformers
+ , unordered-containers, writer-cps-mtl
+ }:
+ mkDerivation {
+ pname = "intro";
+ version = "0.6.0.0";
+ sha256 = "11a9xnamk8n6fns86az1rhq2grx5173ywyby944jn2zvjkba7fkc";
+ libraryHaskellDepends = [
+ base bytestring containers deepseq dlist extra hashable mtl safe
+ text transformers unordered-containers writer-cps-mtl
+ ];
+ testHaskellDepends = [
+ base bytestring containers deepseq dlist extra hashable lens mtl
+ QuickCheck safe text transformers unordered-containers
+ writer-cps-mtl
+ ];
+ description = "Safe and minimal prelude";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"intro-prelude" = callPackage
({ mkDerivation, intro }:
mkDerivation {
@@ -137637,6 +138197,8 @@ self: {
pname = "invariant";
version = "0.5.3";
sha256 = "03245nhcqxx6b0yw81fzqaqd7cgllmx8awzhvs2xv7ys73pmsgnp";
+ revision = "1";
+ editedCabalFile = "0sjy375npw6lqcckhyicizzv91v8jh3ca5yjkygiaj22bw5k8c74";
libraryHaskellDepends = [
array base bifunctors comonad containers contravariant ghc-prim
profunctors StateVar stm tagged template-haskell th-abstraction
@@ -137873,8 +138435,8 @@ self: {
pname = "io-streams-haproxy";
version = "1.0.1.0";
sha256 = "1dcn5hd4fiwyq7m01r6fi93vfvygca5s6mz87c78m0zyj29clkmp";
- revision = "1";
- editedCabalFile = "00zbqcxfkrxidrli5qd8jvdw0jkyvcb3bwv29w8nbk9cr8vmmfl3";
+ revision = "2";
+ editedCabalFile = "1pvw39f0vrzb5hdx6nqpdg4ccsxa59vwjspfjkh6vvw1zwmidgja";
libraryHaskellDepends = [
attoparsec base bytestring io-streams network transformers
];
@@ -138055,6 +138617,8 @@ self: {
pname = "ip";
version = "1.7.0";
sha256 = "18m8586ns6kijvk8wwflkhr9apki1h0gd7rkxd4w6qq66x034hk2";
+ revision = "1";
+ editedCabalFile = "1yjz4822vq22zh8mb96ccplqmm6rxrvy334n34gwyq0cfddsilr0";
libraryHaskellDepends = [
aeson attoparsec base byteslice bytesmith bytestring deepseq
hashable natural-arithmetic primitive small-bytearray-builder text
@@ -138106,8 +138670,8 @@ self: {
({ mkDerivation, base, binary, bytestring, iproute }:
mkDerivation {
pname = "ip2proxy";
- version = "2.1.0";
- sha256 = "0qcmqy8p13hg9aih8m9w7qpbr6zcbvgc9y6bzh2cqm2sbx7ksvqm";
+ version = "2.2.0";
+ sha256 = "12j8jd0ir24xgghvmac2npf9zqfbfq7fwj1ni2xdi8p673k3d0kd";
libraryHaskellDepends = [ base binary bytestring iproute ];
description = "IP2Proxy Haskell package for proxy detection";
license = stdenv.lib.licenses.mit;
@@ -138274,6 +138838,26 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "iproute_1_7_8" = callPackage
+ ({ mkDerivation, appar, base, byteorder, containers, doctest, hspec
+ , network, QuickCheck, safe
+ }:
+ mkDerivation {
+ pname = "iproute";
+ version = "1.7.8";
+ sha256 = "0k2qzdw36qp9qs2j0bxsn95ymk3wpjvw6s5c1535aw677gw19bad";
+ libraryHaskellDepends = [
+ appar base byteorder containers network
+ ];
+ testHaskellDepends = [
+ appar base byteorder containers doctest hspec network QuickCheck
+ safe
+ ];
+ description = "IP Routing Table";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"iptables-helpers" = callPackage
({ mkDerivation, base, containers, mtl, parsec, QuickCheck, safe
, syb, utf8-string
@@ -140363,6 +140947,21 @@ self: {
broken = true;
}) {};
+ "jira-wiki-markup" = callPackage
+ ({ mkDerivation, base, parsec, tasty, tasty-hunit, text }:
+ mkDerivation {
+ pname = "jira-wiki-markup";
+ version = "0.1.1";
+ sha256 = "1a6vk4aryppay87fyirxprwklqvpjh6nj9x2k9s3ybrwhapf1wdx";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [ base parsec text ];
+ executableHaskellDepends = [ base text ];
+ testHaskellDepends = [ base parsec tasty tasty-hunit text ];
+ description = "Handle Jira wiki markup";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"jmacro" = callPackage
({ mkDerivation, aeson, base, bytestring, containers
, haskell-src-exts, haskell-src-meta, mtl, parseargs, parsec
@@ -140631,36 +141230,6 @@ self: {
}) {};
"jose" = callPackage
- ({ mkDerivation, aeson, attoparsec, base, base64-bytestring
- , bytestring, concise, containers, cryptonite, hspec, lens, memory
- , monad-time, mtl, network-uri, QuickCheck, quickcheck-instances
- , safe, semigroups, tasty, tasty-hspec, tasty-quickcheck
- , template-haskell, text, time, unordered-containers, vector, x509
- }:
- mkDerivation {
- pname = "jose";
- version = "0.8.1.0";
- sha256 = "02xg8axy6whbkn0mzg1gjy6b1mhxlmsh1x7vjk1fiawvg9nwzrkl";
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [
- aeson attoparsec base base64-bytestring bytestring concise
- containers cryptonite lens memory monad-time mtl network-uri
- QuickCheck quickcheck-instances safe semigroups template-haskell
- text time unordered-containers vector x509
- ];
- testHaskellDepends = [
- aeson attoparsec base base64-bytestring bytestring concise
- containers cryptonite hspec lens memory monad-time mtl network-uri
- QuickCheck quickcheck-instances safe semigroups tasty tasty-hspec
- tasty-quickcheck template-haskell text time unordered-containers
- vector x509
- ];
- description = "Javascript Object Signing and Encryption and JSON Web Token library";
- license = stdenv.lib.licenses.asl20;
- }) {};
-
- "jose_0_8_2_0" = callPackage
({ mkDerivation, aeson, attoparsec, base, base64-bytestring
, bytestring, concise, containers, cryptonite, hspec, lens, memory
, monad-time, mtl, network-uri, QuickCheck, quickcheck-instances
@@ -140688,7 +141257,6 @@ self: {
];
description = "Javascript Object Signing and Encryption and JSON Web Token library";
license = stdenv.lib.licenses.asl20;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"jose-jwt" = callPackage
@@ -141559,8 +142127,8 @@ self: {
pname = "json-rpc-server";
version = "0.2.6.0";
sha256 = "1xfcxbwri9a5p3xxbc4kvr1kqdnm4c1axd8kgb8dglabffbrk7hn";
- revision = "6";
- editedCabalFile = "1rfabr679pk605v141gm0ynbp3l6x87s3ip3wa49lwnpab495mxs";
+ revision = "7";
+ editedCabalFile = "1fjkl0p5glkk01jny6ar62356pmp2a2vf9v1jq67ly3y14dcvywq";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -142468,6 +143036,8 @@ self: {
testHaskellDepends = [ base hw-kafka-client monad-parallel text ];
description = "Synchronous Kafka Client";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"kafka-device" = callPackage
@@ -143816,8 +144386,8 @@ self: {
pname = "keycode";
version = "0.2.2";
sha256 = "046k8d1h5wwadf5z4pppjkc3g7v2zxlzb06s1xgixc42y5y41yan";
- revision = "4";
- editedCabalFile = "081spzhywygv90i7jwhbcm7p1aqz6qqph02ddxvqncghar5kjc7n";
+ revision = "5";
+ editedCabalFile = "17fhzhlbqgd5pqp357n3z0k176q79c2jxvpwqryl3gbad3s8qsfw";
libraryHaskellDepends = [
base containers ghc-prim template-haskell
];
@@ -144281,15 +144851,17 @@ self: {
"knead" = callPackage
({ mkDerivation, base, bool8, comfort-array, llvm-extra, llvm-tf
- , storable-record, storable-tuple, tfp, transformers, utility-ht
+ , prelude-compat, storable-enum, storable-record, storable-tuple
+ , tagged, tfp, transformers, utility-ht
}:
mkDerivation {
pname = "knead";
- version = "0.4";
- sha256 = "1p1zfa2mihy2di5wjb189mdq6kygr47y19194ycxdx47sh8y6s6y";
+ version = "0.4.1";
+ sha256 = "07jjs6qx58whwh61n4avrbi6krpl3qawx3mp8wacbjyrjfskcyln";
libraryHaskellDepends = [
- base bool8 comfort-array llvm-extra llvm-tf storable-record
- storable-tuple tfp transformers utility-ht
+ base bool8 comfort-array llvm-extra llvm-tf prelude-compat
+ storable-enum storable-record storable-tuple tagged tfp
+ transformers utility-ht
];
description = "Repa-like array processing using LLVM JIT";
license = stdenv.lib.licenses.bsd3;
@@ -145123,8 +145695,8 @@ self: {
}:
mkDerivation {
pname = "lambda-options";
- version = "1.0.0.0";
- sha256 = "1cpd5s0m10d09mqbpy1qxnrpy8np21ci6fcd09d01xj7lx8p2yzx";
+ version = "1.0.2.0";
+ sha256 = "04h7i79iiq91606x3k7zr2gs3f7apswwv9xxv5lf4qr1h3i4lfix";
libraryHaskellDepends = [
base containers funspection mtl read-bounded
];
@@ -147337,6 +147909,8 @@ self: {
pname = "latex-formulae-hakyll";
version = "0.2.0.4";
sha256 = "0q16p3ccql38ri3rnbsx54vj6jn154j3m6vic64zi4nk54g0sc5f";
+ revision = "1";
+ editedCabalFile = "08502482n0szzg32bcrdyhs853hlmx3r14bpjww1fv2dijk5asrw";
libraryHaskellDepends = [
base hakyll latex-formulae-image latex-formulae-pandoc lrucache
pandoc-types
@@ -147355,6 +147929,8 @@ self: {
pname = "latex-formulae-image";
version = "0.1.1.4";
sha256 = "0s3r0qd235lgmw4g5j52r2d97zsr3nd0ikzffgpwigvcbzshddv0";
+ revision = "1";
+ editedCabalFile = "0m15dyrxala5dh5sh228bsrfa3nym9wd719byj19vfl4i2nabw9d";
libraryHaskellDepends = [
base directory errors filepath JuicyPixels process temporary
transformers
@@ -150396,6 +150972,26 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "lift-generics_0_1_3" = callPackage
+ ({ mkDerivation, base, base-compat, generic-deriving, ghc-prim
+ , hspec, hspec-discover, template-haskell
+ }:
+ mkDerivation {
+ pname = "lift-generics";
+ version = "0.1.3";
+ sha256 = "0r2rbik5lh5x8psy5cblzd1ly1ybizdcyjdg8n79m7k3rqp2w6v7";
+ libraryHaskellDepends = [
+ base generic-deriving ghc-prim template-haskell
+ ];
+ testHaskellDepends = [
+ base base-compat generic-deriving hspec template-haskell
+ ];
+ testToolDepends = [ hspec-discover ];
+ description = "GHC.Generics-based Language.Haskell.TH.Syntax.lift implementation";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"lift-read-show" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -151760,7 +152356,7 @@ self: {
description = "Predicate Abstraction-based Horn-Clause/Implication Constraint Solver";
license = stdenv.lib.licenses.bsd3;
maintainers = with stdenv.lib.maintainers; [ peti ];
- }) {inherit (pkgs) git; inherit (pkgs) nettools;
+ }) {inherit (pkgs) git; inherit (pkgs) nettools;
inherit (pkgs) ocaml; inherit (pkgs) z3;};
"liquidhaskell" = callPackage
@@ -152527,18 +153123,20 @@ self: {
}) {};
"llvm-extra" = callPackage
- ({ mkDerivation, base, bool8, containers, cpuid, llvm-tf, non-empty
- , prelude-compat, tfp, transformers, unsafe, utility-ht
+ ({ mkDerivation, base, bool8, containers, cpuid, enumset, llvm-tf
+ , non-empty, prelude-compat, storable-enum, tagged, tfp
+ , transformers, unsafe, utility-ht
}:
mkDerivation {
pname = "llvm-extra";
- version = "0.8.0.3";
- sha256 = "1cqxfrjhfgliwxjgbmjkbpcy4dlv0fwwqzdd9jd8fiq96njfqfvp";
+ version = "0.8.2";
+ sha256 = "0fv2q05w86xqak5b8w26iy9szzc6khghc622dgqkjywd9b72xs1s";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- base bool8 containers cpuid llvm-tf non-empty prelude-compat tfp
- transformers unsafe utility-ht
+ base bool8 containers cpuid enumset llvm-tf non-empty
+ prelude-compat storable-enum tagged tfp transformers unsafe
+ utility-ht
];
description = "Utility functions for the llvm interface";
license = stdenv.lib.licenses.bsd3;
@@ -152550,8 +153148,8 @@ self: {
({ mkDerivation, base, enumset, LLVM }:
mkDerivation {
pname = "llvm-ffi";
- version = "3.8.1.2";
- sha256 = "04k2ag8nh54f9hh3blgyn1xa88hfv6c6ps51i5b84g4jdvja7f5v";
+ version = "3.9.1";
+ sha256 = "0gyda3bh43iib5isp6fd0rsf1rxkgidnmxrdm31xwjc0qnz71yf2";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ base enumset ];
@@ -152855,8 +153453,8 @@ self: {
}:
mkDerivation {
pname = "llvm-tf";
- version = "3.1.1.1";
- sha256 = "1rqszg06r8md7cgw2zgf30yvri4isndj608r9l8grqfnyi4lfjay";
+ version = "3.1.2";
+ sha256 = "0k5aj63hl78h8lkxizragvgh57yzzc5ns7h8kz93wicsdxaca8cn";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -153356,6 +153954,30 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "log-domain_0_13" = callPackage
+ ({ mkDerivation, base, binary, bytes, Cabal, cabal-doctest, cereal
+ , comonad, deepseq, distributive, doctest, generic-deriving
+ , hashable, semigroupoids, semigroups, simple-reflect, vector
+ }:
+ mkDerivation {
+ pname = "log-domain";
+ version = "0.13";
+ sha256 = "0isl8rs0k5088sxapfh351sff3lh7r1qkgwz8lmai3gvqasb3avv";
+ revision = "1";
+ editedCabalFile = "0wcy54axpnym55f1skagnbmdpw6y2ys6zvn99x8i6qcfzw00i6l9";
+ setupHaskellDepends = [ base Cabal cabal-doctest ];
+ libraryHaskellDepends = [
+ base binary bytes cereal comonad deepseq distributive hashable
+ semigroupoids semigroups vector
+ ];
+ testHaskellDepends = [
+ base doctest generic-deriving semigroups simple-reflect
+ ];
+ description = "Log-domain arithmetic";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"log-effect" = callPackage
({ mkDerivation, base, bytestring, extensible-effects
, monad-control, text, transformers-base
@@ -153629,29 +154251,6 @@ self: {
}) {};
"logging-effect" = callPackage
- ({ mkDerivation, async, base, bytestring, criterion, exceptions
- , fast-logger, free, lifted-async, monad-control, monad-logger, mtl
- , prettyprinter, semigroups, stm, stm-delay, text, time
- , transformers, transformers-base, unliftio-core
- }:
- mkDerivation {
- pname = "logging-effect";
- version = "1.3.7";
- sha256 = "1m8f9s6v1xxfp3li1yjfwdhn2an29lk07ijqcrb1db8chrlx93vd";
- libraryHaskellDepends = [
- async base exceptions free monad-control mtl prettyprinter
- semigroups stm stm-delay text time transformers transformers-base
- unliftio-core
- ];
- benchmarkHaskellDepends = [
- base bytestring criterion fast-logger lifted-async monad-logger
- prettyprinter text time
- ];
- description = "A mtl-style monad transformer for general purpose & compositional logging";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "logging-effect_1_3_8" = callPackage
({ mkDerivation, async, base, bytestring, criterion, exceptions
, fast-logger, free, lifted-async, monad-control, monad-logger, mtl
, prettyprinter, semigroups, stm, stm-delay, text, time
@@ -153672,7 +154271,6 @@ self: {
];
description = "A mtl-style monad transformer for general purpose & compositional logging";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"logging-effect-extra" = callPackage
@@ -154498,8 +155096,8 @@ self: {
}:
mkDerivation {
pname = "lp-diagrams";
- version = "2.1.1";
- sha256 = "0dynm0kib4lgyz00gbg4gi0ds5cgpbdx40davk53cknwxv7icri0";
+ version = "2.1.2";
+ sha256 = "0q0qzij6j0nv01hhrd417swyyf5vhgi2m83bmk98dvrd0309l9xl";
libraryHaskellDepends = [
base containers gasp graphviz labeled-tree lens mtl parsek
polynomials-bernstein process reflection text typography-geometry
@@ -154627,7 +155225,7 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "lsp-test_0_8_0_0" = callPackage
+ "lsp-test_0_8_2_0" = callPackage
({ mkDerivation, aeson, aeson-pretty, ansi-terminal, async, base
, bytestring, conduit, conduit-parse, containers, data-default
, Diff, directory, filepath, haskell-lsp, hspec, lens, mtl
@@ -154636,8 +155234,8 @@ self: {
}:
mkDerivation {
pname = "lsp-test";
- version = "0.8.0.0";
- sha256 = "1w8ag6v8mdgxynz32nzxmvfaar68abmsh3fchdfbhz2ky07p6085";
+ version = "0.8.2.0";
+ sha256 = "1762avrs4fkkd9v8i76giaf6km5f3lds5laickn7la7zq7ysh8a3";
libraryHaskellDepends = [
aeson aeson-pretty ansi-terminal async base bytestring conduit
conduit-parse containers data-default Diff directory filepath
@@ -155032,8 +155630,8 @@ self: {
}:
mkDerivation {
pname = "lukko";
- version = "0.1.1";
- sha256 = "1wy2dqs304cynsgnwpc47fwnm9gcy7ch53xxhj5schc0kak3xxbq";
+ version = "0.1.1.1";
+ sha256 = "13wf2vgi3bq48h757qs0zi1sxa6ip9pk8fxfiq7qrrb9p5silcpj";
libraryHaskellDepends = [ base ];
testHaskellDepends = [
async base bytestring filepath singleton-bool tasty
@@ -156788,8 +157386,8 @@ self: {
}:
mkDerivation {
pname = "mandrill";
- version = "0.5.3.6";
- sha256 = "1jvgxhc3x7867cryvsbpj7hks9syhpqbwyh4y0v6b0yp0xil8qrl";
+ version = "0.5.4.0";
+ sha256 = "0cp0xd4by5ml1526lybqvxr1g5ccgskmj9ibl3xnrcmkbi9a14y6";
libraryHaskellDepends = [
aeson base base64-bytestring blaze-html bytestring containers
email-validate http-client http-client-tls http-types microlens-th
@@ -156996,8 +157594,8 @@ self: {
pname = "map-syntax";
version = "0.3";
sha256 = "0b3ddi998saw5gi5r4bjbpid03rxlifn08zv15wf0b90ambhcc4k";
- revision = "1";
- editedCabalFile = "1qfjficc7b6hbg44r3czk8iqgkjmgnp14wmzcdcz4ai93kx8dp44";
+ revision = "2";
+ editedCabalFile = "1cpiarychx4cmv7v71rbd5ccfsjac928isd52sf42mzs2nb492ya";
libraryHaskellDepends = [ base containers mtl ];
testHaskellDepends = [
base containers deepseq hspec HUnit mtl QuickCheck transformers
@@ -157494,8 +158092,8 @@ self: {
}:
mkDerivation {
pname = "marxup";
- version = "3.1.1.0";
- sha256 = "0b22mf14qajkpf7hlm6086d951g0wgihlyiw93m0nh4yl1kmgf5q";
+ version = "3.1.2.0";
+ sha256 = "0a6lfjh5brkjm66y4yizzskra4007shqnsb5bjljxwg0vwphp112";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -157557,32 +158155,43 @@ self: {
];
description = "Massiv (Массив) is an Array Library";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
- "massiv-io" = callPackage
- ({ mkDerivation, base, bytestring, data-default-class, deepseq
- , directory, filepath, JuicyPixels, massiv, netpbm, process, vector
+ "massiv_0_4_4_0" = callPackage
+ ({ mkDerivation, base, bytestring, Cabal, cabal-doctest
+ , data-default-class, deepseq, doctest, exceptions
+ , mersenne-random-pure64, primitive, QuickCheck, random, scheduler
+ , splitmix, template-haskell, unliftio-core, vector
}:
mkDerivation {
- pname = "massiv-io";
- version = "0.1.7.0";
- sha256 = "0w3yffkrsjkgfqdfmhq42am2hpmkblnfg0prifr2ja5pfwr02l5c";
+ pname = "massiv";
+ version = "0.4.4.0";
+ sha256 = "13hwf1z9iqybrjsn21gkglqq3knin6x84rflv3wk6wplk7dfhd2n";
+ setupHaskellDepends = [ base Cabal cabal-doctest ];
libraryHaskellDepends = [
- base bytestring data-default-class deepseq directory filepath
- JuicyPixels massiv netpbm process vector
+ base bytestring data-default-class deepseq exceptions primitive
+ scheduler unliftio-core vector
];
- description = "Import/export of Image files into massiv Arrays";
+ testHaskellDepends = [
+ base doctest mersenne-random-pure64 QuickCheck random splitmix
+ template-haskell
+ ];
+ description = "Massiv (Массив) is an Array Library";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
- "massiv-io_0_1_8_0" = callPackage
+ "massiv-io" = callPackage
({ mkDerivation, base, bytestring, data-default-class, deepseq
, directory, filepath, JuicyPixels, massiv, netpbm, process, vector
}:
mkDerivation {
pname = "massiv-io";
- version = "0.1.8.0";
- sha256 = "0c67lcqgbzwxcpp3gp0x35f3njai1sgainwxhjckn9bjddad6vrq";
+ version = "0.1.9.0";
+ sha256 = "0splwbavahv3g0p1pyhym9hwncaw7zd5f12girwxlwhcdwrsgz3r";
libraryHaskellDepends = [
base bytestring data-default-class deepseq directory filepath
JuicyPixels massiv netpbm process vector
@@ -157590,6 +158199,7 @@ self: {
description = "Import/export of Image files into massiv Arrays";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"massiv-scheduler" = callPackage
@@ -157631,6 +158241,8 @@ self: {
];
description = "Library that contains generators, properties and tests for Massiv Array Library";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"master-plan" = callPackage
@@ -157758,15 +158370,16 @@ self: {
}) {};
"math-grads" = callPackage
- ({ mkDerivation, aeson, array, base, containers, hspec, linear
- , matrix, mtl, random, vector
+ ({ mkDerivation, aeson, array, base, bimap, containers, hspec
+ , ilist, lens, linear, matrix, mtl, random, vector
}:
mkDerivation {
pname = "math-grads";
- version = "0.1.5.1";
- sha256 = "0bq08gh1fv83glx4i2gs560cynl2dv1610kby7vlvjnhg0kkyjgl";
+ version = "0.1.6.2";
+ sha256 = "02flkabfqwgmgcsrlxcfk9zm8b94l65imr3xprdap1g9z26si66l";
libraryHaskellDepends = [
- aeson array base containers linear matrix mtl random vector
+ aeson array base bimap containers ilist lens linear matrix mtl
+ random vector
];
testHaskellDepends = [ array base containers hspec random ];
description = "Library containing graph data structures and graph algorithms";
@@ -161075,8 +161688,8 @@ self: {
}:
mkDerivation {
pname = "mini-egison";
- version = "0.1.5";
- sha256 = "19g5743q2h0vr9r7m854pi60r6z7f8cqr3l3fqi4b308jb492ngq";
+ version = "0.1.6";
+ sha256 = "08348nw7xnni81iwcah43x5hi0hyqz286g3zpmkhja8if99l59lj";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -161150,8 +161763,8 @@ self: {
}:
mkDerivation {
pname = "minilight";
- version = "0.4.0";
- sha256 = "1ishxvijigfjfvrqiibbds2l7bb5vp51lsy933q4nphapvqrhk2m";
+ version = "0.4.1";
+ sha256 = "0zx21dhnzc8p0x6v827178rl2s215gik705fggmg31hqhwkzfy4c";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -161631,15 +162244,15 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "miso_1_3_0_0" = callPackage
+ "miso_1_4_0_0" = callPackage
({ mkDerivation, aeson, base, bytestring, containers, http-api-data
, http-types, lucid, network-uri, servant, servant-lucid, text
, transformers, vector
}:
mkDerivation {
pname = "miso";
- version = "1.3.0.0";
- sha256 = "1vz7k7ajngmrzczw4bl33g081hbmbk1bkixsm47y4x8jzxa0lk7x";
+ version = "1.4.0.0";
+ sha256 = "067z49ial3dwkbcza54aivdh8r4yx54zmpyxmd6mpyqlv96dv8gc";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -161992,6 +162605,34 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "mmark_0_0_7_2" = callPackage
+ ({ mkDerivation, aeson, base, case-insensitive, containers
+ , criterion, deepseq, dlist, email-validate, foldl, hashable, hspec
+ , hspec-megaparsec, html-entity-map, lucid, megaparsec, microlens
+ , microlens-th, modern-uri, mtl, parser-combinators, QuickCheck
+ , text, text-metrics, unordered-containers, weigh, yaml
+ }:
+ mkDerivation {
+ pname = "mmark";
+ version = "0.0.7.2";
+ sha256 = "1wwszzba6fvg0r4q5z2dzashim0nkaxzx4rmjl216kdi08jkp7mm";
+ enableSeparateDataOutput = true;
+ libraryHaskellDepends = [
+ aeson base case-insensitive containers deepseq dlist email-validate
+ foldl hashable html-entity-map lucid megaparsec microlens
+ microlens-th modern-uri mtl parser-combinators text text-metrics
+ unordered-containers yaml
+ ];
+ testHaskellDepends = [
+ aeson base foldl hspec hspec-megaparsec lucid megaparsec modern-uri
+ QuickCheck text
+ ];
+ benchmarkHaskellDepends = [ base criterion text weigh ];
+ description = "Strict markdown processor for writers";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"mmark-cli" = callPackage
({ mkDerivation, aeson, base, bytestring, directory
, ghc-syntax-highlighter, gitrev, lucid, megaparsec, mmark
@@ -162002,8 +162643,8 @@ self: {
pname = "mmark-cli";
version = "0.0.5.0";
sha256 = "15qrp2q1flx9csqvj8zx9w1jqg8pwfi0v7wpia7n7vg09jgydhby";
- revision = "1";
- editedCabalFile = "11yrsr4hpl5vxrfav1nfg3gidcr1qy0rjv5mkh5hqsxdpxy6c7aj";
+ revision = "2";
+ editedCabalFile = "1kpxrf3gwcl0l8jqq3dic49705p338rcvach95vp1g1jjpwd8kbj";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -162067,8 +162708,8 @@ self: {
({ mkDerivation, base, directory }:
mkDerivation {
pname = "mmsyn3";
- version = "0.1.2.0";
- sha256 = "1cjjdiyb1n5y5bswpm1lckqnn97lvn4mx8nrkydzsi1lfmxjvhk3";
+ version = "0.1.3.0";
+ sha256 = "0asxxv2ykwn82lr744ihfip8lhck888l3rvn4qadjdapv1sn3zfx";
libraryHaskellDepends = [ base directory ];
description = "A small library to deal with executable endings";
license = stdenv.lib.licenses.mit;
@@ -162096,13 +162737,36 @@ self: {
({ mkDerivation, base }:
mkDerivation {
pname = "mmsyn5";
- version = "0.4.2.1";
- sha256 = "1cq8180xkq01jpqwiv6f7wiwyjhs76gh5a148hvxhffvfhnsarb8";
+ version = "0.4.2.2";
+ sha256 = "1y5f9fwc9k7hbmnk8fvm6m6h2lrdsfijr6jn0dfj6fhc17kmp46p";
libraryHaskellDepends = [ base ];
description = "Various additional operations on lists (some with intermediate Monads)";
license = stdenv.lib.licenses.mit;
}) {};
+ "mmsyn6ukr" = callPackage
+ ({ mkDerivation, base, bytestring, mmsyn2, mmsyn3, mmsyn5, process
+ , vector
+ }:
+ mkDerivation {
+ pname = "mmsyn6ukr";
+ version = "0.3.2.0";
+ sha256 = "1qv34s1aypm43xf51bf7mlp7jbkfcgsz8gil7xcly50is1a19z3n";
+ isLibrary = true;
+ isExecutable = true;
+ enableSeparateDataOutput = true;
+ libraryHaskellDepends = [
+ base bytestring mmsyn2 mmsyn3 mmsyn5 process vector
+ ];
+ executableHaskellDepends = [
+ base bytestring mmsyn2 mmsyn3 mmsyn5 process vector
+ ];
+ description = "Can be used as a musical instrument synthesizer or for Ukrainian language listening";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"mmtf" = callPackage
({ mkDerivation, array, base, binary, bytestring, containers
, data-msgpack, deepseq, hspec, http-conduit, QuickCheck, text
@@ -163089,6 +163753,28 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "monad-logger_0_3_31" = callPackage
+ ({ mkDerivation, base, bytestring, conduit, conduit-extra
+ , exceptions, fast-logger, lifted-base, monad-control, monad-loops
+ , mtl, resourcet, stm, stm-chans, template-haskell, text
+ , transformers, transformers-base, transformers-compat
+ , unliftio-core
+ }:
+ mkDerivation {
+ pname = "monad-logger";
+ version = "0.3.31";
+ sha256 = "0awr06bh5d51kci2w2xsj34qvh98sb6dm48a4k05k8awv8hrrpmd";
+ libraryHaskellDepends = [
+ base bytestring conduit conduit-extra exceptions fast-logger
+ lifted-base monad-control monad-loops mtl resourcet stm stm-chans
+ template-haskell text transformers transformers-base
+ transformers-compat unliftio-core
+ ];
+ description = "A class of monads which can log messages";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"monad-logger-json" = callPackage
({ mkDerivation, aeson, base, monad-logger, template-haskell, text
}:
@@ -163128,8 +163814,8 @@ self: {
}:
mkDerivation {
pname = "monad-logger-syslog";
- version = "0.1.4.0";
- sha256 = "1jwwpjn35mvl7z05xcykpxdyhaa6mgiighgcr8qzprrmw89kwb05";
+ version = "0.1.5.0";
+ sha256 = "0y96f5qan5na32s8xilky7z30mc7yci1s5i3585aqvqsyyvshchf";
libraryHaskellDepends = [
base bytestring fast-logger hsyslog monad-logger text transformers
];
@@ -163137,14 +163823,14 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
- "monad-logger-syslog_0_1_5_0" = callPackage
+ "monad-logger-syslog_0_1_6_0" = callPackage
({ mkDerivation, base, bytestring, fast-logger, hsyslog
, monad-logger, text, transformers
}:
mkDerivation {
pname = "monad-logger-syslog";
- version = "0.1.5.0";
- sha256 = "0y96f5qan5na32s8xilky7z30mc7yci1s5i3585aqvqsyyvshchf";
+ version = "0.1.6.0";
+ sha256 = "1n4r0fl043r18683ym3k03sdm3b9wlxfzjgmnxi804kwna639rj3";
libraryHaskellDepends = [
base bytestring fast-logger hsyslog monad-logger text transformers
];
@@ -163930,7 +164616,7 @@ self: {
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {gecodeint = null; gecodekernel = null; gecodesearch = null;
+ }) {gecodeint = null; gecodekernel = null; gecodesearch = null;
gecodeset = null; gecodesupport = null;};
"monadio-unwrappable" = callPackage
@@ -164489,16 +165175,14 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "monoidal-containers_0_6" = callPackage
+ "monoidal-containers_0_6_0_1" = callPackage
({ mkDerivation, aeson, base, containers, deepseq, hashable, lens
, newtype, semialign, semigroups, these, unordered-containers
}:
mkDerivation {
pname = "monoidal-containers";
- version = "0.6";
- sha256 = "1ii09s068g6bj2j10ig3g3ymv1ci6zg596pmmaw6als15j9bybc9";
- revision = "2";
- editedCabalFile = "17qv2kds7m4mi3r4rd89d2nhcjc06lzdfg93qsn6ldssnypq0rra";
+ version = "0.6.0.1";
+ sha256 = "1j5mfs0ysvwk3jsmq4hlj4l3kasfc28lk1b3xaymf9dw48ac5j82";
libraryHaskellDepends = [
aeson base containers deepseq hashable lens newtype semialign
semigroups these unordered-containers
@@ -164654,6 +165338,8 @@ self: {
];
description = "Month, YearMonth, Quarter, YearQuarter types";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"monus" = callPackage
@@ -164887,22 +165573,23 @@ self: {
"morpheus-graphql" = callPackage
({ mkDerivation, aeson, base, bytestring, containers, megaparsec
, mtl, scientific, tasty, tasty-hunit, template-haskell, text
- , transformers, unordered-containers, uuid, vector, websockets
+ , th-lift-instances, transformers, unordered-containers, uuid
+ , vector, websockets
}:
mkDerivation {
pname = "morpheus-graphql";
- version = "0.6.2";
- sha256 = "160wg001xpwrhvv1wgdqbcwhdpxk4yhi0vf5sjyyzr0bq3j9x1dn";
+ version = "0.7.1";
+ sha256 = "1yh49icsq68xbw9gmvqssy4piaqb97cy39jg4a20360j9sfr87dp";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
aeson base bytestring containers megaparsec mtl scientific
- template-haskell text transformers unordered-containers uuid vector
- websockets
+ template-haskell text th-lift-instances transformers
+ unordered-containers uuid vector websockets
];
testHaskellDepends = [
aeson base bytestring containers megaparsec mtl scientific tasty
- tasty-hunit template-haskell text transformers unordered-containers
- uuid vector websockets
+ tasty-hunit template-haskell text th-lift-instances transformers
+ unordered-containers uuid vector websockets
];
description = "Morpheus GraphQL";
license = stdenv.lib.licenses.mit;
@@ -164926,6 +165613,8 @@ self: {
];
description = "Morpheus GraphQL CLI";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"morphisms" = callPackage
@@ -165082,6 +165771,8 @@ self: {
];
description = "General purpose migrations library";
license = stdenv.lib.licenses.asl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"moto-postgresql" = callPackage
@@ -165097,6 +165788,8 @@ self: {
];
description = "PostgreSQL-based migrations registry for moto";
license = stdenv.lib.licenses.asl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"motor" = callPackage
@@ -167472,6 +168165,18 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "mx-state-codes" = callPackage
+ ({ mkDerivation, aeson, base, hspec, QuickCheck, text }:
+ mkDerivation {
+ pname = "mx-state-codes";
+ version = "1.0.0.0";
+ sha256 = "1jxw7hh24rqs1c5y4b7bmllvcwq3gsrrn0rixq9lzhn2915ykaq6";
+ libraryHaskellDepends = [ aeson base text ];
+ testHaskellDepends = [ aeson base hspec QuickCheck text ];
+ description = "ISO 3166-2:MX State Codes and Names";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"mxnet" = callPackage
({ mkDerivation, base, c2hs, c2hs-extra, mxnet, pretty, tasty
, tasty-hunit, template-haskell, unordered-containers, vector
@@ -168471,7 +169176,7 @@ self: {
license = stdenv.lib.licenses.isc;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {GLEW = null; inherit (pkgs) glew; inherit (pkgs) libGL;
+ }) {GLEW = null; inherit (pkgs) glew; inherit (pkgs) libGL;
inherit (pkgs) libGLU;};
"nanovg-simple" = callPackage
@@ -168712,8 +169417,8 @@ self: {
({ mkDerivation, base }:
mkDerivation {
pname = "natural-arithmetic";
- version = "0.1.0.0";
- sha256 = "0h5ga04hw7v54xsxjj852238spl3px190g67qjqzxvnyn0f76jrp";
+ version = "0.1.1.0";
+ sha256 = "0n2330b2g4gy1ljpcww9vmj74ig23m0zxkg92721zpdfywlcy44g";
libraryHaskellDepends = [ base ];
description = "Arithmetic of natural numbers";
license = stdenv.lib.licenses.bsd3;
@@ -169044,8 +169749,8 @@ self: {
}:
mkDerivation {
pname = "neko-obfs";
- version = "0.1.0.2";
- sha256 = "1kqki738d7jfjgr0jcybs9w0fzccmdb1i64caanydpfn6x9rkiac";
+ version = "0.1.0.4";
+ sha256 = "1vffkpxxvxykrjy9awx0vqda6gbpmzz2ybr5ijmb47dl7mr7sl88";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -169289,8 +169994,8 @@ self: {
}:
mkDerivation {
pname = "net-mqtt";
- version = "0.6.2.0";
- sha256 = "0mryfsjcvybfx7zrakn6h8hw2l8fdq7g194kmiy9xafkkgyza1pk";
+ version = "0.6.2.1";
+ sha256 = "09l9m213x1v7cvrfr039hg2c1pa4dknyhj827h9n0w9pawj61r55";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -169935,14 +170640,14 @@ self: {
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
- "network_3_1_1_0" = callPackage
+ "network_3_1_1_1" = callPackage
({ mkDerivation, base, bytestring, deepseq, directory, hspec
, hspec-discover, HUnit
}:
mkDerivation {
pname = "network";
- version = "3.1.1.0";
- sha256 = "0gr99ksn7khijfjf0g4bkp13kb6jbxnq23b6pxflnvlsf5la8yks";
+ version = "3.1.1.1";
+ sha256 = "16ic2hgvadyiy0zfnyd2zknf8rxqmwzpy5mw5x9apwpzfc0mkvyp";
libraryHaskellDepends = [ base bytestring deepseq ];
testHaskellDepends = [ base bytestring directory hspec HUnit ];
testToolDepends = [ hspec-discover ];
@@ -170130,8 +170835,8 @@ self: {
pname = "network-bsd";
version = "2.8.1.0";
sha256 = "0kid0811lv4x761fd5gv6lsc8p5j2bn41rfd366pjb642p562jfr";
- revision = "2";
- editedCabalFile = "1cqb720gl960zfzbzxakc2wvrvw8plncgarbb1v1hdzmdxw07js7";
+ revision = "3";
+ editedCabalFile = "1hc3jdbmpq2wxh82xfx452v2m2l97jbdaqqbmj5nz4lljxa2696r";
libraryHaskellDepends = [ base deepseq network ];
description = "POSIX network database () API";
license = stdenv.lib.licenses.bsd3;
@@ -170173,6 +170878,19 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "network-byte-order_0_1_2_0" = callPackage
+ ({ mkDerivation, base, bytestring, doctest }:
+ mkDerivation {
+ pname = "network-byte-order";
+ version = "0.1.2.0";
+ sha256 = "1y2azf5zbydzvi4b0hxmy7am4kgpkq8ajnsbrpfrqz87b5y87ccy";
+ libraryHaskellDepends = [ base bytestring ];
+ testHaskellDepends = [ base bytestring doctest ];
+ description = "Network byte order utilities";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"network-bytestring" = callPackage
({ mkDerivation, base, bytestring, network, unix }:
mkDerivation {
@@ -170424,22 +171142,6 @@ self: {
}) {};
"network-messagepack-rpc" = callPackage
- ({ mkDerivation, base, bytestring, data-msgpack, safe-exceptions
- , text, unordered-containers
- }:
- mkDerivation {
- pname = "network-messagepack-rpc";
- version = "0.1.1.4";
- sha256 = "040kj2rs80kg7746rqrrsgpbi3vpbfg4c6r5n08nvqqslcx932xb";
- libraryHaskellDepends = [
- base bytestring data-msgpack safe-exceptions text
- unordered-containers
- ];
- description = "MessagePack RPC";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "network-messagepack-rpc_0_1_2_0" = callPackage
({ mkDerivation, base, bytestring, data-msgpack, safe-exceptions
, text, unordered-containers
}:
@@ -170453,7 +171155,6 @@ self: {
];
description = "MessagePack RPC";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"network-messagepack-rpc-websocket" = callPackage
@@ -170463,8 +171164,8 @@ self: {
}:
mkDerivation {
pname = "network-messagepack-rpc-websocket";
- version = "0.1.1.0";
- sha256 = "05cd6cqyydjwymnk8rscqngvz3knyibl674rcbjpz28him6gbc7d";
+ version = "0.1.1.1";
+ sha256 = "0adkav3nl7ghbx2r7dx83ki6m397clxaw37s54ivnkxydqscjv06";
libraryHaskellDepends = [
base network-messagepack-rpc text websockets wss-client
];
@@ -170729,6 +171430,25 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "network-simple-tls_0_4" = callPackage
+ ({ mkDerivation, base, bytestring, data-default, network
+ , network-simple, safe-exceptions, tls, tls-session-manager
+ , transformers, x509, x509-store, x509-system, x509-validation
+ }:
+ mkDerivation {
+ pname = "network-simple-tls";
+ version = "0.4";
+ sha256 = "0c5xxqp2xw1q046sngd5gnwp7gn0ima9wm8drxxry13l0i0bnmn1";
+ libraryHaskellDepends = [
+ base bytestring data-default network network-simple safe-exceptions
+ tls tls-session-manager transformers x509 x509-store x509-system
+ x509-validation
+ ];
+ description = "Simple interface to TLS secured network sockets";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"network-simple-ws" = callPackage
({ mkDerivation, base, bytestring, case-insensitive, network-simple
, safe-exceptions, websockets
@@ -171350,6 +172070,8 @@ self: {
pname = "newtype-generics";
version = "0.5.4";
sha256 = "0cprfg4n0z62cnix1qrbc79bfdd4s50b05fj9m9hk6vm1pc3szq0";
+ revision = "1";
+ editedCabalFile = "1id9a6prj2bzdsyfsfr0pnfy9p8v9wlw59x12fny6y2szfcxcrv7";
libraryHaskellDepends = [ base transformers ];
testHaskellDepends = [ base hspec ];
testToolDepends = [ hspec-discover ];
@@ -171763,26 +172485,26 @@ self: {
({ mkDerivation, aeson, aeson-pretty, ansi-terminal, base
, bytestring, directory, file-embed, filepath, hashable
, http-conduit, mtl, optparse-applicative, process, profunctors
- , string-qq, tasty, tasty-hunit, text, unliftio
+ , pureMD5, string-qq, tasty, tasty-hunit, text, unliftio
, unordered-containers
}:
mkDerivation {
pname = "niv";
- version = "0.2.1";
- sha256 = "18ym8zqxillqf0psc9xyjzgnxhfrfgy5sj3hvrdmggy4dlnn500j";
+ version = "0.2.3";
+ sha256 = "182miqhcndb3fqxdcjnhpphma89pxdnbv8k3scrhzjd893ncxv8i";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
libraryHaskellDepends = [
aeson aeson-pretty ansi-terminal base bytestring directory
file-embed filepath hashable http-conduit mtl optparse-applicative
- process profunctors string-qq tasty tasty-hunit text unliftio
- unordered-containers
+ process profunctors pureMD5 string-qq tasty tasty-hunit text
+ unliftio unordered-containers
];
executableHaskellDepends = [
aeson aeson-pretty ansi-terminal base bytestring directory
file-embed filepath hashable http-conduit mtl optparse-applicative
- process profunctors string-qq tasty text unliftio
+ process profunctors pureMD5 string-qq tasty text unliftio
unordered-containers
];
description = "Easy dependency management for Nix projects";
@@ -171814,8 +172536,8 @@ self: {
}:
mkDerivation {
pname = "nix-deploy";
- version = "1.0.3";
- sha256 = "0anhmc9g9k40nwj87f24hq4wnj6mkli36dzhzdpa0p3cpg7sh2kh";
+ version = "1.0.4";
+ sha256 = "1wmwrnm6wflkdaq0m84az1q6245iyvkzd2r47vdy9a2a1szqnvl3";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -172006,6 +172728,8 @@ self: {
];
description = "Tool for semi-automatic updating of nixpkgs repository";
license = stdenv.lib.licenses.publicDomain;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"nkjp" = callPackage
@@ -172087,7 +172811,7 @@ self: {
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {g = null; inherit (pkgs) glib; libnm-glib = null;
+ }) {g = null; inherit (pkgs) glib; libnm-glib = null;
nm-glib = null;};
"nme" = callPackage
@@ -172438,17 +173162,6 @@ self: {
}) {};
"non-empty-sequence" = callPackage
- ({ mkDerivation, base, containers, semigroups }:
- mkDerivation {
- pname = "non-empty-sequence";
- version = "0.2.0.2";
- sha256 = "1qfidlv190wxrrp67h7rcrlczwfv7r0mdbwm31rrf08l1i6618yr";
- libraryHaskellDepends = [ base containers semigroups ];
- description = "Non-empty sequence";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "non-empty-sequence_0_2_0_4" = callPackage
({ mkDerivation, base, containers, semigroups }:
mkDerivation {
pname = "non-empty-sequence";
@@ -172457,7 +173170,6 @@ self: {
libraryHaskellDepends = [ base containers semigroups ];
description = "Non-empty sequence";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"non-empty-text" = callPackage
@@ -172539,6 +173251,25 @@ self: {
}) {};
"nonempty-containers" = callPackage
+ ({ mkDerivation, base, comonad, containers, deepseq, hedgehog
+ , hedgehog-fn, semigroupoids, tasty, tasty-hedgehog, text, these
+ }:
+ mkDerivation {
+ pname = "nonempty-containers";
+ version = "0.3.1.0";
+ sha256 = "15flyfv6w4078wk69d2nb2lx21b76xr6c34rxs0w8jz1mb497f6l";
+ libraryHaskellDepends = [
+ base comonad containers deepseq semigroupoids these
+ ];
+ testHaskellDepends = [
+ base comonad containers hedgehog hedgehog-fn semigroupoids tasty
+ tasty-hedgehog text these
+ ];
+ description = "Non-empty variants of containers data types, with full API";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "nonempty-containers_0_3_2_0" = callPackage
({ mkDerivation, base, comonad, containers, deepseq, hedgehog
, hedgehog-fn, nonempty-vector, semigroupoids, tasty
, tasty-hedgehog, text, these, vector
@@ -172557,6 +173288,7 @@ self: {
];
description = "Non-empty variants of containers data types, with full API";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"nonempty-lift" = callPackage
@@ -172814,6 +173546,8 @@ self: {
transformers tuple
];
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"notmuch" = callPackage
@@ -173507,17 +174241,6 @@ self: {
}) {};
"numhask" = callPackage
- ({ mkDerivation, base }:
- mkDerivation {
- pname = "numhask";
- version = "0.3.0.0";
- sha256 = "1zkiqav683mmghxz0hj0wjzg3sf95zfd4ghicw674d9j3vl4gmcw";
- libraryHaskellDepends = [ base ];
- description = "numeric classes";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "numhask_0_3_1" = callPackage
({ mkDerivation, base }:
mkDerivation {
pname = "numhask";
@@ -173526,7 +174249,6 @@ self: {
libraryHaskellDepends = [ base ];
description = "numeric classes";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"numhask-array" = callPackage
@@ -173639,6 +174361,8 @@ self: {
testHaskellDepends = [ base doctest ];
description = "numerical spaces";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"numhask-test" = callPackage
@@ -174384,8 +175108,8 @@ self: {
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {inherit (pkgs) libGL; inherit (pkgs.xorg) libX11;
- inherit (pkgs.xorg) libXinerama; ovr = null;
+ }) {inherit (pkgs) libGL; inherit (pkgs.xorg) libX11;
+ inherit (pkgs.xorg) libXinerama; ovr = null;
inherit (pkgs) systemd;};
"odbc" = callPackage
@@ -176958,23 +177682,22 @@ self: {
"ormolu" = callPackage
({ mkDerivation, base, bytestring, containers, dlist, exceptions
- , filepath, ghc, ghc-boot-th, ghc-paths, gitrev, hspec
- , hspec-discover, mtl, optparse-applicative, path, path-io, syb
- , text
+ , filepath, ghc-lib-parser, gitrev, hspec, hspec-discover, mtl
+ , optparse-applicative, path, path-io, syb, text
}:
mkDerivation {
pname = "ormolu";
- version = "0.0.1.0";
- sha256 = "1p4m9hiavirnhf941fb5pdnrlrknr5rhcvznhqywianvvw6qcm30";
+ version = "0.0.2.0";
+ sha256 = "10p3h98k5ph2awmdd89k8knavv4npvdmh00a9nrzaw6z32j0igfh";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
libraryHaskellDepends = [
- base bytestring containers dlist exceptions ghc ghc-boot-th
- ghc-paths mtl syb text
+ base bytestring containers dlist exceptions ghc-lib-parser mtl syb
+ text
];
executableHaskellDepends = [
- base ghc gitrev optparse-applicative text
+ base ghc-lib-parser gitrev optparse-applicative text
];
testHaskellDepends = [
base containers filepath hspec path path-io text
@@ -176982,6 +177705,8 @@ self: {
testToolDepends = [ hspec-discover ];
description = "A formatter for Haskell source code";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"os-release" = callPackage
@@ -177266,10 +177991,8 @@ self: {
}:
mkDerivation {
pname = "overloaded";
- version = "0.1.2";
- sha256 = "0m2ddb48vsl0x0hz6pq8wabl1s6vl7s66rz7z9v2i6d809zl83kw";
- revision = "1";
- editedCabalFile = "08w1f1g0vq0q8v93fdhb8w7a2xmq6mbyh8c3s5y5sli1bynsgbzb";
+ version = "0.1.3";
+ sha256 = "0yz94zzcwdw34c5v9qmqak9bwqz8gq1s80phf9rn8p0bg6a4l0h4";
libraryHaskellDepends = [
base bytestring containers fin ghc optics-core record-hasfield
sop-core split syb symbols text time vec
@@ -177940,6 +178663,61 @@ self: {
maintainers = with stdenv.lib.maintainers; [ peti ];
}) {};
+ "pandoc_2_8_0_1" = callPackage
+ ({ mkDerivation, aeson, aeson-pretty, attoparsec, base
+ , base64-bytestring, binary, blaze-html, blaze-markup, bytestring
+ , case-insensitive, cmark-gfm, containers, criterion, data-default
+ , deepseq, Diff, directory, doclayout, doctemplates, exceptions
+ , executable-path, filepath, Glob, haddock-library, hslua
+ , hslua-module-system, hslua-module-text, HsYAML, HTTP, http-client
+ , http-client-tls, http-types, ipynb, JuicyPixels, mtl, network
+ , network-uri, pandoc-types, parsec, process, QuickCheck, random
+ , safe, scientific, SHA, skylighting, skylighting-core, split, syb
+ , tagsoup, tasty, tasty-golden, tasty-hunit, tasty-lua
+ , tasty-quickcheck, temporary, texmath, text, text-conversions
+ , time, unicode-transforms, unix, unordered-containers, vector
+ , weigh, xml, zip-archive, zlib
+ }:
+ mkDerivation {
+ pname = "pandoc";
+ version = "2.8.0.1";
+ sha256 = "0g8sg52319id1srfb7z9j85lsk84x2rbillrcl4qsjg81lgq7pzs";
+ configureFlags = [ "-fhttps" "-f-trypandoc" ];
+ isLibrary = true;
+ isExecutable = true;
+ enableSeparateDataOutput = true;
+ libraryHaskellDepends = [
+ aeson aeson-pretty attoparsec base base64-bytestring binary
+ blaze-html blaze-markup bytestring case-insensitive cmark-gfm
+ containers data-default deepseq directory doclayout doctemplates
+ exceptions filepath Glob haddock-library hslua hslua-module-system
+ hslua-module-text HsYAML HTTP http-client http-client-tls
+ http-types ipynb JuicyPixels mtl network network-uri pandoc-types
+ parsec process random safe scientific SHA skylighting
+ skylighting-core split syb tagsoup temporary texmath text
+ text-conversions time unicode-transforms unix unordered-containers
+ vector xml zip-archive zlib
+ ];
+ executableHaskellDepends = [ base ];
+ testHaskellDepends = [
+ base base64-bytestring bytestring containers Diff directory
+ doctemplates executable-path filepath Glob hslua mtl pandoc-types
+ process QuickCheck tasty tasty-golden tasty-hunit tasty-lua
+ tasty-quickcheck temporary text time xml zip-archive
+ ];
+ benchmarkHaskellDepends = [
+ base bytestring containers criterion mtl text time weigh
+ ];
+ postInstall = ''
+ mkdir -p $out/share/man/man1
+ mv "man/"*.1 $out/share/man/man1/
+ '';
+ description = "Conversion between markup formats";
+ license = stdenv.lib.licenses.gpl2;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ maintainers = with stdenv.lib.maintainers; [ peti ];
+ }) {};
+
"pandoc-citeproc" = callPackage
({ mkDerivation, aeson, aeson-pretty, attoparsec, base, bytestring
, Cabal, containers, data-default, directory, filepath, hs-bibutils
@@ -177976,7 +178754,7 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "pandoc-citeproc_0_16_3_1" = callPackage
+ "pandoc-citeproc_0_16_4" = callPackage
({ mkDerivation, aeson, aeson-pretty, attoparsec, base, bytestring
, Cabal, containers, data-default, directory, filepath, hs-bibutils
, HsYAML, HsYAML-aeson, libyaml, mtl, network, old-locale, pandoc
@@ -177986,8 +178764,8 @@ self: {
}:
mkDerivation {
pname = "pandoc-citeproc";
- version = "0.16.3.1";
- sha256 = "12fsvvjcl7mf52xggh6v7p9va7vhfxj62ziyl1idiz13wp0ipc2z";
+ version = "0.16.4";
+ sha256 = "0mnkhyj56pw8cnycf4ny082rz67gii1x6clzhmxi60zafg07v04c";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -178014,18 +178792,21 @@ self: {
"pandoc-citeproc-preamble" = callPackage
({ mkDerivation, base, directory, filepath, pandoc-types, process
+ , text-conversions
}:
mkDerivation {
pname = "pandoc-citeproc-preamble";
- version = "1.2.4";
- sha256 = "0bdarf6rjncd8lfap4xn479675vsvqzxrmdqd367l2gxfi1nmrv5";
+ version = "1.3";
+ sha256 = "1lnsklvqvi9569wxdkyk2qwc33mm5d3n28xj64847i8g9af2jqs9";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
- base directory filepath pandoc-types process
+ base directory filepath pandoc-types process text-conversions
];
description = "Insert a preamble before pandoc-citeproc's bibliography";
license = stdenv.lib.licenses.gpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"pandoc-crossref" = callPackage
@@ -178037,8 +178818,8 @@ self: {
}:
mkDerivation {
pname = "pandoc-crossref";
- version = "0.3.4.1";
- sha256 = "19hs4akqsg7nlspnbdbyncq8irj0a3h8akmyfzxmi2yb35x7c8ny";
+ version = "0.3.5.0";
+ sha256 = "1x01qf7v88f42p6h4mjm8rllxm8jl7bj8rq3512qjksns6qajvk4";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -178062,6 +178843,8 @@ self: {
];
description = "Pandoc filter for cross-references";
license = stdenv.lib.licenses.gpl2;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"pandoc-csv2table" = callPackage
@@ -178267,8 +179050,6 @@ self: {
];
description = "Pandoc filter to include CSV files";
license = "GPL";
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"pandoc-plantuml-diagrams" = callPackage
@@ -178327,7 +179108,7 @@ self: {
broken = true;
}) {};
- "pandoc-pyplot_2_2_0_0" = callPackage
+ "pandoc-pyplot_2_3_0_0" = callPackage
({ mkDerivation, base, containers, data-default-class, deepseq
, directory, filepath, hashable, hspec, hspec-expectations, mtl
, open-browser, optparse-applicative, pandoc, pandoc-types
@@ -178336,8 +179117,8 @@ self: {
}:
mkDerivation {
pname = "pandoc-pyplot";
- version = "2.2.0.0";
- sha256 = "1090c3ilm2krz8wyhizlrbwdrn0hq05a7cyh1n0y57sfv3hxprbj";
+ version = "2.3.0.0";
+ sha256 = "04brh01arvmp3v8b006933n55m6z1pvz9v3x58732n693s7bhq8n";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -178374,17 +179155,17 @@ self: {
}) {};
"pandoc-stylefrommeta" = callPackage
- ({ mkDerivation, base, bytestring, containers, MissingH, pandoc
+ ({ mkDerivation, base, bytestring, containers, extra, pandoc
, pandoc-types, text
}:
mkDerivation {
pname = "pandoc-stylefrommeta";
- version = "0.2.1.1";
- sha256 = "0jqgpgz1yx85zhm4f6qjaqcj94zi71ab0gam5vdz0jad79szr5l8";
+ version = "0.2.3.0";
+ sha256 = "1145flz4jkn5knqkc5cppc1412m6hfzd13124k2kfm8dmw196k31";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
- base bytestring containers MissingH pandoc pandoc-types text
+ base bytestring containers extra pandoc pandoc-types text
];
description = "Pandoc filter to customize links, images and paragraphs";
license = stdenv.lib.licenses.bsd3;
@@ -178454,17 +179235,17 @@ self: {
"pandoc-vimhl" = callPackage
({ mkDerivation, base, cond, directory, filepath, pandoc-types
- , process, regex-compat, temporary
+ , process, regex-compat, temporary, text
}:
mkDerivation {
pname = "pandoc-vimhl";
- version = "0.1.2.4";
- sha256 = "16gvlskbp2d000mbx2rkbz6dg6758ni4x2mkzxjyk5m475h13w6b";
+ version = "0.1.3.0";
+ sha256 = "0ppn42jicmx3v0qk6ql0ccx61kk53c75n5wnl3dppgnv1xgmlnq8";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
base cond directory filepath pandoc-types process regex-compat
- temporary
+ temporary text
];
description = "Pandoc filter for native Vim code highlighting";
license = stdenv.lib.licenses.bsd3;
@@ -181144,18 +181925,6 @@ self: {
}) {};
"pcre-light" = callPackage
- ({ mkDerivation, base, bytestring, pcre }:
- mkDerivation {
- pname = "pcre-light";
- version = "0.4.0.4";
- sha256 = "0xcyi1fivwg7a92mch5bcqzmrfxzqj42rmb3m8kgs61x4qwpxj82";
- libraryHaskellDepends = [ base bytestring ];
- libraryPkgconfigDepends = [ pcre ];
- description = "Portable regex library for Perl 5 compatible regular expressions";
- license = stdenv.lib.licenses.bsd3;
- }) {inherit (pkgs) pcre;};
-
- "pcre-light_0_4_1_0" = callPackage
({ mkDerivation, base, bytestring, containers, HUnit, mtl, pcre }:
mkDerivation {
pname = "pcre-light";
@@ -181166,7 +181935,6 @@ self: {
testHaskellDepends = [ base bytestring containers HUnit mtl ];
description = "Portable regex library for Perl 5 compatible regular expressions";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {inherit (pkgs) pcre;};
"pcre-light-extra" = callPackage
@@ -184260,6 +185028,8 @@ self: {
testHaskellDepends = [ base containers sdl2 sdl2-image stm text ];
description = "Functional 2D Game Framework";
license = stdenv.lib.licenses.zlib;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"ping" = callPackage
@@ -185197,6 +185967,24 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "pipes-network-tls_0_4" = callPackage
+ ({ mkDerivation, base, bytestring, network, network-simple
+ , network-simple-tls, pipes, pipes-network, pipes-safe, tls
+ , transformers
+ }:
+ mkDerivation {
+ pname = "pipes-network-tls";
+ version = "0.4";
+ sha256 = "161nqwgv0r5vlnpa1bq0y2wyh2yp8b583dxbwpbgxfjrnsy5f5vm";
+ libraryHaskellDepends = [
+ base bytestring network network-simple network-simple-tls pipes
+ pipes-network pipes-safe tls transformers
+ ];
+ description = "TLS-secured network connections support for pipes";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"pipes-network-ws" = callPackage
({ mkDerivation, base, bytestring, network-simple-ws, pipes }:
mkDerivation {
@@ -186698,8 +187486,8 @@ self: {
}:
mkDerivation {
pname = "pointfree-fancy";
- version = "1.1.1.14";
- sha256 = "08b2dslkblxch8k6wlc6xx50lva8abdkdwibgfxdj2yw4mgdnhry";
+ version = "1.1.1.15";
+ sha256 = "1jbxgn4raa5zzy5riflvx1sch6ar78fi84yf0ag86yxda3lh70qd";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -186730,6 +187518,8 @@ self: {
executableHaskellDepends = [ base ];
description = "Pointful refactoring tool";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"pointless-fun" = callPackage
@@ -187658,7 +188448,7 @@ self: {
license = stdenv.lib.licenses.gpl2;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {inherit (pkgs) gdk-pixbuf; inherit (pkgs) gtk2;
+ }) {inherit (pkgs) gdk-pixbuf; inherit (pkgs) gtk2;
inherit (pkgs) pango; inherit (pkgs) poppler;};
"populate-setup-exe-cache" = callPackage
@@ -188314,6 +189104,36 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "postgresql-binary_0_12_2" = callPackage
+ ({ mkDerivation, aeson, base, base-prelude, binary-parser
+ , bytestring, bytestring-strict-builder, containers, conversion
+ , conversion-bytestring, conversion-text, criterion, json-ast
+ , loch-th, network-ip, placeholders, postgresql-libpq, QuickCheck
+ , quickcheck-instances, rerebase, scientific, tasty, tasty-hunit
+ , tasty-quickcheck, text, time, transformers, unordered-containers
+ , uuid, vector
+ }:
+ mkDerivation {
+ pname = "postgresql-binary";
+ version = "0.12.2";
+ sha256 = "1zkhwl8g141p1zgnbxjhh0r6wgvzlpwdbvyl80z31fdxd5v29bv8";
+ libraryHaskellDepends = [
+ aeson base base-prelude binary-parser bytestring
+ bytestring-strict-builder containers loch-th network-ip
+ placeholders scientific text time transformers unordered-containers
+ uuid vector
+ ];
+ testHaskellDepends = [
+ aeson conversion conversion-bytestring conversion-text json-ast
+ loch-th network-ip placeholders postgresql-libpq QuickCheck
+ quickcheck-instances rerebase tasty tasty-hunit tasty-quickcheck
+ ];
+ benchmarkHaskellDepends = [ criterion rerebase ];
+ description = "Encoders and decoders for the PostgreSQL's binary format";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"postgresql-common" = callPackage
({ mkDerivation, attoparsec, base, bytestring, postgresql-simple }:
mkDerivation {
@@ -188385,8 +189205,8 @@ self: {
({ mkDerivation, base, bytestring }:
mkDerivation {
pname = "postgresql-copy-escape";
- version = "0.1";
- sha256 = "063phxj8r3vy25awwwn47k9ac0s8z59igpgqrhb9gbfdq4ldrlpm";
+ version = "0.1.0.1";
+ sha256 = "08ld3rqjjjhlikcv1cpxjqs8wlsjhvv7qq9fjb032hx6mvcqwz0i";
libraryHaskellDepends = [ base bytestring ];
description = "Format data to feed to a PostgreSQL COPY FROM statement";
license = stdenv.lib.licenses.bsd3;
@@ -189585,23 +190405,24 @@ self: {
"predicate-typed" = callPackage
({ mkDerivation, aeson, base, binary, bytestring, comonad
- , containers, deepseq, directory, doctest, ghc-prim, lens, mtl
- , pcre-heavy, pcre-light, pretty, pretty-terminal, QuickCheck, safe
- , stm, tasty, tasty-hunit, tasty-quickcheck, template-haskell, text
- , th-lift, these, time, tree-view
+ , containers, deepseq, directory, doctest, ghc-prim, hashable, lens
+ , mtl, pcre-heavy, pcre-light, pretty, pretty-terminal, QuickCheck
+ , safe, stm, tasty, tasty-hunit, tasty-quickcheck, template-haskell
+ , text, th-lift, these, time, tree-view
}:
mkDerivation {
pname = "predicate-typed";
- version = "0.4.0.0";
- sha256 = "1inbwv7g98b8pc0z3ri4hrmang6caaam99mv6vd1pam11kpw6l8g";
+ version = "0.6.0.0";
+ sha256 = "0fk30pn759fg9v2k5gw51hk6vkp2vq4sh574zlqdk4vx6r2r5jrp";
libraryHaskellDepends = [
aeson base binary bytestring comonad containers deepseq directory
- ghc-prim lens mtl pcre-heavy pcre-light pretty pretty-terminal
- QuickCheck safe template-haskell text th-lift these time tree-view
+ ghc-prim hashable lens mtl pcre-heavy pcre-light pretty
+ pretty-terminal QuickCheck safe template-haskell text th-lift these
+ time tree-view
];
testHaskellDepends = [
aeson base binary bytestring comonad containers deepseq directory
- doctest ghc-prim lens mtl pcre-heavy pcre-light pretty
+ doctest ghc-prim hashable lens mtl pcre-heavy pcre-light pretty
pretty-terminal QuickCheck safe stm tasty tasty-hunit
tasty-quickcheck template-haskell text th-lift these time tree-view
];
@@ -191130,21 +191951,6 @@ self: {
}) {};
"probability" = callPackage
- ({ mkDerivation, base, containers, random, transformers, utility-ht
- }:
- mkDerivation {
- pname = "probability";
- version = "0.2.5.2";
- sha256 = "059l9by2zxb92dd2vshxx9f3sm1kazc2i2ll168hfsya9rrqqaqg";
- enableSeparateDataOutput = true;
- libraryHaskellDepends = [
- base containers random transformers utility-ht
- ];
- description = "Probabilistic Functional Programming";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "probability_0_2_6" = callPackage
({ mkDerivation, base, containers, random, transformers, utility-ht
}:
mkDerivation {
@@ -191157,7 +191963,6 @@ self: {
];
description = "Probabilistic Functional Programming";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"probable" = callPackage
@@ -191217,16 +192022,14 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
- "process_1_6_6_0" = callPackage
+ "process_1_6_7_0" = callPackage
({ mkDerivation, base, bytestring, deepseq, directory, filepath
, unix
}:
mkDerivation {
pname = "process";
- version = "1.6.6.0";
- sha256 = "140as37rfad7hy1lg03n19dzfbcdaahv64aydl6frv06qvdlc49w";
- revision = "1";
- editedCabalFile = "0y3v5ly6fg42ngv41d28ny4x06ddqkivxx16whsfss06k15x3vz5";
+ version = "1.6.7.0";
+ sha256 = "1qplrcdzdv8dhzh859f709facw7xc6kmfwhwmm26qks4arkih7j5";
libraryHaskellDepends = [ base deepseq directory filepath unix ];
testHaskellDepends = [ base bytestring directory ];
description = "Process libraries";
@@ -191718,6 +192521,8 @@ self: {
];
description = "Profunctor optics";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"profunctors" = callPackage
@@ -191738,14 +192543,14 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "profunctors_5_5" = callPackage
+ "profunctors_5_5_1" = callPackage
({ mkDerivation, base, base-orphans, bifunctors, comonad
, contravariant, distributive, tagged, transformers
}:
mkDerivation {
pname = "profunctors";
- version = "5.5";
- sha256 = "0z7kf8hkfk5wfxw80zs9jsh22mk3mjzfvqbdkihrw1wiyw4xkjfl";
+ version = "5.5.1";
+ sha256 = "0nmiv7hhmimiwj4jnh5vd5n96bihpairq2rf6hrw11rignal2dqx";
libraryHaskellDepends = [
base base-orphans bifunctors comonad contravariant distributive
tagged transformers
@@ -192585,6 +193390,8 @@ self: {
];
description = "JSON protobuf encoding for proto-lens";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"proto-lens-optparse" = callPackage
@@ -193433,29 +194240,29 @@ self: {
}) {};
"publish" = callPackage
- ({ mkDerivation, base, bytestring, chronologique, deepseq
- , directory, filepath, hinotify, hspec, megaparsec, pandoc
- , pandoc-types, template-haskell, text, typed-process, unbeliever
- , unix, unordered-containers
+ ({ mkDerivation, base, bytestring, chronologique, core-program
+ , core-text, deepseq, directory, filepath, hinotify, hspec
+ , megaparsec, pandoc, pandoc-types, template-haskell, text
+ , typed-process, unix, unordered-containers
}:
mkDerivation {
pname = "publish";
- version = "2.0.1";
- sha256 = "12jhwihg6nlhs1q2cf4ivd7qw724qz1wk1i5rmi4akfga8ad7n4l";
+ version = "2.1.0";
+ sha256 = "03fwk0ami5xxqacqb8gikqzxdp7cavvni5bmxd5bi1lvavk49sh7";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
- base bytestring chronologique deepseq directory filepath hinotify
- megaparsec pandoc pandoc-types template-haskell text typed-process
- unbeliever unix unordered-containers
+ base bytestring chronologique core-program core-text deepseq
+ directory filepath hinotify megaparsec pandoc pandoc-types
+ template-haskell text typed-process unix unordered-containers
];
testHaskellDepends = [
- base bytestring chronologique deepseq directory filepath hinotify
- hspec megaparsec pandoc pandoc-types template-haskell text
- typed-process unbeliever unix unordered-containers
+ base bytestring chronologique core-program core-text deepseq
+ directory filepath hinotify hspec megaparsec pandoc pandoc-types
+ template-haskell text typed-process unix unordered-containers
];
description = "Publishing tools for papers, books, and presentations";
- license = stdenv.lib.licenses.bsd3;
+ license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
}) {};
@@ -194873,7 +195680,7 @@ self: {
description = "Qt bindings";
license = "unknown";
hydraPlatforms = stdenv.lib.platforms.none;
- }) {qtc_core = null; qtc_gui = null; qtc_network = null;
+ }) {qtc_core = null; qtc_gui = null; qtc_network = null;
qtc_opengl = null; qtc_script = null; qtc_tools = null;};
"qtah-cpp-qt5" = callPackage
@@ -196221,6 +197028,8 @@ self: {
];
description = "Test helpers which help generate data for projects that use postgresql";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"quoridor-hs" = callPackage
@@ -196589,16 +197398,16 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "rainbow_0_34_0_0" = callPackage
- ({ mkDerivation, base, bytestring, lens, process, QuickCheck, text
+ "rainbow_0_34_2_0" = callPackage
+ ({ mkDerivation, base, bytestring, lens, QuickCheck, terminfo, text
}:
mkDerivation {
pname = "rainbow";
- version = "0.34.0.0";
- sha256 = "17v87fkr2skdq1rqcfd5x6philvr5zvnw6sdy9qj0ljafcq31mdd";
- libraryHaskellDepends = [ base bytestring lens process text ];
+ version = "0.34.2.0";
+ sha256 = "1lamwlkq3g184h7ab2f03x8bhmmpmcn0f1piqp8zqn0594v76a0q";
+ libraryHaskellDepends = [ base bytestring lens terminfo text ];
testHaskellDepends = [
- base bytestring lens process QuickCheck text
+ base bytestring lens QuickCheck terminfo text
];
description = "Print text to terminal with colors and effects";
license = stdenv.lib.licenses.bsd3;
@@ -196641,14 +197450,14 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "rainbox_0_24_0_0" = callPackage
+ "rainbox_0_24_2_0" = callPackage
({ mkDerivation, base, bytestring, containers, lens, QuickCheck
, rainbow, tasty, tasty-quickcheck, text
}:
mkDerivation {
pname = "rainbox";
- version = "0.24.0.0";
- sha256 = "1y2zs6062y7xfhcach4s4q4nhhhb111dwggziwgzl3a60cnfhln3";
+ version = "0.24.2.0";
+ sha256 = "1b1nkw7j24fcmgzkcn92j6c8v6abrhg9580hnwna1b4sjjx6ayak";
libraryHaskellDepends = [
base bytestring containers lens rainbow text
];
@@ -199275,8 +200084,8 @@ self: {
pname = "recursion-schemes";
version = "5.1.3";
sha256 = "0a0mkwy3sxg5f1mdlblpn0xl3lwgilnmzs94jqab0pqx9gjkc5xj";
- revision = "1";
- editedCabalFile = "0zxcmga4fy42arbyv1kzbyfnsghnll3prkpva58x654x4cg4diwk";
+ revision = "2";
+ editedCabalFile = "01q18gplv5k328qf74innnx2z2p15pg5nc6sikxq6fkkw4v3rkyb";
libraryHaskellDepends = [
base base-orphans comonad free template-haskell th-abstraction
transformers
@@ -199342,8 +200151,8 @@ self: {
}:
mkDerivation {
pname = "red-black-record";
- version = "2.1.0.2";
- sha256 = "0xfvvhdqnhialxf13xw894mpsf8xj8jig5zipqj1hh6galb0b164";
+ version = "2.1.0.3";
+ sha256 = "0g1av0w52m0admcqif5imkla43yk6id4y8jmiy843xbdqs3qzcx4";
libraryHaskellDepends = [ base sop-core ];
testHaskellDepends = [
aeson base bytestring doctest profunctors sop-core tasty
@@ -200345,8 +201154,8 @@ self: {
}:
mkDerivation {
pname = "reform-happstack";
- version = "0.2.5.2";
- sha256 = "0d6w500y47ghmiawlv116hqrknr1sx4k525c7arq340slzch03r6";
+ version = "0.2.5.3";
+ sha256 = "04fnn47rcm7n98q0qifyyg9jrh09mzchirwsgi2zzb6j9mciz6ci";
libraryHaskellDepends = [
base bytestring happstack-server mtl random reform text utf8-string
];
@@ -200460,6 +201269,8 @@ self: {
libraryHaskellDepends = [ base ];
description = "Register allocation API";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"reg-alloc-types" = callPackage
@@ -200920,22 +201731,22 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "regex-tdfa_1_3_0" = callPackage
- ({ mkDerivation, array, base, bytestring, containers, file-embed
- , filepath, ghc-prim, mtl, parsec, regex-base, utf8-string
+ "regex-tdfa_1_3_1_0" = callPackage
+ ({ mkDerivation, array, base, bytestring, containers, directory
+ , filepath, mtl, parsec, regex-base, text, utf8-string
}:
mkDerivation {
pname = "regex-tdfa";
- version = "1.3.0";
- sha256 = "1qzcix4bmz5lj0w433qrfi576rvy8y8flv5wvlp6cchb2s8mfq0v";
+ version = "1.3.1.0";
+ sha256 = "1h1fliv2zjxwmddl9wnn7ckxxpgy1049hdfg6fcknyrr7mw7dhqm";
libraryHaskellDepends = [
- array base bytestring containers ghc-prim mtl parsec regex-base
+ array base bytestring containers mtl parsec regex-base text
];
testHaskellDepends = [
- array base bytestring containers file-embed filepath mtl regex-base
- utf8-string
+ array base bytestring containers directory filepath mtl regex-base
+ text utf8-string
];
- description = "Replaces/Enhances Text.Regex";
+ description = "Pure Haskell Tagged DFA Backend for \"Text.Regex\" (regex-base)";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
@@ -204255,20 +205066,20 @@ self: {
"rib" = callPackage
({ mkDerivation, aeson, async, base, binary, bytestring, clay
- , cmdargs, containers, data-default, fsnotify, http-types, lens
- , lens-aeson, lucid, mtl, pandoc, pandoc-include-code, pandoc-types
- , safe, shake, skylighting, text, time, wai, wai-app-static
- , wai-extra, warp
+ , cmdargs, containers, data-default, directory, fsnotify
+ , http-types, lens, lens-aeson, lucid, mtl, pandoc
+ , pandoc-include-code, pandoc-types, safe, shake, skylighting, text
+ , time, wai, wai-app-static, wai-extra, warp
}:
mkDerivation {
pname = "rib";
- version = "0.3.0.0";
- sha256 = "1dw86xrz310vrapgln48r46z0ss35jm85c0r95pqvnq4smbwiw18";
+ version = "0.4.1.0";
+ sha256 = "06rxf3fnj9csng69p815ff3wlrbh48wszjcdm7v2xg6vbild3xkg";
libraryHaskellDepends = [
aeson async base binary bytestring clay cmdargs containers
- data-default fsnotify http-types lens lens-aeson lucid mtl pandoc
- pandoc-include-code pandoc-types safe shake skylighting text time
- wai wai-app-static wai-extra warp
+ data-default directory fsnotify http-types lens lens-aeson lucid
+ mtl pandoc pandoc-include-code pandoc-types safe shake skylighting
+ text time wai wai-app-static wai-extra warp
];
description = "Static site generator using Shake";
license = stdenv.lib.licenses.bsd3;
@@ -204280,10 +205091,12 @@ self: {
({ mkDerivation, base, Only, postgresql-simple, text, time }:
mkDerivation {
pname = "ribbit";
- version = "0.4.0.0";
- sha256 = "0nmpsi8b6m88za9jxawz36jjhsybn39ldi503ap7m9wd765j1dbz";
+ version = "0.4.1.0";
+ sha256 = "1pgyh7ar03k62mpn09g8qm13m1j07wq257hpva3f9sx9n5qd8z2a";
+ revision = "1";
+ editedCabalFile = "11ky88hgkys3bzsqr3sl9j685h6l97r2zccpz1ylinsrvinwnq8s";
libraryHaskellDepends = [ base Only postgresql-simple text time ];
- description = "Type-level Relational DB combinators";
+ description = "Type-level Relational DB language";
license = stdenv.lib.licenses.mit;
}) {};
@@ -204545,6 +205358,8 @@ self: {
testHaskellDepends = [ base connections hedgehog property ];
description = "Rings, semirings, and dioids";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"rio" = callPackage
@@ -208628,6 +209443,8 @@ self: {
];
description = "Work stealing scheduler";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"schedyield" = callPackage
@@ -209696,6 +210513,19 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "sdl-try-drivers" = callPackage
+ ({ mkDerivation, base, pretty-simple, sdl2, text }:
+ mkDerivation {
+ pname = "sdl-try-drivers";
+ version = "0.0.0.1";
+ sha256 = "1zwcf6l2v3k8hi33ssij9a8x2wvlsp4lsa0x7qb9zaq4nbb8nsqj";
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [ base pretty-simple sdl2 text ];
+ description = "small testing tool for sdl2 and accelerated drivers";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"sdl2" = callPackage
({ mkDerivation, base, bytestring, deepseq, exceptions, linear
, SDL2, StateVar, text, transformers, vector, weigh
@@ -210761,6 +211591,28 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "semigroupoids_5_3_4" = callPackage
+ ({ mkDerivation, base, base-orphans, bifunctors, Cabal
+ , cabal-doctest, comonad, containers, contravariant, distributive
+ , doctest, hashable, tagged, template-haskell, transformers
+ , transformers-compat, unordered-containers
+ }:
+ mkDerivation {
+ pname = "semigroupoids";
+ version = "5.3.4";
+ sha256 = "0r49qpbi803jk3v4i09jr1a98l6hcgnjhrv1a9fhmay3ff4y9lh0";
+ setupHaskellDepends = [ base Cabal cabal-doctest ];
+ libraryHaskellDepends = [
+ base base-orphans bifunctors comonad containers contravariant
+ distributive hashable tagged template-haskell transformers
+ transformers-compat unordered-containers
+ ];
+ testHaskellDepends = [ base doctest ];
+ description = "Semigroupoids: Category sans id";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"semigroupoids-syntax" = callPackage
({ mkDerivation, base, comonad, containers, contravariant
, directory, distributive, doctest, filepath, QuickCheck
@@ -210864,10 +211716,8 @@ self: {
}:
mkDerivation {
pname = "semiring-num";
- version = "1.6.0.1";
- sha256 = "1l9j59r0ph34fqkjw1gdf3yzyzk8p6362cznixzx6qnhphbkqjsi";
- revision = "1";
- editedCabalFile = "123jk59i4ziv6ghmy8349icpvzgw90xjd6dxzlnayf0qg01adzsr";
+ version = "1.6.0.4";
+ sha256 = "1wpszhdjh2hmgnfzwdsdai1xzq0y1panay9jz5sa82hg11p4wa44";
libraryHaskellDepends = [
base containers deepseq hashable log-domain scientific
template-haskell time unordered-containers vector
@@ -212186,6 +213036,37 @@ self: {
pname = "servant-cli";
version = "0.1.0.1";
sha256 = "12d18ca90b7mijaav3glx60b9c9qd1f2g4p5m4m7hzz2m22dyimn";
+ revision = "1";
+ editedCabalFile = "1h29x87kqyylwigz86bwrgjdykk1119alsy65a7jkkcrj7a3syqa";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ base bytestring case-insensitive containers filepath free
+ functor-combinators http-types optparse-applicative profunctors
+ recursion-schemes servant servant-client-core servant-docs text
+ transformers vinyl
+ ];
+ executableHaskellDepends = [
+ aeson base bytestring containers http-client optparse-applicative
+ random servant servant-client servant-server text vinyl warp
+ ];
+ description = "Command line interface for Servant API clients";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "servant-cli_0_1_0_2" = callPackage
+ ({ mkDerivation, aeson, base, bytestring, case-insensitive
+ , containers, filepath, free, functor-combinators, http-client
+ , http-types, optparse-applicative, profunctors, random
+ , recursion-schemes, servant, servant-client, servant-client-core
+ , servant-docs, servant-server, text, transformers, vinyl, warp
+ }:
+ mkDerivation {
+ pname = "servant-cli";
+ version = "0.1.0.2";
+ sha256 = "11pl9z3l2f7py16drqq9zvl9z5358jv1q7pqslhkhrqg5vhp822k";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -214137,8 +215018,8 @@ self: {
}:
mkDerivation {
pname = "serverless-haskell";
- version = "0.9.3";
- sha256 = "09mxwqzwcv7dzrb39jiqfay91jh64ajdcp2j2zsp0j1d6g3n8ywf";
+ version = "0.9.4";
+ sha256 = "11svl9km810xw4vbn3vd9jqnv9fglf5jqfyfshnjachiz38fdsih";
libraryHaskellDepends = [
aeson aeson-casing aeson-extra amazonka-core amazonka-kinesis
amazonka-s3 base bytestring case-insensitive http-types iproute
@@ -215480,8 +216361,8 @@ self: {
}:
mkDerivation {
pname = "shakespeare";
- version = "2.0.22";
- sha256 = "1mc1a0vv070gcawwcx6vzpj6gpfh1qnlqrndiyfic3p500y656vh";
+ version = "2.0.23";
+ sha256 = "0i1k6ahpvc45z05lycxs0f70ngm8xrazp6ayyxv1bzw8q8d4bkz3";
libraryHaskellDepends = [
aeson base blaze-html blaze-markup bytestring containers directory
exceptions ghc-prim parsec process scientific template-haskell text
@@ -218082,6 +218963,28 @@ self: {
broken = true;
}) {};
+ "singular-factory" = callPackage
+ ({ mkDerivation, base, containers, directory, filepath, hgmp
+ , process, QuickCheck, random, singular-factory, tasty, tasty-hunit
+ , tasty-quickcheck, text
+ }:
+ mkDerivation {
+ pname = "singular-factory";
+ version = "0.1";
+ sha256 = "0gz9p32y37ci7i1xnq4n086p1ql5nli84z15xyq6dl1jaz0f541r";
+ libraryHaskellDepends = [
+ base containers directory filepath hgmp process text
+ ];
+ libraryPkgconfigDepends = [ singular-factory ];
+ testHaskellDepends = [
+ base QuickCheck random tasty tasty-hunit tasty-quickcheck
+ ];
+ description = "Multivariate polynomial factorization via bindings to Singular-factory";
+ license = "GPL";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {singular-factory = null;};
+
"sink" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -218206,8 +219109,8 @@ self: {
}:
mkDerivation {
pname = "sitepipe";
- version = "0.4.0.0";
- sha256 = "0y8llic3imc1zs53glig24vjm59f2dnw4sw32gzkvlzq33689s7s";
+ version = "0.4.0.1";
+ sha256 = "1iq7i2zs1bqnxqjp5bwsx8q2vvp1kngwg45mzsiwmhzq4m88x80h";
libraryHaskellDepends = [
aeson base bytestring containers directory exceptions filepath Glob
lens lens-aeson megaparsec MissingH mtl mustache
@@ -218633,14 +219536,14 @@ self: {
license = stdenv.lib.licenses.gpl2;
}) {};
- "skylighting_0_8_2_3" = callPackage
+ "skylighting_0_8_3" = callPackage
({ mkDerivation, base, binary, bytestring, containers
, skylighting-core
}:
mkDerivation {
pname = "skylighting";
- version = "0.8.2.3";
- sha256 = "10byr42qnsrqs368li412n8zz405annwmh4vvq2yh6xskipgb32p";
+ version = "0.8.3";
+ sha256 = "1gsmbzgfxwsfvnk3mbd29llv5wkvn5v7ybs46y6kvf51sdf4v6i6";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -218683,7 +219586,7 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "skylighting-core_0_8_2_3" = callPackage
+ "skylighting-core_0_8_3" = callPackage
({ mkDerivation, aeson, ansi-terminal, attoparsec, base
, base64-bytestring, binary, blaze-html, bytestring
, case-insensitive, colour, containers, criterion, Diff, directory
@@ -218693,8 +219596,8 @@ self: {
}:
mkDerivation {
pname = "skylighting-core";
- version = "0.8.2.3";
- sha256 = "005ancb8y846xsiagnb4gp4bn4h86r551rvpm3x4xj5zpr795pnc";
+ version = "0.8.3";
+ sha256 = "07l8n290wm533qp7h1kdn99b47f2lrq4mag2snfpllll8ss35773";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -219198,20 +220101,21 @@ self: {
"small-bytearray-builder" = callPackage
({ mkDerivation, base, byteslice, bytestring, gauge
, natural-arithmetic, primitive, primitive-offset, QuickCheck
- , run-st, tasty, tasty-hunit, tasty-quickcheck, text, text-short
- , vector
+ , quickcheck-classes, run-st, tasty, tasty-hunit, tasty-quickcheck
+ , text, text-short, vector, wide-word
}:
mkDerivation {
pname = "small-bytearray-builder";
- version = "0.3.0.0";
- sha256 = "17c0mwanwj96djirh6vac9k5dh8qsl9inx237wwbln4j3br4mkz4";
+ version = "0.3.1.0";
+ sha256 = "1swv0cwsxrmffkvx16qxxxkxfhqfwxwfz7d2msp5fzzz6all6vli";
libraryHaskellDepends = [
base byteslice bytestring natural-arithmetic primitive
- primitive-offset run-st text-short
+ primitive-offset run-st text-short wide-word
];
testHaskellDepends = [
base byteslice bytestring natural-arithmetic primitive QuickCheck
- tasty tasty-hunit tasty-quickcheck text vector
+ quickcheck-classes tasty tasty-hunit tasty-quickcheck text vector
+ wide-word
];
benchmarkHaskellDepends = [
base byteslice gauge natural-arithmetic primitive text-short
@@ -220021,10 +220925,8 @@ self: {
}:
mkDerivation {
pname = "snap-core";
- version = "1.0.4.0";
- sha256 = "0dklxgrbqhnb6bc4ic358g4fyj11ywmjrkxxhqcjmci2hhpn00mr";
- revision = "1";
- editedCabalFile = "1nw74vpfag6gdh66kq82a0kdb05c2xnwcfacwlcg77j24gxcgi6s";
+ version = "1.0.4.1";
+ sha256 = "19dmfqbsfyk1rkjnnrnajpjfam2xjxgmpfmx10yr5qffgza7gcf0";
libraryHaskellDepends = [
attoparsec base bytestring bytestring-builder case-insensitive
containers directory filepath hashable HUnit io-streams lifted-base
@@ -221953,8 +222855,8 @@ self: {
({ mkDerivation, base, deepseq }:
mkDerivation {
pname = "some";
- version = "1.0.0.3";
- sha256 = "0c2y51gw94faafa0jvb3awnsvj89saan4ryy0d5dwivp0zp9gg64";
+ version = "1.0.1";
+ sha256 = "13dpvxswjcsmic8h2vayp77qzl820gg4g29g5n2xcja8gnzjkkii";
libraryHaskellDepends = [ base deepseq ];
testHaskellDepends = [ base ];
description = "Existential type: Some";
@@ -222117,6 +223019,26 @@ self: {
broken = true;
}) {};
+ "souffle-haskell" = callPackage
+ ({ mkDerivation, base, hspec, mtl, template-haskell
+ , type-errors-pretty
+ }:
+ mkDerivation {
+ pname = "souffle-haskell";
+ version = "0.0.1";
+ sha256 = "1sz5xaw24fknq4y9a9cpp36h6fm46ipclp3nwmpqpnc5svsslgbz";
+ libraryHaskellDepends = [
+ base mtl template-haskell type-errors-pretty
+ ];
+ testHaskellDepends = [
+ base hspec mtl template-haskell type-errors-pretty
+ ];
+ description = "Souffle Datalog bindings for Haskell";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"sound-collage" = callPackage
({ mkDerivation, array, base, Cabal, carray, containers, fft
, filepath, numeric-prelude, optparse-applicative, pathtype
@@ -223931,6 +224853,8 @@ self: {
];
description = "A file-packing application";
license = "GPL";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"sr-extra" = callPackage
@@ -224238,6 +225162,8 @@ self: {
libraryHaskellDepends = [ base gdp ghc-prim primitive ];
description = "shared heap regions between local mutable state threads";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"stable-heap" = callPackage
@@ -226852,7 +227778,7 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
- "store_0_7_0" = callPackage
+ "store_0_7_1" = callPackage
({ mkDerivation, array, async, base, base-orphans
, base64-bytestring, bifunctors, bytestring, cereal, cereal-vector
, clock, containers, contravariant, criterion, cryptohash, deepseq
@@ -226866,8 +227792,8 @@ self: {
}:
mkDerivation {
pname = "store";
- version = "0.7.0";
- sha256 = "0vm0gmdgay66wyvg3inlpdc4p7clpvd23767wldfilvvq5zcjq1q";
+ version = "0.7.1";
+ sha256 = "0mxvyy7l0vg545f3v1y5kh7q58ajhwz02fhfk0km2198bhsdfrij";
libraryHaskellDepends = [
array async base base-orphans base64-bytestring bifunctors
bytestring containers contravariant cryptohash deepseq directory
@@ -226999,15 +227925,15 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
- "stratosphere_0_44_0" = callPackage
+ "stratosphere_0_46_0" = callPackage
({ mkDerivation, aeson, aeson-pretty, base, bytestring, containers
, hashable, hspec, hspec-discover, lens, template-haskell, text
, unordered-containers
}:
mkDerivation {
pname = "stratosphere";
- version = "0.44.0";
- sha256 = "10brxs6hs8s0nb17aycbpn4xhiixxhxnv1wgmkc4jy0pbbrp942w";
+ version = "0.46.0";
+ sha256 = "07qm0bi5f3fkpnbsjbyi4qv2kp7w0wb7zd75q4cikjwkm1wxlldr";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -227187,12 +228113,12 @@ self: {
}) {};
"streamdeck" = callPackage
- ({ mkDerivation, base, bytestring, hidapi, mtl }:
+ ({ mkDerivation, base, bytestring, hidapi, mtl, split }:
mkDerivation {
pname = "streamdeck";
- version = "0.0.3";
- sha256 = "1cjvdf9ld55pv7n9cx2c4rsczqjxkrx1mkci8aziz59bs2ipqhak";
- libraryHaskellDepends = [ base bytestring hidapi mtl ];
+ version = "0.1.0";
+ sha256 = "0dg5hmv61jnpqby4v5g4wpsb7ynsm56fmb3xj2pixswnzqz31ian";
+ libraryHaskellDepends = [ base bytestring hidapi mtl split ];
description = "Control library for the Elgato Stream Deck";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -227625,8 +228551,8 @@ self: {
}:
mkDerivation {
pname = "streaming-postgresql-simple";
- version = "0.2.0.3";
- sha256 = "1gy6yy14q18zfbbj6rvsnhvhkra78m2jwbyd3hnpbx25jgvz230n";
+ version = "0.2.0.4";
+ sha256 = "1qdfqp1w7pszks4iqbvgqsxmr2c6bx81jgkyz9k8wfz7vajg6f67";
libraryHaskellDepends = [
base bytestring exceptions postgresql-libpq postgresql-simple
resourcet safe-exceptions streaming transformers
@@ -228706,8 +229632,8 @@ self: {
pname = "structs";
version = "0.1.2";
sha256 = "0myv13g48y8vn397lvg45lb942fmw4n9gs80v5nnjfvgika7qbw4";
- revision = "1";
- editedCabalFile = "1snsprlbv9npn06iliy937vxqpsjpcmv880bnkbzj3nz4c6c59pa";
+ revision = "2";
+ editedCabalFile = "0ma2s0by622kaq7p57g859pxha02bqrd7n86cczfb2gzcm7kqma7";
setupHaskellDepends = [ base Cabal cabal-doctest ];
libraryHaskellDepends = [
base deepseq ghc-prim primitive template-haskell
@@ -230304,6 +231230,39 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "swagger2_2_5" = callPackage
+ ({ mkDerivation, aeson, aeson-pretty, base, base-compat-batteries
+ , bytestring, Cabal, cabal-doctest, containers, cookie, doctest
+ , generics-sop, Glob, hashable, hspec, hspec-discover, http-media
+ , HUnit, insert-ordered-containers, lens, mtl, network, optics-core
+ , optics-th, QuickCheck, quickcheck-instances, scientific
+ , template-haskell, text, time, transformers, transformers-compat
+ , unordered-containers, utf8-string, uuid-types, vector
+ }:
+ mkDerivation {
+ pname = "swagger2";
+ version = "2.5";
+ sha256 = "0ywj4536daz43vrxibqn271gq96bzkawx3qcwbm547315jfd4fqf";
+ setupHaskellDepends = [ base Cabal cabal-doctest ];
+ libraryHaskellDepends = [
+ aeson aeson-pretty base base-compat-batteries bytestring containers
+ cookie generics-sop hashable http-media insert-ordered-containers
+ lens mtl network optics-core optics-th QuickCheck scientific
+ template-haskell text time transformers transformers-compat
+ unordered-containers uuid-types vector
+ ];
+ testHaskellDepends = [
+ aeson base base-compat-batteries bytestring containers doctest Glob
+ hashable hspec HUnit insert-ordered-containers lens mtl QuickCheck
+ quickcheck-instances template-haskell text time
+ unordered-containers utf8-string vector
+ ];
+ testToolDepends = [ hspec-discover ];
+ description = "Swagger 2.0 data model";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"swapper" = callPackage
({ mkDerivation, base, binary, bytestring, deepseq, happstack-data
, happstack-state, parallel, tokyocabinet
@@ -230890,7 +231849,7 @@ self: {
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {inherit (pkgs) gmp; inherit (pkgs) gmpxx;
+ }) {inherit (pkgs) gmp; inherit (pkgs) gmpxx;
inherit (pkgs) symengine;};
"symengine-hs" = callPackage
@@ -230910,7 +231869,7 @@ self: {
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {inherit (pkgs) gmp; inherit (pkgs) gmpxx;
+ }) {inherit (pkgs) gmp; inherit (pkgs) gmpxx;
inherit (pkgs) symengine;};
"symmetric-properties" = callPackage
@@ -232261,8 +233220,8 @@ self: {
pname = "tagged";
version = "0.8.6";
sha256 = "1pciqzxf9ncv954v4r527xkxkn7r5hcr13mfw5dg1xjci3qdw5md";
- revision = "1";
- editedCabalFile = "070xwfw7y81hd63il76dmwbdl9ca1rd07c54zynfx6vpr4wyx4vh";
+ revision = "2";
+ editedCabalFile = "1y8z8hmm846z7h3wqncpi0d4zhsnkwf08q0wchivkjw8di7ahz0z";
libraryHaskellDepends = [
base deepseq template-haskell transformers
];
@@ -232556,8 +233515,8 @@ self: {
}:
mkDerivation {
pname = "tagsoup-navigate";
- version = "0.1.0.3";
- sha256 = "1vfadi0ls4wqv8kzpil5ph715mihxp70nb2nnjq70gsdgarndv2j";
+ version = "0.1.0.4";
+ sha256 = "1mds95a0xz3iklidmvczjpmm9vjhzdrdvcj3dg0n3ivwwli672m9";
libraryHaskellDepends = [
base deriving-compat lens mmorph mtl semigroupoids semigroups
tagsoup tagsoup-selection transformers
@@ -233164,8 +234123,8 @@ self: {
pname = "taskwarrior";
version = "0.1.0.0";
sha256 = "0af58ns601bqih7nvg614wclxvd2f9j3rqakz9djjybdk1771j2v";
- revision = "1";
- editedCabalFile = "0idswz48jgl48grmbbynh1447bblw99wpqifjcwr6apcl63hrn3a";
+ revision = "3";
+ editedCabalFile = "1b2v1rl2impngxn8bw9j36nr0id4s5dy6pnj0nw5p69mfb046zd5";
libraryHaskellDepends = [
aeson base bytestring process string-interpolate text time
unordered-containers uuid
@@ -233705,6 +234664,8 @@ self: {
];
description = "TAP (Test Anything Protocol) Version 13 formatter for tasty";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"tasty-test-vector" = callPackage
@@ -233740,8 +234701,8 @@ self: {
}:
mkDerivation {
pname = "tasty-tmux";
- version = "0.1.0.1";
- sha256 = "07jx1ik8bmirc6ycimzv763kfqvhi712ivk32npw5iprpn94k6h2";
+ version = "0.1.0.2";
+ sha256 = "0lksanhb1nsk45vqg1h9jigllfg0lrqsynxkplh8lyx6g8k0naav";
libraryHaskellDepends = [
base bytestring mtl regex-posix tasty tasty-hunit text
typed-process
@@ -235214,7 +236175,7 @@ self: {
description = "Terminal emulator configurable in Haskell";
license = stdenv.lib.licenses.bsd3;
maintainers = with stdenv.lib.maintainers; [ cdepillabout ];
- }) {inherit (pkgs) gtk3; inherit (pkgs) pcre2;
+ }) {inherit (pkgs) gtk3; inherit (pkgs) pcre2;
vte_291 = pkgs.vte;};
"termplot" = callPackage
@@ -237097,6 +238058,8 @@ self: {
pname = "th-abstraction";
version = "0.3.1.0";
sha256 = "1f81w0gshvc816cf9qz0f19jsrzh6wpzmmy317xrgn63dv61p7jb";
+ revision = "1";
+ editedCabalFile = "1c0sy614vfcdvshn0z09nzfiq89v5if31yvvpxzrivrdy9gf912s";
libraryHaskellDepends = [
base containers ghc-prim template-haskell
];
@@ -237333,8 +238296,8 @@ self: {
}:
mkDerivation {
pname = "th-format";
- version = "0.1.2.0";
- sha256 = "1wc9ndqv2qxk75b47s44j0lrx5h9hc1r4h1nvl01pbdks6yyi43j";
+ version = "0.1.3.0";
+ sha256 = "0ckyf5r5sz3x8ixj5nclqsi6ifk7zz08b6wf09gbwb4gbydklw7c";
libraryHaskellDepends = [
base Earley haskell-src-meta template-haskell text
];
@@ -237490,6 +238453,8 @@ self: {
pname = "th-orphans";
version = "0.13.9";
sha256 = "1xj1gssv77hdx1r3ndg8k49v3ipj3a6r7crkyvx13jrps3m6ng1z";
+ revision = "1";
+ editedCabalFile = "100gpi0np50vxlapyl6d05w8ss9l2gqacn28i228hsvhvrxxwjdy";
libraryHaskellDepends = [
base mtl template-haskell th-lift th-lift-instances th-reify-many
];
@@ -238252,8 +239217,8 @@ self: {
}:
mkDerivation {
pname = "thrift";
- version = "0.12.0";
- sha256 = "1yzfq671apw3mjaws16a6agjw3vpm7yz0gdp3kyh8vvbp5d0czyf";
+ version = "0.13.0";
+ sha256 = "005gaw3n548l7ij8m2di2b7nmfz2sg6nhafb3xjccw9wgwzl9qs2";
libraryHaskellDepends = [
attoparsec base base64-bytestring binary bytestring containers
ghc-prim hashable hspec-core HTTP network network-uri QuickCheck
@@ -238584,8 +239549,8 @@ self: {
}:
mkDerivation {
pname = "tidal";
- version = "1.4.4";
- sha256 = "0ibaq9gyn0iz00jsdmifw5fcj4f01l6z8ds13gxz365r1wgcn2pj";
+ version = "1.4.5";
+ sha256 = "146nhi2y8c5acqmkhgh4f1bb3wrasba0i1w4v2vwnbznpdv6cxs1";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
base bifunctors bytestring clock colour containers deepseq hosc
@@ -239464,8 +240429,8 @@ self: {
({ mkDerivation, base, hspec }:
mkDerivation {
pname = "timers-tick";
- version = "0.4.1.0";
- sha256 = "1dbkgsvzfxgf4cgkzlmn1dcjw3rb7rrx56ix7n5r1k42n0wsyfsg";
+ version = "0.4.2.0";
+ sha256 = "079pgfgpgdmn9yqyd81rz615a035zjw24na8q332m1ld51xc0n8f";
libraryHaskellDepends = [ base ];
testHaskellDepends = [ base hspec ];
description = "tick based timers";
@@ -240209,27 +241174,36 @@ self: {
broken = true;
}) {};
- "tmp-postgres_1_13_0_0" = callPackage
- ({ mkDerivation, ansi-wl-pprint, async, base, bytestring
- , containers, criterion, directory, generic-monoid, hspec, mtl
- , port-utils, postgres-options, postgresql-simple, process, random
- , temporary, transformers, unix
+ "tmp-postgres_1_23_0_3" = callPackage
+ ({ mkDerivation, ansi-wl-pprint, async, base, base64-bytestring
+ , bytestring, containers, criterion, cryptohash-sha1, deepseq
+ , directory, generic-monoid, hspec, mtl, network, port-utils
+ , postgres-options, postgresql-simple, process, stm, temporary
+ , transformers, unix
}:
mkDerivation {
pname = "tmp-postgres";
- version = "1.13.0.0";
- sha256 = "01xpa5jignp7a3fw2rczyciaz9h6m1hf0i1iwanadbacnvzh7ing";
+ version = "1.23.0.3";
+ sha256 = "1fjp6021lxz1a2drd1f9g3n7sxdrq17wgc2cbjiihcqrjld5qqs0";
+ isLibrary = true;
+ isExecutable = true;
libraryHaskellDepends = [
- ansi-wl-pprint async base bytestring containers directory
- generic-monoid port-utils postgres-options postgresql-simple
- process random temporary transformers unix
+ ansi-wl-pprint async base base64-bytestring bytestring containers
+ cryptohash-sha1 deepseq directory generic-monoid port-utils
+ postgres-options postgresql-simple process stm temporary
+ transformers unix
+ ];
+ executableHaskellDepends = [
+ async base directory postgres-options postgresql-simple process
+ temporary
];
testHaskellDepends = [
- base containers directory hspec mtl port-utils postgres-options
- postgresql-simple process temporary unix
+ base containers directory generic-monoid hspec mtl network
+ port-utils postgres-options postgresql-simple process temporary
+ unix
];
benchmarkHaskellDepends = [
- base criterion postgres-options postgresql-simple
+ base criterion deepseq postgres-options postgresql-simple
];
description = "Start and stop a temporary postgres";
license = stdenv.lib.licenses.bsd3;
@@ -241108,10 +242082,10 @@ self: {
({ mkDerivation, base, containers, semiring-num }:
mkDerivation {
pname = "total-map";
- version = "0.1.0";
- sha256 = "0fqgazhs3ppv4ywdxjrhrdzp5z1szgkq4l0lqpbzqwrhi7axgl69";
+ version = "0.1.3";
+ sha256 = "015bj6g4hjp38fc8bm5z57w6akdgvyab6j2sc666x0qdxgrdwp88";
libraryHaskellDepends = [ base containers semiring-num ];
- description = "Finitely represented /total/ maps";
+ description = "Finitely represented total maps";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
@@ -242409,8 +243383,8 @@ self: {
}:
mkDerivation {
pname = "tree-sitter";
- version = "0.5.0.0";
- sha256 = "0gf2mcrrib4id0374hs9mf24g09d4rz7nrrgf92ls7b8279xvjkd";
+ version = "0.6.0.0";
+ sha256 = "1kdx7axkx34h6jlmpzvmqbabyiqj3yp78bl1qn6aj5c2mql4hi12";
libraryHaskellDepends = [
aeson base bytestring containers directory filepath fused-effects
semantic-source split template-haskell text unordered-containers
@@ -242453,26 +243427,35 @@ self: {
}) {};
"tree-sitter-java" = callPackage
- ({ mkDerivation, base, template-haskell, tree-sitter }:
+ ({ mkDerivation, base, bytestring, pathtype, semantic-source, tasty
+ , tasty-hunit, template-haskell, text, tree-sitter
+ , tree-sitter-test-helpers
+ }:
mkDerivation {
pname = "tree-sitter-java";
- version = "0.4.0.0";
- sha256 = "0v8mw4slp6rgyw2h3qpqkjqs13kg8dcigq7014dh77h804plk0w7";
+ version = "0.5.0.0";
+ sha256 = "0rmmsp1alyvc94f61qfha5wm0z2605n9wz3yxaac58bqghsqjx8f";
enableSeparateDataOutput = true;
- libraryHaskellDepends = [ base template-haskell tree-sitter ];
+ libraryHaskellDepends = [
+ base semantic-source template-haskell tree-sitter
+ ];
+ testHaskellDepends = [
+ base bytestring pathtype tasty tasty-hunit text tree-sitter
+ tree-sitter-test-helpers
+ ];
doHaddock = false;
description = "Tree-sitter grammar/parser for Java";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {};
+ }) {tree-sitter-test-helpers = null;};
"tree-sitter-json" = callPackage
({ mkDerivation, base, template-haskell, text, tree-sitter }:
mkDerivation {
pname = "tree-sitter-json";
- version = "0.3.0.0";
- sha256 = "09489gikbmddw28ckgf6mg526j43386sdilvb7gzs5x9kc86sd4q";
+ version = "0.4.0.0";
+ sha256 = "1syd5md8gwxhcfqwvfy4f3rilpn8fr83ib54wa3mmf7165jscwpz";
enableSeparateDataOutput = true;
libraryHaskellDepends = [ base template-haskell text tree-sitter ];
doHaddock = false;
@@ -242498,24 +243481,29 @@ self: {
"tree-sitter-python" = callPackage
({ mkDerivation, aeson, base, bytestring, directory, filepath
- , hedgehog, semantic-source, template-haskell, tree-sitter
+ , hedgehog, pathtype, semantic-source, tasty, tasty-hedgehog
+ , tasty-hunit, template-haskell, text, tree-sitter
+ , tree-sitter-test-helpers
}:
mkDerivation {
pname = "tree-sitter-python";
- version = "0.6.0.0";
- sha256 = "041qrxdkn19x9h0vcjb0jvc6d0mp6ysdak7i4yqqww683npxjkp1";
+ version = "0.7.0.0";
+ sha256 = "0s86c4jbfp8dbkkqxdq9k28xphx5vrkf2ss1xzjq88bkzz6q7hqy";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
aeson base directory filepath semantic-source template-haskell
tree-sitter
];
- testHaskellDepends = [ base bytestring hedgehog tree-sitter ];
+ testHaskellDepends = [
+ base bytestring hedgehog pathtype tasty tasty-hedgehog tasty-hunit
+ text tree-sitter tree-sitter-test-helpers
+ ];
doHaddock = false;
description = "Tree-sitter grammar/parser for Python";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {};
+ }) {tree-sitter-test-helpers = null;};
"tree-sitter-ruby" = callPackage
({ mkDerivation, base, template-haskell, tree-sitter }:
@@ -244220,6 +245208,8 @@ self: {
];
description = "Haskell twirp foundations";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"twisty" = callPackage
@@ -244362,8 +245352,8 @@ self: {
}:
mkDerivation {
pname = "twitter-types";
- version = "0.9.0";
- sha256 = "0hfm2zdgvpkfn06x140pnnbylmgram3i5zqf62c4yg6khi78m7hg";
+ version = "0.10.0";
+ sha256 = "0a2wgidg5dk3cxszb0q07cg0sywqgyxl5scswlr91yjvmjmlnkby";
libraryHaskellDepends = [
aeson base text time unordered-containers
];
@@ -244384,8 +245374,8 @@ self: {
}:
mkDerivation {
pname = "twitter-types-lens";
- version = "0.9.0";
- sha256 = "0xp6dwzw0mba4i6vq1sginn7d6ini2c3ig2ss0pn1m0sjwj8x7yq";
+ version = "0.10.0";
+ sha256 = "1x9w68mr6r6354in9l4vmawk5symvfh2qlhjn2gd30m8b1mzbrjg";
libraryHaskellDepends = [
base lens template-haskell text time twitter-types
];
@@ -245721,8 +246711,8 @@ self: {
}:
mkDerivation {
pname = "tz";
- version = "0.1.3.2";
- sha256 = "0k35pw27a3hwg5wqjpfqij0y7rkdlmd85n4kj4ckna4z2v86dl7h";
+ version = "0.1.3.3";
+ sha256 = "1cnin3dlk6xmvk5cz1sjj88djdv1rq87hvwmhc2dj22hgbs3p3ni";
libraryHaskellDepends = [
base binary bytestring containers data-default deepseq
template-haskell time tzdata vector
@@ -246503,12 +247493,16 @@ self: {
}) {};
"unexceptionalio" = callPackage
- ({ mkDerivation, base }:
+ ({ mkDerivation, base, HUnit, test-framework, test-framework-hunit
+ }:
mkDerivation {
pname = "unexceptionalio";
- version = "0.4.0";
- sha256 = "09gynk472l7nn5l2w320n4dwigwp0wh0shfp6dyw6r5h2jdxz18p";
+ version = "0.5.0";
+ sha256 = "04jrmv075cas6qs58m3j0q9h4w14kd4b87bp42k3x3v6hcl62xi9";
libraryHaskellDepends = [ base ];
+ testHaskellDepends = [
+ base HUnit test-framework test-framework-hunit
+ ];
description = "IO without any non-error, synchronous exceptions";
license = "unknown";
hydraPlatforms = stdenv.lib.platforms.none;
@@ -246518,8 +247512,8 @@ self: {
({ mkDerivation, base, transformers, unexceptionalio }:
mkDerivation {
pname = "unexceptionalio-trans";
- version = "0.4.0";
- sha256 = "19jzvxx0z4w7d1mp09spiz01sd349376hf5xkg8r2zfr8fx7hj71";
+ version = "0.5.0";
+ sha256 = "1sd5q97zjk1qkffbhj4rzdrvwwz4q7b6vwrmb6mpkbg7ra4ks49p";
libraryHaskellDepends = [ base transformers unexceptionalio ];
description = "A wrapper around UnexceptionalIO using monad transformers";
license = "unknown";
@@ -247506,7 +248500,7 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
- "universum_1_6_0" = callPackage
+ "universum_1_6_1" = callPackage
({ mkDerivation, base, bytestring, containers, deepseq, doctest
, gauge, ghc-prim, Glob, hashable, hedgehog, microlens
, microlens-mtl, mtl, safe-exceptions, stm, tasty, tasty-hedgehog
@@ -247514,8 +248508,8 @@ self: {
}:
mkDerivation {
pname = "universum";
- version = "1.6.0";
- sha256 = "12gz4hpwmykb73dplbd8j628f54ipk0pygrswy0k1k7j68awnjl6";
+ version = "1.6.1";
+ sha256 = "007nh8kw5a2m681bjwvcdjdf69nb768kwdsckj2kdd7406mfgdm7";
libraryHaskellDepends = [
base bytestring containers deepseq ghc-prim hashable microlens
microlens-mtl mtl safe-exceptions stm text transformers
@@ -248934,8 +249928,8 @@ self: {
}:
mkDerivation {
pname = "userid";
- version = "0.1.3.3";
- sha256 = "1p1dfbr68bkn09zpy50i1xazvfblds46bs60vra2sqn4hv8vj0s9";
+ version = "0.1.3.4";
+ sha256 = "149c32v5fa4aqkknqwlamf1r06ki0g0q03nbsc0giaw5qsavf7x1";
libraryHaskellDepends = [
aeson base boomerang cereal safecopy web-routes web-routes-th
];
@@ -250681,6 +251675,24 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "vector-algorithms_0_8_0_2" = callPackage
+ ({ mkDerivation, base, bytestring, containers, mwc-random
+ , primitive, QuickCheck, vector
+ }:
+ mkDerivation {
+ pname = "vector-algorithms";
+ version = "0.8.0.2";
+ sha256 = "05jc15ckdmh4hbwmqax8jyahqslj7c03la1vgz5a5gw0hwspyq34";
+ libraryHaskellDepends = [ base bytestring primitive vector ];
+ testHaskellDepends = [
+ base bytestring containers QuickCheck vector
+ ];
+ benchmarkHaskellDepends = [ base mwc-random vector ];
+ description = "Efficient algorithms for vector arrays";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"vector-binary" = callPackage
({ mkDerivation, base, binary, vector }:
mkDerivation {
@@ -255157,8 +256169,8 @@ self: {
}:
mkDerivation {
pname = "web-routes";
- version = "0.27.14.2";
- sha256 = "0jpps7ay2hw41595hlfrx5k4lh9p2nib02n3rhd1vphpbnf392xg";
+ version = "0.27.14.3";
+ sha256 = "1a66m261ilqafbwwgjvalh3rz38qxcwxw9a99wr18lm0ah27lvx4";
libraryHaskellDepends = [
base blaze-builder bytestring exceptions ghc-prim http-types mtl
parsec split text utf8-string
@@ -255198,8 +256210,8 @@ self: {
}:
mkDerivation {
pname = "web-routes-happstack";
- version = "0.23.11";
- sha256 = "0jzxcwh3g6y5y4whjbw86y94hfrl73iwnwhhm728l69z5knqry9y";
+ version = "0.23.12";
+ sha256 = "0p5fa2cdpk6s9n0wa7nllhk1naa3a8a8vx63q6da8ifk6x8jn68a";
libraryHaskellDepends = [
base bytestring happstack-server text web-routes
];
@@ -255265,8 +256277,8 @@ self: {
}:
mkDerivation {
pname = "web-routes-th";
- version = "0.22.6.4";
- sha256 = "0r0z39hdxm3ggqq9n71wy0k44gb27zpka4pnmp07855czc4l61ca";
+ version = "0.22.6.5";
+ sha256 = "1amzab59hhd723clg9skcn5nhwvlw1la1acc9qdbyg302a75s0l9";
libraryHaskellDepends = [
base parsec split template-haskell text web-routes
];
@@ -256151,6 +257163,8 @@ self: {
];
description = "A school-timetable problem-solver";
license = "GPL";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"weigh" = callPackage
@@ -256646,6 +257660,8 @@ self: {
pname = "windns";
version = "0.1.0.1";
sha256 = "016d1cf51jqvhbzlf5kbizv4l4dymradac1420rl47q2k5faczq8";
+ revision = "1";
+ editedCabalFile = "17d44pzi4q5yvrygimdrwdrabz62s1ylw918w28sxgcvj64ir22g";
libraryHaskellDepends = [ base bytestring deepseq ];
librarySystemDepends = [ dnsapi ];
description = "Domain Name Service (DNS) lookup via the /dnsapi.dll standard library";
@@ -257338,8 +258354,8 @@ self: {
}:
mkDerivation {
pname = "wordchoice";
- version = "0.1.2.7";
- sha256 = "06xz5xk14fiy1z4j6q7lbjwj13m4hy22pzrcdwk6c078w85rp4yd";
+ version = "0.1.2.8";
+ sha256 = "0ncs3g174db6508fic7x2xibvkccmz068g6hizp8fi20bwxb9js8";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -258195,10 +259211,8 @@ self: {
}:
mkDerivation {
pname = "wss-client";
- version = "0.2.1.1";
- sha256 = "1wgqd8hh22ld72c1ccfr191ydqb5fija6c1l0vbg7n8pldhmi92w";
- revision = "1";
- editedCabalFile = "03q6mpdy93y8kjmjcxpjasg6q1mg64az28z99gm2w2iih3mqa702";
+ version = "0.3.0.0";
+ sha256 = "1licynhnyhfdq4gxpsya3gaypjs9inqzr2xqmjs9f99ymbvin8d8";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -258434,7 +259448,7 @@ self: {
description = "wxHaskell C++ wrapper";
license = "unknown";
hydraPlatforms = stdenv.lib.platforms.none;
- }) {inherit (pkgs) libGL; inherit (pkgs.xorg) libX11;
+ }) {inherit (pkgs) libGL; inherit (pkgs.xorg) libX11;
inherit (pkgs) wxGTK;};
"wxcore" = callPackage
@@ -259307,6 +260321,35 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "xlsx_0_8_0" = callPackage
+ ({ mkDerivation, attoparsec, base, base64-bytestring, binary-search
+ , bytestring, conduit, containers, criterion, data-default, deepseq
+ , Diff, errors, extra, filepath, groom, lens, mtl, network-uri
+ , old-locale, raw-strings-qq, safe, smallcheck, tasty, tasty-hunit
+ , tasty-smallcheck, text, time, transformers, vector, xeno
+ , xml-conduit, zip-archive, zlib
+ }:
+ mkDerivation {
+ pname = "xlsx";
+ version = "0.8.0";
+ sha256 = "1wp2ybkf5z4x87a73yygi3g1nqjy6pfb1wdwyvmjqk64ibjz0p7d";
+ libraryHaskellDepends = [
+ attoparsec base base64-bytestring binary-search bytestring conduit
+ containers data-default deepseq errors extra filepath lens mtl
+ network-uri old-locale safe text time transformers vector xeno
+ xml-conduit zip-archive zlib
+ ];
+ testHaskellDepends = [
+ base bytestring containers Diff groom lens mtl raw-strings-qq
+ smallcheck tasty tasty-hunit tasty-smallcheck text time vector
+ xml-conduit
+ ];
+ benchmarkHaskellDepends = [ base bytestring criterion ];
+ description = "Simple and incomplete Excel file parser/writer";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"xlsx-tabular" = callPackage
({ mkDerivation, aeson, base, bytestring, containers, data-default
, lens, text, xlsx
@@ -260229,7 +261272,7 @@ self: {
description = "A Minimalistic Text Based Status Bar";
license = stdenv.lib.licenses.bsd3;
platforms = [ "i686-linux" "x86_64-linux" ];
- }) {inherit (pkgs.xorg) libXpm; inherit (pkgs.xorg) libXrandr;
+ }) {inherit (pkgs.xorg) libXpm; inherit (pkgs.xorg) libXrandr;
inherit (pkgs.xorg) libXrender; inherit (pkgs) wirelesstools;};
"xmonad" = callPackage
@@ -261339,6 +262382,8 @@ self: {
];
description = "YAML parsing combinators for improved validation and error reporting";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"yaml-config" = callPackage
@@ -262595,39 +263640,6 @@ self: {
}) {};
"yesod-bin" = callPackage
- ({ mkDerivation, attoparsec, base, base64-bytestring, blaze-builder
- , bytestring, Cabal, conduit, conduit-extra, containers
- , data-default-class, directory, file-embed, filepath, fsnotify
- , http-client, http-client-tls, http-reverse-proxy, http-types
- , network, optparse-applicative, parsec, process, project-template
- , resourcet, say, shakespeare, split, stm, streaming-commons, tar
- , template-haskell, text, time, transformers, transformers-compat
- , unix-compat, unliftio, unordered-containers, wai, wai-extra, warp
- , warp-tls, yaml, zlib
- }:
- mkDerivation {
- pname = "yesod-bin";
- version = "1.6.0.3";
- sha256 = "1p5f6bl4gynm47m1xg1x1xh9nz913i83iprh2xd207359idjknz4";
- revision = "4";
- editedCabalFile = "1iw9m3z6m4n9dlwamf1kwr7pp2wpk6awf1m63zjkgw5j4vwxlcpg";
- isLibrary = false;
- isExecutable = true;
- executableHaskellDepends = [
- attoparsec base base64-bytestring blaze-builder bytestring Cabal
- conduit conduit-extra containers data-default-class directory
- file-embed filepath fsnotify http-client http-client-tls
- http-reverse-proxy http-types network optparse-applicative parsec
- process project-template resourcet say shakespeare split stm
- streaming-commons tar template-haskell text time transformers
- transformers-compat unix-compat unliftio unordered-containers wai
- wai-extra warp warp-tls yaml zlib
- ];
- description = "The yesod helper executable";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "yesod-bin_1_6_0_4" = callPackage
({ mkDerivation, base, bytestring, Cabal, conduit, conduit-extra
, containers, data-default-class, directory, file-embed, filepath
, fsnotify, http-client, http-client-tls, http-reverse-proxy
@@ -262652,7 +263664,6 @@ self: {
];
description = "The yesod helper executable";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"yesod-bootstrap" = callPackage
@@ -264123,8 +265134,8 @@ self: {
}:
mkDerivation {
pname = "yesod-test";
- version = "1.6.7";
- sha256 = "1x7fmp1q3zn15av6rhdddnilkb54xmkpb6pkfzfpjm3vff27i7jj";
+ version = "1.6.8";
+ sha256 = "1c8xana3lf79db17mc74q88ygdskhyhvrv325fpwdw00fcwc0fn6";
libraryHaskellDepends = [
attoparsec base blaze-builder blaze-html bytestring
case-insensitive conduit containers cookie hspec-core html-conduit
@@ -265066,8 +266077,8 @@ self: {
}:
mkDerivation {
pname = "yst";
- version = "0.7.0.1";
- sha256 = "1cmdx2bghp508qm26xydnljswgldvvv5rapmzcivmnn8pzp9g9kl";
+ version = "0.7.1";
+ sha256 = "0clvfkdrmw7lmrcyn8cilgf0k7438c384vwvjx256pyl46y3ym5m";
isLibrary = false;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -265887,6 +266898,24 @@ self: {
license = stdenv.lib.licenses.gpl3;
}) {};
+ "zinza" = callPackage
+ ({ mkDerivation, base, bytestring, containers, parsec, tasty
+ , tasty-golden, tasty-hunit, text, transformers
+ }:
+ mkDerivation {
+ pname = "zinza";
+ version = "0.1";
+ sha256 = "0p7m15qkp7lsdhckkj2xz7ck54kkaz8pw0gz9dddll57mqjyy6zk";
+ libraryHaskellDepends = [
+ base containers parsec text transformers
+ ];
+ testHaskellDepends = [
+ base bytestring containers tasty tasty-golden tasty-hunit
+ ];
+ description = "Typed templates with jinja like syntax";
+ license = stdenv.lib.licenses.gpl2Plus;
+ }) {};
+
"zip" = callPackage
({ mkDerivation, base, bytestring, bzlib-conduit, case-insensitive
, cereal, conduit, conduit-extra, containers, digest, directory
diff --git a/pkgs/development/haskell-modules/non-hackage-packages.nix b/pkgs/development/haskell-modules/non-hackage-packages.nix
index 8b667a1e66931abe6505b68ad8ea338b2651bc6f..c292eeec128ffa85c793219f17f78ae901913823 100644
--- a/pkgs/development/haskell-modules/non-hackage-packages.nix
+++ b/pkgs/development/haskell-modules/non-hackage-packages.nix
@@ -13,4 +13,7 @@ self: super: {
# https://github.com/channable/vaultenv/issues/1
vaultenv = self.callPackage ../tools/haskell/vaultenv { };
+ # spago is not released to Hackage.
+ # https://github.com/spacchetti/spago/issues/512
+ spago = self.callPackage ../tools/purescript/spago { };
}
diff --git a/pkgs/development/interpreters/clojure/default.nix b/pkgs/development/interpreters/clojure/default.nix
index b5a7c2b467ef0377964d6644b02fc7b474db1b77..7b730fc39265653522bbf3b5d91e5da031e47d8e 100644
--- a/pkgs/development/interpreters/clojure/default.nix
+++ b/pkgs/development/interpreters/clojure/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "clojure";
- version = "1.10.1.469";
+ version = "1.10.1.489";
src = fetchurl {
url = "https://download.clojure.org/install/clojure-tools-${version}.tar.gz";
- sha256 = "0hpb6rixmgllss69vl9zlpb41svm4mx4xmfbq1q7y12jsxckzgpq";
+ sha256 = "12ks7adh5cx99l5vydppkqknk5nvv9vsj2k0afcwwxd897m794kz";
};
buildInputs = [ makeWrapper ];
diff --git a/pkgs/development/interpreters/eff/default.nix b/pkgs/development/interpreters/eff/default.nix
index 7c7cd9abb7e98714f1f37da9bad0c8ef379e84bf..9da2b0d899d7dd0ac7dd5188880c177c8e0c8a38 100644
--- a/pkgs/development/interpreters/eff/default.nix
+++ b/pkgs/development/interpreters/eff/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation {
checkTarget = "test";
meta = with stdenv.lib; {
- homepage = http://www.eff-lang.org;
+ homepage = https://www.eff-lang.org;
description = "A functional programming language based on algebraic effects and their handlers";
longDescription = ''
Eff is a functional language with handlers of not only exceptions,
diff --git a/pkgs/development/interpreters/erlang/generic-builder.nix b/pkgs/development/interpreters/erlang/generic-builder.nix
index 3f1c21cc88199a71ce2dcdee06f4fcaa3fe4b105..9a1594da933dbad0ccd9d985fe8eb850e4458af5 100644
--- a/pkgs/development/interpreters/erlang/generic-builder.nix
+++ b/pkgs/development/interpreters/erlang/generic-builder.nix
@@ -2,7 +2,7 @@
, libxml2, libxslt, ncurses, openssl, perl, autoconf
, openjdk ? null # javacSupport
, unixODBC ? null # odbcSupport
-, libGLU_combined ? null, wxGTK ? null, wxmac ? null, xorg ? null # wxSupport
+, libGL ? null, libGLU ? null, wxGTK ? null, wxmac ? null, xorg ? null # wxSupport
, withSystemd ? stdenv.isLinux, systemd # systemd support in epmd
}:
@@ -18,7 +18,7 @@
, enableKernelPoll ? true
, javacSupport ? false, javacPackages ? [ openjdk ]
, odbcSupport ? false, odbcPackages ? [ unixODBC ]
-, wxSupport ? true, wxPackages ? [ libGLU_combined wxGTK xorg.libX11 ]
+, wxSupport ? true, wxPackages ? [ libGL libGLU wxGTK xorg.libX11 ]
, preUnpack ? "", postUnpack ? ""
, patches ? [], patchPhase ? "", prePatch ? "", postPatch ? ""
, configureFlags ? [], configurePhase ? "", preConfigure ? "", postConfigure ? ""
@@ -32,7 +32,7 @@
assert wxSupport -> (if stdenv.isDarwin
then wxmac != null
- else libGLU_combined != null && wxGTK != null && xorg != null);
+ else libGL != null && libGLU != null && wxGTK != null && xorg != null);
assert odbcSupport -> unixODBC != null;
assert javacSupport -> openjdk != null;
diff --git a/pkgs/development/interpreters/io/default.nix b/pkgs/development/interpreters/io/default.nix
index 883d53c82697e39889a284f054170fc497dc7de0..f763274c15d7435255b8f62e95ad5f5cc45c48e4 100644
--- a/pkgs/development/interpreters/io/default.nix
+++ b/pkgs/development/interpreters/io/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, cmake, zlib, sqlite, gmp, libffi, cairo,
- ncurses, freetype, libGLU_combined, libpng, libtiff, libjpeg, readline, libsndfile,
+ ncurses, freetype, libGLU, libGL, libpng, libtiff, libjpeg, readline, libsndfile,
libxml2, freeglut, libsamplerate, pcre, libevent, libedit, yajl,
python3, openssl, glfw, pkgconfig, libpthreadstubs, libXdmcp, libmemcached
}:
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
buildInputs = [
zlib sqlite gmp libffi cairo ncurses freetype
- libGLU_combined libpng libtiff libjpeg readline libsndfile libxml2
+ libGLU libGL libpng libtiff libjpeg readline libsndfile libxml2
freeglut libsamplerate pcre libevent libedit yajl
pkgconfig glfw openssl libpthreadstubs libXdmcp
libmemcached python3
diff --git a/pkgs/development/interpreters/janet/default.nix b/pkgs/development/interpreters/janet/default.nix
index 337b83767f4e695d6a301c4fb7465a3693926a4a..be5da812530db22d445b9f3d951246d8fe9831d2 100644
--- a/pkgs/development/interpreters/janet/default.nix
+++ b/pkgs/development/interpreters/janet/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "janet";
- version = "1.4.0";
+ version = "1.5.1";
src = fetchFromGitHub {
owner = "janet-lang";
repo = pname;
rev = "v${version}";
- sha256 = "0xszmgw5nl5b6gd3344h1mic1c1a3hj7nivp4d9hqzzh131qvbn5";
+ sha256 = "13b4haaanlgi8qpwwvf59zf7qsw8p0zdqv7xdxjjyid5yww7jmm2";
};
nativeBuildInputs = [ meson ninja ];
diff --git a/pkgs/development/interpreters/jimtcl/default.nix b/pkgs/development/interpreters/jimtcl/default.nix
index 91b4c0b9a9e62cd6e6a9530cd42b63995aac66f7..09d7fa622fc118fcd36f903a25250418c67c85e1 100644
--- a/pkgs/development/interpreters/jimtcl/default.nix
+++ b/pkgs/development/interpreters/jimtcl/default.nix
@@ -5,35 +5,53 @@ let
in stdenv.mkDerivation rec {
pname = "jimtcl";
- version = "0.78";
+ version = "0.79";
src = fetchFromGitHub {
owner = "msteveb";
repo = "jimtcl";
rev = version;
- sha256 = "1nrjxjfh69i35ig8sxdlal4ydd3cl0x68c05s6svnf1y2i1bl23j";
+ sha256 = "1k88hz0v3bi19xdvlp0i9nsx38imzwpjh632w7326zwbv2wldf0h";
};
- buildInputs = [
- sqlite readline asciidoc SDL SDL_gfx
+ nativeBuildInputs = [
+ asciidoc
];
- NIX_CFLAGS_COMPILE = makeSDLFlags [ SDL SDL_gfx ];
+ buildInputs = [
+ sqlite readline SDL SDL_gfx
+ ];
configureFlags = [
+ "--shared"
"--with-ext=oo"
"--with-ext=tree"
"--with-ext=binary"
"--with-ext=sqlite3"
"--with-ext=readline"
"--with-ext=sdl"
+ "--with-ext=json"
"--enable-utf8"
"--ipv6"
];
+ NIX_CFLAGS_COMPILE = makeSDLFlags [ SDL SDL_gfx ];
+
+ enableParallelBuilding = true;
+
+ doCheck = true;
+ preCheck = ''
+ # test exec2-3.2 fails depending on platform or sandboxing (?)
+ rm tests/exec2.test
+ '';
+
+ postInstall = ''
+ ln -sr $out/lib/libjim.so.${version} $out/lib/libjim.so
+ '';
+
meta = {
description = "An open source small-footprint implementation of the Tcl programming language";
- homepage = http://jim.tcl.tk/;
+ homepage = "http://jim.tcl.tk/";
license = stdenv.lib.licenses.bsd2;
platforms = stdenv.lib.platforms.all;
maintainers = with stdenv.lib.maintainers; [ dbohdan vrthra ];
diff --git a/pkgs/development/interpreters/love/0.10.nix b/pkgs/development/interpreters/love/0.10.nix
index 7e90c6dfb287200988ae62ae380f04a6f4c327a4..6a3aa9f648f48ede74a65a808a85db5bb86af3b4 100644
--- a/pkgs/development/interpreters/love/0.10.nix
+++ b/pkgs/development/interpreters/love/0.10.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromBitbucket, pkgconfig, SDL2, libGLU_combined, openal, luajit,
+{ stdenv, fetchFromBitbucket, pkgconfig, SDL2, libGLU, libGL, openal, luajit,
libdevil, freetype, physfs, libmodplug, mpg123, libvorbis, libogg,
libtheora, which, autoconf, automake, libtool
}:
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
- SDL2 libGLU_combined openal luajit libdevil freetype physfs libmodplug mpg123
+ SDL2 libGLU libGL openal luajit libdevil freetype physfs libmodplug mpg123
libvorbis libogg libtheora autoconf which libtool automake
];
diff --git a/pkgs/development/interpreters/love/0.7.nix b/pkgs/development/interpreters/love/0.7.nix
index 7f39259c298e75611724041a08ff48118363a474..3bf8aee0d07b2a3804ee8dc3d3810c2c48b70c45 100644
--- a/pkgs/development/interpreters/love/0.7.nix
+++ b/pkgs/development/interpreters/love/0.7.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig
-, SDL, libGLU_combined, openal, lua
+, SDL, libGLU, libGL, openal, lua
, libdevil, freetype, physfs
, libmodplug, mpg123, libvorbis, libogg
, libmng
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
- SDL libGLU_combined openal lua
+ SDL libGLU libGL openal lua
libdevil freetype physfs libmodplug mpg123 libvorbis libogg libmng
];
diff --git a/pkgs/development/interpreters/love/0.8.nix b/pkgs/development/interpreters/love/0.8.nix
index 792fe299e4dda830800d8a02bf0c3ed11b30eeb9..57c1a6ce5641a7a5bb9a05d84bc9994e781620e8 100644
--- a/pkgs/development/interpreters/love/0.8.nix
+++ b/pkgs/development/interpreters/love/0.8.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig
-, SDL, libGLU_combined, openal, lua
+, SDL, libGLU, libGL, openal, lua
, libdevil, freetype, physfs
, libmodplug, mpg123, libvorbis, libogg
}:
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
- SDL libGLU_combined openal lua
+ SDL libGLU libGL openal lua
libdevil freetype physfs libmodplug mpg123 libvorbis libogg
];
diff --git a/pkgs/development/interpreters/love/0.9.nix b/pkgs/development/interpreters/love/0.9.nix
index f1571dc726c016c8e6c2bb0e6e9379496e9f80af..a2182f454361618d3ac767cdad3aa124210c38a3 100644
--- a/pkgs/development/interpreters/love/0.9.nix
+++ b/pkgs/development/interpreters/love/0.9.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig
-, SDL2, libGLU_combined, openal, luajit
+, SDL2, libGLU, libGL, openal, luajit
, libdevil, freetype, physfs
, libmodplug, mpg123, libvorbis, libogg
}:
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
- SDL2 libGLU_combined openal luajit
+ SDL2 libGLU libGL openal luajit
libdevil freetype physfs libmodplug mpg123 libvorbis libogg
];
diff --git a/pkgs/development/interpreters/love/11.1.nix b/pkgs/development/interpreters/love/11.1.nix
index 6f3f7161a0b8d15a90839101a4e7c4ca60c81641..0a60a4cacfe73da80ad583b5e19c61f32a0dccdd 100644
--- a/pkgs/development/interpreters/love/11.1.nix
+++ b/pkgs/development/interpreters/love/11.1.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromBitbucket, pkgconfig, SDL2, libGLU_combined, openal, luajit,
+{ stdenv, fetchFromBitbucket, pkgconfig, SDL2, libGLU, libGL, openal, luajit,
libdevil, freetype, physfs, libmodplug, mpg123, libvorbis, libogg,
libtheora, which, autoconf, automake, libtool
}:
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
- SDL2 libGLU_combined openal luajit libdevil freetype physfs libmodplug mpg123
+ SDL2 libGLU libGL openal luajit libdevil freetype physfs libmodplug mpg123
libvorbis libogg libtheora autoconf which libtool automake
];
diff --git a/pkgs/development/interpreters/lua-5/build-lua-package.nix b/pkgs/development/interpreters/lua-5/build-lua-package.nix
index 74ccb91030aa1f068da4b72c66dca2b0690773f9..be7aa5fc09d789b24507da488baefaf01aa5a2f4 100644
--- a/pkgs/development/interpreters/lua-5/build-lua-package.nix
+++ b/pkgs/development/interpreters/lua-5/build-lua-package.nix
@@ -161,7 +161,7 @@ builtins.removeAttrs attrs ["disabled" "checkInputs" "externalDeps"] // {
# enabled only for src.rock
setSourceRoot= let
- name_only=(builtins.parseDrvName name).name;
+ name_only= lib.getName name;
in
lib.optionalString (knownRockspec == null) ''
# format is rockspec_basename/source_basename
diff --git a/pkgs/development/interpreters/lua-5/wrapper.nix b/pkgs/development/interpreters/lua-5/wrapper.nix
index 816744e61cff438afef5a4100ebdddf1d84a7207..53ec2baeb5e5dee897b458341d6d80bce67758da 100644
--- a/pkgs/development/interpreters/lua-5/wrapper.nix
+++ b/pkgs/development/interpreters/lua-5/wrapper.nix
@@ -11,7 +11,7 @@
let
env = let
paths = requiredLuaModules (extraLibs ++ [ lua ] );
- in buildEnv {
+ in (buildEnv {
name = "${lua.name}-env";
inherit paths;
@@ -20,12 +20,6 @@ let
# we create wrapper for the binaries in the different packages
postBuild = ''
-
- . "${makeWrapper}/nix-support/setup-hook"
-
- # get access to lua functions
- . ${lua}/nix-support/setup-hook
-
if [ -L "$out/bin" ]; then
unlink "$out/bin"
fi
@@ -68,5 +62,8 @@ let
'';
};
};
- };
+ }).overrideAttrs (_: {
+ # Add extra deps needed for postBuild hook.
+ nativeBuildInputs = [ makeWrapper lua ];
+ });
in env
diff --git a/pkgs/development/interpreters/lush/default.nix b/pkgs/development/interpreters/lush/default.nix
index 5a241fbf83eecdc616ee278367d86f2097386ea9..a8db08e87a2cd62ec5ffd1e590fb97854034be91 100644
--- a/pkgs/development/interpreters/lush/default.nix
+++ b/pkgs/development/interpreters/lush/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchurl, libX11, xorgproto, indent, readline, gsl, freeglut, libGLU_combined, SDL
+{stdenv, fetchurl, libX11, xorgproto, indent, readline, gsl, freeglut, libGLU, libGL, SDL
, blas, libbfd, intltool, gettext, zlib, libSM}:
stdenv.mkDerivation rec {
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [
- libX11 libSM xorgproto indent readline gsl freeglut libGLU_combined SDL blas libbfd
+ libX11 libSM xorgproto indent readline gsl freeglut libGLU libGL SDL blas libbfd
intltool gettext zlib
];
diff --git a/pkgs/development/interpreters/python/cpython/default.nix b/pkgs/development/interpreters/python/cpython/default.nix
index 09c324716bda52a7a57d5d01c26312fddabb9691..43d2d159e36a71b8c217712cf0d37c3f394f182a 100644
--- a/pkgs/development/interpreters/python/cpython/default.nix
+++ b/pkgs/development/interpreters/python/cpython/default.nix
@@ -17,6 +17,7 @@
# For the Python package set
, packageOverrides ? (self: super: {})
, buildPackages
+, pythonForBuild ? buildPackages.${"python${sourceVersion.major}${sourceVersion.minor}"}
, sourceVersion
, sha256
, passthruFun
@@ -63,7 +64,7 @@ let
hasDistutilsCxxPatch = !(stdenv.cc.isGNU or false);
- pythonForBuild = buildPackages.${"python${sourceVersion.major}${sourceVersion.minor}"};
+ inherit pythonForBuild;
pythonForBuildInterpreter = if stdenv.hostPlatform == stdenv.buildPlatform then
"$out/bin/python"
diff --git a/pkgs/development/interpreters/python/default.nix b/pkgs/development/interpreters/python/default.nix
index 7fa276dd0708b870493748597c4247ccde90ceea..3be722cd1561ed58d7446bd474280f4554aa7185 100644
--- a/pkgs/development/interpreters/python/default.nix
+++ b/pkgs/development/interpreters/python/default.nix
@@ -129,6 +129,7 @@ in rec {
# Minimal versions of Python (built without optional dependencies)
python3Minimal = (python37.override {
self = python3Minimal;
+ pythonForBuild = pkgs.buildPackages.python3Minimal;
# strip down that python version as much as possible
openssl = null;
readline = null;
diff --git a/pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py b/pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py
index 82b2aac39a9fe1a66e7076eb9b57f192c043ebc3..7e0580ce063d84f467ef486b62be717c466e86a2 100755
--- a/pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py
+++ b/pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py
@@ -229,6 +229,8 @@ def _determine_extension(text, fetcher):
raise ValueError("Don't know how to update a Flit package.")
elif src_format == 'other':
raise ValueError("Don't know how to update a format='other' package.")
+ elif src_format == 'pyproject':
+ raise ValueError("Don't know how to update a pyproject package.")
extension = FORMATS[src_format]
elif fetcher == 'fetchurl':
diff --git a/pkgs/development/interpreters/renpy/default.nix b/pkgs/development/interpreters/renpy/default.nix
index 42c68ed7e80057453910daace2d511d5e1e85854..759a44b5760fcbff98eeb44904eddf3785ff9217 100644
--- a/pkgs/development/interpreters/renpy/default.nix
+++ b/pkgs/development/interpreters/renpy/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, python2Packages, pkgconfig, SDL2
-, libpng, ffmpeg, freetype, glew, libGLU_combined, fribidi, zlib
+, libpng, ffmpeg, freetype, glew, libGL, libGLU, fribidi, zlib
, glib
}:
@@ -32,13 +32,13 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
python cython wrapPython tkinter
- SDL2 libpng ffmpeg freetype glew libGLU_combined fribidi zlib pygame_sdl2 glib
+ SDL2 libpng ffmpeg freetype glew libGLU libGL fribidi zlib pygame_sdl2 glib
];
pythonPath = [ pygame_sdl2 tkinter ];
RENPY_DEPS_INSTALL = stdenv.lib.concatStringsSep "::" (map (path: path) [
- SDL2 SDL2.dev libpng ffmpeg ffmpeg.out freetype glew.dev glew.out libGLU_combined fribidi zlib
+ SDL2 SDL2.dev libpng ffmpeg ffmpeg.out freetype glew.dev glew.out libGLU libGL fribidi zlib
]);
buildPhase = ''
diff --git a/pkgs/development/interpreters/wasmtime/cargo-lock.patch b/pkgs/development/interpreters/wasmtime/cargo-lock.patch
index 95513d4437afc98c4d3f53763c40a0aa1f93a4e8..56c9879dd6e172439e837ad871324c04ff24e548 100644
--- a/pkgs/development/interpreters/wasmtime/cargo-lock.patch
+++ b/pkgs/development/interpreters/wasmtime/cargo-lock.patch
@@ -1,9 +1,9 @@
diff --git a/Cargo.lock b/Cargo.lock
new file mode 100644
-index 00000000..9cff614a
+index 00000000..3b45d5eb
--- /dev/null
+++ b/Cargo.lock
-@@ -0,0 +1,2181 @@
+@@ -0,0 +1,2272 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+[[package]]
@@ -31,6 +31,11 @@ index 00000000..9cff614a
+]
+
+[[package]]
++name = "anyhow"
++version = "1.0.19"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
+name = "arrayref"
+version = "0.3.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -86,6 +91,11 @@ index 00000000..9cff614a
+]
+
+[[package]]
++name = "base64"
++version = "0.11.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
+name = "bincode"
+version = "1.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -109,7 +119,7 @@ index 00000000..9cff614a
+ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "peeking_take_while 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "proc-macro2 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -283,48 +293,57 @@ index 00000000..9cff614a
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
++name = "cpu-time"
++version = "1.0.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "libc 0.2.64 (registry+https://github.com/rust-lang/crates.io-index)",
++ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
+name = "cranelift-bforest"
-+version = "0.46.1"
++version = "0.49.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "cranelift-entity 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-entity 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "cranelift-codegen"
-+version = "0.46.1"
++version = "0.49.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "cranelift-bforest 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-codegen-meta 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-codegen-shared 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-entity 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "failure_derive 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-bforest 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-codegen-meta 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-codegen-shared 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-entity 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hashbrown 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "smallvec 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "target-lexicon 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "smallvec 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "target-lexicon 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "thiserror 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "cranelift-codegen-meta"
-+version = "0.46.1"
++version = "0.49.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "cranelift-codegen-shared 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-entity 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-codegen-shared 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-entity 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "cranelift-codegen-shared"
-+version = "0.46.1"
++version = "0.49.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
+name = "cranelift-entity"
-+version = "0.46.1"
++version = "0.49.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -332,39 +351,38 @@ index 00000000..9cff614a
+
+[[package]]
+name = "cranelift-frontend"
-+version = "0.46.1"
++version = "0.49.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "cranelift-codegen 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-codegen 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hashbrown 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "smallvec 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "target-lexicon 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "smallvec 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "target-lexicon 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "cranelift-native"
-+version = "0.46.1"
++version = "0.49.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "cranelift-codegen 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "raw-cpuid 6.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "target-lexicon 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-codegen 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "raw-cpuid 7.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
++ "target-lexicon 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "cranelift-wasm"
-+version = "0.46.1"
++version = "0.49.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "cranelift-codegen 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-entity 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-frontend 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "failure_derive 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-codegen 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-entity 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-frontend 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hashbrown 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
++ "thiserror 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
+ "wasmparser 0.39.2 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
@@ -386,7 +404,7 @@ index 00000000..9cff614a
+ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
+ "crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "memoffset 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "memoffset 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "scopeguard 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
@@ -472,7 +490,7 @@ index 00000000..9cff614a
+ "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "owning_ref 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "proc-macro2 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
+]
@@ -524,16 +542,16 @@ index 00000000..9cff614a
+
+[[package]]
+name = "faerie"
-+version = "0.11.0"
++version = "0.12.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "goblin 0.0.24 (registry+https://github.com/rust-lang/crates.io-index)",
++ "goblin 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "indexmap 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "scroll 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "scroll 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "string-interner 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "target-lexicon 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "target-lexicon 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -550,7 +568,7 @@ index 00000000..9cff614a
+version = "0.1.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "proc-macro2 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
+ "synstructure 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -619,7 +637,7 @@ index 00000000..9cff614a
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "proc-macro2 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
+]
@@ -638,22 +656,17 @@ index 00000000..9cff614a
+
+[[package]]
+name = "glob"
-+version = "0.2.11"
-+source = "registry+https://github.com/rust-lang/crates.io-index"
-+
-+[[package]]
-+name = "glob"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
+name = "goblin"
-+version = "0.0.24"
++version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "plain 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "scroll 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "scroll 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -711,7 +724,7 @@ index 00000000..9cff614a
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "proc-macro-hack 0.5.11 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "proc-macro2 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unindent 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -732,7 +745,7 @@ index 00000000..9cff614a
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "proc-macro2 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
+]
@@ -789,21 +802,21 @@ index 00000000..9cff614a
+version = "0.0.0"
+dependencies = [
+ "capstone 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-codegen 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-codegen 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "dynasm 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "dynasmrt 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "failure_derive 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "memoffset 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "memoffset 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)",
++ "more-asserts 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "multi_mut 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quickcheck 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "smallvec 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)",
++ "smallvec 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "thiserror 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
+ "typemap 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wabt 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "wasmparser 0.39.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "wat 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -838,13 +851,18 @@ index 00000000..9cff614a
+
+[[package]]
+name = "memoffset"
-+version = "0.5.1"
++version = "0.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
++name = "more-asserts"
++version = "0.2.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
+name = "multi_mut"
+version = "0.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -876,6 +894,27 @@ index 00000000..9cff614a
+]
+
+[[package]]
++name = "num"
++version = "0.2.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "num-complex 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
++ "num-integer 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)",
++ "num-iter 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)",
++ "num-rational 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "num-complex"
++version = "0.2.3"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "autocfg 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
+name = "num-integer"
+version = "0.1.41"
+source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -885,6 +924,26 @@ index 00000000..9cff614a
+]
+
+[[package]]
++name = "num-iter"
++version = "0.1.39"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "autocfg 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "num-integer 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)",
++ "num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "num-rational"
++version = "0.2.2"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "autocfg 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "num-integer 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)",
++ "num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
+name = "num-traits"
+version = "0.2.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -906,6 +965,15 @@ index 00000000..9cff614a
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
++name = "os_pipe"
++version = "0.9.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "libc 0.2.64 (registry+https://github.com/rust-lang/crates.io-index)",
++ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
+name = "owning_ref"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -928,7 +996,7 @@ index 00000000..9cff614a
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "proc-macro-hack 0.5.11 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "proc-macro2 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
+]
@@ -963,22 +1031,14 @@ index 00000000..9cff614a
+version = "0.5.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "proc-macro2 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "proc-macro2"
-+version = "0.4.30"
-+source = "registry+https://github.com/rust-lang/crates.io-index"
-+dependencies = [
-+ "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+]
-+
-+[[package]]
-+name = "proc-macro2"
-+version = "1.0.5"
++version = "1.0.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1009,7 +1069,7 @@ index 00000000..9cff614a
+version = "0.8.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "proc-macro2 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
+]
@@ -1019,7 +1079,7 @@ index 00000000..9cff614a
+version = "0.8.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "proc-macro2 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "pyo3-derive-backend 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1043,18 +1103,10 @@ index 00000000..9cff614a
+
+[[package]]
+name = "quote"
-+version = "0.6.13"
-+source = "registry+https://github.com/rust-lang/crates.io-index"
-+dependencies = [
-+ "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
-+]
-+
-+[[package]]
-+name = "quote"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "proc-macro2 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -1132,7 +1184,7 @@ index 00000000..9cff614a
+
+[[package]]
+name = "raw-cpuid"
-+version = "6.1.0"
++version = "7.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1264,21 +1316,20 @@ index 00000000..9cff614a
+
+[[package]]
+name = "scroll"
-+version = "0.9.2"
++version = "0.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "scroll_derive 0.9.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "scroll_derive 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "scroll_derive"
-+version = "0.9.5"
++version = "0.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -1307,7 +1358,7 @@ index 00000000..9cff614a
+version = "1.0.101"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "proc-macro2 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
+]
@@ -1340,7 +1391,7 @@ index 00000000..9cff614a
+
+[[package]]
+name = "smallvec"
-+version = "0.6.10"
++version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
@@ -1373,20 +1424,10 @@ index 00000000..9cff614a
+
+[[package]]
+name = "syn"
-+version = "0.15.44"
-+source = "registry+https://github.com/rust-lang/crates.io-index"
-+dependencies = [
-+ "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+]
-+
-+[[package]]
-+name = "syn"
+version = "1.0.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "proc-macro2 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
@@ -1396,7 +1437,7 @@ index 00000000..9cff614a
+version = "0.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "proc-macro2 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1404,13 +1445,8 @@ index 00000000..9cff614a
+
+[[package]]
+name = "target-lexicon"
-+version = "0.8.1"
++version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
-+dependencies = [
-+ "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "failure_derive 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde_json 1.0.41 (registry+https://github.com/rust-lang/crates.io-index)",
-+]
+
+[[package]]
+name = "tempfile"
@@ -1442,6 +1478,24 @@ index 00000000..9cff614a
+]
+
+[[package]]
++name = "thiserror"
++version = "1.0.5"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "thiserror-impl 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "thiserror-impl"
++version = "1.0.5"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
+name = "thread_local"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1461,7 +1515,7 @@ index 00000000..9cff614a
+
+[[package]]
+name = "toml"
-+version = "0.5.3"
++version = "0.5.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1473,6 +1527,19 @@ index 00000000..9cff614a
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
++name = "trybuild"
++version = "1.0.17"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "glob 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde_json 1.0.41 (registry+https://github.com/rust-lang/crates.io-index)",
++ "termcolor 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "toml 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
+name = "typemap"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1497,11 +1564,6 @@ index 00000000..9cff614a
+
+[[package]]
+name = "unicode-xid"
-+version = "0.1.0"
-+source = "registry+https://github.com/rust-lang/crates.io-index"
-+
-+[[package]]
-+name = "unicode-xid"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
@@ -1539,46 +1601,25 @@ index 00000000..9cff614a
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
-+name = "wabt"
-+version = "0.9.2"
-+source = "registry+https://github.com/rust-lang/crates.io-index"
-+dependencies = [
-+ "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde_derive 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde_json 1.0.41 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wabt-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+]
-+
-+[[package]]
-+name = "wabt-sys"
-+version = "0.7.0"
-+source = "registry+https://github.com/rust-lang/crates.io-index"
-+dependencies = [
-+ "cc 1.0.46 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cmake 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
-+]
-+
-+[[package]]
+name = "walrus"
-+version = "0.12.0"
++version = "0.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "anyhow 1.0.19 (registry+https://github.com/rust-lang/crates.io-index)",
+ "id-arena 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "leb128 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "walrus-macro 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wasmparser 0.37.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "walrus-macro 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "wasmparser 0.39.2 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "walrus-macro"
-+version = "0.12.0"
++version = "0.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "proc-macro2 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
+]
@@ -1590,48 +1631,57 @@ index 00000000..9cff614a
+
+[[package]]
+name = "wasi-common"
-+version = "0.1.0"
-+source = "git+https://github.com/CraneStation/wasi-common?rev=c3bf040#c3bf04042e03c706088de62acf1cd7aa79f0fa50"
++version = "0.5.0"
+dependencies = [
++ "anyhow 1.0.19 (registry+https://github.com/rust-lang/crates.io-index)",
+ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cpu-time 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-codegen 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "filetime 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
++ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc 0.2.64 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "nix 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "num 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "os_pipe 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "pretty_env_logger 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wasi-common-cbindgen 0.1.0 (git+https://github.com/CraneStation/wasi-common?rev=c3bf040)",
++ "target-lexicon 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "thiserror 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "wasi-common-cbindgen 0.5.0",
++ "wasmtime 0.1.0",
++ "wasmtime-environ 0.2.0",
++ "wasmtime-jit 0.2.0",
++ "wasmtime-runtime 0.2.0",
++ "wasmtime-wasi 0.2.0",
++ "wig 0.1.0",
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "winx 0.1.0 (git+https://github.com/CraneStation/wasi-common?rev=c3bf040)",
++ "winx 0.5.0",
+]
+
+[[package]]
+name = "wasi-common-cbindgen"
-+version = "0.1.0"
-+source = "git+https://github.com/CraneStation/wasi-common?rev=c3bf040#c3bf04042e03c706088de62acf1cd7aa79f0fa50"
++version = "0.5.0"
+dependencies = [
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "trybuild 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "wasm-webidl-bindings"
-+version = "0.5.0"
++version = "0.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "anyhow 1.0.19 (registry+https://github.com/rust-lang/crates.io-index)",
+ "id-arena 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "leb128 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "walrus 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "walrus 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "wasmparser"
-+version = "0.37.2"
-+source = "registry+https://github.com/rust-lang/crates.io-index"
-+
-+[[package]]
-+name = "wasmparser"
+version = "0.39.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
@@ -1640,78 +1690,79 @@ index 00000000..9cff614a
+
+[[package]]
+name = "wasmtime"
-+version = "0.2.0"
++version = "0.1.0"
+dependencies = [
-+ "cranelift-codegen 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-entity 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-native 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-wasm 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "anyhow 1.0.19 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-codegen 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-entity 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-frontend 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-native 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-wasm 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "docopt 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "faerie 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "file-per-thread-logger 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.64 (registry+https://github.com/rust-lang/crates.io-index)",
++ "hashbrown 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "pretty_env_logger 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rayon 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "region 2.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "target-lexicon 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wabt 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wasi-common 0.1.0 (git+https://github.com/CraneStation/wasi-common?rev=c3bf040)",
-+ "wasm-webidl-bindings 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wasmtime-api 0.1.0",
-+ "wasmtime-debug 0.2.0",
++ "target-lexicon 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "thiserror 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "wasi-common 0.5.0",
++ "wasmparser 0.39.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "wasmtime-environ 0.2.0",
-+ "wasmtime-interface-types 0.2.0",
+ "wasmtime-jit 0.2.0",
-+ "wasmtime-obj 0.2.0",
+ "wasmtime-runtime 0.2.0",
+ "wasmtime-wasi 0.2.0",
-+ "wasmtime-wasi-c 0.2.0",
+ "wasmtime-wast 0.2.0",
+]
+
+[[package]]
-+name = "wasmtime-api"
-+version = "0.1.0"
++name = "wasmtime-cli"
++version = "0.2.0"
+dependencies = [
-+ "cranelift-codegen 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-entity 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-frontend 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-native 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-wasm 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "anyhow 1.0.19 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-codegen 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-entity 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-native 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-wasm 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "docopt 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "failure_derive 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "faerie 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "file-per-thread-logger 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "hashbrown 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.64 (registry+https://github.com/rust-lang/crates.io-index)",
++ "more-asserts 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "pretty_env_logger 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rayon 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "region 2.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "target-lexicon 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wabt 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wasi-common 0.1.0 (git+https://github.com/CraneStation/wasi-common?rev=c3bf040)",
-+ "wasmparser 0.39.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "target-lexicon 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "wasi-common 0.5.0",
++ "wasm-webidl-bindings 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "wasmtime 0.1.0",
++ "wasmtime-debug 0.2.0",
+ "wasmtime-environ 0.2.0",
++ "wasmtime-interface-types 0.2.0",
+ "wasmtime-jit 0.2.0",
++ "wasmtime-obj 0.2.0",
+ "wasmtime-runtime 0.2.0",
+ "wasmtime-wasi 0.2.0",
++ "wasmtime-wasi-c 0.2.0",
+ "wasmtime-wast 0.2.0",
++ "wat 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "wasmtime-debug"
+version = "0.2.0"
+dependencies = [
-+ "cranelift-codegen 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-entity 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-wasm 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "faerie 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-codegen 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-entity 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-wasm 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "faerie 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "failure_derive 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "gimli 0.19.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hashbrown 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "target-lexicon 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "more-asserts 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "target-lexicon 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "thiserror 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
+ "wasmparser 0.39.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "wasmtime-environ 0.2.0",
+]
@@ -1720,15 +1771,13 @@ index 00000000..9cff614a
+name = "wasmtime-environ"
+version = "0.2.0"
+dependencies = [
-+ "base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "base64 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "bincode 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-codegen 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-entity 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-wasm 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-codegen 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-entity 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-wasm 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "directories 2.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "errno 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "failure_derive 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "file-per-thread-logger 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "filetime 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
+ "indexmap 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1736,27 +1785,29 @@ index 00000000..9cff614a
+ "libc 0.2.64 (registry+https://github.com/rust-lang/crates.io-index)",
+ "lightbeam 0.0.0",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
++ "more-asserts 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "pretty_env_logger 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rayon 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sha2 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "spin 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "target-lexicon 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "target-lexicon 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "toml 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)",
++ "thiserror 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "toml 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "zstd 0.4.28+zstd.1.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
++ "zstd 0.5.1+zstd.1.4.4 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "wasmtime-interface-types"
+version = "0.2.0"
+dependencies = [
-+ "cranelift-codegen 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "walrus 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wasm-webidl-bindings 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "anyhow 1.0.19 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-codegen 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "walrus 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "wasm-webidl-bindings 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "wasmparser 0.39.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "wasmtime-jit 0.2.0",
+ "wasmtime-runtime 0.2.0",
@@ -1766,29 +1817,32 @@ index 00000000..9cff614a
+name = "wasmtime-jit"
+version = "0.2.0"
+dependencies = [
-+ "cranelift-codegen 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-entity 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-frontend 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-wasm 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-codegen 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-entity 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-frontend 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-wasm 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "failure_derive 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hashbrown 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "more-asserts 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "region 2.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "target-lexicon 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "target-lexicon 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "thiserror 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
+ "wasmparser 0.39.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "wasmtime-debug 0.2.0",
+ "wasmtime-environ 0.2.0",
+ "wasmtime-runtime 0.2.0",
++ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "wasmtime-obj"
+version = "0.2.0"
+dependencies = [
-+ "cranelift-codegen 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-entity 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-wasm 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "faerie 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-codegen 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-entity 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-wasm 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "faerie 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "more-asserts 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "wasmtime-environ 0.2.0",
+]
+
@@ -1796,15 +1850,15 @@ index 00000000..9cff614a
+name = "wasmtime-py"
+version = "0.2.0"
+dependencies = [
-+ "cranelift-codegen 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-entity 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-frontend 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-native 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-wasm 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "anyhow 1.0.19 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-codegen 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-entity 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-frontend 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-native 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-wasm 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "pyo3 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "region 2.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "target-lexicon 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "target-lexicon 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "wasmparser 0.39.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "wasmtime-environ 0.2.0",
+ "wasmtime-interface-types 0.2.0",
@@ -1817,18 +1871,18 @@ index 00000000..9cff614a
+version = "0.2.0"
+dependencies = [
+ "cc 1.0.46 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-codegen 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-entity 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-wasm 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "failure_derive 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-codegen 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-entity 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-wasm 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hashbrown 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "indexmap 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc 0.2.64 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "memoffset 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "memoffset 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)",
++ "more-asserts 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "region 2.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "spin 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "thiserror 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
+ "wasmtime-environ 0.2.0",
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
+]
@@ -1837,19 +1891,20 @@ index 00000000..9cff614a
+name = "wasmtime-rust"
+version = "0.2.0"
+dependencies = [
-+ "cranelift-codegen 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-native 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "anyhow 1.0.19 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-codegen 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-native 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "wasmtime-interface-types 0.2.0",
+ "wasmtime-jit 0.2.0",
+ "wasmtime-rust-macro 0.2.0",
++ "wasmtime-wasi 0.2.0",
+]
+
+[[package]]
+name = "wasmtime-rust-macro"
+version = "0.2.0"
+dependencies = [
-+ "proc-macro2 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
+]
@@ -1858,12 +1913,12 @@ index 00000000..9cff614a
+name = "wasmtime-wasi"
+version = "0.2.0"
+dependencies = [
-+ "cranelift-codegen 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-entity 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-wasm 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-codegen 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-entity 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-wasm 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "target-lexicon 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wasi-common 0.1.0 (git+https://github.com/CraneStation/wasi-common?rev=c3bf040)",
++ "target-lexicon 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "wasi-common 0.5.0",
+ "wasmtime-environ 0.2.0",
+ "wasmtime-jit 0.2.0",
+ "wasmtime-runtime 0.2.0",
@@ -1875,12 +1930,13 @@ index 00000000..9cff614a
+dependencies = [
+ "bindgen 0.51.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "cmake 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-codegen 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-entity 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-wasm 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-codegen 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-entity 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-wasm 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc 0.2.64 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "target-lexicon 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "more-asserts 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "target-lexicon 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "wasmtime-environ 0.2.0",
+ "wasmtime-jit 0.2.0",
+ "wasmtime-runtime 0.2.0",
@@ -1890,16 +1946,31 @@ index 00000000..9cff614a
+name = "wasmtime-wast"
+version = "0.2.0"
+dependencies = [
-+ "cranelift-codegen 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-entity 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-wasm 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "failure_derive 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "target-lexicon 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wabt 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "anyhow 1.0.19 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-codegen 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-entity 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-wasm 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "target-lexicon 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "wasmtime-environ 0.2.0",
+ "wasmtime-jit 0.2.0",
+ "wasmtime-runtime 0.2.0",
++ "wast 3.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "wast"
++version = "3.0.2"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "leb128 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "wat"
++version = "1.0.3"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "wast 3.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -1911,6 +1982,15 @@ index 00000000..9cff614a
+]
+
+[[package]]
++name = "wig"
++version = "0.1.0"
++dependencies = [
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "witx 0.4.0",
++]
++
++[[package]]
+name = "winapi"
+version = "0.3.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1948,8 +2028,7 @@ index 00000000..9cff614a
+
+[[package]]
+name = "winx"
-+version = "0.1.0"
-+source = "git+https://github.com/CraneStation/wasi-common?rev=c3bf040#c3bf04042e03c706088de62acf1cd7aa79f0fa50"
++version = "0.5.0"
+dependencies = [
+ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "cvt 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1957,25 +2036,34 @@ index 00000000..9cff614a
+]
+
+[[package]]
++name = "witx"
++version = "0.4.0"
++dependencies = [
++ "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "wast 3.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
+name = "zstd"
-+version = "0.4.28+zstd.1.4.3"
++version = "0.5.1+zstd.1.4.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "zstd-safe 1.4.13+zstd.1.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
++ "zstd-safe 2.0.3+zstd.1.4.4 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "zstd-safe"
-+version = "1.4.13+zstd.1.4.3"
++version = "2.0.3+zstd.1.4.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "libc 0.2.64 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "zstd-sys 1.4.13+zstd.1.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
++ "zstd-sys 1.4.15+zstd.1.4.4 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "zstd-sys"
-+version = "1.4.13+zstd.1.4.3"
++version = "1.4.15+zstd.1.4.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "cc 1.0.46 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1987,6 +2075,7 @@ index 00000000..9cff614a
+"checksum ahash 0.2.16 (registry+https://github.com/rust-lang/crates.io-index)" = "b35dfc96a657c1842b4eb73180b65e37152d4b94d0eb5cb51708aee7826950b4"
+"checksum aho-corasick 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)" = "58fb5e95d83b38284460a5fda7d6470aa0b8844d283a0b614b8535e880800d2d"
+"checksum ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b"
++"checksum anyhow 1.0.19 (registry+https://github.com/rust-lang/crates.io-index)" = "57114fc2a6cc374bce195d3482057c846e706d252ff3604363449695684d7a0d"
+"checksum arrayref 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "0d382e583f07208808f6b1249e60848879ba3543f57c32277bf52d69c2f0f0ee"
+"checksum arrayvec 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)" = "cd9fd44efafa8690358b7408d253adf110036b88f55672a933f01d616ad9b1b9"
+"checksum atty 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)" = "1803c647a3ec87095e7ae7acfca019e98de5ec9a7d01343f611cf3152ed71a90"
@@ -1994,6 +2083,7 @@ index 00000000..9cff614a
+"checksum backtrace 0.3.40 (registry+https://github.com/rust-lang/crates.io-index)" = "924c76597f0d9ca25d762c25a4d369d51267536465dc5064bdf0eb073ed477ea"
+"checksum backtrace-sys 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)" = "5d6575f128516de27e3ce99689419835fce9643a9b215a14d2b5b685be018491"
+"checksum base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0b25d992356d2eb0ed82172f5248873db5560c4721f564b13cb5193bda5e668e"
++"checksum base64 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b41b7ea54a0c9d92199de89e20e58d49f02f8e699814ef3fdf266f6f748d15c7"
+"checksum bincode 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b8ab639324e3ee8774d296864fbc0dbbb256cf1a41c490b94cba90c082915f92"
+"checksum bindgen 0.51.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ebd71393f1ec0509b553aa012b9b58e81dadbdff7130bd3b8cba576e69b32f75"
+"checksum bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
@@ -2016,14 +2106,15 @@ index 00000000..9cff614a
+"checksum const-random 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "7b641a8c9867e341f3295564203b1c250eb8ce6cb6126e007941f78c4d2ed7fe"
+"checksum const-random-macro 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c750ec12b83377637110d5a57f5ae08e895b06c4b16e2bdbf1a94ef717428c59"
+"checksum constant_time_eq 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "995a44c877f9212528ccc74b21a232f66ad69001e40ede5bcee2ac9ef2657120"
-+"checksum cranelift-bforest 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)" = "18c97588946d3e5fe11f8e34ebf8cc65fd3fda50f3ffa2e80c98b2748058f00f"
-+"checksum cranelift-codegen 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3255935da50302bcb0f7109f2fef27f44b46f1c797dfa7db971379261023adcd"
-+"checksum cranelift-codegen-meta 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)" = "fd57265ef5e6ff253c378b6261ed8c2e6cb1b15e91624540dbd09b1e5a40e9ca"
-+"checksum cranelift-codegen-shared 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c093398d21f9493ab29445191362592ef621f497e56a8efb15bdf80471978b7a"
-+"checksum cranelift-entity 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e915fa58d2a75e3c4b768b7e4760282889915c3fcd9ccb2ad2b3ebec99654a78"
-+"checksum cranelift-frontend 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)" = "46963952cda267bd0177b3f036e50038cd56e7b4c5b09a455b02df727e0f2a16"
-+"checksum cranelift-native 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7ba8a2d69ddd4729199a321bc2f4020e1969a088b468ed6a29dc7a69350be76e"
-+"checksum cranelift-wasm 0.46.1 (registry+https://github.com/rust-lang/crates.io-index)" = "5a802357a6a016bf4c1dcdc6d73a650640eb3b613cc098a1a044a6c3731ca264"
++"checksum cpu-time 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e9e393a7668fe1fad3075085b86c781883000b4ede868f43627b34a87c8b7ded"
++"checksum cranelift-bforest 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ba29e425110674c89fdc2f79479d767f31003dd9187c29ba2dad57fe4d321670"
++"checksum cranelift-codegen 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8cb71c7ce1438c41f3d35383fa41eee26f5adf9815c7f5c2e7029a6c9356df2c"
++"checksum cranelift-codegen-meta 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4aa634fd60290d5047d40172028a0aa86458e32a72c76fcce0a317bbbbcca4e5"
++"checksum cranelift-codegen-shared 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6fa6cf5c2adc031be07cd5bc88145ebb93d9d2a05a28a93136782b2167eacb62"
++"checksum cranelift-entity 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)" = "932d5f9622b336e10e8cf843ded09a688ec49f32c32b3101d7c5a7b71cad3dc9"
++"checksum cranelift-frontend 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0d1a3c105c657cd65c20d9183bbd4f2b16bf3548db4b865c065bf7028f3021de"
++"checksum cranelift-native 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ba5e34645453b73a9e2def05561f957a9df17253996379dd59c4afe3cf7db0f1"
++"checksum cranelift-wasm 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)" = "23410ae1f5edf7d83e95bf8537e771345ecc2b11e5c7208cbee8151ea3b88e97"
+"checksum crossbeam-deque 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b18cd2e169ad86297e6bc0ad9aa679aee9daa4f19e8163860faf7c164e4f5a71"
+"checksum crossbeam-epoch 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "fedcd6772e37f3da2a9af9bf12ebe046c0dfe657992377b4df982a2b54cd37a9"
+"checksum crossbeam-queue 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7c979cd6cfe72335896575c6b5688da489e420d36a27a0b9eb0c73db574b4a4b"
@@ -2040,7 +2131,7 @@ index 00000000..9cff614a
+"checksum env_logger 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "aafcde04e90a5226a6443b7aabdb016ba2f8307c847d524724bd9b346dd1a2d3"
+"checksum errno 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "c2a071601ed01b988f896ab14b95e67335d1eeb50190932a1320f7fe3cadc84e"
+"checksum errno-dragonfly 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "14ca354e36190500e1e1fb267c647932382b54053c50b14970856c0b00a35067"
-+"checksum faerie 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "875d78b92b2a4d9e1e2c7eeccfa30a327d2ee6434db3beb8fd6fd92f41898bc4"
++"checksum faerie 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)" = "01fed63609767c70e34203201032c249d60a24578a67ef0ce7cc13ff010e9cf2"
+"checksum failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "f8273f13c977665c5db7eb2b99ae520952fe5ac831ae4cd09d80c4c7042b5ed9"
+"checksum failure_derive 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "0bc225b78e0391e4b8683440bf2e63c2deeeb2ce5189eab46e2b68c6d3725d08"
+"checksum fake-simd 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed"
@@ -2053,9 +2144,8 @@ index 00000000..9cff614a
+"checksum getrandom 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)" = "473a1265acc8ff1e808cd0a1af8cee3c2ee5200916058a2ca113c29f2d903571"
+"checksum ghost 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2a36606a68532b5640dc86bb1f33c64b45c4682aad4c50f3937b317ea387f3d6"
+"checksum gimli 0.19.0 (registry+https://github.com/rust-lang/crates.io-index)" = "162d18ae5f2e3b90a993d202f1ba17a5633c2484426f8bcae201f86194bacd00"
-+"checksum glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "8be18de09a56b60ed0edf84bc9df007e30040691af7acd1c41874faac5895bfb"
+"checksum glob 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
-+"checksum goblin 0.0.24 (registry+https://github.com/rust-lang/crates.io-index)" = "e3fa261d919c1ae9d1e4533c4a2f99e10938603c4208d56c05bec7a872b661b0"
++"checksum goblin 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "5e6040506480da04a63de51a478e8021892d65d8411f29b2a422c2648bdd8bcb"
+"checksum hashbrown 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e1de41fb8dba9714efd92241565cdff73f78508c95697dd56787d3cba27e2353"
+"checksum hashbrown 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "6587d09be37fb98a11cb08b9000a3f592451c1b1b613ca69d949160e313a430a"
+"checksum heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205"
@@ -2077,15 +2167,21 @@ index 00000000..9cff614a
+"checksum mach 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "86dd2487cdfea56def77b88438a2c915fb45113c5319bfe7e14306ca4cd0b0e1"
+"checksum memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "88579771288728879b57485cc7d6b07d648c9f0141eb955f8ab7f9d45394468e"
+"checksum memmap 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6585fd95e7bb50d6cc31e20d4cf9afb4e2ba16c5846fc76793f11218da9c475b"
-+"checksum memoffset 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ce6075db033bbbb7ee5a0bbd3a3186bbae616f57fb001c485c7ff77955f8177f"
++"checksum memoffset 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "75189eb85871ea5c2e2c15abbdd541185f63b408415e5051f5cac122d8c774b9"
++"checksum more-asserts 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0debeb9fcf88823ea64d64e4a815ab1643f33127d995978e099942ce38f25238"
+"checksum multi_mut 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "816df386e5557ac1843a96f1ba8a7cbf4ab175d05ccc15c87a3cda27b4fbdece"
+"checksum nix 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3b2e0b4f3320ed72aaedb9a5ac838690a8047c7b275da22711fddff4f8a14229"
+"checksum nodrop 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)" = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb"
+"checksum nom 4.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2ad2a91a8e869eeb30b9cb3119ae87773a8f4ae617f41b1eb9c154b2905f7bd6"
++"checksum num 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "cf4825417e1e1406b3782a8ce92f4d53f26ec055e3622e1881ca8e9f5f9e08db"
++"checksum num-complex 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "fcb0cf31fb3ff77e6d2a6ebd6800df7fdcd106f2ad89113c9130bcd07f93dffc"
+"checksum num-integer 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)" = "b85e541ef8255f6cf42bbfe4ef361305c6c135d10919ecc26126c4e5ae94bc09"
++"checksum num-iter 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)" = "76bd5272412d173d6bf9afdf98db8612bbabc9a7a830b7bfc9c188911716132e"
++"checksum num-rational 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f2885278d5fe2adc2f75ced642d52d879bffaceb5a2e0b1d4309ffdfb239b454"
+"checksum num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "6ba9a427cfca2be13aa6f6403b0b7e7368fe982bfa16fccc450ce74c46cd9b32"
+"checksum num_cpus 1.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "bcef43580c035376c0705c42792c294b66974abbfd2789b511784023f71f3273"
+"checksum opaque-debug 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c"
++"checksum os_pipe 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "db4d06355a7090ce852965b2d08e11426c315438462638c6d721448d0b47aa22"
+"checksum owning_ref 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "49a4b8ea2179e6a2e27411d3bca09ca6dd630821cf6894c6c7c8467a8ee7ef13"
+"checksum paste 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "423a519e1c6e828f1e73b720f9d9ed2fa643dce8a7737fb43235ce0b41eeaa49"
+"checksum paste-impl 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "4214c9e912ef61bf42b81ba9a47e8aad1b2ffaf739ab162bf96d1e011f54e6c5"
@@ -2094,14 +2190,12 @@ index 00000000..9cff614a
+"checksum ppv-lite86 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "e3cbf9f658cdb5000fcf6f362b8ea2ba154b9f146a61c7a20d647034c6b6561b"
+"checksum pretty_env_logger 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "717ee476b1690853d222af4634056d830b5197ffd747726a9a1eee6da9f49074"
+"checksum proc-macro-hack 0.5.11 (registry+https://github.com/rust-lang/crates.io-index)" = "ecd45702f76d6d3c75a80564378ae228a85f0b59d2f3ed43c91b4a69eb2ebfc5"
-+"checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
-+"checksum proc-macro2 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "90cf5f418035b98e655e9cdb225047638296b862b42411c4e45bb88d700f7fc0"
++"checksum proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "9c9e470a8dc4aeae2dee2f335e8f533e2d4b347e1434e5671afc49b054592f27"
+"checksum pyo3 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a00f96312ebe4082db7d93ad062df1818f597660002541c1bbae6752ec583244"
+"checksum pyo3-derive-backend 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "1a7caa60cb986fca5b488e29d078fb25ae228e01dab080b855168ce061bbef0a"
+"checksum pyo3cls 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a5ccfa624ed9b5d805079f1ad64b3f1de5d551a946d4cf494f1f032b5572d39f"
+"checksum quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9274b940887ce9addde99c4eee6b5c44cc494b182b97e73dc8ffdcb3397fd3f0"
+"checksum quickcheck 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d5ca504a2fdaa08d3517f442fbbba91ac24d1ec4c51ea68688a038765e3b2662"
-+"checksum quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
+"checksum quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "053a8c8bcc71fcce321828dc897a98ab9760bef03a4fc36693c231e5b3216cfe"
+"checksum rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "3ae1b169243eaf61759b8475a998f0a385e42042370f3a7dbaf35246eacc8412"
+"checksum rand_chacha 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "03a2a90da8c7523f554344f921aa97283eadf6ac484a6d2a7d0212fa7f8d6853"
@@ -2111,7 +2205,7 @@ index 00000000..9cff614a
+"checksum rand_hc 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
+"checksum rand_os 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "7b75f676a1e053fc562eafbb47838d67c84801e38fc1ba459e8f180deabd5071"
+"checksum rand_pcg 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3e196346cbbc5c70c77e7b4926147ee8e383a38ee4d15d58a08098b169e492b6"
-+"checksum raw-cpuid 6.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "30a9d219c32c9132f7be513c18be77c9881c7107d2ab5569d205a6a0f0e6dc7d"
++"checksum raw-cpuid 7.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "b4a349ca83373cfa5d6dbb66fd76e58b2cca08da71a5f6400de0a0a6a9bceeaf"
+"checksum rayon 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "83a27732a533a1be0a0035a111fe76db89ad312f6f0347004c220c57f209a123"
+"checksum rayon-core 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "98dcf634205083b17d0861252431eb2acbfb698ab7478a2d20de07954f47ec7b"
+"checksum rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2"
@@ -2127,8 +2221,8 @@ index 00000000..9cff614a
+"checksum rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
+"checksum ryu 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bfa8506c1de11c9c4e4c38863ccbe02a305c8188e85a05a784c9e11e1c3910c8"
+"checksum scopeguard 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b42e15e59b18a828bbf5c58ea01debb36b9b096346de35d941dcb89009f24a0d"
-+"checksum scroll 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)" = "2f84d114ef17fd144153d608fba7c446b0145d038985e7a8cc5d08bb0ce20383"
-+"checksum scroll_derive 0.9.5 (registry+https://github.com/rust-lang/crates.io-index)" = "8f1aa96c45e7f5a91cb7fabe7b279f02fea7126239fc40b732316e8b6a2d0fcb"
++"checksum scroll 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "abb2332cb595d33f7edd5700f4cbf94892e680c7f0ae56adab58a35190b66cb1"
++"checksum scroll_derive 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f8584eea9b9ff42825b46faf46a8c24d2cff13ec152fa2a50df788b87c07ee28"
+"checksum semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403"
+"checksum semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
+"checksum serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)" = "9796c9b7ba2ffe7a9ce53c2287dfc48080f4b2b362fcc245a259b3a7201119dd"
@@ -2136,28 +2230,29 @@ index 00000000..9cff614a
+"checksum serde_json 1.0.41 (registry+https://github.com/rust-lang/crates.io-index)" = "2f72eb2a68a7dc3f9a691bfda9305a1c017a6215e5a4545c258500d2099a37c2"
+"checksum sha2 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7b4d8bfd0e469f417657573d8451fb33d16cfe0989359b93baf3a1ffc639543d"
+"checksum shlex 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7fdf1b9db47230893d76faad238fd6097fd6d6a9245cd7a4d90dbd639536bbd2"
-+"checksum smallvec 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)" = "ab606a9c5e214920bb66c458cd7be8ef094f813f20fe77a54cc7dbfff220d4b7"
++"checksum smallvec 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4ecf3b85f68e8abaa7555aa5abdb1153079387e60b718283d732f03897fcfc86"
+"checksum spin 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
+"checksum stable_deref_trait 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "dba1a27d3efae4351c8051072d619e3ade2820635c3958d826bfea39d59b54c8"
+"checksum string-interner 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "fd710eadff449a1531351b0e43eb81ea404336fa2f56c777427ab0e32a4cf183"
+"checksum strsim 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
+"checksum strsim 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)" = "032c03039aae92b350aad2e3779c352e104d919cb192ba2fabbd7b831ce4f0f6"
-+"checksum syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)" = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
+"checksum syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "66850e97125af79138385e9b88339cbcd037e3f28ceab8c5ad98e64f0f1f80bf"
+"checksum synstructure 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3f085a5855930c0441ca1288cf044ea4aecf4f43a91668abdb870b4ba546a203"
-+"checksum target-lexicon 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7975cb2c6f37d77b190bc5004a2bb015971464756fde9514651a525ada2a741a"
++"checksum target-lexicon 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6f4c118a7a38378f305a9e111fcb2f7f838c0be324bfb31a77ea04f7f6e684b4"
+"checksum tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9"
+"checksum termcolor 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "96d6098003bde162e4277c70665bd87c326f5a0c3f3fbfb285787fa482d54e6e"
+"checksum textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
++"checksum thiserror 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "f9fb62ff737e573b1e677459bea6fd023cd5d6e868c3242d3cdf3ef2f0554824"
++"checksum thiserror-impl 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "24069c0ba08aab54289d6a25f5036d94afc61e1538bbc42ae5501df141c9027d"
+"checksum thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c6b53e329000edc2b34dbe8545fd20e55a333362d0a321909685a19bd28c3f1b"
+"checksum time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)" = "db8dcfca086c1143c9270ac42a2bbd8a7ee477b78ac8e45b19abfb0cbede4b6f"
-+"checksum toml 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "c7aabe75941d914b72bf3e5d3932ed92ce0664d49d8432305a8b547c37227724"
++"checksum toml 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)" = "01d1404644c8b12b16bfcffa4322403a91a451584daaaa7c28d3152e6cbc98cf"
+"checksum traitobject 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "efd1f82c56340fdf16f2a953d7bda4f8fdffba13d93b00844c25572110b26079"
++"checksum trybuild 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)" = "e6851bf8351876984fbab8a2391de6378947b898410d8714edd12164d2137127"
+"checksum typemap 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "653be63c80a3296da5551e1bfd2cca35227e13cdd08c6668903ae2f4f77aa1f6"
+"checksum typenum 1.11.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6d2783fe2d6b8c1101136184eb41be8b1ad379e4657050b8aaff0c79ee7575f9"
+"checksum unicode-segmentation 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1967f4cdfc355b37fd76d2a954fb2ed3871034eb4f26d60537d88795cfc332a9"
+"checksum unicode-width 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "7007dbd421b92cc6e28410fe7362e2e0a2503394908f417b68ec8d1c364c4e20"
-+"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
+"checksum unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c"
+"checksum unindent 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "63f18aa3b0e35fed5a0048f029558b1518095ffe2a0a31fb87c93dece93a4993"
+"checksum unsafe-any 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f30360d7979f5e9c6e6cea48af192ea8fab4afb3cf72597154b8f08935bc9c7f"
@@ -2165,23 +2260,19 @@ index 00000000..9cff614a
+"checksum version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "914b1a6776c4c929a602fafd8bc742e06365d4bcbe48c30f9cca5824f70dc9dd"
+"checksum version_check 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "078775d0255232fb988e6fccf26ddc9d1ac274299aaedcedce21c6f72cc533ce"
+"checksum void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d"
-+"checksum wabt 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)" = "3c5c5c1286c6e578416982609f47594265f9d489f9b836157d403ad605a46693"
-+"checksum wabt-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "af5d153dc96aad7dc13ab90835b892c69867948112d95299e522d370c4e13a08"
-+"checksum walrus 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e6f3bd9559eb5b59d55cc60986e26dc9b3f64377d0b9495e41abd9ede9a6443f"
-+"checksum walrus-macro 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0464a6e0d86be4c95c8c838bcb1910df831e1216a9586feeb02478cd52c4e554"
++"checksum walrus 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)" = "85ce93ab0c27412ba41d509f2410fa575ecbfdb4a6aba0e02e79e12c09745485"
++"checksum walrus-macro 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8757b0da38353d55a9687f4dee68a8f441f980dd36e16ab07d6e6c673f505f76"
+"checksum wasi 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b89c3ce4ce14bdc6fb6beaf9ec7928ca331de5df7e5ea278375642a2f478570d"
-+"checksum wasi-common 0.1.0 (git+https://github.com/CraneStation/wasi-common?rev=c3bf040)" = ""
-+"checksum wasi-common-cbindgen 0.1.0 (git+https://github.com/CraneStation/wasi-common?rev=c3bf040)" = ""
-+"checksum wasm-webidl-bindings 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e407ee3155cb0742acacd0b21060daafe2ad78ea718f2d6b10e7d9d1032aa961"
-+"checksum wasmparser 0.37.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f7387ba67c13dd9cd01d7d961e733375aee889f828564e190da85b5602eb5eeb"
++"checksum wasm-webidl-bindings 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b5cae185868c6038a48f487b9af3766ee0c68d4a85fa3610c3a0522092b3cec1"
+"checksum wasmparser 0.39.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e5083b449454f7de0b15f131eee17de54b5a71dcb9adcf11df2b2f78fad0cd82"
++"checksum wast 3.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "86b52202bd73a756b216bbfea019991ff317b1e5f22677da5cef2964696a3245"
++"checksum wat 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "80db13d155bab63db0f19c24a0e12bf60c3fe346edba8da508ba6962e08c137b"
+"checksum which 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "240a31163872f7e8e49f35b42b58485e35355b07eb009d9f3686733541339a69"
+"checksum winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6"
+"checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
+"checksum winapi-util 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7168bab6e1daee33b4557efd0e95d5ca70a03706d39fa5f3fe7a236f584b03c9"
+"checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+"checksum wincolor 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "96f5016b18804d24db43cebf3c77269e7569b8954a8464501c216cc5e070eaa9"
-+"checksum winx 0.1.0 (git+https://github.com/CraneStation/wasi-common?rev=c3bf040)" = ""
-+"checksum zstd 0.4.28+zstd.1.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "f4e716acaad66f2daf2526f37a1321674a8814c0b37a366ebe6c97a699f85ddc"
-+"checksum zstd-safe 1.4.13+zstd.1.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "bfe4d3b26a0790201848865663e8ffabf091e126e548bc9710ccfa95621ece48"
-+"checksum zstd-sys 1.4.13+zstd.1.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "fadc8ebe858f056ab82dffb9d93850b841603bdf663db7cf5e3dbd7f34cc55b2"
++"checksum zstd 0.5.1+zstd.1.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "5c5d978b793ae64375b80baf652919b148f6a496ac8802922d9999f5a553194f"
++"checksum zstd-safe 2.0.3+zstd.1.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "bee25eac9753cfedd48133fa1736cbd23b774e253d89badbeac7d12b23848d3f"
++"checksum zstd-sys 1.4.15+zstd.1.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "89719b034dc22d240d5b407fb0a3fe6d29952c181cff9a9f95c0bd40b4f8f7d8"
diff --git a/pkgs/development/interpreters/wasmtime/default.nix b/pkgs/development/interpreters/wasmtime/default.nix
index 954b7e73b94990d5ee663071ab67ac537dcc6deb..0cdf1aae3f7c58de980e707e555563f27275cf82 100644
--- a/pkgs/development/interpreters/wasmtime/default.nix
+++ b/pkgs/development/interpreters/wasmtime/default.nix
@@ -2,17 +2,17 @@
rustPlatform.buildRustPackage {
pname = "wasmtime";
- version = "20191018";
+ version = "20191111";
src = fetchFromGitHub {
- owner = "CraneStation";
+ owner = "bytecodealliance";
repo = "wasmtime";
- rev = "ebef2c6b5720fce164af9ded8b7ff3dd5d7e041c";
- sha256 = "15wa0by7lb90qd6fg8i2v1hw7hgbkrh1rqhrf7z850c9ydah6n13";
+ rev = "0006a2af954eba74c79885cb1fe8cdeb68f531c1";
+ sha256 = "0lf3pdkjxcrjmjic7xxyjl5dka3arxi809sp9hm4hih5p2fhf2gw";
fetchSubmodules = true;
};
- cargoSha256 = "07qz6wl32j6gzc9nxv0dr7y6ixmzbzv5j1flkrysdrfidxlldn9k";
+ cargoSha256 = "0mnwaipa2az3vpgbz4m9siz6bfyhmzwz174k678cv158m7mxx12f";
cargoPatches = [ ./cargo-lock.patch ];
diff --git a/pkgs/development/libraries/AntTweakBar/default.nix b/pkgs/development/libraries/AntTweakBar/default.nix
index 94b36b855f25fa1289cbcf8a87b74ce705c3f8b6..1ae6346cbe581cc7e02dbbe0eb1d9d6cc5dec2a4 100644
--- a/pkgs/development/libraries/AntTweakBar/default.nix
+++ b/pkgs/development/libraries/AntTweakBar/default.nix
@@ -1,9 +1,9 @@
-{ stdenv, fetchurl, unzip, xorg, libGLU_combined }:
+{ stdenv, fetchurl, unzip, xorg, libGLU, libGL }:
stdenv.mkDerivation {
name = "AntTweakBar-1.16";
- buildInputs = [ unzip xorg.libX11 libGLU_combined ];
+ buildInputs = [ unzip xorg.libX11 libGLU libGL ];
src = fetchurl {
url = "mirror://sourceforge/project/anttweakbar/AntTweakBar_116.zip";
diff --git a/pkgs/development/libraries/ace/default.nix b/pkgs/development/libraries/ace/default.nix
index 04ab13314755f708f23224f7be2c5660184c6ba9..ea352772b33aab9947d4523dd33df92b65e4a9b9 100644
--- a/pkgs/development/libraries/ace/default.nix
+++ b/pkgs/development/libraries/ace/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "ace";
- version = "6.5.6";
+ version = "6.5.7";
src = fetchurl {
url = "http://download.dre.vanderbilt.edu/previous_versions/ACE-${version}.tar.bz2";
- sha256 = "15lfjc8r854hvjfvimhnqc3987b3cdngilhkii9rwpzginbyipi4";
+ sha256 = "0hvd7y3hs8r3r7qbllfaqrva3jrx5razcnwlws822k66v4r10cbx";
};
enableParallelBuilding = true;
diff --git a/pkgs/development/libraries/allegro/5.nix b/pkgs/development/libraries/allegro/5.nix
index b267c62d6c70646fa48a415089deb1267473793a..5f5368f2866ddf2e158edeb6a78c31153ed656c1 100644
--- a/pkgs/development/libraries/allegro/5.nix
+++ b/pkgs/development/libraries/allegro/5.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, fetchpatch, texinfo, libXext, xorgproto, libX11
, libXpm, libXt, libXcursor, alsaLib, cmake, zlib, libpng, libvorbis
, libXxf86dga, libXxf86misc
-, libXxf86vm, openal, libGLU_combined, libjpeg, flac
+, libXxf86vm, openal, libGLU, libGL, libjpeg, flac
, libXi, libXfixes, freetype, libopus, libtheora
, physfs, enet, pkgconfig, gtk2, pcre, libpulseaudio, libpthreadstubs
, libXdmcp
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
buildInputs = [
texinfo libXext xorgproto libX11 libXpm libXt libXcursor
alsaLib cmake zlib libpng libvorbis libXxf86dga libXxf86misc
- libXxf86vm openal libGLU_combined
+ libXxf86vm openal libGLU libGL
libjpeg flac
libXi libXfixes
enet libtheora freetype physfs libopus pkgconfig gtk2 pcre libXdmcp
diff --git a/pkgs/development/libraries/allegro/default.nix b/pkgs/development/libraries/allegro/default.nix
index 6b44ec1b598a45b655de9031e30668ed6339d4ea..64488b25b094be82ccd40b917962ba676a015a4e 100644
--- a/pkgs/development/libraries/allegro/default.nix
+++ b/pkgs/development/libraries/allegro/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, texinfo, libXext, xorgproto, libX11
, libXpm, libXt, libXcursor, alsaLib, cmake, zlib, libpng, libvorbis
, libXxf86dga, libXxf86misc
-, libXxf86vm, openal, libGLU_combined }:
+, libXxf86vm, openal, libGLU, libGL }:
stdenv.mkDerivation rec {
pname = "allegro";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
buildInputs = [
texinfo libXext xorgproto libX11 libXpm libXt libXcursor
alsaLib cmake zlib libpng libvorbis libXxf86dga libXxf86misc
- libXxf86vm openal libGLU_combined
+ libXxf86vm openal libGLU libGL
];
hardeningDisable = [ "format" ];
diff --git a/pkgs/development/libraries/armadillo/default.nix b/pkgs/development/libraries/armadillo/default.nix
index a74e883dca52fcdfec9d50208f4d3df849c98c38..a9fc7d569efdc96e24a041baf8d580fddbb8659b 100644
--- a/pkgs/development/libraries/armadillo/default.nix
+++ b/pkgs/development/libraries/armadillo/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "armadillo";
- version = "9.800.1";
+ version = "9.800.2";
src = fetchurl {
url = "mirror://sourceforge/arma/armadillo-${version}.tar.xz";
- sha256 = "1vnshgkz4d992kk2fwqigqfx7gx3145ryb8d2794hn2667h5gkzb";
+ sha256 = "0mslyfzwb8zdhchhj7szj25qi2ain7cnlsrzccrfm2mr4a6jv5h9";
};
nativeBuildInputs = [ cmake ];
diff --git a/pkgs/development/libraries/arrayfire/default.nix b/pkgs/development/libraries/arrayfire/default.nix
index 6e2db870068eb26f5151a1c3f0a388ee98f6bb82..21e93a8cd4922fd361389df2f8c859f138b07ded 100644
--- a/pkgs/development/libraries/arrayfire/default.nix
+++ b/pkgs/development/libraries/arrayfire/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, fetchFromGitHub, cmake, pkgconfig
, cudatoolkit, opencl-clhpp, ocl-icd, fftw, fftwFloat, mkl
-, blas, openblas, boost, mesa, libGLU_combined
+, blas, openblas, boost, mesa, libGLU, libGL
, freeimage, python, clfft, clblas
, doxygen, buildDocs ? false
}:
@@ -51,7 +51,7 @@ in stdenv.mkDerivation rec {
opencl-clhpp fftw fftwFloat
mkl
openblas
- libGLU_combined
+ libGLU libGL
mesa freeimage
boost.out boost.dev
] ++ (stdenv.lib.optional stdenv.isLinux [ cudatoolkit ocl-icd ])
diff --git a/pkgs/development/libraries/aspell/default.nix b/pkgs/development/libraries/aspell/default.nix
index 5c3c6272f83d87d83faa05e855003f59205802ab..ad0f910dcbf6c4d7b05624ae70d4353e2f73dc11 100644
--- a/pkgs/development/libraries/aspell/default.nix
+++ b/pkgs/development/libraries/aspell/default.nix
@@ -15,26 +15,20 @@ let
in
stdenv.mkDerivation rec {
- name = "aspell-0.60.6.1";
+ name = "aspell-0.60.8";
src = fetchurl {
url = "mirror://gnu/aspell/${name}.tar.gz";
- sha256 = "1qgn5psfyhbrnap275xjfrzppf5a83fb67gpql0kfqv37al869gm";
+ sha256 = "1wi60ankalmh8ds7nplz434jd7j94gdvbahdwsr539rlad8pxdzr";
};
- patches = [
- (fetchpatch { # remove in >= 0.60.7
- name = "gcc-7.patch";
- url = "https://github.com/GNUAspell/aspell/commit/8089fa02122fed0a.diff";
- sha256 = "1b3p1zy2lqr2fknddckm58hyk95hw4scf6hzjny1v9iaic2p37ix";
- })
- ] ++ stdenv.lib.optional searchNixProfiles ./data-dirs-from-nix-profiles.patch;
+ patches = stdenv.lib.optional searchNixProfiles ./data-dirs-from-nix-profiles.patch;
postPatch = ''
patch interfaces/cc/aspell.h < ${./clang.patch}
'';
- nativeBuildInputs = [ perl ];
+ buildInputs = [ perl ];
doCheck = true;
diff --git a/pkgs/development/libraries/at-spi2-core/default.nix b/pkgs/development/libraries/at-spi2-core/default.nix
index bda809b1a5a910f11f4bb473d03c41e775fbe9cc..84a8a6b902658fdc745d438b55d37b252ce3e063 100644
--- a/pkgs/development/libraries/at-spi2-core/default.nix
+++ b/pkgs/development/libraries/at-spi2-core/default.nix
@@ -10,6 +10,7 @@
, dbus
, glib
+, dconf
, libX11
, libXtst # at-spi2-core can be build without X support, but due it is a client-side library, GUI-less usage is a very rare case
, libXi
@@ -48,7 +49,7 @@ stdenv.mkDerivation rec {
postFixup = ''
# Cannot use wrapGAppsHook'due to a dependency cycle
wrapProgram $out/libexec/at-spi-bus-launcher \
- --prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib gnome3.dconf}/lib/gio/modules" \
+ --prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib dconf}/lib/gio/modules" \
--prefix XDG_DATA_DIRS : ${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}
'';
diff --git a/pkgs/development/libraries/bcg729/default.nix b/pkgs/development/libraries/bcg729/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..4363948e830ddf44366b00c0c17b6f1c6b661ca3
--- /dev/null
+++ b/pkgs/development/libraries/bcg729/default.nix
@@ -0,0 +1,43 @@
+{ stdenv
+, fetchFromGitHub
+, fetchpatch
+, cmake
+}:
+
+stdenv.mkDerivation rec {
+ pname = "bcg729";
+ version = "1.0.4";
+
+ src = fetchFromGitHub {
+ owner = "BelledonneCommunications";
+ repo = pname;
+ rev = version;
+ sha256 = "05s0c5ps3a763y0v34wg5zghj0cdjnq4ch7g81848xxry7q90fwa";
+ };
+
+ patches = [
+ (fetchpatch {
+ url = "https://github.com/BelledonneCommunications/bcg729/commit/a5907daf1b111e4ad7aab4f558f57e2af1e37e55.patch";
+ sha256 = "0445syfwj4w4chh8ak80rq77iqcr27924n1ld5snshk3d21nxd64";
+ })
+ (fetchpatch {
+ url = "https://github.com/BelledonneCommunications/bcg729/commit/697bf6653a8c7421f0e821ee8d42471246e6850f.patch";
+ sha256 = "1h3gf5sj2sg5cs5iv1lcav3lkqmd5jf4agvjzz83l89wd5f5hp5l";
+ })
+ (fetchpatch {
+ url = "https://github.com/BelledonneCommunications/bcg729/commit/d63ce04a93711820d9a6985b1d11d8d91ed8e6b6.patch";
+ sha256 = "1piwf63ci2gma6jd6b4adkvxirysvazf0vklb5pc6vx1g93nkgxs";
+ })
+ ];
+
+ nativeBuildInputs = [ cmake ];
+
+ meta = with stdenv.lib; {
+ description = "Opensource implementation of both encoder and decoder of the ITU G729 Annex A/B speech codec";
+ homepage = "https://linphone.org/technical-corner/bcg729";
+ changelog = "https://gitlab.linphone.org/BC/public/bcg729/raw/${version}/NEWS";
+ license = licenses.gpl2Plus;
+ maintainers = with maintainers; [ c0bw3b ];
+ platforms = platforms.all;
+ };
+}
diff --git a/pkgs/development/libraries/bctoolbox/default.nix b/pkgs/development/libraries/bctoolbox/default.nix
index 2730696344e03b607c38a09ca65741fe371dfe0d..a9d21a1f5a96faf0517c56f80350024a9e314a42 100644
--- a/pkgs/development/libraries/bctoolbox/default.nix
+++ b/pkgs/development/libraries/bctoolbox/default.nix
@@ -1,19 +1,23 @@
-{stdenv, fetchFromGitHub, cmake, mbedtls, bcunit, srtp}:
+{ stdenv, fetchFromGitHub, cmake, bcunit, mbedtls }:
+
stdenv.mkDerivation rec {
- name = "${baseName}-${version}";
- baseName = "bctoolbox";
+ pname = "bctoolbox";
version = "0.6.0";
- buildInputs = [cmake mbedtls bcunit srtp];
+
+ nativeBuildInputs = [ cmake bcunit ];
+ buildInputs = [ mbedtls ];
+
src = fetchFromGitHub {
owner = "BelledonneCommunications";
- repo = baseName;
+ repo = pname;
rev = version;
sha256 = "1cxx243wyzkd4xnvpyqf97n0rjhfckpvw1vhwnbwshq3q6fra909";
};
meta = {
inherit version;
- description = ''Utilities library for Linphone'';
+ description = "Utilities library for Linphone";
+ homepage = "https://github.com/BelledonneCommunications/bctoolbox";
license = stdenv.lib.licenses.gpl2Plus ;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
diff --git a/pkgs/development/libraries/belle-sip/default.nix b/pkgs/development/libraries/belle-sip/default.nix
index d4420e40ab69708f3095e66f418953df57472d64..1745614f741c540430946f17d2b12a8148f4fb9d 100644
--- a/pkgs/development/libraries/belle-sip/default.nix
+++ b/pkgs/development/libraries/belle-sip/default.nix
@@ -1,15 +1,14 @@
-{ stdenv, antlr3_4, libantlr3c, jre, polarssl, fetchFromGitHub
+{ stdenv, antlr3_4, libantlr3c, jre, mbedtls, fetchFromGitHub
, cmake, zlib, bctoolbox
}:
stdenv.mkDerivation rec {
- baseName = "belle-sip";
+ pname = "belle-sip";
version = "1.6.3";
- name = "${baseName}-${version}";
src = fetchFromGitHub {
owner = "BelledonneCommunications";
- repo = baseName;
+ repo = pname;
rev = version;
sha256 = "0q70db1klvhca1af29bm9paka3gyii5hfbzrj4178gclsg7cj8fk";
};
@@ -24,18 +23,14 @@ stdenv.mkDerivation rec {
"-Wno-error=cast-function-type"
];
- propagatedBuildInputs = [ antlr3_4 libantlr3c polarssl bctoolbox ];
-
- configureFlags = [
- "--with-polarssl=${polarssl}"
- ];
+ propagatedBuildInputs = [ antlr3_4 libantlr3c mbedtls bctoolbox ];
# Fails to build with lots of parallel jobs
enableParallelBuilding = false;
meta = with stdenv.lib; {
- homepage = http://www.linphone.org/index.php/eng;
- description = "A Voice-over-IP phone";
+ homepage = https://linphone.org/technical-corner/belle-sip;
+ description = "Modern library implementing SIP (RFC 3261) transport, transaction and dialog layers";
license = licenses.gpl2;
platforms = platforms.all;
};
diff --git a/pkgs/development/libraries/box2d/default.nix b/pkgs/development/libraries/box2d/default.nix
index 328ac434d85afd74e97647d7167adbabf6ca4e6e..d4b4c33f35b5aa3ee95cf58456273e57d8c8525a 100644
--- a/pkgs/development/libraries/box2d/default.nix
+++ b/pkgs/development/libraries/box2d/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, unzip, cmake, libGLU_combined, freeglut, libX11, xorgproto
+{ stdenv, fetchurl, unzip, cmake, libGLU, libGL, freeglut, libX11, xorgproto
, libXi, pkgconfig }:
stdenv.mkDerivation rec {
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
- unzip cmake libGLU_combined freeglut libX11 xorgproto libXi
+ unzip cmake libGLU libGL freeglut libX11 xorgproto libXi
];
cmakeFlags = [
diff --git a/pkgs/development/libraries/bullet/default.nix b/pkgs/development/libraries/bullet/default.nix
index 1b6c56f13afd43761ba7e372869c80d8da24a023..5b4e37eff9f6058e66ead2b8f0f71c854382bfbb 100644
--- a/pkgs/development/libraries/bullet/default.nix
+++ b/pkgs/development/libraries/bullet/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, cmake, libGLU_combined, freeglut
+{ stdenv, fetchFromGitHub, cmake, libGLU, libGL, freeglut
, Cocoa, OpenGL
}:
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ cmake ];
- buildInputs = stdenv.lib.optionals stdenv.isLinux [ libGLU_combined freeglut ]
+ buildInputs = stdenv.lib.optionals stdenv.isLinux [ libGLU libGL freeglut ]
++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa OpenGL ];
patches = [ ./gwen-narrowing.patch ];
diff --git a/pkgs/development/libraries/bullet/roboschool-fork.nix b/pkgs/development/libraries/bullet/roboschool-fork.nix
index 8b0901832d11e07a03f7293f817da0992e1d365f..34a9ee3b6ee878a9ab4e799668de2b8e774352c2 100644
--- a/pkgs/development/libraries/bullet/roboschool-fork.nix
+++ b/pkgs/development/libraries/bullet/roboschool-fork.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, cmake, libGLU_combined, freeglut
+{ stdenv, fetchFromGitHub, cmake, libGLU, libGL, freeglut
, Cocoa, OpenGL
}:
@@ -18,7 +18,7 @@ stdenv.mkDerivation {
};
nativeBuildInputs = [ cmake ];
- buildInputs = stdenv.lib.optionals stdenv.isLinux [ libGLU_combined freeglut ]
+ buildInputs = stdenv.lib.optionals stdenv.isLinux [ libGLU libGL freeglut ]
++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa OpenGL ];
patches = [ ./gwen-narrowing.patch ];
diff --git a/pkgs/development/libraries/cairo/default.nix b/pkgs/development/libraries/cairo/default.nix
index 82570fbf7b40bfa3f9ce22d3494fc93509311b4f..d2e52638d0719bbc577e4350ba3c69e1087cf6f2 100644
--- a/pkgs/development/libraries/cairo/default.nix
+++ b/pkgs/development/libraries/cairo/default.nix
@@ -5,7 +5,7 @@
, xcbSupport ? x11Support, libxcb, xcbutil # no longer experimental since 1.12
, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
, glSupport ? config.cairo.gl or (libGLSupported && stdenv.isLinux && !stdenv.isAarch32 && !stdenv.isMips)
-, libGL ? null # libGLU_combined is no longer a big dependency
+, libGL ? null # libGLU libGL is no longer a big dependency
, pdfSupport ? true
, darwin
}:
diff --git a/pkgs/development/libraries/catch2/default.nix b/pkgs/development/libraries/catch2/default.nix
index 19768d77a8ddc72174c828acaebf03340c5ed3f8..86a5e52353add5e9509292e91014f59cc6584565 100644
--- a/pkgs/development/libraries/catch2/default.nix
+++ b/pkgs/development/libraries/catch2/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "catch2";
- version = "2.10.2";
+ version = "2.11.0";
src = fetchFromGitHub {
owner = "catchorg";
repo = "Catch2";
rev = "v${version}";
- sha256="01ldfv4337s3vdhsx415d49jchpvqy61c77dhnri30ip5af0ipjs";
+ sha256="1b07drrclvxj17s67ivypr9vr27rg0m36jqnrbci6f4wsp1b0gbl";
};
nativeBuildInputs = [ cmake ];
diff --git a/pkgs/development/libraries/chipmunk/default.nix b/pkgs/development/libraries/chipmunk/default.nix
index 76f722f31aa7a5fd91e3d9585c7262ad57d74e34..5dd9917bc52bb85f0cd8ea0533565250b731eaba 100644
--- a/pkgs/development/libraries/chipmunk/default.nix
+++ b/pkgs/development/libraries/chipmunk/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, cmake, freeglut, libGLU_combined, glfw2, glew, libX11, xorgproto
+{ stdenv, fetchurl, cmake, freeglut, libGLU, libGL, glfw2, glew, libX11, xorgproto
, libXi, libXmu
}:
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
buildInputs =
- [ freeglut libGLU_combined glfw2 glew libX11 xorgproto libXi libXmu ];
+ [ freeglut libGLU libGL glfw2 glew libX11 xorgproto libXi libXmu ];
postInstall = ''
mkdir -p $out/bin
diff --git a/pkgs/development/libraries/cln/default.nix b/pkgs/development/libraries/cln/default.nix
index 7adc2a365c5b1208054367ce337208d95f7fa11f..dc36414fc28d76dfa1a7436a5ce99dc715383782 100644
--- a/pkgs/development/libraries/cln/default.nix
+++ b/pkgs/development/libraries/cln/default.nix
@@ -2,18 +2,18 @@
stdenv.mkDerivation rec {
pname = "cln";
- version = "1.3.4";
+ version = "1.3.5";
src = fetchurl {
url = "${meta.homepage}${pname}-${version}.tar.bz2";
- sha256 = "0j5p18hwbbrchsdbnc8d2bf9ncslhflri4i950gdnq7v6g2dg69d";
+ sha256 = "0bc43v4fyxwik9gjkvm8jan74bkx9bjssv61lfh9jhhblmj010bq";
};
buildInputs = [ gmp ];
meta = with stdenv.lib; {
description = "C/C++ library for numbers, a part of GiNaC";
- homepage = http://www.ginac.de/CLN/;
+ homepage = https://www.ginac.de/CLN/;
license = licenses.gpl2;
platforms = platforms.unix; # Once had cygwin problems
};
diff --git a/pkgs/desktops/gnome-3/core/dconf/default.nix b/pkgs/development/libraries/dconf/default.nix
similarity index 100%
rename from pkgs/desktops/gnome-3/core/dconf/default.nix
rename to pkgs/development/libraries/dconf/default.nix
diff --git a/pkgs/development/libraries/egl-wayland/default.nix b/pkgs/development/libraries/egl-wayland/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..fa2c3687ba771cb61d921309ff3694b4e2d8cdd0
--- /dev/null
+++ b/pkgs/development/libraries/egl-wayland/default.nix
@@ -0,0 +1,79 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, pkgconfig
+, meson
+, ninja
+, libX11
+, mesa
+, libGL
+, wayland
+}:
+
+let
+ eglexternalplatform = stdenv.mkDerivation {
+ pname = "eglexternalplatform";
+ version = "1.1";
+
+ src = fetchFromGitHub {
+ owner = "Nvidia";
+ repo = "eglexternalplatform";
+ rev = "7c8f8e2218e46b1a4aa9538520919747f1184d86";
+ sha256 = "0lr5s2xa1zn220ghmbsiwgmx77l156wk54c7hybia0xpr9yr2nhb";
+ };
+
+ installPhase = ''
+ mkdir -p "$out/include/"
+ cp interface/eglexternalplatform.h "$out/include/"
+ cp interface/eglexternalplatformversion.h "$out/include/"
+
+ substituteInPlace eglexternalplatform.pc \
+ --replace "/usr/include/EGL" "$out/include"
+ mkdir -p "$out/share/pkgconfig"
+ cp eglexternalplatform.pc "$out/share/pkgconfig/"
+ '';
+
+ meta = with lib; {
+ license = licenses.mit;
+ };
+ };
+
+in stdenv.mkDerivation rec {
+ pname = "egl-wayland";
+ version = "1.1.4";
+
+ outputs = [ "out" "dev" ];
+
+ src = fetchFromGitHub {
+ owner = "Nvidia";
+ repo = pname;
+ rev = version;
+ sha256 = "0wvamjcfycd7rgk7v14g2rin55xin9rfkxmivyay3cm08vnl7y1d";
+ };
+
+ # Add missing include
+ # https://github.com/NVIDIA/egl-wayland/pull/24
+ patches = [ ./eglmesaext.patch ];
+
+ nativeBuildInputs = [
+ meson
+ ninja
+ pkgconfig
+ ];
+
+ buildInputs = [
+ eglexternalplatform
+ libX11
+ mesa
+ libGL
+ wayland
+ ];
+
+ meta = with lib; {
+ description = "The EGLStream-based Wayland external platform";
+ homepage = https://github.com/NVIDIA/egl-wayland/;
+ license = licenses.mit;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ hedning ];
+ };
+}
diff --git a/pkgs/development/libraries/egl-wayland/eglmesaext.patch b/pkgs/development/libraries/egl-wayland/eglmesaext.patch
new file mode 100644
index 0000000000000000000000000000000000000000..9384ecff9b0f83844e48056f9ac555a6c39cb5d8
--- /dev/null
+++ b/pkgs/development/libraries/egl-wayland/eglmesaext.patch
@@ -0,0 +1,12 @@
+diff --git a/src/wayland-eglsurface.c b/src/wayland-eglsurface.c
+index 01c9cb3..45736b0 100644
+--- a/src/wayland-eglsurface.c
++++ b/src/wayland-eglsurface.c
+@@ -37,6 +37,7 @@
+ #include
+ #include
+ #include
++#include
+
+ #define WL_EGL_WINDOW_DESTROY_CALLBACK_SINCE 3
+
diff --git a/pkgs/development/libraries/ffmpeg-full/default.nix b/pkgs/development/libraries/ffmpeg-full/default.nix
index 9ab112dac127c41f4280596c6944cdfadfb6c8d9..0a9fa64afe378a9c8245a438d5fc6dff6703f820 100644
--- a/pkgs/development/libraries/ffmpeg-full/default.nix
+++ b/pkgs/development/libraries/ffmpeg-full/default.nix
@@ -104,7 +104,7 @@
#, opencl ? null # OpenCL code
, opencore-amr ? null # AMR-NB de/encoder & AMR-WB decoder
#, opencv ? null # Video filtering
-, openglExtlib ? false, libGLU_combined ? null # OpenGL rendering
+, openglExtlib ? false, libGL ? null, libGLU ? null # OpenGL rendering
#, openh264 ? null # H.264/AVC encoder
, openjpeg ? null # JPEG 2000 de/encoder
, opensslExtlib ? false, openssl ? null
@@ -234,7 +234,7 @@ assert gnutls != null -> !opensslExtlib;
assert libxcbshmExtlib -> libxcb != null;
assert libxcbxfixesExtlib -> libxcb != null;
assert libxcbshapeExtlib -> libxcb != null;
-assert openglExtlib -> libGLU_combined != null;
+assert openglExtlib -> libGL != null && libGLU != null;
assert opensslExtlib -> gnutls == null && openssl != null && nonfreeLicensing;
stdenv.mkDerivation rec {
@@ -424,7 +424,7 @@ stdenv.mkDerivation rec {
libxcb libXv libXext lzma openal openjpeg libpulseaudio rtmpdump opencore-amr
samba SDL2 soxr speex vid-stab vo-amrwbenc wavpack x264 x265 xavs xvidcore
zeromq4 zlib
- ] ++ optional openglExtlib libGLU_combined
+ ] ++ optionals openglExtlib [ libGL libGLU ]
++ optionals nonfreeLicensing [ fdk_aac openssl ]
++ optional ((isLinux || isFreeBSD) && libva != null) libva
++ optional (!isAarch64 && libvmaf != null && version3Licensing) libvmaf
diff --git a/pkgs/development/libraries/ffmpeg/generic.nix b/pkgs/development/libraries/ffmpeg/generic.nix
index ccdf4662719a5baf498156f7347c37ebcb22863d..ba59b0c16e6ffe1392cbf85d5e6273f53014645f 100644
--- a/pkgs/development/libraries/ffmpeg/generic.nix
+++ b/pkgs/development/libraries/ffmpeg/generic.nix
@@ -2,7 +2,7 @@
, alsaLib, bzip2, fontconfig, freetype, gnutls, libiconv, lame, libass, libogg
, libssh, libtheora, libva, libdrm, libvorbis, libvpx, lzma, libpulseaudio, soxr
, x264, x265, xvidcore, zlib, libopus, speex, nv-codec-headers, dav1d
-, openglSupport ? false, libGLU_combined ? null
+, openglSupport ? false, libGLU ? null, libGL ? null
, libmfxSupport ? false, intel-media-sdk ? null
, libaomSupport ? false, libaom ? null
# Build options
@@ -63,7 +63,7 @@ let
vpxSupport = reqMin "0.6" && !isAarch32;
in
-assert openglSupport -> libGLU_combined != null;
+assert openglSupport -> libGL != null && libGLU != null;
assert libmfxSupport -> intel-media-sdk != null;
assert libaomSupport -> libaom != null;
@@ -168,7 +168,7 @@ stdenv.mkDerivation rec {
buildInputs = [
bzip2 fontconfig freetype gnutls libiconv lame libass libogg libssh libtheora
libvdpau libvorbis lzma soxr x264 x265 xvidcore zlib libopus speex nv-codec-headers
- ] ++ optional openglSupport libGLU_combined
+ ] ++ optionals openglSupport [ libGL libGLU ]
++ optional libmfxSupport intel-media-sdk
++ optional vpxSupport libaom
++ optional vpxSupport libvpx
diff --git a/pkgs/development/libraries/flatpak/default.nix b/pkgs/development/libraries/flatpak/default.nix
index c0cbb763d36f3e92b5937ef5d9a687fea7a8c4a6..945f1d4931fbfdd41b362ac2e946afe3420e3c5a 100644
--- a/pkgs/development/libraries/flatpak/default.nix
+++ b/pkgs/development/libraries/flatpak/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, autoreconfHook, docbook_xml_dtd_412, docbook_xml_dtd_42, docbook_xml_dtd_43, docbook_xsl, which, libxml2
, gobject-introspection, gtk-doc, intltool, libxslt, pkgconfig, xmlto, appstream-glib, substituteAll, glibcLocales, yacc, xdg-dbus-proxy, p11-kit
, bubblewrap, bzip2, dbus, glib, gpgme, json-glib, libarchive, libcap, libseccomp, coreutils, gettext, hicolor-icon-theme, fuse, nixosTests
-, libsoup, lzma, ostree, polkit, python3, systemd, xorg, valgrind, glib-networking, wrapGAppsHook, gnome3, gsettings-desktop-schemas, librsvg }:
+, libsoup, lzma, ostree, polkit, python3, systemd, xorg, valgrind, glib-networking, wrapGAppsHook, dconf, gsettings-desktop-schemas, librsvg }:
stdenv.mkDerivation rec {
pname = "flatpak";
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
];
buildInputs = [
- bubblewrap bzip2 dbus gnome3.dconf glib gpgme json-glib libarchive libcap libseccomp
+ bubblewrap bzip2 dbus dconf glib gpgme json-glib libarchive libcap libseccomp
libsoup lzma ostree polkit python3 systemd xorg.libXau fuse
gsettings-desktop-schemas glib-networking
librsvg # for flatpak-validate-icon
diff --git a/pkgs/development/libraries/fltk/1.4.nix b/pkgs/development/libraries/fltk/1.4.nix
index 183f0c2bb70cf18db88a2d0ffd0d1cbd6b5d4861..1fe50b402cb644dcf79212a4b08b8649b4ffeadc 100644
--- a/pkgs/development/libraries/fltk/1.4.nix
+++ b/pkgs/development/libraries/fltk/1.4.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, xlibsWrapper, xorgproto, libXi
-, freeglut, libGLU_combined, libjpeg, zlib, libXft, libpng
+, freeglut, libGLU, libGL, libjpeg, zlib, libXft, libpng
, libtiff, freetype, Cocoa, AGL, GLUT
}:
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
patches = stdenv.lib.optionals stdenv.isDarwin [ ./nsosv.patch ];
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ libGLU_combined libjpeg zlib libpng libXft ]
+ buildInputs = [ libGLU libGL libjpeg zlib libpng libXft ]
++ stdenv.lib.optional stdenv.isDarwin [ AGL Cocoa GLUT ];
propagatedBuildInputs = [ xorgproto ]
diff --git a/pkgs/development/libraries/forge/default.nix b/pkgs/development/libraries/forge/default.nix
index e6e002f16c5a0f005afbacef784aee37cbab4645..83630aef9aa80350c13b6fffa45ef45e5e7f1349 100644
--- a/pkgs/development/libraries/forge/default.nix
+++ b/pkgs/development/libraries/forge/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig
, arrayfire, expat, fontconfig, freeimage, freetype, boost
-, mesa, libGLU_combined, glfw3, SDL2, cudatoolkit
+, mesa, libGLU, libGL, glfw3, SDL2, cudatoolkit
}:
stdenv.mkDerivation rec {
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
boost.dev
freeimage
mesa
- libGLU_combined
+ libGLU libGL
glfw3
SDL2
cudatoolkit
diff --git a/pkgs/development/libraries/fox/fox-1.6.nix b/pkgs/development/libraries/fox/fox-1.6.nix
index af387b7232f4150b7850512c825947f9770301da..bb59a34b1cc79be70dafc18ee6f08c7548ec0fbf 100644
--- a/pkgs/development/libraries/fox/fox-1.6.nix
+++ b/pkgs/development/libraries/fox/fox-1.6.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, xlibsWrapper, libpng, libjpeg, libtiff, zlib, bzip2, libXcursor
-, libXrandr, libGLU_combined, libXft, libXfixes, xinput
+, libXrandr, libGLU, libGL, libXft, libXfixes, xinput
, CoreServices }:
let
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
buildInputs = [
xlibsWrapper libpng libjpeg libtiff zlib bzip2 libXcursor libXrandr
- libXft libGLU_combined libXfixes xinput
+ libXft libGLU libGL libXfixes xinput
] ++ stdenv.lib.optional stdenv.isDarwin CoreServices;
doCheck = true;
diff --git a/pkgs/development/libraries/freenect/default.nix b/pkgs/development/libraries/freenect/default.nix
index 41480789a08af6a424218691d0da3ef2031ec3b4..9520542481c80214220052b9b2207b2f4ce24e74 100644
--- a/pkgs/development/libraries/freenect/default.nix
+++ b/pkgs/development/libraries/freenect/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, fetchFromGitHub, cmake, libusb, pkgconfig, freeglut, libGLU_combined, libXi, libXmu
+{ stdenv, lib, fetchFromGitHub, cmake, libusb, pkgconfig, freeglut, libGLU, libGL, libXi, libXmu
, GLUT, Cocoa
}:
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
sha256 = "0vnc7z2avckh4mccqq6alsd2z7xvsh3kaslc5b0gnfxw0j269gl6";
};
- buildInputs = [ libusb freeglut libGLU_combined libXi libXmu ]
+ buildInputs = [ libusb freeglut libGLU libGL libXi libXmu ]
++ lib.optionals stdenv.isDarwin [ GLUT Cocoa ];
nativeBuildInputs = [ cmake pkgconfig ];
diff --git a/pkgs/development/libraries/fribidi/default.nix b/pkgs/development/libraries/fribidi/default.nix
index 859258f595650dc6ec5f30c8767e4685cd8a54d9..3b0b30f573b52e91362a3728df5056a47d422859 100644
--- a/pkgs/development/libraries/fribidi/default.nix
+++ b/pkgs/development/libraries/fribidi/default.nix
@@ -20,6 +20,14 @@ stdenv.mkDerivation rec {
sha256 = "0pckda4fcn0aw32lpycwdp25r2m7vca8zspq815ppi9gkwgg5das";
};
+ patches = [
+ (fetchpatch {
+ name = "CVE-2019-18397.patch";
+ url = "https://github.com/fribidi/fribidi/commit/034c6e9a1d296286305f4cfd1e0072b879f52568.patch";
+ sha256 = "102xrbf1l5gvavkxd6csx8pj3rlgcw10c0y4h4d40yhn84b1p0y8";
+ })
+ ];
+
postPatch = ''
patchShebangs test
'';
diff --git a/pkgs/development/libraries/gaia/default.nix b/pkgs/development/libraries/gaia/default.nix
index c8c0b8c6800c431dbd75495f7e13c7765fff1966..b154f80c1dd26ff94a15b97c3283e0f2858773fb 100644
--- a/pkgs/development/libraries/gaia/default.nix
+++ b/pkgs/development/libraries/gaia/default.nix
@@ -3,6 +3,7 @@
, fetchFromGitHub
, libyaml
, swig
+, eigen
, pkgconfig
, wafHook
, makeWrapper
@@ -19,13 +20,13 @@ assert pythonSupport -> pythonPackages != null;
stdenv.mkDerivation rec {
pname = "gaia";
- version = "2.4.5";
+ version = "2.4.6";
src = fetchFromGitHub {
owner = "MTG";
repo = "gaia";
rev = "v${version}";
- sha256 = "12jxb354s2dblr2ghnl3w05m23jgzvrrgywfj8jaa32j3gw48fv2";
+ sha256 = "03vmdq7ca4f7zp2f4sxyqa8sdpdma3mn9fz4z7d93qryl0bhi7z3";
};
# Fix installation error when waf tries to put files in /etc/
@@ -50,6 +51,7 @@ stdenv.mkDerivation rec {
buildInputs = [
libyaml
+ eigen
qt4
];
diff --git a/pkgs/development/libraries/gjs/default.nix b/pkgs/development/libraries/gjs/default.nix
index c723a54765b08dfea68a8f200b68ebb5b326139b..7facdc1426fe7d67a38c10f4b6d4c54d8e42f820 100644
--- a/pkgs/development/libraries/gjs/default.nix
+++ b/pkgs/development/libraries/gjs/default.nix
@@ -19,11 +19,11 @@
stdenv.mkDerivation rec {
pname = "gjs";
- version = "1.58.1";
+ version = "1.58.3";
src = fetchurl {
url = "mirror://gnome/sources/gjs/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "1xf68rbagkflb9yi3visfw8cbxqlzd717y8jakgw0y6whzm1dpxl";
+ sha256 = "1bkksx362007zs8c31ydygb29spwa5g5kch1ad2grc2sp53wv7ya";
};
outputs = [ "out" "dev" "installedTests" ];
diff --git a/pkgs/development/libraries/glib/setup-hook.sh b/pkgs/development/libraries/glib/setup-hook.sh
index 20714ea7ab8743f4c4509e5302e2a445cf2ec899..37c750b8db66e75d8c55197225a251006a922b91 100644
--- a/pkgs/development/libraries/glib/setup-hook.sh
+++ b/pkgs/development/libraries/glib/setup-hook.sh
@@ -1,8 +1,8 @@
make_glib_find_gsettings_schemas() {
# For packages that need gschemas of other packages (e.g. empathy)
- for maybe_dir in "$1"/share/gsettings-schemas/*/glib-2.0; do
- if [[ -d "$maybe_dir/schemas" ]]; then
+ for maybe_dir in "$1"/share/gsettings-schemas/*; do
+ if [[ -d "$maybe_dir/glib-2.0/schemas" ]]; then
addToSearchPath GSETTINGS_SCHEMAS_PATH "$maybe_dir"
fi
done
diff --git a/pkgs/development/libraries/glui/default.nix b/pkgs/development/libraries/glui/default.nix
index 59357bf6fb1bd20c842e2d823880de0c90a79888..8ac42375bf924b5531ba29567f6fa60d9e5d6932 100644
--- a/pkgs/development/libraries/glui/default.nix
+++ b/pkgs/development/libraries/glui/default.nix
@@ -1,8 +1,27 @@
-{stdenv, fetchurl, freeglut, libGLU_combined, libXmu, libXext, libX11, libXi}:
-stdenv.mkDerivation {
- name = "glui-2.35";
- buildInputs = [freeglut libGLU_combined libXmu libXext libX11 libXi];
+{ stdenv
+, fetchurl
+, freeglut
+, libGL
+, libGLU
+, libX11
+, libXext
+, libXi
+, libXmu
+}:
+
+stdenv.mkDerivation rec {
+ pname = "glui";
+ version = "2.36";
+
+ src = fetchurl {
+ url = "mirror://sourceforge/project/glui/Source/${version}/glui-${version}.tgz";
+ sha256 = "11r7f0k5jlbl825ibhm5c6bck0fn1hbliya9x1f253ikry1mxvy1";
+ };
+
+ buildInputs = [ freeglut libGLU libGL libXmu libXext libX11 libXi ];
+
preConfigure = ''cd src'';
+
installPhase = ''
mkdir -p "$out"/{bin,lib,share/glui/doc,include}
cp -rT bin "$out/bin"
@@ -11,14 +30,11 @@ stdenv.mkDerivation {
cp -rT doc "$out/share/glui/doc"
cp LICENSE.txt "$out/share/glui/doc"
'';
- src = fetchurl {
- url = "mirror://sourceforge/project/glui/Source/2.36/glui-2.36.tgz";
- sha256 = "11r7f0k5jlbl825ibhm5c6bck0fn1hbliya9x1f253ikry1mxvy1";
- };
- meta = {
+
+ meta = with stdenv.lib; {
description = ''A user interface library using OpenGL'';
- license = stdenv.lib.licenses.zlib ;
- maintainers = [stdenv.lib.maintainers.raskin];
- platforms = stdenv.lib.platforms.linux;
+ license = licenses.zlib ;
+ maintainers = [ maintainers.raskin ];
+ platforms = platforms.linux;
};
}
diff --git a/pkgs/development/libraries/gmime/3.nix b/pkgs/development/libraries/gmime/3.nix
index 81546e5c1272fee8fa2114ddac95b4551d62bf79..754d5aa741144f8f31a56db56df83d1577098254 100644
--- a/pkgs/development/libraries/gmime/3.nix
+++ b/pkgs/development/libraries/gmime/3.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, pkgconfig, glib, zlib, gnupg, gpgme, libidn2, libunistring, gobject-introspection }:
stdenv.mkDerivation rec {
- version = "3.2.3";
+ version = "3.2.5";
pname = "gmime";
src = fetchurl {
url = "mirror://gnome/sources/gmime/3.2/${pname}-${version}.tar.xz";
- sha256 = "04bk7rqs5slpvlvqf11i6s37s8b2xn6acls8smyl9asjnpp7a23a";
+ sha256 = "0ndsg1z1kq4w4caascydvialpyn4rfbjdn7xclzbzhw53x85cxgv";
};
outputs = [ "out" "dev" ];
diff --git a/pkgs/development/libraries/gstreamer/bad/default.nix b/pkgs/development/libraries/gstreamer/bad/default.nix
index 735ab4e6e18e20e836113131e8b9c1026cb5d237..22815c956472e0da9a17cc6e3e020b7600ea7930 100644
--- a/pkgs/development/libraries/gstreamer/bad/default.nix
+++ b/pkgs/development/libraries/gstreamer/bad/default.nix
@@ -1,16 +1,40 @@
-{ stdenv, fetchurl, fetchpatch, meson, ninja, gettext
+{ stdenv
+, fetchurl
+, meson
+, ninja
+, gettext
, config
-, pkgconfig, python3, gst-plugins-base, orc
+, pkgconfig
+, python3
+, gst-plugins-base
+, orc
, gobject-introspection
, enableZbar ? true
-, faacSupport ? false, faac ? null
-, faad2, libass, libkate, libmms, librdf, ladspaH
-, libnice, webrtc-audio-processing, lilv, lv2, serd, sord, sratom
-, libbs2b, libmodplug, mpeg2dec
-, openjpeg, libopus, librsvg
+, faacSupport ? false
+, faac ? null
+, faad2
+, libass
+, libkate
+, libmms
+, librdf
+, ladspaH
+, libnice
+, webrtc-audio-processing
+, lilv
+, lv2
+, serd
+, sord
+, sratom
+, libbs2b
+, libmodplug
+, mpeg2dec
+, openjpeg
+, libopus
+, librsvg
, bluez
, chromaprint
, curl
+, darwin
, directfb
, fdk_aac
, flite
@@ -27,7 +51,7 @@
, libusb1
, neon
, openal
-, opencv3
+, opencv4
, openexr
, openh264
, pango
@@ -38,10 +62,21 @@
, srtp
, zbar
, wayland-protocols
-, wildmidi, fluidsynth, libvdpau, wayland
-, libwebp, xvidcore, gnutls, mjpegtools
-, libGLU_combined, libintl, libgme
-, openssl, x265, libxml2
+, wildmidi
+, fluidsynth
+, libvdpau
+, wayland
+, libwebp
+, xvidcore
+, gnutls
+, mjpegtools
+, libGLU
+, libGL
+, libintl
+, libgme
+, openssl
+, x265
+, libxml2
, srt
}:
@@ -49,113 +84,128 @@ assert faacSupport -> faac != null;
let
inherit (stdenv.lib) optional optionals;
-in
-stdenv.mkDerivation rec {
+in stdenv.mkDerivation rec {
pname = "gst-plugins-bad";
- version = "1.16.0";
+ version = "1.16.1";
- meta = with stdenv.lib; {
- description = "Gstreamer Bad Plugins";
- homepage = "https://gstreamer.freedesktop.org";
- longDescription = ''
- a set of plug-ins that aren't up to par compared to the
- rest. They might be close to being good quality, but they're missing
- something - be it a good code review, some documentation, a set of tests,
- a real live maintainer, or some actual wide use.
- '';
- license = licenses.lgpl2Plus;
- platforms = platforms.linux ++ platforms.darwin;
- maintainers = with maintainers; [ matthewbauer ];
- };
+ outputs = [ "out" "dev" ];
- preConfigure = ''
- patchShebangs .
- '';
+ src = fetchurl {
+ url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
+ sha256 = "1dddqacxgp77f3nl153x5a6139wdphc9phds2fpqb2cv6faiqj2n";
+ };
patches = [
./fix_pkgconfig_includedir.patch
- # Remove when https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/312 is merged and available to us
- (fetchpatch {
- url = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/commit/99790eaad9083cce5ab2b1646489e1a1c0faad1e.patch";
- sha256 = "11bqy4sl05qq5mj4bx5s09rq106s3j0vnpjl4np058im32j69lr3";
- })
- # Remove when https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/312 is merged and available to us
- (fetchpatch {
- url = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/commit/1872da81c48d3a719bd39955fd97deac7d037d74.patch";
- sha256 = "11zwrr5ggflmvr0qfssj7dmhgd3ybiadmy79b4zh24022zgw3xpz";
- })
];
- src = fetchurl {
- url = "${meta.homepage}/src/gst-plugins-bad/${pname}-${version}.tar.xz";
- sha256 = "019b0yqjrcg6jmfd4cc336h1bz5p4wxl58yz1c4sdb96avirs4r2";
- };
-
- outputs = [ "out" "dev" ];
-
nativeBuildInputs = [
- meson ninja pkgconfig python3 gettext gobject-introspection
- ]
- ++ optionals stdenv.isLinux [
+ meson
+ ninja
+ pkgconfig
+ python3
+ gettext
+ gobject-introspection
+ ] ++ optionals stdenv.isLinux [
wayland-protocols
];
buildInputs = [
- gst-plugins-base orc
- faad2 libass libkate libmms
- libnice webrtc-audio-processing # webrtc
+ gst-plugins-base
+ orc
+ faad2
+ libass
+ libkate
+ libmms
+ webrtc-audio-processing # webrtc
libbs2b
- ladspaH librdf # ladspa plug-in
- lilv lv2 serd sord sratom # lv2 plug-in
- libmodplug mpeg2dec
- openjpeg libopus librsvg
- bluez
- chromaprint
+ libmodplug
+ mpeg2dec
+ openjpeg
+ libopus
+ librsvg
curl.dev
- directfb
fdk_aac
- flite
gsm
libaom
libdc1394
libde265
- libdrm
libdvdnav
libdvdread
- libgudev
- libofa
libsndfile
libusb1
+ mjpegtools
neon
openal
- opencv3
+ opencv4
openexr
openh264
rtmpdump
pango
- sbc
soundtouch
- spandsp
srtp
- fluidsynth libvdpau
- libwebp xvidcore gnutls libGLU_combined
- libgme openssl x265 libxml2
+ fluidsynth
+ libvdpau
+ libwebp
+ xvidcore
+ gnutls
+ libGL
+ libGLU
+ libgme
+ openssl
+ x265
+ libxml2
libintl
srt
- ]
- ++ optional enableZbar zbar
- ++ optional faacSupport faac
- ++ optional stdenv.isLinux wayland
+ ] ++ optionals enableZbar [
+ zbar
+ ] ++ optionals faacSupport [
+ faac
+ ] ++ optionals stdenv.isLinux [
+ bluez
+ wayland
+ ] ++ optionals (!stdenv.isDarwin) [
# wildmidi requires apple's OpenAL
# TODO: package apple's OpenAL, fix wildmidi, include on Darwin
- ++ optional (!stdenv.isDarwin) wildmidi
+ wildmidi
# TODO: mjpegtools uint64_t is not compatible with guint64 on Darwin
- ++ optional (!stdenv.isDarwin) mjpegtools;
+ mjpegtools
- mesonFlags = [
- # Enables all features, so that we know when new dependencies are necessary.
- "-Dauto_features=enabled"
+ chromaprint
+ directfb
+ flite
+ libdrm
+ libgudev
+ libnice
+ libofa
+ librdf
+ sbc
+ spandsp
+
+ # ladspa plug-in
+ ladspaH
+ librdf # TODO: make build on Darwin
+ # lv2 plug-in
+ lilv
+ lv2
+ serd
+ sord
+ sratom
+ ] ++ optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
+ # For unknown reasons the order is important, e.g. if
+ # VideoToolbox is last, we get:
+ # fatal error: 'VideoToolbox/VideoToolbox.h' file not found
+ VideoToolbox
+ AudioToolbox
+ AVFoundation
+ CoreMedia
+ CoreVideo
+ Foundation
+ MediaToolbox
+ ]);
+
+ mesonFlags = [
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users
"-Ddts=disabled" # required `libdca` library not packaged in nixpkgs as of writing, and marked as "BIG FAT WARNING: libdca is still in early development"
@@ -191,10 +241,50 @@ stdenv.mkDerivation rec {
# see https://github.com/NixOS/nixpkgs/issues/54395
"-Dnvdec=disabled"
"-Dnvenc=disabled"
+ ]
+ ++ optionals stdenv.isDarwin [
+ "-Dbluez=disabled"
+ "-Dchromaprint=disabled"
+ "-Ddirectfb=disabled"
+ "-Dflite=disabled"
+ "-Dkms=disabled" # renders to libdrm output
+ "-Dofa=disabled"
+ "-Dlv2=disabled"
+ "-Dsbc=disabled"
+ "-Dspandsp=disabled"
+ "-Ddvb=disabled"
+ "-Dfbdev=disabled"
+ "-Duvch264=disabled" # requires gudev
+ "-Dladspa=disabled" # requires lrdf
+ "-Dwebrtc=disabled" # requires libnice, which as of writing doesn't work on Darwin in nixpkgs
+ "-Dwildmidi=disabled" # see dependencies above
+ ] ++ optionals (!gst-plugins-base.glEnabled) [
+ "-Dgl=disabled"]
+ ++ optionals (!gst-plugins-base.waylandEnabled) [
+ "-Dwayland=disabled"
+ ] ++ optionals (!gst-plugins-base.glEnabled) [
+ # `applemedia/videotexturecache.h` requires `gst/gl/gl.h`,
+ # but its meson build system does not declare the dependency.
+ "-Dapplemedia=disabled"
];
- enableParallelBuilding = true;
+ # This package has some `_("string literal")` string formats
+ # that trip up clang with format security enabled.
+ hardeningDisable = [ "format" ];
doCheck = false; # fails 20 out of 58 tests, expensive
+ meta = with stdenv.lib; {
+ description = "GStreamer Bad Plugins";
+ homepage = "https://gstreamer.freedesktop.org";
+ longDescription = ''
+ a set of plug-ins that aren't up to par compared to the
+ rest. They might be close to being good quality, but they're missing
+ something - be it a good code review, some documentation, a set of tests,
+ a real live maintainer, or some actual wide use.
+ '';
+ license = licenses.lgpl2Plus;
+ platforms = platforms.linux ++ platforms.darwin;
+ maintainers = with maintainers; [ matthewbauer ];
+ };
}
diff --git a/pkgs/development/libraries/gstreamer/base/default.nix b/pkgs/development/libraries/gstreamer/base/default.nix
index 81d914581321ff874dbfc29818d43a2813031518..d38199cf7873ec233c3fca30598f07d352a214e8 100644
--- a/pkgs/development/libraries/gstreamer/base/default.nix
+++ b/pkgs/development/libraries/gstreamer/base/default.nix
@@ -1,100 +1,153 @@
-{ stdenv, fetchurl, fetchpatch, lib
-, pkgconfig, meson, ninja, gettext, gobject-introspection
-, python3, gstreamer, orc, pango, libtheora
-, libintl, libopus
+{ stdenv
+, fetchurl
+, lib
+, pkgconfig
+, meson
+, ninja
+, gettext
+, gobject-introspection
+, python3
+, gstreamer
+, orc
+, pango
+, libtheora
+, libintl
+, libopus
, isocodes
, libjpeg
+, libpng
, libvisual
, tremor # provides 'virbisidec'
, libGL
-, gtk-doc, docbook_xsl, docbook_xml_dtd_412
-, enableX11 ? stdenv.isLinux, libXv
-, enableWayland ? stdenv.isLinux, wayland
-, enableAlsa ? stdenv.isLinux, alsaLib
-, enableCocoa ? false, darwin
-, enableCdparanoia ? (!stdenv.isDarwin), cdparanoia }:
+, gtk-doc
+, docbook_xsl
+, docbook_xml_dtd_43
+, enableX11 ? stdenv.isLinux
+, libXv
+, enableWayland ? stdenv.isLinux
+, wayland
+, enableAlsa ? stdenv.isLinux
+, alsaLib
+# Enabling Cocoa seems to currently not work, giving compile
+# errors. Suspected is that a newer version than clang
+# is needed than 5.0 but it is not clear.
+, enableCocoa ? false
+, darwin
+, enableGl ? (enableX11 || enableWayland || enableCocoa)
+, enableCdparanoia ? (!stdenv.isDarwin)
+, cdparanoia
+}:
stdenv.mkDerivation rec {
pname = "gst-plugins-base";
- version = "1.16.0";
+ version = "1.16.1";
- meta = with lib; {
- description = "Base plugins and helper libraries";
- homepage = https://gstreamer.freedesktop.org;
- license = licenses.lgpl2Plus;
- platforms = platforms.unix;
- maintainers = with maintainers; [ matthewbauer ];
- };
+ outputs = [ "out" "dev" ];
src = fetchurl {
- url = "${meta.homepage}/src/gst-plugins-base/${pname}-${version}.tar.xz";
- sha256 = "1bmmdwbyy89ayb85xc48y217f6wdmpz96f30zm6v53z2a5xsm4s0";
+ url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
+ sha256 = "0aybbwnzm15074smdk2bamj3ssck3hjvmilvgh49f19xjf4w8g2w";
};
- outputs = [ "out" "dev" ];
+ patches = [
+ ./fix_pkgconfig_includedir.patch
+ ];
nativeBuildInputs = [
- pkgconfig python3 gettext gobject-introspection
+ meson
+ ninja
+ pkgconfig
+ python3
+ gettext
+ gobject-introspection
+
+ # docs
gtk-doc
- # Without these, enabling the 'gtk_doc' gives us `FAILED: meson-install`
- docbook_xsl docbook_xml_dtd_412
- ]
- # Broken meson with Darwin. Should hopefully be fixed soon. Tracking
- # in https://bugzilla.gnome.org/show_bug.cgi?id=781148.
- ++ lib.optionals (!stdenv.isDarwin) [ meson ninja ];
+ docbook_xsl
+ docbook_xml_dtd_43
+ ];
- # On Darwin, we currently use autoconf, on all other systems Meson
- # TODO Switch to Meson on Darwin as well
+ buildInputs = [
+ orc
+ libtheora
+ libintl
+ libopus
+ isocodes
+ libpng
+ libjpeg
+ tremor
+ libGL
+ ] ++ lib.optional (!stdenv.isDarwin) [
+ libvisual
+ ] ++ lib.optionals stdenv.isDarwin [
+ pango
+ darwin.apple_sdk.frameworks.OpenGL
+ ] ++ lib.optional enableAlsa alsaLib
+ ++ lib.optionals enableX11 [ libXv pango ]
+ ++ lib.optional enableWayland wayland
+ ++ lib.optional enableCocoa darwin.apple_sdk.frameworks.Cocoa
+ ++ lib.optional enableCdparanoia cdparanoia;
- # TODO How to pass these to Meson?
- configureFlags = lib.optionals stdenv.isDarwin [
- "--enable-x11=${if enableX11 then "yes" else "no"}"
- "--enable-wayland=${if enableWayland then "yes" else "no"}"
- "--enable-cocoa=${if enableCocoa then "yes" else "no"}"
- ]
- # Introspection fails on my MacBook currently
- ++ lib.optional stdenv.isDarwin "--disable-introspection";
+ propagatedBuildInputs = [
+ gstreamer
+ ];
- mesonFlags = lib.optionals (!stdenv.isDarwin) [
- # Enables all features, so that we know when new dependencies are necessary.
- "-Dauto_features=enabled"
+ mesonFlags = [
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users
"-Dgl-graphene=disabled" # not packaged in nixpkgs as of writing
+ "-Dgl_platform=[${lib.optionalString (enableX11 || enableWayland || enableCocoa) "auto"}]"
# See https://github.com/GStreamer/gst-plugins-base/blob/d64a4b7a69c3462851ff4dcfa97cc6f94cd64aef/meson_options.txt#L15 for a list of choices
"-Dgl_winsys=[${lib.concatStringsSep "," (lib.optional enableX11 "x11" ++ lib.optional enableWayland "wayland" ++ lib.optional enableCocoa "cocoa")}]"
# We must currently disable gtk_doc API docs generation,
# because it is not compatible with some features being disabled.
# See for example
- # https://gitlab.gnome.org/GNOME/gnome-build-meta/issues/38
+ # https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/564
# for it failing because some Wayland symbols are missing.
# This problem appeared between 1.15.1 and 1.16.0.
+ # In 1.18 they should switch to hotdoc, which should make this issue irrelevant.
"-Dgtk_doc=disabled"
]
++ lib.optional (!enableX11) "-Dx11=disabled"
# TODO How to disable Wayland?
+ ++ lib.optional (!enableGl) "-Dgl=disabled"
++ lib.optional (!enableAlsa) "-Dalsa=disabled"
++ lib.optional (!enableCdparanoia) "-Dcdparanoia=disabled"
- ;
-
- buildInputs = [ orc libtheora libintl libopus isocodes libjpeg tremor libGL ]
- ++ lib.optional (!stdenv.isDarwin) libvisual
- ++ lib.optional enableAlsa alsaLib
- ++ lib.optionals enableX11 [ libXv pango ]
- ++ lib.optional enableWayland wayland
- ++ lib.optional enableCocoa darwin.apple_sdk.frameworks.Cocoa
- ++ lib.optional enableCdparanoia cdparanoia;
-
- propagatedBuildInputs = [ gstreamer ];
+ ++ lib.optionals stdenv.isDarwin [
+ "-Dlibvisual=disabled"
+ ];
postPatch = ''
- patchShebangs .
+ patchShebangs common/scangobj-merge.py
'';
- enableParallelBuilding = true;
+ # This package has some `_("string literal")` string formats
+ # that trip up clang with format security enabled.
+ hardeningDisable = [ "format" ];
doCheck = false; # fails, wants DRI access for OpenGL
- patches = [
- ./fix_pkgconfig_includedir.patch
- ];
+ passthru = {
+ # Downstream `gst-*` packages depending on `gst-plugins-base`
+ # have meson build options like 'gl' etc. that depend
+ # on these features being built in `-base`.
+ # If they are not built here, then the downstream builds
+ # will fail, as they, too, use `-Dauto_features=enabled`
+ # which would enable these options unconditionally.
+ # That means we must communicate to these downstream packages
+ # if the `-base` enabled these options or not, so that
+ # the can enable/disable those features accordingly.
+ # The naming `*Enabled` vs `enable*` is intentional to
+ # distinguish inputs from outputs (what is to be built
+ # vs what was built) and to make them easier to search for.
+ glEnabled = enableGl;
+ waylandEnabled = enableWayland;
+ };
+
+ meta = with lib; {
+ description = "Base GStreamer plug-ins and helper libraries";
+ homepage = "https://gstreamer.freedesktop.org";
+ license = licenses.lgpl2Plus;
+ platforms = platforms.unix;
+ maintainers = with maintainers; [ matthewbauer ];
+ };
}
diff --git a/pkgs/development/libraries/gstreamer/core/default.nix b/pkgs/development/libraries/gstreamer/core/default.nix
index f0f01a977fd11cd6263698604768e446539e7bf7..bbef017831236f672917b6e23bf1233445dbe212 100644
--- a/pkgs/development/libraries/gstreamer/core/default.nix
+++ b/pkgs/development/libraries/gstreamer/core/default.nix
@@ -1,10 +1,23 @@
-{ stdenv, fetchurl, fetchpatch, meson, ninja
-, pkgconfig, gettext, gobject-introspection
-, bison, flex, python3, glib, makeWrapper
-, libcap,libunwind, darwin
+{ stdenv
+, fetchurl
+, fetchpatch
+, meson
+, ninja
+, pkgconfig
+, gettext
+, gobject-introspection
+, bison
+, flex
+, python3
+, glib
+, makeWrapper
+, libcap
+, libunwind
+, darwin
, elfutils # for libdw
, bash-completion
-, docbook_xsl, docbook_xml_dtd_412
+, docbook_xsl
+, docbook_xml_dtd_43
, gtk-doc
, lib
, CoreServices
@@ -12,50 +25,66 @@
stdenv.mkDerivation rec {
pname = "gstreamer";
- version = "1.16.0";
+ version = "1.16.1";
- meta = with lib ;{
- description = "Open source multimedia framework";
- homepage = https://gstreamer.freedesktop.org;
- license = licenses.lgpl2Plus;
- platforms = platforms.unix;
- maintainers = with maintainers; [ ttuegel matthewbauer ];
- };
+ outputs = [ "out" "dev" "devdoc" ];
+ outputBin = "dev";
src = fetchurl {
- url = "${meta.homepage}/src/gstreamer/${pname}-${version}.tar.xz";
- sha256 = "003wy1p1in85p9sr5jsyhbnwqaiwz069flwkhyx7qhxy31qjz3hf";
+ url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
+ sha256 = "0z9pyhf6zm1r0spw6zym80bvbyx6h8xg9h6535csbnn48ws1q882";
};
patches = [
./fix_pkgconfig_includedir.patch
];
- outputs = [ "out" "dev" ];
- outputBin = "dev";
-
nativeBuildInputs = [
- meson ninja pkgconfig gettext bison flex python3 makeWrapper gobject-introspection
+ meson
+ ninja
+ pkgconfig
+ gettext
+ bison
+ flex
+ python3
+ makeWrapper
+ gobject-introspection
bash-completion
+
+ # documentation
gtk-doc
- # Without these, enabling the 'gtk_doc' gives us `FAILED: meson-install`
- docbook_xsl docbook_xml_dtd_412
+ docbook_xsl
+ docbook_xml_dtd_43
];
- buildInputs =
- lib.optionals stdenv.isLinux [ libcap libunwind elfutils ]
- ++ lib.optional stdenv.isDarwin CoreServices;
+ buildInputs = lib.optionals stdenv.isLinux [
+ libcap
+ libunwind
+ elfutils
+ ] ++ lib.optionals stdenv.isDarwin [
+ CoreServices
+ ];
- propagatedBuildInputs = [ glib ];
+ propagatedBuildInputs = [
+ glib
+ ];
mesonFlags = [
- # Enables all features, so that we know when new dependencies are necessary.
- "-Dauto_features=enabled"
"-Ddbghelp=disabled" # not needed as we already provide libunwind and libdw, and dbghelp is a fallback to those
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users
- ]
+ ] ++ lib.optionals stdenv.isDarwin [
# darwin.libunwind doesn't have pkgconfig definitions so meson doesn't detect it.
- ++ stdenv.lib.optionals stdenv.isDarwin [ "-Dlibunwind=disabled" "-Dlibdw=disabled" ];
+ "-Dlibunwind=disabled"
+ "-Dlibdw=disabled"
+ ];
+
+ postPatch = ''
+ patchShebangs \
+ gst/parse/get_flex_version.py \
+ gst/parse/gen_grammar.py.in \
+ gst/parse/gen_lex.py.in \
+ libs/gst/helpers/ptp_helper_post_install.sh
+ '';
postInstall = ''
for prog in "$dev/bin/"*; do
@@ -64,21 +93,17 @@ stdenv.mkDerivation rec {
done
'';
- preConfigure=
- # These files are not executable upstream, so we need to
- # make them executable for `patchShebangs` to pick them up.
- # Can be removed when this is merged and available:
- # https://gitlab.freedesktop.org/gstreamer/gstreamer/merge_requests/141
- ''
- chmod +x gst/parse/get_flex_version.py
- '' +
- ''
- patchShebangs .
- '';
-
preFixup = ''
moveToOutput "share/bash-completion" "$dev"
'';
setupHook = ./setup-hook.sh;
+
+ meta = with lib ;{
+ description = "Open source multimedia framework";
+ homepage = "https://gstreamer.freedesktop.org";
+ license = licenses.lgpl2Plus;
+ platforms = platforms.unix;
+ maintainers = with maintainers; [ ttuegel matthewbauer ];
+ };
}
diff --git a/pkgs/development/libraries/gstreamer/ges/default.nix b/pkgs/development/libraries/gstreamer/ges/default.nix
index 810cee650ca89617566bd0811910fb862096c96a..d62af71d3aea0159fbf7196cde6fffd4c36911c3 100644
--- a/pkgs/development/libraries/gstreamer/ges/default.nix
+++ b/pkgs/development/libraries/gstreamer/ges/default.nix
@@ -1,39 +1,66 @@
-{ stdenv, fetchurl, fetchpatch, meson, ninja
-, pkgconfig, python, gst-plugins-base, libxml2
-, flex, perl, gettext, gobject-introspection
+{ stdenv
+, fetchurl
+, fetchpatch
+, meson
+, ninja
+, pkgconfig
+, python
+, gst-plugins-base
+, libxml2
+, flex
+, perl
+, gettext
+, gobject-introspection
}:
stdenv.mkDerivation rec {
pname = "gstreamer-editing-services";
- version = "1.16.0";
+ version = "1.16.1";
- meta = with stdenv.lib; {
- description = "Library for creation of audio/video non-linear editors";
- homepage = "https://gstreamer.freedesktop.org";
- license = licenses.lgpl2Plus;
- platforms = platforms.unix;
- };
+ outputs = [ "out" "dev" ];
src = fetchurl {
- url = "${meta.homepage}/src/gstreamer-editing-services/${pname}-${version}.tar.xz";
- sha256 = "1las94jkx83sxmzi5w6b0xm89dqqwzpdsb6h9w9ixndhnbpzm8w2";
+ url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
+ sha256 = "10375z5mc3bwfs07mhmfx943sbp55z8m8ihp9xpcknkdks7qg168";
};
- outputs = [ "out" "dev" ];
+ patches = [
+ ./fix_pkgconfig_includedir.patch
+ ];
+
+ nativeBuildInputs = [
+ meson
+ ninja
+ pkgconfig
+ gettext
+ gobject-introspection
+ python
+ flex
+ perl
+ ];
- nativeBuildInputs = [ meson ninja pkgconfig gettext gobject-introspection python flex perl ];
+ buildInputs = [
+ libxml2
+ ];
- propagatedBuildInputs = [ gst-plugins-base libxml2 ];
+ propagatedBuildInputs = [
+ gst-plugins-base
+ ];
mesonFlags = [
"-Dgtk_doc=disabled"
];
- patches = [
- ./fix_pkgconfig_includedir.patch
- ];
-
postPatch = ''
+ # for some reason, gst-plugins-bad cannot be found
+ # fortunately, they are only used by tests, which we do not run
sed -i -r -e 's/p(bad|good) = .*/p\1 = pbase/' tests/check/meson.build
'';
+
+ meta = with stdenv.lib; {
+ description = "Library for creation of audio/video non-linear editors";
+ homepage = "https://gstreamer.freedesktop.org";
+ license = licenses.lgpl2Plus;
+ platforms = platforms.unix;
+ };
}
diff --git a/pkgs/development/libraries/gstreamer/good/default.nix b/pkgs/development/libraries/gstreamer/good/default.nix
index c801684b0659a45eeb2d867db8017f180dacc601..9fa94a02f88ad0d79a2114d3006771bdf81b46f3 100644
--- a/pkgs/development/libraries/gstreamer/good/default.nix
+++ b/pkgs/development/libraries/gstreamer/good/default.nix
@@ -1,14 +1,37 @@
-{ stdenv, fetchurl, meson, ninja, pkgconfig, python
-, gst-plugins-base, orc, bzip2, gettext
-, libv4l, libdv, libavc1394, libiec61883
-, libvpx, speex, flac, taglib, libshout
-, cairo, gdk-pixbuf, aalib, libcaca
-, libsoup, libpulseaudio, libintl
-, darwin, lame, mpg123, twolame
+{ stdenv
+, fetchurl
+, meson
+, ninja
+, pkgconfig
+, python
+, gst-plugins-base
+, orc
+, bzip2
+, gettext
+, libv4l
+, libdv
+, libavc1394
+, libiec61883
+, libvpx
+, speex
+, flac
+, taglib
+, libshout
+, cairo
+, gdk-pixbuf
+, aalib
+, libcaca
+, libsoup
+, libpulseaudio
+, libintl
+, darwin
+, lame
+, mpg123
+, twolame
, gtkSupport ? false, gtk3 ? null
-# As of writing, jack2 incurs a Qt dependency (big!) via `ffado`.
-# In the fuure we should probably split `ffado`.
-, enableJack ? false
+ # As of writing, jack2 incurs a Qt dependency (big!) via `ffado`.
+ # In the future we should probably split `ffado`.
+, enableJack ? false, jack2
, libXdamage
, libXext
, libXfixes
@@ -16,49 +39,53 @@
, xorg
, libgudev
, wavpack
-, jack2
}:
assert gtkSupport -> gtk3 != null;
let
- inherit (stdenv.lib) optional optionals;
+ inherit (stdenv.lib) optionals;
in
stdenv.mkDerivation rec {
pname = "gst-plugins-good";
- version = "1.16.0";
+ version = "1.16.1";
- meta = with stdenv.lib; {
- description = "Gstreamer Good Plugins";
- homepage = "https://gstreamer.freedesktop.org";
- longDescription = ''
- a set of plug-ins that we consider to have good quality code,
- correct functionality, our preferred license (LGPL for the plug-in
- code, LGPL or LGPL-compatible for the supporting library).
- '';
- license = licenses.lgpl2Plus;
- platforms = platforms.linux ++ platforms.darwin;
- maintainers = with maintainers; [ matthewbauer ];
- };
+ outputs = [ "out" "dev" ];
src = fetchurl {
- url = "${meta.homepage}/src/gst-plugins-good/${pname}-${version}.tar.xz";
- sha256 = "1zdhif1mhf0ihkjpjyrh65g2iz2cawkjjb3h5w8h9ml06grxwjk5";
+ url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
+ sha256 = "07wgz9anf4ram2snp8n1wv6l0q3pd00iaw8bvw3wgklg05lvxflz";
};
- outputs = [ "out" "dev" ];
-
patches = [ ./fix_pkgconfig_includedir.patch ];
- nativeBuildInputs = [ pkgconfig python meson ninja gettext ];
-
- NIX_LDFLAGS = "-lncurses";
+ nativeBuildInputs = [
+ pkgconfig
+ python
+ meson
+ ninja
+ gettext
+ ];
buildInputs = [
- gst-plugins-base orc bzip2
- libdv libvpx speex flac taglib
- cairo gdk-pixbuf aalib libcaca
- libsoup libshout lame mpg123 twolame libintl
+ gst-plugins-base
+ orc
+ bzip2
+ libdv
+ libvpx
+ speex
+ flac
+ taglib
+ cairo
+ gdk-pixbuf
+ aalib
+ libcaca
+ libsoup
+ libshout
+ lame
+ mpg123
+ twolame
+ libintl
libXdamage
libXext
libXfixes
@@ -66,29 +93,59 @@ stdenv.mkDerivation rec {
xorg.libXfixes
xorg.libXdamage
wavpack
- ]
- ++ optional gtkSupport gtk3 # for gtksink
- ++ optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Cocoa ]
- ++ optionals stdenv.isLinux [ libv4l libpulseaudio libavc1394 libiec61883 libgudev ]
- ++ optionals (stdenv.isLinux && enableJack) [
+ ] ++ optionals gtkSupport [
+ # for gtksink
+ gtk3
+ ] ++ optionals stdenv.isDarwin [
+ darwin.apple_sdk.frameworks.Cocoa
+ ] ++ optionals stdenv.isLinux [
+ libv4l
+ libpulseaudio
+ libavc1394
+ libiec61883
+ libgudev
+ ] ++ optionals (stdenv.isLinux && enableJack) [
jack2
];
mesonFlags = [
- # Enables all features, so that we know when new dependencies are necessary.
- "-Dauto_features=enabled"
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users
"-Dqt5=disabled" # not clear as of writing how to correctly pass in the required qt5 deps
- ]
- ++ optional (!gtkSupport) "-Dgtk3=disabled"
- ++ optionals (!stdenv.isLinux || !enableJack) [
+ ] ++ optionals (!gtkSupport) [
+ "-Dgtk3=disabled"
+ ] ++ optionals (!stdenv.isLinux || !enableJack) [
"-Djack=disabled" # unclear whether Jack works on Darwin
- ]
- ++ optionals (!stdenv.isLinux) [
- "-Dv4l2-gudev=disabled"
+ ] ++ optionals (!stdenv.isLinux) [
+ "-Ddv1394=disabled" # Linux only
+ "-Doss4=disabled" # Linux only
+ "-Doss=disabled" # Linux only
+ "-Dpulse=disabled" # TODO check if we can keep this enabled
+ "-Dv4l2-gudev=disabled" # Linux-only
+ "-Dv4l2=disabled" # Linux-only
+ "-Dximagesrc=disabled" # Linux-only
+ "-Dpulse=disabled" # TODO check if we can keep this enabled
+ ];
+
+
+ NIX_LDFLAGS = [
+ # linking error on Darwin
+ # https://github.com/NixOS/nixpkgs/pull/70690#issuecomment-553694896
+ "-lncurses"
];
# fails 1 tests with "Unexpected critical/warning: g_object_set_is_valid_property: object class 'GstRtpStorage' has no property named ''"
doCheck = false;
+ meta = with stdenv.lib; {
+ description = "GStreamer Good Plugins";
+ homepage = "https://gstreamer.freedesktop.org";
+ longDescription = ''
+ a set of plug-ins that we consider to have good quality code,
+ correct functionality, our preferred license (LGPL for the plug-in
+ code, LGPL or LGPL-compatible for the supporting library).
+ '';
+ license = licenses.lgpl2Plus;
+ platforms = platforms.linux ++ platforms.darwin;
+ maintainers = with maintainers; [ matthewbauer ];
+ };
}
diff --git a/pkgs/development/libraries/gstreamer/libav/default.nix b/pkgs/development/libraries/gstreamer/libav/default.nix
index 1847b8d0c12be8c0a7912f3484b97b20f4b3e25c..5319de255e7f53441345255d9ae49a111c7c46b6 100644
--- a/pkgs/development/libraries/gstreamer/libav/default.nix
+++ b/pkgs/development/libraries/gstreamer/libav/default.nix
@@ -1,43 +1,46 @@
-{ stdenv, fetchurl, meson, ninja, pkgconfig
-, python, yasm, gst-plugins-base, orc, bzip2
-, gettext, withSystemLibav ? true, libav ? null
+{ stdenv
+, lib
+, fetchurl
+, meson
+, ninja
+, pkgconfig
+, python3
+, gst-plugins-base
+, gettext
+, libav
}:
# Note that since gst-libav-1.6, libav is actually ffmpeg. See
# https://gstreamer.freedesktop.org/releases/1.6/ for more info.
-assert withSystemLibav -> libav != null;
-
stdenv.mkDerivation rec {
pname = "gst-libav";
- version = "1.16.0";
-
- meta = {
- homepage = https://gstreamer.freedesktop.org;
- license = stdenv.lib.licenses.lgpl2Plus;
- platforms = stdenv.lib.platforms.unix;
- };
+ version = "1.16.1";
src = fetchurl {
- url = "${meta.homepage}/src/gst-libav/${pname}-${version}.tar.xz";
- sha256 = "16ixqpfrr7plaaz14n3vagr2q5xbfkv7gpmcsyndrkx98f813b6z";
+ url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
+ sha256 = "1i31ra0l77cfahb6k5xpx45zwvpskzm848aijsbbx9x4x65799g8";
};
outputs = [ "out" "dev" ];
- nativeBuildInputs = with stdenv.lib;
- [ meson ninja gettext pkgconfig python ]
- ++ optional (!withSystemLibav) yasm
- ;
-
- buildInputs = with stdenv.lib;
- [ gst-plugins-base orc bzip2 ]
- ++ optional withSystemLibav libav
- ;
+ nativeBuildInputs = [
+ meson
+ ninja
+ gettext
+ pkgconfig
+ python3
+ ];
- mesonFlags = [
- # Enables all features, so that we know when new dependencies are necessary.
- "-Dauto_features=enabled"
+ buildInputs = [
+ gst-plugins-base
+ libav
];
+ meta = with lib; {
+ description = "FFmpeg/libav plugin for GStreamer";
+ homepage = "https://gstreamer.freedesktop.org";
+ license = licenses.lgpl2Plus;
+ platforms = platforms.unix;
+ };
}
diff --git a/pkgs/development/libraries/gstreamer/rtsp-server/default.nix b/pkgs/development/libraries/gstreamer/rtsp-server/default.nix
index 5c571fa4a1e74ed1c0d85eb51ef6e545d77b405b..e602a96291e26eb8e90fc24feb1c792ab19c39eb 100644
--- a/pkgs/development/libraries/gstreamer/rtsp-server/default.nix
+++ b/pkgs/development/libraries/gstreamer/rtsp-server/default.nix
@@ -1,38 +1,50 @@
-{ stdenv, fetchurl, meson, ninja, pkgconfig
-, gettext, gobject-introspection
+{ stdenv
+, fetchurl
+, meson
+, ninja
+, pkgconfig
+, gettext
+, gobject-introspection
, gst-plugins-base
, gst-plugins-bad
}:
stdenv.mkDerivation rec {
pname = "gst-rtsp-server";
- version = "1.16.0";
-
- meta = with stdenv.lib; {
- description = "Gstreamer RTSP server";
- homepage = "https://gstreamer.freedesktop.org";
- longDescription = ''
- a library on top of GStreamer for building an RTSP server.
- '';
- license = licenses.lgpl2Plus;
- platforms = platforms.linux ++ platforms.darwin;
- maintainers = with maintainers; [ bkchr ];
- };
+ version = "1.16.1";
src = fetchurl {
- url = "${meta.homepage}/src/gst-rtsp-server/${pname}-${version}.tar.xz";
- sha256 = "069zy159izy50blci9fli1i2r8jh91qkmgrz1n0xqciy3bn9x3hr";
+ url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
+ sha256 = "0i01f1nr0921z6z4nrh8icz76s2n7i228aqxg1ihvxl65ynsraxh";
};
outputs = [ "out" "dev" ];
- nativeBuildInputs = [ meson ninja gettext gobject-introspection pkgconfig ];
+ nativeBuildInputs = [
+ meson
+ ninja
+ gettext
+ gobject-introspection
+ pkgconfig
+ ];
- buildInputs = [ gst-plugins-base gst-plugins-bad ];
+ buildInputs = [
+ gst-plugins-base
+ gst-plugins-bad
+ ];
mesonFlags = [
- # Enables all features, so that we know when new dependencies are necessary.
- "-Dauto_features=enabled"
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users
];
+
+ meta = with stdenv.lib; {
+ description = "GStreamer RTSP server";
+ homepage = "https://gstreamer.freedesktop.org";
+ longDescription = ''
+ A library on top of GStreamer for building an RTSP server.
+ '';
+ license = licenses.lgpl2Plus;
+ platforms = platforms.unix;
+ maintainers = with maintainers; [ bkchr ];
+ };
}
diff --git a/pkgs/development/libraries/gstreamer/ugly/default.nix b/pkgs/development/libraries/gstreamer/ugly/default.nix
index 552ab1ec292188eaf99f6fd533819882941cb250..a117190a9e10e1a25335750ad415e852f88675d5 100644
--- a/pkgs/development/libraries/gstreamer/ugly/default.nix
+++ b/pkgs/development/libraries/gstreamer/ugly/default.nix
@@ -1,53 +1,76 @@
-{ stdenv, fetchurl, meson, ninja, pkgconfig, python
-, gst-plugins-base, orc, gettext
-, a52dec, libcdio, libdvdread
-, libmad, libmpeg2, x264, libintl, lib
+{ stdenv
+, fetchurl
+, meson
+, ninja
+, pkgconfig
+, python
+, gst-plugins-base
+, orc
+, gettext
+, a52dec
+, libcdio
+, libdvdread
+, libmad
+, libmpeg2
+, x264
+, libintl
+, lib
, opencore-amr
, darwin
}:
stdenv.mkDerivation rec {
pname = "gst-plugins-ugly";
- version = "1.16.0";
+ version = "1.16.1";
- meta = with lib; {
- description = "Gstreamer Ugly Plugins";
- homepage = "https://gstreamer.freedesktop.org";
- longDescription = ''
- a set of plug-ins that have good quality and correct functionality,
- but distributing them might pose problems. The license on either
- the plug-ins or the supporting libraries might not be how we'd
- like. The code might be widely known to present patent problems.
- '';
- license = licenses.lgpl2Plus;
- platforms = platforms.unix;
- maintainers = with maintainers; [ matthewbauer ];
- };
+ outputs = [ "out" "dev" ];
src = fetchurl {
- url = "${meta.homepage}/src/gst-plugins-ugly/${pname}-${version}.tar.xz";
- sha256 = "1hm46c1fy9vl1wfwipsj41zp79cm7in1fpmjw24j5hriy32n82g3";
+ url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
+ sha256 = "07cajqjs8pqchpf2sm87hljx4ibwvkiavqxmacxsr5airar17yab";
};
- outputs = [ "out" "dev" ];
-
- nativeBuildInputs = [ meson ninja gettext pkgconfig python ];
+ nativeBuildInputs = [
+ meson
+ ninja
+ gettext
+ pkgconfig
+ python
+ ];
buildInputs = [
- gst-plugins-base orc
- a52dec libcdio libdvdread
- libmad libmpeg2 x264
+ gst-plugins-base
+ orc
+ a52dec
+ libcdio
+ libdvdread
+ libmad
+ libmpeg2
+ x264
libintl
opencore-amr
- ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks;
- [ IOKit CoreFoundation DiskArbitration ]);
+ ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
+ IOKit
+ CoreFoundation
+ DiskArbitration
+ ]);
mesonFlags = [
- # Enables all features, so that we know when new dependencies are necessary.
- "-Dauto_features=enabled"
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users
"-Dsidplay=disabled" # sidplay / sidplay/player.h isn't packaged in nixpkgs as of writing
];
- NIX_LDFLAGS = [ "-lm" ];
+ meta = with lib; {
+ description = "Gstreamer Ugly Plugins";
+ homepage = "https://gstreamer.freedesktop.org";
+ longDescription = ''
+ a set of plug-ins that have good quality and correct functionality,
+ but distributing them might pose problems. The license on either
+ the plug-ins or the supporting libraries might not be how we'd
+ like. The code might be widely known to present patent problems.
+ '';
+ license = licenses.lgpl2Plus;
+ platforms = platforms.unix;
+ maintainers = with maintainers; [ matthewbauer ];
+ };
}
diff --git a/pkgs/development/libraries/gstreamer/vaapi/default.nix b/pkgs/development/libraries/gstreamer/vaapi/default.nix
index adb495689e33c1a89212d3fb2e1d611904aed2d1..0b47ef2244c677adc43bae248ef3cd5710c11527 100644
--- a/pkgs/development/libraries/gstreamer/vaapi/default.nix
+++ b/pkgs/development/libraries/gstreamer/vaapi/default.nix
@@ -1,49 +1,72 @@
-{ stdenv, fetchurl, meson, ninja, pkgconfig, gst-plugins-base, bzip2, libva, wayland
-, libdrm, udev, xorg, libGLU_combined, gstreamer, gst-plugins-bad, nasm
-, libvpx, python, fetchpatch
+{ stdenv
+, fetchurl
+, meson
+, ninja
+, pkgconfig
+, gst-plugins-base
+, bzip2
+, libva
+, wayland
+, libdrm
+, udev
+, xorg
+, libGLU
+, libGL
+, gstreamer
+, gst-plugins-bad
+, nasm
+, libvpx
+, python
}:
stdenv.mkDerivation rec {
- pname = "gst-vaapi";
- version = "1.16.0";
+ pname = "gstreamer-vaapi";
+ version = "1.16.1";
src = fetchurl {
- url = "${meta.homepage}/src/gstreamer-vaapi/gstreamer-vaapi-${version}.tar.xz";
- sha256 = "07qpynamiz0lniqajcaijh3n7ixs4lfk9a5mfk50sng0dricwzsf";
+ url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
+ sha256 = "0fk0nymvbfc04fv63fj2r6q9vvi431svhkrwpr7kdjvq3rphymyb";
};
- patches = [
- # See: https://mail.gnome.org/archives/distributor-list/2019-September/msg00000.html
- # Note that the patch has now been actually accepted upstream.
- (fetchpatch {
- url = "https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/commit/a90daabb84f983d2fa05ff3159f7ad59aa648b55.patch";
- sha256 = "0p2qygq6b5h6nxjdfnlzbsyih43hjq5c94ag8sbyyb8pmnids9rb";
- })
- ];
-
outputs = [ "out" "dev" ];
- nativeBuildInputs = [ meson ninja pkgconfig bzip2 ];
+ nativeBuildInputs = [
+ meson
+ ninja
+ pkgconfig
+ bzip2
+ ];
buildInputs = [
- gstreamer gst-plugins-base gst-plugins-bad libva wayland libdrm udev
- xorg.libX11 xorg.libXext xorg.libXv xorg.libXrandr xorg.libSM
- xorg.libICE libGLU_combined nasm libvpx python
+ gstreamer
+ gst-plugins-base
+ gst-plugins-bad
+ libva
+ wayland
+ libdrm
+ udev
+ xorg.libX11
+ xorg.libXext
+ xorg.libXv
+ xorg.libXrandr
+ xorg.libSM
+ xorg.libICE
+ libGL
+ libGLU
+ nasm
+ libvpx
+ python
];
- preConfigure = ''
- export GST_PLUGIN_PATH_1_0=$out/lib/gstreamer-1.0
- mkdir -p $GST_PLUGIN_PATH_1_0
- '';
-
mesonFlags = [
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users
];
- meta = {
- homepage = https://gstreamer.freedesktop.org;
- license = stdenv.lib.licenses.lgpl21Plus;
- platforms = stdenv.lib.platforms.linux;
- maintainers = with stdenv.lib.maintainers; [ tstrobel ];
+ meta = with stdenv.lib; {
+ description = "Set of VAAPI GStreamer Plug-ins";
+ homepage = "https://gstreamer.freedesktop.org";
+ license = licenses.lgpl21Plus;
+ maintainers = with maintainers; [ tstrobel ];
+ platforms = platforms.linux;
};
}
diff --git a/pkgs/development/libraries/gstreamer/validate/default.nix b/pkgs/development/libraries/gstreamer/validate/default.nix
index ad013d1570e1a9242f8cd2cd3ec370c19d976a3e..ad424641b811110d0ad711eb3ed5346444219e38 100644
--- a/pkgs/development/libraries/gstreamer/validate/default.nix
+++ b/pkgs/development/libraries/gstreamer/validate/default.nix
@@ -1,39 +1,43 @@
-{ stdenv, fetchurl, pkgconfig, gstreamer, gst-plugins-base
-, python, gobject-introspection, json-glib
+{ stdenv
+, fetchurl
+, pkgconfig
+, gstreamer
+, gst-plugins-base
+, python
+, gobject-introspection
+, json-glib
}:
stdenv.mkDerivation rec {
pname = "gst-validate";
- version = "1.16.0";
-
- meta = {
- description = "Integration testing infrastructure for the GStreamer framework";
- homepage = https://gstreamer.freedesktop.org;
- license = stdenv.lib.licenses.lgpl2Plus;
- platforms = stdenv.lib.platforms.unix;
- };
+ version = "1.16.1";
src = fetchurl {
- url = "${meta.homepage}/src/gst-validate/${pname}-${version}.tar.xz";
- sha256 = "1jfnd0g9hmdbqfxsx96yc9vpf1w6m33hqwrr6lj4i83kl54awcck";
+ url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
+ sha256 = "1698arvmpb0cvyi8ll1brvs51vs7i3f3fw19iswh8xhj5adrn1vz";
};
outputs = [ "out" "dev" ];
nativeBuildInputs = [
- pkgconfig gobject-introspection
+ pkgconfig
+ gobject-introspection
];
buildInputs = [
- python json-glib
+ python
+ json-glib
];
- propagatedBuildInputs = [ gstreamer gst-plugins-base ];
-
- enableParallelBuilding = true;
-
- mesonFlags = [
- # Enables all features, so that we know when new dependencies are necessary.
- "-Dauto_features=enabled"
+ propagatedBuildInputs = [
+ gstreamer
+ gst-plugins-base
];
+
+ meta = with stdenv.lib; {
+ description = "Integration testing infrastructure for the GStreamer framework";
+ homepage = "https://gstreamer.freedesktop.org";
+ license = licenses.lgpl2Plus;
+ platforms = platforms.unix;
+ };
}
diff --git a/pkgs/misc/themes/gtk2/gtk-engine-bluecurve/default.nix b/pkgs/development/libraries/gtk-engine-bluecurve/default.nix
similarity index 100%
rename from pkgs/misc/themes/gtk2/gtk-engine-bluecurve/default.nix
rename to pkgs/development/libraries/gtk-engine-bluecurve/default.nix
diff --git a/pkgs/misc/themes/gtk2/gtk-engine-murrine/default.nix b/pkgs/development/libraries/gtk-engine-murrine/default.nix
similarity index 100%
rename from pkgs/misc/themes/gtk2/gtk-engine-murrine/default.nix
rename to pkgs/development/libraries/gtk-engine-murrine/default.nix
diff --git a/pkgs/misc/themes/gtk2/gtk-engines/default.nix b/pkgs/development/libraries/gtk-engines/default.nix
similarity index 100%
rename from pkgs/misc/themes/gtk2/gtk-engines/default.nix
rename to pkgs/development/libraries/gtk-engines/default.nix
diff --git a/pkgs/development/libraries/gvfs/default.nix b/pkgs/development/libraries/gvfs/default.nix
index 181d5e4c1969b803f0ff4a360e6529e5a359f9e7..f8db6f573d93c90c39c26b19c2d8dd5fa364aacf 100644
--- a/pkgs/development/libraries/gvfs/default.nix
+++ b/pkgs/development/libraries/gvfs/default.nix
@@ -41,11 +41,11 @@
stdenv.mkDerivation rec {
pname = "gvfs";
- version = "1.42.1";
+ version = "1.42.2";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "0c3pqc8qc2pn08by43rkkmk725k3cqmw7qyhfqgng0qx98dhf1lx";
+ sha256 = "0jgrbid8a61hgh05wl8c4f4638x7dffd5vip02jmladxfdszjymm";
};
postPatch = ''
diff --git a/pkgs/development/libraries/intel-gmmlib/default.nix b/pkgs/development/libraries/intel-gmmlib/default.nix
index 6657409a70897f8f972bbaae6dbd3e740da46bba..6c872272e379f8f3eddabe16600b2295a140a251 100644
--- a/pkgs/development/libraries/intel-gmmlib/default.nix
+++ b/pkgs/development/libraries/intel-gmmlib/default.nix
@@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
pname = "intel-gmmlib";
- version = "19.3.2";
+ version = "19.3.4";
src = fetchFromGitHub {
owner = "intel";
repo = "gmmlib";
rev = "${pname}-${version}";
- sha256 = "04jmzyciswvfb31h9shkja9183bmm1clw0l0sn1flq76888nngma";
+ sha256 = "1vgh14vdmwr34l6rfzmbpsdwp4xi7qp8lg527p16pm7nv0bwx2zk";
};
nativeBuildInputs = [ cmake ];
diff --git a/pkgs/development/libraries/irrlicht/default.nix b/pkgs/development/libraries/irrlicht/default.nix
index 35ef14cbc1352138d4b2b78fe176217e5a095362..788772888c6d31acc4d475af076ad7fc2186b932 100644
--- a/pkgs/development/libraries/irrlicht/default.nix
+++ b/pkgs/development/libraries/irrlicht/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchzip, libGLU_combined, unzip, libXrandr, libX11, libXxf86vm }:
+{ stdenv, fetchzip, libGLU, libGL, unzip, libXrandr, libX11, libXxf86vm }:
stdenv.mkDerivation rec {
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
mkdir -p $out/lib
'';
- buildInputs = [ unzip libGLU_combined libXrandr libX11 libXxf86vm ];
+ buildInputs = [ unzip libGLU libGL libXrandr libX11 libXxf86vm ];
meta = {
homepage = http://irrlicht.sourceforge.net/;
diff --git a/pkgs/development/libraries/java/swt/default.nix b/pkgs/development/libraries/java/swt/default.nix
index a93d77742915fe0060e0e7c8b5072eed1107ae4f..6eb5a1f535530c0edca8460fb583e10dc20eec5e 100644
--- a/pkgs/development/libraries/java/swt/default.nix
+++ b/pkgs/development/libraries/java/swt/default.nix
@@ -1,5 +1,5 @@
{ stdenv, lib, fetchurl, unzip, jdk, pkgconfig, gtk2
-, libXt, libXtst, libXi, libGLU_combined, webkitgtk, libsoup, xorg
+, libXt, libXtst, libXi, libGLU, libGL, webkitgtk, libsoup, xorg
, pango, gdk-pixbuf, glib
}:
@@ -36,7 +36,7 @@ in stdenv.mkDerivation rec {
sourceRoot = ".";
nativeBuildInputs = [ unzip pkgconfig ];
- buildInputs = [ jdk gtk2 libXt libXtst libXi libGLU_combined webkitgtk libsoup ];
+ buildInputs = [ jdk gtk2 libXt libXtst libXi libGLU libGL webkitgtk libsoup ];
NIX_LFLAGS = (map (x: "-L${lib.getLib x}/lib") [ xorg.libX11 pango gdk-pixbuf glib ]) ++
[ "-lX11" "-lpango-1.0" "-lgdk_pixbuf-2.0" "-lglib-2.0" ];
diff --git a/pkgs/development/libraries/kde-frameworks/default.nix b/pkgs/development/libraries/kde-frameworks/default.nix
index aa9f95eebd3271f0f445e58ce9a03021f5ff371b..9e03965441ef60b079d4de46b90cba96dd39664d 100644
--- a/pkgs/development/libraries/kde-frameworks/default.nix
+++ b/pkgs/development/libraries/kde-frameworks/default.nix
@@ -42,13 +42,13 @@ let
propagate = out:
let setupHook = { writeScript }:
writeScript "setup-hook" ''
- if [ "${hookName:-}" != postHook ]; then
+ if [ "''${hookName:-}" != postHook ]; then
postHooks+=("source @dev@/nix-support/setup-hook")
else
# Propagate $dev so that this setup hook is propagated
# But only if there is a separate $dev output
if [ "''${outputDev:?}" != out ]; then
- propagatedBuildInputs="$propagatedBuildInputs @dev@"
+ propagatedBuildInputs="''${propagatedBuildInputs-} @dev@"
fi
fi
'';
diff --git a/pkgs/development/libraries/kde-frameworks/extra-cmake-modules/setup-hook.sh b/pkgs/development/libraries/kde-frameworks/extra-cmake-modules/setup-hook.sh
index 35982e86628442cbdbed353de8bce5695b97bc47..4135f6bfd7aa3cd3b11f26adeb725e6c913c09ae 100644
--- a/pkgs/development/libraries/kde-frameworks/extra-cmake-modules/setup-hook.sh
+++ b/pkgs/development/libraries/kde-frameworks/extra-cmake-modules/setup-hook.sh
@@ -42,12 +42,12 @@ ecmPostHook() {
cmakeFlags+=" -DKDE_INSTALL_CONFDIR=${!outputBin}/etc/xdg"
cmakeFlags+=" -DKDE_INSTALL_AUTOSTARTDIR=${!outputBin}/etc/xdg/autostart"
- if [ -n "$qtPluginPrefix" ]; then
+ if [ -n "${qtPluginPrefix-}" ]; then
cmakeFlags+=" -DKDE_INSTALL_QTPLUGINDIR=${!outputBin}/$qtPluginPrefix"
cmakeFlags+=" -DKDE_INSTALL_PLUGINDIR=${!outputBin}/$qtPluginPrefix"
fi
- if [ -n "$qtQmlPrefix" ]; then
+ if [ -n "${qtQmlPrefix-}" ]; then
cmakeFlags+=" -DKDE_INSTALL_QMLDIR=${!outputBin}/$qtQmlPrefix"
fi
}
diff --git a/pkgs/development/libraries/kde-frameworks/kio/default.nix b/pkgs/development/libraries/kde-frameworks/kio/default.nix
index 6cf89669df0152eaefd0907da833545ae473ac2a..fee21a6a9235357e14548cee6d43a8ed7c9e6b99 100644
--- a/pkgs/development/libraries/kde-frameworks/kio/default.nix
+++ b/pkgs/development/libraries/kde-frameworks/kio/default.nix
@@ -20,5 +20,6 @@ mkDerivation {
kbookmarks kcompletion kconfig kcoreaddons kitemviews kjobwidgets kservice
kxmlgui qtbase qttools solid
];
+ outputs = [ "out" "dev" ];
patches = (copyPathsToStore (lib.readPathsFromFile ./. ./series));
}
diff --git a/pkgs/development/libraries/libagar/default.nix b/pkgs/development/libraries/libagar/default.nix
index 630b17121587ecbc09a674d42810f31f3c63e316..c0a43efc27eac7205b930589bf867e1adb577b4b 100644
--- a/pkgs/development/libraries/libagar/default.nix
+++ b/pkgs/development/libraries/libagar/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, libtool, perl, bsdbuild, gettext, mandoc
-, libpng, libjpeg, xlibsWrapper, libXinerama, freetype, SDL, libGLU_combined
+, libpng, libjpeg, xlibsWrapper, libXinerama, freetype, SDL, libGLU, libGL
, libsndfile, portaudio, libmysqlclient, fontconfig
}:
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
"--enable-nls=yes"
"--with-gettext=${gettext}"
"--with-jpeg=${libjpeg.dev}"
- "--with-gl=${libGLU_combined}"
+ "--with-gl=${libGL}"
"--with-mysql=${libmysqlclient}"
"--with-manpages=yes"
];
@@ -29,7 +29,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ pkgconfig libtool gettext ];
buildInputs = [
- bsdbuild perl xlibsWrapper libXinerama SDL libGLU_combined libmysqlclient mandoc
+ bsdbuild perl xlibsWrapper libXinerama SDL libGL libmysqlclient mandoc
freetype.dev libpng libjpeg.dev fontconfig portaudio libsndfile
];
diff --git a/pkgs/development/libraries/libappindicator/default.nix b/pkgs/development/libraries/libappindicator/default.nix
index 46cc30a8944f016b8c634d7d20995788302ae6bf..e9fccaf28abf8cbd24f3a07a3fcb321adf9c01ae 100644
--- a/pkgs/development/libraries/libappindicator/default.nix
+++ b/pkgs/development/libraries/libappindicator/default.nix
@@ -1,19 +1,18 @@
# TODO: Resolve the issues with the Mono bindings.
-{ stdenv, fetchurl, lib, file
-, pkgconfig, autoconf
+{ stdenv, fetchurl, fetchpatch, lib
+, pkgconfig, autoreconfHook
, glib, dbus-glib, gtkVersion ? "3"
, gtk2 ? null, libindicator-gtk2 ? null, libdbusmenu-gtk2 ? null
, gtk3 ? null, libindicator-gtk3 ? null, libdbusmenu-gtk3 ? null
-, python2Packages, gobject-introspection, vala
+, vala, gobject-introspection
, monoSupport ? false, mono ? null, gtk-sharp-2_0 ? null
}:
with lib;
-let
- inherit (python2Packages) python pygobject2 pygtk;
-in stdenv.mkDerivation rec {
+
+stdenv.mkDerivation rec {
name = let postfix = if gtkVersion == "2" && monoSupport then "sharp" else "gtk${gtkVersion}";
in "libappindicator-${postfix}-${version}";
version = "${versionMajor}.${versionMinor}";
@@ -25,7 +24,7 @@ in stdenv.mkDerivation rec {
sha256 = "17xlqd60v0zllrxp8bgq3k5a1jkj0svkqn8rzllcyjh8k0gpr46m";
};
- nativeBuildInputs = [ pkgconfig autoconf ];
+ nativeBuildInputs = [ pkgconfig autoreconfHook vala gobject-introspection ];
propagatedBuildInputs =
if gtkVersion == "2"
@@ -34,20 +33,18 @@ in stdenv.mkDerivation rec {
buildInputs = [
glib dbus-glib
- python pygobject2 pygtk gobject-introspection vala
] ++ (if gtkVersion == "2"
then [ libindicator-gtk2 ] ++ optionals monoSupport [ mono gtk-sharp-2_0 ]
else [ libindicator-gtk3 ]);
- postPatch = ''
- substituteInPlace configure.ac \
- --replace '=codegendir pygtk-2.0' '=codegendir pygobject-2.0'
- autoconf
- for f in {configure,ltmain.sh,m4/libtool.m4}; do
- substituteInPlace $f \
- --replace /usr/bin/file ${file}/bin/file
- done
- '';
+ patches = [
+ # Remove python2 from libappindicator.
+ (fetchpatch {
+ name = "no-python.patch";
+ url = "https://src.fedoraproject.org/rpms/libappindicator/raw/8508f7a52437679fd95a79b4630373f08315f189/f/nopython.patch";
+ sha256 = "18b1xzvwsbhhfpbzf5zragij4g79pa04y1dk6v5ci1wsjvii725s";
+ })
+ ];
configureFlags = [
"CFLAGS=-Wno-error"
@@ -56,15 +53,10 @@ in stdenv.mkDerivation rec {
"--with-gtk=${gtkVersion}"
];
- postConfigure = ''
- substituteInPlace configure \
- --replace /usr/bin/file ${file}/bin/file
- '';
-
doCheck = false; # generates shebangs in check phase, too lazy to fix
installFlags = [
- "sysconfdir=\${out}/etc"
+ "sysconfdir=${placeholder "out"}/etc"
"localstatedir=\${TMPDIR}"
];
diff --git a/pkgs/development/libraries/libcerf/default.nix b/pkgs/development/libraries/libcerf/default.nix
index fd5ee8dcaaf96527e307be3b5ca249baeab09d7f..0ffb208596770d0f15622a8b805f344b6eebaa59 100644
--- a/pkgs/development/libraries/libcerf/default.nix
+++ b/pkgs/development/libraries/libcerf/default.nix
@@ -1,16 +1,19 @@
-{ stdenv, lib, fetchurl }:
+{ stdenv, lib, fetchurl, cmake, perl }:
-stdenv.mkDerivation {
- name = "libcerf-1.5";
+stdenv.mkDerivation rec {
+ pname = "libcerf";
+ version = "1.13";
src = fetchurl {
- url = "http://apps.jcns.fz-juelich.de/src/libcerf/libcerf-1.5.tgz";
- sha256 = "11jwr8ql4a9kmv04ycgwk4dsqnlv4l65a8aa0x1i3y7zwx3w2vg3";
+ url = "https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v${version}/libcerf-v${version}.tar.gz";
+ sha256 = "01d3fr4qa0080xdgp66mjbsa884qivn9y83p7rdyz2l3my0rysg4";
};
+ nativeBuildInputs = [ cmake perl ];
+
meta = with lib; {
description = "Complex error (erf), Dawson, Faddeeva, and Voigt function library";
- homepage = http://apps.jcns.fz-juelich.de/doku/sc/libcerf;
+ homepage = https://jugit.fz-juelich.de/mlz/libcerf;
license = licenses.mit;
maintainers = with maintainers; [ orivej ];
platforms = platforms.all;
diff --git a/pkgs/development/libraries/libdigidocpp/default.nix b/pkgs/development/libraries/libdigidocpp/default.nix
index fc12096ef5be117d5ae618f9acb01e542eb1e445..c4a351739b6193227feb271fe9f47195c77c1389 100644
--- a/pkgs/development/libraries/libdigidocpp/default.nix
+++ b/pkgs/development/libraries/libdigidocpp/default.nix
@@ -2,12 +2,12 @@
, xercesc, xml-security-c, pkgconfig, xsd, zlib, xalanc, xxd }:
stdenv.mkDerivation rec {
- version = "3.14.0";
+ version = "3.14.1";
pname = "libdigidocpp";
src = fetchurl {
url = "https://github.com/open-eid/libdigidocpp/releases/download/v${version}/libdigidocpp-${version}.tar.gz";
- sha256 = "0klbr881d56661d1lqlv4ivxhxcv2q16ivlz7r0rb901wilq5jyl";
+ sha256 = "0yrcfw5i1jddz7x3j9zzlcwjlzdbi10wns7kbblbp03nx7vk2vqy";
};
nativeBuildInputs = [ cmake pkgconfig xxd ];
diff --git a/pkgs/development/libraries/libfilezilla/default.nix b/pkgs/development/libraries/libfilezilla/default.nix
index 95954a120c8be9b8ad2af089127af81e16004952..fd17267b615e579638540c1354b517bc20511157 100644
--- a/pkgs/development/libraries/libfilezilla/default.nix
+++ b/pkgs/development/libraries/libfilezilla/default.nix
@@ -9,11 +9,11 @@
stdenv.mkDerivation rec {
pname = "libfilezilla";
- version = "0.18.2";
+ version = "0.19.1";
src = fetchurl {
url = "https://download.filezilla-project.org/${pname}/${pname}-${version}.tar.bz2";
- sha256 = "1j9da9xi2k4nw97m14mpp7h39rh03br0gmjj9ff819l6nhlnkn20";
+ sha256 = "0cjscv68nnqivzba94xapx1c970j1jbdbm0h3g2ym9i0hgnyyhha";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/development/libraries/libfprint/default.nix b/pkgs/development/libraries/libfprint/default.nix
index 9a6db72ae058367dd3222e8b29fc88a4a333d6e7..6819ffba21c35728b3f65384961c1c4abbeb1e0b 100644
--- a/pkgs/development/libraries/libfprint/default.nix
+++ b/pkgs/development/libraries/libfprint/default.nix
@@ -1,41 +1,27 @@
-{ thinkpad ? false
-, stdenv
-, fetchFromGitHub
+{ stdenv
, fetchurl
, pkgconfig
, meson
, ninja
-, libusb
+, gusb
, pixman
, glib
, nss
-, gtk3
+, gobject-introspection
, coreutils
, gtk-doc
, docbook_xsl
, docbook_xml_dtd_43
-, openssl ? null
}:
-assert thinkpad -> openssl != null;
-
stdenv.mkDerivation rec {
- pname = "libfprint" + stdenv.lib.optionalString thinkpad "-thinkpad";
- version = "1.0";
+ pname = "libfprint";
+ version = "1.90";
- src = {
- libfprint-thinkpad =
- fetchFromGitHub {
- owner = "3v1n0";
- repo = "libfprint";
- rev = "2e2e3821717e9042e93a995bdbd3d00f2df0be9c";
- sha256 = "1vps1wrp7hskf13f7jrv0dwry2fcid76x2w463wplngp63cj7b3b";
- };
- libfprint = fetchurl {
- url = "https://gitlab.freedesktop.org/libfprint/libfprint/uploads/aff93e9921d1cff53d7c070944952ff9/libfprint-${version}.tar.xz";
- sha256 = "0v84pd12v016m8iimhq39fgzamlarqccsr7d98cvrrwrzrgcixrd";
- };
- }.${pname};
+ src = fetchurl {
+ url = "https://gitlab.freedesktop.org/libfprint/libfprint/uploads/1bba17b5daa130aa548bc7ea96dc58c4/libfprint-1.90.0.tar.xz";
+ sha256 = "930f530df369ff874d7971f0b7c7bdb7c81597e91af4668694b98fe30b4b3371";
+ };
nativeBuildInputs = [
pkgconfig
@@ -44,17 +30,15 @@ stdenv.mkDerivation rec {
gtk-doc
docbook_xsl
docbook_xml_dtd_43
+ gobject-introspection
];
buildInputs = [
- libusb
+ gusb
pixman
glib
nss
- gtk3
- ]
- ++ stdenv.lib.optional thinkpad openssl
- ;
+ ];
mesonFlags = [
"-Dudev_rules_dir=${placeholder "out"}/lib/udev/rules.d"
diff --git a/pkgs/development/libraries/libgnurl/default.nix b/pkgs/development/libraries/libgnurl/default.nix
index 1736e97f46629c0f2eddf292d021f3f2b6ba148a..dd7b91ffb9ae3123aedff04a315dc33ac820bfc6 100644
--- a/pkgs/development/libraries/libgnurl/default.nix
+++ b/pkgs/development/libraries/libgnurl/default.nix
@@ -3,11 +3,11 @@
stdenv.mkDerivation rec {
pname = "libgnurl";
- version = "7.66.0";
+ version = "7.67.0";
src = fetchurl {
url = "mirror://gnu/gnunet/gnurl-${version}.tar.gz";
- sha256 = "03bkzcld384z7i3zh3k9k3pr0xpyqbcr8cxjqya1zqs5lk7i55x5";
+ sha256 = "0ima9hz5d54iyvvih51s8xn6dsfxd3qyzgnj9l7w9f1smia295rb";
};
nativeBuildInputs = [ libtool groff perl pkgconfig python2 ];
diff --git a/pkgs/development/libraries/libinput/default.nix b/pkgs/development/libraries/libinput/default.nix
index 2085d27a1ee13edb21344de7bb096a14c8a82c19..8d48082e1d9c731f0c9d1b5040df4e5d983b5887 100644
--- a/pkgs/development/libraries/libinput/default.nix
+++ b/pkgs/development/libraries/libinput/default.nix
@@ -40,6 +40,7 @@ stdenv.mkDerivation rec {
(mkFlag documentationSupport "documentation")
(mkFlag eventGUISupport "debug-gui")
(mkFlag testsSupport "tests")
+ "--sysconfdir=/etc"
"--libexecdir=${placeholder "bin"}/libexec"
];
diff --git a/pkgs/development/libraries/libisoburn/default.nix b/pkgs/development/libraries/libisoburn/default.nix
index cefce19d465961a534a6077a5b853c7dc968af92..633f19cef798ba79ad6594eaf0422ca083a5e07f 100644
--- a/pkgs/development/libraries/libisoburn/default.nix
+++ b/pkgs/development/libraries/libisoburn/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "libisoburn";
- version = "1.5.0";
+ version = "1.5.2";
src = fetchurl {
url = "http://files.libburnia-project.org/releases/${pname}-${version}.tar.gz";
- sha256 = "1r8xbhw21bmcp3jhfmvadivh0fa7f4k6larv8lvg4ka0kiigbhfs";
+ sha256 = "1v4hanapr02wf2i6rncc62z8cyc18078nb2y6q4hp3hxa74hnwnc";
};
buildInputs = [ attr zlib libburn libisofs ];
diff --git a/pkgs/development/libraries/libmodule/default.nix b/pkgs/development/libraries/libmodule/default.nix
index bcd20c3b4076c1df496dac574708f864875918e6..26b81d4d41299650dbd047615da330e4817fbf4d 100644
--- a/pkgs/development/libraries/libmodule/default.nix
+++ b/pkgs/development/libraries/libmodule/default.nix
@@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
pname = "libmodule";
- version = "4.2.0";
+ version = "5.0.0";
src = fetchFromGitHub {
owner = "FedeDP";
repo = "libmodule";
rev = version;
- sha256 = "1qn54pysdm0q7v1gnisd43i5i4ylf8s8an77jk6jd8qimysv08mx";
+ sha256 = "1cf81sl33xmfn5g150iqcdrjn0lpjlgp53mganwi6x7jda2qk7r6";
};
nativeBuildInputs = [
diff --git a/pkgs/development/libraries/libmypaint/default.nix b/pkgs/development/libraries/libmypaint/default.nix
index 91e0b5ef0722581b41d78db29a04d8b9995f588e..c36633edfff3c7e9aedb6b8def429a4554a14811 100644
--- a/pkgs/development/libraries/libmypaint/default.nix
+++ b/pkgs/development/libraries/libmypaint/default.nix
@@ -7,7 +7,7 @@
, json_c
, libtool
, pkgconfig
-, python2
+, python3
}:
stdenv.mkDerivation rec {
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
intltool
libtool
pkgconfig
- python2
+ python3
];
buildInputs = [
@@ -43,6 +43,10 @@ stdenv.mkDerivation rec {
doCheck = true;
+ postPatch = ''
+ sed 's|python2|python|' -i autogen.sh
+ '';
+
preConfigure = "./autogen.sh";
meta = with stdenv.lib; {
diff --git a/pkgs/development/libraries/libnice/default.nix b/pkgs/development/libraries/libnice/default.nix
index f4ce1f6eea03ff0602c1a4788b4826907a2bb6ac..90bdb06bb7f64c861afedc3fc8386b19248774c4 100644
--- a/pkgs/development/libraries/libnice/default.nix
+++ b/pkgs/development/libraries/libnice/default.nix
@@ -1,4 +1,19 @@
-{ stdenv, fetchurl, fetchpatch, meson, ninja, pkgconfig, python3, gobject-introspection, gtk-doc, docbook_xsl, docbook_xml_dtd_412, glib, gupnp-igd, gst_all_1, gnutls }:
+{ stdenv
+, fetchurl
+, fetchpatch
+, meson
+, ninja
+, pkgconfig
+, python3
+, gobject-introspection
+, gtk-doc
+, docbook_xsl
+, docbook_xml_dtd_412
+, glib
+, gupnp-igd
+, gst_all_1
+, gnutls
+}:
stdenv.mkDerivation rec {
name = "libnice-0.1.16";
@@ -21,27 +36,40 @@ stdenv.mkDerivation rec {
];
nativeBuildInputs = [
- meson ninja pkgconfig python3 gobject-introspection
+ meson
+ ninja
+ pkgconfig
+ python3
+ gobject-introspection
+
+ # documentation
gtk-doc
- # Without these, enabling the 'gtk_doc' gives us `FAILED: meson-install`
- docbook_xsl docbook_xml_dtd_412
+ docbook_xsl
+ docbook_xml_dtd_412
+ ];
+
+ buildInputs = [
+ gst_all_1.gstreamer
+ gst_all_1.gst-plugins-base
+ gnutls
+ gupnp-igd
+ ];
+
+ propagatedBuildInputs = [
+ glib
];
- buildInputs = [ gst_all_1.gstreamer gst_all_1.gst-plugins-base gnutls ];
- propagatedBuildInputs = [ glib gupnp-igd ];
mesonFlags = [
- # Enables all features, so that we know when new dependencies are necessary.
- "-Dauto_features=enabled"
"-Dgtk_doc=enabled" # Disabled by default as of libnice-0.1.15
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users
];
- # TODO; see #53293 etc.
- #doCheck = true;
+ # Tests are flaky
+ # see https://github.com/NixOS/nixpkgs/pull/53293#issuecomment-453739295
+ doCheck = false;
meta = with stdenv.lib; {
- homepage = https://nice.freedesktop.org/wiki/;
- description = "The GLib ICE implementation";
+ description = "GLib ICE implementation";
longDescription = ''
Libnice is an implementation of the IETF's Interactice Connectivity
Establishment (ICE) standard (RFC 5245) and the Session Traversal
@@ -49,6 +77,7 @@ stdenv.mkDerivation rec {
It provides a GLib-based library, libnice and a Glib-free library,
libstun as well as GStreamer elements.'';
+ homepage = "https://nice.freedesktop.org/wiki/";
platforms = platforms.linux;
license = with licenses; [ lgpl21 mpl11 ];
};
diff --git a/pkgs/development/libraries/libpsl/default.nix b/pkgs/development/libraries/libpsl/default.nix
index 15aa7c9e22d1f9416817f7f79637bac429327ca9..d2012760dcf618c82bcac51a1cc70b5df633f77e 100644
--- a/pkgs/development/libraries/libpsl/default.nix
+++ b/pkgs/development/libraries/libpsl/default.nix
@@ -1,5 +1,16 @@
-{ stdenv, fetchurl, autoreconfHook, docbook_xsl, docbook_xml_dtd_43, gtk-doc, lzip
-, libidn2, libunistring, libxslt, pkgconfig, python3, valgrind
+{ stdenv
+, fetchurl
+, autoreconfHook
+, docbook_xsl
+, docbook_xml_dtd_43
+, gtk-doc
+, lzip
+, libidn2
+, libunistring
+, libxslt
+, pkgconfig
+, python3
+, valgrind
, publicsuffix-list
}:
@@ -12,9 +23,26 @@ stdenv.mkDerivation rec {
sha256 = "183hadbira0d2zvv8272lspy31dgm9x26z35c61s5axcd5wd9g9i";
};
- nativeBuildInputs = [ autoreconfHook docbook_xsl docbook_xml_dtd_43 gtk-doc lzip pkgconfig python3 valgrind ];
- buildInputs = [ libidn2 libunistring libxslt ];
- propagatedBuildInputs = [ publicsuffix-list ];
+ nativeBuildInputs = [
+ autoreconfHook
+ docbook_xsl
+ docbook_xml_dtd_43
+ gtk-doc
+ lzip
+ pkgconfig
+ python3
+ valgrind
+ ];
+
+ buildInputs = [
+ libidn2
+ libunistring
+ libxslt
+ ];
+
+ propagatedBuildInputs = [
+ publicsuffix-list
+ ];
postPatch = ''
patchShebangs src/psl-make-dafsa
@@ -25,7 +53,7 @@ stdenv.mkDerivation rec {
'';
configureFlags = [
-# "--enable-gtk-doc"
+ # "--enable-gtk-doc"
"--enable-man"
"--enable-valgrind-tests"
"--with-psl-distfile=${publicsuffix-list}/share/publicsuffix/public_suffix_list.dat"
@@ -35,7 +63,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
- doCheck = true;
+ doCheck = !stdenv.isDarwin;
meta = with stdenv.lib; {
description = "C library for the Publix Suffix List";
diff --git a/pkgs/development/libraries/librealsense/default.nix b/pkgs/development/libraries/librealsense/default.nix
index 468bcfb0a18fe778a61b61f95fc919e41641d1a6..91c093c991ac00660a9c0b5adecf3f24ec69b00a 100644
--- a/pkgs/development/libraries/librealsense/default.nix
+++ b/pkgs/development/libraries/librealsense/default.nix
@@ -1,18 +1,20 @@
-{ stdenv, fetchFromGitHub, cmake, libusb, ninja, pkgconfig}:
+{ stdenv, fetchFromGitHub, cmake, libusb1, ninja, pkgconfig }:
stdenv.mkDerivation rec {
pname = "librealsense";
- version = "2.25.0";
+ version = "2.29.0";
+
+ outputs = [ "out" "dev" ];
src = fetchFromGitHub {
owner = "IntelRealSense";
- repo = "librealsense";
+ repo = pname;
rev = "v${version}";
- sha256 = "029qps0bbck0m2xj0mb5g3pgkk7a1zq8wcilfkvpx72sn7039xvw";
+ sha256 = "0wrg1c4fcd5ky96hmnczg9izfgd0yxls8ghxxzrdvgdlg269f443";
};
buildInputs = [
- libusb
+ libusb1
];
nativeBuildInputs = [
@@ -25,9 +27,9 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "A cross-platform library for Intel® RealSense™ depth cameras (D400 series and the SR300)";
- homepage = https://github.com/IntelRealSense/librealsense;
+ homepage = "https://github.com/IntelRealSense/librealsense";
license = licenses.asl20;
maintainers = with maintainers; [ brian-dawn ];
- platforms = ["i686-linux" "x86_64-linux" "x86_64-darwin"];
+ platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" ];
};
}
diff --git a/pkgs/development/libraries/libsolv/default.nix b/pkgs/development/libraries/libsolv/default.nix
index 84f6656d0b8b7b576b402d0d2ba5fdb809402083..c3fe1ad619af32d5e0353b89cb83ecdd1a6395ba 100644
--- a/pkgs/development/libraries/libsolv/default.nix
+++ b/pkgs/development/libraries/libsolv/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, cmake, ninja, zlib, expat, rpm, db }:
stdenv.mkDerivation rec {
- version = "0.7.7";
+ version = "0.7.9";
pname = "libsolv";
src = fetchFromGitHub {
owner = "openSUSE";
repo = "libsolv";
rev = version;
- sha256 = "0f6r5j5d4fbzx9ihbbwrqylayw90qac8kapkhmfcvsh7f8whr623";
+ sha256 = "1ijb4nywc3hx142194d85x7db0j5g2n0i750665fal30qrw2x43y";
};
cmakeFlags = [
@@ -24,6 +24,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "A free package dependency solver";
+ homepage = "https://github.com/openSUSE/libsolv";
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = with maintainers; [ copumpkin ];
diff --git a/pkgs/development/libraries/libtcod/default.nix b/pkgs/development/libraries/libtcod/default.nix
index 6d95d81e5d9c975dc44ca43ddf2362ad7631d313..5a7fb3395ebe01d1ac5aa4077fc82e72d5836ddb 100644
--- a/pkgs/development/libraries/libtcod/default.nix
+++ b/pkgs/development/libraries/libtcod/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromBitbucket, cmake, SDL, libGLU_combined, upx, zlib }:
+{ stdenv, fetchFromBitbucket, cmake, SDL, libGLU, libGL, upx, zlib }:
stdenv.mkDerivation {
@@ -21,7 +21,7 @@ stdenv.mkDerivation {
cmakeFlags="-DLIBTCOD_SAMPLES=OFF";
- buildInputs = [ cmake SDL libGLU_combined upx zlib ];
+ buildInputs = [ cmake SDL libGLU libGL upx zlib ];
meta = {
description = "API for roguelike games";
diff --git a/pkgs/development/libraries/libvncserver/default.nix b/pkgs/development/libraries/libvncserver/default.nix
index 0a7819743e0362d2a28be2c6089fc85775d0d3dd..c9adad6f6454defc6b2858f8eea478646f0b0e5d 100644
--- a/pkgs/development/libraries/libvncserver/default.nix
+++ b/pkgs/development/libraries/libvncserver/default.nix
@@ -1,41 +1,43 @@
-{stdenv, fetchurl, fetchpatch,
- libtool, libjpeg, openssl, zlib, libgcrypt, autoreconfHook, pkgconfig, libpng,
- systemd
+{ stdenv, fetchzip, fetchpatch, cmake
+, libjpeg, openssl, zlib, libgcrypt, libpng
+, systemd
}:
let
s = # Generated upstream information
rec {
- baseName="libvncserver";
- version="0.9.11";
- name="${baseName}-${version}";
- url="https://github.com/LibVNC/libvncserver/archive/LibVNCServer-${version}.tar.gz";
- sha256="15189n09r1pg2nqrpgxqrcvad89cdcrca9gx6qhm6akjf81n6g8r";
+ pname = "libvncserver";
+ version = "0.9.12";
+ url = "https://github.com/LibVNC/libvncserver/archive/LibVNCServer-${version}.tar.gz";
+ sha256 = "1226hb179l914919f5nm2mlf8rhaarqbf48aa649p4rwmghyx9vm"; # unpacked archive checksum
};
in
stdenv.mkDerivation {
- inherit (s) name version;
- src = fetchurl {
+ inherit (s) pname version;
+ src = fetchzip {
inherit (s) url sha256;
};
patches = [
- # CVE-2018-7225. Remove with the next release
(fetchpatch {
- url = https://salsa.debian.org/debian/libvncserver/raw/master/debian/patches/CVE-2018-7225.patch;
- sha256 = "1hj1lzxsrdmzzl061vg0ncdpvfmvvkrpk8q12mp70qvszcqa7ja3";
+ name = "CVE-2018-20750.patch";
+ url = "https://github.com/LibVNC/libvncserver/commit/09e8fc02f59f16e2583b34fe1a270c238bd9ffec.patch";
+ sha256 = "004h50786nvjl3y3yazpsi2b767vc9gqrwm1ralj3zgy47kwfhqm";
+ })
+ (fetchpatch {
+ name = "CVE-2019-15681.patch";
+ url = "https://github.com/LibVNC/libvncserver/commit/d01e1bb4246323ba6fcee3b82ef1faa9b1dac82a.patch";
+ sha256 = "0hf0ss7all2m50z2kan4mck51ws44yim4ymn8p0d991y465y6l9s";
})
];
- preConfigure = ''
- sed -e 's@/usr/include/linux@${stdenv.cc.libc}/include/linux@g' -i configure
- '';
- nativeBuildInputs = [ pkgconfig autoreconfHook ];
+ nativeBuildInputs = [ cmake ];
buildInputs = [
- libtool libjpeg openssl libgcrypt libpng
+ libjpeg openssl libgcrypt libpng
] ++ stdenv.lib.optional stdenv.isLinux systemd;
propagatedBuildInputs = [ zlib ];
meta = {
inherit (s) version;
- description = "VNC server library";
+ description = "VNC server library";
+ homepage = "https://libvnc.github.io/";
license = stdenv.lib.licenses.gpl2Plus ;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.unix;
diff --git a/pkgs/development/libraries/libvterm-neovim/default.nix b/pkgs/development/libraries/libvterm-neovim/default.nix
index 231b426e6a7d082fba2093e9155cc7763e4ce607..50ee7e4d38730722a2df281065e1d37577941fd7 100644
--- a/pkgs/development/libraries/libvterm-neovim/default.nix
+++ b/pkgs/development/libraries/libvterm-neovim/default.nix
@@ -6,13 +6,13 @@
stdenv.mkDerivation {
pname = "libvterm-neovim";
- version = "2019-08-28";
+ version = "2019-10-08";
src = fetchFromGitHub {
owner = "neovim";
repo = "libvterm";
- rev = "1aa95e24d8f07a396aa80b7cd52f93e2b5bcca79";
- sha256 = "0vjd397lqrfv4kc79i5izva4bynbymx3gllkg281fnk0b15vxfif";
+ rev = "7c72294d84ce20da4c27362dbd7fa4b08cfc91da";
+ sha256 = "111qyxq33x74dwdnqcnzlv9j0n8hxyribd6ppwcsxmyrniyw9qrk";
};
buildInputs = [ perl ];
diff --git a/pkgs/development/libraries/libwebp/default.nix b/pkgs/development/libraries/libwebp/default.nix
index fc9932567cfa3d941397566e296dc18544b835f4..56c3f638d52def8d77ab9f8ec5c4c0d066d45469 100644
--- a/pkgs/development/libraries/libwebp/default.nix
+++ b/pkgs/development/libraries/libwebp/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl
, threadingSupport ? true # multi-threading
-, openglSupport ? false, freeglut ? null, libGLU_combined ? null # OpenGL (required for vwebp)
+, openglSupport ? false, freeglut ? null, libGL ? null, libGLU ? null # OpenGL (required for vwebp)
, pngSupport ? true, libpng ? null # PNG image format
, jpegSupport ? true, libjpeg ? null # JPEG image format
, tiffSupport ? true, libtiff ? null # TIFF image format
@@ -14,7 +14,7 @@
, libwebpdecoderSupport ? true # Build libwebpdecoder
}:
-assert openglSupport -> ((freeglut != null) && (libGLU_combined != null));
+assert openglSupport -> freeglut != null && libGL != null && libGLU != null;
assert pngSupport -> (libpng != null);
assert jpegSupport -> (libjpeg != null);
assert tiffSupport -> (libtiff != null);
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
];
buildInputs = [ ]
- ++ optionals openglSupport [ freeglut libGLU_combined ]
+ ++ optionals openglSupport [ freeglut libGL libGLU ]
++ optional pngSupport libpng
++ optional jpegSupport libjpeg
++ optional tiffSupport libtiff
diff --git a/pkgs/development/libraries/libxl/default.nix b/pkgs/development/libraries/libxl/default.nix
index 8153fb883cac552499fcbf3257986146d0a6d144..8618fc80a52525adf145d117b264c7a3eebc6686 100644
--- a/pkgs/development/libraries/libxl/default.nix
+++ b/pkgs/development/libraries/libxl/default.nix
@@ -2,14 +2,15 @@
stdenv.mkDerivation rec {
pname = "libxl";
- version = "3.8.5";
+ version = "3.8.7";
src = fetchurl {
url = "http://www.libxl.com/download/${pname}-lin-${version}.tar.gz";
- sha256 = "15n8gxyznk1nm2kgp86hd36rnivjsby9ccl12lyabv6q3fab6fsx";
+ sha256 = "0mfi2mlsgqjw9ki3c5bsb6nr2aqym7s1priw70f69r12azzxfqw3";
};
- phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
+ dontConfigure = true;
+ dontBuild = true;
installPhase = ''
mkdir $out
@@ -18,7 +19,8 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
- description = "A lbrary for parsing excel files";
+ description = "A library for parsing Excel files";
+ homepage = "http://www.libxl.com/";
license = licenses.unfree;
platforms = platforms.linux;
maintainers = with maintainers; [ ];
diff --git a/pkgs/development/libraries/libxml2/default.nix b/pkgs/development/libraries/libxml2/default.nix
index 7ed50f612243d0eea6a1a0340710b101fc6ad35b..f5dcb3357f7cacd7348f1cc24a555da381f7e8c0 100644
--- a/pkgs/development/libraries/libxml2/default.nix
+++ b/pkgs/development/libraries/libxml2/default.nix
@@ -8,11 +8,11 @@
stdenv.mkDerivation rec {
pname = "libxml2";
- version = "2.9.9";
+ version = "2.9.10";
src = fetchurl {
url = "http://xmlsoft.org/sources/${pname}-${version}.tar.gz";
- sha256 = "0wd881jzvqayx0ihzba29jl80k06xj9ywp16kxacdqs3064p1ywl";
+ sha256 = "07xynh8hcxb2yb1fs051xrgszjvj37wnxvxgsj10rzmqzy9y3zma";
};
patches = [
# Upstream bugs:
@@ -53,6 +53,12 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
+ # disable test that's problematic with newer pythons: see
+ # https://mail.gnome.org/archives/xml/2017-August/msg00014.html
+ preCheck = lib.optionalString (pythonSupport && !(python?pythonOlder && python.pythonOlder "3.5")) ''
+ echo "" > python/tests/tstLastError.py
+ '';
+
doCheck = (stdenv.hostPlatform == stdenv.buildPlatform) && !stdenv.isDarwin &&
stdenv.hostPlatform.libc != "musl";
diff --git a/pkgs/development/libraries/libxslt/default.nix b/pkgs/development/libraries/libxslt/default.nix
index ed77a1873a809376a73586b2b2d0ff93758b4425..6d12329a7f513e5ed8c2821a6a41032128a209f9 100644
--- a/pkgs/development/libraries/libxslt/default.nix
+++ b/pkgs/development/libraries/libxslt/default.nix
@@ -10,31 +10,13 @@ with stdenv.lib;
stdenv.mkDerivation rec {
pname = "libxslt";
- version = "1.1.33";
+ version = "1.1.34";
src = fetchurl {
url = "http://xmlsoft.org/sources/${pname}-${version}.tar.gz";
- sha256 = "1j1q1swnsy8jgi9x7mclvkrqhfgn09886gdlr9wzk7a08i8n0dlf";
+ sha256 = "0zrzz6kjdyavspzik6fbkpvfpbd25r2qg6py5nnjaabrsr3bvccq";
};
- patches = [
- (fetchpatch {
- name = "CVE-2019-11068.patch";
- url = "https://gitlab.gnome.org/GNOME/libxslt/commit/e03553605b45c88f0b4b2980adfbbb8f6fca2fd6.patch";
- sha256 = "0pkpb4837km15zgg6h57bncp66d5lwrlvkr73h0lanywq7zrwhj8";
- })
- (fetchpatch {
- url = "https://gitlab.gnome.org/GNOME/libxslt/commit/c5eb6cf3aba0af048596106ed839b4ae17ecbcb1.patch";
- name = "CVE-2019-13117.patch";
- sha256 = "0ynfq8y5h623cypj1426iiz7796n3mqbjqa24ndvh2am6rl5lw15";
- })
- (fetchpatch {
- url = "https://gitlab.gnome.org/GNOME/libxslt/commit/6ce8de69330783977dd14f6569419489875fb71b.patch";
- name = "CVE-2019-13118.patch";
- sha256 = "0bglz9m9sh2vi50qxcm06iqrazw3h45ycgxnp15iankq95z283iq";
- })
- ];
-
outputs = [ "bin" "dev" "out" "man" "doc" ] ++ stdenv.lib.optional pythonSupport "py";
buildInputs = [ libxml2.dev ]
diff --git a/pkgs/development/libraries/liquidfun/default.nix b/pkgs/development/libraries/liquidfun/default.nix
index 2df7ef94cf36d36055ce31c498557679f53b3479..74952456e64223e5b99c7ee88def9fde91d6d301 100644
--- a/pkgs/development/libraries/liquidfun/default.nix
+++ b/pkgs/development/libraries/liquidfun/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, requireFile, cmake, libGLU_combined, libX11, libXi }:
+{ stdenv, requireFile, cmake, libGLU, libGL, libX11, libXi }:
let
sourceInfo = rec {
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
};
inherit (sourceInfo) name version;
- buildInputs = [ cmake libGLU_combined libX11 libXi ];
+ buildInputs = [ cmake libGLU libGL libX11 libXi ];
sourceRoot = "liquidfun/Box2D/";
diff --git a/pkgs/development/libraries/mediastreamer/default.nix b/pkgs/development/libraries/mediastreamer/default.nix
index 93e73a44bc9cd54efe3f63e2b08929c246d8fc97..1605ec355cc0b0f3a4e81346315a636d901ae3ee 100644
--- a/pkgs/development/libraries/mediastreamer/default.nix
+++ b/pkgs/development/libraries/mediastreamer/default.nix
@@ -1,17 +1,16 @@
{ stdenv, pkgconfig, intltool, alsaLib, libpulseaudio, speex, gsm
-, libopus, ffmpeg, libX11, libXv, libGLU_combined, glew, libtheora, libvpx, SDL, libupnp
+, libopus, ffmpeg, libX11, libXv, libGLU, libGL, glew, libtheora, libvpx, SDL, libupnp
, ortp, libv4l, libpcap, srtp, fetchFromGitHub, cmake, bctoolbox, doxygen
-, python, libXext, libmatroska, openssl, fetchpatch
+, python, libXext, libmatroska, fetchpatch
}:
stdenv.mkDerivation rec {
- baseName = "mediastreamer2";
+ pname = "mediastreamer2";
version = "2.16.1";
- name = "${baseName}-${version}";
src = fetchFromGitHub {
owner = "BelledonneCommunications";
- repo = baseName;
+ repo = pname;
rev = version;
sha256 = "02745bzl2r1jqvdqzyv94fjd4w92zr976la4c4nfvsy52waqah7j";
};
@@ -29,21 +28,20 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [
alsaLib libpulseaudio speex gsm libopus
- ffmpeg libX11 libXv libGLU_combined glew libtheora libvpx SDL libupnp
+ ffmpeg libX11 libXv libGLU libGL glew libtheora libvpx SDL libupnp
ortp libv4l libpcap srtp bctoolbox libXext libmatroska
- openssl
];
NIX_CFLAGS_COMPILE = [
- "-DGIT_VERSION=\"v2.14.0\""
+ "-DGIT_VERSION=\"v${version}\""
"-Wno-error=deprecated-declarations"
"-Wno-error=cast-function-type"
];
- NIX_LDFLAGS = "-lXext -lssl";
+ NIX_LDFLAGS = "-lXext";
meta = with stdenv.lib; {
description = "A powerful and lightweight streaming engine specialized for voice/video telephony applications";
- homepage = http://www.linphone.org/technical-corner/mediastreamer2/overview;
+ homepage = http://www.linphone.org/technical-corner/mediastreamer2;
license = licenses.gpl2;
platforms = platforms.linux;
};
diff --git a/pkgs/development/libraries/mediastreamer/msopenh264.nix b/pkgs/development/libraries/mediastreamer/msopenh264.nix
index 38261bd1e53a05bb2da43cd3ed84dca1aaaa600a..f1e9fc301510949ae033bc7a6dce5306a2dbb9c3 100644
--- a/pkgs/development/libraries/mediastreamer/msopenh264.nix
+++ b/pkgs/development/libraries/mediastreamer/msopenh264.nix
@@ -1,23 +1,30 @@
{ stdenv, autoreconfHook, pkgconfig, mediastreamer, openh264
-, fetchgit, cmake
+, fetchurl, fetchpatch, cmake
}:
-stdenv.mkDerivation {
+stdenv.mkDerivation rec {
pname = "mediastreamer-openh264";
- version = "0.0pre20160801";
+ version = "1.2.1";
- src = fetchgit {
- url = "git://git.linphone.org/msopenh264.git";
- rev = "4cb4b134bf0f1538fd0c2c928eee2d5388115abc";
- sha256 = "001km4xy1ifwbg1c19ncc75h867fzfcxy9pxvl4pxqb64169xc1k";
+ src = fetchurl {
+ url = "https://www.linphone.org/releases/sources/plugins/msopenh264/msopenh264-${version}.tar.gz";
+ sha256 = "0rdxgazm52560g52pp6mp3mwx6j1z3h2zyizzfycp8y8zi92fqm8";
};
+ patches = [
+ (fetchpatch {
+ name = "msopenh264-build-with-openh264-v2.patch";
+ url = "https://git.pld-linux.org/?p=packages/mediastreamer-plugin-msopenh264.git;a=blob_plain;f=mediastreamer-plugin-msopenh264-openh264.patch;hb=344b8af379701a7e58b4ffb3cbac1517eff079fd";
+ sha256 = "10c24b0afchx78q28176pd8iz7i1nlf57f6v6lyqxpz60fm5nrcc";
+ })
+ ];
+
nativeBuildInputs = [ autoreconfHook cmake pkgconfig ];
buildInputs = [ mediastreamer openh264 ];
meta = with stdenv.lib; {
description = "H.264 encoder/decoder plugin for mediastreamer2";
- homepage = http://www.linphone.org/technical-corner/mediastreamer2/overview;
+ homepage = "https://www.linphone.org/technical-corner/mediastreamer2";
license = licenses.gpl2;
platforms = platforms.linux;
};
diff --git a/pkgs/development/libraries/mesa/default.nix b/pkgs/development/libraries/mesa/default.nix
index ca73f3bdeb6f28bf4bf723d58cb38d8a2ff36fbb..2ebd5893e62875e6278e1ed88da30530d2b9edc8 100644
--- a/pkgs/development/libraries/mesa/default.nix
+++ b/pkgs/development/libraries/mesa/default.nix
@@ -27,7 +27,7 @@
with stdenv.lib;
let
- version = "19.2.4";
+ version = "19.2.6";
branch = versions.major version;
in
@@ -42,7 +42,7 @@ stdenv.mkDerivation {
"ftp://ftp.freedesktop.org/pub/mesa/older-versions/${branch}.x/${version}/mesa-${version}.tar.xz"
"https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz"
];
- sha256 = "03z393jrd1cnh68k5h3mm5yap3hi1jzz3a417ccjxn5vgl7hl009";
+ sha256 = "15vpj2v1j5j065f8syhcsyr6rkjm58250r0ri13v6bf8c3x28ywx";
};
prePatch = "patchShebangs .";
diff --git a/pkgs/development/libraries/mygui/default.nix b/pkgs/development/libraries/mygui/default.nix
index 0907f0174c99554913f5df952a9a954f417b56fd..c277b7934b9ba488f928fb827ce8aa7cfa97d372 100644
--- a/pkgs/development/libraries/mygui/default.nix
+++ b/pkgs/development/libraries/mygui/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, libX11, unzip, cmake, ois, freetype, libuuid,
- boost, pkgconfig, withOgre ? false, ogre ? null, libGLU_combined ? null } :
+ boost, pkgconfig, withOgre ? false, ogre ? null, libGL, libGLU ? null } :
let
renderSystem = if withOgre then "3" else "4";
@@ -17,7 +17,8 @@ in stdenv.mkDerivation rec {
enableParallelBuilding = true;
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ libX11 unzip cmake ois freetype libuuid boost (if withOgre then ogre else libGLU_combined) ];
+ buildInputs = [ libX11 unzip cmake ois freetype libuuid boost ]
+ ++ (if withOgre then [ ogre ] else [libGL libGLU]);
# Tools are disabled due to compilation failures.
cmakeFlags = [ "-DMYGUI_BUILD_TOOLS=OFF" "-DMYGUI_BUILD_DEMOS=OFF" "-DMYGUI_RENDERSYSTEM=${renderSystem}" ];
diff --git a/pkgs/development/libraries/nanoflann/default.nix b/pkgs/development/libraries/nanoflann/default.nix
index 5c0238fe41ea2aff52e31144853247d1983688d5..8480cc868c1fa2b4aeaff27f4704957576194f1f 100644
--- a/pkgs/development/libraries/nanoflann/default.nix
+++ b/pkgs/development/libraries/nanoflann/default.nix
@@ -1,24 +1,28 @@
{stdenv, fetchFromGitHub, cmake}:
stdenv.mkDerivation rec {
- version = "1.3.0";
+ version = "1.3.1";
pname = "nanoflann";
src = fetchFromGitHub {
owner = "jlblancoc";
repo = "nanoflann";
rev = "v${version}";
- sha256 = "1bwdmrz1qygp9qy2nzrp1axa1i4nvm0ljkn6mnhlcvbfsyvhzigv";
+ sha256 = "07vi3yn5y9zk9acdbxy954ghdml15wnyqfizzqwsw8zmc9bf30ih";
};
buildInputs = [ cmake ];
+ cmakeFlags = [
+ "-DBUILD_EXAMPLES=OFF"
+ ];
+
doCheck = true;
checkTarget = "test";
meta = {
- homepage = https://github.com/jlblancoc/nanoflann;
- license = stdenv.lib.licenses.bsd3;
+ homepage = "https://github.com/jlblancoc/nanoflann";
+ license = stdenv.lib.licenses.bsd2;
description = "Header only C++ library for approximate nearest neighbor search";
platforms = stdenv.lib.platforms.unix;
};
diff --git a/pkgs/development/libraries/nlohmann_json/default.nix b/pkgs/development/libraries/nlohmann_json/default.nix
index 72d425e8918f5e26bb6bef8680d0372508b9dc38..43a7cf15c15b1a5e37db22cfcced8c1ace655b80 100644
--- a/pkgs/development/libraries/nlohmann_json/default.nix
+++ b/pkgs/development/libraries/nlohmann_json/default.nix
@@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
pname = "nlohmann_json";
- version = "3.7.0";
+ version = "3.7.3";
src = fetchFromGitHub {
owner = "nlohmann";
repo = "json";
rev = "v${version}";
- sha256 = "0v7xih4zjixxxfvkfbs7a8j9qcvpwlsv4vrkbyns3hc7b44nb8ap";
+ sha256 = "04rry1xzis71z5gj1ylcj8b4li5q18zxhcwaviwvi3hx0frzxl9w";
};
nativeBuildInputs = [ cmake ];
diff --git a/pkgs/development/libraries/nss_wrapper/default.nix b/pkgs/development/libraries/nss_wrapper/default.nix
index 79eb4d1e10e40e95c999e35fef92a5e6b4294561..40ee4f890d49e375e12a0672a60bdce9b4a9a410 100644
--- a/pkgs/development/libraries/nss_wrapper/default.nix
+++ b/pkgs/development/libraries/nss_wrapper/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, cmake, pkgconfig }:
stdenv.mkDerivation rec {
- name = "nss_wrapper-1.1.6";
+ name = "nss_wrapper-1.1.7";
src = fetchurl {
url = "mirror://samba/cwrap/${name}.tar.gz";
- sha256 = "1hijnwabj4nh0m0a913pq07iqq0bw8qb2zxcv73zbnsaay7pa55h";
+ sha256 = "1pa7gakprkxblxdqbcy2242lk924gvzdgfr5648wb7cslksm7hbq";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/development/libraries/nuspell/default.nix b/pkgs/development/libraries/nuspell/default.nix
index db542ec93a92a279d0192eae9a4a7321f7681cb6..c1f354a1ac98e23b05f7049e2e32aba3409d5485 100644
--- a/pkgs/development/libraries/nuspell/default.nix
+++ b/pkgs/development/libraries/nuspell/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "nuspell";
- version = "2.3.0";
+ version = "3.0.0";
src = fetchFromGitHub {
owner = "nuspell";
repo = "nuspell";
rev = "v${version}";
- sha256 = "0n5cajrp1fhk8p54ch3akkd9nl8b9c6wwf25980dhagcdys3vab3";
+ sha256 = "1cyvvf5f92a777qgh00ja43z43j5nhc9dw5l3wvw9j6j9bqc4i8p";
};
nativeBuildInputs = [ cmake pkgconfig ronn ];
diff --git a/pkgs/development/libraries/ogre/1.10.x.nix b/pkgs/development/libraries/ogre/1.10.x.nix
index d847f447048d3aa1f1747f06afa76ced18ccd19e..b66759524fafb29679219909de04628c9a17664a 100644
--- a/pkgs/development/libraries/ogre/1.10.x.nix
+++ b/pkgs/development/libraries/ogre/1.10.x.nix
@@ -1,5 +1,5 @@
{ fetchurl, stdenv, lib
-, cmake, libGLU_combined
+, cmake, libGLU, libGL
, freetype, freeimage, zziplib, xorgproto, libXrandr
, libXaw, freeglut, libXt, libpng, boost, ois
, libX11, libXmu, libSM, pkgconfig
@@ -24,7 +24,7 @@ stdenv.mkDerivation {
enableParallelBuilding = true;
buildInputs =
- [ cmake libGLU_combined
+ [ cmake libGLU libGL
freetype freeimage zziplib xorgproto libXrandr
libXaw freeglut libXt libpng boost ois
libX11 libXmu libSM pkgconfig
diff --git a/pkgs/development/libraries/ogre/1.9.x.nix b/pkgs/development/libraries/ogre/1.9.x.nix
index 2855d1139c3d4cd126f18722c8f533f559c10b7b..ced01580185995c60fd9d2ed79bf431632459de2 100644
--- a/pkgs/development/libraries/ogre/1.9.x.nix
+++ b/pkgs/development/libraries/ogre/1.9.x.nix
@@ -1,5 +1,5 @@
{ fetchFromGitHub, stdenv, lib
-, cmake, libGLU_combined
+, cmake, libGLU, libGL
, freetype, freeimage, zziplib, xorgproto, libXrandr
, libXaw, freeglut, libXt, libpng, boost, ois
, libX11, libXmu, libSM, pkgconfig
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
buildInputs =
- [ cmake libGLU_combined
+ [ cmake libGLU libGL
freetype freeimage zziplib xorgproto libXrandr
libXaw freeglut libXt libpng boost ois
libX11 libXmu libSM pkgconfig
diff --git a/pkgs/development/libraries/ogre/default.nix b/pkgs/development/libraries/ogre/default.nix
index dc3bf8cf0097edff7e964b089d421d4d56be4e01..235da872392d8b23ca29b989407f5f8f59f52a82 100644
--- a/pkgs/development/libraries/ogre/default.nix
+++ b/pkgs/development/libraries/ogre/default.nix
@@ -1,5 +1,5 @@
{ fetchurl, stdenv, lib
-, cmake, libGLU_combined
+, cmake, libGLU, libGL
, freetype, freeimage, zziplib, xorgproto, libXrandr
, libXaw, freeglut, libXt, libpng, boost, ois
, libX11, libXmu, libSM, pkgconfig
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
buildInputs =
- [ cmake libGLU_combined
+ [ cmake libGLU libGL
freetype freeimage zziplib xorgproto libXrandr
libXaw freeglut libXt libpng boost ois
libX11 libXmu libSM pkgconfig
diff --git a/pkgs/development/libraries/opencsg/default.nix b/pkgs/development/libraries/opencsg/default.nix
index 724c0d7c7641007ff69955b6a55ee811c86adc95..cf46077a56cd2b11ff5aa3d910158441bface7e2 100644
--- a/pkgs/development/libraries/opencsg/default.nix
+++ b/pkgs/development/libraries/opencsg/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchurl, libGLU_combined, freeglut, glew, libXmu, libXext, libX11
+{stdenv, fetchurl, libGLU, libGL, freeglut, glew, libXmu, libXext, libX11
, qmake, GLUT, fixDarwinDylibNames }:
stdenv.mkDerivation rec {
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
buildInputs = [ glew ]
- ++ stdenv.lib.optionals stdenv.isLinux [ libGLU_combined freeglut libXmu libXext libX11 ]
+ ++ stdenv.lib.optionals stdenv.isLinux [ libGLU libGL freeglut libXmu libXext libX11 ]
++ stdenv.lib.optional stdenv.isDarwin GLUT;
doCheck = false;
diff --git a/pkgs/development/libraries/openexrid-unstable/default.nix b/pkgs/development/libraries/openexrid-unstable/default.nix
index b8a3c4a81e00df4bc42881a3406be1588a22bfc9..92cd343cf6a1e57b4be5f8d20dc6f2c3a5c78348 100644
--- a/pkgs/development/libraries/openexrid-unstable/default.nix
+++ b/pkgs/development/libraries/openexrid-unstable/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, unzip, re2, openfx, zlib, ilmbase, libGLU_combined, openexr }:
+{ stdenv, fetchFromGitHub, unzip, re2, openfx, zlib, ilmbase, libGLU, libGL, openexr }:
stdenv.mkDerivation {
pname = "openexrid-unstable";
@@ -25,7 +25,7 @@ stdenv.mkDerivation {
-I${openfx.dev}/include/OpenFX
'';
- buildInputs = [ unzip re2 openfx zlib ilmbase libGLU_combined openexr ];
+ buildInputs = [ unzip re2 openfx zlib ilmbase libGLU libGL openexr ];
enableParallelBuilding = true;
diff --git a/pkgs/development/libraries/ortp/default.nix b/pkgs/development/libraries/ortp/default.nix
index 58f355b27fe190f95be25d759561d1af19e70761..7be0e4bb06abd00f5820ad6c0e17452943dfc6ad 100644
--- a/pkgs/development/libraries/ortp/default.nix
+++ b/pkgs/development/libraries/ortp/default.nix
@@ -1,13 +1,12 @@
{ stdenv, cmake, fetchFromGitHub, bctoolbox }:
stdenv.mkDerivation rec {
- baseName = "ortp";
+ pname = "ortp";
version = "1.0.2";
- name = "${baseName}-${version}";
src = fetchFromGitHub {
owner = "BelledonneCommunications";
- repo = baseName;
+ repo = pname;
rev = version;
sha256 = "12cwv593bsdnxs0zfcp07vwyk7ghlz2wv7vdbs1ksv293w3vj2rv";
};
@@ -17,8 +16,8 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "A Real-Time Transport Protocol (RFC3550) stack";
- homepage = http://www.linphone.org/index.php/eng/code_review/ortp;
- license = licenses.lgpl21;
+ homepage = https://linphone.org/technical-corner/ortp;
+ license = licenses.gpl2Plus;
platforms = platforms.all;
};
}
diff --git a/pkgs/development/libraries/partio/default.nix b/pkgs/development/libraries/partio/default.nix
index b08936dd34de65f45fd14cbb8ce9666bbce48185..ba042562320bed5c2220bb37a2831550dd36f1c3 100644
--- a/pkgs/development/libraries/partio/default.nix
+++ b/pkgs/development/libraries/partio/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, unzip, cmake, freeglut, libGLU_combined, zlib, swig, python, doxygen, xorg }:
+{ stdenv, fetchFromGitHub, unzip, cmake, freeglut, libGLU, libGL, zlib, swig, python, doxygen, xorg }:
stdenv.mkDerivation {
pname = "partio";
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
outputs = [ "dev" "out" "lib" ];
nativeBuildInputs = [ unzip cmake doxygen ];
- buildInputs = [ freeglut libGLU_combined zlib swig python xorg.libXi xorg.libXmu ];
+ buildInputs = [ freeglut libGLU libGL zlib swig python xorg.libXi xorg.libXmu ];
enableParallelBuilding = true;
diff --git a/pkgs/development/libraries/phonon/backends/gstreamer.nix b/pkgs/development/libraries/phonon/backends/gstreamer.nix
index ef7633dadaf36c52c417b5338ab36745ba27e476..d9267827e779a4e11a8dd24ec4a659c922cd5ed4 100644
--- a/pkgs/development/libraries/phonon/backends/gstreamer.nix
+++ b/pkgs/development/libraries/phonon/backends/gstreamer.nix
@@ -1,21 +1,13 @@
{ stdenv, lib, fetchurl, cmake, gst_all_1, phonon, pkgconfig
-, extra-cmake-modules, qtbase ? null, qtx11extras ? null, qt4 ? null
-, withQt5 ? false
+, extra-cmake-modules, qttools, qtbase, qtx11extras
, debug ? false
}:
with lib;
-let
- v = "4.9.0";
+stdenv.mkDerivation rec {
pname = "phonon-backend-gstreamer";
-in
-
-assert withQt5 -> qtbase != null;
-assert withQt5 -> qtx11extras != null;
-
-stdenv.mkDerivation {
- name = "${pname}-${if withQt5 then "qt5" else "qt4"}-${v}";
+ version = "4.10.0";
meta = with stdenv.lib; {
homepage = https://phonon.kde.org/;
@@ -26,8 +18,8 @@ stdenv.mkDerivation {
};
src = fetchurl {
- url = "mirror://kde/stable/phonon/${pname}/${v}/${pname}-${v}.tar.xz";
- sha256 = "1wc5p1rqglf0n1avp55s50k7fjdzdrhg0gind15k8796w7nfbhyf";
+ url = "mirror://kde/stable/phonon/${pname}/${version}/${pname}-${version}.tar.xz";
+ sha256 = "1wk1ip2w7fkh65zk6rilj314dna0hgsv2xhjmpr5w08xa8sii1y5";
};
# Hardcode paths to useful plugins so the backend doesn't depend
@@ -52,17 +44,26 @@ stdenv.mkDerivation {
''-DGST_PLUGIN_PATH_1_0="${gstPluginPaths}"''
];
- buildInputs = with gst_all_1;
- [ gstreamer gst-plugins-base phonon ]
- ++ (if withQt5 then [ qtbase qtx11extras ] else [ qt4 ]);
+ buildInputs = with gst_all_1; [
+ gstreamer
+ gst-plugins-base
+ phonon
+ qtbase
+ qtx11extras
+ ];
# cleanup: the build system creates (empty) $out/$out/share/icons (double prefix)
# if DESTDIR is unset
DESTDIR="/";
- nativeBuildInputs = [ cmake pkgconfig ] ++ optional withQt5 extra-cmake-modules;
+ nativeBuildInputs = [
+ cmake
+ pkgconfig
+ extra-cmake-modules
+ qttools
+ ];
- cmakeFlags =
- [ "-DCMAKE_BUILD_TYPE=${if debug then "Debug" else "Release"}" ]
- ++ optional withQt5 "-DPHONON_BUILD_PHONON4QT5=ON";
+ cmakeFlags = [
+ "-DCMAKE_BUILD_TYPE=${if debug then "Debug" else "Release"}"
+ ];
}
diff --git a/pkgs/development/libraries/phonon/backends/vlc.nix b/pkgs/development/libraries/phonon/backends/vlc.nix
index 98c6be85672c37dce87af0b63f18a1a8436efd67..9ed137e4f45085169ed80441e51d6f589ca90cf3 100644
--- a/pkgs/development/libraries/phonon/backends/vlc.nix
+++ b/pkgs/development/libraries/phonon/backends/vlc.nix
@@ -1,22 +1,13 @@
{ stdenv, lib, fetchurl, cmake, phonon, pkgconfig, vlc
-, extra-cmake-modules, qtbase ? null, qtx11extras ? null, qt4 ? null
-, withQt4 ? false
+, extra-cmake-modules, qttools, qtbase, qtx11extras
, debug ? false
}:
with lib;
-let
- v = "0.10.2";
+stdenv.mkDerivation rec {
pname = "phonon-backend-vlc";
-in
-
-assert withQt4 -> qt4 != null;
-assert !withQt4 -> qtbase != null;
-assert !withQt4 -> qtx11extras != null;
-
-stdenv.mkDerivation {
- name = "${pname}-${if withQt4 then "qt4" else "qt5"}-${v}";
+ version = "0.11.1";
meta = with stdenv.lib; {
homepage = https://phonon.kde.org/;
@@ -26,17 +17,25 @@ stdenv.mkDerivation {
};
src = fetchurl {
- url = "mirror://kde/stable/phonon/${pname}/${v}/${pname}-${v}.tar.xz";
- sha256 = "163jqq5p9n0yfw2fqk0cqn3c6mqycxsvc4956zhkw5345g81a2a9";
+ url = "mirror://kde/stable/phonon/${pname}/${version}/${pname}-${version}.tar.xz";
+ sha256 = "1vp52i5996khpxs233an7mlrzdji50gcs58ig8nrwfwlgyb1xnfc";
};
- buildInputs =
- [ phonon vlc ]
- ++ (if withQt4 then [ qt4 ] else [ qtbase qtx11extras ]);
-
- nativeBuildInputs = [ cmake pkgconfig ] ++ optional (!withQt4) extra-cmake-modules;
-
- cmakeFlags =
- [ "-DCMAKE_BUILD_TYPE=${if debug then "Debug" else "Release"}" ]
- ++ optional (!withQt4) "-DPHONON_BUILD_PHONON4QT5=ON";
+ buildInputs = [
+ phonon
+ vlc
+ qtbase
+ qtx11extras
+ ];
+
+ nativeBuildInputs = [
+ cmake
+ pkgconfig
+ qttools
+ extra-cmake-modules
+ ];
+
+ cmakeFlags = [
+ "-DCMAKE_BUILD_TYPE=${if debug then "Debug" else "Release"}"
+ ];
}
diff --git a/pkgs/development/libraries/phonon/default.nix b/pkgs/development/libraries/phonon/default.nix
index dd163571a1bdec1d6665875e741d276ca4f2d55d..86e3caaa1486c0eeba65e5bb635b77c4c3b57e87 100644
--- a/pkgs/development/libraries/phonon/default.nix
+++ b/pkgs/development/libraries/phonon/default.nix
@@ -1,22 +1,27 @@
-{ stdenv, lib, fetchurl, cmake, libGLU_combined, pkgconfig, libpulseaudio
-, qt4 ? null, extra-cmake-modules ? null, qtbase ? null, qttools ? null
-, withQt5 ? false
-, debug ? false }:
+{ stdenv
+, lib
+, fetchurl
+, cmake
+, libGLU
+, libGL
+, pkgconfig
+, libpulseaudio
+, extra-cmake-modules
+, qtbase
+, qttools
+, debug ? false
+}:
with lib;
let
- v = "4.11.1";
-
- soname = if withQt5 then "phonon4qt5" else "phonon";
+ soname = "phonon4qt5";
buildsystemdir = "share/cmake/${soname}";
in
-assert withQt5 -> qtbase != null;
-assert withQt5 -> qttools != null;
-
-stdenv.mkDerivation {
- name = "phonon-${if withQt5 then "qt5" else "qt4"}-${v}";
+stdenv.mkDerivation rec {
+ pname = "phonon";
+ version = "4.11.1";
meta = {
homepage = https://phonon.kde.org/;
@@ -27,25 +32,31 @@ stdenv.mkDerivation {
};
src = fetchurl {
- url = "mirror://kde/stable/phonon/${v}/phonon-${v}.tar.xz";
+ url = "mirror://kde/stable/phonon/${version}/phonon-${version}.tar.xz";
sha256 = "0bfy8iqmjhlg3ma3iqd3kxjc2zkzpjgashbpf5x17y0dc2i1whxl";
};
- buildInputs =
- [ libGLU_combined libpulseaudio ]
- ++ (if withQt5 then [ qtbase qttools ] else [ qt4 ]);
+ buildInputs = [
+ libGLU
+ libGL
+ libpulseaudio
+ qtbase
+ qttools
+ ];
- nativeBuildInputs =
- [ cmake pkgconfig ]
- ++ optional withQt5 extra-cmake-modules;
+ nativeBuildInputs = [
+ cmake
+ pkgconfig
+ extra-cmake-modules
+ ];
outputs = [ "out" "dev" ];
NIX_CFLAGS_COMPILE = "-fPIC";
- cmakeFlags =
- [ "-DCMAKE_BUILD_TYPE=${if debug then "Debug" else "Release"}" ]
- ++ optional withQt5 "-DPHONON_BUILD_PHONON4QT5=ON";
+ cmakeFlags = [
+ "-DCMAKE_BUILD_TYPE=${if debug then "Debug" else "Release"}"
+ ];
preConfigure = ''
cmakeFlags+=" -DPHONON_QT_MKSPECS_INSTALL_DIR=''${!outputDev}/mkspecs"
@@ -63,10 +74,8 @@ stdenv.mkDerivation {
sed -i cmake/FindPhononInternal.cmake \
-e "/set(INCLUDE_INSTALL_DIR/ c set(INCLUDE_INSTALL_DIR \"''${!outputDev}/include\")"
- ${optionalString withQt5 ''
sed -i cmake/FindPhononInternal.cmake \
-e "/set(PLUGIN_INSTALL_DIR/ c set(PLUGIN_INSTALL_DIR \"$qtPluginPrefix/..\")"
- ''}
sed -i CMakeLists.txt \
-e "/set(BUILDSYSTEM_INSTALL_DIR/ c set(BUILDSYSTEM_INSTALL_DIR \"''${!outputDev}/${buildsystemdir}\")"
diff --git a/pkgs/development/libraries/physics/applgrid/default.nix b/pkgs/development/libraries/physics/applgrid/default.nix
index edda5148068ad2ec922fbee76c62a637bc2effb4..3e2a53d81dd8dcf1929200b9e3bce4ca7ded81a1 100644
--- a/pkgs/development/libraries/physics/applgrid/default.nix
+++ b/pkgs/development/libraries/physics/applgrid/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, gfortran, hoppet, lhapdf, root5 }:
+{ stdenv, fetchurl, gfortran, hoppet, lhapdf, root5, zlib }:
stdenv.mkDerivation rec {
pname = "applgrid";
@@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "1yw9wrk3vjv84kd3j4s1scfhinirknwk6xq0hvj7x2srx3h93q9p";
};
- buildInputs = [ gfortran hoppet lhapdf root5 ];
+ # For some reason zlib was only needed after bump to gfortran8
+ buildInputs = [ gfortran hoppet lhapdf root5 zlib ];
patches = [
./bad_code.patch
diff --git a/pkgs/development/libraries/physics/geant4/default.nix b/pkgs/development/libraries/physics/geant4/default.nix
index 96715882c2316aa9aef46528fc471a87d3511902..007e4ad0c32fb58f079543786ce60b4b76bfadb2 100644
--- a/pkgs/development/libraries/physics/geant4/default.nix
+++ b/pkgs/development/libraries/physics/geant4/default.nix
@@ -30,7 +30,7 @@
, libXpm
# For enableQT, enableXM, enableOpenGLX11, enableRaytracerX11.
-, libGLU_combined
+, libGLU, libGL
, xlibsWrapper
, libXmu
}:
@@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
nativeBuildInputs = [ cmake ];
- buildInputs = [ clhep expat zlib libGLU_combined xlibsWrapper libXmu ]
+ buildInputs = [ clhep expat zlib libGLU libGL xlibsWrapper libXmu ]
++ stdenv.lib.optionals enableGDML [ xercesc ]
++ stdenv.lib.optionals enableXM [ motif ]
++ stdenv.lib.optionals enableQT [ qtbase ]
diff --git a/pkgs/development/libraries/plib/default.nix b/pkgs/development/libraries/plib/default.nix
index c9e8c632c7f189a2aa536bde46f03c4a786cab7e..bbc5eb21c2767ffaa2c4890056c13437029f28c0 100644
--- a/pkgs/development/libraries/plib/default.nix
+++ b/pkgs/development/libraries/plib/default.nix
@@ -1,4 +1,4 @@
-{ fetchurl, fetchpatch, stdenv, libGLU_combined, freeglut, SDL
+{ fetchurl, fetchpatch, stdenv, libGLU, libGL, freeglut, SDL
, libXi, libSM, libXmu, libXext, libX11 }:
stdenv.mkDerivation rec {
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
];
propagatedBuildInputs = [
- libGLU_combined freeglut SDL
+ libGLU libGL freeglut SDL
# The following libs ought to be propagated build inputs of Mesa.
libXi libSM libXmu libXext libX11
diff --git a/pkgs/development/libraries/polkit/default.nix b/pkgs/development/libraries/polkit/default.nix
index d0df41c3e5ff9e2d6a746111a9a19a538c8259c8..17163c2206cdd9f51da8300bff468ddec96eb4d6 100644
--- a/pkgs/development/libraries/polkit/default.nix
+++ b/pkgs/development/libraries/polkit/default.nix
@@ -2,7 +2,7 @@
, intltool, spidermonkey_60 , gobject-introspection, libxslt, docbook_xsl, dbus
, docbook_xml_dtd_412, gtk-doc, coreutils
, useSystemd ? (stdenv.isLinux && !stdenv.hostPlatform.isMusl), systemd, elogind
-, withGnome ? true
+, withIntrospection ? true
# A few tests currently fail on musl (polkitunixusertest, polkitunixgrouptest, polkitidentitytest segfault).
# Not yet investigated; it may be due to the "Make netgroup support optional"
# patch not updating the tests correctly yet, or doing something wrong,
@@ -57,7 +57,7 @@ stdenv.mkDerivation rec {
[ expat pam spidermonkey_60 ]
# On Linux, fall back to elogind when systemd support is off.
++ stdenv.lib.optional stdenv.isLinux (if useSystemd then systemd else elogind)
- ++ stdenv.lib.optional withGnome gobject-introspection;
+ ++ stdenv.lib.optional withIntrospection gobject-introspection;
propagatedBuildInputs = [
glib # in .pc Requires
@@ -86,7 +86,7 @@ stdenv.mkDerivation rec {
"--with-systemdsystemunitdir=${placeholder "out"}/etc/systemd/system"
"--with-polkitd-user=polkituser" #TODO? config.ids.uids.polkituser
"--with-os-type=NixOS" # not recognized but prevents impurities on non-NixOS
- (if withGnome then "--enable-introspection" else "--disable-introspection")
+ (if withIntrospection then "--enable-introspection" else "--disable-introspection")
] ++ stdenv.lib.optional (!doCheck) "--disable-test";
makeFlags = [
diff --git a/pkgs/development/libraries/prometheus-cpp/default.nix b/pkgs/development/libraries/prometheus-cpp/default.nix
index 6f49db4d206f5fd06cd47c285334d26caca6b042..b047322c35e661fe6e3a9f70bac7152205647bd5 100644
--- a/pkgs/development/libraries/prometheus-cpp/default.nix
+++ b/pkgs/development/libraries/prometheus-cpp/default.nix
@@ -10,13 +10,13 @@
stdenv.mkDerivation rec {
pname = "prometheus-cpp";
- version = "0.7.0";
+ version = "0.8.0";
src = fetchFromGitHub {
owner = "jupp0r";
repo = pname;
rev = "v${version}";
- sha256 = "15bda1q1jbvixbx1qf41ykcdmsywhhwmi4xgsha12r5m9fh8jzxj";
+ sha256 = "0j12ir8skw3y2q8n743zql4ddp7v1j4h030pjcsqn0xqrqw7m5hg";
};
nativeBuildInputs = [ cmake ];
diff --git a/pkgs/development/libraries/protobuf/3.11.nix b/pkgs/development/libraries/protobuf/3.11.nix
new file mode 100644
index 0000000000000000000000000000000000000000..26f8ca133413c16277f996bcfc2cf56bb1ce40a0
--- /dev/null
+++ b/pkgs/development/libraries/protobuf/3.11.nix
@@ -0,0 +1,6 @@
+{ callPackage, ... }:
+
+callPackage ./generic-v3.nix {
+ version = "3.11.0";
+ sha256 = "1b0kf02aw1yvpwdax3865057dzrlrdc7dgam05znwq8id5q76ckr";
+}
diff --git a/pkgs/development/libraries/pybind11/default.nix b/pkgs/development/libraries/pybind11/default.nix
deleted file mode 100644
index 7dfbdc4d64a0a75a6f18a89ca79022c28479bf5e..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/pybind11/default.nix
+++ /dev/null
@@ -1,47 +0,0 @@
-{ stdenv, fetchurl, fetchFromGitHub, cmake, catch, python, eigen }:
-
-stdenv.mkDerivation rec {
- pname = "pybind";
- version = "2.2.4";
-
- src = fetchFromGitHub {
- owner = "pybind";
- repo = "pybind11";
- rev = "v${version}";
- sha256 = "0pa79ymcasv8br5ifbx7878id5py2jpjac3i20cqxr6gs9l6ivlv";
- };
-
- nativeBuildInputs = [ cmake ];
- checkInputs = with python.pkgs; [ catch eigen pytest numpy scipy ];
-
- # Disable test_cmake_build test, as it fails in sandbox
- # https://github.com/pybind/pybind11/issues/1355
- patches = [
- ./no_test_cmake_build.patch
- (fetchurl { # Remove on bump to v2.2.5
- name = "pytest_namespace_to_configure.patch";
- url = "https://github.com/pybind/pybind11/commit/e7ef34f23f194cfa40bdbf967c6d34712261a4ee.patch";
- sha256 = "1dhv6p0b5fxzxc8j3sfy8kvfmdshczk22xfxh6bk0cfnfdy9iqrq";
- })
- ];
-
- doCheck = true;
-
- cmakeFlags = [
- "-DPYTHON_EXECUTABLE=${python.interpreter}"
- "-DPYBIND11_TEST=${if doCheck then "ON" else "OFF"}"
- ];
-
- meta = {
- homepage = https://github.com/pybind/pybind11;
- description = "Seamless operability between C++11 and Python";
- longDescription = ''
- Pybind11 is a lightweight header-only library that exposes
- C++ types in Python and vice versa, mainly to create Python
- bindings of existing C++ code.
- '';
- platforms = with stdenv.lib.platforms; unix;
- license = stdenv.lib.licenses.bsd3;
- maintainers = with stdenv.lib.maintainers; [ yuriaisaka ];
- };
-}
diff --git a/pkgs/development/libraries/pybind11/no_test_cmake_build.patch b/pkgs/development/libraries/pybind11/no_test_cmake_build.patch
deleted file mode 100644
index c5d6ecc4481eadcfe3151feefe5fe68734e2b6b6..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/pybind11/no_test_cmake_build.patch
+++ /dev/null
@@ -1,7 +0,0 @@
---- a/tests/CMakeLists.txt 2019-01-28 14:13:55.822119328 +0100
-+++ b/tests/CMakeLists.txt 2019-01-28 14:14:06.741161928 +0100
-@@ -233,4 +233,3 @@
- add_subdirectory(test_embed)
-
- # Test CMake build using functions and targets from subdirectory or installed location
--add_subdirectory(test_cmake_build)
diff --git a/pkgs/development/libraries/qt-3/default.nix b/pkgs/development/libraries/qt-3/default.nix
index a46dcec031283d985c8a033e8dafc14a0d443a52..98519ae294a4ea1fa7882b92bfd14ea80e8615a9 100644
--- a/pkgs/development/libraries/qt-3/default.nix
+++ b/pkgs/development/libraries/qt-3/default.nix
@@ -8,7 +8,7 @@
, mysqlSupport ? false, libmysqlclient ? null
, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
, openglSupport ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
-, libGLU_combined ? null, libXmu ? null
+, libGL ? null, libGLU ? null, libXmu ? null
, xlibsWrapper, xorgproto, zlib, libjpeg, libpng, which
}:
@@ -17,7 +17,7 @@ assert xrenderSupport -> xftSupport && libXrender != null;
assert xrandrSupport -> libXrandr != null;
assert cursorSupport -> libXcursor != null;
assert mysqlSupport -> libmysqlclient != null;
-assert openglSupport -> libGLU_combined != null && libXmu != null;
+assert openglSupport -> libGL != null && libGLU != null && libXmu != null;
stdenv.mkDerivation {
name = "qt-3.3.8";
@@ -51,7 +51,7 @@ stdenv.mkDerivation {
(mk xftSupport "xft")
] ++ stdenv.lib.optionals openglSupport [
"-dlopen-opengl"
- "-L${libGLU_combined}/lib" "-I${libGLU_combined}/include"
+ "-L${libGL}/lib" "-I${libGLU}/include"
"-L${libXmu.out}/lib" "-I${libXmu.dev}/include"
] ++ stdenv.lib.optionals xrenderSupport [
"-L${libXrender.out}/lib" "-I${libXrender.dev}/include"
diff --git a/pkgs/development/libraries/qt-5/5.11/default.nix b/pkgs/development/libraries/qt-5/5.11/default.nix
deleted file mode 100644
index e22dc4dbae30997441982e5aca5b558b0c372c7d..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-5/5.11/default.nix
+++ /dev/null
@@ -1,175 +0,0 @@
-/*
-
-# Updates
-
-Before a major version update, make a copy of this directory. (We like to
-keep the old version around for a short time after major updates.) Add a
-top-level attribute to `top-level/all-packages.nix`.
-
-1. Update the URL in `pkgs/development/libraries/qt-5/$VERSION/fetch.sh`.
-2. From the top of the Nixpkgs tree, run
- `./maintainers/scripts/fetch-kde-qt.sh > pkgs/development/libraries/qt-5/$VERSION/srcs.nix`.
-3. Check that the new packages build correctly.
-4. Commit the changes and open a pull request.
-
-*/
-
-{
- newScope,
- stdenv, fetchurl, fetchFromGitHub, fetchpatch, makeSetupHook, makeWrapper,
- bison, cups ? null, harfbuzz, libGL, perl,
- gstreamer, gst-plugins-base, gtk3, dconf,
- llvmPackages_5,
-
- # options
- developerBuild ? false,
- decryptSslTraffic ? false,
- debug ? false,
-}:
-
-with stdenv.lib;
-
-let
-
- qtCompatVersion = srcs.qtbase.version;
-
- stdenvActual = if stdenv.cc.isClang then llvmPackages_5.stdenv else stdenv;
-
- mirror = "https://download.qt.io";
- srcs = import ./srcs.nix { inherit fetchurl; inherit mirror; } // {
- # Community port of the now unmaintained upstream qtwebkit.
- qtwebkit = {
- src = fetchFromGitHub {
- owner = "annulen";
- repo = "webkit";
- rev = "4ce8ebc4094512b9916bfa5984065e95ac97c9d8";
- sha256 = "05h1xnxzbf7sp3plw5dndsvpf6iigh0bi4vlj4svx0hkf1giakjf";
- };
- version = "5.212-alpha-01-26-2018";
- };
- };
-
- patches = {
- qtbase = [
- ./qtbase.patch
- ./qtbase-fixguicmake.patch
- ];
- qtdeclarative = [ ./qtdeclarative.patch ];
- qtscript = [
- ./qtscript.patch
- # needed due to changes in gcc 8.3, see https://bugreports.qt.io/browse/QTBUG-74196
- # fixed in qtscript 5.12.2
- (fetchpatch {
- url = "https://github.com/qt/qtscript/commit/97ec1d1882a83c23c91f0f7daea48e05858d8c32.diff";
- sha256 = "0khrapq13xzvxckzc9l7gqyjwibyd98vyqy6gmyhvsbm2kq8n6wi";
- })
- ];
- qtserialport = [ ./qtserialport.patch ];
- qttools = [ ./qttools.patch ];
- qtwebengine = [
- ./qtwebengine-no-build-skip.patch
- ./qtwebengine-darwin-no-platform-check.patch
- # https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/707
- # https://bugreports.qt.io/browse/QTBUG-77037
- (fetchpatch {
- name = "fix-build-with-pulseaudio-13.0.patch";
- url = "https://git.archlinux.org/svntogit/packages.git/plain/trunk/qtbug-77037-workaround.patch?h=packages/qt5-webengine&id=fc77d6b3d5ec74e421b58f199efceb2593cbf951";
- sha256 = "1gv733qfdn9746nbqqxzyjx4ijjqkkb7zb71nxax49nna5bri3am";
- })
- ];
- qtwebkit = [ ./qtwebkit.patch ];
- };
-
- qtModule =
- import ../qtModule.nix
- {
- inherit perl;
- inherit (stdenv) lib;
- # Use a variant of mkDerivation that does not include wrapQtApplications
- # to avoid cyclic dependencies between Qt modules.
- mkDerivation =
- import ../mkDerivation.nix
- { inherit (stdenv) lib; inherit debug; wrapQtAppsHook = null; }
- stdenvActual.mkDerivation;
- }
- { inherit self srcs patches; };
-
- addPackages = self: with self;
- let
- callPackage = self.newScope { inherit qtCompatVersion qtModule srcs; };
- in {
-
- mkDerivationWith =
- import ../mkDerivation.nix
- { inherit (stdenv) lib; inherit debug; inherit (self) wrapQtAppsHook; };
-
- mkDerivation = mkDerivationWith stdenvActual.mkDerivation;
-
- qtbase = callPackage ../modules/qtbase.nix {
- inherit (srcs.qtbase) src version;
- patches = patches.qtbase;
- inherit bison cups harfbuzz libGL;
- withGtk3 = true; inherit dconf gtk3;
- inherit developerBuild decryptSslTraffic;
- };
-
- qtcharts = callPackage ../modules/qtcharts.nix {};
- qtconnectivity = callPackage ../modules/qtconnectivity.nix {};
- qtdeclarative = callPackage ../modules/qtdeclarative.nix {};
- qtdoc = callPackage ../modules/qtdoc.nix {};
- qtgraphicaleffects = callPackage ../modules/qtgraphicaleffects.nix {};
- qtimageformats = callPackage ../modules/qtimageformats.nix {};
- qtlocation = callPackage ../modules/qtlocation.nix { };
- qtmacextras = callPackage ../modules/qtmacextras.nix {};
- qtmultimedia = callPackage ../modules/qtmultimedia.nix {
- inherit gstreamer gst-plugins-base;
- };
- qtnetworkauth = callPackage ../modules/qtnetworkauth.nix {};
- qtquick1 = null;
- qtquickcontrols = callPackage ../modules/qtquickcontrols.nix {};
- qtquickcontrols2 = callPackage ../modules/qtquickcontrols2.nix {};
- qtscript = callPackage ../modules/qtscript.nix {};
- qtsensors = callPackage ../modules/qtsensors.nix {};
- qtserialport = callPackage ../modules/qtserialport.nix {};
- qtspeech = callPackage ../modules/qtspeech.nix {};
- qtsvg = callPackage ../modules/qtsvg.nix {};
- qttools = callPackage ../modules/qttools.nix {};
- qttranslations = callPackage ../modules/qttranslations.nix {};
- qtvirtualkeyboard = callPackage ../modules/qtvirtualkeyboard.nix {};
- qtwayland = callPackage ../modules/qtwayland.nix {};
- qtwebchannel = callPackage ../modules/qtwebchannel.nix {};
- qtwebengine = callPackage ../modules/qtwebengine.nix {};
- qtwebglplugin = callPackage ../modules/qtwebglplugin.nix {};
- qtwebkit = callPackage ../modules/qtwebkit.nix {};
- qtwebsockets = callPackage ../modules/qtwebsockets.nix {};
- qtwebview = callPackage ../modules/qtwebview.nix {};
- qtx11extras = callPackage ../modules/qtx11extras.nix {};
- qtxmlpatterns = callPackage ../modules/qtxmlpatterns.nix {};
-
- env = callPackage ../qt-env.nix {};
- full = env "qt-full-${qtbase.version}" ([
- qtcharts qtconnectivity qtdeclarative qtdoc qtgraphicaleffects
- qtimageformats qtlocation qtmultimedia qtquickcontrols qtquickcontrols2
- qtscript qtsensors qtserialport qtsvg qttools qttranslations
- qtvirtualkeyboard qtwebchannel qtwebengine qtwebkit qtwebsockets
- qtwebview qtx11extras qtxmlpatterns
- ] ++ optional (!stdenv.isDarwin) qtwayland
- ++ optional (stdenv.isDarwin) qtmacextras);
-
- qmake = makeSetupHook {
- deps = [ self.qtbase.dev ];
- substitutions = {
- fix_qmake_libtool = ../hooks/fix-qmake-libtool.sh;
- };
- } ../hooks/qmake-hook.sh;
-
- wrapQtAppsHook = makeSetupHook {
- deps =
- [ self.qtbase.dev makeWrapper ]
- ++ optional stdenv.isLinux self.qtwayland.dev;
- } ../hooks/wrap-qt-apps-hook.sh;
- };
-
- self = makeScope newScope addPackages;
-
-in self
diff --git a/pkgs/development/libraries/qt-5/5.11/fetch.sh b/pkgs/development/libraries/qt-5/5.11/fetch.sh
deleted file mode 100644
index 2ab3dd71c24fb0d871b336f5906cb0d5f92938c0..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-5/5.11/fetch.sh
+++ /dev/null
@@ -1 +0,0 @@
-WGET_ARGS=( http://download.qt.io/official_releases/qt/5.11/5.11.3/submodules/ )
diff --git a/pkgs/development/libraries/qt-5/5.11/qtbase-fixguicmake.patch b/pkgs/development/libraries/qt-5/5.11/qtbase-fixguicmake.patch
deleted file mode 100644
index 8b46d432812a8b457deda428f33f44195ca8aae1..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-5/5.11/qtbase-fixguicmake.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff --git a/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in b/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
-index 0bbc871..3673634 100644
---- a/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
-+++ b/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
-@@ -286,7 +286,7 @@ if (NOT TARGET Qt5::$${CMAKE_MODULE_NAME})
- macro(_populate_$${CMAKE_MODULE_NAME}_plugin_properties Plugin Configuration PLUGIN_LOCATION)
- set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
-
-- set(imported_location \"$${CMAKE_PLUGIN_DIR}${PLUGIN_LOCATION}\")
-+ set(imported_location \"${PLUGIN_LOCATION}\")
- _qt5_$${CMAKE_MODULE_NAME}_check_file_exists(${imported_location})
- set_target_properties(Qt5::${Plugin} PROPERTIES
- \"IMPORTED_LOCATION_${Configuration}\" ${imported_location}
-diff --git a/mkspecs/features/data/cmake/Qt5PluginTarget.cmake.in b/mkspecs/features/data/cmake/Qt5PluginTarget.cmake.in
-index 5baf0fd..3583745 100644
---- a/mkspecs/features/data/cmake/Qt5PluginTarget.cmake.in
-+++ b/mkspecs/features/data/cmake/Qt5PluginTarget.cmake.in
-@@ -2,10 +2,10 @@
- add_library(Qt5::$$CMAKE_PLUGIN_NAME MODULE IMPORTED)
-
- !!IF !isEmpty(CMAKE_RELEASE_TYPE)
--_populate_$${CMAKE_MODULE_NAME}_plugin_properties($$CMAKE_PLUGIN_NAME RELEASE \"$${CMAKE_PLUGIN_LOCATION_RELEASE}\")
-+_populate_$${CMAKE_MODULE_NAME}_plugin_properties($$CMAKE_PLUGIN_NAME RELEASE \"$${CMAKE_PLUGIN_DIR}$${CMAKE_PLUGIN_LOCATION_RELEASE}\")
- !!ENDIF
- !!IF !isEmpty(CMAKE_DEBUG_TYPE)
--_populate_$${CMAKE_MODULE_NAME}_plugin_properties($$CMAKE_PLUGIN_NAME DEBUG \"$${CMAKE_PLUGIN_LOCATION_DEBUG}\")
-+_populate_$${CMAKE_MODULE_NAME}_plugin_properties($$CMAKE_PLUGIN_NAME DEBUG \"$${CMAKE_PLUGIN_DIR}$${CMAKE_PLUGIN_LOCATION_DEBUG}\")
- !!ENDIF
-
- list(APPEND Qt5$${CMAKE_MODULE_NAME}_PLUGINS Qt5::$$CMAKE_PLUGIN_NAME)
diff --git a/pkgs/development/libraries/qt-5/5.11/qtbase.patch b/pkgs/development/libraries/qt-5/5.11/qtbase.patch
deleted file mode 100644
index 7d8407f6daf86dcbe636f7d2b4abef3661d22596..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-5/5.11/qtbase.patch
+++ /dev/null
@@ -1,1106 +0,0 @@
-diff -ur qtbase-everywhere-src-5.11.3-orig/mkspecs/common/mac.conf qtbase-everywhere-src-5.11.3/mkspecs/common/mac.conf
---- qtbase-everywhere-src-5.11.3-orig/mkspecs/common/mac.conf 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/mkspecs/common/mac.conf 2019-01-31 00:42:55.843577249 +0100
-@@ -23,7 +23,7 @@
-
- QMAKE_FIX_RPATH = install_name_tool -id
-
--QMAKE_LFLAGS_RPATH = -Wl,-rpath,
-+QMAKE_LFLAGS_RPATH =
- QMAKE_LFLAGS_GCSECTIONS = -Wl,-dead_strip
-
- QMAKE_LFLAGS_REL_RPATH =
-diff -ur qtbase-everywhere-src-5.11.3-orig/mkspecs/features/create_cmake.prf qtbase-everywhere-src-5.11.3/mkspecs/features/create_cmake.prf
---- qtbase-everywhere-src-5.11.3-orig/mkspecs/features/create_cmake.prf 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/mkspecs/features/create_cmake.prf 2019-01-31 00:42:55.843577249 +0100
-@@ -21,7 +21,7 @@
- # at cmake time whether package has been found via a symlink, and correct
- # that to an absolute path. This is only done for installations to
- # the /usr or / prefix.
--CMAKE_INSTALL_LIBS_DIR = $$cmakeTargetPath($$[QT_INSTALL_LIBS])
-+CMAKE_INSTALL_LIBS_DIR = $$cmakeTargetPath($$NIX_OUTPUT_OUT/lib/)
- contains(CMAKE_INSTALL_LIBS_DIR, ^(/usr)?/lib(64)?.*): CMAKE_USR_MOVE_WORKAROUND = $$CMAKE_INSTALL_LIBS_DIR
-
- CMAKE_OUT_DIR = $$MODULE_BASE_OUTDIR/lib/cmake
-@@ -51,45 +51,20 @@
- $$cmake_extra_source_includes.output
- }
-
--CMAKE_INCLUDE_DIR = $$cmakeRelativePath($$[QT_INSTALL_HEADERS], $$[QT_INSTALL_PREFIX])
--contains(CMAKE_INCLUDE_DIR, "^\\.\\./.*") {
-- CMAKE_INCLUDE_DIR = $$[QT_INSTALL_HEADERS]/
-- CMAKE_INCLUDE_DIR_IS_ABSOLUTE = True
--}
-+CMAKE_INCLUDE_DIR = $$NIX_OUTPUT_DEV/include/
-+CMAKE_INCLUDE_DIR_IS_ABSOLUTE = True
-
--CMAKE_LIB_DIR = $$cmakeRelativePath($$[QT_INSTALL_LIBS], $$[QT_INSTALL_PREFIX])
--contains(CMAKE_LIB_DIR,"^\\.\\./.*") {
-- CMAKE_LIB_DIR = $$[QT_INSTALL_LIBS]/
-- CMAKE_LIB_DIR_IS_ABSOLUTE = True
--} else {
-- CMAKE_RELATIVE_INSTALL_LIBS_DIR = $$cmakeRelativePath($$[QT_INSTALL_PREFIX], $$[QT_INSTALL_LIBS])
-- # We need to go up another two levels because the CMake files are
-- # installed in $${CMAKE_LIB_DIR}/cmake/Qt5$${CMAKE_MODULE_NAME}
-- CMAKE_RELATIVE_INSTALL_DIR = "$${CMAKE_RELATIVE_INSTALL_LIBS_DIR}../../"
--}
-+CMAKE_BIN_DIR = $$NIX_OUTPUT_BIN/bin/
-+CMAKE_BIN_DIR_IS_ABSOLUTE = True
-
--CMAKE_BIN_DIR = $$cmakeRelativePath($$[QT_HOST_BINS], $$[QT_INSTALL_PREFIX])
--contains(CMAKE_BIN_DIR, "^\\.\\./.*") {
-- CMAKE_BIN_DIR = $$[QT_HOST_BINS]/
-- CMAKE_BIN_DIR_IS_ABSOLUTE = True
--}
-+CMAKE_LIB_DIR = $$NIX_OUTPUT_OUT/lib/
-+CMAKE_LIB_DIR_IS_ABSOLUTE = True
-
--CMAKE_PLUGIN_DIR = $$cmakeRelativePath($$[QT_INSTALL_PLUGINS], $$[QT_INSTALL_PREFIX])
--contains(CMAKE_PLUGIN_DIR, "^\\.\\./.*") {
-- CMAKE_PLUGIN_DIR = $$[QT_INSTALL_PLUGINS]/
-- CMAKE_PLUGIN_DIR_IS_ABSOLUTE = True
--}
--
--win32:!static:!staticlib {
-- CMAKE_DLL_DIR = $$cmakeRelativePath($$[QT_INSTALL_BINS], $$[QT_INSTALL_PREFIX])
-- contains(CMAKE_DLL_DIR, "^\\.\\./.*") {
-- CMAKE_DLL_DIR = $$[QT_INSTALL_BINS]/
-- CMAKE_DLL_DIR_IS_ABSOLUTE = True
-- }
--} else {
-- CMAKE_DLL_DIR = $$CMAKE_LIB_DIR
-- CMAKE_DLL_DIR_IS_ABSOLUTE = $$CMAKE_LIB_DIR_IS_ABSOLUTE
--}
-+CMAKE_PLUGIN_DIR = $$NIX_OUTPUT_PLUGIN/
-+CMAKE_PLUGIN_DIR_IS_ABSOLUTE = True
-+
-+CMAKE_DLL_DIR = $$NIX_OUTPUT_OUT/lib/
-+CMAKE_DLL_DIR_IS_ABSOLUTE = True
-
- static|staticlib:CMAKE_STATIC_TYPE = true
-
-@@ -169,7 +144,7 @@
- cmake_target_file
-
- cmake_qt5_plugin_file.files = $$cmake_target_file.output
-- cmake_qt5_plugin_file.path = $$[QT_INSTALL_LIBS]/cmake/Qt5$${CMAKE_MODULE_NAME}
-+ cmake_qt5_plugin_file.path = $$NIX_OUTPUT_OUT/lib/cmake/Qt5$${CMAKE_MODULE_NAME}
- INSTALLS += cmake_qt5_plugin_file
-
- return()
-@@ -316,7 +291,7 @@
- cmake_qt5_module_files.files += $$cmake_macros_file.output
- }
-
--cmake_qt5_module_files.path = $$[QT_INSTALL_LIBS]/cmake/Qt5$${CMAKE_MODULE_NAME}
-+cmake_qt5_module_files.path = $$NIX_OUTPUT_OUT/lib/cmake/Qt5$${CMAKE_MODULE_NAME}
-
- # We are generating cmake files. Most developers of Qt are not aware of cmake,
- # so we require automatic tests to be available. The only module which should
-diff -ur qtbase-everywhere-src-5.11.3-orig/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in qtbase-everywhere-src-5.11.3/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
---- qtbase-everywhere-src-5.11.3-orig/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in 2019-01-31 00:42:55.843577249 +0100
-@@ -3,30 +3,6 @@
- message(FATAL_ERROR \"Qt 5 $${CMAKE_MODULE_NAME} module requires at least CMake version 3.1.0\")
- endif()
-
--!!IF !isEmpty(CMAKE_USR_MOVE_WORKAROUND)
--!!IF !isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
--set(_qt5$${CMAKE_MODULE_NAME}_install_prefix \"$$[QT_INSTALL_PREFIX]\")
--!!ELSE
--get_filename_component(_IMPORT_PREFIX \"${CMAKE_CURRENT_LIST_FILE}\" PATH)
--# Use original install prefix when loaded through a
--# cross-prefix symbolic link such as /lib -> /usr/lib.
--get_filename_component(_realCurr \"${_IMPORT_PREFIX}\" REALPATH)
--get_filename_component(_realOrig \"$$CMAKE_INSTALL_LIBS_DIR/cmake/Qt5$${CMAKE_MODULE_NAME}\" REALPATH)
--if(_realCurr STREQUAL _realOrig)
-- get_filename_component(_qt5$${CMAKE_MODULE_NAME}_install_prefix \"$$CMAKE_INSTALL_LIBS_DIR/$${CMAKE_RELATIVE_INSTALL_LIBS_DIR}\" ABSOLUTE)
--else()
-- get_filename_component(_qt5$${CMAKE_MODULE_NAME}_install_prefix \"${CMAKE_CURRENT_LIST_DIR}/$${CMAKE_RELATIVE_INSTALL_DIR}\" ABSOLUTE)
--endif()
--unset(_realOrig)
--unset(_realCurr)
--unset(_IMPORT_PREFIX)
--!!ENDIF
--!!ELIF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
--get_filename_component(_qt5$${CMAKE_MODULE_NAME}_install_prefix \"${CMAKE_CURRENT_LIST_DIR}/$${CMAKE_RELATIVE_INSTALL_DIR}\" ABSOLUTE)
--!!ELSE
--set(_qt5$${CMAKE_MODULE_NAME}_install_prefix \"$$[QT_INSTALL_PREFIX]\")
--!!ENDIF
--
- !!IF !equals(TEMPLATE, aux)
- # For backwards compatibility only. Use Qt5$${CMAKE_MODULE_NAME}_VERSION instead.
- set(Qt5$${CMAKE_MODULE_NAME}_VERSION_STRING "$$eval(QT.$${MODULE}.VERSION)")
-@@ -52,11 +28,7 @@
- macro(_populate_$${CMAKE_MODULE_NAME}_target_properties Configuration LIB_LOCATION IMPLIB_LOCATION)
- set_property(TARGET Qt5::$${CMAKE_MODULE_NAME} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
-
--!!IF isEmpty(CMAKE_DLL_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_DLL_DIR}${LIB_LOCATION}\")
--!!ELSE
- set(imported_location \"$${CMAKE_DLL_DIR}${LIB_LOCATION}\")
--!!ENDIF
- _qt5_$${CMAKE_MODULE_NAME}_check_file_exists(${imported_location})
- set_target_properties(Qt5::$${CMAKE_MODULE_NAME} PROPERTIES
- \"INTERFACE_LINK_LIBRARIES\" \"${_Qt5$${CMAKE_MODULE_NAME}_LIB_DEPENDENCIES}\"
-@@ -69,11 +41,7 @@
- )
-
- !!IF !isEmpty(CMAKE_WINDOWS_BUILD)
--!!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
-- set(imported_implib \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}${IMPLIB_LOCATION}\")
--!!ELSE
- set(imported_implib \"IMPORTED_IMPLIB_${Configuration}\" \"$${CMAKE_LIB_DIR}${IMPLIB_LOCATION}\")
--!!ENDIF
- _qt5_$${CMAKE_MODULE_NAME}_check_file_exists(${imported_implib})
- if(NOT \"${IMPLIB_LOCATION}\" STREQUAL \"\")
- set_target_properties(Qt5::$${CMAKE_MODULE_NAME} PROPERTIES
-@@ -89,24 +57,13 @@
- !!IF !no_module_headers
- !!IF !isEmpty(CMAKE_BUILD_IS_FRAMEWORK)
- set(_Qt5$${CMAKE_MODULE_NAME}_OWN_INCLUDE_DIRS
-- \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}Qt$${CMAKE_MODULE_NAME}.framework\"
-- \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}Qt$${CMAKE_MODULE_NAME}.framework/Headers\"
-+ \"$${CMAKE_LIB_DIR}Qt$${CMAKE_MODULE_NAME}.framework\"
-+ \"$${CMAKE_LIB_DIR}Qt$${CMAKE_MODULE_NAME}.framework/Headers\"
- )
- !!IF isEmpty(CMAKE_NO_PRIVATE_INCLUDES)
- set(Qt5$${CMAKE_MODULE_NAME}_PRIVATE_INCLUDE_DIRS
-- \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}Qt$${CMAKE_MODULE_NAME}.framework/Versions/$$section(VERSION, ., 0, 0)/Headers/$$VERSION/\"
-- \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}Qt$${CMAKE_MODULE_NAME}.framework/Versions/$$section(VERSION, ., 0, 0)/Headers/$$VERSION/$${MODULE_INCNAME}\"
-- )
--!!ELSE
-- set(Qt5$${CMAKE_MODULE_NAME}_PRIVATE_INCLUDE_DIRS \"\")
--!!ENDIF
--!!ELSE
--!!IF isEmpty(CMAKE_INCLUDE_DIR_IS_ABSOLUTE)
-- set(_Qt5$${CMAKE_MODULE_NAME}_OWN_INCLUDE_DIRS \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$$CMAKE_INCLUDE_DIR\" \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_INCLUDE_DIR}$${MODULE_INCNAME}\")
--!!IF isEmpty(CMAKE_NO_PRIVATE_INCLUDES)
-- set(Qt5$${CMAKE_MODULE_NAME}_PRIVATE_INCLUDE_DIRS
-- \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_INCLUDE_DIR}$${MODULE_INCNAME}/$$VERSION\"
-- \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_INCLUDE_DIR}$${MODULE_INCNAME}/$$VERSION/$${MODULE_INCNAME}\"
-+ \"$${CMAKE_LIB_DIR}Qt$${CMAKE_MODULE_NAME}.framework/Versions/$$section(VERSION, ., 0, 0)/Headers/$$VERSION/\"
-+ \"$${CMAKE_LIB_DIR}Qt$${CMAKE_MODULE_NAME}.framework/Versions/$$section(VERSION, ., 0, 0)/Headers/$$VERSION/$${MODULE_INCNAME}\"
- )
- !!ELSE
- set(Qt5$${CMAKE_MODULE_NAME}_PRIVATE_INCLUDE_DIRS \"\")
-@@ -122,7 +79,6 @@
- set(Qt5$${CMAKE_MODULE_NAME}_PRIVATE_INCLUDE_DIRS \"\")
- !!ENDIF
- !!ENDIF
--!!ENDIF
- !!IF !isEmpty(CMAKE_ADD_SOURCE_INCLUDE_DIRS)
- include(\"${CMAKE_CURRENT_LIST_DIR}/ExtraSourceIncludes.cmake\" OPTIONAL)
- !!ENDIF
-@@ -269,25 +225,13 @@
- !!IF !isEmpty(CMAKE_FIND_OTHER_LIBRARY_BUILD)
- !!IF isEmpty(CMAKE_DEBUG_TYPE)
- !!IF !isEmpty(CMAKE_STATIC_WINDOWS_BUILD)
--!!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
-- if (EXISTS \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}$${CMAKE_IMPLIB_FILE_LOCATION_DEBUG}\" )
--!!ELSE // CMAKE_LIB_DIR_IS_ABSOLUTE
- if (EXISTS \"$${CMAKE_IMPLIB_FILE_LOCATION_DEBUG}\" )
--!!ENDIF // CMAKE_LIB_DIR_IS_ABSOLUTE
- _populate_$${CMAKE_MODULE_NAME}_target_properties(DEBUG \"$${CMAKE_IMPLIB_FILE_LOCATION_DEBUG}\" \"\" )
- !!ELSE // CMAKE_STATIC_WINDOWS_BUILD
- if (EXISTS
--!!IF isEmpty(CMAKE_DLL_DIR_IS_ABSOLUTE)
-- \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_DLL_DIR}$${CMAKE_LIB_FILE_LOCATION_DEBUG}\"
--!!ELSE
- \"$${CMAKE_LIB_FILE_LOCATION_DEBUG}\"
--!!ENDIF
- AND EXISTS
--!!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
-- \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}$${CMAKE_IMPLIB_FILE_LOCATION_DEBUG}\" )
--!!ELSE
- \"$${CMAKE_IMPLIB_FILE_LOCATION_DEBUG}\" )
--!!ENDIF
- _populate_$${CMAKE_MODULE_NAME}_target_properties(DEBUG \"$${CMAKE_LIB_FILE_LOCATION_DEBUG}\" \"$${CMAKE_IMPLIB_FILE_LOCATION_DEBUG}\" )
- !!ENDIF // CMAKE_STATIC_WINDOWS_BUILD
- endif()
-@@ -306,25 +250,13 @@
- !!IF !isEmpty(CMAKE_FIND_OTHER_LIBRARY_BUILD)
- !!IF isEmpty(CMAKE_RELEASE_TYPE)
- !!IF !isEmpty(CMAKE_STATIC_WINDOWS_BUILD)
--!!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
-- if (EXISTS \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}$${CMAKE_IMPLIB_FILE_LOCATION_RELEASE}\" )
--!!ELSE // CMAKE_LIB_DIR_IS_ABSOLUTE
- if (EXISTS \"$${CMAKE_IMPLIB_FILE_LOCATION_RELEASE}\" )
--!!ENDIF // CMAKE_LIB_DIR_IS_ABSOLUTE
- _populate_$${CMAKE_MODULE_NAME}_target_properties(RELEASE \"$${CMAKE_IMPLIB_FILE_LOCATION_RELEASE}\" \"\" )
- !!ELSE // CMAKE_STATIC_WINDOWS_BUILD
- if (EXISTS
--!!IF isEmpty(CMAKE_DLL_DIR_IS_ABSOLUTE)
-- \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_DLL_DIR}$${CMAKE_LIB_FILE_LOCATION_RELEASE}\"
--!!ELSE
- \"$${CMAKE_LIB_FILE_LOCATION_RELEASE}\"
--!!ENDIF
- AND EXISTS
--!!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
-- \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}$${CMAKE_IMPLIB_FILE_LOCATION_RELEASE}\" )
--!!ELSE
- \"$${CMAKE_IMPLIB_FILE_LOCATION_RELEASE}\" )
--!!ENDIF
- _populate_$${CMAKE_MODULE_NAME}_target_properties(RELEASE \"$${CMAKE_LIB_FILE_LOCATION_RELEASE}\" \"$${CMAKE_IMPLIB_FILE_LOCATION_RELEASE}\" )
- !!ENDIF // CMAKE_STATIC_WINDOWS_BUILD
- endif()
-@@ -343,11 +275,7 @@
- macro(_populate_$${CMAKE_MODULE_NAME}_plugin_properties Plugin Configuration PLUGIN_LOCATION)
- set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
-
--!!IF isEmpty(CMAKE_PLUGIN_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_PLUGIN_DIR}${PLUGIN_LOCATION}\")
--!!ELSE
- set(imported_location \"$${CMAKE_PLUGIN_DIR}${PLUGIN_LOCATION}\")
--!!ENDIF
- _qt5_$${CMAKE_MODULE_NAME}_check_file_exists(${imported_location})
- set_target_properties(Qt5::${Plugin} PROPERTIES
- \"IMPORTED_LOCATION_${Configuration}\" ${imported_location}
-diff -ur qtbase-everywhere-src-5.11.3-orig/mkspecs/features/mac/default_post.prf qtbase-everywhere-src-5.11.3/mkspecs/features/mac/default_post.prf
---- qtbase-everywhere-src-5.11.3-orig/mkspecs/features/mac/default_post.prf 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/mkspecs/features/mac/default_post.prf 2019-01-31 00:45:14.585621324 +0100
-@@ -62,199 +62,3 @@
- }
- }
- }
--
--# Add the same default rpaths as Xcode does for new projects.
--# This is especially important for iOS/tvOS/watchOS where no other option is possible.
--!no_default_rpath {
-- QMAKE_RPATHDIR += @executable_path/Frameworks
-- equals(TEMPLATE, lib):!plugin:lib_bundle: QMAKE_RPATHDIR += @loader_path/Frameworks
--}
--
--# Don't pass -headerpad_max_install_names when using Bitcode.
--# In that case the linker emits a warning stating that the flag is ignored when
--# used with bitcode, for reasons that cannot be determined (rdar://problem/20748962).
--# Using this flag is also unnecessary in practice on UIKit platforms since they
--# are sandboxed, and only UIKit platforms support bitcode to begin with.
--!bitcode: QMAKE_LFLAGS += $$QMAKE_LFLAGS_HEADERPAD
--
--app_extension_api_only {
-- QMAKE_CFLAGS += $$QMAKE_CFLAGS_APPLICATION_EXTENSION
-- QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_APPLICATION_EXTENSION
-- QMAKE_CXXFLAGS_PRECOMPILE += $$QMAKE_CFLAGS_APPLICATION_EXTENSION
-- QMAKE_LFLAGS += $$QMAKE_CFLAGS_APPLICATION_EXTENSION
--}
--
--macx-xcode {
-- qmake_pkginfo_typeinfo.name = QMAKE_PKGINFO_TYPEINFO
-- !isEmpty(QMAKE_PKGINFO_TYPEINFO): \
-- qmake_pkginfo_typeinfo.value = $$QMAKE_PKGINFO_TYPEINFO
-- else: \
-- qmake_pkginfo_typeinfo.value = "????"
-- QMAKE_MAC_XCODE_SETTINGS += qmake_pkginfo_typeinfo
--
-- !isEmpty(VERSION) {
-- l = $$split(VERSION, '.') 0 0 # make sure there are at least three
-- VER_MAJ = $$member(l, 0, 0)
-- VER_MIN = $$member(l, 1, 1)
-- VER_PAT = $$member(l, 2, 2)
-- unset(l)
--
-- qmake_full_version.name = QMAKE_FULL_VERSION
-- qmake_full_version.value = $${VER_MAJ}.$${VER_MIN}.$${VER_PAT}
-- QMAKE_MAC_XCODE_SETTINGS += qmake_full_version
--
-- qmake_short_version.name = QMAKE_SHORT_VERSION
-- qmake_short_version.value = $${VER_MAJ}.$${VER_MIN}
-- QMAKE_MAC_XCODE_SETTINGS += qmake_short_version
-- }
--
-- !isEmpty(QMAKE_XCODE_DEBUG_INFORMATION_FORMAT) {
-- debug_information_format.name = DEBUG_INFORMATION_FORMAT
-- debug_information_format.value = $$QMAKE_XCODE_DEBUG_INFORMATION_FORMAT
-- debug_information_format.build = debug
-- QMAKE_MAC_XCODE_SETTINGS += debug_information_format
-- }
--
-- QMAKE_XCODE_ARCHS =
--
-- arch_device.name = "ARCHS[sdk=$${device.sdk}*]"
-- arch_device.value = $$QMAKE_APPLE_DEVICE_ARCHS
-- QMAKE_XCODE_ARCHS += $$QMAKE_APPLE_DEVICE_ARCHS
-- QMAKE_MAC_XCODE_SETTINGS += arch_device
--
-- simulator {
-- arch_simulator.name = "ARCHS[sdk=$${simulator.sdk}*]"
-- arch_simulator.value = $$QMAKE_APPLE_SIMULATOR_ARCHS
-- QMAKE_XCODE_ARCHS += $$QMAKE_APPLE_SIMULATOR_ARCHS
-- QMAKE_MAC_XCODE_SETTINGS += arch_simulator
-- }
--
-- only_active_arch.name = ONLY_ACTIVE_ARCH
-- only_active_arch.value = YES
-- only_active_arch.build = debug
-- QMAKE_MAC_XCODE_SETTINGS += only_active_arch
--} else {
-- device|!simulator: VALID_DEVICE_ARCHS = $$QMAKE_APPLE_DEVICE_ARCHS
-- simulator: VALID_SIMULATOR_ARCHS = $$QMAKE_APPLE_SIMULATOR_ARCHS
-- VALID_ARCHS = $$VALID_DEVICE_ARCHS $$VALID_SIMULATOR_ARCHS
--
-- isEmpty(VALID_ARCHS): \
-- error("QMAKE_APPLE_DEVICE_ARCHS or QMAKE_APPLE_SIMULATOR_ARCHS must contain at least one architecture")
--
-- single_arch: VALID_ARCHS = $$first(VALID_ARCHS)
--
-- ACTIVE_ARCHS = $(filter $(EXPORT_VALID_ARCHS), $(ARCHS))
-- ARCH_ARGS = $(foreach arch, $(if $(EXPORT_ACTIVE_ARCHS), $(EXPORT_ACTIVE_ARCHS), $(EXPORT_VALID_ARCHS)), -arch $(arch))
--
-- QMAKE_EXTRA_VARIABLES += VALID_ARCHS ACTIVE_ARCHS ARCH_ARGS
--
-- arch_flags = $(EXPORT_ARCH_ARGS)
--
-- QMAKE_CFLAGS += $$arch_flags
-- QMAKE_CXXFLAGS += $$arch_flags
-- QMAKE_LFLAGS += $$arch_flags
--
-- QMAKE_PCH_ARCHS = $$VALID_ARCHS
--
-- macos: deployment_target = $$QMAKE_MACOSX_DEPLOYMENT_TARGET
-- ios: deployment_target = $$QMAKE_IOS_DEPLOYMENT_TARGET
-- tvos: deployment_target = $$QMAKE_TVOS_DEPLOYMENT_TARGET
-- watchos: deployment_target = $$QMAKE_WATCHOS_DEPLOYMENT_TARGET
--
-- # If we're doing a simulator and device build, device and simulator
-- # architectures use different paths and flags for the sysroot and
-- # deployment target switch, so we must multiplex them across multiple
-- # architectures using -Xarch. Otherwise we fall back to the simple path.
-- # This is not strictly necessary, but results in cleaner command lines
-- # and makes it easier for people to override EXPORT_VALID_ARCHS to limit
-- # individual rules to a different set of architecture(s) from the overall
-- # build (such as machtest in QtCore).
-- simulator:device {
-- QMAKE_XARCH_CFLAGS =
-- QMAKE_XARCH_LFLAGS =
-- QMAKE_EXTRA_VARIABLES += QMAKE_XARCH_CFLAGS QMAKE_XARCH_LFLAGS
--
-- for (arch, VALID_ARCHS) {
-- contains(VALID_SIMULATOR_ARCHS, $$arch) {
-- sdk = $$simulator.sdk
-- version_identifier = $$simulator.deployment_identifier
-- } else {
-- sdk = $$device.sdk
-- version_identifier = $$device.deployment_identifier
-- }
--
-- version_min_flags = \
-- -Xarch_$${arch} \
-- -m$${version_identifier}-version-min=$$deployment_target
-- QMAKE_XARCH_CFLAGS_$${arch} = $$version_min_flags \
-- -Xarch_$${arch} \
-- -isysroot$$xcodeSDKInfo(Path, $$sdk)
-- QMAKE_XARCH_LFLAGS_$${arch} = $$version_min_flags \
-- -Xarch_$${arch} \
-- -Wl,-syslibroot,$$xcodeSDKInfo(Path, $$sdk)
--
-- QMAKE_XARCH_CFLAGS += $(EXPORT_QMAKE_XARCH_CFLAGS_$${arch})
-- QMAKE_XARCH_LFLAGS += $(EXPORT_QMAKE_XARCH_LFLAGS_$${arch})
--
-- QMAKE_EXTRA_VARIABLES += \
-- QMAKE_XARCH_CFLAGS_$${arch} \
-- QMAKE_XARCH_LFLAGS_$${arch}
-- }
--
-- QMAKE_CFLAGS += $(EXPORT_QMAKE_XARCH_CFLAGS)
-- QMAKE_CXXFLAGS += $(EXPORT_QMAKE_XARCH_CFLAGS)
-- QMAKE_LFLAGS += $(EXPORT_QMAKE_XARCH_LFLAGS)
-- } else {
-- simulator: \
-- version_identifier = $$simulator.deployment_identifier
-- else: \
-- version_identifier = $$device.deployment_identifier
-- version_min_flag = -m$${version_identifier}-version-min=$$deployment_target
-- QMAKE_CFLAGS += -isysroot $$QMAKE_MAC_SDK_PATH $$version_min_flag
-- QMAKE_CXXFLAGS += -isysroot $$QMAKE_MAC_SDK_PATH $$version_min_flag
-- QMAKE_LFLAGS += -Wl,-syslibroot,$$QMAKE_MAC_SDK_PATH $$version_min_flag
-- }
--
-- # Enable precompiled headers for multiple architectures
-- QMAKE_CFLAGS_USE_PRECOMPILE =
-- for (arch, VALID_ARCHS) {
-- icc_pch_style: \
-- use_flag = "-pch-use "
-- else: \
-- use_flag = -include
--
-- # Only use Xarch with multi-arch, as the option confuses ccache
-- count(VALID_ARCHS, 1, greaterThan): \
-- QMAKE_CFLAGS_USE_PRECOMPILE += \
-- -Xarch_$${arch}
--
-- QMAKE_CFLAGS_USE_PRECOMPILE += \
-- $${use_flag}${QMAKE_PCH_OUTPUT_$${arch}}
-- }
-- icc_pch_style {
-- QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE -include ${QMAKE_PCH_INPUT}
-- QMAKE_CFLAGS_USE_PRECOMPILE =
-- } else {
-- QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
-- QMAKE_OBJCFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
-- QMAKE_OBJCXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
-- }
--
-- QMAKE_PCH_OUTPUT_EXT = _${QMAKE_PCH_ARCH}$${QMAKE_PCH_OUTPUT_EXT}
--}
--
--cache(QMAKE_XCODE_DEVELOPER_PATH, stash)
--!isEmpty(QMAKE_XCODE_VERSION): \
-- cache(QMAKE_XCODE_VERSION, stash)
--
--QMAKE_XCODE_LIBRARY_SUFFIX = $$qtPlatformTargetSuffix()
--
--xcode_product_bundle_identifier_setting.name = PRODUCT_BUNDLE_IDENTIFIER
--xcode_product_bundle_identifier_setting.value = $$QMAKE_TARGET_BUNDLE_PREFIX
--isEmpty(xcode_product_bundle_identifier_setting.value): \
-- xcode_product_bundle_identifier_setting.value = "com.yourcompany"
--xcode_product_bundle_target = $$QMAKE_BUNDLE
--isEmpty(xcode_product_bundle_target): \
-- xcode_product_bundle_target = ${PRODUCT_NAME:rfc1034identifier}
--xcode_product_bundle_identifier_setting.value = "$${xcode_product_bundle_identifier_setting.value}.$${xcode_product_bundle_target}"
--QMAKE_MAC_XCODE_SETTINGS += xcode_product_bundle_identifier_setting
-Only in qtbase-everywhere-src-5.11.3/mkspecs/features/mac: default_post.prf.orig
-diff -ur qtbase-everywhere-src-5.11.3-orig/mkspecs/features/mac/default_pre.prf qtbase-everywhere-src-5.11.3/mkspecs/features/mac/default_pre.prf
---- qtbase-everywhere-src-5.11.3-orig/mkspecs/features/mac/default_pre.prf 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/mkspecs/features/mac/default_pre.prf 2019-01-31 00:42:55.843577249 +0100
-@@ -1,60 +1,2 @@
- CONFIG = asset_catalogs rez $$CONFIG
- load(default_pre)
--
--isEmpty(QMAKE_XCODE_DEVELOPER_PATH) {
-- # Get path of Xcode's Developer directory
-- QMAKE_XCODE_DEVELOPER_PATH = $$system("/usr/bin/xcode-select --print-path 2>/dev/null")
-- isEmpty(QMAKE_XCODE_DEVELOPER_PATH): \
-- error("Xcode path is not set. Please use xcode-select to choose Xcode installation path.")
--
-- # Make sure Xcode path is valid
-- !exists($$QMAKE_XCODE_DEVELOPER_PATH): \
-- error("Xcode is not installed in $${QMAKE_XCODE_DEVELOPER_PATH}. Please use xcode-select to choose Xcode installation path.")
--}
--
--isEmpty(QMAKE_XCODEBUILD_PATH): \
-- QMAKE_XCODEBUILD_PATH = $$system("/usr/bin/xcrun -find xcodebuild 2>/dev/null")
--
--!isEmpty(QMAKE_XCODEBUILD_PATH) {
-- # Make sure Xcode is set up properly
-- !system("/usr/bin/xcrun xcodebuild -license check 2>/dev/null"): \
-- error("Xcode not set up properly. You need to confirm the license agreement by running 'sudo xcrun xcodebuild -license accept'.")
--
-- isEmpty(QMAKE_XCODE_VERSION) {
-- # Extract Xcode version using xcodebuild
-- xcode_version = $$system("/usr/bin/xcrun xcodebuild -version")
-- QMAKE_XCODE_VERSION = $$member(xcode_version, 1)
-- isEmpty(QMAKE_XCODE_VERSION): error("Could not resolve Xcode version.")
-- unset(xcode_version)
-- }
--}
--
--isEmpty(QMAKE_TARGET_BUNDLE_PREFIX) {
-- QMAKE_XCODE_PREFERENCES_FILE = $$(HOME)/Library/Preferences/com.apple.dt.Xcode.plist
-- exists($$QMAKE_XCODE_PREFERENCES_FILE): \
-- QMAKE_TARGET_BUNDLE_PREFIX = $$system("/usr/libexec/PlistBuddy -c 'print IDETemplateOptions:bundleIdentifierPrefix' $$QMAKE_XCODE_PREFERENCES_FILE 2>/dev/null")
--
-- !isEmpty(_QMAKE_CACHE_):!isEmpty(QMAKE_TARGET_BUNDLE_PREFIX): \
-- cache(QMAKE_TARGET_BUNDLE_PREFIX)
--}
--
--QMAKE_ASSET_CATALOGS_APP_ICON = AppIcon
--
--# Make the default debug info format for static debug builds
--# DWARF instead of DWARF with dSYM. This cuts down build times
--# for application debug builds significantly, as Xcode doesn't
--# have to pull out all the DWARF info from the Qt static libs
--# and put it into a dSYM file. We don't need that dSYM file in
--# the first place, since the information is available in the
--# object files inside the archives (static libraries).
--macx-xcode:qtConfig(static): \
-- QMAKE_XCODE_DEBUG_INFORMATION_FORMAT = dwarf
--
--# This variable is used by the xcode_dynamic_library_suffix
--# feature, which allows Xcode to choose the Qt libraries to link to
--# at build time, depending on the current Xcode SDK and configuration.
--QMAKE_XCODE_LIBRARY_SUFFIX_SETTING = QT_LIBRARY_SUFFIX
--
--xcode_copy_phase_strip_setting.name = COPY_PHASE_STRIP
--xcode_copy_phase_strip_setting.value = NO
--QMAKE_MAC_XCODE_SETTINGS += xcode_copy_phase_strip_setting
-diff -ur qtbase-everywhere-src-5.11.3-orig/mkspecs/features/mac/sdk.prf qtbase-everywhere-src-5.11.3/mkspecs/features/mac/sdk.prf
---- qtbase-everywhere-src-5.11.3-orig/mkspecs/features/mac/sdk.prf 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/mkspecs/features/mac/sdk.prf 2019-01-31 00:42:55.843577249 +0100
-@@ -1,58 +1 @@
-
--isEmpty(QMAKE_MAC_SDK): \
-- error("QMAKE_MAC_SDK must be set when using CONFIG += sdk.")
--
--contains(QMAKE_MAC_SDK, .*/.*): \
-- error("QMAKE_MAC_SDK can only contain short-form SDK names (eg. macosx, iphoneos)")
--
--defineReplace(xcodeSDKInfo) {
-- info = $$1
-- equals(info, "Path"): \
-- infoarg = --show-sdk-path
-- equals(info, "PlatformPath"): \
-- infoarg = --show-sdk-platform-path
-- equals(info, "SDKVersion"): \
-- infoarg = --show-sdk-version
-- sdk = $$2
-- isEmpty(sdk): \
-- sdk = $$QMAKE_MAC_SDK
--
-- isEmpty(QMAKE_MAC_SDK.$${sdk}.$${info}) {
-- QMAKE_MAC_SDK.$${sdk}.$${info} = $$system("/usr/bin/xcrun --sdk $$sdk $$infoarg 2>/dev/null")
-- # --show-sdk-platform-path won't work for Command Line Tools; this is fine
-- # only used by the XCTest backend to testlib
-- isEmpty(QMAKE_MAC_SDK.$${sdk}.$${info}):if(!isEmpty(QMAKE_XCODEBUILD_PATH)|!equals(infoarg, "--show-sdk-platform-path")): \
-- error("Could not resolve SDK $$info for \'$$sdk\' using $$infoarg")
-- cache(QMAKE_MAC_SDK.$${sdk}.$${info}, set stash, QMAKE_MAC_SDK.$${sdk}.$${info})
-- }
--
-- return($$eval(QMAKE_MAC_SDK.$${sdk}.$${info}))
--}
--
--QMAKE_MAC_SDK_PATH = $$xcodeSDKInfo(Path)
--QMAKE_MAC_SDK_PLATFORM_PATH = $$xcodeSDKInfo(PlatformPath)
--QMAKE_MAC_SDK_VERSION = $$xcodeSDKInfo(SDKVersion)
--
--sysrootified =
--for(val, QMAKE_INCDIR_OPENGL): sysrootified += $${QMAKE_MAC_SDK_PATH}$$val
--QMAKE_INCDIR_OPENGL = $$sysrootified
--
--QMAKESPEC_NAME = $$basename(QMAKESPEC)
--
--# Resolve SDK version of various tools
--for(tool, $$list(QMAKE_CC QMAKE_CXX QMAKE_FIX_RPATH QMAKE_AR QMAKE_RANLIB QMAKE_LINK QMAKE_LINK_SHLIB QMAKE_ACTOOL QMAKE_LINK_C QMAKE_LINK_C_SHLIB)) {
-- tool_variable = QMAKE_MAC_SDK.$${QMAKESPEC_NAME}.$${QMAKE_MAC_SDK}.$${tool}
-- !isEmpty($$tool_variable) {
-- $$tool = $$eval($$tool_variable)
-- next()
-- }
--
-- value = $$eval($$tool)
-- isEmpty(value): next()
--
-- sysrooted = $$system("/usr/bin/xcrun -sdk $$QMAKE_MAC_SDK -find $$first(value) 2>/dev/null")
-- isEmpty(sysrooted): next()
--
-- $$tool = $$sysrooted $$member(value, 1, -1)
-- cache($$tool_variable, set stash, $$tool)
--}
-diff -ur qtbase-everywhere-src-5.11.3-orig/mkspecs/features/qml_module.prf qtbase-everywhere-src-5.11.3/mkspecs/features/qml_module.prf
---- qtbase-everywhere-src-5.11.3-orig/mkspecs/features/qml_module.prf 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/mkspecs/features/qml_module.prf 2019-01-31 00:42:55.843577249 +0100
-@@ -23,13 +23,8 @@
-
- load(qt_build_paths)
-
--qml1_target {
-- DESTDIR = $$MODULE_BASE_OUTDIR/imports/$$TARGETPATH
-- instbase = $$[QT_INSTALL_IMPORTS]
--} else {
-- DESTDIR = $$MODULE_BASE_OUTDIR/qml/$$TARGETPATH
-- instbase = $$[QT_INSTALL_QML]
--}
-+DESTDIR = $$MODULE_BASE_OUTDIR/qml/$$TARGETPATH
-+instbase = $$NIX_OUTPUT_QML
-
- !qml1_target:static: CONFIG += builtin_resources
-
-diff -ur qtbase-everywhere-src-5.11.3-orig/mkspecs/features/qml_plugin.prf qtbase-everywhere-src-5.11.3/mkspecs/features/qml_plugin.prf
---- qtbase-everywhere-src-5.11.3-orig/mkspecs/features/qml_plugin.prf 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/mkspecs/features/qml_plugin.prf 2019-01-31 00:42:55.844577264 +0100
-@@ -48,13 +48,8 @@
-
- load(qt_build_paths)
-
--qml1_target {
-- DESTDIR = $$MODULE_BASE_OUTDIR/imports/$$TARGETPATH
-- instbase = $$[QT_INSTALL_IMPORTS]
--} else {
-- DESTDIR = $$MODULE_BASE_OUTDIR/qml/$$TARGETPATH
-- instbase = $$[QT_INSTALL_QML]
--}
-+DESTDIR = $$MODULE_BASE_OUTDIR/qml/$$TARGETPATH
-+instbase = $$NIX_OUTPUT_QML
-
- target.path = $$instbase/$$TARGETPATH
- INSTALLS += target
-diff -ur qtbase-everywhere-src-5.11.3-orig/mkspecs/features/qt_app.prf qtbase-everywhere-src-5.11.3/mkspecs/features/qt_app.prf
---- qtbase-everywhere-src-5.11.3-orig/mkspecs/features/qt_app.prf 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/mkspecs/features/qt_app.prf 2019-01-31 00:42:55.844577264 +0100
-@@ -33,7 +33,7 @@
- target.path = $$[QT_HOST_BINS]
- } else {
- !build_pass:qtConfig(debug_and_release): CONFIG += release
-- target.path = $$[QT_INSTALL_BINS]
-+ target.path = $$NIX_OUTPUT_BIN/bin
- CONFIG += relative_qt_rpath # Qt's tools and apps should be relocatable
- }
- INSTALLS += target
-diff -ur qtbase-everywhere-src-5.11.3-orig/mkspecs/features/qt_build_paths.prf qtbase-everywhere-src-5.11.3/mkspecs/features/qt_build_paths.prf
---- qtbase-everywhere-src-5.11.3-orig/mkspecs/features/qt_build_paths.prf 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/mkspecs/features/qt_build_paths.prf 2019-01-31 00:42:55.844577264 +0100
-@@ -24,6 +24,6 @@
- !force_independent {
- # If the module is not built independently, everything ends up in qtbase.
- # This is the case in non-prefix builds, except for selected modules.
-- MODULE_BASE_OUTDIR = $$[QT_HOST_PREFIX]
-- MODULE_QMAKE_OUTDIR = $$[QT_HOST_PREFIX]
-+ MODULE_BASE_OUTDIR = $$NIX_OUTPUT_OUT
-+ MODULE_QMAKE_OUTDIR = $$NIX_OUTPUT_OUT
- }
-Only in qtbase-everywhere-src-5.11.3/mkspecs/features: qt_build_paths.prf.orig
-diff -ur qtbase-everywhere-src-5.11.3-orig/mkspecs/features/qt_common.prf qtbase-everywhere-src-5.11.3/mkspecs/features/qt_common.prf
---- qtbase-everywhere-src-5.11.3-orig/mkspecs/features/qt_common.prf 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/mkspecs/features/qt_common.prf 2019-01-31 00:42:55.844577264 +0100
-@@ -32,8 +32,8 @@
- qqt_libdir = \$\$\$\$[QT_HOST_LIBS]
- qt_libdir = $$[QT_HOST_LIBS]
- } else {
-- qqt_libdir = \$\$\$\$[QT_INSTALL_LIBS]
-- qt_libdir = $$[QT_INSTALL_LIBS]
-+ qqt_libdir = \$\$\$\$NIX_OUTPUT_OUT/lib
-+ qt_libdir = $$NIX_OUTPUT_OUT/lib
- }
- contains(QMAKE_DEFAULT_LIBDIRS, $$qt_libdir) {
- lib_replace.match = "[^ ']*$$rplbase/lib"
-diff -ur qtbase-everywhere-src-5.11.3-orig/mkspecs/features/qt_docs.prf qtbase-everywhere-src-5.11.3/mkspecs/features/qt_docs.prf
---- qtbase-everywhere-src-5.11.3-orig/mkspecs/features/qt_docs.prf 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/mkspecs/features/qt_docs.prf 2019-01-31 00:42:55.844577264 +0100
-@@ -45,7 +45,7 @@
-
- QDOC += -outputdir $$shell_quote($$QMAKE_DOCS_OUTPUTDIR)
- !build_online_docs: \
-- QDOC += -installdir $$shell_quote($$[QT_INSTALL_DOCS])
-+ QDOC += -installdir $$shell_quote($$NIX_OUTPUT_DOC)
- PREP_DOC_INDEXES =
- DOC_INDEXES =
- !isEmpty(QTREPOS) {
-@@ -64,8 +64,8 @@
- DOC_INDEXES += -indexdir $$shell_quote($$qrep/doc)
- } else {
- prepare_docs: \
-- PREP_DOC_INDEXES += -indexdir $$shell_quote($$[QT_INSTALL_DOCS/get])
-- DOC_INDEXES += -indexdir $$shell_quote($$[QT_INSTALL_DOCS/get])
-+ PREP_DOC_INDEXES += -indexdir $$shell_quote($$NIX_OUTPUT_DOC)
-+ DOC_INDEXES += -indexdir $$shell_quote($$NIX_OUTPUT_DOC)
- }
-
- qtattributionsscanner.target = qtattributionsscanner
-@@ -88,12 +88,12 @@
- qch_docs.commands = $$QHELPGENERATOR $$shell_quote($$QMAKE_DOCS_OUTPUTDIR/$${QMAKE_DOCS_TARGET}.qhp) -o $$shell_quote($$QMAKE_DOCS_BASE_OUTDIR/$${QMAKE_DOCS_TARGET}.qch)
-
- inst_html_docs.files = $$QMAKE_DOCS_OUTPUTDIR
-- inst_html_docs.path = $$[QT_INSTALL_DOCS]
-+ inst_html_docs.path = $$NIX_OUTPUT_DOC
- inst_html_docs.CONFIG += no_check_exist directory no_default_install no_build
- INSTALLS += inst_html_docs
-
- inst_qch_docs.files = $$QMAKE_DOCS_BASE_OUTDIR/$${QMAKE_DOCS_TARGET}.qch
-- inst_qch_docs.path = $$[QT_INSTALL_DOCS]
-+ inst_qch_docs.path = $$NIX_OUTPUT_DOC
- inst_qch_docs.CONFIG += no_check_exist no_default_install no_build
- INSTALLS += inst_qch_docs
-
-diff -ur qtbase-everywhere-src-5.11.3-orig/mkspecs/features/qt_example_installs.prf qtbase-everywhere-src-5.11.3/mkspecs/features/qt_example_installs.prf
---- qtbase-everywhere-src-5.11.3-orig/mkspecs/features/qt_example_installs.prf 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/mkspecs/features/qt_example_installs.prf 2019-01-31 00:42:55.844577264 +0100
-@@ -88,7 +88,7 @@
- $$SOURCES $$HEADERS $$FORMS $$RESOURCES $$TRANSLATIONS \
- $$DBUS_ADAPTORS $$DBUS_INTERFACES
- addInstallFiles(sources.files, $$sourcefiles)
--sources.path = $$[QT_INSTALL_EXAMPLES]/$$probase
-+sources.path = $$NIX_OUTPUT_DEV/share/examples/$$probase
- INSTALLS += sources
-
- check_examples {
-diff -ur qtbase-everywhere-src-5.11.3-orig/mkspecs/features/qt_functions.prf qtbase-everywhere-src-5.11.3/mkspecs/features/qt_functions.prf
---- qtbase-everywhere-src-5.11.3-orig/mkspecs/features/qt_functions.prf 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/mkspecs/features/qt_functions.prf 2019-01-31 00:42:55.844577264 +0100
-@@ -69,7 +69,7 @@
- defineTest(qtPrepareTool) {
- cmd = $$eval(QT_TOOL.$${2}.binary)
- isEmpty(cmd) {
-- cmd = $$[QT_HOST_BINS]/$$2
-+ cmd = $$system("command -v $$2")
- exists($${cmd}.pl) {
- $${1}_EXE = $${cmd}.pl
- cmd = perl -w $$system_path($${cmd}.pl)
-diff -ur qtbase-everywhere-src-5.11.3-orig/mkspecs/features/qt_installs.prf qtbase-everywhere-src-5.11.3/mkspecs/features/qt_installs.prf
---- qtbase-everywhere-src-5.11.3-orig/mkspecs/features/qt_installs.prf 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/mkspecs/features/qt_installs.prf 2019-01-31 00:42:55.844577264 +0100
-@@ -12,16 +12,10 @@
- #library
- !qt_no_install_library {
- win32 {
-- host_build: \
-- dlltarget.path = $$[QT_HOST_BINS]
-- else: \
-- dlltarget.path = $$[QT_INSTALL_BINS]
-+ dlltarget.path = $$NIX_OUTPUT_BIN/bin
- INSTALLS += dlltarget
- }
-- host_build: \
-- target.path = $$[QT_HOST_LIBS]
-- else: \
-- target.path = $$[QT_INSTALL_LIBS]
-+ target.path = $$NIX_OUTPUT_OUT/lib
- !static: target.CONFIG = no_dll
- INSTALLS += target
- }
-@@ -29,33 +23,33 @@
- #headers
- qt_install_headers {
- gen_headers.files = $$SYNCQT.GENERATED_HEADER_FILES
-- gen_headers.path = $$[QT_INSTALL_HEADERS]/$$MODULE_INCNAME
-+ gen_headers.path = $$NIX_OUTPUT_DEV/include/$$MODULE_INCNAME
- INSTALLS += gen_headers
-
- targ_headers.files = $$SYNCQT.HEADER_FILES $$SYNCQT.INJECTED_HEADER_FILES
-- targ_headers.path = $$[QT_INSTALL_HEADERS]/$$MODULE_INCNAME
-+ targ_headers.path = $$NIX_OUTPUT_DEV/include/$$MODULE_INCNAME
- INSTALLS += targ_headers
-
- private_headers.files = $$SYNCQT.PRIVATE_HEADER_FILES $$SYNCQT.INJECTED_PRIVATE_HEADER_FILES
-- private_headers.path = $$[QT_INSTALL_HEADERS]/$$MODULE_INCNAME/$$VERSION/$$MODULE_INCNAME/private
-+ private_headers.path = $$NIX_OUTPUT_DEV/include/$$MODULE_INCNAME/$$VERSION/$$MODULE_INCNAME/private
- INSTALLS += private_headers
-
- qpa_headers.files = $$SYNCQT.QPA_HEADER_FILES
-- qpa_headers.path = $$[QT_INSTALL_HEADERS]/$$MODULE_INCNAME/$$VERSION/$$MODULE_INCNAME/qpa
-+ qpa_headers.path = $$NIX_OUTPUT_DEV/include/$$MODULE_INCNAME/$$VERSION/$$MODULE_INCNAME/qpa
- INSTALLS += qpa_headers
- }
-
- #module
- qt_install_module {
- !isEmpty(MODULE_PRI) {
-- pritarget.path = $$[QT_HOST_DATA]/mkspecs/modules
-+ pritarget.path = $$NIX_OUTPUT_DEV/mkspecs/modules
- pritarget.files = $$MODULE_PRI
- INSTALLS += pritarget
- } else: isEmpty(MODULE_PRIVATE_PRI) {
- warning("Project $$basename(_PRO_FILE_) is a module, but has not defined MODULE_PRI, which is required for Qt to expose the module to other projects.")
- }
- !isEmpty(MODULE_PRIVATE_PRI) {
-- privpritarget.path = $$[QT_HOST_DATA]/mkspecs/modules
-+ privpritarget.path = $$NIX_OUTPUT_DEV/mkspecs/modules
- privpritarget.files = $$MODULE_PRIVATE_PRI
- INSTALLS += privpritarget
- }
-diff -ur qtbase-everywhere-src-5.11.3-orig/mkspecs/features/qt_plugin.prf qtbase-everywhere-src-5.11.3/mkspecs/features/qt_plugin.prf
---- qtbase-everywhere-src-5.11.3-orig/mkspecs/features/qt_plugin.prf 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/mkspecs/features/qt_plugin.prf 2019-01-31 00:42:55.844577264 +0100
-@@ -88,7 +88,7 @@
- }
- }
-
--target.path = $$[QT_INSTALL_PLUGINS]/$$PLUGIN_TYPE
-+target.path = $$NIX_OUTPUT_PLUGIN/$$PLUGIN_TYPE
- INSTALLS += target
-
- TARGET = $$qt5LibraryTarget($$TARGET)
-diff -ur qtbase-everywhere-src-5.11.3-orig/src/corelib/kernel/qcoreapplication.cpp qtbase-everywhere-src-5.11.3/src/corelib/kernel/qcoreapplication.cpp
---- qtbase-everywhere-src-5.11.3-orig/src/corelib/kernel/qcoreapplication.cpp 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/src/corelib/kernel/qcoreapplication.cpp 2019-01-31 00:42:55.845577279 +0100
-@@ -2612,6 +2612,15 @@
- QStringList *app_libpaths = new QStringList;
- coreappdata()->app_libpaths.reset(app_libpaths);
-
-+ // Add library paths derived from PATH
-+ const QStringList paths = QFile::decodeName(qgetenv("PATH")).split(':');
-+ const QString plugindir = QStringLiteral("../" NIXPKGS_QT_PLUGIN_PREFIX);
-+ for (const QString &path: paths) {
-+ if (!path.isEmpty()) {
-+ app_libpaths->append(QDir::cleanPath(path + QDir::separator() + plugindir));
-+ }
-+ }
-+
- const QByteArray libPathEnv = qgetenv("QT_PLUGIN_PATH");
- if (!libPathEnv.isEmpty()) {
- QStringList paths = QFile::decodeName(libPathEnv).split(QDir::listSeparator(), QString::SkipEmptyParts);
-Only in qtbase-everywhere-src-5.11.3/src/corelib/kernel: qcoreapplication.cpp.orig
-diff -ur qtbase-everywhere-src-5.11.3-orig/src/corelib/Qt5CoreConfigExtras.cmake.in qtbase-everywhere-src-5.11.3/src/corelib/Qt5CoreConfigExtras.cmake.in
---- qtbase-everywhere-src-5.11.3-orig/src/corelib/Qt5CoreConfigExtras.cmake.in 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/src/corelib/Qt5CoreConfigExtras.cmake.in 2019-01-31 00:42:55.844577264 +0100
-@@ -3,7 +3,7 @@
- add_executable(Qt5::qmake IMPORTED)
-
- !!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5Core_install_prefix}/$${CMAKE_BIN_DIR}qmake$$CMAKE_BIN_SUFFIX\")
-+ set(imported_location \"$$NIX_OUTPUT_DEV/$${CMAKE_BIN_DIR}qmake$$CMAKE_BIN_SUFFIX\")
- !!ELSE
- set(imported_location \"$${CMAKE_BIN_DIR}qmake$$CMAKE_BIN_SUFFIX\")
- !!ENDIF
-@@ -18,7 +18,7 @@
- add_executable(Qt5::moc IMPORTED)
-
- !!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5Core_install_prefix}/$${CMAKE_BIN_DIR}moc$$CMAKE_BIN_SUFFIX\")
-+ set(imported_location \"$$NIX_OUTPUT_DEV/$${CMAKE_BIN_DIR}moc$$CMAKE_BIN_SUFFIX\")
- !!ELSE
- set(imported_location \"$${CMAKE_BIN_DIR}moc$$CMAKE_BIN_SUFFIX\")
- !!ENDIF
-@@ -35,7 +35,7 @@
- add_executable(Qt5::rcc IMPORTED)
-
- !!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5Core_install_prefix}/$${CMAKE_BIN_DIR}rcc$$CMAKE_BIN_SUFFIX\")
-+ set(imported_location \"$$NIX_OUTPUT_DEV/$${CMAKE_BIN_DIR}rcc$$CMAKE_BIN_SUFFIX\")
- !!ELSE
- set(imported_location \"$${CMAKE_BIN_DIR}rcc$$CMAKE_BIN_SUFFIX\")
- !!ENDIF
-@@ -116,7 +116,7 @@
- !!IF !isEmpty(CMAKE_RELEASE_TYPE)
- set_property(TARGET Qt5::WinMain APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
- !!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5Core_install_prefix}/$${CMAKE_LIB_DIR}$${CMAKE_WINMAIN_FILE_LOCATION_RELEASE}\")
-+ set(imported_location \"$$NIX_OUTPUT_DEV/$${CMAKE_LIB_DIR}$${CMAKE_WINMAIN_FILE_LOCATION_RELEASE}\")
- !!ELSE
- set(imported_location \"$${CMAKE_LIB_DIR}$${CMAKE_WINMAIN_FILE_LOCATION_RELEASE}\")
- !!ENDIF
-@@ -130,7 +130,7 @@
- set_property(TARGET Qt5::WinMain APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG)
-
- !!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5Core_install_prefix}/$${CMAKE_LIB_DIR}$${CMAKE_WINMAIN_FILE_LOCATION_DEBUG}\")
-+ set(imported_location \"$$NIX_OUTPUT_DEV/$${CMAKE_LIB_DIR}$${CMAKE_WINMAIN_FILE_LOCATION_DEBUG}\")
- !!ELSE
- set(imported_location \"$${CMAKE_LIB_DIR}$${CMAKE_WINMAIN_FILE_LOCATION_DEBUG}\")
- !!ENDIF
-diff -ur qtbase-everywhere-src-5.11.3-orig/src/corelib/Qt5CoreConfigExtrasMkspecDir.cmake.in qtbase-everywhere-src-5.11.3/src/corelib/Qt5CoreConfigExtrasMkspecDir.cmake.in
---- qtbase-everywhere-src-5.11.3-orig/src/corelib/Qt5CoreConfigExtrasMkspecDir.cmake.in 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/src/corelib/Qt5CoreConfigExtrasMkspecDir.cmake.in 2019-01-31 00:42:55.844577264 +0100
-@@ -1,6 +1,6 @@
-
- !!IF isEmpty(CMAKE_HOST_DATA_DIR_IS_ABSOLUTE)
--set(_qt5_corelib_extra_includes \"${_qt5Core_install_prefix}/$${CMAKE_HOST_DATA_DIR}/mkspecs/$${CMAKE_MKSPEC}\")
-+set(_qt5_corelib_extra_includes \"$$NIX_OUTPUT_DEV/$${CMAKE_HOST_DATA_DIR}/mkspecs/$${CMAKE_MKSPEC}\")
- !!ELSE
- set(_qt5_corelib_extra_includes \"$${CMAKE_HOST_DATA_DIR}mkspecs/$${CMAKE_MKSPEC}\")
- !!ENDIF
-diff -ur qtbase-everywhere-src-5.11.3-orig/src/corelib/Qt5CoreConfigExtrasMkspecDirForInstall.cmake.in qtbase-everywhere-src-5.11.3/src/corelib/Qt5CoreConfigExtrasMkspecDirForInstall.cmake.in
---- qtbase-everywhere-src-5.11.3-orig/src/corelib/Qt5CoreConfigExtrasMkspecDirForInstall.cmake.in 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/src/corelib/Qt5CoreConfigExtrasMkspecDirForInstall.cmake.in 2019-01-31 00:42:55.844577264 +0100
-@@ -1,6 +1,6 @@
-
- !!IF isEmpty(CMAKE_INSTALL_DATA_DIR_IS_ABSOLUTE)
--set(_qt5_corelib_extra_includes \"${_qt5Core_install_prefix}/$${CMAKE_INSTALL_DATA_DIR}/mkspecs/$${CMAKE_MKSPEC}\")
-+set(_qt5_corelib_extra_includes \"$$NIX_OUTPUT_DEV/$${CMAKE_INSTALL_DATA_DIR}/mkspecs/$${CMAKE_MKSPEC}\")
- !!ELSE
- set(_qt5_corelib_extra_includes \"$${CMAKE_INSTALL_DATA_DIR}mkspecs/$${CMAKE_MKSPEC}\")
- !!ENDIF
-diff -ur qtbase-everywhere-src-5.11.3-orig/src/corelib/tools/qtimezoneprivate_tz.cpp qtbase-everywhere-src-5.11.3/src/corelib/tools/qtimezoneprivate_tz.cpp
---- qtbase-everywhere-src-5.11.3-orig/src/corelib/tools/qtimezoneprivate_tz.cpp 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/src/corelib/tools/qtimezoneprivate_tz.cpp 2019-01-31 00:42:55.845577279 +0100
-@@ -70,7 +70,11 @@
- // Parse zone.tab table, assume lists all installed zones, if not will need to read directories
- static QTzTimeZoneHash loadTzTimeZones()
- {
-- QString path = QStringLiteral("/usr/share/zoneinfo/zone.tab");
-+ // Try TZDIR first, in case we're running on NixOS.
-+ QString path = QFile::decodeName(qgetenv("TZDIR")) + QStringLiteral("/zone.tab");
-+ // Fallback to traditional paths in case we are not on NixOS.
-+ if (!QFile::exists(path))
-+ path = QStringLiteral("/usr/share/zoneinfo/zone.tab");
- if (!QFile::exists(path))
- path = QStringLiteral("/usr/lib/zoneinfo/zone.tab");
-
-@@ -644,12 +648,16 @@
- if (!tzif.open(QIODevice::ReadOnly))
- return;
- } else {
-- // Open named tz, try modern path first, if fails try legacy path
-- tzif.setFileName(QLatin1String("/usr/share/zoneinfo/") + QString::fromLocal8Bit(ianaId));
-+ // Try TZDIR first, in case we're running on NixOS
-+ tzif.setFileName(QFile::decodeName(qgetenv("TZDIR")) + QStringLiteral("/") + QString::fromLocal8Bit(ianaId));
- if (!tzif.open(QIODevice::ReadOnly)) {
-- tzif.setFileName(QLatin1String("/usr/lib/zoneinfo/") + QString::fromLocal8Bit(ianaId));
-- if (!tzif.open(QIODevice::ReadOnly))
-- return;
-+ // Open named tz, try modern path first, if fails try legacy path
-+ tzif.setFileName(QLatin1String("/usr/share/zoneinfo/") + QString::fromLocal8Bit(ianaId));
-+ if (!tzif.open(QIODevice::ReadOnly)) {
-+ tzif.setFileName(QLatin1String("/usr/lib/zoneinfo/") + QString::fromLocal8Bit(ianaId));
-+ if (!tzif.open(QIODevice::ReadOnly))
-+ return;
-+ }
- }
- }
-
-diff -ur qtbase-everywhere-src-5.11.3-orig/src/dbus/Qt5DBusConfigExtras.cmake.in qtbase-everywhere-src-5.11.3/src/dbus/Qt5DBusConfigExtras.cmake.in
---- qtbase-everywhere-src-5.11.3-orig/src/dbus/Qt5DBusConfigExtras.cmake.in 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/src/dbus/Qt5DBusConfigExtras.cmake.in 2019-01-31 00:42:55.845577279 +0100
-@@ -2,11 +2,7 @@
- if (NOT TARGET Qt5::qdbuscpp2xml)
- add_executable(Qt5::qdbuscpp2xml IMPORTED)
-
--!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5DBus_install_prefix}/$${CMAKE_BIN_DIR}qdbuscpp2xml$$CMAKE_BIN_SUFFIX\")
--!!ELSE
-- set(imported_location \"$${CMAKE_BIN_DIR}qdbuscpp2xml$$CMAKE_BIN_SUFFIX\")
--!!ENDIF
-+ set(imported_location \"$$NIX_OUTPUT_DEV/bin/qdbuscpp2xml$$CMAKE_BIN_SUFFIX\")
- _qt5_DBus_check_file_exists(${imported_location})
-
- set_target_properties(Qt5::qdbuscpp2xml PROPERTIES
-@@ -17,11 +13,7 @@
- if (NOT TARGET Qt5::qdbusxml2cpp)
- add_executable(Qt5::qdbusxml2cpp IMPORTED)
-
--!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5DBus_install_prefix}/$${CMAKE_BIN_DIR}qdbusxml2cpp$$CMAKE_BIN_SUFFIX\")
--!!ELSE
-- set(imported_location \"$${CMAKE_BIN_DIR}qdbusxml2cpp$$CMAKE_BIN_SUFFIX\")
--!!ENDIF
-+ set(imported_location \"$$NIX_OUTPUT_DEV/bin/qdbusxml2cpp$$CMAKE_BIN_SUFFIX\")
- _qt5_DBus_check_file_exists(${imported_location})
-
- set_target_properties(Qt5::qdbusxml2cpp PROPERTIES
-diff -ur qtbase-everywhere-src-5.11.3-orig/src/gui/Qt5GuiConfigExtras.cmake.in qtbase-everywhere-src-5.11.3/src/gui/Qt5GuiConfigExtras.cmake.in
---- qtbase-everywhere-src-5.11.3-orig/src/gui/Qt5GuiConfigExtras.cmake.in 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/src/gui/Qt5GuiConfigExtras.cmake.in 2019-01-31 00:42:55.845577279 +0100
-@@ -2,7 +2,7 @@
- !!IF !isEmpty(CMAKE_ANGLE_EGL_DLL_RELEASE)
-
- !!IF isEmpty(CMAKE_INCLUDE_DIR_IS_ABSOLUTE)
--set(Qt5Gui_EGL_INCLUDE_DIRS \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$$CMAKE_INCLUDE_DIR/QtANGLE\")
-+set(Qt5Gui_EGL_INCLUDE_DIRS \"$$NIX_OUTPUT_DEV/$$CMAKE_INCLUDE_DIR/QtANGLE\")
- !!ELSE
- set(Qt5Gui_EGL_INCLUDE_DIRS \"$$CMAKE_INCLUDE_DIR/QtANGLE\")
- !!ENDIF
-@@ -17,13 +17,13 @@
- set_property(TARGET Qt5::${TargetName} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
-
- !!IF isEmpty(CMAKE_DLL_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5Gui_install_prefix}/$${CMAKE_DLL_DIR}${LIB_LOCATION}\")
-+ set(imported_location \"$$NIX_OUTPUT_OUT/$${CMAKE_DLL_DIR}${LIB_LOCATION}\")
- !!ELSE
- set(imported_location \"$${CMAKE_DLL_DIR}${LIB_LOCATION}\")
- !!ENDIF
-
- !!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
-- set(imported_implib \"${_qt5Gui_install_prefix}/$${CMAKE_LIB_DIR}${IMPLIB_LOCATION}\")
-+ set(imported_implib \"$$NIX_OUTPUT_OUT/$${CMAKE_LIB_DIR}${IMPLIB_LOCATION}\")
- !!ELSE
- set(imported_implib \"$${CMAKE_LIB_DIR}${IMPLIB_LOCATION}\")
- !!ENDIF
-diff -ur qtbase-everywhere-src-5.11.3-orig/src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp qtbase-everywhere-src-5.11.3/src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp
---- qtbase-everywhere-src-5.11.3-orig/src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp 2019-01-31 00:42:55.845577279 +0100
-@@ -265,12 +265,9 @@
- m_possibleLocations.reserve(7);
- if (qEnvironmentVariableIsSet("QTCOMPOSE"))
- m_possibleLocations.append(QString::fromLocal8Bit(qgetenv("QTCOMPOSE")));
-- m_possibleLocations.append(QStringLiteral("/usr/share/X11/locale"));
-- m_possibleLocations.append(QStringLiteral("/usr/local/share/X11/locale"));
-- m_possibleLocations.append(QStringLiteral("/usr/lib/X11/locale"));
-- m_possibleLocations.append(QStringLiteral("/usr/local/lib/X11/locale"));
- m_possibleLocations.append(QStringLiteral(X11_PREFIX "/share/X11/locale"));
- m_possibleLocations.append(QStringLiteral(X11_PREFIX "/lib/X11/locale"));
-+ m_possibleLocations.append(QLatin1String(NIXPKGS_QTCOMPOSE));
- }
-
- QString TableGenerator::findComposeFile()
-diff -ur qtbase-everywhere-src-5.11.3-orig/src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp qtbase-everywhere-src-5.11.3/src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp
---- qtbase-everywhere-src-5.11.3-orig/src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp 2019-01-31 00:42:55.845577279 +0100
-@@ -650,9 +650,14 @@
- #if QT_CONFIG(library)
- extern const QString qt_gl_library_name();
- // QLibrary lib(qt_gl_library_name());
-+ // Check system library paths first
- QLibrary lib(QLatin1String("GL"));
-- if (!lib.load())
-- lib.setFileNameAndVersion(QLatin1String("GL"), 1);
-+#ifdef NIXPKGS_MESA_GL
-+ if (!lib.load()) {
-+ // Fallback to Mesa driver
-+ lib.setFileName(QLatin1String(NIXPKGS_MESA_GL));
-+ }
-+#endif // NIXPKGS_MESA_GL
- glXGetProcAddressARB = (qt_glXGetProcAddressARB) lib.resolve("glXGetProcAddressARB");
- #endif
- }
-Only in qtbase-everywhere-src-5.11.3/src/plugins/platforms/xcb/gl_integrations/xcb_glx: qglxintegration.cpp.orig
-diff -ur qtbase-everywhere-src-5.11.3-orig/src/plugins/platforms/xcb/qxcbcursor.cpp qtbase-everywhere-src-5.11.3/src/plugins/platforms/xcb/qxcbcursor.cpp
---- qtbase-everywhere-src-5.11.3-orig/src/plugins/platforms/xcb/qxcbcursor.cpp 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/src/plugins/platforms/xcb/qxcbcursor.cpp 2019-01-31 00:42:55.846577295 +0100
-@@ -316,10 +316,10 @@
- #if QT_CONFIG(xcb_xlib) && QT_CONFIG(library)
- static bool function_ptrs_not_initialized = true;
- if (function_ptrs_not_initialized) {
-- QLibrary xcursorLib(QLatin1String("Xcursor"), 1);
-+ QLibrary xcursorLib(QLatin1String(NIXPKGS_LIBXCURSOR), 1);
- bool xcursorFound = xcursorLib.load();
- if (!xcursorFound) { // try without the version number
-- xcursorLib.setFileName(QLatin1String("Xcursor"));
-+ xcursorLib.setFileName(QLatin1String(NIXPKGS_LIBXCURSOR));
- xcursorFound = xcursorLib.load();
- }
- if (xcursorFound) {
-diff -ur qtbase-everywhere-src-5.11.3-orig/src/plugins/platformthemes/gtk3/main.cpp qtbase-everywhere-src-5.11.3/src/plugins/platformthemes/gtk3/main.cpp
---- qtbase-everywhere-src-5.11.3-orig/src/plugins/platformthemes/gtk3/main.cpp 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/src/plugins/platformthemes/gtk3/main.cpp 2019-01-31 00:42:55.846577295 +0100
-@@ -39,6 +39,7 @@
-
- #include
- #include "qgtk3theme.h"
-+#include
-
- QT_BEGIN_NAMESPACE
-
-@@ -54,8 +55,22 @@
- QPlatformTheme *QGtk3ThemePlugin::create(const QString &key, const QStringList ¶ms)
- {
- Q_UNUSED(params);
-- if (!key.compare(QLatin1String(QGtk3Theme::name), Qt::CaseInsensitive))
-+ if (!key.compare(QLatin1String(QGtk3Theme::name), Qt::CaseInsensitive)) {
-+
-+#ifdef NIXPKGS_QGTK3_XDG_DATA_DIRS
-+ QStringList XDG_DATA_DIRS = QFile::decodeName(qgetenv("XDG_DATA_DIRS")).split(':');
-+ XDG_DATA_DIRS << QLatin1String(NIXPKGS_QGTK3_XDG_DATA_DIRS);
-+ qputenv("XDG_DATA_DIRS", QFile::encodeName(XDG_DATA_DIRS.join(':')));
-+#endif
-+
-+#ifdef NIXPKGS_QGTK3_GIO_EXTRA_MODULES
-+ QStringList GIO_EXTRA_MODULES = QFile::decodeName(qgetenv("GIO_EXTRA_MODULES")).split(':');
-+ GIO_EXTRA_MODULES << QLatin1String(NIXPKGS_QGTK3_GIO_EXTRA_MODULES);
-+ qputenv("GIO_EXTRA_MODULES", QFile::encodeName(GIO_EXTRA_MODULES.join(':')));
-+#endif
-+
- return new QGtk3Theme;
-+ }
-
- return 0;
- }
-diff -ur qtbase-everywhere-src-5.11.3-orig/src/testlib/qtestassert.h qtbase-everywhere-src-5.11.3/src/testlib/qtestassert.h
---- qtbase-everywhere-src-5.11.3-orig/src/testlib/qtestassert.h 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/src/testlib/qtestassert.h 2019-01-31 00:42:55.846577295 +0100
-@@ -44,10 +44,13 @@
-
- QT_BEGIN_NAMESPACE
-
--
-+#if defined(QT_NO_DEBUG) && !defined(QT_FORCE_ASSERTS)
-+#define QTEST_ASSERT(cond) do { } while ((false) && (cond))
-+#define QTEST_ASSERT_X(cond, where, what) do { } while ((false) && (cond))
-+#else
- #define QTEST_ASSERT(cond) do { if (!(cond)) qt_assert(#cond,__FILE__,__LINE__); } while (false)
--
- #define QTEST_ASSERT_X(cond, where, what) do { if (!(cond)) qt_assert_x(where, what,__FILE__,__LINE__); } while (false)
-+#endif
-
- QT_END_NAMESPACE
-
-diff -ur qtbase-everywhere-src-5.11.3-orig/src/widgets/Qt5WidgetsConfigExtras.cmake.in qtbase-everywhere-src-5.11.3/src/widgets/Qt5WidgetsConfigExtras.cmake.in
---- qtbase-everywhere-src-5.11.3-orig/src/widgets/Qt5WidgetsConfigExtras.cmake.in 2018-11-25 13:51:11.000000000 +0100
-+++ qtbase-everywhere-src-5.11.3/src/widgets/Qt5WidgetsConfigExtras.cmake.in 2019-01-31 00:42:55.846577295 +0100
-@@ -3,7 +3,7 @@
- add_executable(Qt5::uic IMPORTED)
-
- !!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5Widgets_install_prefix}/$${CMAKE_BIN_DIR}uic$$CMAKE_BIN_SUFFIX\")
-+ set(imported_location \"$$NIX_OUTPUT_DEV/$${CMAKE_BIN_DIR}uic$$CMAKE_BIN_SUFFIX\")
- !!ELSE
- set(imported_location \"$${CMAKE_BIN_DIR}uic$$CMAKE_BIN_SUFFIX\")
- !!ENDIF
diff --git a/pkgs/development/libraries/qt-5/5.11/qtdeclarative.patch b/pkgs/development/libraries/qt-5/5.11/qtdeclarative.patch
deleted file mode 100644
index cfa68eb8102ce248b46f0d8b34af246e68758a78..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-5/5.11/qtdeclarative.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-diff --git a/src/qml/qml/qqmlimport.cpp b/src/qml/qml/qqmlimport.cpp
-index 005db4248..685c5b1b2 100644
---- a/src/qml/qml/qqmlimport.cpp
-+++ b/src/qml/qml/qqmlimport.cpp
-@@ -1760,6 +1760,15 @@ QQmlImportDatabase::QQmlImportDatabase(QQmlEngine *e)
- QString installImportsPath = QLibraryInfo::location(QLibraryInfo::Qml2ImportsPath);
- addImportPath(installImportsPath);
-
-+ // Add import paths derived from PATH
-+ const QStringList paths = QFile::decodeName(qgetenv("PATH")).split(':');
-+ const QString qmldir = QStringLiteral("../" NIXPKGS_QML2_IMPORT_PREFIX);
-+ for (const QString &path: paths) {
-+ if (!path.isEmpty()) {
-+ addImportPath(QDir::cleanPath(path + QDir::separator() + qmldir));
-+ }
-+ }
-+
- // env import paths
- if (Q_UNLIKELY(!qEnvironmentVariableIsEmpty("QML2_IMPORT_PATH"))) {
- const QString envImportPath = qEnvironmentVariable("QML2_IMPORT_PATH");
-diff --git a/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake b/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake
-index 56cb3fb55..74509d601 100644
---- a/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake
-+++ b/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake
-@@ -17,7 +17,7 @@ function(QTQUICK_COMPILER_ADD_RESOURCES outfiles)
-
- find_package(Qt5 COMPONENTS Qml Core)
-
-- set(compiler_path "${_qt5Core_install_prefix}/bin/qmlcachegen")
-+ set(compiler_path "qmlcachegen")
-
- get_target_property(rcc_path ${Qt5Core_RCC_EXECUTABLE} IMPORTED_LOCATION)
-
-diff --git a/tools/qmlcachegen/qmlcache.prf b/tools/qmlcachegen/qmlcache.prf
-index 537eaf62e..e21de58f6 100644
---- a/tools/qmlcachegen/qmlcache.prf
-+++ b/tools/qmlcachegen/qmlcache.prf
-@@ -26,7 +26,7 @@ defineReplace(qmlCacheOutputFileName) {
- }
-
- qmlcacheinst.base = $$QMLCACHE_DESTDIR
--qmlcacheinst.path = $$[QT_INSTALL_QML]/$$TARGETPATH
-+qmlcacheinst.path = $$NIX_OUTPUT_QML/$$TARGETPATH
- qmlcacheinst.CONFIG = no_check_exist
-
- qmlcachegen.input = CACHEGEN_FILES
diff --git a/pkgs/development/libraries/qt-5/5.11/qtscript.patch b/pkgs/development/libraries/qt-5/5.11/qtscript.patch
deleted file mode 100644
index 5508dec1280e3a3f07761a942b7f9aa6ec2112d3..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-5/5.11/qtscript.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h
-index 1f6d25e..087c3fb 100644
---- a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h
-+++ b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h
-@@ -81,7 +81,7 @@
- #include
- #elif PLATFORM(GTK)
- #include
--typedef struct _GMutex GMutex;
-+typedef union _GMutex GMutex;
- typedef struct _GCond GCond;
- #endif
-
diff --git a/pkgs/development/libraries/qt-5/5.11/qtserialport.patch b/pkgs/development/libraries/qt-5/5.11/qtserialport.patch
deleted file mode 100644
index f25524e80bcfe8ca3ba93bd3562149043ab1aa97..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-5/5.11/qtserialport.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/src/serialport/qtudev_p.h b/src/serialport/qtudev_p.h
-index af2dab2..8e17f64 100644
---- a/src/serialport/qtudev_p.h
-+++ b/src/serialport/qtudev_p.h
-@@ -111,9 +111,17 @@ inline QFunctionPointer resolveSymbol(QLibrary *udevLibrary, const char *symbolN
- inline bool resolveSymbols(QLibrary *udevLibrary)
- {
- if (!udevLibrary->isLoaded()) {
-+#ifdef NIXPKGS_LIBUDEV
-+ udevLibrary->setFileNameAndVersion(QLatin1String(NIXPKGS_LIBUDEV), 1);
-+#else
- udevLibrary->setFileNameAndVersion(QStringLiteral("udev"), 1);
-+#endif
- if (!udevLibrary->load()) {
-+#ifdef NIXPKGS_LIBUDEV
-+ udevLibrary->setFileNameAndVersion(QLatin1String(NIXPKGS_LIBUDEV), 0);
-+#else
- udevLibrary->setFileNameAndVersion(QStringLiteral("udev"), 0);
-+#endif
- if (!udevLibrary->load()) {
- qWarning("Failed to load the library: %s, supported version(s): %i and %i", qPrintable(udevLibrary->fileName()), 1, 0);
- return false;
diff --git a/pkgs/development/libraries/qt-5/5.11/qttools.patch b/pkgs/development/libraries/qt-5/5.11/qttools.patch
deleted file mode 100644
index 622efc35b6b6430fc7dafd839d3857182f110484..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-5/5.11/qttools.patch
+++ /dev/null
@@ -1,86 +0,0 @@
-diff --git a/src/assistant/help/Qt5HelpConfigExtras.cmake.in b/src/assistant/help/Qt5HelpConfigExtras.cmake.in
-index 3b97923a..63336bd5 100644
---- a/src/assistant/help/Qt5HelpConfigExtras.cmake.in
-+++ b/src/assistant/help/Qt5HelpConfigExtras.cmake.in
-@@ -2,11 +2,10 @@
- if (NOT TARGET Qt5::qcollectiongenerator)
- add_executable(Qt5::qcollectiongenerator IMPORTED)
-
--!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5Help_install_prefix}/$${CMAKE_BIN_DIR}qcollectiongenerator$$CMAKE_BIN_SUFFIX\")
--!!ELSE
- set(imported_location \"$${CMAKE_BIN_DIR}qcollectiongenerator$$CMAKE_BIN_SUFFIX\")
--!!ENDIF
-+ if(NOT EXISTS \"${imported_location}\")
-+ set(imported_location \"$${CMAKE_BIN_DIR}qcollectiongenerator$$CMAKE_BIN_SUFFIX\")
-+ endif()
- _qt5_Help_check_file_exists(${imported_location})
-
- set_target_properties(Qt5::qcollectiongenerator PROPERTIES
-@@ -17,11 +16,7 @@ endif()
- if (NOT TARGET Qt5::qhelpgenerator)
- add_executable(Qt5::qhelpgenerator IMPORTED)
-
--!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5Help_install_prefix}/$${CMAKE_BIN_DIR}qhelpgenerator$$CMAKE_BIN_SUFFIX\")
--!!ELSE
- set(imported_location \"$${CMAKE_BIN_DIR}qhelpgenerator$$CMAKE_BIN_SUFFIX\")
--!!ENDIF
- _qt5_Help_check_file_exists(${imported_location})
-
- set_target_properties(Qt5::qhelpgenerator PROPERTIES
-diff --git a/src/linguist/Qt5LinguistToolsConfig.cmake.in b/src/linguist/Qt5LinguistToolsConfig.cmake.in
-index 4318b16f..d60db4ff 100644
---- a/src/linguist/Qt5LinguistToolsConfig.cmake.in
-+++ b/src/linguist/Qt5LinguistToolsConfig.cmake.in
-@@ -44,11 +44,7 @@ endmacro()
- if (NOT TARGET Qt5::lrelease)
- add_executable(Qt5::lrelease IMPORTED)
-
--!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5_linguisttools_install_prefix}/$${CMAKE_BIN_DIR}lrelease$$CMAKE_BIN_SUFFIX\")
--!!ELSE
- set(imported_location \"$${CMAKE_BIN_DIR}lrelease$$CMAKE_BIN_SUFFIX\")
--!!ENDIF
- _qt5_LinguistTools_check_file_exists(${imported_location})
-
- set_target_properties(Qt5::lrelease PROPERTIES
-@@ -59,11 +55,7 @@ endif()
- if (NOT TARGET Qt5::lupdate)
- add_executable(Qt5::lupdate IMPORTED)
-
--!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5_linguisttools_install_prefix}/$${CMAKE_BIN_DIR}lupdate$$CMAKE_BIN_SUFFIX\")
--!!ELSE
- set(imported_location \"$${CMAKE_BIN_DIR}lupdate$$CMAKE_BIN_SUFFIX\")
--!!ENDIF
- _qt5_LinguistTools_check_file_exists(${imported_location})
-
- set_target_properties(Qt5::lupdate PROPERTIES
-@@ -74,11 +66,7 @@ endif()
- if (NOT TARGET Qt5::lconvert)
- add_executable(Qt5::lconvert IMPORTED)
-
--!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5_linguisttools_install_prefix}/$${CMAKE_BIN_DIR}lconvert$$CMAKE_BIN_SUFFIX\")
--!!ELSE
- set(imported_location \"$${CMAKE_BIN_DIR}lconvert$$CMAKE_BIN_SUFFIX\")
--!!ENDIF
- _qt5_LinguistTools_check_file_exists(${imported_location})
-
- set_target_properties(Qt5::lconvert PROPERTIES
---- a/src/macdeployqt/shared/shared.cpp
-+++ b/src/macdeployqt/shared/shared.cpp
-@@ -1241,6 +1241,12 @@ bool deployQmlImports(const QString &appBundlePath, DeploymentInfo deploymentInf
- if (!QFile(qmlImportScannerPath).exists())
- qmlImportScannerPath = QCoreApplication::applicationDirPath() + "/qmlimportscanner";
-
-+#ifdef NIXPKGS_QMLIMPORTSCANNER
-+ // Fallback: Nixpkgs hardcoded path
-+ if (!QFile(qmlImportScannerPath).exists())
-+ qmlImportScannerPath = NIXPKGS_QMLIMPORTSCANNER;
-+#endif
-+
- // Verify that we found a qmlimportscanner binary
- if (!QFile(qmlImportScannerPath).exists()) {
- LogError() << "qmlimportscanner not found at" << qmlImportScannerPath;
diff --git a/pkgs/development/libraries/qt-5/5.11/qtwebengine-darwin-no-platform-check.patch b/pkgs/development/libraries/qt-5/5.11/qtwebengine-darwin-no-platform-check.patch
deleted file mode 100644
index 3e1a8762b361558744b508abe61058724cd7b1fa..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-5/5.11/qtwebengine-darwin-no-platform-check.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-diff --git a/mkspecs/features/platform.prf b/mkspecs/features/platform.prf
---- a/mkspecs/features/platform.prf
-+++ b/mkspecs/features/platform.prf
-@@ -38,10 +38,6 @@ defineTest(isPlatformSupported) {
- return(false)
- }
- } else:osx {
-- !isMinXcodeVersion(7, 3) {
-- skipBuild("Using Xcode version $$QMAKE_XCODE_VERSION, but at least version 7.3 is required to build Qt WebEngine.")
-- return(false)
-- }
- !clang|intel_icc {
- skipBuild("Qt WebEngine on macOS requires Clang.")
- return(false)
-@@ -52,10 +48,6 @@ defineTest(isPlatformSupported) {
- skipBuild("Building Qt WebEngine requires macOS version 10.11 or newer.")
- return(false)
- }
-- !isMinOSXSDKVersion(10, 10): {
-- skipBuild("Building Qt WebEngine requires a macOS SDK version of 10.11 or newer. Current version is $${WEBENGINE_OSX_SDK_PRODUCT_VERSION}.")
-- return(false)
-- }
- } else {
- skipBuild("Unknown platform. Qt WebEngine only supports Linux, Windows, and macOS.")
- return(false)
-diff --git a/src/core/config/mac_osx.pri b/src/core/config/mac_osx.pri
---- a/src/core/config/mac_osx.pri
-+++ b/src/core/config/mac_osx.pri
-@@ -5,8 +5,6 @@ load(functions)
- # otherwise query for it.
- QMAKE_MAC_SDK_VERSION = $$eval(QMAKE_MAC_SDK.$${QMAKE_MAC_SDK}.SDKVersion)
- isEmpty(QMAKE_MAC_SDK_VERSION) {
-- QMAKE_MAC_SDK_VERSION = $$system("/usr/bin/xcodebuild -sdk $${QMAKE_MAC_SDK} -version SDKVersion 2>/dev/null")
-- isEmpty(QMAKE_MAC_SDK_VERSION): error("Could not resolve SDK version for \'$${QMAKE_MAC_SDK}\'")
- }
-
- QMAKE_CLANG_DIR = "/usr"
diff --git a/pkgs/development/libraries/qt-5/5.11/qtwebengine-no-build-skip.patch b/pkgs/development/libraries/qt-5/5.11/qtwebengine-no-build-skip.patch
deleted file mode 100644
index f332d5e1bb2b0627c597fce95d32edd17d8e3389..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-5/5.11/qtwebengine-no-build-skip.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/qtwebengine.pro b/qtwebengine.pro
---- a/qtwebengine.pro
-+++ b/qtwebengine.pro
-@@ -5,7 +5,7 @@ runConfigure()
-
- !isEmpty(skipBuildReason) {
- SUBDIRS =
-- log($${skipBuildReason}$${EOL})
-+ error($${skipBuildReason}$${EOL})
- log(QtWebEngine will not be built.$${EOL})
- }
-
diff --git a/pkgs/development/libraries/qt-5/5.11/qtwebkit.patch b/pkgs/development/libraries/qt-5/5.11/qtwebkit.patch
deleted file mode 100644
index b94a4b76cbabad74ade70f051031e89d4d2897c2..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-5/5.11/qtwebkit.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/Source/WebKit2/PlatformQt.cmake b/Source/WebKit2/PlatformQt.cmake
---- a/Source/WebKit2/PlatformQt.cmake
-+++ b/Source/WebKit2/PlatformQt.cmake
-@@ -261,6 +261,7 @@
- list(APPEND WebKit2_SYSTEM_INCLUDE_DIRECTORIES
- ${GLIB_INCLUDE_DIRS}
- ${GSTREAMER_INCLUDE_DIRS}
-+ ${GSTREAMER_PBUTILS_INCLUDE_DIRS}
- ${Qt5Quick_INCLUDE_DIRS}
- ${Qt5Quick_PRIVATE_INCLUDE_DIRS}
- ${SQLITE_INCLUDE_DIR}
-
diff --git a/pkgs/development/libraries/qt-5/5.11/srcs.nix b/pkgs/development/libraries/qt-5/5.11/srcs.nix
deleted file mode 100644
index cff49b1803374a88e10ae1305f71ed39514110fa..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-5/5.11/srcs.nix
+++ /dev/null
@@ -1,325 +0,0 @@
-# DO NOT EDIT! This file is generated automatically by fetch-kde-qt.sh
-{ fetchurl, mirror }:
-
-{
- qt3d = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qt3d-everywhere-src-5.11.3.tar.xz";
- sha256 = "1awyv40jgbb30yp5zxf6j9wq96nmk8zyhbh4fpn9gn35ychmr984";
- name = "qt3d-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtactiveqt = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtactiveqt-everywhere-src-5.11.3.tar.xz";
- sha256 = "0g35yhp01c34m91fp5vzzq0d2kzz0yswpjjk5cg36j0ddnfcsh4d";
- name = "qtactiveqt-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtandroidextras = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtandroidextras-everywhere-src-5.11.3.tar.xz";
- sha256 = "0clqz10ry70f0v8hbw37fhlwrsr5jddg99yjsk9db250dwbqzq27";
- name = "qtandroidextras-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtbase = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtbase-everywhere-src-5.11.3.tar.xz";
- sha256 = "071yc9iz14qs4s8yvrwllyfdzp5yjxsdpvbjxdrf0g5q69vqigy6";
- name = "qtbase-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtcanvas3d = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtcanvas3d-everywhere-src-5.11.3.tar.xz";
- sha256 = "0f110z7cmkzns9k00aa5zhzq2fpybfxkd7gdlwzcbhc8hn20986m";
- name = "qtcanvas3d-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtcharts = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtcharts-everywhere-src-5.11.3.tar.xz";
- sha256 = "1p4m1nkbbxlkwmbmasx5r83skzssmlcgfzyvj30x2dyrqkmz7627";
- name = "qtcharts-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtconnectivity = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtconnectivity-everywhere-src-5.11.3.tar.xz";
- sha256 = "0amks3qad31i7cha85kvcaxvlmmgkc3gm4jdkw2p02ixxfygr30l";
- name = "qtconnectivity-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtdatavis3d = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtdatavis3d-everywhere-src-5.11.3.tar.xz";
- sha256 = "1kqwr3avcvcyy4i28vjgxk1bsjj9011zr668hsk1zrjxnnwjwdl3";
- name = "qtdatavis3d-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtdeclarative = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtdeclarative-everywhere-src-5.11.3.tar.xz";
- sha256 = "1rhsf9bma2zwwpixk2fsg31x7c1pmsk144npypgc9w86swhkc9lf";
- name = "qtdeclarative-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtdoc = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtdoc-everywhere-src-5.11.3.tar.xz";
- sha256 = "06nl8lzrilj8yify5qy4fm9la6dh71aamg19jhvvi657cshiclsq";
- name = "qtdoc-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtgamepad = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtgamepad-everywhere-src-5.11.3.tar.xz";
- sha256 = "1k222cx18zq48sfna91hmy427qzk2n2xz3dlyz59iyz72k6915g9";
- name = "qtgamepad-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtgraphicaleffects = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtgraphicaleffects-everywhere-src-5.11.3.tar.xz";
- sha256 = "1qjpdzkamf27cg5n1wsf0zk939lcgppgydfjzap9s4fxzj1nkn0l";
- name = "qtgraphicaleffects-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtimageformats = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtimageformats-everywhere-src-5.11.3.tar.xz";
- sha256 = "0zq8igsjyyhxsjr43vpaasrqjw3x0g6rwqf8kaz7y9vs7ny63ch4";
- name = "qtimageformats-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtlocation = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtlocation-everywhere-src-5.11.3.tar.xz";
- sha256 = "1sq0f41jwmsimv9a1wl2nk5nifjppm5j92rr4n4s7qwnnjjrir2q";
- name = "qtlocation-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtmacextras = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtmacextras-everywhere-src-5.11.3.tar.xz";
- sha256 = "1j9sqmcwswr8v9z8mcbm10bj7nz8nv9mir0xsc5123ik1gw2c3lk";
- name = "qtmacextras-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtmultimedia = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtmultimedia-everywhere-src-5.11.3.tar.xz";
- sha256 = "0h9wx86zj20n4xc3qnml0i360x2dc1yd2z2af1flj8fwyzppi03j";
- name = "qtmultimedia-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtnetworkauth = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtnetworkauth-everywhere-src-5.11.3.tar.xz";
- sha256 = "0dd35698wzg89975vi2ijl2lym495fjizsl03mjixsjnvb1x0q50";
- name = "qtnetworkauth-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtpurchasing = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtpurchasing-everywhere-src-5.11.3.tar.xz";
- sha256 = "1fd0gxdj5mrh81iwimq1243i3n47sqv9ik8nslahfh0q3dsx7k8n";
- name = "qtpurchasing-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtquickcontrols = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtquickcontrols-everywhere-src-5.11.3.tar.xz";
- sha256 = "0dvmy31qbl76yy0j5y8m7mvnmqyg2c01fmlkn0snvc5h5ah5skjf";
- name = "qtquickcontrols-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtquickcontrols2 = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtquickcontrols2-everywhere-src-5.11.3.tar.xz";
- sha256 = "11nhpb0xckv5jjkqj5szr94c2rvyjwr89ch58hh64nsqaav30mpl";
- name = "qtquickcontrols2-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtremoteobjects = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtremoteobjects-everywhere-src-5.11.3.tar.xz";
- sha256 = "1d3jzsxfyjhgb6wj9iv1388bv7j6pi08346nmkm1c1a4iykhc0zp";
- name = "qtremoteobjects-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtscript = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtscript-everywhere-src-5.11.3.tar.xz";
- sha256 = "027cvggbcvwyz76cn1bl1zvqg0nq7iica1b7yx7xyy0hb36g715v";
- name = "qtscript-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtscxml = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtscxml-everywhere-src-5.11.3.tar.xz";
- sha256 = "1mv8mz36v34dckrzy5r41mq3sqznbalrhndk3avz2154xmkjf5qk";
- name = "qtscxml-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtsensors = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtsensors-everywhere-src-5.11.3.tar.xz";
- sha256 = "0n88c8xi9pbyh7q1pcqv4yjv6nx62abflj8qgfr4qzb0sp8m6mx7";
- name = "qtsensors-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtserialbus = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtserialbus-everywhere-src-5.11.3.tar.xz";
- sha256 = "0vf12jk1ma0v0dlpliw1x9i04iaik1kjkiaby7gaxm2abprxwr2n";
- name = "qtserialbus-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtserialport = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtserialport-everywhere-src-5.11.3.tar.xz";
- sha256 = "1nkbfsxzgicwns3k11hhzjxy2hgrigj8xcw2by0jc1j71mnmxi4n";
- name = "qtserialport-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtspeech = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtspeech-everywhere-src-5.11.3.tar.xz";
- sha256 = "158p7zqd0vg55gf88jzc3d4f7649ihh80k0m1q46m2yp6fpdjbxr";
- name = "qtspeech-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtsvg = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtsvg-everywhere-src-5.11.3.tar.xz";
- sha256 = "14a4rprbj9f9rhixbk7143xdz34d7d39xh9v2sc1w43q9sf2rsi1";
- name = "qtsvg-everywhere-src-5.11.3.tar.xz";
- };
- };
- qttools = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qttools-everywhere-src-5.11.3.tar.xz";
- sha256 = "13lzdxxi02yhvx4mflhisl6aqv2fiss5m804cqccd1wvp8dyh1f2";
- name = "qttools-everywhere-src-5.11.3.tar.xz";
- };
- };
- qttranslations = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qttranslations-everywhere-src-5.11.3.tar.xz";
- sha256 = "0j8i2kabz22vqb0qj41pkjv848zblqxs71sydc3xcd5av22b517s";
- name = "qttranslations-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtvirtualkeyboard = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtvirtualkeyboard-everywhere-src-5.11.3.tar.xz";
- sha256 = "17jb7cbfy5c19fr9frql6q22in3ra3a4fbff0kjykllxb8j40p4c";
- name = "qtvirtualkeyboard-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtwayland = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtwayland-everywhere-src-5.11.3.tar.xz";
- sha256 = "1chz4wchgkzd45h143i5hkqg0whcgdbj37gkg7j4kj31whllzjb2";
- name = "qtwayland-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtwebchannel = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtwebchannel-everywhere-src-5.11.3.tar.xz";
- sha256 = "1wrdawlqvcw84h8q52mvbjhp1vkd6fhz6c8ijlg9rw0s3fj4y99w";
- name = "qtwebchannel-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtwebengine = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtwebengine-everywhere-src-5.11.3.tar.xz";
- sha256 = "1zmqsdais85cdfh2jh8h4a5jcamp1mzdk3vgqm6xnldqf6nrxd2v";
- name = "qtwebengine-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtwebglplugin = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtwebglplugin-everywhere-src-5.11.3.tar.xz";
- sha256 = "0wqz8lycmi7pffzy0pz5960w109lbk4mkbw0l1lh64avl6clq7b9";
- name = "qtwebglplugin-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtwebsockets = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtwebsockets-everywhere-src-5.11.3.tar.xz";
- sha256 = "1ffmapfy68xwwbxbg19ng6b5h8v42cf78s21j7rgq49gm70r0402";
- name = "qtwebsockets-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtwebview = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtwebview-everywhere-src-5.11.3.tar.xz";
- sha256 = "1njmn1n03dp4md8cz58cq2z6bsxd8nwlw0238zmavh7px3jzc9kh";
- name = "qtwebview-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtwinextras = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtwinextras-everywhere-src-5.11.3.tar.xz";
- sha256 = "1xf9gc0wqk9jz2ayx29vx0vmm72x9h4qxp2fvgpclns621wyhw72";
- name = "qtwinextras-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtx11extras = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtx11extras-everywhere-src-5.11.3.tar.xz";
- sha256 = "11fd2mc20qmnyv1vqhaqad2q6m0i4lmkr432rmqvpkgphpkfp7pr";
- name = "qtx11extras-everywhere-src-5.11.3.tar.xz";
- };
- };
- qtxmlpatterns = {
- version = "5.11.3";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.11/5.11.3/submodules/qtxmlpatterns-everywhere-src-5.11.3.tar.xz";
- sha256 = "1vhfvgi39miqsx3iq7c9sii2sykq0yfng69b70i0smr20zihpl4b";
- name = "qtxmlpatterns-everywhere-src-5.11.3.tar.xz";
- };
- };
-}
diff --git a/pkgs/development/libraries/qt-5/5.12/default.nix b/pkgs/development/libraries/qt-5/5.12/default.nix
index 0a37b1ce39a3cf6b0337b6dd9b7a1180b8c7fe3f..8d27f3a0d4bac61fefae5b4e294e7520b0a73b62 100644
--- a/pkgs/development/libraries/qt-5/5.12/default.nix
+++ b/pkgs/development/libraries/qt-5/5.12/default.nix
@@ -80,15 +80,6 @@ let
url = "https://git.archlinux.org/svntogit/packages.git/plain/trunk/qtbug-77037-workaround.patch?h=packages/qt5-webengine&id=fc77d6b3d5ec74e421b58f199efceb2593cbf951";
sha256 = "1gv733qfdn9746nbqqxzyjx4ijjqkkb7zb71nxax49nna5bri3am";
})
- # patch for CVE-2019-13720, can be removed when it is included in the next upstream release
- # https://bugreports.qt.io/browse/QTBUG-1019226
- (fetchpatch {
- name = "qtwebengine-CVE-2019-13720.patch";
- url = "https://code.qt.io/cgit/qt/qtwebengine-chromium.git/patch/?id=d6e5fc10";
- sha256 = "0ywc12m196pr6xn7l5xbascihygkjj4pbcgcn9wxvi5ssdr6z46z";
- extraPrefix = "src/3rdparty/";
- stripLen = 1;
- })
]
++ optional stdenv.isDarwin ./qtwebengine-darwin-no-platform-check.patch;
qtwebkit = [ ./qtwebkit.patch ]
diff --git a/pkgs/development/libraries/qt-5/5.12/fetch.sh b/pkgs/development/libraries/qt-5/5.12/fetch.sh
index 575115c9bdf412791ce3cca4b271608d46940f47..9f99879511e6b337f49d25dee2a50d639707af68 100644
--- a/pkgs/development/libraries/qt-5/5.12/fetch.sh
+++ b/pkgs/development/libraries/qt-5/5.12/fetch.sh
@@ -1 +1 @@
-WGET_ARGS=( http://download.qt.io/official_releases/qt/5.12/5.12.5/submodules/ )
+WGET_ARGS=( http://download.qt.io/official_releases/qt/5.12/5.12.6/submodules/ )
diff --git a/pkgs/development/libraries/qt-5/5.12/srcs.nix b/pkgs/development/libraries/qt-5/5.12/srcs.nix
index 3b4d761c16cdde3e539011aa052ab33953d543ba..b4494593fd0b5c617d885d45a9ac1ec6e96aaccf 100644
--- a/pkgs/development/libraries/qt-5/5.12/srcs.nix
+++ b/pkgs/development/libraries/qt-5/5.12/srcs.nix
@@ -3,323 +3,323 @@
{
qt3d = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qt3d-everywhere-src-5.12.5.tar.xz";
- sha256 = "2a35b144768c7ad8a9265d16a04f038d9bc51016bd2c4b2b516e374f81ff29c4";
- name = "qt3d-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qt3d-everywhere-src-5.12.6.tar.xz";
+ sha256 = "cf34ce99a2592270abbf32a13fa824d99c76412fc493a3f1c37e37892b198baf";
+ name = "qt3d-everywhere-src-5.12.6.tar.xz";
};
};
qtactiveqt = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtactiveqt-everywhere-src-5.12.5.tar.xz";
- sha256 = "d673a1269dd900c78dbfe88eb16e086e36d236571722712a64401cdec7b73a40";
- name = "qtactiveqt-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtactiveqt-everywhere-src-5.12.6.tar.xz";
+ sha256 = "c50f082588bf7dad2091a5b67c426791bf36d7d1503c56dc79b9e26444931f09";
+ name = "qtactiveqt-everywhere-src-5.12.6.tar.xz";
};
};
qtandroidextras = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtandroidextras-everywhere-src-5.12.5.tar.xz";
- sha256 = "f115ccef1e808da7c5d0348f3e245952a2973966f34d18b935f9e3eb16062eab";
- name = "qtandroidextras-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtandroidextras-everywhere-src-5.12.6.tar.xz";
+ sha256 = "a0f15a4ba29abe90de2b2c221efd22ecfb6793590ff9610f85e6e6b6562784fe";
+ name = "qtandroidextras-everywhere-src-5.12.6.tar.xz";
};
};
qtbase = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtbase-everywhere-src-5.12.5.tar.xz";
- sha256 = "fc8abffbbda9da3e593d8d62b56bc17dbaab13ff71b72915ddda11dabde4d625";
- name = "qtbase-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtbase-everywhere-src-5.12.6.tar.xz";
+ sha256 = "6ab52649d74d7c1728cf4a6cf335d1142b3bf617d476e2857eb7961ef43f9f27";
+ name = "qtbase-everywhere-src-5.12.6.tar.xz";
};
};
qtcanvas3d = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtcanvas3d-everywhere-src-5.12.5.tar.xz";
- sha256 = "1553e06ce3cc5afb36aed3698b85c00e734eac07f7f41895426bebd84216d80c";
- name = "qtcanvas3d-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtcanvas3d-everywhere-src-5.12.6.tar.xz";
+ sha256 = "2d33e6c944e5a2eed7528fdfe9deadfb1b7a0fcf17bab1f8b83988b1327d9d08";
+ name = "qtcanvas3d-everywhere-src-5.12.6.tar.xz";
};
};
qtcharts = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtcharts-everywhere-src-5.12.5.tar.xz";
- sha256 = "4c7c30a916ba0100a1635b89f48bc5a8af4cdedac79c3fc18456af54dc0a6608";
- name = "qtcharts-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtcharts-everywhere-src-5.12.6.tar.xz";
+ sha256 = "14dbdb5bb18d774e3b7ac3042a3f349080ab42c2588527ff04123df1c9ccaa3d";
+ name = "qtcharts-everywhere-src-5.12.6.tar.xz";
};
};
qtconnectivity = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtconnectivity-everywhere-src-5.12.5.tar.xz";
- sha256 = "bdf62c72d689f47c4d17ecdde934d9f85a1164091e58fce02873de259e8de88b";
- name = "qtconnectivity-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtconnectivity-everywhere-src-5.12.6.tar.xz";
+ sha256 = "10f1c6727aedc375a1bfab4bb33fd2111bf2c1dfc19049e361c0f58608ea22da";
+ name = "qtconnectivity-everywhere-src-5.12.6.tar.xz";
};
};
qtdatavis3d = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtdatavis3d-everywhere-src-5.12.5.tar.xz";
- sha256 = "1de165bf5330c7fb18c6fbb8c0e5cda47fa19c2eaba657b3792fd75e653444f3";
- name = "qtdatavis3d-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtdatavis3d-everywhere-src-5.12.6.tar.xz";
+ sha256 = "414d91aae5e7d3404a0b526f944961871b1abf1fda51f0861d19cb28a2eba4fe";
+ name = "qtdatavis3d-everywhere-src-5.12.6.tar.xz";
};
};
qtdeclarative = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtdeclarative-everywhere-src-5.12.5.tar.xz";
- sha256 = "22c5323d4b01259e6e352eef1b54129d6dfee00a406f0312905fa7db322b9190";
- name = "qtdeclarative-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtdeclarative-everywhere-src-5.12.6.tar.xz";
+ sha256 = "34b1d1ae5562f1d433e22c255ac1a37a2fb030ef05bf6123d4b9496644b686d3";
+ name = "qtdeclarative-everywhere-src-5.12.6.tar.xz";
};
};
qtdoc = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtdoc-everywhere-src-5.12.5.tar.xz";
- sha256 = "f1de30227b8854c284e9c23e9c0c44d9fe768880aef826b0f880a44dd7c7538d";
- name = "qtdoc-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtdoc-everywhere-src-5.12.6.tar.xz";
+ sha256 = "82549278120236ece0e02f9bab351319e4469c242ce97b05f269964aee924aac";
+ name = "qtdoc-everywhere-src-5.12.6.tar.xz";
};
};
qtgamepad = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtgamepad-everywhere-src-5.12.5.tar.xz";
- sha256 = "de88f01d47f7cc5d54a1af783c5fae9f2b0101948ff33b8290f71b2657aded33";
- name = "qtgamepad-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtgamepad-everywhere-src-5.12.6.tar.xz";
+ sha256 = "e1ebc5f3593c5234724663106790fbf1831d4ac8ea50a9d9805d2dd0a1c5b3b3";
+ name = "qtgamepad-everywhere-src-5.12.6.tar.xz";
};
};
qtgraphicaleffects = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtgraphicaleffects-everywhere-src-5.12.5.tar.xz";
- sha256 = "bdbddba7e0e0d041809a98d97c07da8be8936ec48537335cbaea9b0049c646ad";
- name = "qtgraphicaleffects-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtgraphicaleffects-everywhere-src-5.12.6.tar.xz";
+ sha256 = "ded0327624a13bf7fab07e5fe762473194ed898b0442ef9325498e41c8c077ef";
+ name = "qtgraphicaleffects-everywhere-src-5.12.6.tar.xz";
};
};
qtimageformats = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtimageformats-everywhere-src-5.12.5.tar.xz";
- sha256 = "9f19394830542fb9e6bde6806b6216b7207f96bff674b91e8e8a8f89699e1f0a";
- name = "qtimageformats-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtimageformats-everywhere-src-5.12.6.tar.xz";
+ sha256 = "330d1c29a135c44bb36b5ffc2ba4f8915dbc446d5d75563523ebcfd373617858";
+ name = "qtimageformats-everywhere-src-5.12.6.tar.xz";
};
};
qtlocation = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtlocation-everywhere-src-5.12.5.tar.xz";
- sha256 = "12c8b59755abc4ca56e135e8ae3db7c6ba1bd95c779060f10a01393ae1040122";
- name = "qtlocation-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtlocation-everywhere-src-5.12.6.tar.xz";
+ sha256 = "7ae231ca4de3c0915e92bb95440b0ddc7113790b1acb536c9394472e8dde2278";
+ name = "qtlocation-everywhere-src-5.12.6.tar.xz";
};
};
qtmacextras = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtmacextras-everywhere-src-5.12.5.tar.xz";
- sha256 = "984c3c95834aaa6fd85234ab1987a79662911c510e419611ce88fb4756313194";
- name = "qtmacextras-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtmacextras-everywhere-src-5.12.6.tar.xz";
+ sha256 = "eae25b8858fef348667b938f5c88a014ee78945c419e4e6d856d4a6adc5e43a3";
+ name = "qtmacextras-everywhere-src-5.12.6.tar.xz";
};
};
qtmultimedia = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtmultimedia-everywhere-src-5.12.5.tar.xz";
- sha256 = "d5a0a4fddc5ef14d641160a1fc0011b190ff8d9f19009498d586516b8ee3479c";
- name = "qtmultimedia-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtmultimedia-everywhere-src-5.12.6.tar.xz";
+ sha256 = "9f580e8962ca6a09608570e77b38d7c3f71d344ff6de1c39bc6905226b679570";
+ name = "qtmultimedia-everywhere-src-5.12.6.tar.xz";
};
};
qtnetworkauth = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtnetworkauth-everywhere-src-5.12.5.tar.xz";
- sha256 = "0933475a2d30550c70ce4026c72678cbfdac73211593c78d442e038ef531a9f1";
- name = "qtnetworkauth-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtnetworkauth-everywhere-src-5.12.6.tar.xz";
+ sha256 = "ea122d86a960863bbe0e0f4b5a12f0a376455beed3c26f1b61926e065b366abd";
+ name = "qtnetworkauth-everywhere-src-5.12.6.tar.xz";
};
};
qtpurchasing = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtpurchasing-everywhere-src-5.12.5.tar.xz";
- sha256 = "7bcebc4985d387f3fa4ffcc19eada1f4f0f000ed0fd3e1d1dc37eb1db0be615b";
- name = "qtpurchasing-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtpurchasing-everywhere-src-5.12.6.tar.xz";
+ sha256 = "1fa0b7e3da4755b64559177f507718320c1aa9e66ec49e17595e04c3f3af70cd";
+ name = "qtpurchasing-everywhere-src-5.12.6.tar.xz";
};
};
qtquickcontrols = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtquickcontrols-everywhere-src-5.12.5.tar.xz";
- sha256 = "46deaefbdac3daa576c748e807956f5f82b2318923b1a36e434a3ff32d1d2559";
- name = "qtquickcontrols-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtquickcontrols-everywhere-src-5.12.6.tar.xz";
+ sha256 = "c48d96a187ff924f1ae4b4abe9cc073adeb06a6c2b07c4191aa595ad22df2c99";
+ name = "qtquickcontrols-everywhere-src-5.12.6.tar.xz";
};
};
qtquickcontrols2 = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtquickcontrols2-everywhere-src-5.12.5.tar.xz";
- sha256 = "d744bdc492486db6cb521b1d4891e2358719399825ca1cf2a50968a80f6acb8f";
- name = "qtquickcontrols2-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtquickcontrols2-everywhere-src-5.12.6.tar.xz";
+ sha256 = "5cab0712f946405db269851b96cca02ef8ba98f3ee2c4fa9c0877dba3808a970";
+ name = "qtquickcontrols2-everywhere-src-5.12.6.tar.xz";
};
};
qtremoteobjects = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtremoteobjects-everywhere-src-5.12.5.tar.xz";
- sha256 = "acf131af93dd1fefbf30c7e03e29b8a1da3180e00c49f95c14a1cb6158cfeacd";
- name = "qtremoteobjects-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtremoteobjects-everywhere-src-5.12.6.tar.xz";
+ sha256 = "49b5353d020fb6ab9bdf90c941a4b3acc6b036266f6c68a42fc44a7ac151d699";
+ name = "qtremoteobjects-everywhere-src-5.12.6.tar.xz";
};
};
qtscript = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtscript-everywhere-src-5.12.5.tar.xz";
- sha256 = "0083734ae827840334b774decb15de37f1b4ea5c88e442e2f485c530f24f1df4";
- name = "qtscript-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtscript-everywhere-src-5.12.6.tar.xz";
+ sha256 = "a18082ad338e2378cccab932045804ad3077ec924fed2efc59d4b726d622777c";
+ name = "qtscript-everywhere-src-5.12.6.tar.xz";
};
};
qtscxml = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtscxml-everywhere-src-5.12.5.tar.xz";
- sha256 = "6f1ec74100cdb2e7dfc3535e09d356fc53ba42e61b32fc3b93d5a7efed49960c";
- name = "qtscxml-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtscxml-everywhere-src-5.12.6.tar.xz";
+ sha256 = "53d7837c8b5b1f9beb26cb64ea4334211218533e0126167e4e7e75238f7ac68b";
+ name = "qtscxml-everywhere-src-5.12.6.tar.xz";
};
};
qtsensors = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtsensors-everywhere-src-5.12.5.tar.xz";
- sha256 = "e3a86a706f475bb23fc874de56026482de223ebd24f8cb4e94a28d1985ca0b85";
- name = "qtsensors-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtsensors-everywhere-src-5.12.6.tar.xz";
+ sha256 = "59dba4c0bc72846d938e0862f14d8064fb664d893f270a41d3abf4e871290ef5";
+ name = "qtsensors-everywhere-src-5.12.6.tar.xz";
};
};
qtserialbus = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtserialbus-everywhere-src-5.12.5.tar.xz";
- sha256 = "8474ae61a703c56e327ae0755c27643f2eafe0d915e8c6afb21728548dc02c22";
- name = "qtserialbus-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtserialbus-everywhere-src-5.12.6.tar.xz";
+ sha256 = "071b421282118c507a996e3cee4070f2c545335dfd891a44bf54100935cff5de";
+ name = "qtserialbus-everywhere-src-5.12.6.tar.xz";
};
};
qtserialport = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtserialport-everywhere-src-5.12.5.tar.xz";
- sha256 = "f8ef0321a59ecfe2c72adc2ee220e0047403439a3c7b9efb719b1476af1fb862";
- name = "qtserialport-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtserialport-everywhere-src-5.12.6.tar.xz";
+ sha256 = "77d0def93078fb5d9de6faa9ccff05cce5b934899e856b04bcf7f721a4e190be";
+ name = "qtserialport-everywhere-src-5.12.6.tar.xz";
};
};
qtspeech = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtspeech-everywhere-src-5.12.5.tar.xz";
- sha256 = "f94c0cd7236d1a20d97d314d2c17c45c967cd7f24b869c43f5f46253f436f25b";
- name = "qtspeech-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtspeech-everywhere-src-5.12.6.tar.xz";
+ sha256 = "27ae7b2c7073377a617f32b0f4adfc1807774f02d13469ed4bcd282799cf878a";
+ name = "qtspeech-everywhere-src-5.12.6.tar.xz";
};
};
qtsvg = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtsvg-everywhere-src-5.12.5.tar.xz";
- sha256 = "75a791cf749f671d7ea9090b403ca513f745795018db512e7eecbf418b679840";
- name = "qtsvg-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtsvg-everywhere-src-5.12.6.tar.xz";
+ sha256 = "46243e6c425827ab4e91fbe31567f683ff14cb01d12f9f7543a83a571228ef8f";
+ name = "qtsvg-everywhere-src-5.12.6.tar.xz";
};
};
qttools = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qttools-everywhere-src-5.12.5.tar.xz";
- sha256 = "28e095047b4985437dd66120cbcb49ac091bf4f12576ecad7ebc781b7dd44025";
- name = "qttools-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qttools-everywhere-src-5.12.6.tar.xz";
+ sha256 = "e94991c7885c2650cefd71189873e45b1d64d6042e439a0a0d9652c191d3c777";
+ name = "qttools-everywhere-src-5.12.6.tar.xz";
};
};
qttranslations = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qttranslations-everywhere-src-5.12.5.tar.xz";
- sha256 = "72eb6317190fdcc3f8de37996adc646ab8772988766bacaab60a5bcc7d6a3f2a";
- name = "qttranslations-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qttranslations-everywhere-src-5.12.6.tar.xz";
+ sha256 = "798ac44414206898d0192653118de3f115c59016e2bf82ad0c659f9f8c864768";
+ name = "qttranslations-everywhere-src-5.12.6.tar.xz";
};
};
qtvirtualkeyboard = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtvirtualkeyboard-everywhere-src-5.12.5.tar.xz";
- sha256 = "786d745b34b1f145073488d492325e98bcde81b07ab984032ea5eb2fb52e6e5e";
- name = "qtvirtualkeyboard-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtvirtualkeyboard-everywhere-src-5.12.6.tar.xz";
+ sha256 = "04699888d6e1e8e04db8043a37212fa3b1fcb1b23aef41c2f3ae7a4278e34d2c";
+ name = "qtvirtualkeyboard-everywhere-src-5.12.6.tar.xz";
};
};
qtwayland = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtwayland-everywhere-src-5.12.5.tar.xz";
- sha256 = "29fd31267149451f93faa15f031e0a14506e704086033f70d51479522c6f3846";
- name = "qtwayland-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtwayland-everywhere-src-5.12.6.tar.xz";
+ sha256 = "fa9c6aa84ddc0334b44f0f47d69569e496e5d9f3a1ed67aab42214854d2351c4";
+ name = "qtwayland-everywhere-src-5.12.6.tar.xz";
};
};
qtwebchannel = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtwebchannel-everywhere-src-5.12.5.tar.xz";
- sha256 = "9f1d1ac20722ee053ecf071d4ec0070a45a765cb67b6e31add61004fb4b3c5e8";
- name = "qtwebchannel-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtwebchannel-everywhere-src-5.12.6.tar.xz";
+ sha256 = "2745d1703de1a749405727a74786184c950ba7465dc5d02e2f39f51635dbc8d7";
+ name = "qtwebchannel-everywhere-src-5.12.6.tar.xz";
};
};
qtwebengine = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtwebengine-everywhere-src-5.12.5.tar.xz";
- sha256 = "31881130e69eb8336e9480f9f33cd5a93e86de8d7323c0ae1893e1a72ce70743";
- name = "qtwebengine-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtwebengine-everywhere-src-5.12.6.tar.xz";
+ sha256 = "caa5f257c3bc33c1d2fcb9b7cd414fd5c46e8eee8a103231ab28d592a0058621";
+ name = "qtwebengine-everywhere-src-5.12.6.tar.xz";
};
};
qtwebglplugin = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtwebglplugin-everywhere-src-5.12.5.tar.xz";
- sha256 = "aac3b2b2e5b6f26dd7abba6eab616777fecbb4d06de05ddab68c1296652bc4f7";
- name = "qtwebglplugin-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtwebglplugin-everywhere-src-5.12.6.tar.xz";
+ sha256 = "21d88852f69f0f06c5899e61fe76b2cefc2b65be4ed3c334ec01431ba16f50dd";
+ name = "qtwebglplugin-everywhere-src-5.12.6.tar.xz";
};
};
qtwebsockets = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtwebsockets-everywhere-src-5.12.5.tar.xz";
- sha256 = "5d58e697c49c0ea19a8299deba84b5360dca8c336a1636d38de0351757293262";
- name = "qtwebsockets-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtwebsockets-everywhere-src-5.12.6.tar.xz";
+ sha256 = "f00bfbaa73e60a4c3371e729167d7acb465cbb2db32535d745982cab21fed61e";
+ name = "qtwebsockets-everywhere-src-5.12.6.tar.xz";
};
};
qtwebview = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtwebview-everywhere-src-5.12.5.tar.xz";
- sha256 = "a6d4d8c335cd6838f4638874fcd67655e80db569ed567a774a84f6bf7d332f26";
- name = "qtwebview-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtwebview-everywhere-src-5.12.6.tar.xz";
+ sha256 = "42c0623c1c066620ab1afc3736a4a5f42115f9c190dafdf643e16ccec6e7727a";
+ name = "qtwebview-everywhere-src-5.12.6.tar.xz";
};
};
qtwinextras = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtwinextras-everywhere-src-5.12.5.tar.xz";
- sha256 = "7ee2fc73bc95c5e36e8ed2d02fc89822d56c406c540fbfa52bb0e3929ff2f93d";
- name = "qtwinextras-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtwinextras-everywhere-src-5.12.6.tar.xz";
+ sha256 = "02c2b2393073a22498a5645faed34040428ace9cf09f18e2f12e75e31be54bea";
+ name = "qtwinextras-everywhere-src-5.12.6.tar.xz";
};
};
qtx11extras = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtx11extras-everywhere-src-5.12.5.tar.xz";
- sha256 = "89425af3e48b040878c6a64ace58c17a83b87c9330e6366b09a41d6797062a68";
- name = "qtx11extras-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtx11extras-everywhere-src-5.12.6.tar.xz";
+ sha256 = "5f3991f557116034731ed059895e73b5d34e1b22e85536a8eb6e92350b3a1d6b";
+ name = "qtx11extras-everywhere-src-5.12.6.tar.xz";
};
};
qtxmlpatterns = {
- version = "5.12.5";
+ version = "5.12.6";
src = fetchurl {
- url = "${mirror}/official_releases/qt/5.12/5.12.5/submodules/qtxmlpatterns-everywhere-src-5.12.5.tar.xz";
- sha256 = "b905d9107f87798ef0f142942fc45c0f63fc113522ab041e791d3cb744a8babd";
- name = "qtxmlpatterns-everywhere-src-5.12.5.tar.xz";
+ url = "${mirror}/official_releases/qt/5.12/5.12.6/submodules/qtxmlpatterns-everywhere-src-5.12.6.tar.xz";
+ sha256 = "76977bc834e6c6118ae2bab31e68ae54843358936b03e432d919ad15cd2184d0";
+ name = "qtxmlpatterns-everywhere-src-5.12.6.tar.xz";
};
};
}
diff --git a/pkgs/development/libraries/qt-5/5.9/default.nix b/pkgs/development/libraries/qt-5/5.9/default.nix
deleted file mode 100644
index 8854ed547001350d1252c6e907d8c6c5ffce6198..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-5/5.9/default.nix
+++ /dev/null
@@ -1,179 +0,0 @@
-/*
-
-# Updates
-
-Before a major version update, make a copy of this directory. (We like to
-keep the old version around for a short time after major updates.) Add a
-top-level attribute to `top-level/all-packages.nix`.
-
-1. Update the URL in `pkgs/development/libraries/qt-5/$VERSION/fetch.sh`.
-2. From the top of the Nixpkgs tree, run
- `./maintainers/scripts/fetch-kde-qt.sh > pkgs/development/libraries/qt-5/$VERSION/srcs.nix`.
-3. Check that the new packages build correctly.
-4. Commit the changes and open a pull request.
-
-*/
-
-{
- newScope,
- stdenv, fetchurl, fetchpatch, makeSetupHook, makeWrapper,
- bison, cups ? null, harfbuzz, libGL, perl,
- gstreamer, gst-plugins-base, gtk3, dconf,
-
- # options
- developerBuild ? false,
- decryptSslTraffic ? false,
- debug ? false,
-}:
-
-with stdenv.lib;
-
-let
-
- qtCompatVersion = srcs.qtbase.version;
-
- mirror = "http://download.qt.io";
- srcs = import ./srcs.nix { inherit fetchurl; inherit mirror; };
-
- patches = {
- qtbase = [
- ./qtbase.patch
- ./qtbase-fixguicmake.patch
- ./qtbase-openssl_1_1.patch
- ];
- qtdeclarative = [ ./qtdeclarative.patch ];
- qtscript = [
- ./qtscript.patch
- # needed due to changes in gcc 8.3, see https://bugreports.qt.io/browse/QTBUG-74196
- # fixed in qtscript 5.12.2
- (fetchpatch {
- url = "https://github.com/qt/qtscript/commit/97ec1d1882a83c23c91f0f7daea48e05858d8c32.diff";
- sha256 = "0khrapq13xzvxckzc9l7gqyjwibyd98vyqy6gmyhvsbm2kq8n6wi";
- })
- ];
- qtserialport = [ ./qtserialport.patch ];
- qttools = [ ./qttools.patch ];
- qtwebengine = [
- ./qtwebengine-no-build-skip.patch
- # https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/707
- # https://bugreports.qt.io/browse/QTBUG-77037
- (fetchpatch {
- name = "fix-build-with-pulseaudio-13.0.patch";
- url = "https://git.archlinux.org/svntogit/packages.git/plain/trunk/qtbug-77037-workaround.patch?h=packages/qt5-webengine&id=fc77d6b3d5ec74e421b58f199efceb2593cbf951";
- sha256 = "1gv733qfdn9746nbqqxzyjx4ijjqkkb7zb71nxax49nna5bri3am";
- })
- ] ++ optional stdenv.cc.isClang ./qtwebengine-clang-fix.patch
- ++ optional stdenv.isDarwin ./qtwebengine-darwin-no-platform-check.patch;
-
- qtwebkit = [ ./qtwebkit.patch ];
- qtvirtualkeyboard = [
- (fetchpatch {
- name = "CVE-2018-19865-A.patch";
- url = "https://codereview.qt-project.org/gitweb?p=qt/qtvirtualkeyboard.git;a=patch;h=61780a113f02b3c62fb14516fe8ea47d91f9ed9a";
- sha256 = "0jd4nzaz9ndm9ryvrkav7kjs437l661288diklhbmgh249f8gki0";
- })
- (fetchpatch {
- name = "CVE-2018-19865-B.patch";
- url = "https://codereview.qt-project.org/gitweb?p=qt/qtvirtualkeyboard.git;a=patch;h=c0ac7a4c684e2fed60a72ceee53da89eea3f95a7";
- sha256 = "0yvxrx5vx6845vgnq8ml3q93y61py5j0bvhqj7nqvpbmyj1wy1p3";
-
- })
- (fetchpatch {
- name = "CVE-2018-19865-C.patch";
- url = "https://codereview.qt-project.org/gitweb?p=qt/qtvirtualkeyboard.git;a=patch;h=a2e7b8412f56841e12ed20a39f4a38e32d3c1e30";
- sha256 = "1yijysa9gy5xbxndx5ri0dkfrjqja0d1bsx52qz4mhzi4pkbib02";
- })
- ];
-
- };
-
- qtModule =
- import ../qtModule.nix
- {
- inherit perl;
- inherit (stdenv) lib;
- # Use a variant of mkDerivation that does not include wrapQtApplications
- # to avoid cyclic dependencies between Qt modules.
- mkDerivation =
- import ../mkDerivation.nix
- { inherit (stdenv) lib; inherit debug; wrapQtAppsHook = null; }
- stdenv.mkDerivation;
- }
- { inherit self srcs patches; };
-
- addPackages = self: with self;
- let
- callPackage = self.newScope { inherit qtCompatVersion qtModule srcs; };
- in {
-
- mkDerivationWith =
- import ../mkDerivation.nix
- { inherit (stdenv) lib; inherit debug; inherit (self) wrapQtAppsHook; };
-
- mkDerivation = mkDerivationWith stdenv.mkDerivation;
-
- qtbase = callPackage ../modules/qtbase.nix {
- inherit (srcs.qtbase) src version;
- patches = patches.qtbase;
- inherit bison cups harfbuzz libGL;
- withGtk3 = true; inherit dconf gtk3;
- inherit developerBuild decryptSslTraffic;
- };
-
- qtcharts = callPackage ../modules/qtcharts.nix {};
- qtconnectivity = callPackage ../modules/qtconnectivity.nix {};
- qtdeclarative = callPackage ../modules/qtdeclarative.nix {};
- qtdoc = callPackage ../modules/qtdoc.nix {};
- qtgraphicaleffects = callPackage ../modules/qtgraphicaleffects.nix {};
- qtimageformats = callPackage ../modules/qtimageformats.nix {};
- qtlocation = callPackage ../modules/qtlocation.nix {};
- qtmacextras = callPackage ../modules/qtmacextras.nix {};
- qtmultimedia = callPackage ../modules/qtmultimedia.nix {
- inherit gstreamer gst-plugins-base;
- };
- qtnetworkauth = callPackage ../modules/qtnetworkauth.nix {};
- qtquick1 = null;
- qtquickcontrols = callPackage ../modules/qtquickcontrols.nix {};
- qtquickcontrols2 = callPackage ../modules/qtquickcontrols2.nix {};
- qtscript = callPackage ../modules/qtscript.nix {};
- qtsensors = callPackage ../modules/qtsensors.nix {};
- qtserialport = callPackage ../modules/qtserialport.nix {};
- qtsvg = callPackage ../modules/qtsvg.nix {};
- qttools = callPackage ../modules/qttools.nix {};
- qttranslations = callPackage ../modules/qttranslations.nix {};
- qtvirtualkeyboard = callPackage ../modules/qtvirtualkeyboard.nix {};
- qtwayland = callPackage ../modules/qtwayland.nix {};
- qtwebchannel = callPackage ../modules/qtwebchannel.nix {};
- qtwebengine = callPackage ../modules/qtwebengine.nix {};
- qtwebkit = callPackage ../modules/qtwebkit.nix {};
- qtwebsockets = callPackage ../modules/qtwebsockets.nix {};
- qtx11extras = callPackage ../modules/qtx11extras.nix {};
- qtxmlpatterns = callPackage ../modules/qtxmlpatterns.nix {};
-
- env = callPackage ../qt-env.nix {};
- full = env "qt-full-${qtbase.version}" ([
- qtcharts qtconnectivity qtdeclarative qtdoc qtgraphicaleffects
- qtimageformats qtlocation qtmultimedia qtquickcontrols qtquickcontrols2
- qtscript qtsensors qtserialport qtsvg qttools qttranslations
- qtvirtualkeyboard qtwebchannel qtwebengine qtwebkit qtwebsockets
- qtx11extras qtxmlpatterns
- ] ++ optional (!stdenv.isDarwin) qtwayland
- ++ optional (stdenv.isDarwin) qtmacextras);
-
- qmake = makeSetupHook {
- deps = [ self.qtbase.dev ];
- substitutions = {
- fix_qmake_libtool = ../hooks/fix-qmake-libtool.sh;
- };
- } ../hooks/qmake-hook.sh;
-
- wrapQtAppsHook = makeSetupHook {
- deps =
- [ self.qtbase.dev makeWrapper ]
- ++ optional stdenv.isLinux self.qtwayland.dev;
- } ../hooks/wrap-qt-apps-hook.sh;
- };
-
- self = makeScope newScope addPackages;
-
-in self
diff --git a/pkgs/development/libraries/qt-5/5.9/fetch.sh b/pkgs/development/libraries/qt-5/5.9/fetch.sh
deleted file mode 100644
index 17ebe1e532dff5db9f2518e517f73e5eba3e4055..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-5/5.9/fetch.sh
+++ /dev/null
@@ -1 +0,0 @@
-WGET_ARGS=( http://download.qt.io/official_releases/qt/5.9/5.9.7/submodules/ )
diff --git a/pkgs/development/libraries/qt-5/5.9/qtbase-fixguicmake.patch b/pkgs/development/libraries/qt-5/5.9/qtbase-fixguicmake.patch
deleted file mode 100644
index 8b46d432812a8b457deda428f33f44195ca8aae1..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-5/5.9/qtbase-fixguicmake.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff --git a/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in b/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
-index 0bbc871..3673634 100644
---- a/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
-+++ b/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
-@@ -286,7 +286,7 @@ if (NOT TARGET Qt5::$${CMAKE_MODULE_NAME})
- macro(_populate_$${CMAKE_MODULE_NAME}_plugin_properties Plugin Configuration PLUGIN_LOCATION)
- set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
-
-- set(imported_location \"$${CMAKE_PLUGIN_DIR}${PLUGIN_LOCATION}\")
-+ set(imported_location \"${PLUGIN_LOCATION}\")
- _qt5_$${CMAKE_MODULE_NAME}_check_file_exists(${imported_location})
- set_target_properties(Qt5::${Plugin} PROPERTIES
- \"IMPORTED_LOCATION_${Configuration}\" ${imported_location}
-diff --git a/mkspecs/features/data/cmake/Qt5PluginTarget.cmake.in b/mkspecs/features/data/cmake/Qt5PluginTarget.cmake.in
-index 5baf0fd..3583745 100644
---- a/mkspecs/features/data/cmake/Qt5PluginTarget.cmake.in
-+++ b/mkspecs/features/data/cmake/Qt5PluginTarget.cmake.in
-@@ -2,10 +2,10 @@
- add_library(Qt5::$$CMAKE_PLUGIN_NAME MODULE IMPORTED)
-
- !!IF !isEmpty(CMAKE_RELEASE_TYPE)
--_populate_$${CMAKE_MODULE_NAME}_plugin_properties($$CMAKE_PLUGIN_NAME RELEASE \"$${CMAKE_PLUGIN_LOCATION_RELEASE}\")
-+_populate_$${CMAKE_MODULE_NAME}_plugin_properties($$CMAKE_PLUGIN_NAME RELEASE \"$${CMAKE_PLUGIN_DIR}$${CMAKE_PLUGIN_LOCATION_RELEASE}\")
- !!ENDIF
- !!IF !isEmpty(CMAKE_DEBUG_TYPE)
--_populate_$${CMAKE_MODULE_NAME}_plugin_properties($$CMAKE_PLUGIN_NAME DEBUG \"$${CMAKE_PLUGIN_LOCATION_DEBUG}\")
-+_populate_$${CMAKE_MODULE_NAME}_plugin_properties($$CMAKE_PLUGIN_NAME DEBUG \"$${CMAKE_PLUGIN_DIR}$${CMAKE_PLUGIN_LOCATION_DEBUG}\")
- !!ENDIF
-
- list(APPEND Qt5$${CMAKE_MODULE_NAME}_PLUGINS Qt5::$$CMAKE_PLUGIN_NAME)
diff --git a/pkgs/development/libraries/qt-5/5.9/qtbase-openssl_1_1.patch b/pkgs/development/libraries/qt-5/5.9/qtbase-openssl_1_1.patch
deleted file mode 100644
index d5f4d7527cb4ede73c6183c41c4d7280283dce56..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-5/5.9/qtbase-openssl_1_1.patch
+++ /dev/null
@@ -1,3985 +0,0 @@
-commit 2d88fc0ce4ac76924a65ffd797183de9422ba672
-Author: Andreas Rammhold
-Date: Wed Mar 6 00:18:51 2019 +0100
-
- openssl1.1 compat
-
-diff --git a/config.tests/openssl/openssl.cpp b/config.tests/openssl/openssl.cpp
-index 6c8a9e8f19..d33b62389c 100644
---- a/config.tests/openssl/openssl.cpp
-+++ b/config.tests/openssl/openssl.cpp
-@@ -39,8 +39,8 @@
-
- #include
-
--#if !defined(OPENSSL_VERSION_NUMBER) || OPENSSL_VERSION_NUMBER-0 < 0x0090700fL || OPENSSL_VERSION_NUMBER-0 >= 0x10100000L
--# error "OpenSSL >= 0.9.7, and < 1.1.0 is required"
-+#if !defined(OPENSSL_VERSION_NUMBER) || OPENSSL_VERSION_NUMBER-0 < 0x0090700fL
-+# error "OpenSSL >= 0.9.7 is required"
- #endif
-
- #include
-diff --git a/config.tests/openssl11/openssl.cpp b/config.tests/openssl11/openssl.cpp
-new file mode 100644
-index 0000000000..c20cc59deb
---- /dev/null
-+++ b/config.tests/openssl11/openssl.cpp
-@@ -0,0 +1,48 @@
-+/****************************************************************************
-+**
-+** Copyright (C) 2017 The Qt Company Ltd.
-+** Contact: https://www.qt.io/licensing/
-+**
-+** This file is part of the config.tests of the Qt Toolkit.
-+**
-+** $QT_BEGIN_LICENSE:LGPL$
-+** Commercial License Usage
-+** Licensees holding valid commercial Qt licenses may use this file in
-+** accordance with the commercial license agreement provided with the
-+** Software or, alternatively, in accordance with the terms contained in
-+** a written agreement between you and The Qt Company. For licensing terms
-+** and conditions see https://www.qt.io/terms-conditions. For further
-+** information use the contact form at https://www.qt.io/contact-us.
-+**
-+** GNU Lesser General Public License Usage
-+** Alternatively, this file may be used under the terms of the GNU Lesser
-+** General Public License version 3 as published by the Free Software
-+** Foundation and appearing in the file LICENSE.LGPL3 included in the
-+** packaging of this file. Please review the following information to
-+** ensure the GNU Lesser General Public License version 3 requirements
-+** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-+**
-+** GNU General Public License Usage
-+** Alternatively, this file may be used under the terms of the GNU
-+** General Public License version 2.0 or (at your option) the GNU General
-+** Public license version 3 or any later version approved by the KDE Free
-+** Qt Foundation. The licenses are as published by the Free Software
-+** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-+** included in the packaging of this file. Please review the following
-+** information to ensure the GNU General Public License requirements will
-+** be met: https://www.gnu.org/licenses/gpl-2.0.html and
-+** https://www.gnu.org/licenses/gpl-3.0.html.
-+**
-+** $QT_END_LICENSE$
-+**
-+****************************************************************************/
-+
-+#include
-+
-+#if !defined(OPENSSL_VERSION_NUMBER) || OPENSSL_VERSION_NUMBER-0 < 0x10100000L
-+# error "OpenSSL >= 1.1 is required"
-+#endif
-+
-+int main()
-+{
-+}
-diff --git a/config.tests/openssl11/openssl11.pro b/config.tests/openssl11/openssl11.pro
-new file mode 100644
-index 0000000000..a023aee4aa
---- /dev/null
-+++ b/config.tests/openssl11/openssl11.pro
-@@ -0,0 +1,2 @@
-+SOURCES = openssl.cpp
-+CONFIG -= x11 qt
-diff --git a/src/network/configure.json b/src/network/configure.json
-index 2cf90ed94b..a021c0734b 100644
---- a/src/network/configure.json
-+++ b/src/network/configure.json
-@@ -77,6 +77,17 @@
- },
- { "libs": "-lssl -lcrypto", "condition": "!config.win32" }
- ]
-+ },
-+ "openssl11": {
-+ "label": "OpenSSL v. 1.1 support",
-+ "type": "compile",
-+ "test": "openssl11",
-+ "sources": [
-+ {
-+ "comment": "placeholder for OPENSSL_PATH",
-+ "libs": ""
-+ }
-+ ]
- }
- },
-
-@@ -182,7 +193,7 @@
- "enable": "input.openssl == 'yes' || input.openssl == 'linked' || input.openssl == 'runtime'",
- "disable": "input.openssl == 'no' || input.ssl == 'no'",
- "autoDetect": "!config.winrt",
-- "condition": "!features.securetransport && (features.openssl-linked || libs.openssl_headers)",
-+ "condition": "!features.securetransport && (features.openssl-linked || libs.openssl_headers || feature.opensslv11)",
- "output": [
- "privateFeature",
- { "type": "publicQtConfig", "condition": "!features.openssl-linked" },
-@@ -193,7 +204,7 @@
- "label": " Qt directly linked to OpenSSL",
- "enable": "input.openssl == 'linked'",
- "disable": "input.openssl != 'linked'",
-- "condition": "!features.securetransport && libs.openssl",
-+ "condition": "!features.securetransport && (libs.openssl || feature.opensslv11)",
- "output": [
- "privateFeature",
- { "type": "define", "name": "QT_LINKED_OPENSSL" }
-@@ -213,6 +224,11 @@
- "condition": "config.winrt || features.securetransport || features.openssl",
- "output": [ "publicFeature", "feature" ]
- },
-+ "opensslv11": {
-+ "label": "OpenSSL v. 1.1",
-+ "condition": "libs.openssl11",
-+ "output": ["publicFeature", "feature"]
-+ },
- "sctp": {
- "label": "SCTP",
- "autoDetect": false,
-diff --git a/src/network/ssl/qsslcertificate_openssl.cpp b/src/network/ssl/qsslcertificate_openssl.cpp
-index 28b7eda54a..71e514a025 100644
---- a/src/network/ssl/qsslcertificate_openssl.cpp
-+++ b/src/network/ssl/qsslcertificate_openssl.cpp
-@@ -1,6 +1,7 @@
- /****************************************************************************
- **
--** Copyright (C) 2016 The Qt Company Ltd.
-+** Copyright (C) 2017 The Qt Company Ltd.
-+** Copyright (C) 2016 Richard J. Moore
- ** Contact: https://www.qt.io/licensing/
- **
- ** This file is part of the QtNetwork module of the Qt Toolkit.
-@@ -64,12 +65,14 @@ bool QSslCertificate::operator==(const QSslCertificate &other) const
- uint qHash(const QSslCertificate &key, uint seed) Q_DECL_NOTHROW
- {
- if (X509 * const x509 = key.d->x509) {
-- (void)q_X509_cmp(x509, x509); // populate x509->sha1_hash
-- // (if someone knows a better way...)
-- return qHashBits(x509->sha1_hash, SHA_DIGEST_LENGTH, seed);
-- } else {
-- return seed;
-+ const EVP_MD *sha1 = q_EVP_sha1();
-+ unsigned int len = 0;
-+ unsigned char md[EVP_MAX_MD_SIZE];
-+ q_X509_digest(x509, sha1, md, &len);
-+ return qHashBits(md, len, seed);
- }
-+
-+ return seed;
- }
-
- bool QSslCertificate::isNull() const
-@@ -89,8 +92,7 @@ QByteArray QSslCertificate::version() const
- {
- QMutexLocker lock(QMutexPool::globalInstanceGet(d.data()));
- if (d->versionString.isEmpty() && d->x509)
-- d->versionString =
-- QByteArray::number(qlonglong(q_ASN1_INTEGER_get(d->x509->cert_info->version)) + 1);
-+ d->versionString = QByteArray::number(qlonglong(q_X509_get_version(d->x509)) + 1);
-
- return d->versionString;
- }
-@@ -99,7 +101,7 @@ QByteArray QSslCertificate::serialNumber() const
- {
- QMutexLocker lock(QMutexPool::globalInstanceGet(d.data()));
- if (d->serialNumberString.isEmpty() && d->x509) {
-- ASN1_INTEGER *serialNumber = d->x509->cert_info->serialNumber;
-+ ASN1_INTEGER *serialNumber = q_X509_get_serialNumber(d->x509);
- QByteArray hexString;
- hexString.reserve(serialNumber->length * 3);
- for (int a = 0; a < serialNumber->length; ++a) {
-@@ -199,14 +201,15 @@ QMultiMap QSslCertificate::subjectAlter
- continue;
- }
-
-- const char *altNameStr = reinterpret_cast(q_ASN1_STRING_data(genName->d.ia5));
-+ const char *altNameStr = reinterpret_cast(q_ASN1_STRING_get0_data(genName->d.ia5));
- const QString altName = QString::fromLatin1(altNameStr, len);
- if (genName->type == GEN_DNS)
- result.insert(QSsl::DnsEntry, altName);
- else if (genName->type == GEN_EMAIL)
- result.insert(QSsl::EmailEntry, altName);
- }
-- q_sk_pop_free((STACK*)altNames, reinterpret_cast(q_sk_free));
-+
-+ q_OPENSSL_sk_pop_free((OPENSSL_STACK*)altNames, reinterpret_cast(q_OPENSSL_sk_free));
- }
-
- return result;
-@@ -235,25 +238,26 @@ QSslKey QSslCertificate::publicKey() const
- QSslKey key;
-
- key.d->type = QSsl::PublicKey;
-- X509_PUBKEY *xkey = d->x509->cert_info->key;
-- EVP_PKEY *pkey = q_X509_PUBKEY_get(xkey);
-+
-+ EVP_PKEY *pkey = q_X509_get_pubkey(d->x509);
- Q_ASSERT(pkey);
-+ const int keyType = q_EVP_PKEY_type(q_EVP_PKEY_base_id(pkey));
-
-- if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_RSA) {
-+ if (keyType == EVP_PKEY_RSA) {
- key.d->rsa = q_EVP_PKEY_get1_RSA(pkey);
- key.d->algorithm = QSsl::Rsa;
- key.d->isNull = false;
-- } else if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_DSA) {
-+ } else if (keyType == EVP_PKEY_DSA) {
- key.d->dsa = q_EVP_PKEY_get1_DSA(pkey);
- key.d->algorithm = QSsl::Dsa;
- key.d->isNull = false;
- #ifndef OPENSSL_NO_EC
-- } else if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_EC) {
-+ } else if (keyType == EVP_PKEY_EC) {
- key.d->ec = q_EVP_PKEY_get1_EC_KEY(pkey);
- key.d->algorithm = QSsl::Ec;
- key.d->isNull = false;
- #endif
-- } else if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_DH) {
-+ } else if (keyType == EVP_PKEY_DH) {
- // DH unsupported
- } else {
- // error?
-@@ -275,7 +279,7 @@ static QVariant x509UnknownExtensionToValue(X509_EXTENSION *ext)
- X509V3_EXT_METHOD *meth = const_cast(q_X509V3_EXT_get(ext));
- if (!meth) {
- ASN1_OCTET_STRING *value = q_X509_EXTENSION_get_data(ext);
-- QByteArray result( reinterpret_cast(q_ASN1_STRING_data(value)),
-+ QByteArray result( reinterpret_cast(q_ASN1_STRING_get0_data(value)),
- q_ASN1_STRING_length(value));
- return result;
- }
-@@ -371,7 +375,7 @@ static QVariant x509ExtensionToValue(X509_EXTENSION *ext)
- continue;
- }
-
-- const char *uriStr = reinterpret_cast(q_ASN1_STRING_data(name->d.uniformResourceIdentifier));
-+ const char *uriStr = reinterpret_cast(q_ASN1_STRING_get0_data(name->d.uniformResourceIdentifier));
- const QString uri = QString::fromUtf8(uriStr, len);
-
- result[QString::fromUtf8(QSslCertificatePrivate::asn1ObjectName(ad->method))] = uri;
-@@ -380,11 +384,7 @@ static QVariant x509ExtensionToValue(X509_EXTENSION *ext)
- }
- }
-
--#if OPENSSL_VERSION_NUMBER >= 0x10000000L
-- q_sk_pop_free((_STACK*)info, reinterpret_cast(q_sk_free));
--#else
-- q_sk_pop_free((STACK*)info, reinterpret_cast(q_sk_free));
--#endif
-+ q_OPENSSL_sk_pop_free((OPENSSL_STACK*)info, reinterpret_cast(q_OPENSSL_sk_free));
- return result;
- }
- break;
-@@ -607,7 +607,11 @@ static QMap _q_mapFromX509Name(X509_NAME *name)
- unsigned char *data = 0;
- int size = q_ASN1_STRING_to_UTF8(&data, q_X509_NAME_ENTRY_get_data(e));
- info.insertMulti(name, QString::fromUtf8((char*)data, size));
-+#if QT_CONFIG(opensslv11)
-+ q_CRYPTO_free(data, 0, 0);
-+#else
- q_CRYPTO_free(data);
-+#endif
- }
-
- return info;
-@@ -619,8 +623,9 @@ QSslCertificate QSslCertificatePrivate::QSslCertificate_from_X509(X509 *x509)
- if (!x509 || !QSslSocket::supportsSsl())
- return certificate;
-
-- ASN1_TIME *nbef = q_X509_get_notBefore(x509);
-- ASN1_TIME *naft = q_X509_get_notAfter(x509);
-+ ASN1_TIME *nbef = q_X509_getm_notBefore(x509);
-+ ASN1_TIME *naft = q_X509_getm_notAfter(x509);
-+
- certificate.d->notValidBefore = q_getTimeFromASN1(nbef);
- certificate.d->notValidAfter = q_getTimeFromASN1(naft);
- certificate.d->null = false;
-diff --git a/src/network/ssl/qsslcontext_openssl.cpp b/src/network/ssl/qsslcontext_openssl.cpp
-index c92d8fc3f8..cef503710c 100644
---- a/src/network/ssl/qsslcontext_openssl.cpp
-+++ b/src/network/ssl/qsslcontext_openssl.cpp
-@@ -1,6 +1,6 @@
- /****************************************************************************
- **
--** Copyright (C) 2016 The Qt Company Ltd.
-+** Copyright (C) 2017 The Qt Company Ltd.
- ** Copyright (C) 2014 BlackBerry Limited. All rights reserved.
- ** Copyright (C) 2014 Governikus GmbH & Co. KG.
- ** Contact: https://www.qt.io/licensing/
-@@ -41,22 +41,14 @@
-
-
- #include
--#include
--#include
-
- #include "private/qssl_p.h"
- #include "private/qsslcontext_openssl_p.h"
--#include "private/qsslsocket_p.h"
- #include "private/qsslsocket_openssl_p.h"
- #include "private/qsslsocket_openssl_symbols_p.h"
--#include "private/qssldiffiehellmanparameters_p.h"
-
- QT_BEGIN_NAMESPACE
-
--// defined in qsslsocket_openssl.cpp:
--extern int q_X509Callback(int ok, X509_STORE_CTX *ctx);
--extern QString getErrorsFromOpenSsl();
--
- QSslContext::QSslContext()
- : ctx(0),
- pkey(0),
-@@ -78,301 +70,6 @@ QSslContext::~QSslContext()
- q_SSL_SESSION_free(session);
- }
-
--static inline QString msgErrorSettingEllipticCurves(const QString &why)
--{
-- return QSslSocket::tr("Error when setting the elliptic curves (%1)").arg(why);
--}
--
--// static
--void QSslContext::initSslContext(QSslContext *sslContext, QSslSocket::SslMode mode, const QSslConfiguration &configuration, bool allowRootCertOnDemandLoading)
--{
-- sslContext->sslConfiguration = configuration;
-- sslContext->errorCode = QSslError::NoError;
--
-- bool client = (mode == QSslSocket::SslClientMode);
--
-- bool reinitialized = false;
-- bool unsupportedProtocol = false;
--init_context:
-- switch (sslContext->sslConfiguration.protocol()) {
-- case QSsl::SslV2:
--#ifndef OPENSSL_NO_SSL2
-- sslContext->ctx = q_SSL_CTX_new(client ? q_SSLv2_client_method() : q_SSLv2_server_method());
--#else
-- // SSL 2 not supported by the system, but chosen deliberately -> error
-- sslContext->ctx = 0;
-- unsupportedProtocol = true;
--#endif
-- break;
-- case QSsl::SslV3:
--#ifndef OPENSSL_NO_SSL3_METHOD
-- sslContext->ctx = q_SSL_CTX_new(client ? q_SSLv3_client_method() : q_SSLv3_server_method());
--#else
-- // SSL 3 not supported by the system, but chosen deliberately -> error
-- sslContext->ctx = 0;
-- unsupportedProtocol = true;
--#endif
-- break;
-- case QSsl::SecureProtocols:
-- // SSLv2 and SSLv3 will be disabled by SSL options
-- // But we need q_SSLv23_server_method() otherwise AnyProtocol will be unable to connect on Win32.
-- case QSsl::TlsV1SslV3:
-- // SSLv2 will will be disabled by SSL options
-- case QSsl::AnyProtocol:
-- default:
-- sslContext->ctx = q_SSL_CTX_new(client ? q_SSLv23_client_method() : q_SSLv23_server_method());
-- break;
-- case QSsl::TlsV1_0:
-- sslContext->ctx = q_SSL_CTX_new(client ? q_TLSv1_client_method() : q_TLSv1_server_method());
-- break;
-- case QSsl::TlsV1_1:
--#if OPENSSL_VERSION_NUMBER >= 0x10001000L
-- sslContext->ctx = q_SSL_CTX_new(client ? q_TLSv1_1_client_method() : q_TLSv1_1_server_method());
--#else
-- // TLS 1.1 not supported by the system, but chosen deliberately -> error
-- sslContext->ctx = 0;
-- unsupportedProtocol = true;
--#endif
-- break;
-- case QSsl::TlsV1_2:
--#if OPENSSL_VERSION_NUMBER >= 0x10001000L
-- sslContext->ctx = q_SSL_CTX_new(client ? q_TLSv1_2_client_method() : q_TLSv1_2_server_method());
--#else
-- // TLS 1.2 not supported by the system, but chosen deliberately -> error
-- sslContext->ctx = 0;
-- unsupportedProtocol = true;
--#endif
-- break;
-- case QSsl::TlsV1_0OrLater:
-- // Specific protocols will be specified via SSL options.
-- sslContext->ctx = q_SSL_CTX_new(client ? q_SSLv23_client_method() : q_SSLv23_server_method());
-- break;
-- case QSsl::TlsV1_1OrLater:
-- case QSsl::TlsV1_2OrLater:
--#if OPENSSL_VERSION_NUMBER >= 0x10001000L
-- // Specific protocols will be specified via SSL options.
-- sslContext->ctx = q_SSL_CTX_new(client ? q_SSLv23_client_method() : q_SSLv23_server_method());
--#else
-- // TLS 1.1/1.2 not supported by the system, but chosen deliberately -> error
-- sslContext->ctx = 0;
-- unsupportedProtocol = true;
--#endif
-- break;
-- }
--
-- if (!sslContext->ctx) {
-- // After stopping Flash 10 the SSL library looses its ciphers. Try re-adding them
-- // by re-initializing the library.
-- if (!reinitialized) {
-- reinitialized = true;
-- if (q_SSL_library_init() == 1)
-- goto init_context;
-- }
--
-- sslContext->errorStr = QSslSocket::tr("Error creating SSL context (%1)").arg(
-- unsupportedProtocol ? QSslSocket::tr("unsupported protocol") : QSslSocketBackendPrivate::getErrorsFromOpenSsl()
-- );
-- sslContext->errorCode = QSslError::UnspecifiedError;
-- return;
-- }
--
-- // Enable bug workarounds.
-- long options = QSslSocketBackendPrivate::setupOpenSslOptions(configuration.protocol(), configuration.d->sslOptions);
-- q_SSL_CTX_set_options(sslContext->ctx, options);
--
--#if OPENSSL_VERSION_NUMBER >= 0x10000000L
-- // Tell OpenSSL to release memory early
-- // http://www.openssl.org/docs/ssl/SSL_CTX_set_mode.html
-- if (q_SSLeay() >= 0x10000000L)
-- q_SSL_CTX_set_mode(sslContext->ctx, SSL_MODE_RELEASE_BUFFERS);
--#endif
--
-- // Initialize ciphers
-- QByteArray cipherString;
-- bool first = true;
-- QList ciphers = sslContext->sslConfiguration.ciphers();
-- if (ciphers.isEmpty())
-- ciphers = QSslSocketPrivate::defaultCiphers();
-- for (const QSslCipher &cipher : qAsConst(ciphers)) {
-- if (first)
-- first = false;
-- else
-- cipherString.append(':');
-- cipherString.append(cipher.name().toLatin1());
-- }
--
-- if (!q_SSL_CTX_set_cipher_list(sslContext->ctx, cipherString.data())) {
-- sslContext->errorStr = QSslSocket::tr("Invalid or empty cipher list (%1)").arg(QSslSocketBackendPrivate::getErrorsFromOpenSsl());
-- sslContext->errorCode = QSslError::UnspecifiedError;
-- return;
-- }
--
-- const QDateTime now = QDateTime::currentDateTimeUtc();
--
-- // Add all our CAs to this store.
-- const auto caCertificates = sslContext->sslConfiguration.caCertificates();
-- for (const QSslCertificate &caCertificate : caCertificates) {
-- // From https://www.openssl.org/docs/ssl/SSL_CTX_load_verify_locations.html:
-- //
-- // If several CA certificates matching the name, key identifier, and
-- // serial number condition are available, only the first one will be
-- // examined. This may lead to unexpected results if the same CA
-- // certificate is available with different expiration dates. If a
-- // ``certificate expired'' verification error occurs, no other
-- // certificate will be searched. Make sure to not have expired
-- // certificates mixed with valid ones.
-- //
-- // See also: QSslSocketBackendPrivate::verify()
-- if (caCertificate.expiryDate() >= now) {
-- q_X509_STORE_add_cert(q_SSL_CTX_get_cert_store(sslContext->ctx), (X509 *)caCertificate.handle());
-- }
-- }
--
-- if (QSslSocketPrivate::s_loadRootCertsOnDemand && allowRootCertOnDemandLoading) {
-- // tell OpenSSL the directories where to look up the root certs on demand
-- const QList unixDirs = QSslSocketPrivate::unixRootCertDirectories();
-- for (const QByteArray &unixDir : unixDirs)
-- q_SSL_CTX_load_verify_locations(sslContext->ctx, 0, unixDir.constData());
-- }
--
-- if (!sslContext->sslConfiguration.localCertificate().isNull()) {
-- // Require a private key as well.
-- if (sslContext->sslConfiguration.privateKey().isNull()) {
-- sslContext->errorStr = QSslSocket::tr("Cannot provide a certificate with no key, %1").arg(QSslSocketBackendPrivate::getErrorsFromOpenSsl());
-- sslContext->errorCode = QSslError::UnspecifiedError;
-- return;
-- }
--
-- // Load certificate
-- if (!q_SSL_CTX_use_certificate(sslContext->ctx, (X509 *)sslContext->sslConfiguration.localCertificate().handle())) {
-- sslContext->errorStr = QSslSocket::tr("Error loading local certificate, %1").arg(QSslSocketBackendPrivate::getErrorsFromOpenSsl());
-- sslContext->errorCode = QSslError::UnspecifiedError;
-- return;
-- }
--
-- if (configuration.d->privateKey.algorithm() == QSsl::Opaque) {
-- sslContext->pkey = reinterpret_cast(configuration.d->privateKey.handle());
-- } else {
-- // Load private key
-- sslContext->pkey = q_EVP_PKEY_new();
-- // before we were using EVP_PKEY_assign_R* functions and did not use EVP_PKEY_free.
-- // this lead to a memory leak. Now we use the *_set1_* functions which do not
-- // take ownership of the RSA/DSA key instance because the QSslKey already has ownership.
-- if (configuration.d->privateKey.algorithm() == QSsl::Rsa)
-- q_EVP_PKEY_set1_RSA(sslContext->pkey, reinterpret_cast(configuration.d->privateKey.handle()));
-- else if (configuration.d->privateKey.algorithm() == QSsl::Dsa)
-- q_EVP_PKEY_set1_DSA(sslContext->pkey, reinterpret_cast(configuration.d->privateKey.handle()));
--#ifndef OPENSSL_NO_EC
-- else if (configuration.d->privateKey.algorithm() == QSsl::Ec)
-- q_EVP_PKEY_set1_EC_KEY(sslContext->pkey, reinterpret_cast(configuration.d->privateKey.handle()));
--#endif
-- }
--
-- if (!q_SSL_CTX_use_PrivateKey(sslContext->ctx, sslContext->pkey)) {
-- sslContext->errorStr = QSslSocket::tr("Error loading private key, %1").arg(QSslSocketBackendPrivate::getErrorsFromOpenSsl());
-- sslContext->errorCode = QSslError::UnspecifiedError;
-- return;
-- }
-- if (configuration.d->privateKey.algorithm() == QSsl::Opaque)
-- sslContext->pkey = 0; // Don't free the private key, it belongs to QSslKey
--
-- // Check if the certificate matches the private key.
-- if (!q_SSL_CTX_check_private_key(sslContext->ctx)) {
-- sslContext->errorStr = QSslSocket::tr("Private key does not certify public key, %1").arg(QSslSocketBackendPrivate::getErrorsFromOpenSsl());
-- sslContext->errorCode = QSslError::UnspecifiedError;
-- return;
-- }
--
-- // If we have any intermediate certificates then we need to add them to our chain
-- bool first = true;
-- for (const QSslCertificate &cert : qAsConst(configuration.d->localCertificateChain)) {
-- if (first) {
-- first = false;
-- continue;
-- }
-- q_SSL_CTX_ctrl(sslContext->ctx, SSL_CTRL_EXTRA_CHAIN_CERT, 0,
-- q_X509_dup(reinterpret_cast(cert.handle())));
-- }
-- }
--
-- // Initialize peer verification.
-- if (sslContext->sslConfiguration.peerVerifyMode() == QSslSocket::VerifyNone) {
-- q_SSL_CTX_set_verify(sslContext->ctx, SSL_VERIFY_NONE, 0);
-- } else {
-- q_SSL_CTX_set_verify(sslContext->ctx, SSL_VERIFY_PEER, q_X509Callback);
-- }
--
-- // Set verification depth.
-- if (sslContext->sslConfiguration.peerVerifyDepth() != 0)
-- q_SSL_CTX_set_verify_depth(sslContext->ctx, sslContext->sslConfiguration.peerVerifyDepth());
--
-- // set persisted session if the user set it
-- if (!configuration.sessionTicket().isEmpty())
-- sslContext->setSessionASN1(configuration.sessionTicket());
--
-- // Set temp DH params
-- QSslDiffieHellmanParameters dhparams = configuration.diffieHellmanParameters();
--
-- if (!dhparams.isValid()) {
-- sslContext->errorStr = QSslSocket::tr("Diffie-Hellman parameters are not valid");
-- sslContext->errorCode = QSslError::UnspecifiedError;
-- return;
-- }
--
-- if (!dhparams.isEmpty()) {
-- const QByteArray ¶ms = dhparams.d->derData;
-- const char *ptr = params.constData();
-- DH *dh = q_d2i_DHparams(NULL, reinterpret_cast(&ptr), params.length());
-- if (dh == NULL)
-- qFatal("q_d2i_DHparams failed to convert QSslDiffieHellmanParameters to DER form");
-- q_SSL_CTX_set_tmp_dh(sslContext->ctx, dh);
-- q_DH_free(dh);
-- }
--
--#ifndef OPENSSL_NO_EC
--#if OPENSSL_VERSION_NUMBER >= 0x10002000L
-- if (q_SSLeay() >= 0x10002000L) {
-- q_SSL_CTX_ctrl(sslContext->ctx, SSL_CTRL_SET_ECDH_AUTO, 1, NULL);
-- } else
--#endif
-- {
-- // Set temp ECDH params
-- EC_KEY *ecdh = 0;
-- ecdh = q_EC_KEY_new_by_curve_name(NID_X9_62_prime256v1);
-- q_SSL_CTX_set_tmp_ecdh(sslContext->ctx, ecdh);
-- q_EC_KEY_free(ecdh);
-- }
--#endif // OPENSSL_NO_EC
--
--#if OPENSSL_VERSION_NUMBER >= 0x10001000L && !defined(OPENSSL_NO_PSK)
-- if (!client)
-- q_SSL_CTX_use_psk_identity_hint(sslContext->ctx, sslContext->sslConfiguration.preSharedKeyIdentityHint().constData());
--#endif // OPENSSL_VERSION_NUMBER >= 0x10001000L && !defined(OPENSSL_NO_PSK)
--
-- const QVector qcurves = sslContext->sslConfiguration.ellipticCurves();
-- if (!qcurves.isEmpty()) {
--#if OPENSSL_VERSION_NUMBER >= 0x10002000L && !defined(OPENSSL_NO_EC)
-- // Set the curves to be used
-- if (q_SSLeay() >= 0x10002000L) {
-- // SSL_CTX_ctrl wants a non-const pointer as last argument,
-- // but let's avoid a copy into a temporary array
-- if (!q_SSL_CTX_ctrl(sslContext->ctx,
-- SSL_CTRL_SET_CURVES,
-- qcurves.size(),
-- const_cast(reinterpret_cast(qcurves.data())))) {
-- sslContext->errorStr = msgErrorSettingEllipticCurves(QSslSocketBackendPrivate::getErrorsFromOpenSsl());
-- sslContext->errorCode = QSslError::UnspecifiedError;
-- }
-- } else
--#endif // OPENSSL_VERSION_NUMBER >= 0x10002000L && !defined(OPENSSL_NO_EC)
-- {
-- // specific curves requested, but not possible to set -> error
-- sslContext->errorStr = msgErrorSettingEllipticCurves(QSslSocket::tr("OpenSSL version too old, need at least v1.0.2"));
-- sslContext->errorCode = QSslError::UnspecifiedError;
-- }
-- }
--}
--
- QSslContext* QSslContext::fromConfiguration(QSslSocket::SslMode mode, const QSslConfiguration &configuration, bool allowRootCertOnDemandLoading)
- {
- QSslContext *sslContext = new QSslContext();
-@@ -463,7 +160,7 @@ SSL* QSslContext::createSsl()
- m_npnContext.len = m_supportedNPNVersions.count();
- m_npnContext.status = QSslConfiguration::NextProtocolNegotiationNone;
- #if OPENSSL_VERSION_NUMBER >= 0x10002000L
-- if (q_SSLeay() >= 0x10002000L) {
-+ if (QSslSocket::sslLibraryVersionNumber() >= 0x10002000L) {
- // Callback's type has a parameter 'const unsigned char ** out'
- // since it was introduced in 1.0.2. Internally, OpenSSL's own code
- // (tests/examples) cast it to unsigned char * (since it's 'out').
-@@ -508,7 +205,7 @@ bool QSslContext::cacheSession(SSL* ssl)
- unsigned char *data = reinterpret_cast(m_sessionASN1.data());
- if (!q_i2d_SSL_SESSION(session, &data))
- qCWarning(lcSsl, "could not store persistent version of SSL session");
-- m_sessionTicketLifeTimeHint = session->tlsext_tick_lifetime_hint;
-+ m_sessionTicketLifeTimeHint = q_SSL_SESSION_get_ticket_lifetime_hint(session);
- }
- }
-
-diff --git a/src/network/ssl/qsslcontext_openssl11.cpp b/src/network/ssl/qsslcontext_openssl11.cpp
-new file mode 100644
-index 0000000000..787b6ae3f5
---- /dev/null
-+++ b/src/network/ssl/qsslcontext_openssl11.cpp
-@@ -0,0 +1,277 @@
-+/****************************************************************************
-+**
-+** Copyright (C) 2017 The Qt Company Ltd.
-+** Copyright (C) 2014 BlackBerry Limited. All rights reserved.
-+** Copyright (C) 2014 Governikus GmbH & Co. KG.
-+** Copyright (C) 2016 Richard J. Moore
-+** Contact: https://www.qt.io/licensing/
-+**
-+** This file is part of the QtNetwork module of the Qt Toolkit.
-+**
-+** $QT_BEGIN_LICENSE:LGPL$
-+** Commercial License Usage
-+** Licensees holding valid commercial Qt licenses may use this file in
-+** accordance with the commercial license agreement provided with the
-+** Software or, alternatively, in accordance with the terms contained in
-+** a written agreement between you and The Qt Company. For licensing terms
-+** and conditions see https://www.qt.io/terms-conditions. For further
-+** information use the contact form at https://www.qt.io/contact-us.
-+**
-+** GNU Lesser General Public License Usage
-+** Alternatively, this file may be used under the terms of the GNU Lesser
-+** General Public License version 3 as published by the Free Software
-+** Foundation and appearing in the file LICENSE.LGPL3 included in the
-+** packaging of this file. Please review the following information to
-+** ensure the GNU Lesser General Public License version 3 requirements
-+** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-+**
-+** GNU General Public License Usage
-+** Alternatively, this file may be used under the terms of the GNU
-+** General Public License version 2.0 or (at your option) the GNU General
-+** Public license version 3 or any later version approved by the KDE Free
-+** Qt Foundation. The licenses are as published by the Free Software
-+** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-+** included in the packaging of this file. Please review the following
-+** information to ensure the GNU General Public License requirements will
-+** be met: https://www.gnu.org/licenses/gpl-2.0.html and
-+** https://www.gnu.org/licenses/gpl-3.0.html.
-+**
-+** $QT_END_LICENSE$
-+**
-+****************************************************************************/
-+
-+
-+#include
-+#include
-+
-+#include "private/qssl_p.h"
-+#include "private/qsslcontext_openssl_p.h"
-+#include "private/qsslsocket_p.h"
-+#include "private/qsslsocket_openssl_p.h"
-+#include "private/qsslsocket_openssl_symbols_p.h"
-+#include "private/qssldiffiehellmanparameters_p.h"
-+
-+#include
-+
-+QT_BEGIN_NAMESPACE
-+
-+// defined in qsslsocket_openssl.cpp:
-+extern int q_X509Callback(int ok, X509_STORE_CTX *ctx);
-+extern QString getErrorsFromOpenSsl();
-+
-+static inline QString msgErrorSettingEllipticCurves(const QString &why)
-+{
-+ return QSslSocket::tr("Error when setting the elliptic curves (%1)").arg(why);
-+}
-+
-+// static
-+void QSslContext::initSslContext(QSslContext *sslContext, QSslSocket::SslMode mode, const QSslConfiguration &configuration, bool allowRootCertOnDemandLoading)
-+{
-+ sslContext->sslConfiguration = configuration;
-+ sslContext->errorCode = QSslError::NoError;
-+
-+ bool client = (mode == QSslSocket::SslClientMode);
-+
-+ bool reinitialized = false;
-+ bool unsupportedProtocol = false;
-+init_context:
-+ if (sslContext->sslConfiguration.protocol() == QSsl::SslV2) {
-+ // SSL 2 is no longer supported, but chosen deliberately -> error
-+ sslContext->ctx = nullptr;
-+ unsupportedProtocol = true;
-+ } else {
-+ // The ssl options will actually control the supported methods
-+ sslContext->ctx = q_SSL_CTX_new(client ? q_TLS_client_method() : q_TLS_server_method());
-+ }
-+
-+ if (!sslContext->ctx) {
-+ // After stopping Flash 10 the SSL library loses its ciphers. Try re-adding them
-+ // by re-initializing the library.
-+ if (!reinitialized) {
-+ reinitialized = true;
-+ if (q_OPENSSL_init_ssl(0, nullptr) == 1)
-+ goto init_context;
-+ }
-+
-+ sslContext->errorStr = QSslSocket::tr("Error creating SSL context (%1)").arg(
-+ unsupportedProtocol ? QSslSocket::tr("unsupported protocol") : QSslSocketBackendPrivate::getErrorsFromOpenSsl()
-+ );
-+ sslContext->errorCode = QSslError::UnspecifiedError;
-+ return;
-+ }
-+
-+ // Enable bug workarounds.
-+ long options = QSslSocketBackendPrivate::setupOpenSslOptions(configuration.protocol(), configuration.d->sslOptions);
-+ q_SSL_CTX_set_options(sslContext->ctx, options);
-+
-+ // Tell OpenSSL to release memory early
-+ // http://www.openssl.org/docs/ssl/SSL_CTX_set_mode.html
-+ q_SSL_CTX_set_mode(sslContext->ctx, SSL_MODE_RELEASE_BUFFERS);
-+
-+ // Initialize ciphers
-+ QByteArray cipherString;
-+ bool first = true;
-+ QList ciphers = sslContext->sslConfiguration.ciphers();
-+ if (ciphers.isEmpty())
-+ ciphers = QSslSocketPrivate::defaultCiphers();
-+ for (const QSslCipher &cipher : qAsConst(ciphers)) {
-+ if (first)
-+ first = false;
-+ else
-+ cipherString.append(':');
-+ cipherString.append(cipher.name().toLatin1());
-+ }
-+
-+ if (!q_SSL_CTX_set_cipher_list(sslContext->ctx, cipherString.data())) {
-+ sslContext->errorStr = QSslSocket::tr("Invalid or empty cipher list (%1)").arg(QSslSocketBackendPrivate::getErrorsFromOpenSsl());
-+ sslContext->errorCode = QSslError::UnspecifiedError;
-+ return;
-+ }
-+
-+ const QDateTime now = QDateTime::currentDateTimeUtc();
-+
-+ // Add all our CAs to this store.
-+ const auto caCertificates = sslContext->sslConfiguration.caCertificates();
-+ for (const QSslCertificate &caCertificate : caCertificates) {
-+ // From https://www.openssl.org/docs/ssl/SSL_CTX_load_verify_locations.html:
-+ //
-+ // If several CA certificates matching the name, key identifier, and
-+ // serial number condition are available, only the first one will be
-+ // examined. This may lead to unexpected results if the same CA
-+ // certificate is available with different expiration dates. If a
-+ // ``certificate expired'' verification error occurs, no other
-+ // certificate will be searched. Make sure to not have expired
-+ // certificates mixed with valid ones.
-+ //
-+ // See also: QSslSocketBackendPrivate::verify()
-+ if (caCertificate.expiryDate() >= now) {
-+ q_X509_STORE_add_cert(q_SSL_CTX_get_cert_store(sslContext->ctx), (X509 *)caCertificate.handle());
-+ }
-+ }
-+
-+ if (QSslSocketPrivate::s_loadRootCertsOnDemand && allowRootCertOnDemandLoading) {
-+ // tell OpenSSL the directories where to look up the root certs on demand
-+ const QList unixDirs = QSslSocketPrivate::unixRootCertDirectories();
-+ for (const QByteArray &unixDir : unixDirs)
-+ q_SSL_CTX_load_verify_locations(sslContext->ctx, nullptr, unixDir.constData());
-+ }
-+
-+ if (!sslContext->sslConfiguration.localCertificate().isNull()) {
-+ // Require a private key as well.
-+ if (sslContext->sslConfiguration.privateKey().isNull()) {
-+ sslContext->errorStr = QSslSocket::tr("Cannot provide a certificate with no key, %1").arg(QSslSocketBackendPrivate::getErrorsFromOpenSsl());
-+ sslContext->errorCode = QSslError::UnspecifiedError;
-+ return;
-+ }
-+
-+ // Load certificate
-+ if (!q_SSL_CTX_use_certificate(sslContext->ctx, (X509 *)sslContext->sslConfiguration.localCertificate().handle())) {
-+ sslContext->errorStr = QSslSocket::tr("Error loading local certificate, %1").arg(QSslSocketBackendPrivate::getErrorsFromOpenSsl());
-+ sslContext->errorCode = QSslError::UnspecifiedError;
-+ return;
-+ }
-+
-+ if (configuration.d->privateKey.algorithm() == QSsl::Opaque) {
-+ sslContext->pkey = reinterpret_cast(configuration.d->privateKey.handle());
-+ } else {
-+ // Load private key
-+ sslContext->pkey = q_EVP_PKEY_new();
-+ // before we were using EVP_PKEY_assign_R* functions and did not use EVP_PKEY_free.
-+ // this lead to a memory leak. Now we use the *_set1_* functions which do not
-+ // take ownership of the RSA/DSA key instance because the QSslKey already has ownership.
-+ if (configuration.d->privateKey.algorithm() == QSsl::Rsa)
-+ q_EVP_PKEY_set1_RSA(sslContext->pkey, reinterpret_cast(configuration.d->privateKey.handle()));
-+ else if (configuration.d->privateKey.algorithm() == QSsl::Dsa)
-+ q_EVP_PKEY_set1_DSA(sslContext->pkey, reinterpret_cast(configuration.d->privateKey.handle()));
-+#ifndef OPENSSL_NO_EC
-+ else if (configuration.d->privateKey.algorithm() == QSsl::Ec)
-+ q_EVP_PKEY_set1_EC_KEY(sslContext->pkey, reinterpret_cast(configuration.d->privateKey.handle()));
-+#endif
-+ }
-+
-+ if (!q_SSL_CTX_use_PrivateKey(sslContext->ctx, sslContext->pkey)) {
-+ sslContext->errorStr = QSslSocket::tr("Error loading private key, %1").arg(QSslSocketBackendPrivate::getErrorsFromOpenSsl());
-+ sslContext->errorCode = QSslError::UnspecifiedError;
-+ return;
-+ }
-+ if (configuration.d->privateKey.algorithm() == QSsl::Opaque)
-+ sslContext->pkey = nullptr; // Don't free the private key, it belongs to QSslKey
-+
-+ // Check if the certificate matches the private key.
-+ if (!q_SSL_CTX_check_private_key(sslContext->ctx)) {
-+ sslContext->errorStr = QSslSocket::tr("Private key does not certify public key, %1").arg(QSslSocketBackendPrivate::getErrorsFromOpenSsl());
-+ sslContext->errorCode = QSslError::UnspecifiedError;
-+ return;
-+ }
-+
-+ // If we have any intermediate certificates then we need to add them to our chain
-+ bool first = true;
-+ for (const QSslCertificate &cert : qAsConst(configuration.d->localCertificateChain)) {
-+ if (first) {
-+ first = false;
-+ continue;
-+ }
-+ q_SSL_CTX_ctrl(sslContext->ctx, SSL_CTRL_EXTRA_CHAIN_CERT, 0,
-+ q_X509_dup(reinterpret_cast(cert.handle())));
-+ }
-+ }
-+
-+ // Initialize peer verification.
-+ if (sslContext->sslConfiguration.peerVerifyMode() == QSslSocket::VerifyNone) {
-+ q_SSL_CTX_set_verify(sslContext->ctx, SSL_VERIFY_NONE, nullptr);
-+ } else {
-+ q_SSL_CTX_set_verify(sslContext->ctx, SSL_VERIFY_PEER, q_X509Callback);
-+ }
-+
-+ // Set verification depth.
-+ if (sslContext->sslConfiguration.peerVerifyDepth() != 0)
-+ q_SSL_CTX_set_verify_depth(sslContext->ctx, sslContext->sslConfiguration.peerVerifyDepth());
-+
-+ // set persisted session if the user set it
-+ if (!configuration.sessionTicket().isEmpty())
-+ sslContext->setSessionASN1(configuration.sessionTicket());
-+
-+ // Set temp DH params
-+ QSslDiffieHellmanParameters dhparams = configuration.diffieHellmanParameters();
-+
-+ if (!dhparams.isValid()) {
-+ sslContext->errorStr = QSslSocket::tr("Diffie-Hellman parameters are not valid");
-+ sslContext->errorCode = QSslError::UnspecifiedError;
-+ return;
-+ }
-+
-+ if (!dhparams.isEmpty()) {
-+ const QByteArray ¶ms = dhparams.d->derData;
-+ const char *ptr = params.constData();
-+ DH *dh = q_d2i_DHparams(NULL, reinterpret_cast(&ptr), params.length());
-+ if (dh == NULL)
-+ qFatal("q_d2i_DHparams failed to convert QSslDiffieHellmanParameters to DER form");
-+ q_SSL_CTX_set_tmp_dh(sslContext->ctx, dh);
-+ q_DH_free(dh);
-+ }
-+
-+#ifndef OPENSSL_NO_PSK
-+ if (!client)
-+ q_SSL_CTX_use_psk_identity_hint(sslContext->ctx, sslContext->sslConfiguration.preSharedKeyIdentityHint().constData());
-+#endif // !OPENSSL_NO_PSK
-+
-+ const QVector qcurves = sslContext->sslConfiguration.ellipticCurves();
-+ if (!qcurves.isEmpty()) {
-+#ifdef OPENSSL_NO_EC
-+ sslContext->errorStr = msgErrorSettingEllipticCurves(QSslSocket::tr("OpenSSL version with disabled elliptic curves"));
-+ sslContext->errorCode = QSslError::UnspecifiedError;
-+#else
-+ // Set the curves to be used.
-+ std::vector curves;
-+ curves.reserve(qcurves.size());
-+ for (const auto &sslCurve : qcurves)
-+ curves.push_back(sslCurve.id);
-+ if (!q_SSL_CTX_ctrl(sslContext->ctx, SSL_CTRL_SET_CURVES, long(curves.size()), &curves[0])) {
-+ sslContext->errorStr = msgErrorSettingEllipticCurves(QSslSocketBackendPrivate::getErrorsFromOpenSsl());
-+ sslContext->errorCode = QSslError::UnspecifiedError;
-+ }
-+#endif
-+ }
-+}
-+
-+QT_END_NAMESPACE
-diff --git a/src/network/ssl/qsslcontext_opensslpre11.cpp b/src/network/ssl/qsslcontext_opensslpre11.cpp
-new file mode 100644
-index 0000000000..9c01c2f2dc
---- /dev/null
-+++ b/src/network/ssl/qsslcontext_opensslpre11.cpp
-@@ -0,0 +1,354 @@
-+/****************************************************************************
-+**
-+** Copyright (C) 2017 The Qt Company Ltd.
-+** Copyright (C) 2014 BlackBerry Limited. All rights reserved.
-+** Copyright (C) 2014 Governikus GmbH & Co. KG.
-+** Contact: https://www.qt.io/licensing/
-+**
-+** This file is part of the QtNetwork module of the Qt Toolkit.
-+**
-+** $QT_BEGIN_LICENSE:LGPL$
-+** Commercial License Usage
-+** Licensees holding valid commercial Qt licenses may use this file in
-+** accordance with the commercial license agreement provided with the
-+** Software or, alternatively, in accordance with the terms contained in
-+** a written agreement between you and The Qt Company. For licensing terms
-+** and conditions see https://www.qt.io/terms-conditions. For further
-+** information use the contact form at https://www.qt.io/contact-us.
-+**
-+** GNU Lesser General Public License Usage
-+** Alternatively, this file may be used under the terms of the GNU Lesser
-+** General Public License version 3 as published by the Free Software
-+** Foundation and appearing in the file LICENSE.LGPL3 included in the
-+** packaging of this file. Please review the following information to
-+** ensure the GNU Lesser General Public License version 3 requirements
-+** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-+**
-+** GNU General Public License Usage
-+** Alternatively, this file may be used under the terms of the GNU
-+** General Public License version 2.0 or (at your option) the GNU General
-+** Public license version 3 or any later version approved by the KDE Free
-+** Qt Foundation. The licenses are as published by the Free Software
-+** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-+** included in the packaging of this file. Please review the following
-+** information to ensure the GNU General Public License requirements will
-+** be met: https://www.gnu.org/licenses/gpl-2.0.html and
-+** https://www.gnu.org/licenses/gpl-3.0.html.
-+**
-+** $QT_END_LICENSE$
-+**
-+****************************************************************************/
-+
-+
-+#include
-+#include
-+
-+#include "private/qssl_p.h"
-+#include "private/qsslcontext_openssl_p.h"
-+#include "private/qsslsocket_p.h"
-+#include "private/qsslsocket_openssl_p.h"
-+#include "private/qsslsocket_openssl_symbols_p.h"
-+#include "private/qssldiffiehellmanparameters_p.h"
-+
-+QT_BEGIN_NAMESPACE
-+
-+// defined in qsslsocket_openssl.cpp:
-+extern int q_X509Callback(int ok, X509_STORE_CTX *ctx);
-+extern QString getErrorsFromOpenSsl();
-+
-+static inline QString msgErrorSettingEllipticCurves(const QString &why)
-+{
-+ return QSslSocket::tr("Error when setting the elliptic curves (%1)").arg(why);
-+}
-+
-+// static
-+void QSslContext::initSslContext(QSslContext *sslContext, QSslSocket::SslMode mode, const QSslConfiguration &configuration, bool allowRootCertOnDemandLoading)
-+{
-+ sslContext->sslConfiguration = configuration;
-+ sslContext->errorCode = QSslError::NoError;
-+
-+ bool client = (mode == QSslSocket::SslClientMode);
-+
-+ bool reinitialized = false;
-+ bool unsupportedProtocol = false;
-+init_context:
-+ switch (sslContext->sslConfiguration.protocol()) {
-+ case QSsl::SslV2:
-+#ifndef OPENSSL_NO_SSL2
-+ sslContext->ctx = q_SSL_CTX_new(client ? q_SSLv2_client_method() : q_SSLv2_server_method());
-+#else
-+ // SSL 2 not supported by the system, but chosen deliberately -> error
-+ sslContext->ctx = 0;
-+ unsupportedProtocol = true;
-+#endif
-+ break;
-+ case QSsl::SslV3:
-+#ifndef OPENSSL_NO_SSL3_METHOD
-+ sslContext->ctx = q_SSL_CTX_new(client ? q_SSLv3_client_method() : q_SSLv3_server_method());
-+#else
-+ // SSL 3 not supported by the system, but chosen deliberately -> error
-+ sslContext->ctx = 0;
-+ unsupportedProtocol = true;
-+#endif
-+ break;
-+ case QSsl::SecureProtocols:
-+ // SSLv2 and SSLv3 will be disabled by SSL options
-+ // But we need q_SSLv23_server_method() otherwise AnyProtocol will be unable to connect on Win32.
-+ case QSsl::TlsV1SslV3:
-+ // SSLv2 will will be disabled by SSL options
-+ case QSsl::AnyProtocol:
-+ default:
-+ sslContext->ctx = q_SSL_CTX_new(client ? q_SSLv23_client_method() : q_SSLv23_server_method());
-+ break;
-+ case QSsl::TlsV1_0:
-+ sslContext->ctx = q_SSL_CTX_new(client ? q_TLSv1_client_method() : q_TLSv1_server_method());
-+ break;
-+ case QSsl::TlsV1_1:
-+#if OPENSSL_VERSION_NUMBER >= 0x10001000L
-+ sslContext->ctx = q_SSL_CTX_new(client ? q_TLSv1_1_client_method() : q_TLSv1_1_server_method());
-+#else
-+ // TLS 1.1 not supported by the system, but chosen deliberately -> error
-+ sslContext->ctx = 0;
-+ unsupportedProtocol = true;
-+#endif
-+ break;
-+ case QSsl::TlsV1_2:
-+#if OPENSSL_VERSION_NUMBER >= 0x10001000L
-+ sslContext->ctx = q_SSL_CTX_new(client ? q_TLSv1_2_client_method() : q_TLSv1_2_server_method());
-+#else
-+ // TLS 1.2 not supported by the system, but chosen deliberately -> error
-+ sslContext->ctx = 0;
-+ unsupportedProtocol = true;
-+#endif
-+ break;
-+ case QSsl::TlsV1_0OrLater:
-+ // Specific protocols will be specified via SSL options.
-+ sslContext->ctx = q_SSL_CTX_new(client ? q_SSLv23_client_method() : q_SSLv23_server_method());
-+ break;
-+ case QSsl::TlsV1_1OrLater:
-+ case QSsl::TlsV1_2OrLater:
-+#if OPENSSL_VERSION_NUMBER >= 0x10001000L
-+ // Specific protocols will be specified via SSL options.
-+ sslContext->ctx = q_SSL_CTX_new(client ? q_SSLv23_client_method() : q_SSLv23_server_method());
-+#else
-+ // TLS 1.1/1.2 not supported by the system, but chosen deliberately -> error
-+ sslContext->ctx = 0;
-+ unsupportedProtocol = true;
-+#endif
-+ break;
-+ }
-+
-+ if (!sslContext->ctx) {
-+ // After stopping Flash 10 the SSL library loses its ciphers. Try re-adding them
-+ // by re-initializing the library.
-+ if (!reinitialized) {
-+ reinitialized = true;
-+ if (q_SSL_library_init() == 1)
-+ goto init_context;
-+ }
-+
-+ sslContext->errorStr = QSslSocket::tr("Error creating SSL context (%1)").arg(
-+ unsupportedProtocol ? QSslSocket::tr("unsupported protocol") : QSslSocketBackendPrivate::getErrorsFromOpenSsl()
-+ );
-+ sslContext->errorCode = QSslError::UnspecifiedError;
-+ return;
-+ }
-+
-+ // Enable bug workarounds.
-+ long options = QSslSocketBackendPrivate::setupOpenSslOptions(configuration.protocol(), configuration.d->sslOptions);
-+ q_SSL_CTX_set_options(sslContext->ctx, options);
-+
-+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
-+ // Tell OpenSSL to release memory early
-+ // http://www.openssl.org/docs/ssl/SSL_CTX_set_mode.html
-+ if (q_SSLeay() >= 0x10000000L)
-+ q_SSL_CTX_set_mode(sslContext->ctx, SSL_MODE_RELEASE_BUFFERS);
-+#endif
-+
-+ // Initialize ciphers
-+ QByteArray cipherString;
-+ bool first = true;
-+ QList ciphers = sslContext->sslConfiguration.ciphers();
-+ if (ciphers.isEmpty())
-+ ciphers = QSslSocketPrivate::defaultCiphers();
-+ for (const QSslCipher &cipher : qAsConst(ciphers)) {
-+ if (first)
-+ first = false;
-+ else
-+ cipherString.append(':');
-+ cipherString.append(cipher.name().toLatin1());
-+ }
-+
-+ if (!q_SSL_CTX_set_cipher_list(sslContext->ctx, cipherString.data())) {
-+ sslContext->errorStr = QSslSocket::tr("Invalid or empty cipher list (%1)").arg(QSslSocketBackendPrivate::getErrorsFromOpenSsl());
-+ sslContext->errorCode = QSslError::UnspecifiedError;
-+ return;
-+ }
-+
-+ const QDateTime now = QDateTime::currentDateTimeUtc();
-+
-+ // Add all our CAs to this store.
-+ const auto caCertificates = sslContext->sslConfiguration.caCertificates();
-+ for (const QSslCertificate &caCertificate : caCertificates) {
-+ // From https://www.openssl.org/docs/ssl/SSL_CTX_load_verify_locations.html:
-+ //
-+ // If several CA certificates matching the name, key identifier, and
-+ // serial number condition are available, only the first one will be
-+ // examined. This may lead to unexpected results if the same CA
-+ // certificate is available with different expiration dates. If a
-+ // ``certificate expired'' verification error occurs, no other
-+ // certificate will be searched. Make sure to not have expired
-+ // certificates mixed with valid ones.
-+ //
-+ // See also: QSslSocketBackendPrivate::verify()
-+ if (caCertificate.expiryDate() >= now) {
-+ q_X509_STORE_add_cert(q_SSL_CTX_get_cert_store(sslContext->ctx), (X509 *)caCertificate.handle());
-+ }
-+ }
-+
-+ if (QSslSocketPrivate::s_loadRootCertsOnDemand && allowRootCertOnDemandLoading) {
-+ // tell OpenSSL the directories where to look up the root certs on demand
-+ const QList unixDirs = QSslSocketPrivate::unixRootCertDirectories();
-+ for (const QByteArray &unixDir : unixDirs)
-+ q_SSL_CTX_load_verify_locations(sslContext->ctx, 0, unixDir.constData());
-+ }
-+
-+ if (!sslContext->sslConfiguration.localCertificate().isNull()) {
-+ // Require a private key as well.
-+ if (sslContext->sslConfiguration.privateKey().isNull()) {
-+ sslContext->errorStr = QSslSocket::tr("Cannot provide a certificate with no key, %1").arg(QSslSocketBackendPrivate::getErrorsFromOpenSsl());
-+ sslContext->errorCode = QSslError::UnspecifiedError;
-+ return;
-+ }
-+
-+ // Load certificate
-+ if (!q_SSL_CTX_use_certificate(sslContext->ctx, (X509 *)sslContext->sslConfiguration.localCertificate().handle())) {
-+ sslContext->errorStr = QSslSocket::tr("Error loading local certificate, %1").arg(QSslSocketBackendPrivate::getErrorsFromOpenSsl());
-+ sslContext->errorCode = QSslError::UnspecifiedError;
-+ return;
-+ }
-+
-+ if (configuration.d->privateKey.algorithm() == QSsl::Opaque) {
-+ sslContext->pkey = reinterpret_cast(configuration.d->privateKey.handle());
-+ } else {
-+ // Load private key
-+ sslContext->pkey = q_EVP_PKEY_new();
-+ // before we were using EVP_PKEY_assign_R* functions and did not use EVP_PKEY_free.
-+ // this lead to a memory leak. Now we use the *_set1_* functions which do not
-+ // take ownership of the RSA/DSA key instance because the QSslKey already has ownership.
-+ if (configuration.d->privateKey.algorithm() == QSsl::Rsa)
-+ q_EVP_PKEY_set1_RSA(sslContext->pkey, reinterpret_cast(configuration.d->privateKey.handle()));
-+ else if (configuration.d->privateKey.algorithm() == QSsl::Dsa)
-+ q_EVP_PKEY_set1_DSA(sslContext->pkey, reinterpret_cast(configuration.d->privateKey.handle()));
-+#ifndef OPENSSL_NO_EC
-+ else if (configuration.d->privateKey.algorithm() == QSsl::Ec)
-+ q_EVP_PKEY_set1_EC_KEY(sslContext->pkey, reinterpret_cast(configuration.d->privateKey.handle()));
-+#endif
-+ }
-+
-+ if (!q_SSL_CTX_use_PrivateKey(sslContext->ctx, sslContext->pkey)) {
-+ sslContext->errorStr = QSslSocket::tr("Error loading private key, %1").arg(QSslSocketBackendPrivate::getErrorsFromOpenSsl());
-+ sslContext->errorCode = QSslError::UnspecifiedError;
-+ return;
-+ }
-+ if (configuration.d->privateKey.algorithm() == QSsl::Opaque)
-+ sslContext->pkey = 0; // Don't free the private key, it belongs to QSslKey
-+
-+ // Check if the certificate matches the private key.
-+ if (!q_SSL_CTX_check_private_key(sslContext->ctx)) {
-+ sslContext->errorStr = QSslSocket::tr("Private key does not certify public key, %1").arg(QSslSocketBackendPrivate::getErrorsFromOpenSsl());
-+ sslContext->errorCode = QSslError::UnspecifiedError;
-+ return;
-+ }
-+
-+ // If we have any intermediate certificates then we need to add them to our chain
-+ bool first = true;
-+ for (const QSslCertificate &cert : qAsConst(configuration.d->localCertificateChain)) {
-+ if (first) {
-+ first = false;
-+ continue;
-+ }
-+ q_SSL_CTX_ctrl(sslContext->ctx, SSL_CTRL_EXTRA_CHAIN_CERT, 0,
-+ q_X509_dup(reinterpret_cast(cert.handle())));
-+ }
-+ }
-+
-+ // Initialize peer verification.
-+ if (sslContext->sslConfiguration.peerVerifyMode() == QSslSocket::VerifyNone) {
-+ q_SSL_CTX_set_verify(sslContext->ctx, SSL_VERIFY_NONE, 0);
-+ } else {
-+ q_SSL_CTX_set_verify(sslContext->ctx, SSL_VERIFY_PEER, q_X509Callback);
-+ }
-+
-+ // Set verification depth.
-+ if (sslContext->sslConfiguration.peerVerifyDepth() != 0)
-+ q_SSL_CTX_set_verify_depth(sslContext->ctx, sslContext->sslConfiguration.peerVerifyDepth());
-+
-+ // set persisted session if the user set it
-+ if (!configuration.sessionTicket().isEmpty())
-+ sslContext->setSessionASN1(configuration.sessionTicket());
-+
-+ // Set temp DH params
-+ QSslDiffieHellmanParameters dhparams = configuration.diffieHellmanParameters();
-+
-+ if (!dhparams.isValid()) {
-+ sslContext->errorStr = QSslSocket::tr("Diffie-Hellman parameters are not valid");
-+ sslContext->errorCode = QSslError::UnspecifiedError;
-+ return;
-+ }
-+
-+ if (!dhparams.isEmpty()) {
-+ const QByteArray ¶ms = dhparams.d->derData;
-+ const char *ptr = params.constData();
-+ DH *dh = q_d2i_DHparams(NULL, reinterpret_cast(&ptr), params.length());
-+ if (dh == NULL)
-+ qFatal("q_d2i_DHparams failed to convert QSslDiffieHellmanParameters to DER form");
-+ q_SSL_CTX_set_tmp_dh(sslContext->ctx, dh);
-+ q_DH_free(dh);
-+ }
-+
-+#ifndef OPENSSL_NO_EC
-+#if OPENSSL_VERSION_NUMBER >= 0x10002000L
-+ if (q_SSLeay() >= 0x10002000L) {
-+ q_SSL_CTX_ctrl(sslContext->ctx, SSL_CTRL_SET_ECDH_AUTO, 1, NULL);
-+ } else
-+#endif
-+ {
-+ // Set temp ECDH params
-+ EC_KEY *ecdh = 0;
-+ ecdh = q_EC_KEY_new_by_curve_name(NID_X9_62_prime256v1);
-+ q_SSL_CTX_set_tmp_ecdh(sslContext->ctx, ecdh);
-+ q_EC_KEY_free(ecdh);
-+ }
-+#endif // OPENSSL_NO_EC
-+
-+#if OPENSSL_VERSION_NUMBER >= 0x10001000L && !defined(OPENSSL_NO_PSK)
-+ if (!client)
-+ q_SSL_CTX_use_psk_identity_hint(sslContext->ctx, sslContext->sslConfiguration.preSharedKeyIdentityHint().constData());
-+#endif // OPENSSL_VERSION_NUMBER >= 0x10001000L && !defined(OPENSSL_NO_PSK)
-+
-+ const QVector qcurves = sslContext->sslConfiguration.ellipticCurves();
-+ if (!qcurves.isEmpty()) {
-+#if OPENSSL_VERSION_NUMBER >= 0x10002000L && !defined(OPENSSL_NO_EC)
-+ // Set the curves to be used
-+ if (q_SSLeay() >= 0x10002000L) {
-+ // SSL_CTX_ctrl wants a non-const pointer as last argument,
-+ // but let's avoid a copy into a temporary array
-+ if (!q_SSL_CTX_ctrl(sslContext->ctx,
-+ SSL_CTRL_SET_CURVES,
-+ qcurves.size(),
-+ const_cast(reinterpret_cast(qcurves.data())))) {
-+ sslContext->errorStr = msgErrorSettingEllipticCurves(QSslSocketBackendPrivate::getErrorsFromOpenSsl());
-+ sslContext->errorCode = QSslError::UnspecifiedError;
-+ }
-+ } else
-+#endif // OPENSSL_VERSION_NUMBER >= 0x10002000L && !defined(OPENSSL_NO_EC)
-+ {
-+ // specific curves requested, but not possible to set -> error
-+ sslContext->errorStr = msgErrorSettingEllipticCurves(QSslSocket::tr("OpenSSL version too old, need at least v1.0.2"));
-+ sslContext->errorCode = QSslError::UnspecifiedError;
-+ }
-+ }
-+}
-+
-+QT_END_NAMESPACE
-diff --git a/src/network/ssl/qssldiffiehellmanparameters_openssl.cpp b/src/network/ssl/qssldiffiehellmanparameters_openssl.cpp
-index 90687b05c5..5ebad822f1 100644
---- a/src/network/ssl/qssldiffiehellmanparameters_openssl.cpp
-+++ b/src/network/ssl/qssldiffiehellmanparameters_openssl.cpp
-@@ -1,6 +1,7 @@
- /****************************************************************************
- **
- ** Copyright (C) 2015 Mikkel Krautz
-+** Copyright (C) 2016 Richard J. Moore
- ** Contact: https://www.qt.io/licensing/
- **
- ** This file is part of the QtNetwork module of the Qt Toolkit.
-@@ -50,8 +51,8 @@
- #include
- #endif
-
--// For q_BN_is_word.
- #include
-+#include
-
- QT_BEGIN_NAMESPACE
-
-@@ -62,13 +63,6 @@ static bool isSafeDH(DH *dh)
-
- QSslSocketPrivate::ensureInitialized();
-
-- // Mark p < 1024 bits as unsafe.
-- if (q_BN_num_bits(dh->p) < 1024) {
-- return false;
-- }
--
-- if (q_DH_check(dh, &status) != 1)
-- return false;
-
- // From https://wiki.openssl.org/index.php/Diffie-Hellman_parameters:
- //
-@@ -81,11 +75,39 @@ static bool isSafeDH(DH *dh)
- // Without the test, the IETF parameters would
- // fail validation. For details, see Diffie-Hellman
- // Parameter Check (when g = 2, must p mod 24 == 11?).
-+#if QT_CONFIG(opensslv11)
-+ // Mark p < 1024 bits as unsafe.
-+ if (q_DH_bits(dh) < 1024)
-+ return false;
-+
-+ if (q_DH_check(dh, &status) != 1)
-+ return false;
-+
-+ const BIGNUM *p = nullptr;
-+ const BIGNUM *q = nullptr;
-+ const BIGNUM *g = nullptr;
-+ q_DH_get0_pqg(dh, &p, &q, &g);
-+
-+ if (q_BN_is_word(const_cast(g), DH_GENERATOR_2)) {
-+ long residue = q_BN_mod_word(p, 24);
-+ if (residue == 11 || residue == 23)
-+ status &= ~DH_NOT_SUITABLE_GENERATOR;
-+ }
-+
-+#else
-+ // Mark p < 1024 bits as unsafe.
-+ if (q_BN_num_bits(dh->p) < 1024)
-+ return false;
-+
-+ if (q_DH_check(dh, &status) != 1)
-+ return false;
-+
- if (q_BN_is_word(dh->g, DH_GENERATOR_2)) {
- long residue = q_BN_mod_word(dh->p, 24);
- if (residue == 11 || residue == 23)
- status &= ~DH_NOT_SUITABLE_GENERATOR;
- }
-+#endif
-
- bad |= DH_CHECK_P_NOT_PRIME;
- bad |= DH_CHECK_P_NOT_SAFE_PRIME;
-diff --git a/src/network/ssl/qsslellipticcurve.h b/src/network/ssl/qsslellipticcurve.h
-index 231566063e..57dda19bad 100644
---- a/src/network/ssl/qsslellipticcurve.h
-+++ b/src/network/ssl/qsslellipticcurve.h
-@@ -80,6 +80,7 @@ private:
- friend Q_DECL_CONSTEXPR bool operator==(QSslEllipticCurve lhs, QSslEllipticCurve rhs) Q_DECL_NOTHROW;
- friend Q_DECL_CONSTEXPR uint qHash(QSslEllipticCurve curve, uint seed) Q_DECL_NOTHROW;
-
-+ friend class QSslContext;
- friend class QSslSocketPrivate;
- friend class QSslSocketBackendPrivate;
- };
-diff --git a/src/network/ssl/qsslellipticcurve_openssl.cpp b/src/network/ssl/qsslellipticcurve_openssl.cpp
-index e18197b703..8cd14837f0 100644
---- a/src/network/ssl/qsslellipticcurve_openssl.cpp
-+++ b/src/network/ssl/qsslellipticcurve_openssl.cpp
-@@ -1,6 +1,7 @@
- /****************************************************************************
- **
- ** Copyright (C) 2014 Governikus GmbH & Co. KG.
-+** Copyright (C) 2016 Richard J. Moore
- ** Contact: https://www.qt.io/licensing/
- **
- ** This file is part of the QtNetwork module of the Qt Toolkit.
-@@ -78,17 +79,18 @@ QSslEllipticCurve QSslEllipticCurve::fromShortName(const QString &name)
- QSslEllipticCurve result;
-
- #ifndef OPENSSL_NO_EC
-- const QByteArray curveNameLatin1 = name.toLatin1();
-
-+ const QByteArray curveNameLatin1 = name.toLatin1();
- int nid = q_OBJ_sn2nid(curveNameLatin1.data());
-
- #if OPENSSL_VERSION_NUMBER >= 0x10002000L
-- if (nid == 0 && q_SSLeay() >= 0x10002000L)
-+ if (nid == 0 && QSslSocket::sslLibraryVersionNumber() >= 0x10002000L)
- nid = q_EC_curve_nist2nid(curveNameLatin1.data());
- #endif // OPENSSL_VERSION_NUMBER >= 0x10002000L
-
- result.id = nid;
--#endif
-+
-+#endif // !OPENSSL_NO_EC
-
- return result;
- }
-diff --git a/src/network/ssl/qsslkey_openssl.cpp b/src/network/ssl/qsslkey_openssl.cpp
-index 26119023d1..2b03af9441 100644
---- a/src/network/ssl/qsslkey_openssl.cpp
-+++ b/src/network/ssl/qsslkey_openssl.cpp
-@@ -1,6 +1,7 @@
- /****************************************************************************
- **
--** Copyright (C) 2016 The Qt Company Ltd.
-+** Copyright (C) 2017 The Qt Company Ltd.
-+** Copyright (C) 2016 Richard J. Moore
- ** Contact: https://www.qt.io/licensing/
- **
- ** This file is part of the QtNetwork module of the Qt Toolkit.
-@@ -87,33 +88,32 @@ bool QSslKeyPrivate::fromEVP_PKEY(EVP_PKEY *pkey)
- if (pkey == nullptr)
- return false;
-
-- if (pkey->type == EVP_PKEY_RSA) {
-+#if QT_CONFIG(opensslv11)
-+ const int keyType = q_EVP_PKEY_type(q_EVP_PKEY_base_id(pkey));
-+#else
-+ const int keyType = pkey->type;
-+#endif
-+ if (keyType == EVP_PKEY_RSA) {
- isNull = false;
- algorithm = QSsl::Rsa;
- type = QSsl::PrivateKey;
-
-- rsa = q_RSA_new();
-- memcpy(rsa, q_EVP_PKEY_get1_RSA(pkey), sizeof(RSA));
--
-+ rsa = q_EVP_PKEY_get1_RSA(pkey);
- return true;
-- }
-- else if (pkey->type == EVP_PKEY_DSA) {
-+ } else if (keyType == EVP_PKEY_DSA) {
- isNull = false;
- algorithm = QSsl::Dsa;
- type = QSsl::PrivateKey;
-
-- dsa = q_DSA_new();
-- memcpy(dsa, q_EVP_PKEY_get1_DSA(pkey), sizeof(DSA));
--
-+ dsa = q_EVP_PKEY_get1_DSA(pkey);
- return true;
- }
- #ifndef OPENSSL_NO_EC
-- else if (pkey->type == EVP_PKEY_EC) {
-+ else if (keyType == EVP_PKEY_EC) {
- isNull = false;
- algorithm = QSsl::Ec;
- type = QSsl::PrivateKey;
-- ec = q_EC_KEY_dup(q_EVP_PKEY_get1_EC_KEY(pkey));
--
-+ ec = q_EVP_PKEY_get1_EC_KEY(pkey);
- return true;
- }
- #endif
-@@ -181,8 +181,8 @@ int QSslKeyPrivate::length() const
- return -1;
-
- switch (algorithm) {
-- case QSsl::Rsa: return q_BN_num_bits(rsa->n);
-- case QSsl::Dsa: return q_BN_num_bits(dsa->p);
-+ case QSsl::Rsa: return q_RSA_bits(rsa);
-+ case QSsl::Dsa: return q_DSA_bits(dsa);
- #ifndef OPENSSL_NO_EC
- case QSsl::Ec: return q_EC_GROUP_get_degree(q_EC_KEY_get0_group(ec));
- #endif
-@@ -276,7 +276,13 @@ Qt::HANDLE QSslKeyPrivate::handle() const
-
- static QByteArray doCrypt(QSslKeyPrivate::Cipher cipher, const QByteArray &data, const QByteArray &key, const QByteArray &iv, int enc)
- {
-- EVP_CIPHER_CTX ctx;
-+#if QT_CONFIG(opensslv11)
-+ EVP_CIPHER_CTX *ctx = q_EVP_CIPHER_CTX_new();
-+#else
-+ EVP_CIPHER_CTX evpCipherContext;
-+ EVP_CIPHER_CTX *ctx = &evpCipherContext;
-+#endif
-+
- const EVP_CIPHER* type = 0;
- int i = 0, len = 0;
-
-@@ -294,21 +300,44 @@ static QByteArray doCrypt(QSslKeyPrivate::Cipher cipher, const QByteArray &data,
-
- QByteArray output;
- output.resize(data.size() + EVP_MAX_BLOCK_LENGTH);
-- q_EVP_CIPHER_CTX_init(&ctx);
-- q_EVP_CipherInit(&ctx, type, NULL, NULL, enc);
-- q_EVP_CIPHER_CTX_set_key_length(&ctx, key.size());
-+
-+#if QT_CONFIG(opensslv11)
-+ q_EVP_CIPHER_CTX_reset(ctx);
-+#else
-+ q_EVP_CIPHER_CTX_init(ctx);
-+#endif
-+
-+ q_EVP_CipherInit(ctx, type, NULL, NULL, enc);
-+ q_EVP_CIPHER_CTX_set_key_length(ctx, key.size());
- if (cipher == QSslKeyPrivate::Rc2Cbc)
-- q_EVP_CIPHER_CTX_ctrl(&ctx, EVP_CTRL_SET_RC2_KEY_BITS, 8 * key.size(), NULL);
-- q_EVP_CipherInit(&ctx, NULL,
-+ q_EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_SET_RC2_KEY_BITS, 8 * key.size(), NULL);
-+
-+#if QT_CONFIG(opensslv11)
-+ // EVP_CipherInit in 1.1 resets the context thus making the calls above useless.
-+ // We call EVP_CipherInit_ex instead.
-+ q_EVP_CipherInit_ex(ctx, nullptr, nullptr,
-+ reinterpret_cast(key.constData()),
-+ reinterpret_cast(iv.constData()),
-+ enc);
-+#else
-+ q_EVP_CipherInit(ctx, NULL,
- reinterpret_cast(key.constData()),
- reinterpret_cast(iv.constData()), enc);
-- q_EVP_CipherUpdate(&ctx,
-+#endif // opensslv11
-+
-+ q_EVP_CipherUpdate(ctx,
- reinterpret_cast(output.data()), &len,
- reinterpret_cast(data.constData()), data.size());
-- q_EVP_CipherFinal(&ctx,
-+ q_EVP_CipherFinal(ctx,
- reinterpret_cast(output.data()) + len, &i);
- len += i;
-- q_EVP_CIPHER_CTX_cleanup(&ctx);
-+
-+#if QT_CONFIG(opensslv11)
-+ q_EVP_CIPHER_CTX_reset(ctx);
-+ q_EVP_CIPHER_CTX_free(ctx);
-+#else
-+ q_EVP_CIPHER_CTX_cleanup(ctx);
-+#endif
-
- return output.left(len);
- }
-diff --git a/src/network/ssl/qsslsocket_openssl.cpp b/src/network/ssl/qsslsocket_openssl.cpp
-index f5b493897e..45cea490fc 100644
---- a/src/network/ssl/qsslsocket_openssl.cpp
-+++ b/src/network/ssl/qsslsocket_openssl.cpp
-@@ -1,6 +1,6 @@
- /****************************************************************************
- **
--** Copyright (C) 2016 The Qt Company Ltd.
-+** Copyright (C) 2017 The Qt Company Ltd.
- ** Copyright (C) 2014 Governikus GmbH & Co. KG
- ** Contact: https://www.qt.io/licensing/
- **
-@@ -97,70 +97,6 @@ bool QSslSocketPrivate::s_loadRootCertsOnDemand = false;
- int QSslSocketBackendPrivate::s_indexForSSLExtraData = -1;
- #endif
-
--/* \internal
--
-- From OpenSSL's thread(3) manual page:
--
-- OpenSSL can safely be used in multi-threaded applications provided that at
-- least two callback functions are set.
--
-- locking_function(int mode, int n, const char *file, int line) is needed to
-- perform locking on shared data structures. (Note that OpenSSL uses a
-- number of global data structures that will be implicitly shared
-- whenever multiple threads use OpenSSL.) Multi-threaded
-- applications will crash at random if it is not set. ...
-- ...
-- id_function(void) is a function that returns a thread ID. It is not
-- needed on Windows nor on platforms where getpid() returns a different
-- ID for each thread (most notably Linux)
--*/
--class QOpenSslLocks
--{
--public:
-- inline QOpenSslLocks()
-- : initLocker(QMutex::Recursive),
-- locksLocker(QMutex::Recursive)
-- {
-- QMutexLocker locker(&locksLocker);
-- int numLocks = q_CRYPTO_num_locks();
-- locks = new QMutex *[numLocks];
-- memset(locks, 0, numLocks * sizeof(QMutex *));
-- }
-- inline ~QOpenSslLocks()
-- {
-- QMutexLocker locker(&locksLocker);
-- for (int i = 0; i < q_CRYPTO_num_locks(); ++i)
-- delete locks[i];
-- delete [] locks;
--
-- QSslSocketPrivate::deinitialize();
-- }
-- inline QMutex *lock(int num)
-- {
-- QMutexLocker locker(&locksLocker);
-- QMutex *tmp = locks[num];
-- if (!tmp)
-- tmp = locks[num] = new QMutex(QMutex::Recursive);
-- return tmp;
-- }
--
-- QMutex *globalLock()
-- {
-- return &locksLocker;
-- }
--
-- QMutex *initLock()
-- {
-- return &initLocker;
-- }
--
--private:
-- QMutex initLocker;
-- QMutex locksLocker;
-- QMutex **locks;
--};
--Q_GLOBAL_STATIC(QOpenSslLocks, openssl_locks)
--
- QString QSslSocketBackendPrivate::getErrorsFromOpenSsl()
- {
- QString errorString;
-@@ -175,20 +111,6 @@ QString QSslSocketBackendPrivate::getErrorsFromOpenSsl()
- }
-
- extern "C" {
--static void locking_function(int mode, int lockNumber, const char *, int)
--{
-- QMutex *mutex = openssl_locks()->lock(lockNumber);
--
-- // Lock or unlock it
-- if (mode & CRYPTO_LOCK)
-- mutex->lock();
-- else
-- mutex->unlock();
--}
--static unsigned long id_function()
--{
-- return (quintptr)QThread::currentThreadId();
--}
-
- #if OPENSSL_VERSION_NUMBER >= 0x10001000L && !defined(OPENSSL_NO_PSK)
- static unsigned int q_ssl_psk_client_callback(SSL *ssl,
-@@ -227,7 +149,7 @@ QSslSocketBackendPrivate::~QSslSocketBackendPrivate()
- destroySslContext();
- }
-
--QSslCipher QSslSocketBackendPrivate::QSslCipher_from_SSL_CIPHER(SSL_CIPHER *cipher)
-+QSslCipher QSslSocketBackendPrivate::QSslCipher_from_SSL_CIPHER(const SSL_CIPHER *cipher)
- {
- QSslCipher ciph;
-
-@@ -283,6 +205,7 @@ struct QSslErrorList
- QMutex mutex;
- QVector errors;
- };
-+
- Q_GLOBAL_STATIC(QSslErrorList, _q_sslErrorList)
-
- int q_X509Callback(int ok, X509_STORE_CTX *ctx)
-@@ -312,7 +235,7 @@ int q_X509Callback(int ok, X509_STORE_CTX *ctx)
- }
- #endif
- }
-- // Always return OK to allow verification to continue. We're handle the
-+ // Always return OK to allow verification to continue. We handle the
- // errors gracefully after collecting all errors, after verification has
- // completed.
- return 1;
-@@ -397,7 +320,7 @@ bool QSslSocketBackendPrivate::initSslContext()
- if (configuration.protocol != QSsl::SslV2 &&
- configuration.protocol != QSsl::SslV3 &&
- configuration.protocol != QSsl::UnknownProtocol &&
-- mode == QSslSocket::SslClientMode && q_SSLeay() >= 0x00090806fL) {
-+ mode == QSslSocket::SslClientMode && QSslSocket::sslLibraryVersionNumber() >= 0x00090806fL) {
- // Set server hostname on TLS extension. RFC4366 section 3.1 requires it in ACE format.
- QString tlsHostName = verificationPeerName.isEmpty() ? q->peerName() : verificationPeerName;
- if (tlsHostName.isEmpty())
-@@ -438,13 +361,13 @@ bool QSslSocketBackendPrivate::initSslContext()
-
- #if OPENSSL_VERSION_NUMBER >= 0x10001000L
- // Save a pointer to this object into the SSL structure.
-- if (q_SSLeay() >= 0x10001000L)
-+ if (QSslSocket::sslLibraryVersionNumber() >= 0x10001000L)
- q_SSL_set_ex_data(ssl, s_indexForSSLExtraData, this);
- #endif
-
- #if OPENSSL_VERSION_NUMBER >= 0x10001000L && !defined(OPENSSL_NO_PSK)
- // Set the client callback for PSK
-- if (q_SSLeay() >= 0x10001000L) {
-+ if (QSslSocket::sslLibraryVersionNumber() >= 0x10001000L) {
- if (mode == QSslSocket::SslClientMode)
- q_SSL_set_psk_client_callback(ssl, &q_ssl_psk_client_callback);
- else if (mode == QSslSocket::SslServerMode)
-@@ -464,16 +387,6 @@ void QSslSocketBackendPrivate::destroySslContext()
- sslContextPointer.clear();
- }
-
--/*!
-- \internal
--*/
--void QSslSocketPrivate::deinitialize()
--{
-- q_CRYPTO_set_id_callback(0);
-- q_CRYPTO_set_locking_callback(0);
-- q_ERR_free_strings();
--}
--
- /*!
- \internal
-
-@@ -486,91 +399,6 @@ bool QSslSocketPrivate::supportsSsl()
- return ensureLibraryLoaded();
- }
-
--bool QSslSocketPrivate::ensureLibraryLoaded()
--{
-- if (!q_resolveOpenSslSymbols())
-- return false;
--
-- // Check if the library itself needs to be initialized.
-- QMutexLocker locker(openssl_locks()->initLock());
--
-- if (!s_libraryLoaded) {
-- s_libraryLoaded = true;
--
-- // Initialize OpenSSL.
-- q_CRYPTO_set_id_callback(id_function);
-- q_CRYPTO_set_locking_callback(locking_function);
-- if (q_SSL_library_init() != 1)
-- return false;
-- q_SSL_load_error_strings();
-- q_OpenSSL_add_all_algorithms();
--
--#if OPENSSL_VERSION_NUMBER >= 0x10001000L
-- if (q_SSLeay() >= 0x10001000L)
-- QSslSocketBackendPrivate::s_indexForSSLExtraData = q_SSL_get_ex_new_index(0L, NULL, NULL, NULL, NULL);
--#endif
--
-- // Initialize OpenSSL's random seed.
-- if (!q_RAND_status()) {
-- qWarning("Random number generator not seeded, disabling SSL support");
-- return false;
-- }
-- }
-- return true;
--}
--
--void QSslSocketPrivate::ensureCiphersAndCertsLoaded()
--{
-- QMutexLocker locker(openssl_locks()->initLock());
-- if (s_loadedCiphersAndCerts)
-- return;
-- s_loadedCiphersAndCerts = true;
--
-- resetDefaultCiphers();
-- resetDefaultEllipticCurves();
--
--#if QT_CONFIG(library)
-- //load symbols needed to receive certificates from system store
--#if defined(Q_OS_WIN)
-- HINSTANCE hLib = LoadLibraryW(L"Crypt32");
-- if (hLib) {
-- ptrCertOpenSystemStoreW = (PtrCertOpenSystemStoreW)GetProcAddress(hLib, "CertOpenSystemStoreW");
-- ptrCertFindCertificateInStore = (PtrCertFindCertificateInStore)GetProcAddress(hLib, "CertFindCertificateInStore");
-- ptrCertCloseStore = (PtrCertCloseStore)GetProcAddress(hLib, "CertCloseStore");
-- if (!ptrCertOpenSystemStoreW || !ptrCertFindCertificateInStore || !ptrCertCloseStore)
-- qCWarning(lcSsl, "could not resolve symbols in crypt32 library"); // should never happen
-- } else {
-- qCWarning(lcSsl, "could not load crypt32 library"); // should never happen
-- }
--#elif defined(Q_OS_QNX)
-- s_loadRootCertsOnDemand = true;
--#elif defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
-- // check whether we can enable on-demand root-cert loading (i.e. check whether the sym links are there)
-- QList dirs = unixRootCertDirectories();
-- QStringList symLinkFilter;
-- symLinkFilter << QLatin1String("[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f].[0-9]");
-- for (int a = 0; a < dirs.count(); ++a) {
-- QDirIterator iterator(QLatin1String(dirs.at(a)), symLinkFilter, QDir::Files);
-- if (iterator.hasNext()) {
-- s_loadRootCertsOnDemand = true;
-- break;
-- }
-- }
--#endif
--#endif // QT_CONFIG(library)
-- // if on-demand loading was not enabled, load the certs now
-- if (!s_loadRootCertsOnDemand)
-- setDefaultCaCertificates(systemCaCertificates());
--#ifdef Q_OS_WIN
-- //Enabled for fetching additional root certs from windows update on windows 6+
-- //This flag is set false by setDefaultCaCertificates() indicating the app uses
-- //its own cert bundle rather than the system one.
-- //Same logic that disables the unix on demand cert loading.
-- //Unlike unix, we do preload the certificates from the cert store.
-- if ((QSysInfo::windowsVersion() & QSysInfo::WV_NT_based) >= QSysInfo::WV_6_0)
-- s_loadRootCertsOnDemand = true;
--#endif
--}
-
- /*!
- \internal
-@@ -587,26 +415,6 @@ void QSslSocketPrivate::ensureInitialized()
- ensureCiphersAndCertsLoaded();
- }
-
--long QSslSocketPrivate::sslLibraryVersionNumber()
--{
-- if (!supportsSsl())
-- return 0;
--
-- return q_SSLeay();
--}
--
--QString QSslSocketPrivate::sslLibraryVersionString()
--{
-- if (!supportsSsl())
-- return QString();
--
-- const char *versionString = q_SSLeay_version(SSLEAY_VERSION);
-- if (!versionString)
-- return QString();
--
-- return QString::fromLatin1(versionString);
--}
--
- long QSslSocketPrivate::sslLibraryBuildVersionNumber()
- {
- return OPENSSL_VERSION_NUMBER;
-@@ -628,7 +436,11 @@ QString QSslSocketPrivate::sslLibraryBuildVersionString()
- */
- void QSslSocketPrivate::resetDefaultCiphers()
- {
-+#if QT_CONFIG(opensslv11)
-+ SSL_CTX *myCtx = q_SSL_CTX_new(q_TLS_client_method());
-+#else
- SSL_CTX *myCtx = q_SSL_CTX_new(q_SSLv23_client_method());
-+#endif
- SSL *mySsl = q_SSL_new(myCtx);
-
- QList ciphers;
-@@ -664,7 +476,7 @@ void QSslSocketPrivate::resetDefaultEllipticCurves()
- QVector curves;
-
- #ifndef OPENSSL_NO_EC
-- const size_t curveCount = q_EC_get_builtin_curves(NULL, 0);
-+ const size_t curveCount = q_EC_get_builtin_curves(nullptr, 0);
-
- QVarLengthArray builtinCurves(static_cast(curveCount));
-
-@@ -698,13 +510,14 @@ QList QSslSocketPrivate::systemCaCertificates()
- if (ptrCertOpenSystemStoreW && ptrCertFindCertificateInStore && ptrCertCloseStore) {
- HCERTSTORE hSystemStore;
- hSystemStore = ptrCertOpenSystemStoreW(0, L"ROOT");
-- if(hSystemStore) {
-- PCCERT_CONTEXT pc = NULL;
-- while(1) {
-- pc = ptrCertFindCertificateInStore( hSystemStore, X509_ASN_ENCODING, 0, CERT_FIND_ANY, NULL, pc);
-- if(!pc)
-+ if (hSystemStore) {
-+ PCCERT_CONTEXT pc = nullptr;
-+ while (1) {
-+ pc = ptrCertFindCertificateInStore(hSystemStore, X509_ASN_ENCODING, 0, CERT_FIND_ANY, nullptr, pc);
-+ if (!pc)
- break;
-- QByteArray der((const char *)(pc->pbCertEncoded), static_cast(pc->cbCertEncoded));
-+ QByteArray der(reinterpret_cast(pc->pbCertEncoded),
-+ static_cast(pc->cbCertEncoded));
- QSslCertificate cert(der, QSsl::Der);
- systemCerts.append(cert);
- }
-@@ -1504,14 +1317,8 @@ QSslCipher QSslSocketBackendPrivate::sessionCipher() const
- {
- if (!ssl)
- return QSslCipher();
--#if OPENSSL_VERSION_NUMBER >= 0x10000000L
-- // FIXME This is fairly evil, but needed to keep source level compatibility
-- // with the OpenSSL 0.9.x implementation at maximum -- some other functions
-- // don't take a const SSL_CIPHER* when they should
-- SSL_CIPHER *sessionCipher = const_cast(q_SSL_get_current_cipher(ssl));
--#else
-- SSL_CIPHER *sessionCipher = q_SSL_get_current_cipher(ssl);
--#endif
-+
-+ const SSL_CIPHER *sessionCipher = q_SSL_get_current_cipher(ssl);
- return sessionCipher ? QSslCipher_from_SSL_CIPHER(sessionCipher) : QSslCipher();
- }
-
-@@ -1537,112 +1344,6 @@ QSsl::SslProtocol QSslSocketBackendPrivate::sessionProtocol() const
- return QSsl::UnknownProtocol;
- }
-
--void QSslSocketBackendPrivate::continueHandshake()
--{
-- Q_Q(QSslSocket);
-- // if we have a max read buffer size, reset the plain socket's to match
-- if (readBufferMaxSize)
-- plainSocket->setReadBufferSize(readBufferMaxSize);
--
-- if (q_SSL_ctrl((ssl), SSL_CTRL_GET_SESSION_REUSED, 0, NULL))
-- configuration.peerSessionShared = true;
--
--#ifdef QT_DECRYPT_SSL_TRAFFIC
-- if (ssl->session && ssl->s3) {
-- const char *mk = reinterpret_cast(ssl->session->master_key);
-- QByteArray masterKey(mk, ssl->session->master_key_length);
-- const char *random = reinterpret_cast(ssl->s3->client_random);
-- QByteArray clientRandom(random, SSL3_RANDOM_SIZE);
--
-- // different format, needed for e.g. older Wireshark versions:
--// const char *sid = reinterpret_cast(ssl->session->session_id);
--// QByteArray sessionID(sid, ssl->session->session_id_length);
--// QByteArray debugLineRSA("RSA Session-ID:");
--// debugLineRSA.append(sessionID.toHex().toUpper());
--// debugLineRSA.append(" Master-Key:");
--// debugLineRSA.append(masterKey.toHex().toUpper());
--// debugLineRSA.append("\n");
--
-- QByteArray debugLineClientRandom("CLIENT_RANDOM ");
-- debugLineClientRandom.append(clientRandom.toHex().toUpper());
-- debugLineClientRandom.append(" ");
-- debugLineClientRandom.append(masterKey.toHex().toUpper());
-- debugLineClientRandom.append("\n");
--
-- QString sslKeyFile = QDir::tempPath() + QLatin1String("/qt-ssl-keys");
-- QFile file(sslKeyFile);
-- if (!file.open(QIODevice::Append))
-- qCWarning(lcSsl) << "could not open file" << sslKeyFile << "for appending";
-- if (!file.write(debugLineClientRandom))
-- qCWarning(lcSsl) << "could not write to file" << sslKeyFile;
-- file.close();
-- } else {
-- qCWarning(lcSsl, "could not decrypt SSL traffic");
-- }
--#endif
--
-- // Cache this SSL session inside the QSslContext
-- if (!(configuration.sslOptions & QSsl::SslOptionDisableSessionSharing)) {
-- if (!sslContextPointer->cacheSession(ssl)) {
-- sslContextPointer.clear(); // we could not cache the session
-- } else {
-- // Cache the session for permanent usage as well
-- if (!(configuration.sslOptions & QSsl::SslOptionDisableSessionPersistence)) {
-- if (!sslContextPointer->sessionASN1().isEmpty())
-- configuration.sslSession = sslContextPointer->sessionASN1();
-- configuration.sslSessionTicketLifeTimeHint = sslContextPointer->sessionTicketLifeTimeHint();
-- }
-- }
-- }
--
--#if OPENSSL_VERSION_NUMBER >= 0x1000100fL && !defined(OPENSSL_NO_NEXTPROTONEG)
--
-- configuration.nextProtocolNegotiationStatus = sslContextPointer->npnContext().status;
-- if (sslContextPointer->npnContext().status == QSslConfiguration::NextProtocolNegotiationUnsupported) {
-- // we could not agree -> be conservative and use HTTP/1.1
-- configuration.nextNegotiatedProtocol = QByteArrayLiteral("http/1.1");
-- } else {
-- const unsigned char *proto = 0;
-- unsigned int proto_len = 0;
--#if OPENSSL_VERSION_NUMBER >= 0x10002000L
-- if (q_SSLeay() >= 0x10002000L) {
-- q_SSL_get0_alpn_selected(ssl, &proto, &proto_len);
-- if (proto_len && mode == QSslSocket::SslClientMode) {
-- // Client does not have a callback that sets it ...
-- configuration.nextProtocolNegotiationStatus = QSslConfiguration::NextProtocolNegotiationNegotiated;
-- }
-- }
--
-- if (!proto_len) { // Test if NPN was more lucky ...
--#else
-- {
--#endif
-- q_SSL_get0_next_proto_negotiated(ssl, &proto, &proto_len);
-- }
--
-- if (proto_len)
-- configuration.nextNegotiatedProtocol = QByteArray(reinterpret_cast(proto), proto_len);
-- else
-- configuration.nextNegotiatedProtocol.clear();
-- }
--#endif // OPENSSL_VERSION_NUMBER >= 0x1000100fL ...
--
--#if OPENSSL_VERSION_NUMBER >= 0x10002000L
-- if (q_SSLeay() >= 0x10002000L && mode == QSslSocket::SslClientMode) {
-- EVP_PKEY *key;
-- if (q_SSL_get_server_tmp_key(ssl, &key))
-- configuration.ephemeralServerKey = QSslKey(key, QSsl::PublicKey);
-- }
--#endif // OPENSSL_VERSION_NUMBER >= 0x10002000L ...
--
-- connectionEncrypted = true;
-- emit q->encrypted();
-- if (autoStartHandshake && pendingClose) {
-- pendingClose = false;
-- q->disconnectFromHost();
-- }
--}
--
- QList QSslSocketBackendPrivate::STACKOFX509_to_QSslCertificates(STACK_OF(X509) *x509)
- {
- ensureInitialized();
-@@ -1696,12 +1397,12 @@ QList QSslSocketBackendPrivate::verify(const QList &
- QMutexLocker sslErrorListMutexLocker(&_q_sslErrorList()->mutex);
-
- // Register a custom callback to get all verification errors.
-- X509_STORE_set_verify_cb_func(certStore, q_X509Callback);
-+ q_X509_STORE_set_verify_cb(certStore, q_X509Callback);
-
- // Build the chain of intermediate certificates
- STACK_OF(X509) *intermediates = 0;
- if (certificateChain.length() > 1) {
-- intermediates = (STACK_OF(X509) *) q_sk_new_null();
-+ intermediates = (STACK_OF(X509) *) q_OPENSSL_sk_new_null();
-
- if (!intermediates) {
- q_X509_STORE_free(certStore);
-@@ -1715,11 +1416,8 @@ QList QSslSocketBackendPrivate::verify(const QList &
- first = false;
- continue;
- }
--#if OPENSSL_VERSION_NUMBER >= 0x10000000L
-- q_sk_push( (_STACK *)intermediates, reinterpret_cast(cert.handle()));
--#else
-- q_sk_push( (STACK *)intermediates, reinterpret_cast(cert.handle()));
--#endif
-+
-+ q_OPENSSL_sk_push((OPENSSL_STACK *)intermediates, reinterpret_cast(cert.handle()));
- }
- }
-
-@@ -1743,11 +1441,7 @@ QList QSslSocketBackendPrivate::verify(const QList &
- (void) q_X509_verify_cert(storeContext);
-
- q_X509_STORE_CTX_free(storeContext);
--#if OPENSSL_VERSION_NUMBER >= 0x10000000L
-- q_sk_free( (_STACK *) intermediates);
--#else
-- q_sk_free( (STACK *) intermediates);
--#endif
-+ q_OPENSSL_sk_free((OPENSSL_STACK *)intermediates);
-
- // Now process the errors
- const auto errorList = std::move(_q_sslErrorList()->errors);
-@@ -1821,7 +1515,8 @@ bool QSslSocketBackendPrivate::importPkcs12(QIODevice *device,
- // Convert to Qt types
- if (!key->d->fromEVP_PKEY(pkey)) {
- qCWarning(lcSsl, "Unable to convert private key");
-- q_sk_pop_free(reinterpret_cast(ca), reinterpret_cast(q_sk_free));
-+ q_OPENSSL_sk_pop_free(reinterpret_cast(ca),
-+ reinterpret_cast(q_OPENSSL_sk_free));
- q_X509_free(x509);
- q_EVP_PKEY_free(pkey);
- q_PKCS12_free(p12);
-@@ -1836,7 +1531,11 @@ bool QSslSocketBackendPrivate::importPkcs12(QIODevice *device,
- *caCertificates = QSslSocketBackendPrivate::STACKOFX509_to_QSslCertificates(ca);
-
- // Clean up
-- q_sk_pop_free(reinterpret_cast(ca), reinterpret_cast(q_sk_free));
-+ // TODO: verify ASAP, in the past we had sk_pop_free with q_OPENSSL_sk_free
-+ // which seems to be blatantly wrong and even crashes with 1.1.
-+ q_OPENSSL_sk_pop_free(reinterpret_cast(ca),
-+ reinterpret_cast(q_X509_free));
-+
- q_X509_free(x509);
- q_EVP_PKEY_free(pkey);
- q_PKCS12_free(p12);
-diff --git a/src/network/ssl/qsslsocket_openssl11.cpp b/src/network/ssl/qsslsocket_openssl11.cpp
-new file mode 100644
-index 0000000000..b6d18943a5
---- /dev/null
-+++ b/src/network/ssl/qsslsocket_openssl11.cpp
-@@ -0,0 +1,285 @@
-+/****************************************************************************
-+**
-+** Copyright (C) 2017 The Qt Company Ltd.
-+** Copyright (C) 2014 Governikus GmbH & Co. KG
-+** Copyright (C) 2016 Richard J. Moore
-+** Contact: https://www.qt.io/licensing/
-+**
-+** This file is part of the QtNetwork module of the Qt Toolkit.
-+**
-+** $QT_BEGIN_LICENSE:LGPL$
-+** Commercial License Usage
-+** Licensees holding valid commercial Qt licenses may use this file in
-+** accordance with the commercial license agreement provided with the
-+** Software or, alternatively, in accordance with the terms contained in
-+** a written agreement between you and The Qt Company. For licensing terms
-+** and conditions see https://www.qt.io/terms-conditions. For further
-+** information use the contact form at https://www.qt.io/contact-us.
-+**
-+** GNU Lesser General Public License Usage
-+** Alternatively, this file may be used under the terms of the GNU Lesser
-+** General Public License version 3 as published by the Free Software
-+** Foundation and appearing in the file LICENSE.LGPL3 included in the
-+** packaging of this file. Please review the following information to
-+** ensure the GNU Lesser General Public License version 3 requirements
-+** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-+**
-+** GNU General Public License Usage
-+** Alternatively, this file may be used under the terms of the GNU
-+** General Public License version 2.0 or (at your option) the GNU General
-+** Public license version 3 or any later version approved by the KDE Free
-+** Qt Foundation. The licenses are as published by the Free Software
-+** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-+** included in the packaging of this file. Please review the following
-+** information to ensure the GNU General Public License requirements will
-+** be met: https://www.gnu.org/licenses/gpl-2.0.html and
-+** https://www.gnu.org/licenses/gpl-3.0.html.
-+**
-+** $QT_END_LICENSE$
-+**
-+****************************************************************************/
-+
-+/****************************************************************************
-+**
-+** In addition, as a special exception, the copyright holders listed above give
-+** permission to link the code of its release of Qt with the OpenSSL project's
-+** "OpenSSL" library (or modified versions of the "OpenSSL" library that use the
-+** same license as the original version), and distribute the linked executables.
-+**
-+** You must comply with the GNU General Public License version 2 in all
-+** respects for all of the code used other than the "OpenSSL" code. If you
-+** modify this file, you may extend this exception to your version of the file,
-+** but you are not obligated to do so. If you do not wish to do so, delete
-+** this exception statement from your version of this file.
-+**
-+****************************************************************************/
-+
-+//#define QT_DECRYPT_SSL_TRAFFIC
-+
-+#include "qssl_p.h"
-+#include "qsslsocket_openssl_p.h"
-+#include "qsslsocket_openssl_symbols_p.h"
-+#include "qsslsocket.h"
-+#include "qsslkey.h"
-+
-+#include
-+#include
-+#include
-+#include
-+#include
-+#include
-+
-+QT_BEGIN_NAMESPACE
-+
-+Q_GLOBAL_STATIC_WITH_ARGS(QMutex, qt_opensslInitMutex, (QMutex::Recursive))
-+
-+/*!
-+ \internal
-+*/
-+void QSslSocketPrivate::deinitialize()
-+{
-+ // This function exists only for compatibility with the pre-11 code,
-+ // where deinitialize() actually does some cleanup. To be discarded
-+ // once we retire < 1.1.
-+}
-+
-+bool QSslSocketPrivate::ensureLibraryLoaded()
-+{
-+ if (!q_resolveOpenSslSymbols())
-+ return false;
-+
-+ const QMutexLocker locker(qt_opensslInitMutex);
-+
-+ if (!s_libraryLoaded) {
-+ s_libraryLoaded = true;
-+
-+ // Initialize OpenSSL.
-+ if (q_OPENSSL_init_ssl(0, nullptr) != 1)
-+ return false;
-+ q_SSL_load_error_strings();
-+ q_OpenSSL_add_all_algorithms();
-+
-+ QSslSocketBackendPrivate::s_indexForSSLExtraData
-+ = q_CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_SSL, 0L, nullptr, nullptr,
-+ nullptr, nullptr);
-+
-+ // Initialize OpenSSL's random seed.
-+ if (!q_RAND_status()) {
-+ qWarning("Random number generator not seeded, disabling SSL support");
-+ return false;
-+ }
-+ }
-+ return true;
-+}
-+
-+void QSslSocketPrivate::ensureCiphersAndCertsLoaded()
-+{
-+ const QMutexLocker locker(qt_opensslInitMutex);
-+
-+ if (s_loadedCiphersAndCerts)
-+ return;
-+ s_loadedCiphersAndCerts = true;
-+
-+ resetDefaultCiphers();
-+ resetDefaultEllipticCurves();
-+
-+#if QT_CONFIG(library)
-+ //load symbols needed to receive certificates from system store
-+#if defined(Q_OS_WIN)
-+ HINSTANCE hLib = LoadLibraryW(L"Crypt32");
-+ if (hLib) {
-+ ptrCertOpenSystemStoreW = (PtrCertOpenSystemStoreW)GetProcAddress(hLib, "CertOpenSystemStoreW");
-+ ptrCertFindCertificateInStore = (PtrCertFindCertificateInStore)GetProcAddress(hLib, "CertFindCertificateInStore");
-+ ptrCertCloseStore = (PtrCertCloseStore)GetProcAddress(hLib, "CertCloseStore");
-+ if (!ptrCertOpenSystemStoreW || !ptrCertFindCertificateInStore || !ptrCertCloseStore)
-+ qCWarning(lcSsl, "could not resolve symbols in crypt32 library"); // should never happen
-+ } else {
-+ qCWarning(lcSsl, "could not load crypt32 library"); // should never happen
-+ }
-+#elif defined(Q_OS_QNX)
-+ s_loadRootCertsOnDemand = true;
-+#elif defined(Q_OS_UNIX) && !defined(Q_OS_DARWIN)
-+ // check whether we can enable on-demand root-cert loading (i.e. check whether the sym links are there)
-+ QList dirs = unixRootCertDirectories();
-+ QStringList symLinkFilter;
-+ symLinkFilter << QLatin1String("[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f].[0-9]");
-+ for (int a = 0; a < dirs.count(); ++a) {
-+ QDirIterator iterator(QLatin1String(dirs.at(a)), symLinkFilter, QDir::Files);
-+ if (iterator.hasNext()) {
-+ s_loadRootCertsOnDemand = true;
-+ break;
-+ }
-+ }
-+#endif
-+#endif // QT_CONFIG(library)
-+ // if on-demand loading was not enabled, load the certs now
-+ if (!s_loadRootCertsOnDemand)
-+ setDefaultCaCertificates(systemCaCertificates());
-+#ifdef Q_OS_WIN
-+ //Enabled for fetching additional root certs from windows update on windows 6+
-+ //This flag is set false by setDefaultCaCertificates() indicating the app uses
-+ //its own cert bundle rather than the system one.
-+ //Same logic that disables the unix on demand cert loading.
-+ //Unlike unix, we do preload the certificates from the cert store.
-+ if ((QSysInfo::windowsVersion() & QSysInfo::WV_NT_based) >= QSysInfo::WV_6_0)
-+ s_loadRootCertsOnDemand = true;
-+#endif
-+}
-+
-+long QSslSocketPrivate::sslLibraryVersionNumber()
-+{
-+ if (!supportsSsl())
-+ return 0;
-+
-+ return q_OpenSSL_version_num();
-+}
-+
-+QString QSslSocketPrivate::sslLibraryVersionString()
-+{
-+ if (!supportsSsl())
-+ return QString();
-+
-+ const char *versionString = q_OpenSSL_version(OPENSSL_VERSION);
-+ if (!versionString)
-+ return QString();
-+
-+ return QString::fromLatin1(versionString);
-+}
-+
-+void QSslSocketBackendPrivate::continueHandshake()
-+{
-+ Q_Q(QSslSocket);
-+ // if we have a max read buffer size, reset the plain socket's to match
-+ if (readBufferMaxSize)
-+ plainSocket->setReadBufferSize(readBufferMaxSize);
-+
-+ if (q_SSL_session_reused(ssl))
-+ configuration.peerSessionShared = true;
-+
-+#ifdef QT_DECRYPT_SSL_TRAFFIC
-+ if (q_SSL_get_session(ssl)) {
-+ size_t master_key_len = q_SSL_SESSION_get_master_key(q_SSL_get_session(ssl), 0, 0);
-+ size_t client_random_len = q_SSL_get_client_random(ssl, 0, 0);
-+ QByteArray masterKey(int(master_key_len), 0); // Will not overflow
-+ QByteArray clientRandom(int(client_random_len), 0); // Will not overflow
-+
-+ q_SSL_SESSION_get_master_key(q_SSL_get_session(ssl),
-+ reinterpret_cast(masterKey.data()),
-+ masterKey.size());
-+ q_SSL_get_client_random(ssl, reinterpret_cast(clientRandom.data()),
-+ clientRandom.size());
-+
-+ QByteArray debugLineClientRandom("CLIENT_RANDOM ");
-+ debugLineClientRandom.append(clientRandom.toHex().toUpper());
-+ debugLineClientRandom.append(" ");
-+ debugLineClientRandom.append(masterKey.toHex().toUpper());
-+ debugLineClientRandom.append("\n");
-+
-+ QString sslKeyFile = QDir::tempPath() + QLatin1String("/qt-ssl-keys");
-+ QFile file(sslKeyFile);
-+ if (!file.open(QIODevice::Append))
-+ qCWarning(lcSsl) << "could not open file" << sslKeyFile << "for appending";
-+ if (!file.write(debugLineClientRandom))
-+ qCWarning(lcSsl) << "could not write to file" << sslKeyFile;
-+ file.close();
-+ } else {
-+ qCWarning(lcSsl, "could not decrypt SSL traffic");
-+ }
-+#endif
-+
-+ // Cache this SSL session inside the QSslContext
-+ if (!(configuration.sslOptions & QSsl::SslOptionDisableSessionSharing)) {
-+ if (!sslContextPointer->cacheSession(ssl)) {
-+ sslContextPointer.clear(); // we could not cache the session
-+ } else {
-+ // Cache the session for permanent usage as well
-+ if (!(configuration.sslOptions & QSsl::SslOptionDisableSessionPersistence)) {
-+ if (!sslContextPointer->sessionASN1().isEmpty())
-+ configuration.sslSession = sslContextPointer->sessionASN1();
-+ configuration.sslSessionTicketLifeTimeHint = sslContextPointer->sessionTicketLifeTimeHint();
-+ }
-+ }
-+ }
-+
-+#if !defined(OPENSSL_NO_NEXTPROTONEG)
-+
-+ configuration.nextProtocolNegotiationStatus = sslContextPointer->npnContext().status;
-+ if (sslContextPointer->npnContext().status == QSslConfiguration::NextProtocolNegotiationUnsupported) {
-+ // we could not agree -> be conservative and use HTTP/1.1
-+ configuration.nextNegotiatedProtocol = QByteArrayLiteral("http/1.1");
-+ } else {
-+ const unsigned char *proto = 0;
-+ unsigned int proto_len = 0;
-+
-+ q_SSL_get0_alpn_selected(ssl, &proto, &proto_len);
-+ if (proto_len && mode == QSslSocket::SslClientMode) {
-+ // Client does not have a callback that sets it ...
-+ configuration.nextProtocolNegotiationStatus = QSslConfiguration::NextProtocolNegotiationNegotiated;
-+ }
-+
-+ if (!proto_len) { // Test if NPN was more lucky ...
-+ q_SSL_get0_next_proto_negotiated(ssl, &proto, &proto_len);
-+ }
-+
-+ if (proto_len)
-+ configuration.nextNegotiatedProtocol = QByteArray(reinterpret_cast(proto), proto_len);
-+ else
-+ configuration.nextNegotiatedProtocol.clear();
-+ }
-+#endif // !defined(OPENSSL_NO_NEXTPROTONEG)
-+
-+ if (mode == QSslSocket::SslClientMode) {
-+ EVP_PKEY *key;
-+ if (q_SSL_get_server_tmp_key(ssl, &key))
-+ configuration.ephemeralServerKey = QSslKey(key, QSsl::PublicKey);
-+ }
-+
-+ connectionEncrypted = true;
-+ emit q->encrypted();
-+ if (autoStartHandshake && pendingClose) {
-+ pendingClose = false;
-+ q->disconnectFromHost();
-+ }
-+}
-+
-+QT_END_NAMESPACE
-diff --git a/src/network/ssl/qsslsocket_openssl11_symbols_p.h b/src/network/ssl/qsslsocket_openssl11_symbols_p.h
-new file mode 100644
-index 0000000000..2980b3d23e
---- /dev/null
-+++ b/src/network/ssl/qsslsocket_openssl11_symbols_p.h
-@@ -0,0 +1,132 @@
-+/****************************************************************************
-+**
-+** Copyright (C) 2017 The Qt Company Ltd.
-+** Copyright (C) 2014 BlackBerry Limited. All rights reserved.
-+** Copyright (C) 2016 Richard J. Moore
-+** Contact: https://www.qt.io/licensing/
-+**
-+** This file is part of the QtNetwork module of the Qt Toolkit.
-+**
-+** $QT_BEGIN_LICENSE:LGPL$
-+** Commercial License Usage
-+** Licensees holding valid commercial Qt licenses may use this file in
-+** accordance with the commercial license agreement provided with the
-+** Software or, alternatively, in accordance with the terms contained in
-+** a written agreement between you and The Qt Company. For licensing terms
-+** and conditions see https://www.qt.io/terms-conditions. For further
-+** information use the contact form at https://www.qt.io/contact-us.
-+**
-+** GNU Lesser General Public License Usage
-+** Alternatively, this file may be used under the terms of the GNU Lesser
-+** General Public License version 3 as published by the Free Software
-+** Foundation and appearing in the file LICENSE.LGPL3 included in the
-+** packaging of this file. Please review the following information to
-+** ensure the GNU Lesser General Public License version 3 requirements
-+** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-+**
-+** GNU General Public License Usage
-+** Alternatively, this file may be used under the terms of the GNU
-+** General Public License version 2.0 or (at your option) the GNU General
-+** Public license version 3 or any later version approved by the KDE Free
-+** Qt Foundation. The licenses are as published by the Free Software
-+** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-+** included in the packaging of this file. Please review the following
-+** information to ensure the GNU General Public License requirements will
-+** be met: https://www.gnu.org/licenses/gpl-2.0.html and
-+** https://www.gnu.org/licenses/gpl-3.0.html.
-+**
-+** $QT_END_LICENSE$
-+**
-+****************************************************************************/
-+
-+/****************************************************************************
-+**
-+** In addition, as a special exception, the copyright holders listed above give
-+** permission to link the code of its release of Qt with the OpenSSL project's
-+** "OpenSSL" library (or modified versions of the "OpenSSL" library that use the
-+** same license as the original version), and distribute the linked executables.
-+**
-+** You must comply with the GNU General Public License version 2 in all
-+** respects for all of the code used other than the "OpenSSL" code. If you
-+** modify this file, you may extend this exception to your version of the file,
-+** but you are not obligated to do so. If you do not wish to do so, delete
-+** this exception statement from your version of this file.
-+**
-+****************************************************************************/
-+
-+#ifndef QSSLSOCKET_OPENSSL11_SYMBOLS_P_H
-+#define QSSLSOCKET_OPENSSL11_SYMBOLS_P_H
-+
-+//
-+// W A R N I N G
-+// -------------
-+//
-+// This file is not part of the Qt API. It exists purely as an
-+// implementation detail. This header file may change from version to
-+// version without notice, or even be removed.
-+//
-+// We mean it.
-+//
-+
-+// Note: this file does not have QT_BEGIN_NAMESPACE/QT_END_NAMESPACE, it's done
-+// in qsslsocket_openssl_symbols_p.h.
-+
-+#ifndef QSSLSOCKET_OPENSSL_SYMBOLS_P_H
-+#error "You are not supposed to use this header file, include qsslsocket_openssl_symbols_p.h instead"
-+#endif
-+
-+const unsigned char * q_ASN1_STRING_get0_data(const ASN1_STRING *x);
-+
-+Q_AUTOTEST_EXPORT BIO *q_BIO_new(const BIO_METHOD *a);
-+Q_AUTOTEST_EXPORT const BIO_METHOD *q_BIO_s_mem();
-+
-+int q_DSA_bits(DSA *a);
-+int q_EVP_CIPHER_CTX_reset(EVP_CIPHER_CTX *c);
-+int q_EVP_PKEY_base_id(EVP_PKEY *a);
-+int q_RSA_bits(RSA *a);
-+int q_OPENSSL_sk_num(OPENSSL_STACK *a);
-+void q_OPENSSL_sk_pop_free(OPENSSL_STACK *a, void (*b)(void *));
-+OPENSSL_STACK *q_OPENSSL_sk_new_null();
-+void q_OPENSSL_sk_push(OPENSSL_STACK *st, void *data);
-+void q_OPENSSL_sk_free(OPENSSL_STACK *a);
-+void * q_OPENSSL_sk_value(OPENSSL_STACK *a, int b);
-+int q_SSL_session_reused(SSL *a);
-+unsigned long q_SSL_CTX_set_options(SSL_CTX *ctx, unsigned long op);
-+int q_OPENSSL_init_ssl(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings);
-+size_t q_SSL_get_client_random(SSL *a, unsigned char *out, size_t outlen);
-+size_t q_SSL_SESSION_get_master_key(const SSL_SESSION *session, unsigned char *out, size_t outlen);
-+int q_CRYPTO_get_ex_new_index(int class_index, long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func);
-+const SSL_METHOD *q_TLS_method();
-+const SSL_METHOD *q_TLS_client_method();
-+const SSL_METHOD *q_TLS_server_method();
-+ASN1_TIME *q_X509_getm_notBefore(X509 *a);
-+ASN1_TIME *q_X509_getm_notAfter(X509 *a);
-+
-+long q_X509_get_version(X509 *a);
-+EVP_PKEY *q_X509_get_pubkey(X509 *a);
-+void q_X509_STORE_set_verify_cb(X509_STORE *ctx, X509_STORE_CTX_verify_cb verify_cb);
-+STACK_OF(X509) *q_X509_STORE_CTX_get0_chain(X509_STORE_CTX *ctx);
-+void q_DH_get0_pqg(const DH *dh, const BIGNUM **p, const BIGNUM **q, const BIGNUM **g);
-+int q_DH_bits(DH *dh);
-+
-+# define q_SSL_load_error_strings() q_OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS \
-+ | OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL)
-+
-+#define q_SKM_sk_num(type, st) ((int (*)(const STACK_OF(type) *))q_OPENSSL_sk_num)(st)
-+#define q_SKM_sk_value(type, st,i) ((type * (*)(const STACK_OF(type) *, int))q_OPENSSL_sk_value)(st, i)
-+
-+#define q_OPENSSL_add_all_algorithms_conf() q_OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
-+ | OPENSSL_INIT_ADD_ALL_DIGESTS \
-+ | OPENSSL_INIT_LOAD_CONFIG, NULL)
-+#define q_OPENSSL_add_all_algorithms_noconf() q_OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
-+ | OPENSSL_INIT_ADD_ALL_DIGESTS, NULL)
-+
-+int q_OPENSSL_init_crypto(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings);
-+void q_CRYPTO_free(void *str, const char *file, int line);
-+
-+long q_OpenSSL_version_num();
-+const char *q_OpenSSL_version(int type);
-+
-+unsigned long q_SSL_SESSION_get_ticket_lifetime_hint(const SSL_SESSION *session);
-+
-+#endif
-diff --git a/src/network/ssl/qsslsocket_openssl_p.h b/src/network/ssl/qsslsocket_openssl_p.h
-index b2adb3e547..7f9e884045 100644
---- a/src/network/ssl/qsslsocket_openssl_p.h
-+++ b/src/network/ssl/qsslsocket_openssl_p.h
-@@ -1,6 +1,6 @@
- /****************************************************************************
- **
--** Copyright (C) 2016 The Qt Company Ltd.
-+** Copyright (C) 2017 The Qt Company Ltd.
- ** Contact: https://www.qt.io/licensing/
- **
- ** This file is part of the QtNetwork module of the Qt Toolkit.
-@@ -98,8 +98,8 @@
- #include
- #include
-
--#if OPENSSL_VERSION_NUMBER >= 0x10000000L
--typedef _STACK STACK;
-+#if QT_CONFIG(opensslv11)
-+#include
- #endif
-
- QT_BEGIN_NAMESPACE
-@@ -151,7 +151,7 @@ public:
- #endif
-
- Q_AUTOTEST_EXPORT static long setupOpenSslOptions(QSsl::SslProtocol protocol, QSsl::SslOptions sslOptions);
-- static QSslCipher QSslCipher_from_SSL_CIPHER(SSL_CIPHER *cipher);
-+ static QSslCipher QSslCipher_from_SSL_CIPHER(const SSL_CIPHER *cipher);
- static QList STACKOFX509_to_QSslCertificates(STACK_OF(X509) *x509);
- static QList verify(const QList &certificateChain, const QString &hostName);
- static QString getErrorsFromOpenSsl();
-diff --git a/src/network/ssl/qsslsocket_openssl_symbols.cpp b/src/network/ssl/qsslsocket_openssl_symbols.cpp
-index c344a94427..0ef8bf6b5e 100644
---- a/src/network/ssl/qsslsocket_openssl_symbols.cpp
-+++ b/src/network/ssl/qsslsocket_openssl_symbols.cpp
-@@ -1,7 +1,8 @@
- /****************************************************************************
- **
--** Copyright (C) 2016 The Qt Company Ltd.
-+** Copyright (C) 2017 The Qt Company Ltd.
- ** Copyright (C) 2014 BlackBerry Limited. All rights reserved.
-+** Copyright (C) 2016 Richard J. Moore
- ** Contact: https://www.qt.io/licensing/
- **
- ** This file is part of the QtNetwork module of the Qt Toolkit.
-@@ -136,49 +137,195 @@ void qsslSocketCannotResolveSymbolWarning(const char *functionName)
-
- #endif // QT_LINKED_OPENSSL
-
-+#if QT_CONFIG(opensslv11)
-+
-+// Below are the functions first introduced in version 1.1:
-+
-+DEFINEFUNC(const unsigned char *, ASN1_STRING_get0_data, const ASN1_STRING *a, a, return 0, return)
-+DEFINEFUNC2(int, OPENSSL_init_ssl, uint64_t opts, opts, const OPENSSL_INIT_SETTINGS *settings, settings, return 0, return)
-+DEFINEFUNC2(int, OPENSSL_init_crypto, uint64_t opts, opts, const OPENSSL_INIT_SETTINGS *settings, settings, return 0, return)
-+DEFINEFUNC(BIO *, BIO_new, const BIO_METHOD *a, a, return 0, return)
-+DEFINEFUNC(const BIO_METHOD *, BIO_s_mem, void, DUMMYARG, return 0, return)
-+DEFINEFUNC2(int, BN_is_word, BIGNUM *a, a, BN_ULONG w, w, return 0, return)
-+DEFINEFUNC(int, EVP_CIPHER_CTX_reset, EVP_CIPHER_CTX *c, c, return 0, return)
-+DEFINEFUNC(int, EVP_PKEY_base_id, EVP_PKEY *a, a, return NID_undef, return)
-+DEFINEFUNC(int, RSA_bits, RSA *a, a, return 0, return)
-+DEFINEFUNC(int, DSA_bits, DSA *a, a, return 0, return)
-+DEFINEFUNC(int, OPENSSL_sk_num, OPENSSL_STACK *a, a, return -1, return)
-+DEFINEFUNC2(void, OPENSSL_sk_pop_free, OPENSSL_STACK *a, a, void (*b)(void*), b, return, DUMMYARG)
-+DEFINEFUNC(OPENSSL_STACK *, OPENSSL_sk_new_null, DUMMYARG, DUMMYARG, return 0, return)
-+DEFINEFUNC2(void, OPENSSL_sk_push, OPENSSL_STACK *a, a, void *b, b, return, DUMMYARG)
-+DEFINEFUNC(void, OPENSSL_sk_free, OPENSSL_STACK *a, a, return, DUMMYARG)
-+DEFINEFUNC2(void *, OPENSSL_sk_value, OPENSSL_STACK *a, a, int b, b, return 0, return)
-+DEFINEFUNC(int, SSL_session_reused, SSL *a, a, return 0, return)
-+DEFINEFUNC2(unsigned long, SSL_CTX_set_options, SSL_CTX *ctx, ctx, unsigned long op, op, return 0, return)
-+DEFINEFUNC3(size_t, SSL_get_client_random, SSL *a, a, unsigned char *out, out, size_t outlen, outlen, return 0, return)
-+DEFINEFUNC3(size_t, SSL_SESSION_get_master_key, const SSL_SESSION *ses, ses, unsigned char *out, out, size_t outlen, outlen, return 0, return)
-+DEFINEFUNC6(int, CRYPTO_get_ex_new_index, int class_index, class_index, long argl, argl, void *argp, argp, CRYPTO_EX_new *new_func, new_func, CRYPTO_EX_dup *dup_func, dup_func, CRYPTO_EX_free *free_func, free_func, return -1, return)
-+
-+DEFINEFUNC(const SSL_METHOD *, TLS_method, DUMMYARG, DUMMYARG, return 0, return)
-+DEFINEFUNC(const SSL_METHOD *, TLS_client_method, DUMMYARG, DUMMYARG, return 0, return)
-+DEFINEFUNC(const SSL_METHOD *, TLS_server_method, DUMMYARG, DUMMYARG, return 0, return)
-+DEFINEFUNC(ASN1_TIME *, X509_getm_notBefore, X509 *a, a, return 0, return)
-+DEFINEFUNC(ASN1_TIME *, X509_getm_notAfter, X509 *a, a, return 0, return)
-+DEFINEFUNC(long, X509_get_version, X509 *a, a, return -1, return)
-+DEFINEFUNC(EVP_PKEY *, X509_get_pubkey, X509 *a, a, return 0, return)
-+DEFINEFUNC2(void, X509_STORE_set_verify_cb, X509_STORE *a, a, X509_STORE_CTX_verify_cb verify_cb, verify_cb, return, DUMMYARG)
-+DEFINEFUNC(STACK_OF(X509) *, X509_STORE_CTX_get0_chain, X509_STORE_CTX *a, a, return 0, return)
-+DEFINEFUNC3(void, CRYPTO_free, void *str, str, const char *file, file, int line, line, return, DUMMYARG)
-+DEFINEFUNC(long, OpenSSL_version_num, void, DUMMYARG, return 0, return)
-+DEFINEFUNC(const char *, OpenSSL_version, int a, a, return 0, return)
-+DEFINEFUNC(unsigned long, SSL_SESSION_get_ticket_lifetime_hint, const SSL_SESSION *session, session, return 0, return)
-+DEFINEFUNC4(void, DH_get0_pqg, const DH *dh, dh, const BIGNUM **p, p, const BIGNUM **q, q, const BIGNUM **g, g, return, DUMMYARG)
-+DEFINEFUNC(int, DH_bits, DH *dh, dh, return 0, return)
-+
-+#else // QT_CONFIG(opensslv11)
-+
-+// Functions below are either deprecated or removed in OpenSSL >= 1.1:
-+
-+DEFINEFUNC(unsigned char *, ASN1_STRING_data, ASN1_STRING *a, a, return 0, return)
-+
- #ifdef SSLEAY_MACROS
- DEFINEFUNC3(void *, ASN1_dup, i2d_of_void *a, a, d2i_of_void *b, b, char *c, c, return 0, return)
- #endif
-+DEFINEFUNC2(BIO *, BIO_new_file, const char *filename, filename, const char *mode, mode, return 0, return)
-+DEFINEFUNC(void, ERR_clear_error, DUMMYARG, DUMMYARG, return, DUMMYARG)
-+DEFINEFUNC(BIO *, BIO_new, BIO_METHOD *a, a, return 0, return)
-+DEFINEFUNC(BIO_METHOD *, BIO_s_mem, void, DUMMYARG, return 0, return)
-+DEFINEFUNC(int, CRYPTO_num_locks, DUMMYARG, DUMMYARG, return 0, return)
-+DEFINEFUNC(void, CRYPTO_set_locking_callback, void (*a)(int, int, const char *, int), a, return, DUMMYARG)
-+DEFINEFUNC(void, CRYPTO_set_id_callback, unsigned long (*a)(), a, return, DUMMYARG)
-+DEFINEFUNC(void, CRYPTO_free, void *a, a, return, DUMMYARG)
-+DEFINEFUNC(unsigned long, ERR_peek_last_error, DUMMYARG, DUMMYARG, return 0, return)
-+DEFINEFUNC(void, ERR_free_strings, void, DUMMYARG, return, DUMMYARG)
-+DEFINEFUNC(void, EVP_CIPHER_CTX_cleanup, EVP_CIPHER_CTX *a, a, return, DUMMYARG)
-+DEFINEFUNC(void, EVP_CIPHER_CTX_init, EVP_CIPHER_CTX *a, a, return, DUMMYARG)
-+
-+#ifdef SSLEAY_MACROS
-+DEFINEFUNC6(void *, PEM_ASN1_read_bio, d2i_of_void *a, a, const char *b, b, BIO *c, c, void **d, d, pem_password_cb *e, e, void *f, f, return 0, return)
-+DEFINEFUNC6(void *, PEM_ASN1_write_bio, d2i_of_void *a, a, const char *b, b, BIO *c, c, void **d, d, pem_password_cb *e, e, void *f, f, return 0, return)
-+#endif // SSLEAY_MACROS
-+
-+DEFINEFUNC(int, sk_num, STACK *a, a, return -1, return)
-+DEFINEFUNC2(void, sk_pop_free, STACK *a, a, void (*b)(void*), b, return, DUMMYARG)
-+
-+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
-+DEFINEFUNC(_STACK *, sk_new_null, DUMMYARG, DUMMYARG, return 0, return)
-+DEFINEFUNC2(void, sk_push, _STACK *a, a, void *b, b, return, DUMMYARG)
-+DEFINEFUNC(void, sk_free, _STACK *a, a, return, DUMMYARG)
-+DEFINEFUNC2(void *, sk_value, STACK *a, a, int b, b, return 0, return)
-+#else
-+DEFINEFUNC(STACK *, sk_new_null, DUMMYARG, DUMMYARG, return 0, return)
-+DEFINEFUNC2(void, sk_push, STACK *a, a, char *b, b, return, DUMMYARG)
-+DEFINEFUNC(void, sk_free, STACK *a, a, return, DUMMYARG)
-+DEFINEFUNC2(char *, sk_value, STACK *a, a, int b, b, return 0, return)
-+#endif // OPENSSL_VERSION_NUMBER >= 0x10000000L
-+
-+DEFINEFUNC(int, SSL_library_init, void, DUMMYARG, return -1, return)
-+DEFINEFUNC(void, SSL_load_error_strings, void, DUMMYARG, return, DUMMYARG)
-+
-+#if OPENSSL_VERSION_NUMBER >= 0x10001000L
-+DEFINEFUNC5(int, SSL_get_ex_new_index, long argl, argl, void *argp, argp, CRYPTO_EX_new *new_func, new_func, CRYPTO_EX_dup *dup_func, dup_func, CRYPTO_EX_free *free_func, free_func, return -1, return)
-+#endif // OPENSSL_VERSION_NUMBER >= 0x10001000L
-+
-+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
-+#ifndef OPENSSL_NO_SSL2
-+DEFINEFUNC(const SSL_METHOD *, SSLv2_client_method, DUMMYARG, DUMMYARG, return 0, return)
-+#endif
-+#ifndef OPENSSL_NO_SSL3_METHOD
-+DEFINEFUNC(const SSL_METHOD *, SSLv3_client_method, DUMMYARG, DUMMYARG, return 0, return)
-+#endif
-+DEFINEFUNC(const SSL_METHOD *, SSLv23_client_method, DUMMYARG, DUMMYARG, return 0, return)
-+DEFINEFUNC(const SSL_METHOD *, TLSv1_client_method, DUMMYARG, DUMMYARG, return 0, return)
-+#if OPENSSL_VERSION_NUMBER >= 0x10001000L
-+DEFINEFUNC(const SSL_METHOD *, TLSv1_1_client_method, DUMMYARG, DUMMYARG, return 0, return)
-+DEFINEFUNC(const SSL_METHOD *, TLSv1_2_client_method, DUMMYARG, DUMMYARG, return 0, return)
-+#endif
-+#ifndef OPENSSL_NO_SSL2
-+DEFINEFUNC(const SSL_METHOD *, SSLv2_server_method, DUMMYARG, DUMMYARG, return 0, return)
-+#endif
-+#ifndef OPENSSL_NO_SSL3_METHOD
-+DEFINEFUNC(const SSL_METHOD *, SSLv3_server_method, DUMMYARG, DUMMYARG, return 0, return)
-+#endif
-+DEFINEFUNC(const SSL_METHOD *, SSLv23_server_method, DUMMYARG, DUMMYARG, return 0, return)
-+DEFINEFUNC(const SSL_METHOD *, TLSv1_server_method, DUMMYARG, DUMMYARG, return 0, return)
-+#if OPENSSL_VERSION_NUMBER >= 0x10001000L
-+DEFINEFUNC(const SSL_METHOD *, TLSv1_1_server_method, DUMMYARG, DUMMYARG, return 0, return)
-+DEFINEFUNC(const SSL_METHOD *, TLSv1_2_server_method, DUMMYARG, DUMMYARG, return 0, return)
-+#endif
-+#else
-+#ifndef OPENSSL_NO_SSL2
-+DEFINEFUNC(SSL_METHOD *, SSLv2_client_method, DUMMYARG, DUMMYARG, return 0, return)
-+#endif
-+#ifndef OPENSSL_NO_SSL3_METHOD
-+DEFINEFUNC(SSL_METHOD *, SSLv3_client_method, DUMMYARG, DUMMYARG, return 0, return)
-+#endif
-+DEFINEFUNC(SSL_METHOD *, SSLv23_client_method, DUMMYARG, DUMMYARG, return 0, return)
-+DEFINEFUNC(SSL_METHOD *, TLSv1_client_method, DUMMYARG, DUMMYARG, return 0, return)
-+#ifndef OPENSSL_NO_SSL2
-+DEFINEFUNC(SSL_METHOD *, SSLv2_server_method, DUMMYARG, DUMMYARG, return 0, return)
-+#endif
-+#ifndef OPENSSL_NO_SSL3_METHOD
-+DEFINEFUNC(SSL_METHOD *, SSLv3_server_method, DUMMYARG, DUMMYARG, return 0, return)
-+#endif
-+DEFINEFUNC(SSL_METHOD *, SSLv23_server_method, DUMMYARG, DUMMYARG, return 0, return)
-+DEFINEFUNC(SSL_METHOD *, TLSv1_server_method, DUMMYARG, DUMMYARG, return 0, return)
-+#endif
-+
-+DEFINEFUNC(STACK_OF(X509) *, X509_STORE_CTX_get_chain, X509_STORE_CTX *a, a, return 0, return)
-+
-+#ifdef SSLEAY_MACROS
-+DEFINEFUNC2(int, i2d_DSAPrivateKey, const DSA *a, a, unsigned char **b, b, return -1, return)
-+DEFINEFUNC2(int, i2d_RSAPrivateKey, const RSA *a, a, unsigned char **b, b, return -1, return)
-+#ifndef OPENSSL_NO_EC
-+DEFINEFUNC2(int, i2d_ECPrivateKey, const EC_KEY *a, a, unsigned char **b, b, return -1, return)
-+#endif
-+DEFINEFUNC3(RSA *, d2i_RSAPrivateKey, RSA **a, a, unsigned char **b, b, long c, c, return 0, return)
-+DEFINEFUNC3(DSA *, d2i_DSAPrivateKey, DSA **a, a, unsigned char **b, b, long c, c, return 0, return)
-+#ifndef OPENSSL_NO_EC
-+DEFINEFUNC3(EC_KEY *, d2i_ECPrivateKey, EC_KEY **a, a, unsigned char **b, b, long c, c, return 0, return)
-+#endif
-+#endif
-+DEFINEFUNC(char *, CONF_get1_default_config_file, DUMMYARG, DUMMYARG, return 0, return)
-+DEFINEFUNC(void, OPENSSL_add_all_algorithms_noconf, void, DUMMYARG, return, DUMMYARG)
-+DEFINEFUNC(void, OPENSSL_add_all_algorithms_conf, void, DUMMYARG, return, DUMMYARG)
-+DEFINEFUNC(long, SSLeay, void, DUMMYARG, return 0, return)
-+DEFINEFUNC(const char *, SSLeay_version, int a, a, return 0, return)
-+
-+#endif // QT_CONFIG(opensslv11)
-+
- DEFINEFUNC(long, ASN1_INTEGER_get, ASN1_INTEGER *a, a, return 0, return)
--DEFINEFUNC(unsigned char *, ASN1_STRING_data, ASN1_STRING *a, a, return 0, return)
- DEFINEFUNC(int, ASN1_STRING_length, ASN1_STRING *a, a, return 0, return)
--DEFINEFUNC2(int, ASN1_STRING_to_UTF8, unsigned char **a, a, ASN1_STRING *b, b, return 0, return);
-+DEFINEFUNC2(int, ASN1_STRING_to_UTF8, unsigned char **a, a, ASN1_STRING *b, b, return 0, return)
- DEFINEFUNC4(long, BIO_ctrl, BIO *a, a, int b, b, long c, c, void *d, d, return -1, return)
- DEFINEFUNC(int, BIO_free, BIO *a, a, return 0, return)
--DEFINEFUNC(BIO *, BIO_new, BIO_METHOD *a, a, return 0, return)
- DEFINEFUNC2(BIO *, BIO_new_mem_buf, void *a, a, int b, b, return 0, return)
- DEFINEFUNC3(int, BIO_read, BIO *a, a, void *b, b, int c, c, return -1, return)
--DEFINEFUNC(BIO_METHOD *, BIO_s_mem, void, DUMMYARG, return 0, return)
-+
- DEFINEFUNC3(int, BIO_write, BIO *a, a, const void *b, b, int c, c, return -1, return)
- DEFINEFUNC(int, BN_num_bits, const BIGNUM *a, a, return 0, return)
--#if OPENSSL_VERSION_NUMBER >= 0x10100000L
--DEFINEFUNC2(int, BN_is_word, BIGNUM *a, a, BN_ULONG w, w, return 0, return)
--#endif
- DEFINEFUNC2(BN_ULONG, BN_mod_word, const BIGNUM *a, a, BN_ULONG w, w, return static_cast(-1), return)
- #ifndef OPENSSL_NO_EC
- DEFINEFUNC(const EC_GROUP*, EC_KEY_get0_group, const EC_KEY* k, k, return 0, return)
- DEFINEFUNC(int, EC_GROUP_get_degree, const EC_GROUP* g, g, return 0, return)
- #endif
--DEFINEFUNC(int, CRYPTO_num_locks, DUMMYARG, DUMMYARG, return 0, return)
--DEFINEFUNC(void, CRYPTO_set_locking_callback, void (*a)(int, int, const char *, int), a, return, DUMMYARG)
--DEFINEFUNC(void, CRYPTO_set_id_callback, unsigned long (*a)(), a, return, DUMMYARG)
--DEFINEFUNC(void, CRYPTO_free, void *a, a, return, DUMMYARG)
- DEFINEFUNC(DSA *, DSA_new, DUMMYARG, DUMMYARG, return 0, return)
- DEFINEFUNC(void, DSA_free, DSA *a, a, return, DUMMYARG)
- DEFINEFUNC3(X509 *, d2i_X509, X509 **a, a, const unsigned char **b, b, long c, c, return 0, return)
- DEFINEFUNC2(char *, ERR_error_string, unsigned long a, a, char *b, b, return 0, return)
- DEFINEFUNC(unsigned long, ERR_get_error, DUMMYARG, DUMMYARG, return 0, return)
--DEFINEFUNC(void, ERR_free_strings, void, DUMMYARG, return, DUMMYARG)
--DEFINEFUNC(void, EVP_CIPHER_CTX_cleanup, EVP_CIPHER_CTX *a, a, return, DUMMYARG)
--DEFINEFUNC(void, EVP_CIPHER_CTX_init, EVP_CIPHER_CTX *a, a, return, DUMMYARG)
--DEFINEFUNC4(int, EVP_CIPHER_CTX_ctrl, EVP_CIPHER_CTX *ctx, ctx, int type, type, int arg, arg, void *ptr, ptr, return 0, return);
-+DEFINEFUNC(EVP_CIPHER_CTX *, EVP_CIPHER_CTX_new, void, DUMMYARG, return 0, return)
-+DEFINEFUNC(void, EVP_CIPHER_CTX_free, EVP_CIPHER_CTX *a, a, return, DUMMYARG)
-+DEFINEFUNC4(int, EVP_CIPHER_CTX_ctrl, EVP_CIPHER_CTX *ctx, ctx, int type, type, int arg, arg, void *ptr, ptr, return 0, return)
- DEFINEFUNC2(int, EVP_CIPHER_CTX_set_key_length, EVP_CIPHER_CTX *ctx, ctx, int keylen, keylen, return 0, return)
--DEFINEFUNC5(int, EVP_CipherInit, EVP_CIPHER_CTX *ctx, ctx, const EVP_CIPHER *type, type, const unsigned char *key, key, const unsigned char *iv, iv, int enc, enc, return 0, return);
--DEFINEFUNC5(int, EVP_CipherUpdate, EVP_CIPHER_CTX *ctx, ctx, unsigned char *out, out, int *outl, outl, const unsigned char *in, in, int inl, inl, return 0, return);
--DEFINEFUNC3(int, EVP_CipherFinal, EVP_CIPHER_CTX *ctx, ctx, unsigned char *out, out, int *outl, outl, return 0, return);
-+DEFINEFUNC5(int, EVP_CipherInit, EVP_CIPHER_CTX *ctx, ctx, const EVP_CIPHER *type, type, const unsigned char *key, key, const unsigned char *iv, iv, int enc, enc, return 0, return)
-+DEFINEFUNC6(int, EVP_CipherInit_ex, EVP_CIPHER_CTX *ctx, ctx, const EVP_CIPHER *cipher, cipher, ENGINE *impl, impl, const unsigned char *key, key, const unsigned char *iv, iv, int enc, enc, return 0, return)
-+DEFINEFUNC5(int, EVP_CipherUpdate, EVP_CIPHER_CTX *ctx, ctx, unsigned char *out, out, int *outl, outl, const unsigned char *in, in, int inl, inl, return 0, return)
-+DEFINEFUNC3(int, EVP_CipherFinal, EVP_CIPHER_CTX *ctx, ctx, unsigned char *out, out, int *outl, outl, return 0, return)
- DEFINEFUNC(const EVP_CIPHER *, EVP_des_cbc, DUMMYARG, DUMMYARG, return 0, return)
- DEFINEFUNC(const EVP_CIPHER *, EVP_des_ede3_cbc, DUMMYARG, DUMMYARG, return 0, return)
- DEFINEFUNC(const EVP_CIPHER *, EVP_rc2_cbc, DUMMYARG, DUMMYARG, return 0, return)
-+DEFINEFUNC(const EVP_MD *, EVP_sha1, DUMMYARG, DUMMYARG, return 0, return)
- DEFINEFUNC3(int, EVP_PKEY_assign, EVP_PKEY *a, a, int b, b, char *c, c, return -1, return)
- DEFINEFUNC2(int, EVP_PKEY_set1_RSA, EVP_PKEY *a, a, RSA *b, b, return -1, return)
- DEFINEFUNC2(int, EVP_PKEY_set1_DSA, EVP_PKEY *a, a, DSA *b, b, return -1, return)
-@@ -202,10 +349,8 @@ DEFINEFUNC3(int, i2t_ASN1_OBJECT, char *a, a, int b, b, ASN1_OBJECT *c, c, retur
- DEFINEFUNC4(int, OBJ_obj2txt, char *a, a, int b, b, ASN1_OBJECT *c, c, int d, d, return -1, return)
-
- DEFINEFUNC(int, OBJ_obj2nid, const ASN1_OBJECT *a, a, return NID_undef, return)
--#ifdef SSLEAY_MACROS
--DEFINEFUNC6(void *, PEM_ASN1_read_bio, d2i_of_void *a, a, const char *b, b, BIO *c, c, void **d, d, pem_password_cb *e, e, void *f, f, return 0, return)
--DEFINEFUNC6(void *, PEM_ASN1_write_bio, d2i_of_void *a, a, const char *b, b, BIO *c, c, void **d, d, pem_password_cb *e, e, void *f, f, return 0, return)
--#else
-+
-+#ifndef SSLEAY_MACROS
- DEFINEFUNC4(EVP_PKEY *, PEM_read_bio_PrivateKey, BIO *a, a, EVP_PKEY **b, b, pem_password_cb *c, c, void *d, d, return 0, return)
- DEFINEFUNC4(DSA *, PEM_read_bio_DSAPrivateKey, BIO *a, a, DSA **b, b, pem_password_cb *c, c, void *d, d, return 0, return)
- DEFINEFUNC4(RSA *, PEM_read_bio_RSAPrivateKey, BIO *a, a, RSA **b, b, pem_password_cb *c, c, void *d, d, return 0, return)
-@@ -218,7 +363,7 @@ DEFINEFUNC7(int, PEM_write_bio_RSAPrivateKey, BIO *a, a, RSA *b, b, const EVP_CI
- #ifndef OPENSSL_NO_EC
- DEFINEFUNC7(int, PEM_write_bio_ECPrivateKey, BIO *a, a, EC_KEY *b, b, const EVP_CIPHER *c, c, unsigned char *d, d, int e, e, pem_password_cb *f, f, void *g, g, return 0, return)
- #endif
--#endif
-+#endif // !SSLEAY_MACROS
- DEFINEFUNC4(EVP_PKEY *, PEM_read_bio_PUBKEY, BIO *a, a, EVP_PKEY **b, b, pem_password_cb *c, c, void *d, d, return 0, return)
- DEFINEFUNC4(DSA *, PEM_read_bio_DSA_PUBKEY, BIO *a, a, DSA **b, b, pem_password_cb *c, c, void *d, d, return 0, return)
- DEFINEFUNC4(RSA *, PEM_read_bio_RSA_PUBKEY, BIO *a, a, RSA **b, b, pem_password_cb *c, c, void *d, d, return 0, return)
-@@ -234,23 +379,10 @@ DEFINEFUNC2(void, RAND_seed, const void *a, a, int b, b, return, DUMMYARG)
- DEFINEFUNC(int, RAND_status, void, DUMMYARG, return -1, return)
- DEFINEFUNC(RSA *, RSA_new, DUMMYARG, DUMMYARG, return 0, return)
- DEFINEFUNC(void, RSA_free, RSA *a, a, return, DUMMYARG)
--DEFINEFUNC(int, sk_num, STACK *a, a, return -1, return)
--DEFINEFUNC2(void, sk_pop_free, STACK *a, a, void (*b)(void*), b, return, DUMMYARG)
--#if OPENSSL_VERSION_NUMBER >= 0x10000000L
--DEFINEFUNC(_STACK *, sk_new_null, DUMMYARG, DUMMYARG, return 0, return)
--DEFINEFUNC2(void, sk_push, _STACK *a, a, void *b, b, return, DUMMYARG)
--DEFINEFUNC(void, sk_free, _STACK *a, a, return, DUMMYARG)
--DEFINEFUNC2(void *, sk_value, STACK *a, a, int b, b, return 0, return)
--#else
--DEFINEFUNC(STACK *, sk_new_null, DUMMYARG, DUMMYARG, return 0, return)
--DEFINEFUNC2(void, sk_push, STACK *a, a, char *b, b, return, DUMMYARG)
--DEFINEFUNC(void, sk_free, STACK *a, a, return, DUMMYARG)
--DEFINEFUNC2(char *, sk_value, STACK *a, a, int b, b, return 0, return)
--#endif
- DEFINEFUNC(int, SSL_accept, SSL *a, a, return -1, return)
- DEFINEFUNC(int, SSL_clear, SSL *a, a, return -1, return)
--DEFINEFUNC3(char *, SSL_CIPHER_description, SSL_CIPHER *a, a, char *b, b, int c, c, return 0, return)
--DEFINEFUNC2(int, SSL_CIPHER_get_bits, SSL_CIPHER *a, a, int *b, b, return 0, return)
-+DEFINEFUNC3(char *, SSL_CIPHER_description, const SSL_CIPHER *a, a, char *b, b, int c, c, return 0, return)
-+DEFINEFUNC2(int, SSL_CIPHER_get_bits, const SSL_CIPHER *a, a, int *b, b, return 0, return)
- DEFINEFUNC(int, SSL_connect, SSL *a, a, return -1, return)
- DEFINEFUNC(int, SSL_CTX_check_private_key, const SSL_CTX *a, a, return -1, return)
- DEFINEFUNC4(long, SSL_CTX_ctrl, SSL_CTX *a, a, int b, b, long c, c, void *d, d, return -1, return)
-@@ -287,8 +419,6 @@ DEFINEFUNC(long, SSL_get_verify_result, const SSL *a, a, return -1, return)
- #else
- DEFINEFUNC(long, SSL_get_verify_result, SSL *a, a, return -1, return)
- #endif
--DEFINEFUNC(int, SSL_library_init, void, DUMMYARG, return -1, return)
--DEFINEFUNC(void, SSL_load_error_strings, void, DUMMYARG, return, DUMMYARG)
- DEFINEFUNC(SSL *, SSL_new, SSL_CTX *a, a, return 0, return)
- DEFINEFUNC4(long, SSL_ctrl, SSL *a, a, int cmd, cmd, long larg, larg, void *parg, parg, return -1, return)
- DEFINEFUNC3(int, SSL_read, SSL *a, a, void *b, b, int c, c, return -1, return)
-@@ -301,7 +431,6 @@ DEFINEFUNC(void, SSL_SESSION_free, SSL_SESSION *ses, ses, return, DUMMYARG)
- DEFINEFUNC(SSL_SESSION*, SSL_get1_session, SSL *ssl, ssl, return 0, return)
- DEFINEFUNC(SSL_SESSION*, SSL_get_session, const SSL *ssl, ssl, return 0, return)
- #if OPENSSL_VERSION_NUMBER >= 0x10001000L
--DEFINEFUNC5(int, SSL_get_ex_new_index, long argl, argl, void *argp, argp, CRYPTO_EX_new *new_func, new_func, CRYPTO_EX_dup *dup_func, dup_func, CRYPTO_EX_free *free_func, free_func, return -1, return)
- DEFINEFUNC3(int, SSL_set_ex_data, SSL *ssl, ssl, int idx, idx, void *arg, arg, return 0, return)
- DEFINEFUNC2(void *, SSL_get_ex_data, const SSL *ssl, ssl, int idx, idx, return NULL, return)
- #endif
-@@ -310,51 +439,9 @@ DEFINEFUNC2(void, SSL_set_psk_client_callback, SSL* ssl, ssl, q_psk_client_callb
- DEFINEFUNC2(void, SSL_set_psk_server_callback, SSL* ssl, ssl, q_psk_server_callback_t callback, callback, return, DUMMYARG)
- DEFINEFUNC2(int, SSL_CTX_use_psk_identity_hint, SSL_CTX* ctx, ctx, const char *hint, hint, return 0, return)
- #endif
--#if OPENSSL_VERSION_NUMBER >= 0x10000000L
--#ifndef OPENSSL_NO_SSL2
--DEFINEFUNC(const SSL_METHOD *, SSLv2_client_method, DUMMYARG, DUMMYARG, return 0, return)
--#endif
--#ifndef OPENSSL_NO_SSL3_METHOD
--DEFINEFUNC(const SSL_METHOD *, SSLv3_client_method, DUMMYARG, DUMMYARG, return 0, return)
--#endif
--DEFINEFUNC(const SSL_METHOD *, SSLv23_client_method, DUMMYARG, DUMMYARG, return 0, return)
--DEFINEFUNC(const SSL_METHOD *, TLSv1_client_method, DUMMYARG, DUMMYARG, return 0, return)
--#if OPENSSL_VERSION_NUMBER >= 0x10001000L
--DEFINEFUNC(const SSL_METHOD *, TLSv1_1_client_method, DUMMYARG, DUMMYARG, return 0, return)
--DEFINEFUNC(const SSL_METHOD *, TLSv1_2_client_method, DUMMYARG, DUMMYARG, return 0, return)
--#endif
--#ifndef OPENSSL_NO_SSL2
--DEFINEFUNC(const SSL_METHOD *, SSLv2_server_method, DUMMYARG, DUMMYARG, return 0, return)
--#endif
--#ifndef OPENSSL_NO_SSL3_METHOD
--DEFINEFUNC(const SSL_METHOD *, SSLv3_server_method, DUMMYARG, DUMMYARG, return 0, return)
--#endif
--DEFINEFUNC(const SSL_METHOD *, SSLv23_server_method, DUMMYARG, DUMMYARG, return 0, return)
--DEFINEFUNC(const SSL_METHOD *, TLSv1_server_method, DUMMYARG, DUMMYARG, return 0, return)
--#if OPENSSL_VERSION_NUMBER >= 0x10001000L
--DEFINEFUNC(const SSL_METHOD *, TLSv1_1_server_method, DUMMYARG, DUMMYARG, return 0, return)
--DEFINEFUNC(const SSL_METHOD *, TLSv1_2_server_method, DUMMYARG, DUMMYARG, return 0, return)
--#endif
--#else
--#ifndef OPENSSL_NO_SSL2
--DEFINEFUNC(SSL_METHOD *, SSLv2_client_method, DUMMYARG, DUMMYARG, return 0, return)
--#endif
--#ifndef OPENSSL_NO_SSL3_METHOD
--DEFINEFUNC(SSL_METHOD *, SSLv3_client_method, DUMMYARG, DUMMYARG, return 0, return)
--#endif
--DEFINEFUNC(SSL_METHOD *, SSLv23_client_method, DUMMYARG, DUMMYARG, return 0, return)
--DEFINEFUNC(SSL_METHOD *, TLSv1_client_method, DUMMYARG, DUMMYARG, return 0, return)
--#ifndef OPENSSL_NO_SSL2
--DEFINEFUNC(SSL_METHOD *, SSLv2_server_method, DUMMYARG, DUMMYARG, return 0, return)
--#endif
--#ifndef OPENSSL_NO_SSL3_METHOD
--DEFINEFUNC(SSL_METHOD *, SSLv3_server_method, DUMMYARG, DUMMYARG, return 0, return)
--#endif
--DEFINEFUNC(SSL_METHOD *, SSLv23_server_method, DUMMYARG, DUMMYARG, return 0, return)
--DEFINEFUNC(SSL_METHOD *, TLSv1_server_method, DUMMYARG, DUMMYARG, return 0, return)
--#endif
- DEFINEFUNC3(int, SSL_write, SSL *a, a, const void *b, b, int c, c, return -1, return)
- DEFINEFUNC2(int, X509_cmp, X509 *a, a, X509 *b, b, return -1, return)
-+DEFINEFUNC4(int, X509_digest, const X509 *x509, x509, const EVP_MD *type, type, unsigned char *md, md, unsigned int *len, len, return -1, return)
- #ifndef SSLEAY_MACROS
- DEFINEFUNC(X509 *, X509_dup, X509 *a, a, return 0, return)
- #endif
-@@ -378,6 +465,7 @@ DEFINEFUNC2(int, ASN1_STRING_print, BIO *a, a, ASN1_STRING *b, b, return 0, retu
- DEFINEFUNC2(int, X509_check_issued, X509 *a, a, X509 *b, b, return -1, return)
- DEFINEFUNC(X509_NAME *, X509_get_issuer_name, X509 *a, a, return 0, return)
- DEFINEFUNC(X509_NAME *, X509_get_subject_name, X509 *a, a, return 0, return)
-+DEFINEFUNC(ASN1_INTEGER *, X509_get_serialNumber, X509 *a, a, return 0, return)
- DEFINEFUNC(int, X509_verify_cert, X509_STORE_CTX *a, a, return -1, return)
- DEFINEFUNC(int, X509_NAME_entry_count, X509_NAME *a, a, return 0, return)
- DEFINEFUNC2(X509_NAME_ENTRY *, X509_NAME_get_entry, X509_NAME *a, a, int b, b, return 0, return)
-@@ -393,25 +481,8 @@ DEFINEFUNC2(int, X509_STORE_CTX_set_purpose, X509_STORE_CTX *a, a, int b, b, ret
- DEFINEFUNC(int, X509_STORE_CTX_get_error, X509_STORE_CTX *a, a, return -1, return)
- DEFINEFUNC(int, X509_STORE_CTX_get_error_depth, X509_STORE_CTX *a, a, return -1, return)
- DEFINEFUNC(X509 *, X509_STORE_CTX_get_current_cert, X509_STORE_CTX *a, a, return 0, return)
--DEFINEFUNC(STACK_OF(X509) *, X509_STORE_CTX_get_chain, X509_STORE_CTX *a, a, return 0, return)
- DEFINEFUNC(X509_STORE_CTX *, X509_STORE_CTX_new, DUMMYARG, DUMMYARG, return 0, return)
--#ifdef SSLEAY_MACROS
--DEFINEFUNC2(int, i2d_DSAPrivateKey, const DSA *a, a, unsigned char **b, b, return -1, return)
--DEFINEFUNC2(int, i2d_RSAPrivateKey, const RSA *a, a, unsigned char **b, b, return -1, return)
--#ifndef OPENSSL_NO_EC
--DEFINEFUNC2(int, i2d_ECPrivateKey, const EC_KEY *a, a, unsigned char **b, b, return -1, return)
--#endif
--DEFINEFUNC3(RSA *, d2i_RSAPrivateKey, RSA **a, a, unsigned char **b, b, long c, c, return 0, return)
--DEFINEFUNC3(DSA *, d2i_DSAPrivateKey, DSA **a, a, unsigned char **b, b, long c, c, return 0, return)
--#ifndef OPENSSL_NO_EC
--DEFINEFUNC3(EC_KEY *, d2i_ECPrivateKey, EC_KEY **a, a, unsigned char **b, b, long c, c, return 0, return)
--#endif
--#endif
--DEFINEFUNC(void, OPENSSL_add_all_algorithms_noconf, void, DUMMYARG, return, DUMMYARG)
--DEFINEFUNC(void, OPENSSL_add_all_algorithms_conf, void, DUMMYARG, return, DUMMYARG)
- DEFINEFUNC3(int, SSL_CTX_load_verify_locations, SSL_CTX *ctx, ctx, const char *CAfile, CAfile, const char *CApath, CApath, return 0, return)
--DEFINEFUNC(long, SSLeay, void, DUMMYARG, return 0, return)
--DEFINEFUNC(const char *, SSLeay_version, int a, a, return 0, return)
- DEFINEFUNC2(int, i2d_SSL_SESSION, SSL_SESSION *in, in, unsigned char **pp, pp, return 0, return)
- DEFINEFUNC3(SSL_SESSION *, d2i_SSL_SESSION, SSL_SESSION **a, a, const unsigned char **pp, pp, long length, length, return 0, return)
- #if OPENSSL_VERSION_NUMBER >= 0x1000100fL && !defined(OPENSSL_NO_NEXTPROTONEG)
-@@ -694,8 +765,8 @@ static QPair loadOpenSsl()
- #ifndef Q_OS_DARWIN
- // second attempt: find the development files libssl.so and libcrypto.so
- //
-- // disabled on OS X/iOS:
-- // OS X's /usr/lib/libssl.dylib, /usr/lib/libcrypto.dylib will be picked up in the third
-+ // disabled on macOS/iOS:
-+ // macOS's /usr/lib/libssl.dylib, /usr/lib/libcrypto.dylib will be picked up in the third
- // attempt, _after_ /Contents/Frameworks has been searched.
- // iOS does not ship a system libssl.dylib, libcrypto.dylib in the first place.
- libssl->setFileNameAndVersion(QLatin1String("ssl"), -1);
-@@ -754,7 +825,11 @@ bool q_resolveOpenSslSymbols()
- static bool symbolsResolved = false;
- static bool triedToResolveSymbols = false;
- #ifndef QT_NO_THREAD
-+#if QT_CONFIG(opensslv11)
-+ QMutexLocker locker(QMutexPool::globalInstanceGet((void *)&q_OPENSSL_init_ssl));
-+#else
- QMutexLocker locker(QMutexPool::globalInstanceGet((void *)&q_SSL_library_init));
-+#endif
- #endif
- if (symbolsResolved)
- return true;
-@@ -771,11 +846,145 @@ bool q_resolveOpenSslSymbols()
- // failed to load them
- return false;
-
-+#if QT_CONFIG(opensslv11)
-+
-+ RESOLVEFUNC(OPENSSL_init_ssl)
-+ RESOLVEFUNC(OPENSSL_init_crypto)
-+ RESOLVEFUNC(ASN1_STRING_get0_data)
-+ RESOLVEFUNC(EVP_CIPHER_CTX_reset)
-+ RESOLVEFUNC(EVP_PKEY_base_id)
-+ RESOLVEFUNC(RSA_bits)
-+ RESOLVEFUNC(OPENSSL_sk_new_null)
-+ RESOLVEFUNC(OPENSSL_sk_push)
-+ RESOLVEFUNC(OPENSSL_sk_free)
-+ RESOLVEFUNC(OPENSSL_sk_num)
-+ RESOLVEFUNC(OPENSSL_sk_pop_free)
-+ RESOLVEFUNC(OPENSSL_sk_value)
-+ RESOLVEFUNC(DH_get0_pqg)
-+ RESOLVEFUNC(SSL_CTX_set_options)
-+ RESOLVEFUNC(SSL_get_client_random)
-+ RESOLVEFUNC(SSL_SESSION_get_master_key)
-+ RESOLVEFUNC(SSL_session_reused)
-+ RESOLVEFUNC(SSL_get_session)
-+ RESOLVEFUNC(CRYPTO_get_ex_new_index)
-+ RESOLVEFUNC(TLS_method)
-+ RESOLVEFUNC(TLS_client_method)
-+ RESOLVEFUNC(TLS_server_method)
-+ RESOLVEFUNC(X509_STORE_CTX_get0_chain)
-+ RESOLVEFUNC(X509_getm_notBefore)
-+ RESOLVEFUNC(X509_getm_notAfter)
-+ RESOLVEFUNC(X509_get_version)
-+ RESOLVEFUNC(X509_get_pubkey)
-+ RESOLVEFUNC(X509_STORE_set_verify_cb)
-+ RESOLVEFUNC(CRYPTO_free)
-+ RESOLVEFUNC(OpenSSL_version_num)
-+ RESOLVEFUNC(OpenSSL_version)
-+ if (!_q_OpenSSL_version) {
-+ // Apparently, we were built with OpenSSL 1.1 enabled but are now using
-+ // a wrong library.
-+ delete libs.first;
-+ delete libs.second;
-+ qCWarning(lcSsl, "Incompatible version of OpenSSL");
-+ return false;
-+ }
-+
-+ RESOLVEFUNC(SSL_SESSION_get_ticket_lifetime_hint)
-+ RESOLVEFUNC(DH_bits)
-+ RESOLVEFUNC(DSA_bits)
-+
-+#else // !opensslv11
-+
-+ RESOLVEFUNC(ASN1_STRING_data)
-+
- #ifdef SSLEAY_MACROS
- RESOLVEFUNC(ASN1_dup)
-+#endif // SSLEAY_MACROS
-+ RESOLVEFUNC(BIO_new_file)
-+ RESOLVEFUNC(ERR_clear_error)
-+ RESOLVEFUNC(CRYPTO_free)
-+ RESOLVEFUNC(CRYPTO_num_locks)
-+ RESOLVEFUNC(CRYPTO_set_id_callback)
-+ RESOLVEFUNC(CRYPTO_set_locking_callback)
-+ RESOLVEFUNC(ERR_peek_last_error)
-+ RESOLVEFUNC(ERR_free_strings)
-+ RESOLVEFUNC(EVP_CIPHER_CTX_cleanup)
-+ RESOLVEFUNC(EVP_CIPHER_CTX_init)
-+
-+#ifdef SSLEAY_MACROS // ### verify
-+ RESOLVEFUNC(PEM_ASN1_read_bio)
-+#endif // SSLEAY_MACROS
-+
-+ RESOLVEFUNC(sk_new_null)
-+ RESOLVEFUNC(sk_push)
-+ RESOLVEFUNC(sk_free)
-+ RESOLVEFUNC(sk_num)
-+ RESOLVEFUNC(sk_pop_free)
-+ RESOLVEFUNC(sk_value)
-+ RESOLVEFUNC(SSL_library_init)
-+ RESOLVEFUNC(SSL_load_error_strings)
-+#if OPENSSL_VERSION_NUMBER >= 0x10001000L
-+ RESOLVEFUNC(SSL_get_ex_new_index)
-+#endif
-+#ifndef OPENSSL_NO_SSL2
-+ RESOLVEFUNC(SSLv2_client_method)
- #endif
-+#ifndef OPENSSL_NO_SSL3_METHOD
-+ RESOLVEFUNC(SSLv3_client_method)
-+#endif
-+ RESOLVEFUNC(SSLv23_client_method)
-+ RESOLVEFUNC(TLSv1_client_method)
-+#if OPENSSL_VERSION_NUMBER >= 0x10001000L
-+ RESOLVEFUNC(TLSv1_1_client_method)
-+ RESOLVEFUNC(TLSv1_2_client_method)
-+#endif
-+#ifndef OPENSSL_NO_SSL2
-+ RESOLVEFUNC(SSLv2_server_method)
-+#endif
-+#ifndef OPENSSL_NO_SSL3_METHOD
-+ RESOLVEFUNC(SSLv3_server_method)
-+#endif
-+ RESOLVEFUNC(SSLv23_server_method)
-+ RESOLVEFUNC(TLSv1_server_method)
-+#if OPENSSL_VERSION_NUMBER >= 0x10001000L
-+ RESOLVEFUNC(TLSv1_1_server_method)
-+ RESOLVEFUNC(TLSv1_2_server_method)
-+#endif
-+ RESOLVEFUNC(X509_STORE_CTX_get_chain)
-+#ifdef SSLEAY_MACROS
-+ RESOLVEFUNC(i2d_DSAPrivateKey)
-+ RESOLVEFUNC(i2d_RSAPrivateKey)
-+ RESOLVEFUNC(d2i_DSAPrivateKey)
-+ RESOLVEFUNC(d2i_RSAPrivateKey)
-+#endif
-+ RESOLVEFUNC(CONF_get1_default_config_file)
-+ RESOLVEFUNC(OPENSSL_add_all_algorithms_noconf)
-+ RESOLVEFUNC(OPENSSL_add_all_algorithms_conf)
-+ RESOLVEFUNC(SSLeay)
-+
-+ if (!_q_SSLeay || q_SSLeay() >= 0x10100000L) {
-+ // OpenSSL 1.1 has deprecated and removed SSLeay. We consider a failure to
-+ // resolve this symbol as a failure to resolve symbols.
-+ // The right operand of '||' above is ... a bit of paranoia.
-+ delete libs.first;
-+ delete libs.second;
-+ qCWarning(lcSsl, "Incompatible version of OpenSSL");
-+ return false;
-+ }
-+
-+
-+ RESOLVEFUNC(SSLeay_version)
-+
-+#ifndef OPENSSL_NO_EC
-+#if OPENSSL_VERSION_NUMBER >= 0x10002000L
-+ if (q_SSLeay() >= 0x10002000L)
-+ RESOLVEFUNC(EC_curve_nist2nid)
-+#endif // OPENSSL_VERSION_NUMBER >= 0x10002000L
-+#endif // OPENSSL_NO_EC
-+
-+
-+#endif // !opensslv11
-+
- RESOLVEFUNC(ASN1_INTEGER_get)
-- RESOLVEFUNC(ASN1_STRING_data)
- RESOLVEFUNC(ASN1_STRING_length)
- RESOLVEFUNC(ASN1_STRING_to_UTF8)
- RESOLVEFUNC(BIO_ctrl)
-@@ -794,25 +1003,22 @@ bool q_resolveOpenSslSymbols()
- RESOLVEFUNC(BN_is_word)
- #endif
- RESOLVEFUNC(BN_mod_word)
-- RESOLVEFUNC(CRYPTO_free)
-- RESOLVEFUNC(CRYPTO_num_locks)
-- RESOLVEFUNC(CRYPTO_set_id_callback)
-- RESOLVEFUNC(CRYPTO_set_locking_callback)
- RESOLVEFUNC(DSA_new)
- RESOLVEFUNC(DSA_free)
- RESOLVEFUNC(ERR_error_string)
- RESOLVEFUNC(ERR_get_error)
-- RESOLVEFUNC(ERR_free_strings)
-- RESOLVEFUNC(EVP_CIPHER_CTX_cleanup)
-- RESOLVEFUNC(EVP_CIPHER_CTX_init)
-+ RESOLVEFUNC(EVP_CIPHER_CTX_new)
-+ RESOLVEFUNC(EVP_CIPHER_CTX_free)
- RESOLVEFUNC(EVP_CIPHER_CTX_ctrl)
- RESOLVEFUNC(EVP_CIPHER_CTX_set_key_length)
- RESOLVEFUNC(EVP_CipherInit)
-+ RESOLVEFUNC(EVP_CipherInit_ex)
- RESOLVEFUNC(EVP_CipherUpdate)
- RESOLVEFUNC(EVP_CipherFinal)
- RESOLVEFUNC(EVP_des_cbc)
- RESOLVEFUNC(EVP_des_ede3_cbc)
- RESOLVEFUNC(EVP_rc2_cbc)
-+ RESOLVEFUNC(EVP_sha1)
- RESOLVEFUNC(EVP_PKEY_assign)
- RESOLVEFUNC(EVP_PKEY_set1_RSA)
- RESOLVEFUNC(EVP_PKEY_set1_DSA)
-@@ -834,9 +1040,8 @@ bool q_resolveOpenSslSymbols()
- RESOLVEFUNC(i2t_ASN1_OBJECT)
- RESOLVEFUNC(OBJ_obj2txt)
- RESOLVEFUNC(OBJ_obj2nid)
--#ifdef SSLEAY_MACROS // ### verify
-- RESOLVEFUNC(PEM_ASN1_read_bio)
--#else
-+
-+#ifndef SSLEAY_MACROS
- RESOLVEFUNC(PEM_read_bio_PrivateKey)
- RESOLVEFUNC(PEM_read_bio_DSAPrivateKey)
- RESOLVEFUNC(PEM_read_bio_RSAPrivateKey)
-@@ -849,7 +1054,8 @@ bool q_resolveOpenSslSymbols()
- #ifndef OPENSSL_NO_EC
- RESOLVEFUNC(PEM_write_bio_ECPrivateKey)
- #endif
--#endif
-+#endif // !SSLEAY_MACROS
-+
- RESOLVEFUNC(PEM_read_bio_PUBKEY)
- RESOLVEFUNC(PEM_read_bio_DSA_PUBKEY)
- RESOLVEFUNC(PEM_read_bio_RSA_PUBKEY)
-@@ -865,12 +1071,6 @@ bool q_resolveOpenSslSymbols()
- RESOLVEFUNC(RAND_status)
- RESOLVEFUNC(RSA_new)
- RESOLVEFUNC(RSA_free)
-- RESOLVEFUNC(sk_new_null)
-- RESOLVEFUNC(sk_push)
-- RESOLVEFUNC(sk_free)
-- RESOLVEFUNC(sk_num)
-- RESOLVEFUNC(sk_pop_free)
-- RESOLVEFUNC(sk_value)
- RESOLVEFUNC(SSL_CIPHER_description)
- RESOLVEFUNC(SSL_CIPHER_get_bits)
- RESOLVEFUNC(SSL_CTX_check_private_key)
-@@ -898,8 +1098,6 @@ bool q_resolveOpenSslSymbols()
- RESOLVEFUNC(SSL_get_peer_cert_chain)
- RESOLVEFUNC(SSL_get_peer_certificate)
- RESOLVEFUNC(SSL_get_verify_result)
-- RESOLVEFUNC(SSL_library_init)
-- RESOLVEFUNC(SSL_load_error_strings)
- RESOLVEFUNC(SSL_new)
- RESOLVEFUNC(SSL_ctrl)
- RESOLVEFUNC(SSL_read)
-@@ -912,7 +1110,6 @@ bool q_resolveOpenSslSymbols()
- RESOLVEFUNC(SSL_get1_session)
- RESOLVEFUNC(SSL_get_session)
- #if OPENSSL_VERSION_NUMBER >= 0x10001000L
-- RESOLVEFUNC(SSL_get_ex_new_index)
- RESOLVEFUNC(SSL_set_ex_data)
- RESOLVEFUNC(SSL_get_ex_data)
- #endif
-@@ -922,30 +1119,6 @@ bool q_resolveOpenSslSymbols()
- RESOLVEFUNC(SSL_CTX_use_psk_identity_hint)
- #endif
- RESOLVEFUNC(SSL_write)
--#ifndef OPENSSL_NO_SSL2
-- RESOLVEFUNC(SSLv2_client_method)
--#endif
--#ifndef OPENSSL_NO_SSL3_METHOD
-- RESOLVEFUNC(SSLv3_client_method)
--#endif
-- RESOLVEFUNC(SSLv23_client_method)
-- RESOLVEFUNC(TLSv1_client_method)
--#if OPENSSL_VERSION_NUMBER >= 0x10001000L
-- RESOLVEFUNC(TLSv1_1_client_method)
-- RESOLVEFUNC(TLSv1_2_client_method)
--#endif
--#ifndef OPENSSL_NO_SSL2
-- RESOLVEFUNC(SSLv2_server_method)
--#endif
--#ifndef OPENSSL_NO_SSL3_METHOD
-- RESOLVEFUNC(SSLv3_server_method)
--#endif
-- RESOLVEFUNC(SSLv23_server_method)
-- RESOLVEFUNC(TLSv1_server_method)
--#if OPENSSL_VERSION_NUMBER >= 0x10001000L
-- RESOLVEFUNC(TLSv1_1_server_method)
-- RESOLVEFUNC(TLSv1_2_server_method)
--#endif
- RESOLVEFUNC(X509_NAME_entry_count)
- RESOLVEFUNC(X509_NAME_get_entry)
- RESOLVEFUNC(X509_NAME_ENTRY_get_data)
-@@ -961,12 +1134,12 @@ bool q_resolveOpenSslSymbols()
- RESOLVEFUNC(X509_STORE_CTX_get_error)
- RESOLVEFUNC(X509_STORE_CTX_get_error_depth)
- RESOLVEFUNC(X509_STORE_CTX_get_current_cert)
-- RESOLVEFUNC(X509_STORE_CTX_get_chain)
- RESOLVEFUNC(X509_cmp)
- #ifndef SSLEAY_MACROS
- RESOLVEFUNC(X509_dup)
- #endif
- RESOLVEFUNC(X509_print)
-+ RESOLVEFUNC(X509_digest)
- RESOLVEFUNC(X509_EXTENSION_get_object)
- RESOLVEFUNC(X509_free)
- RESOLVEFUNC(X509_get_ext)
-@@ -982,20 +1155,11 @@ bool q_resolveOpenSslSymbols()
- RESOLVEFUNC(X509_check_issued)
- RESOLVEFUNC(X509_get_issuer_name)
- RESOLVEFUNC(X509_get_subject_name)
-+ RESOLVEFUNC(X509_get_serialNumber)
- RESOLVEFUNC(X509_verify_cert)
- RESOLVEFUNC(d2i_X509)
- RESOLVEFUNC(i2d_X509)
--#ifdef SSLEAY_MACROS
-- RESOLVEFUNC(i2d_DSAPrivateKey)
-- RESOLVEFUNC(i2d_RSAPrivateKey)
-- RESOLVEFUNC(d2i_DSAPrivateKey)
-- RESOLVEFUNC(d2i_RSAPrivateKey)
--#endif
-- RESOLVEFUNC(OPENSSL_add_all_algorithms_noconf)
-- RESOLVEFUNC(OPENSSL_add_all_algorithms_conf)
- RESOLVEFUNC(SSL_CTX_load_verify_locations)
-- RESOLVEFUNC(SSLeay)
-- RESOLVEFUNC(SSLeay_version)
- RESOLVEFUNC(i2d_SSL_SESSION)
- RESOLVEFUNC(d2i_SSL_SESSION)
- #if OPENSSL_VERSION_NUMBER >= 0x1000100fL && !defined(OPENSSL_NO_NEXTPROTONEG)
-@@ -1019,27 +1183,14 @@ bool q_resolveOpenSslSymbols()
- RESOLVEFUNC(EC_KEY_new_by_curve_name)
- RESOLVEFUNC(EC_KEY_free)
- RESOLVEFUNC(EC_get_builtin_curves)
--#if OPENSSL_VERSION_NUMBER >= 0x10002000L
-- if (q_SSLeay() >= 0x10002000L)
-- RESOLVEFUNC(EC_curve_nist2nid)
--#endif // OPENSSL_VERSION_NUMBER >= 0x10002000L
- #endif // OPENSSL_NO_EC
- RESOLVEFUNC(PKCS12_parse)
- RESOLVEFUNC(d2i_PKCS12_bio)
- RESOLVEFUNC(PKCS12_free)
-
-+ symbolsResolved = true;
- delete libs.first;
- delete libs.second;
-- if (!_q_SSLeay || q_SSLeay() >= 0x10100000L) {
-- // OpenSSL 1.1 deprecated and removed SSLeay. We consider a failure to
-- // resolve this symbol as a failure to resolve symbols.
-- // The right operand of '||' above ... a bit of paranoia.
-- qCWarning(lcSsl, "Incompatible version of OpenSSL");
-- return false;
-- }
--
-- symbolsResolved = true;
--
- return true;
- }
- #endif // QT_CONFIG(library)
-diff --git a/src/network/ssl/qsslsocket_openssl_symbols_p.h b/src/network/ssl/qsslsocket_openssl_symbols_p.h
-index b35a895d38..796bf2d4f5 100644
---- a/src/network/ssl/qsslsocket_openssl_symbols_p.h
-+++ b/src/network/ssl/qsslsocket_openssl_symbols_p.h
-@@ -1,6 +1,6 @@
- /****************************************************************************
- **
--** Copyright (C) 2016 The Qt Company Ltd.
-+** Copyright (C) 2017 The Qt Company Ltd.
- ** Copyright (C) 2014 BlackBerry Limited. All rights reserved.
- ** Contact: https://www.qt.io/licensing/
- **
-@@ -56,6 +56,7 @@
- #ifndef QSSLSOCKET_OPENSSL_SYMBOLS_P_H
- #define QSSLSOCKET_OPENSSL_SYMBOLS_P_H
-
-+
- //
- // W A R N I N G
- // -------------
-@@ -215,17 +216,20 @@ QT_BEGIN_NAMESPACE
-
- #endif // !defined QT_LINKED_OPENSSL
-
-+#if QT_CONFIG(opensslv11)
-+#include "qsslsocket_openssl11_symbols_p.h"
-+#else
-+#include "qsslsocket_opensslpre11_symbols_p.h"
-+#endif // QT_CONFIG
-+
- bool q_resolveOpenSslSymbols();
- long q_ASN1_INTEGER_get(ASN1_INTEGER *a);
--unsigned char * q_ASN1_STRING_data(ASN1_STRING *a);
- int q_ASN1_STRING_length(ASN1_STRING *a);
- int q_ASN1_STRING_to_UTF8(unsigned char **a, ASN1_STRING *b);
- long q_BIO_ctrl(BIO *a, int b, long c, void *d);
- Q_AUTOTEST_EXPORT int q_BIO_free(BIO *a);
--Q_AUTOTEST_EXPORT BIO *q_BIO_new(BIO_METHOD *a);
- BIO *q_BIO_new_mem_buf(void *a, int b);
- int q_BIO_read(BIO *a, void *b, int c);
--Q_AUTOTEST_EXPORT BIO_METHOD *q_BIO_s_mem();
- Q_AUTOTEST_EXPORT int q_BIO_write(BIO *a, const void *b, int c);
- int q_BN_num_bits(const BIGNUM *a);
- #if OPENSSL_VERSION_NUMBER >= 0x10100000L
-@@ -247,26 +251,23 @@ BN_ULONG q_BN_mod_word(const BIGNUM *a, BN_ULONG w);
- const EC_GROUP* q_EC_KEY_get0_group(const EC_KEY* k);
- int q_EC_GROUP_get_degree(const EC_GROUP* g);
- #endif
--int q_CRYPTO_num_locks();
--void q_CRYPTO_set_locking_callback(void (*a)(int, int, const char *, int));
--void q_CRYPTO_set_id_callback(unsigned long (*a)());
--void q_CRYPTO_free(void *a);
- DSA *q_DSA_new();
- void q_DSA_free(DSA *a);
- X509 *q_d2i_X509(X509 **a, const unsigned char **b, long c);
- char *q_ERR_error_string(unsigned long a, char *b);
- unsigned long q_ERR_get_error();
--void q_ERR_free_strings();
--void q_EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *a);
--void q_EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *a);
-+EVP_CIPHER_CTX *q_EVP_CIPHER_CTX_new();
-+void q_EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *a);
- int q_EVP_CIPHER_CTX_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr);
- int q_EVP_CIPHER_CTX_set_key_length(EVP_CIPHER_CTX *x, int keylen);
- int q_EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, const unsigned char *key, const unsigned char *iv, int enc);
-+int q_EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key, const unsigned char *iv, int enc);
- int q_EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl);
- int q_EVP_CipherFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl);
- const EVP_CIPHER *q_EVP_des_cbc();
- const EVP_CIPHER *q_EVP_des_ede3_cbc();
- const EVP_CIPHER *q_EVP_rc2_cbc();
-+const EVP_MD *q_EVP_sha1();
- int q_EVP_PKEY_assign(EVP_PKEY *a, int b, char *c);
- Q_AUTOTEST_EXPORT int q_EVP_PKEY_set1_RSA(EVP_PKEY *a, RSA *b);
- int q_EVP_PKEY_set1_DSA(EVP_PKEY *a, DSA *b);
-@@ -310,7 +311,7 @@ int q_PEM_write_bio_RSAPrivateKey(BIO *a, RSA *b, const EVP_CIPHER *c, unsigned
- int q_PEM_write_bio_ECPrivateKey(BIO *a, EC_KEY *b, const EVP_CIPHER *c, unsigned char *d,
- int e, pem_password_cb *f, void *g);
- #endif
--#endif
-+#endif // SSLEAY_MACROS
- Q_AUTOTEST_EXPORT EVP_PKEY *q_PEM_read_bio_PUBKEY(BIO *a, EVP_PKEY **b, pem_password_cb *c, void *d);
- DSA *q_PEM_read_bio_DSA_PUBKEY(BIO *a, DSA **b, pem_password_cb *c, void *d);
- RSA *q_PEM_read_bio_RSA_PUBKEY(BIO *a, RSA **b, pem_password_cb *c, void *d);
-@@ -326,23 +327,10 @@ void q_RAND_seed(const void *a, int b);
- int q_RAND_status();
- RSA *q_RSA_new();
- void q_RSA_free(RSA *a);
--int q_sk_num(STACK *a);
--void q_sk_pop_free(STACK *a, void (*b)(void *));
--#if OPENSSL_VERSION_NUMBER >= 0x10000000L
--_STACK *q_sk_new_null();
--void q_sk_push(_STACK *st, void *data);
--void q_sk_free(_STACK *a);
--void * q_sk_value(STACK *a, int b);
--#else
--STACK *q_sk_new_null();
--void q_sk_push(STACK *st, char *data);
--void q_sk_free(STACK *a);
--char * q_sk_value(STACK *a, int b);
--#endif
- int q_SSL_accept(SSL *a);
- int q_SSL_clear(SSL *a);
--char *q_SSL_CIPHER_description(SSL_CIPHER *a, char *b, int c);
--int q_SSL_CIPHER_get_bits(SSL_CIPHER *a, int *b);
-+char *q_SSL_CIPHER_description(const SSL_CIPHER *a, char *b, int c);
-+int q_SSL_CIPHER_get_bits(const SSL_CIPHER *a, int *b);
- int q_SSL_connect(SSL *a);
- int q_SSL_CTX_check_private_key(const SSL_CTX *a);
- long q_SSL_CTX_ctrl(SSL_CTX *a, int b, long c, void *d);
-@@ -374,8 +362,6 @@ int q_SSL_get_error(SSL *a, int b);
- STACK_OF(X509) *q_SSL_get_peer_cert_chain(SSL *a);
- X509 *q_SSL_get_peer_certificate(SSL *a);
- long q_SSL_get_verify_result(const SSL *a);
--int q_SSL_library_init();
--void q_SSL_load_error_strings();
- SSL *q_SSL_new(SSL_CTX *a);
- long q_SSL_ctrl(SSL *ssl,int cmd, long larg, void *parg);
- int q_SSL_read(SSL *a, void *b, int c);
-@@ -388,7 +374,6 @@ void q_SSL_SESSION_free(SSL_SESSION *ses);
- SSL_SESSION *q_SSL_get1_session(SSL *ssl);
- SSL_SESSION *q_SSL_get_session(const SSL *ssl);
- #if OPENSSL_VERSION_NUMBER >= 0x10001000L
--int q_SSL_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func);
- int q_SSL_set_ex_data(SSL *ssl, int idx, void *arg);
- void *q_SSL_get_ex_data(const SSL *ssl, int idx);
- #endif
-@@ -399,49 +384,6 @@ typedef unsigned int (*q_psk_server_callback_t)(SSL *ssl, const char *identity,
- void q_SSL_set_psk_server_callback(SSL *ssl, q_psk_server_callback_t callback);
- int q_SSL_CTX_use_psk_identity_hint(SSL_CTX *ctx, const char *hint);
- #endif // OPENSSL_VERSION_NUMBER >= 0x10001000L && !defined(OPENSSL_NO_PSK)
--#if OPENSSL_VERSION_NUMBER >= 0x10000000L
--#ifndef OPENSSL_NO_SSL2
--const SSL_METHOD *q_SSLv2_client_method();
--#endif
--#ifndef OPENSSL_NO_SSL3_METHOD
--const SSL_METHOD *q_SSLv3_client_method();
--#endif
--const SSL_METHOD *q_SSLv23_client_method();
--const SSL_METHOD *q_TLSv1_client_method();
--const SSL_METHOD *q_TLSv1_1_client_method();
--const SSL_METHOD *q_TLSv1_2_client_method();
--#ifndef OPENSSL_NO_SSL2
--const SSL_METHOD *q_SSLv2_server_method();
--#endif
--#ifndef OPENSSL_NO_SSL3_METHOD
--const SSL_METHOD *q_SSLv3_server_method();
--#endif
--const SSL_METHOD *q_SSLv23_server_method();
--const SSL_METHOD *q_TLSv1_server_method();
--const SSL_METHOD *q_TLSv1_1_server_method();
--const SSL_METHOD *q_TLSv1_2_server_method();
--#else
--#ifndef OPENSSL_NO_SSL2
--SSL_METHOD *q_SSLv2_client_method();
--#endif
--#ifndef OPENSSL_NO_SSL3_METHOD
--SSL_METHOD *q_SSLv3_client_method();
--#endif
--SSL_METHOD *q_SSLv23_client_method();
--SSL_METHOD *q_TLSv1_client_method();
--SSL_METHOD *q_TLSv1_1_client_method();
--SSL_METHOD *q_TLSv1_2_client_method();
--#ifndef OPENSSL_NO_SSL2
--SSL_METHOD *q_SSLv2_server_method();
--#endif
--#ifndef OPENSSL_NO_SSL3_METHOD
--SSL_METHOD *q_SSLv3_server_method();
--#endif
--SSL_METHOD *q_SSLv23_server_method();
--SSL_METHOD *q_TLSv1_server_method();
--SSL_METHOD *q_TLSv1_1_server_method();
--SSL_METHOD *q_TLSv1_2_server_method();
--#endif
- int q_SSL_write(SSL *a, const void *b, int c);
- int q_X509_cmp(X509 *a, X509 *b);
- #ifdef SSLEAY_MACROS
-@@ -452,6 +394,7 @@ void *q_ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, char *x);
- X509 *q_X509_dup(X509 *a);
- #endif
- void q_X509_print(BIO *a, X509*b);
-+int q_X509_digest(const X509 *x509, const EVP_MD *type, unsigned char *md, unsigned int *len);
- ASN1_OBJECT *q_X509_EXTENSION_get_object(X509_EXTENSION *a);
- void q_X509_free(X509 *a);
- X509_EXTENSION *q_X509_get_ext(X509 *a, int b);
-@@ -471,6 +414,7 @@ int q_ASN1_STRING_print(BIO *a, ASN1_STRING *b);
- int q_X509_check_issued(X509 *a, X509 *b);
- X509_NAME *q_X509_get_issuer_name(X509 *a);
- X509_NAME *q_X509_get_subject_name(X509 *a);
-+ASN1_INTEGER *q_X509_get_serialNumber(X509 *a);
- int q_X509_verify_cert(X509_STORE_CTX *ctx);
- int q_X509_NAME_entry_count(X509_NAME *a);
- X509_NAME_ENTRY *q_X509_NAME_get_entry(X509_NAME *a,int b);
-@@ -488,7 +432,6 @@ int q_X509_STORE_CTX_set_purpose(X509_STORE_CTX *ctx, int purpose);
- int q_X509_STORE_CTX_get_error(X509_STORE_CTX *ctx);
- int q_X509_STORE_CTX_get_error_depth(X509_STORE_CTX *ctx);
- X509 *q_X509_STORE_CTX_get_current_cert(X509_STORE_CTX *ctx);
--STACK_OF(X509) *q_X509_STORE_CTX_get_chain(X509_STORE_CTX *ctx);
-
- // Diffie-Hellman support
- DH *q_DH_new();
-@@ -522,34 +465,9 @@ int q_PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert,
- PKCS12 *q_d2i_PKCS12_bio(BIO *bio, PKCS12 **pkcs12);
- void q_PKCS12_free(PKCS12 *pkcs12);
-
--
- #define q_BIO_get_mem_data(b, pp) (int)q_BIO_ctrl(b,BIO_CTRL_INFO,0,(char *)pp)
- #define q_BIO_pending(b) (int)q_BIO_ctrl(b,BIO_CTRL_PENDING,0,NULL)
--#ifdef SSLEAY_MACROS
--int q_i2d_DSAPrivateKey(const DSA *a, unsigned char **pp);
--int q_i2d_RSAPrivateKey(const RSA *a, unsigned char **pp);
--RSA *q_d2i_RSAPrivateKey(RSA **a, unsigned char **pp, long length);
--DSA *q_d2i_DSAPrivateKey(DSA **a, unsigned char **pp, long length);
--#define q_PEM_read_bio_RSAPrivateKey(bp, x, cb, u) \
-- (RSA *)q_PEM_ASN1_read_bio( \
-- (void *(*)(void**, const unsigned char**, long int))q_d2i_RSAPrivateKey, PEM_STRING_RSA, bp, (void **)x, cb, u)
--#define q_PEM_read_bio_DSAPrivateKey(bp, x, cb, u) \
-- (DSA *)q_PEM_ASN1_read_bio( \
-- (void *(*)(void**, const unsigned char**, long int))q_d2i_DSAPrivateKey, PEM_STRING_DSA, bp, (void **)x, cb, u)
--#define q_PEM_write_bio_RSAPrivateKey(bp,x,enc,kstr,klen,cb,u) \
-- PEM_ASN1_write_bio((int (*)(void*, unsigned char**))q_i2d_RSAPrivateKey,PEM_STRING_RSA,\
-- bp,(char *)x,enc,kstr,klen,cb,u)
--#define q_PEM_write_bio_DSAPrivateKey(bp,x,enc,kstr,klen,cb,u) \
-- PEM_ASN1_write_bio((int (*)(void*, unsigned char**))q_i2d_DSAPrivateKey,PEM_STRING_DSA,\
-- bp,(char *)x,enc,kstr,klen,cb,u)
--#define q_PEM_read_bio_DHparams(bp, dh, cb, u) \
-- (DH *)q_PEM_ASN1_read_bio( \
-- (void *(*)(void**, const unsigned char**, long int))q_d2i_DHparams, PEM_STRING_DHPARAMS, bp, (void **)x, cb, u)
--#endif
--#define q_SSL_CTX_set_options(ctx,op) q_SSL_CTX_ctrl((ctx),SSL_CTRL_OPTIONS,(op),NULL)
- #define q_SSL_CTX_set_mode(ctx,op) q_SSL_CTX_ctrl((ctx),SSL_CTRL_MODE,(op),NULL)
--#define q_SKM_sk_num(type, st) ((int (*)(const STACK_OF(type) *))q_sk_num)(st)
--#define q_SKM_sk_value(type, st,i) ((type * (*)(const STACK_OF(type) *, int))q_sk_value)(st, i)
- #define q_sk_GENERAL_NAME_num(st) q_SKM_sk_num(GENERAL_NAME, (st))
- #define q_sk_GENERAL_NAME_value(st, i) q_SKM_sk_value(GENERAL_NAME, (st), (i))
- #define q_sk_X509_num(st) q_SKM_sk_num(X509, (st))
-@@ -558,18 +476,12 @@ DSA *q_d2i_DSAPrivateKey(DSA **a, unsigned char **pp, long length);
- #define q_sk_SSL_CIPHER_value(st, i) q_SKM_sk_value(SSL_CIPHER, (st), (i))
- #define q_SSL_CTX_add_extra_chain_cert(ctx,x509) \
- q_SSL_CTX_ctrl(ctx,SSL_CTRL_EXTRA_CHAIN_CERT,0,(char *)x509)
--#define q_X509_get_notAfter(x) X509_get_notAfter(x)
--#define q_X509_get_notBefore(x) X509_get_notBefore(x)
- #define q_EVP_PKEY_assign_RSA(pkey,rsa) q_EVP_PKEY_assign((pkey),EVP_PKEY_RSA,\
- (char *)(rsa))
- #define q_EVP_PKEY_assign_DSA(pkey,dsa) q_EVP_PKEY_assign((pkey),EVP_PKEY_DSA,\
- (char *)(dsa))
- #define q_OpenSSL_add_all_algorithms() q_OPENSSL_add_all_algorithms_conf()
--void q_OPENSSL_add_all_algorithms_noconf();
--void q_OPENSSL_add_all_algorithms_conf();
- int q_SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile, const char *CApath);
--long q_SSLeay();
--const char *q_SSLeay_version(int type);
- int q_i2d_SSL_SESSION(SSL_SESSION *in, unsigned char **pp);
- SSL_SESSION *q_d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp, long length);
-
-diff --git a/src/network/ssl/qsslsocket_opensslpre11.cpp b/src/network/ssl/qsslsocket_opensslpre11.cpp
-new file mode 100644
-index 0000000000..e51888c5f2
---- /dev/null
-+++ b/src/network/ssl/qsslsocket_opensslpre11.cpp
-@@ -0,0 +1,424 @@
-+/****************************************************************************
-+**
-+** Copyright (C) 2017 The Qt Company Ltd.
-+** Copyright (C) 2014 Governikus GmbH & Co. KG
-+** Contact: https://www.qt.io/licensing/
-+**
-+** This file is part of the QtNetwork module of the Qt Toolkit.
-+**
-+** $QT_BEGIN_LICENSE:LGPL$
-+** Commercial License Usage
-+** Licensees holding valid commercial Qt licenses may use this file in
-+** accordance with the commercial license agreement provided with the
-+** Software or, alternatively, in accordance with the terms contained in
-+** a written agreement between you and The Qt Company. For licensing terms
-+** and conditions see https://www.qt.io/terms-conditions. For further
-+** information use the contact form at https://www.qt.io/contact-us.
-+**
-+** GNU Lesser General Public License Usage
-+** Alternatively, this file may be used under the terms of the GNU Lesser
-+** General Public License version 3 as published by the Free Software
-+** Foundation and appearing in the file LICENSE.LGPL3 included in the
-+** packaging of this file. Please review the following information to
-+** ensure the GNU Lesser General Public License version 3 requirements
-+** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-+**
-+** GNU General Public License Usage
-+** Alternatively, this file may be used under the terms of the GNU
-+** General Public License version 2.0 or (at your option) the GNU General
-+** Public license version 3 or any later version approved by the KDE Free
-+** Qt Foundation. The licenses are as published by the Free Software
-+** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-+** included in the packaging of this file. Please review the following
-+** information to ensure the GNU General Public License requirements will
-+** be met: https://www.gnu.org/licenses/gpl-2.0.html and
-+** https://www.gnu.org/licenses/gpl-3.0.html.
-+**
-+** $QT_END_LICENSE$
-+**
-+****************************************************************************/
-+
-+/****************************************************************************
-+**
-+** In addition, as a special exception, the copyright holders listed above give
-+** permission to link the code of its release of Qt with the OpenSSL project's
-+** "OpenSSL" library (or modified versions of the "OpenSSL" library that use the
-+** same license as the original version), and distribute the linked executables.
-+**
-+** You must comply with the GNU General Public License version 2 in all
-+** respects for all of the code used other than the "OpenSSL" code. If you
-+** modify this file, you may extend this exception to your version of the file,
-+** but you are not obligated to do so. If you do not wish to do so, delete
-+** this exception statement from your version of this file.
-+**
-+****************************************************************************/
-+
-+//#define QT_DECRYPT_SSL_TRAFFIC
-+
-+#include "qssl_p.h"
-+#include "qsslsocket_openssl_p.h"
-+#include "qsslsocket_openssl_symbols_p.h"
-+#include "qsslsocket.h"
-+#include "qsslkey.h"
-+
-+#include
-+#include
-+#include
-+#include
-+#include
-+#include
-+#include
-+
-+QT_BEGIN_NAMESPACE
-+
-+/* \internal
-+
-+ From OpenSSL's thread(3) manual page:
-+
-+ OpenSSL can safely be used in multi-threaded applications provided that at
-+ least two callback functions are set.
-+
-+ locking_function(int mode, int n, const char *file, int line) is needed to
-+ perform locking on shared data structures. (Note that OpenSSL uses a
-+ number of global data structures that will be implicitly shared
-+ whenever multiple threads use OpenSSL.) Multi-threaded
-+ applications will crash at random if it is not set. ...
-+ ...
-+ id_function(void) is a function that returns a thread ID. It is not
-+ needed on Windows nor on platforms where getpid() returns a different
-+ ID for each thread (most notably Linux)
-+*/
-+
-+class QOpenSslLocks
-+{
-+public:
-+ QOpenSslLocks()
-+ : initLocker(QMutex::Recursive),
-+ locksLocker(QMutex::Recursive)
-+ {
-+ QMutexLocker locker(&locksLocker);
-+ int numLocks = q_CRYPTO_num_locks();
-+ locks = new QMutex *[numLocks];
-+ memset(locks, 0, numLocks * sizeof(QMutex *));
-+ }
-+ ~QOpenSslLocks()
-+ {
-+ QMutexLocker locker(&locksLocker);
-+ for (int i = 0; i < q_CRYPTO_num_locks(); ++i)
-+ delete locks[i];
-+ delete [] locks;
-+
-+ QSslSocketPrivate::deinitialize();
-+ }
-+ QMutex *lock(int num)
-+ {
-+ QMutexLocker locker(&locksLocker);
-+ QMutex *tmp = locks[num];
-+ if (!tmp)
-+ tmp = locks[num] = new QMutex(QMutex::Recursive);
-+ return tmp;
-+ }
-+
-+ QMutex *globalLock()
-+ {
-+ return &locksLocker;
-+ }
-+
-+ QMutex *initLock()
-+ {
-+ return &initLocker;
-+ }
-+
-+private:
-+ QMutex initLocker;
-+ QMutex locksLocker;
-+ QMutex **locks;
-+};
-+
-+Q_GLOBAL_STATIC(QOpenSslLocks, openssl_locks)
-+
-+extern "C" {
-+static void locking_function(int mode, int lockNumber, const char *, int)
-+{
-+ QMutex *mutex = openssl_locks()->lock(lockNumber);
-+
-+ // Lock or unlock it
-+ if (mode & CRYPTO_LOCK)
-+ mutex->lock();
-+ else
-+ mutex->unlock();
-+}
-+static unsigned long id_function()
-+{
-+ return (quintptr)QThread::currentThreadId();
-+}
-+
-+} // extern "C"
-+
-+static void q_OpenSSL_add_all_algorithms_safe()
-+{
-+#ifdef Q_OS_WIN
-+ // Prior to version 1.0.1m an attempt to call OpenSSL_add_all_algorithms on
-+ // Windows could result in 'exit' call from OPENSSL_config (QTBUG-43843).
-+ // We can predict this and avoid OPENSSL_add_all_algorithms call.
-+ // From OpenSSL docs:
-+ // "An application does not need to add algorithms to use them explicitly,
-+ // for example by EVP_sha1(). It just needs to add them if it (or any of
-+ // the functions it calls) needs to lookup algorithms.
-+ // The cipher and digest lookup functions are used in many parts of the
-+ // library. If the table is not initialized several functions will
-+ // misbehave and complain they cannot find algorithms. This includes the
-+ // PEM, PKCS#12, SSL and S/MIME libraries. This is a common query in
-+ // the OpenSSL mailing lists."
-+ //
-+ // Anyway, as a result, we chose not to call this function if it would exit.
-+
-+ if (q_SSLeay() < 0x100010DFL)
-+ {
-+ // Now, before we try to call it, check if an attempt to open config file
-+ // will result in exit:
-+ if (char *confFileName = q_CONF_get1_default_config_file()) {
-+ BIO *confFile = q_BIO_new_file(confFileName, "r");
-+ const auto lastError = q_ERR_peek_last_error();
-+ q_CRYPTO_free(confFileName);
-+ if (confFile) {
-+ q_BIO_free(confFile);
-+ } else {
-+ q_ERR_clear_error();
-+ if (ERR_GET_REASON(lastError) == ERR_R_SYS_LIB) {
-+ qCWarning(lcSsl, "failed to open openssl.conf file");
-+ return;
-+ }
-+ }
-+ }
-+ }
-+#endif // Q_OS_WIN
-+
-+ q_OpenSSL_add_all_algorithms();
-+}
-+
-+
-+/*!
-+ \internal
-+*/
-+void QSslSocketPrivate::deinitialize()
-+{
-+ q_CRYPTO_set_id_callback(0);
-+ q_CRYPTO_set_locking_callback(0);
-+ q_ERR_free_strings();
-+}
-+
-+
-+bool QSslSocketPrivate::ensureLibraryLoaded()
-+{
-+ if (!q_resolveOpenSslSymbols())
-+ return false;
-+
-+ // Check if the library itself needs to be initialized.
-+ QMutexLocker locker(openssl_locks()->initLock());
-+
-+ if (!s_libraryLoaded) {
-+ s_libraryLoaded = true;
-+
-+ // Initialize OpenSSL.
-+ q_CRYPTO_set_id_callback(id_function);
-+ q_CRYPTO_set_locking_callback(locking_function);
-+ if (q_SSL_library_init() != 1)
-+ return false;
-+ q_SSL_load_error_strings();
-+ q_OpenSSL_add_all_algorithms_safe();
-+
-+#if OPENSSL_VERSION_NUMBER >= 0x10001000L
-+ if (q_SSLeay() >= 0x10001000L)
-+ QSslSocketBackendPrivate::s_indexForSSLExtraData = q_SSL_get_ex_new_index(0L, NULL, NULL, NULL, NULL);
-+#endif
-+
-+ // Initialize OpenSSL's random seed.
-+ if (!q_RAND_status()) {
-+ qWarning("Random number generator not seeded, disabling SSL support");
-+ return false;
-+ }
-+ }
-+ return true;
-+}
-+
-+void QSslSocketPrivate::ensureCiphersAndCertsLoaded()
-+{
-+ QMutexLocker locker(openssl_locks()->initLock());
-+ if (s_loadedCiphersAndCerts)
-+ return;
-+ s_loadedCiphersAndCerts = true;
-+
-+ resetDefaultCiphers();
-+ resetDefaultEllipticCurves();
-+
-+#if QT_CONFIG(library)
-+ //load symbols needed to receive certificates from system store
-+#if defined(Q_OS_WIN)
-+ HINSTANCE hLib = LoadLibraryW(L"Crypt32");
-+ if (hLib) {
-+ ptrCertOpenSystemStoreW = (PtrCertOpenSystemStoreW)GetProcAddress(hLib, "CertOpenSystemStoreW");
-+ ptrCertFindCertificateInStore = (PtrCertFindCertificateInStore)GetProcAddress(hLib, "CertFindCertificateInStore");
-+ ptrCertCloseStore = (PtrCertCloseStore)GetProcAddress(hLib, "CertCloseStore");
-+ if (!ptrCertOpenSystemStoreW || !ptrCertFindCertificateInStore || !ptrCertCloseStore)
-+ qCWarning(lcSsl, "could not resolve symbols in crypt32 library"); // should never happen
-+ } else {
-+ qCWarning(lcSsl, "could not load crypt32 library"); // should never happen
-+ }
-+#elif defined(Q_OS_QNX)
-+ s_loadRootCertsOnDemand = true;
-+#elif defined(Q_OS_UNIX) && !defined(Q_OS_MACOS)
-+ // check whether we can enable on-demand root-cert loading (i.e. check whether the sym links are there)
-+ QList dirs = unixRootCertDirectories();
-+ QStringList symLinkFilter;
-+ symLinkFilter << QLatin1String("[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f].[0-9]");
-+ for (int a = 0; a < dirs.count(); ++a) {
-+ QDirIterator iterator(QLatin1String(dirs.at(a)), symLinkFilter, QDir::Files);
-+ if (iterator.hasNext()) {
-+ s_loadRootCertsOnDemand = true;
-+ break;
-+ }
-+ }
-+#endif
-+#endif // QT_CONFIG(library)
-+ // if on-demand loading was not enabled, load the certs now
-+ if (!s_loadRootCertsOnDemand)
-+ setDefaultCaCertificates(systemCaCertificates());
-+#ifdef Q_OS_WIN
-+ //Enabled for fetching additional root certs from windows update on windows 6+
-+ //This flag is set false by setDefaultCaCertificates() indicating the app uses
-+ //its own cert bundle rather than the system one.
-+ //Same logic that disables the unix on demand cert loading.
-+ //Unlike unix, we do preload the certificates from the cert store.
-+ if ((QSysInfo::windowsVersion() & QSysInfo::WV_NT_based) >= QSysInfo::WV_6_0)
-+ s_loadRootCertsOnDemand = true;
-+#endif
-+}
-+
-+long QSslSocketPrivate::sslLibraryVersionNumber()
-+{
-+ if (!supportsSsl())
-+ return 0;
-+
-+ return q_SSLeay();
-+}
-+
-+QString QSslSocketPrivate::sslLibraryVersionString()
-+{
-+ if (!supportsSsl())
-+ return QString();
-+
-+ const char *versionString = q_SSLeay_version(SSLEAY_VERSION);
-+ if (!versionString)
-+ return QString();
-+
-+ return QString::fromLatin1(versionString);
-+}
-+
-+void QSslSocketBackendPrivate::continueHandshake()
-+{
-+ Q_Q(QSslSocket);
-+ // if we have a max read buffer size, reset the plain socket's to match
-+ if (readBufferMaxSize)
-+ plainSocket->setReadBufferSize(readBufferMaxSize);
-+
-+ if (q_SSL_ctrl((ssl), SSL_CTRL_GET_SESSION_REUSED, 0, NULL))
-+ configuration.peerSessionShared = true;
-+
-+#ifdef QT_DECRYPT_SSL_TRAFFIC
-+ if (ssl->session && ssl->s3) {
-+ const char *mk = reinterpret_cast(ssl->session->master_key);
-+ QByteArray masterKey(mk, ssl->session->master_key_length);
-+ const char *random = reinterpret_cast(ssl->s3->client_random);
-+ QByteArray clientRandom(random, SSL3_RANDOM_SIZE);
-+
-+ // different format, needed for e.g. older Wireshark versions:
-+// const char *sid = reinterpret_cast(ssl->session->session_id);
-+// QByteArray sessionID(sid, ssl->session->session_id_length);
-+// QByteArray debugLineRSA("RSA Session-ID:");
-+// debugLineRSA.append(sessionID.toHex().toUpper());
-+// debugLineRSA.append(" Master-Key:");
-+// debugLineRSA.append(masterKey.toHex().toUpper());
-+// debugLineRSA.append("\n");
-+
-+ QByteArray debugLineClientRandom("CLIENT_RANDOM ");
-+ debugLineClientRandom.append(clientRandom.toHex().toUpper());
-+ debugLineClientRandom.append(" ");
-+ debugLineClientRandom.append(masterKey.toHex().toUpper());
-+ debugLineClientRandom.append("\n");
-+
-+ QString sslKeyFile = QDir::tempPath() + QLatin1String("/qt-ssl-keys");
-+ QFile file(sslKeyFile);
-+ if (!file.open(QIODevice::Append))
-+ qCWarning(lcSsl) << "could not open file" << sslKeyFile << "for appending";
-+ if (!file.write(debugLineClientRandom))
-+ qCWarning(lcSsl) << "could not write to file" << sslKeyFile;
-+ file.close();
-+ } else {
-+ qCWarning(lcSsl, "could not decrypt SSL traffic");
-+ }
-+#endif
-+
-+ // Cache this SSL session inside the QSslContext
-+ if (!(configuration.sslOptions & QSsl::SslOptionDisableSessionSharing)) {
-+ if (!sslContextPointer->cacheSession(ssl)) {
-+ sslContextPointer.clear(); // we could not cache the session
-+ } else {
-+ // Cache the session for permanent usage as well
-+ if (!(configuration.sslOptions & QSsl::SslOptionDisableSessionPersistence)) {
-+ if (!sslContextPointer->sessionASN1().isEmpty())
-+ configuration.sslSession = sslContextPointer->sessionASN1();
-+ configuration.sslSessionTicketLifeTimeHint = sslContextPointer->sessionTicketLifeTimeHint();
-+ }
-+ }
-+ }
-+
-+#if OPENSSL_VERSION_NUMBER >= 0x1000100fL && !defined(OPENSSL_NO_NEXTPROTONEG)
-+
-+ configuration.nextProtocolNegotiationStatus = sslContextPointer->npnContext().status;
-+ if (sslContextPointer->npnContext().status == QSslConfiguration::NextProtocolNegotiationUnsupported) {
-+ // we could not agree -> be conservative and use HTTP/1.1
-+ configuration.nextNegotiatedProtocol = QByteArrayLiteral("http/1.1");
-+ } else {
-+ const unsigned char *proto = 0;
-+ unsigned int proto_len = 0;
-+#if OPENSSL_VERSION_NUMBER >= 0x10002000L
-+ if (q_SSLeay() >= 0x10002000L) {
-+ q_SSL_get0_alpn_selected(ssl, &proto, &proto_len);
-+ if (proto_len && mode == QSslSocket::SslClientMode) {
-+ // Client does not have a callback that sets it ...
-+ configuration.nextProtocolNegotiationStatus = QSslConfiguration::NextProtocolNegotiationNegotiated;
-+ }
-+ }
-+
-+ if (!proto_len) { // Test if NPN was more lucky ...
-+#else
-+ {
-+#endif
-+ q_SSL_get0_next_proto_negotiated(ssl, &proto, &proto_len);
-+ }
-+
-+ if (proto_len)
-+ configuration.nextNegotiatedProtocol = QByteArray(reinterpret_cast(proto), proto_len);
-+ else
-+ configuration.nextNegotiatedProtocol.clear();
-+ }
-+#endif // OPENSSL_VERSION_NUMBER >= 0x1000100fL ...
-+
-+#if OPENSSL_VERSION_NUMBER >= 0x10002000L
-+ if (q_SSLeay() >= 0x10002000L && mode == QSslSocket::SslClientMode) {
-+ EVP_PKEY *key;
-+ if (q_SSL_get_server_tmp_key(ssl, &key))
-+ configuration.ephemeralServerKey = QSslKey(key, QSsl::PublicKey);
-+ }
-+#endif // OPENSSL_VERSION_NUMBER >= 0x10002000L ...
-+
-+ connectionEncrypted = true;
-+ emit q->encrypted();
-+ if (autoStartHandshake && pendingClose) {
-+ pendingClose = false;
-+ q->disconnectFromHost();
-+ }
-+}
-+
-+QT_END_NAMESPACE
-diff --git a/src/network/ssl/ssl.pri b/src/network/ssl/ssl.pri
-index d2b0c2d60d..2783effaf1 100644
---- a/src/network/ssl/ssl.pri
-+++ b/src/network/ssl/ssl.pri
-@@ -60,13 +60,25 @@ qtConfig(ssl) {
- HEADERS += ssl/qsslcontext_openssl_p.h \
- ssl/qsslsocket_openssl_p.h \
- ssl/qsslsocket_openssl_symbols_p.h
-- SOURCES += ssl/qsslcertificate_openssl.cpp \
-- ssl/qsslcontext_openssl.cpp \
-+ SOURCES += ssl/qsslsocket_openssl_symbols.cpp \
- ssl/qssldiffiehellmanparameters_openssl.cpp \
-+ ssl/qsslcertificate_openssl.cpp \
- ssl/qsslellipticcurve_openssl.cpp \
- ssl/qsslkey_openssl.cpp \
- ssl/qsslsocket_openssl.cpp \
-- ssl/qsslsocket_openssl_symbols.cpp
-+ ssl/qsslcontext_openssl.cpp
-+
-+ qtConfig(opensslv11) {
-+ HEADERS += ssl/qsslsocket_openssl11_symbols_p.h
-+ SOURCES += ssl/qsslsocket_openssl11.cpp \
-+ ssl/qsslcontext_openssl11.cpp
-+
-+ QMAKE_CXXFLAGS += -DOPENSSL_API_COMPAT=0x10100000L
-+ } else {
-+ HEADERS += ssl/qsslsocket_opensslpre11_symbols_p.h
-+ SOURCES += ssl/qsslsocket_opensslpre11.cpp \
-+ ssl/qsslcontext_opensslpre11.cpp
-+ }
-
- darwin:SOURCES += ssl/qsslsocket_mac_shared.cpp
-
diff --git a/pkgs/development/libraries/qt-5/5.9/qtbase.patch b/pkgs/development/libraries/qt-5/5.9/qtbase.patch
deleted file mode 100644
index f87c508a3800623f8d2f4f7ac3fbd1eb3d5ff40b..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-5/5.9/qtbase.patch
+++ /dev/null
@@ -1,1119 +0,0 @@
-diff --git a/mkspecs/common/mac.conf b/mkspecs/common/mac.conf
-index 5208379f9a..92fe29a0ac 100644
---- a/mkspecs/common/mac.conf
-+++ b/mkspecs/common/mac.conf
-@@ -23,7 +23,7 @@ QMAKE_INCDIR_OPENGL = \
-
- QMAKE_FIX_RPATH = install_name_tool -id
-
--QMAKE_LFLAGS_RPATH = -Wl,-rpath,
-+QMAKE_LFLAGS_RPATH =
- QMAKE_LFLAGS_GCSECTIONS = -Wl,-dead_strip
-
- QMAKE_LFLAGS_REL_RPATH =
-diff --git a/mkspecs/features/create_cmake.prf b/mkspecs/features/create_cmake.prf
-index bb5083c925..77034f9bb6 100644
---- a/mkspecs/features/create_cmake.prf
-+++ b/mkspecs/features/create_cmake.prf
-@@ -21,7 +21,7 @@ load(cmake_functions)
- # at cmake time whether package has been found via a symlink, and correct
- # that to an absolute path. This is only done for installations to
- # the /usr or / prefix.
--CMAKE_INSTALL_LIBS_DIR = $$cmakeTargetPath($$[QT_INSTALL_LIBS])
-+CMAKE_INSTALL_LIBS_DIR = $$cmakeTargetPath($$NIX_OUTPUT_OUT/lib/)
- contains(CMAKE_INSTALL_LIBS_DIR, ^(/usr)?/lib(64)?.*): CMAKE_USR_MOVE_WORKAROUND = $$CMAKE_INSTALL_LIBS_DIR
-
- CMAKE_OUT_DIR = $$MODULE_BASE_OUTDIR/lib/cmake
-@@ -47,47 +47,22 @@ split_incpath {
- $$cmake_extra_source_includes.output
- }
-
--CMAKE_INCLUDE_DIR = $$cmakeRelativePath($$[QT_INSTALL_HEADERS], $$[QT_INSTALL_PREFIX])
--contains(CMAKE_INCLUDE_DIR, "^\\.\\./.*") {
-- CMAKE_INCLUDE_DIR = $$[QT_INSTALL_HEADERS]/
-- CMAKE_INCLUDE_DIR_IS_ABSOLUTE = True
--}
-+CMAKE_INCLUDE_DIR = $$NIX_OUTPUT_DEV/include/
-+CMAKE_INCLUDE_DIR_IS_ABSOLUTE = True
-
- !exists($$first(QT.$${MODULE}_private.includes)): CMAKE_NO_PRIVATE_INCLUDES = true
-
--CMAKE_LIB_DIR = $$cmakeRelativePath($$[QT_INSTALL_LIBS], $$[QT_INSTALL_PREFIX])
--contains(CMAKE_LIB_DIR,"^\\.\\./.*") {
-- CMAKE_LIB_DIR = $$[QT_INSTALL_LIBS]/
-- CMAKE_LIB_DIR_IS_ABSOLUTE = True
--} else {
-- CMAKE_RELATIVE_INSTALL_LIBS_DIR = $$cmakeRelativePath($$[QT_INSTALL_PREFIX], $$[QT_INSTALL_LIBS])
-- # We need to go up another two levels because the CMake files are
-- # installed in $${CMAKE_LIB_DIR}/cmake/Qt5$${CMAKE_MODULE_NAME}
-- CMAKE_RELATIVE_INSTALL_DIR = "$${CMAKE_RELATIVE_INSTALL_LIBS_DIR}../../"
--}
-+CMAKE_LIB_DIR = $$NIX_OUTPUT_OUT/lib/
-+CMAKE_LIB_DIR_IS_ABSOLUTE = True
-
--CMAKE_BIN_DIR = $$cmakeRelativePath($$[QT_HOST_BINS], $$[QT_INSTALL_PREFIX])
--contains(CMAKE_BIN_DIR, "^\\.\\./.*") {
-- CMAKE_BIN_DIR = $$[QT_HOST_BINS]/
-- CMAKE_BIN_DIR_IS_ABSOLUTE = True
--}
-+CMAKE_BIN_DIR = $$NIX_OUTPUT_BIN/bin/
-+CMAKE_BIN_DIR_IS_ABSOLUTE = True
-
--CMAKE_PLUGIN_DIR = $$cmakeRelativePath($$[QT_INSTALL_PLUGINS], $$[QT_INSTALL_PREFIX])
--contains(CMAKE_PLUGIN_DIR, "^\\.\\./.*") {
-- CMAKE_PLUGIN_DIR = $$[QT_INSTALL_PLUGINS]/
-- CMAKE_PLUGIN_DIR_IS_ABSOLUTE = True
--}
-+CMAKE_PLUGIN_DIR = $$NIX_OUTPUT_PLUGIN/
-+CMAKE_PLUGIN_DIR_IS_ABSOLUTE = True
-
--win32:!static:!staticlib {
-- CMAKE_DLL_DIR = $$cmakeRelativePath($$[QT_INSTALL_BINS], $$[QT_INSTALL_PREFIX])
-- contains(CMAKE_DLL_DIR, "^\\.\\./.*") {
-- CMAKE_DLL_DIR = $$[QT_INSTALL_BINS]/
-- CMAKE_DLL_DIR_IS_ABSOLUTE = True
-- }
--} else {
-- CMAKE_DLL_DIR = $$CMAKE_LIB_DIR
-- CMAKE_DLL_DIR_IS_ABSOLUTE = $$CMAKE_LIB_DIR_IS_ABSOLUTE
--}
-+CMAKE_DLL_DIR = $$NIX_OUTPUT_OUT/lib/
-+CMAKE_DLL_DIR_IS_ABSOLUTE = True
-
- static|staticlib:CMAKE_STATIC_TYPE = true
-
-@@ -167,7 +142,7 @@ contains(CONFIG, plugin) {
- cmake_target_file
-
- cmake_qt5_plugin_file.files = $$cmake_target_file.output
-- cmake_qt5_plugin_file.path = $$[QT_INSTALL_LIBS]/cmake/Qt5$${CMAKE_MODULE_NAME}
-+ cmake_qt5_plugin_file.path = $$NIX_OUTPUT_OUT/lib/cmake/Qt5$${CMAKE_MODULE_NAME}
- INSTALLS += cmake_qt5_plugin_file
-
- return()
-@@ -314,7 +289,7 @@ exists($$cmake_macros_file.input) {
- cmake_qt5_module_files.files += $$cmake_macros_file.output
- }
-
--cmake_qt5_module_files.path = $$[QT_INSTALL_LIBS]/cmake/Qt5$${CMAKE_MODULE_NAME}
-+cmake_qt5_module_files.path = $$NIX_OUTPUT_OUT/lib/cmake/Qt5$${CMAKE_MODULE_NAME}
-
- # We are generating cmake files. Most developers of Qt are not aware of cmake,
- # so we require automatic tests to be available. The only module which should
-diff --git a/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in b/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
-index 55c74aad66..0bbc8718eb 100644
---- a/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
-+++ b/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
-@@ -9,30 +9,6 @@ if (CMAKE_VERSION VERSION_LESS 3.0.0)
- endif()
- !!ENDIF
-
--!!IF !isEmpty(CMAKE_USR_MOVE_WORKAROUND)
--!!IF !isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
--set(_qt5$${CMAKE_MODULE_NAME}_install_prefix \"$$[QT_INSTALL_PREFIX]\")
--!!ELSE
--get_filename_component(_IMPORT_PREFIX \"${CMAKE_CURRENT_LIST_FILE}\" PATH)
--# Use original install prefix when loaded through a
--# cross-prefix symbolic link such as /lib -> /usr/lib.
--get_filename_component(_realCurr \"${_IMPORT_PREFIX}\" REALPATH)
--get_filename_component(_realOrig \"$$CMAKE_INSTALL_LIBS_DIR/cmake/Qt5$${CMAKE_MODULE_NAME}\" REALPATH)
--if(_realCurr STREQUAL _realOrig)
-- get_filename_component(_qt5$${CMAKE_MODULE_NAME}_install_prefix \"$$CMAKE_INSTALL_LIBS_DIR/$${CMAKE_RELATIVE_INSTALL_LIBS_DIR}\" ABSOLUTE)
--else()
-- get_filename_component(_qt5$${CMAKE_MODULE_NAME}_install_prefix \"${CMAKE_CURRENT_LIST_DIR}/$${CMAKE_RELATIVE_INSTALL_DIR}\" ABSOLUTE)
--endif()
--unset(_realOrig)
--unset(_realCurr)
--unset(_IMPORT_PREFIX)
--!!ENDIF
--!!ELIF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
--get_filename_component(_qt5$${CMAKE_MODULE_NAME}_install_prefix \"${CMAKE_CURRENT_LIST_DIR}/$${CMAKE_RELATIVE_INSTALL_DIR}\" ABSOLUTE)
--!!ELSE
--set(_qt5$${CMAKE_MODULE_NAME}_install_prefix \"$$[QT_INSTALL_PREFIX]\")
--!!ENDIF
--
- !!IF !equals(TEMPLATE, aux)
- # For backwards compatibility only. Use Qt5$${CMAKE_MODULE_NAME}_VERSION instead.
- set(Qt5$${CMAKE_MODULE_NAME}_VERSION_STRING "$$eval(QT.$${MODULE}.VERSION)")
-@@ -58,11 +34,7 @@ endmacro()
- macro(_populate_$${CMAKE_MODULE_NAME}_target_properties Configuration LIB_LOCATION IMPLIB_LOCATION)
- set_property(TARGET Qt5::$${CMAKE_MODULE_NAME} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
-
--!!IF isEmpty(CMAKE_DLL_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_DLL_DIR}${LIB_LOCATION}\")
--!!ELSE
- set(imported_location \"$${CMAKE_DLL_DIR}${LIB_LOCATION}\")
--!!ENDIF
- _qt5_$${CMAKE_MODULE_NAME}_check_file_exists(${imported_location})
- set_target_properties(Qt5::$${CMAKE_MODULE_NAME} PROPERTIES
- \"INTERFACE_LINK_LIBRARIES\" \"${_Qt5$${CMAKE_MODULE_NAME}_LIB_DEPENDENCIES}\"
-@@ -75,11 +47,7 @@ macro(_populate_$${CMAKE_MODULE_NAME}_target_properties Configuration LIB_LOCATI
- )
-
- !!IF !isEmpty(CMAKE_WINDOWS_BUILD)
--!!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
-- set(imported_implib \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}${IMPLIB_LOCATION}\")
--!!ELSE
- set(imported_implib \"IMPORTED_IMPLIB_${Configuration}\" \"$${CMAKE_LIB_DIR}${IMPLIB_LOCATION}\")
--!!ENDIF
- _qt5_$${CMAKE_MODULE_NAME}_check_file_exists(${imported_implib})
- if(NOT \"${IMPLIB_LOCATION}\" STREQUAL \"\")
- set_target_properties(Qt5::$${CMAKE_MODULE_NAME} PROPERTIES
-@@ -95,24 +63,13 @@ if (NOT TARGET Qt5::$${CMAKE_MODULE_NAME})
- !!IF !no_module_headers
- !!IF !isEmpty(CMAKE_BUILD_IS_FRAMEWORK)
- set(_Qt5$${CMAKE_MODULE_NAME}_OWN_INCLUDE_DIRS
-- \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}Qt$${CMAKE_MODULE_NAME}.framework\"
-- \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}Qt$${CMAKE_MODULE_NAME}.framework/Headers\"
-+ \"$${CMAKE_LIB_DIR}Qt$${CMAKE_MODULE_NAME}.framework\"
-+ \"$${CMAKE_LIB_DIR}Qt$${CMAKE_MODULE_NAME}.framework/Headers\"
- )
- !!IF isEmpty(CMAKE_NO_PRIVATE_INCLUDES)
- set(Qt5$${CMAKE_MODULE_NAME}_PRIVATE_INCLUDE_DIRS
-- \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}Qt$${CMAKE_MODULE_NAME}.framework/Versions/$$section(VERSION, ., 0, 0)/Headers/$$VERSION/\"
-- \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}Qt$${CMAKE_MODULE_NAME}.framework/Versions/$$section(VERSION, ., 0, 0)/Headers/$$VERSION/$${MODULE_INCNAME}\"
-- )
--!!ELSE
-- set(Qt5$${CMAKE_MODULE_NAME}_PRIVATE_INCLUDE_DIRS \"\")
--!!ENDIF
--!!ELSE
--!!IF isEmpty(CMAKE_INCLUDE_DIR_IS_ABSOLUTE)
-- set(_Qt5$${CMAKE_MODULE_NAME}_OWN_INCLUDE_DIRS \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$$CMAKE_INCLUDE_DIR\" \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_INCLUDE_DIR}$${MODULE_INCNAME}\")
--!!IF isEmpty(CMAKE_NO_PRIVATE_INCLUDES)
-- set(Qt5$${CMAKE_MODULE_NAME}_PRIVATE_INCLUDE_DIRS
-- \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_INCLUDE_DIR}$${MODULE_INCNAME}/$$VERSION\"
-- \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_INCLUDE_DIR}$${MODULE_INCNAME}/$$VERSION/$${MODULE_INCNAME}\"
-+ \"$${CMAKE_LIB_DIR}Qt$${CMAKE_MODULE_NAME}.framework/Versions/$$section(VERSION, ., 0, 0)/Headers/$$VERSION/\"
-+ \"$${CMAKE_LIB_DIR}Qt$${CMAKE_MODULE_NAME}.framework/Versions/$$section(VERSION, ., 0, 0)/Headers/$$VERSION/$${MODULE_INCNAME}\"
- )
- !!ELSE
- set(Qt5$${CMAKE_MODULE_NAME}_PRIVATE_INCLUDE_DIRS \"\")
-@@ -128,7 +85,6 @@ if (NOT TARGET Qt5::$${CMAKE_MODULE_NAME})
- set(Qt5$${CMAKE_MODULE_NAME}_PRIVATE_INCLUDE_DIRS \"\")
- !!ENDIF
- !!ENDIF
--!!ENDIF
- !!IF !isEmpty(CMAKE_ADD_SOURCE_INCLUDE_DIRS)
- include(\"${CMAKE_CURRENT_LIST_DIR}/ExtraSourceIncludes.cmake\" OPTIONAL)
- !!ENDIF
-@@ -280,25 +236,13 @@ if (NOT TARGET Qt5::$${CMAKE_MODULE_NAME})
- !!IF !isEmpty(CMAKE_FIND_OTHER_LIBRARY_BUILD)
- !!IF isEmpty(CMAKE_DEBUG_TYPE)
- !!IF !isEmpty(CMAKE_STATIC_WINDOWS_BUILD)
--!!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
-- if (EXISTS \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}$${CMAKE_IMPLIB_FILE_LOCATION_DEBUG}\" )
--!!ELSE // CMAKE_LIB_DIR_IS_ABSOLUTE
- if (EXISTS \"$${CMAKE_IMPLIB_FILE_LOCATION_DEBUG}\" )
--!!ENDIF // CMAKE_LIB_DIR_IS_ABSOLUTE
- _populate_$${CMAKE_MODULE_NAME}_target_properties(DEBUG \"$${CMAKE_IMPLIB_FILE_LOCATION_DEBUG}\" \"\" )
- !!ELSE // CMAKE_STATIC_WINDOWS_BUILD
- if (EXISTS
--!!IF isEmpty(CMAKE_DLL_DIR_IS_ABSOLUTE)
-- \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_DLL_DIR}$${CMAKE_LIB_FILE_LOCATION_DEBUG}\"
--!!ELSE
- \"$${CMAKE_LIB_FILE_LOCATION_DEBUG}\"
--!!ENDIF
- AND EXISTS
--!!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
-- \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}$${CMAKE_IMPLIB_FILE_LOCATION_DEBUG}\" )
--!!ELSE
- \"$${CMAKE_IMPLIB_FILE_LOCATION_DEBUG}\" )
--!!ENDIF
- _populate_$${CMAKE_MODULE_NAME}_target_properties(DEBUG \"$${CMAKE_LIB_FILE_LOCATION_DEBUG}\" \"$${CMAKE_IMPLIB_FILE_LOCATION_DEBUG}\" )
- !!ENDIF // CMAKE_STATIC_WINDOWS_BUILD
- endif()
-@@ -317,25 +261,13 @@ if (NOT TARGET Qt5::$${CMAKE_MODULE_NAME})
- !!IF !isEmpty(CMAKE_FIND_OTHER_LIBRARY_BUILD)
- !!IF isEmpty(CMAKE_RELEASE_TYPE)
- !!IF !isEmpty(CMAKE_STATIC_WINDOWS_BUILD)
--!!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
-- if (EXISTS \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}$${CMAKE_IMPLIB_FILE_LOCATION_RELEASE}\" )
--!!ELSE // CMAKE_LIB_DIR_IS_ABSOLUTE
- if (EXISTS \"$${CMAKE_IMPLIB_FILE_LOCATION_RELEASE}\" )
--!!ENDIF // CMAKE_LIB_DIR_IS_ABSOLUTE
- _populate_$${CMAKE_MODULE_NAME}_target_properties(RELEASE \"$${CMAKE_IMPLIB_FILE_LOCATION_RELEASE}\" \"\" )
- !!ELSE // CMAKE_STATIC_WINDOWS_BUILD
- if (EXISTS
--!!IF isEmpty(CMAKE_DLL_DIR_IS_ABSOLUTE)
-- \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_DLL_DIR}$${CMAKE_LIB_FILE_LOCATION_RELEASE}\"
--!!ELSE
- \"$${CMAKE_LIB_FILE_LOCATION_RELEASE}\"
--!!ENDIF
- AND EXISTS
--!!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
-- \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_LIB_DIR}$${CMAKE_IMPLIB_FILE_LOCATION_RELEASE}\" )
--!!ELSE
- \"$${CMAKE_IMPLIB_FILE_LOCATION_RELEASE}\" )
--!!ENDIF
- _populate_$${CMAKE_MODULE_NAME}_target_properties(RELEASE \"$${CMAKE_LIB_FILE_LOCATION_RELEASE}\" \"$${CMAKE_IMPLIB_FILE_LOCATION_RELEASE}\" )
- !!ENDIF // CMAKE_STATIC_WINDOWS_BUILD
- endif()
-@@ -354,11 +286,7 @@ if (NOT TARGET Qt5::$${CMAKE_MODULE_NAME})
- macro(_populate_$${CMAKE_MODULE_NAME}_plugin_properties Plugin Configuration PLUGIN_LOCATION)
- set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
-
--!!IF isEmpty(CMAKE_PLUGIN_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_PLUGIN_DIR}${PLUGIN_LOCATION}\")
--!!ELSE
- set(imported_location \"$${CMAKE_PLUGIN_DIR}${PLUGIN_LOCATION}\")
--!!ENDIF
- _qt5_$${CMAKE_MODULE_NAME}_check_file_exists(${imported_location})
- set_target_properties(Qt5::${Plugin} PROPERTIES
- \"IMPORTED_LOCATION_${Configuration}\" ${imported_location}
-diff --git a/mkspecs/features/mac/default_post.prf b/mkspecs/features/mac/default_post.prf
-index e645ba5803..a0e5c68b7e 100644
---- a/mkspecs/features/mac/default_post.prf
-+++ b/mkspecs/features/mac/default_post.prf
-@@ -24,166 +24,3 @@ qt {
- }
- }
- }
--
--# Add the same default rpaths as Xcode does for new projects.
--# This is especially important for iOS/tvOS/watchOS where no other option is possible.
--!no_default_rpath {
-- QMAKE_RPATHDIR += @executable_path/Frameworks
-- equals(TEMPLATE, lib):!plugin:lib_bundle: QMAKE_RPATHDIR += @loader_path/Frameworks
--}
--
--# Don't pass -headerpad_max_install_names when using Bitcode.
--# In that case the linker emits a warning stating that the flag is ignored when
--# used with bitcode, for reasons that cannot be determined (rdar://problem/20748962).
--# Using this flag is also unnecessary in practice on UIKit platforms since they
--# are sandboxed, and only UIKit platforms support bitcode to begin with.
--!bitcode: QMAKE_LFLAGS += $$QMAKE_LFLAGS_HEADERPAD
--
--app_extension_api_only {
-- QMAKE_CFLAGS += $$QMAKE_CFLAGS_APPLICATION_EXTENSION
-- QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_APPLICATION_EXTENSION
-- QMAKE_CXXFLAGS_PRECOMPILE += $$QMAKE_CFLAGS_APPLICATION_EXTENSION
-- QMAKE_LFLAGS += $$QMAKE_CFLAGS_APPLICATION_EXTENSION
--}
--
--macx-xcode {
-- !isEmpty(QMAKE_XCODE_DEBUG_INFORMATION_FORMAT) {
-- debug_information_format.name = DEBUG_INFORMATION_FORMAT
-- debug_information_format.value = $$QMAKE_XCODE_DEBUG_INFORMATION_FORMAT
-- debug_information_format.build = debug
-- QMAKE_MAC_XCODE_SETTINGS += debug_information_format
-- }
--
-- QMAKE_XCODE_ARCHS =
--
-- arch_device.name = "ARCHS[sdk=$${device.sdk}*]"
-- arch_device.value = $$QMAKE_APPLE_DEVICE_ARCHS
-- QMAKE_XCODE_ARCHS += $$QMAKE_APPLE_DEVICE_ARCHS
-- QMAKE_MAC_XCODE_SETTINGS += arch_device
--
-- simulator {
-- arch_simulator.name = "ARCHS[sdk=$${simulator.sdk}*]"
-- arch_simulator.value = $$QMAKE_APPLE_SIMULATOR_ARCHS
-- QMAKE_XCODE_ARCHS += $$QMAKE_APPLE_SIMULATOR_ARCHS
-- QMAKE_MAC_XCODE_SETTINGS += arch_simulator
-- }
--
-- only_active_arch.name = ONLY_ACTIVE_ARCH
-- only_active_arch.value = YES
-- only_active_arch.build = debug
-- QMAKE_MAC_XCODE_SETTINGS += only_active_arch
--} else {
-- device|!simulator: VALID_DEVICE_ARCHS = $$QMAKE_APPLE_DEVICE_ARCHS
-- simulator: VALID_SIMULATOR_ARCHS = $$QMAKE_APPLE_SIMULATOR_ARCHS
-- VALID_ARCHS = $$VALID_DEVICE_ARCHS $$VALID_SIMULATOR_ARCHS
--
-- isEmpty(VALID_ARCHS): \
-- error("QMAKE_APPLE_DEVICE_ARCHS or QMAKE_APPLE_SIMULATOR_ARCHS must contain at least one architecture")
--
-- single_arch: VALID_ARCHS = $$first(VALID_ARCHS)
--
-- ACTIVE_ARCHS = $(filter $(EXPORT_VALID_ARCHS), $(ARCHS))
-- ARCH_ARGS = $(foreach arch, $(if $(EXPORT_ACTIVE_ARCHS), $(EXPORT_ACTIVE_ARCHS), $(EXPORT_VALID_ARCHS)), -arch $(arch))
--
-- QMAKE_EXTRA_VARIABLES += VALID_ARCHS ACTIVE_ARCHS ARCH_ARGS
--
-- arch_flags = $(EXPORT_ARCH_ARGS)
--
-- QMAKE_CFLAGS += $$arch_flags
-- QMAKE_CXXFLAGS += $$arch_flags
-- QMAKE_LFLAGS += $$arch_flags
--
-- QMAKE_PCH_ARCHS = $$VALID_ARCHS
--
-- macos: deployment_target = $$QMAKE_MACOSX_DEPLOYMENT_TARGET
-- ios: deployment_target = $$QMAKE_IOS_DEPLOYMENT_TARGET
-- tvos: deployment_target = $$QMAKE_TVOS_DEPLOYMENT_TARGET
-- watchos: deployment_target = $$QMAKE_WATCHOS_DEPLOYMENT_TARGET
--
-- # If we're doing a simulator and device build, device and simulator
-- # architectures use different paths and flags for the sysroot and
-- # deployment target switch, so we must multiplex them across multiple
-- # architectures using -Xarch. Otherwise we fall back to the simple path.
-- # This is not strictly necessary, but results in cleaner command lines
-- # and makes it easier for people to override EXPORT_VALID_ARCHS to limit
-- # individual rules to a different set of architecture(s) from the overall
-- # build (such as machtest in QtCore).
-- simulator:device {
-- QMAKE_XARCH_CFLAGS =
-- QMAKE_XARCH_LFLAGS =
-- QMAKE_EXTRA_VARIABLES += QMAKE_XARCH_CFLAGS QMAKE_XARCH_LFLAGS
--
-- for (arch, VALID_ARCHS) {
-- contains(VALID_SIMULATOR_ARCHS, $$arch) {
-- sdk = $$simulator.sdk
-- version_identifier = $$simulator.deployment_identifier
-- } else {
-- sdk = $$device.sdk
-- version_identifier = $$device.deployment_identifier
-- }
--
-- version_min_flags = \
-- -Xarch_$${arch} \
-- -m$${version_identifier}-version-min=$$deployment_target
-- QMAKE_XARCH_CFLAGS_$${arch} = $$version_min_flags \
-- -Xarch_$${arch} \
-- -isysroot$$xcodeSDKInfo(Path, $$sdk)
-- QMAKE_XARCH_LFLAGS_$${arch} = $$version_min_flags \
-- -Xarch_$${arch} \
-- -Wl,-syslibroot,$$xcodeSDKInfo(Path, $$sdk)
--
-- QMAKE_XARCH_CFLAGS += $(EXPORT_QMAKE_XARCH_CFLAGS_$${arch})
-- QMAKE_XARCH_LFLAGS += $(EXPORT_QMAKE_XARCH_LFLAGS_$${arch})
--
-- QMAKE_EXTRA_VARIABLES += \
-- QMAKE_XARCH_CFLAGS_$${arch} \
-- QMAKE_XARCH_LFLAGS_$${arch}
-- }
--
-- QMAKE_CFLAGS += $(EXPORT_QMAKE_XARCH_CFLAGS)
-- QMAKE_CXXFLAGS += $(EXPORT_QMAKE_XARCH_CFLAGS)
-- QMAKE_LFLAGS += $(EXPORT_QMAKE_XARCH_LFLAGS)
-- } else {
-- simulator: \
-- version_identifier = $$simulator.deployment_identifier
-- else: \
-- version_identifier = $$device.deployment_identifier
-- version_min_flag = -m$${version_identifier}-version-min=$$deployment_target
-- QMAKE_CFLAGS += -isysroot $$QMAKE_MAC_SDK_PATH $$version_min_flag
-- QMAKE_CXXFLAGS += -isysroot $$QMAKE_MAC_SDK_PATH $$version_min_flag
-- QMAKE_LFLAGS += -Wl,-syslibroot,$$QMAKE_MAC_SDK_PATH $$version_min_flag
-- }
--
-- # Enable precompiled headers for multiple architectures
-- QMAKE_CFLAGS_USE_PRECOMPILE =
-- for (arch, VALID_ARCHS) {
-- icc_pch_style: \
-- use_flag = "-pch-use "
-- else: \
-- use_flag = -include
--
-- # Only use Xarch with multi-arch, as the option confuses ccache
-- count(VALID_ARCHS, 1, greaterThan): \
-- QMAKE_CFLAGS_USE_PRECOMPILE += \
-- -Xarch_$${arch}
--
-- QMAKE_CFLAGS_USE_PRECOMPILE += \
-- $${use_flag}${QMAKE_PCH_OUTPUT_$${arch}}
-- }
-- icc_pch_style {
-- QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE -include ${QMAKE_PCH_INPUT}
-- QMAKE_CFLAGS_USE_PRECOMPILE =
-- } else {
-- QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
-- QMAKE_OBJCFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
-- QMAKE_OBJCXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
-- }
--
-- QMAKE_PCH_OUTPUT_EXT = _${QMAKE_PCH_ARCH}$${QMAKE_PCH_OUTPUT_EXT}
--}
--
--cache(QMAKE_XCODE_DEVELOPER_PATH, stash)
--!isEmpty(QMAKE_XCODE_VERSION): \
-- cache(QMAKE_XCODE_VERSION, stash)
--
--QMAKE_XCODE_LIBRARY_SUFFIX = $$qtPlatformTargetSuffix()
-diff --git a/mkspecs/features/mac/default_pre.prf b/mkspecs/features/mac/default_pre.prf
-index 44636f2288..3b01424e67 100644
---- a/mkspecs/features/mac/default_pre.prf
-+++ b/mkspecs/features/mac/default_pre.prf
-@@ -1,56 +1,2 @@
- CONFIG = asset_catalogs rez $$CONFIG
- load(default_pre)
--
--isEmpty(QMAKE_XCODE_DEVELOPER_PATH) {
-- # Get path of Xcode's Developer directory
-- QMAKE_XCODE_DEVELOPER_PATH = $$system("/usr/bin/xcode-select --print-path 2>/dev/null")
-- isEmpty(QMAKE_XCODE_DEVELOPER_PATH): \
-- error("Xcode path is not set. Please use xcode-select to choose Xcode installation path.")
--
-- # Make sure Xcode path is valid
-- !exists($$QMAKE_XCODE_DEVELOPER_PATH): \
-- error("Xcode is not installed in $${QMAKE_XCODE_DEVELOPER_PATH}. Please use xcode-select to choose Xcode installation path.")
--}
--
--isEmpty(QMAKE_XCODEBUILD_PATH): \
-- QMAKE_XCODEBUILD_PATH = $$system("/usr/bin/xcrun -find xcodebuild 2>/dev/null")
--
--!isEmpty(QMAKE_XCODEBUILD_PATH) {
-- # Make sure Xcode is set up properly
-- !system("/usr/bin/xcrun xcodebuild -license check 2>/dev/null"): \
-- error("Xcode not set up properly. You need to confirm the license agreement by running 'sudo xcrun xcodebuild -license accept'.")
--
-- isEmpty(QMAKE_XCODE_VERSION) {
-- # Extract Xcode version using xcodebuild
-- xcode_version = $$system("/usr/bin/xcrun xcodebuild -version")
-- QMAKE_XCODE_VERSION = $$member(xcode_version, 1)
-- isEmpty(QMAKE_XCODE_VERSION): error("Could not resolve Xcode version.")
-- unset(xcode_version)
-- }
--}
--
--isEmpty(QMAKE_TARGET_BUNDLE_PREFIX) {
-- QMAKE_XCODE_PREFERENCES_FILE = $$(HOME)/Library/Preferences/com.apple.dt.Xcode.plist
-- exists($$QMAKE_XCODE_PREFERENCES_FILE): \
-- QMAKE_TARGET_BUNDLE_PREFIX = $$system("/usr/libexec/PlistBuddy -c 'print IDETemplateOptions:bundleIdentifierPrefix' $$QMAKE_XCODE_PREFERENCES_FILE 2>/dev/null")
--
-- !isEmpty(_QMAKE_CACHE_):!isEmpty(QMAKE_TARGET_BUNDLE_PREFIX): \
-- cache(QMAKE_TARGET_BUNDLE_PREFIX)
--}
--
--QMAKE_ASSET_CATALOGS_APP_ICON = AppIcon
--
--# Make the default debug info format for static debug builds
--# DWARF instead of DWARF with dSYM. This cuts down build times
--# for application debug builds significantly, as Xcode doesn't
--# have to pull out all the DWARF info from the Qt static libs
--# and put it into a dSYM file. We don't need that dSYM file in
--# the first place, since the information is available in the
--# object files inside the archives (static libraries).
--macx-xcode:qtConfig(static): \
-- QMAKE_XCODE_DEBUG_INFORMATION_FORMAT = dwarf
--
--# This variable is used by the xcode_dynamic_library_suffix
--# feature, which allows Xcode to choose the Qt libraries to link to
--# at build time, depending on the current Xcode SDK and configuration.
--QMAKE_XCODE_LIBRARY_SUFFIX_SETTING = QT_LIBRARY_SUFFIX
-diff --git a/mkspecs/features/mac/sdk.prf b/mkspecs/features/mac/sdk.prf
-index 3f6dc076ca..e69de29bb2 100644
---- a/mkspecs/features/mac/sdk.prf
-+++ b/mkspecs/features/mac/sdk.prf
-@@ -1,58 +0,0 @@
--
--isEmpty(QMAKE_MAC_SDK): \
-- error("QMAKE_MAC_SDK must be set when using CONFIG += sdk.")
--
--contains(QMAKE_MAC_SDK, .*/.*): \
-- error("QMAKE_MAC_SDK can only contain short-form SDK names (eg. macosx, iphoneos)")
--
--defineReplace(xcodeSDKInfo) {
-- info = $$1
-- equals(info, "Path"): \
-- info = --show-sdk-path
-- equals(info, "PlatformPath"): \
-- info = --show-sdk-platform-path
-- equals(info, "SDKVersion"): \
-- info = --show-sdk-version
-- sdk = $$2
-- isEmpty(sdk): \
-- sdk = $$QMAKE_MAC_SDK
--
-- isEmpty(QMAKE_MAC_SDK.$${sdk}.$${info}) {
-- QMAKE_MAC_SDK.$${sdk}.$${info} = $$system("/usr/bin/xcrun --sdk $$sdk $$info 2>/dev/null")
-- # --show-sdk-platform-path won't work for Command Line Tools; this is fine
-- # only used by the XCTest backend to testlib
-- isEmpty(QMAKE_MAC_SDK.$${sdk}.$${info}):if(!isEmpty(QMAKE_XCODEBUILD_PATH)|!equals(info, "--show-sdk-platform-path")): \
-- error("Could not resolve SDK $$info for \'$$sdk\'")
-- cache(QMAKE_MAC_SDK.$${sdk}.$${info}, set stash, QMAKE_MAC_SDK.$${sdk}.$${info})
-- }
--
-- return($$eval(QMAKE_MAC_SDK.$${sdk}.$${info}))
--}
--
--QMAKE_MAC_SDK_PATH = $$xcodeSDKInfo(Path)
--QMAKE_MAC_SDK_PLATFORM_PATH = $$xcodeSDKInfo(PlatformPath)
--QMAKE_MAC_SDK_VERSION = $$xcodeSDKInfo(SDKVersion)
--
--sysrootified =
--for(val, QMAKE_INCDIR_OPENGL): sysrootified += $${QMAKE_MAC_SDK_PATH}$$val
--QMAKE_INCDIR_OPENGL = $$sysrootified
--
--QMAKESPEC_NAME = $$basename(QMAKESPEC)
--
--# Resolve SDK version of various tools
--for(tool, $$list(QMAKE_CC QMAKE_CXX QMAKE_FIX_RPATH QMAKE_AR QMAKE_RANLIB QMAKE_LINK QMAKE_LINK_SHLIB QMAKE_ACTOOL)) {
-- tool_variable = QMAKE_MAC_SDK.$${QMAKESPEC_NAME}.$${QMAKE_MAC_SDK}.$${tool}
-- !isEmpty($$tool_variable) {
-- $$tool = $$eval($$tool_variable)
-- next()
-- }
--
-- value = $$eval($$tool)
-- isEmpty(value): next()
--
-- sysrooted = $$system("/usr/bin/xcrun -sdk $$QMAKE_MAC_SDK -find $$first(value) 2>/dev/null")
-- isEmpty(sysrooted): next()
--
-- $$tool = $$sysrooted $$member(value, 1, -1)
-- cache($$tool_variable, set stash, $$tool)
--}
-diff --git a/mkspecs/features/qml_module.prf b/mkspecs/features/qml_module.prf
-index 4db0040dc5..65d6da1f4d 100644
---- a/mkspecs/features/qml_module.prf
-+++ b/mkspecs/features/qml_module.prf
-@@ -23,13 +23,8 @@ for(qmlf, AUX_QML_FILES): fq_aux_qml_files += $$absolute_path($$qmlf, $$_PRO_FIL
-
- load(qt_build_paths)
-
--qml1_target {
-- DESTDIR = $$MODULE_BASE_OUTDIR/imports/$$TARGETPATH
-- instbase = $$[QT_INSTALL_IMPORTS]
--} else {
-- DESTDIR = $$MODULE_BASE_OUTDIR/qml/$$TARGETPATH
-- instbase = $$[QT_INSTALL_QML]
--}
-+DESTDIR = $$MODULE_BASE_OUTDIR/qml/$$TARGETPATH
-+instbase = $$NIX_OUTPUT_QML
-
- !qml1_target:static: CONFIG += builtin_resources
-
-diff --git a/mkspecs/features/qml_plugin.prf b/mkspecs/features/qml_plugin.prf
-index d49f4c49c1..097dcd7d39 100644
---- a/mkspecs/features/qml_plugin.prf
-+++ b/mkspecs/features/qml_plugin.prf
-@@ -48,13 +48,8 @@ exists($$QMLTYPEFILE): AUX_QML_FILES += $$QMLTYPEFILE
-
- load(qt_build_paths)
-
--qml1_target {
-- DESTDIR = $$MODULE_BASE_OUTDIR/imports/$$TARGETPATH
-- instbase = $$[QT_INSTALL_IMPORTS]
--} else {
-- DESTDIR = $$MODULE_BASE_OUTDIR/qml/$$TARGETPATH
-- instbase = $$[QT_INSTALL_QML]
--}
-+DESTDIR = $$MODULE_BASE_OUTDIR/qml/$$TARGETPATH
-+instbase = $$NIX_OUTPUT_QML
-
- target.path = $$instbase/$$TARGETPATH
- INSTALLS += target
-diff --git a/mkspecs/features/qt_app.prf b/mkspecs/features/qt_app.prf
-index 883f8ca215..81db8eb2d4 100644
---- a/mkspecs/features/qt_app.prf
-+++ b/mkspecs/features/qt_app.prf
-@@ -33,7 +33,7 @@ host_build:force_bootstrap {
- target.path = $$[QT_HOST_BINS]
- } else {
- !build_pass:qtConfig(debug_and_release): CONFIG += release
-- target.path = $$[QT_INSTALL_BINS]
-+ target.path = $$NIX_OUTPUT_BIN/bin
- CONFIG += relative_qt_rpath # Qt's tools and apps should be relocatable
- }
- INSTALLS += target
-diff --git a/mkspecs/features/qt_build_paths.prf b/mkspecs/features/qt_build_paths.prf
-index 1848f00e90..2af93675c5 100644
---- a/mkspecs/features/qt_build_paths.prf
-+++ b/mkspecs/features/qt_build_paths.prf
-@@ -23,6 +23,6 @@ exists($$MODULE_BASE_INDIR/.git): \
- !force_independent {
- # If the module is not built independently, everything ends up in qtbase.
- # This is the case in non-prefix builds, except for selected modules.
-- MODULE_BASE_OUTDIR = $$[QT_HOST_PREFIX]
-- MODULE_QMAKE_OUTDIR = $$[QT_HOST_PREFIX]
-+ MODULE_BASE_OUTDIR = $$NIX_OUTPUT_OUT
-+ MODULE_QMAKE_OUTDIR = $$NIX_OUTPUT_OUT
- }
-diff --git a/mkspecs/features/qt_common.prf b/mkspecs/features/qt_common.prf
-index fb96d1b6a0..508ed17d30 100644
---- a/mkspecs/features/qt_common.prf
-+++ b/mkspecs/features/qt_common.prf
-@@ -32,8 +32,8 @@ contains(TEMPLATE, .*lib) {
- qqt_libdir = \$\$\$\$[QT_HOST_LIBS]
- qt_libdir = $$[QT_HOST_LIBS]
- } else {
-- qqt_libdir = \$\$\$\$[QT_INSTALL_LIBS]
-- qt_libdir = $$[QT_INSTALL_LIBS]
-+ qqt_libdir = \$\$\$\$NIX_OUTPUT_OUT/lib
-+ qt_libdir = $$NIX_OUTPUT_OUT/lib
- }
- contains(QMAKE_DEFAULT_LIBDIRS, $$qt_libdir) {
- lib_replace.match = "[^ ']*$$rplbase/lib"
-diff --git a/mkspecs/features/qt_docs.prf b/mkspecs/features/qt_docs.prf
-index 72dde61a40..f891a2baed 100644
---- a/mkspecs/features/qt_docs.prf
-+++ b/mkspecs/features/qt_docs.prf
-@@ -45,7 +45,7 @@ QMAKE_DOCS_OUTPUTDIR = $$QMAKE_DOCS_BASE_OUTDIR/$$QMAKE_DOCS_TARGETDIR
-
- QDOC += -outputdir $$shell_quote($$QMAKE_DOCS_OUTPUTDIR)
- !build_online_docs: \
-- QDOC += -installdir $$shell_quote($$[QT_INSTALL_DOCS])
-+ QDOC += -installdir $$shell_quote($$NIX_OUTPUT_DOC)
- PREP_DOC_INDEXES =
- DOC_INDEXES =
- !isEmpty(QTREPOS) {
-@@ -64,8 +64,8 @@ DOC_INDEXES =
- DOC_INDEXES += -indexdir $$shell_quote($$qrep/doc)
- } else {
- prepare_docs: \
-- PREP_DOC_INDEXES += -indexdir $$shell_quote($$[QT_INSTALL_DOCS/get])
-- DOC_INDEXES += -indexdir $$shell_quote($$[QT_INSTALL_DOCS/get])
-+ PREP_DOC_INDEXES += -indexdir $$shell_quote($$NIX_OUTPUT_DOC)
-+ DOC_INDEXES += -indexdir $$shell_quote($$NIX_OUTPUT_DOC)
- }
-
- qtattributionsscanner.target = qtattributionsscanner
-@@ -88,12 +88,12 @@ prepare_docs {
- qch_docs.commands = $$QHELPGENERATOR $$shell_quote($$QMAKE_DOCS_OUTPUTDIR/$${QMAKE_DOCS_TARGET}.qhp) -o $$shell_quote($$QMAKE_DOCS_BASE_OUTDIR/$${QMAKE_DOCS_TARGET}.qch)
-
- inst_html_docs.files = $$QMAKE_DOCS_OUTPUTDIR
-- inst_html_docs.path = $$[QT_INSTALL_DOCS]
-+ inst_html_docs.path = $$NIX_OUTPUT_DOC
- inst_html_docs.CONFIG += no_check_exist directory no_default_install no_build
- INSTALLS += inst_html_docs
-
- inst_qch_docs.files = $$QMAKE_DOCS_BASE_OUTDIR/$${QMAKE_DOCS_TARGET}.qch
-- inst_qch_docs.path = $$[QT_INSTALL_DOCS]
-+ inst_qch_docs.path = $$NIX_OUTPUT_DOC
- inst_qch_docs.CONFIG += no_check_exist no_default_install no_build
- INSTALLS += inst_qch_docs
-
-diff --git a/mkspecs/features/qt_example_installs.prf b/mkspecs/features/qt_example_installs.prf
-index 668669e4cd..eb4840a0aa 100644
---- a/mkspecs/features/qt_example_installs.prf
-+++ b/mkspecs/features/qt_example_installs.prf
-@@ -82,7 +82,7 @@ sourcefiles += \
- $$SOURCES $$HEADERS $$FORMS $$RESOURCES $$TRANSLATIONS \
- $$DBUS_ADAPTORS $$DBUS_INTERFACES
- addInstallFiles(sources.files, $$sourcefiles)
--sources.path = $$[QT_INSTALL_EXAMPLES]/$$probase
-+sources.path = $$NIX_OUTPUT_DEV/share/examples/$$probase
- INSTALLS += sources
-
- check_examples {
-diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf
-index 1903e509c8..ae7b585989 100644
---- a/mkspecs/features/qt_functions.prf
-+++ b/mkspecs/features/qt_functions.prf
-@@ -69,7 +69,7 @@ defineTest(qtHaveModule) {
- defineTest(qtPrepareTool) {
- cmd = $$eval(QT_TOOL.$${2}.binary)
- isEmpty(cmd) {
-- cmd = $$[QT_HOST_BINS]/$$2
-+ cmd = $$system("command -v $$2")
- exists($${cmd}.pl) {
- $${1}_EXE = $${cmd}.pl
- cmd = perl -w $$system_path($${cmd}.pl)
-diff --git a/mkspecs/features/qt_installs.prf b/mkspecs/features/qt_installs.prf
-index 0d3dfb6b93..5f935b4424 100644
---- a/mkspecs/features/qt_installs.prf
-+++ b/mkspecs/features/qt_installs.prf
-@@ -12,16 +12,10 @@
- #library
- !qt_no_install_library {
- win32 {
-- host_build: \
-- dlltarget.path = $$[QT_HOST_BINS]
-- else: \
-- dlltarget.path = $$[QT_INSTALL_BINS]
-+ dlltarget.path = $$NIX_OUTPUT_BIN/bin
- INSTALLS += dlltarget
- }
-- host_build: \
-- target.path = $$[QT_HOST_LIBS]
-- else: \
-- target.path = $$[QT_INSTALL_LIBS]
-+ target.path = $$NIX_OUTPUT_OUT/lib
- !static: target.CONFIG = no_dll
- INSTALLS += target
- }
-@@ -29,33 +23,33 @@
- #headers
- qt_install_headers {
- class_headers.files = $$SYNCQT.HEADER_CLASSES
-- class_headers.path = $$[QT_INSTALL_HEADERS]/$$MODULE_INCNAME
-+ class_headers.path = $$NIX_OUTPUT_DEV/include/$$MODULE_INCNAME
- INSTALLS += class_headers
-
- targ_headers.files = $$SYNCQT.HEADER_FILES
-- targ_headers.path = $$[QT_INSTALL_HEADERS]/$$MODULE_INCNAME
-+ targ_headers.path = $$NIX_OUTPUT_DEV/include/$$MODULE_INCNAME
- INSTALLS += targ_headers
-
- private_headers.files = $$SYNCQT.PRIVATE_HEADER_FILES $$SYNCQT.INJECTED_PRIVATE_HEADER_FILES
-- private_headers.path = $$[QT_INSTALL_HEADERS]/$$MODULE_INCNAME/$$VERSION/$$MODULE_INCNAME/private
-+ private_headers.path = $$NIX_OUTPUT_DEV/include/$$MODULE_INCNAME/$$VERSION/$$MODULE_INCNAME/private
- INSTALLS += private_headers
-
- qpa_headers.files = $$SYNCQT.QPA_HEADER_FILES
-- qpa_headers.path = $$[QT_INSTALL_HEADERS]/$$MODULE_INCNAME/$$VERSION/$$MODULE_INCNAME/qpa
-+ qpa_headers.path = $$NIX_OUTPUT_DEV/include/$$MODULE_INCNAME/$$VERSION/$$MODULE_INCNAME/qpa
- INSTALLS += qpa_headers
- }
-
- #module
- qt_install_module {
- !isEmpty(MODULE_PRI) {
-- pritarget.path = $$[QT_HOST_DATA]/mkspecs/modules
-+ pritarget.path = $$NIX_OUTPUT_DEV/mkspecs/modules
- pritarget.files = $$MODULE_PRI
- INSTALLS += pritarget
- } else: isEmpty(MODULE_PRIVATE_PRI) {
- warning("Project $$basename(_PRO_FILE_) is a module, but has not defined MODULE_PRI, which is required for Qt to expose the module to other projects.")
- }
- !isEmpty(MODULE_PRIVATE_PRI) {
-- privpritarget.path = $$[QT_HOST_DATA]/mkspecs/modules
-+ privpritarget.path = $$NIX_OUTPUT_DEV/mkspecs/modules
- privpritarget.files = $$MODULE_PRIVATE_PRI
- INSTALLS += privpritarget
- }
-diff --git a/mkspecs/features/qt_plugin.prf b/mkspecs/features/qt_plugin.prf
-index 62e1b69fde..abd63123f9 100644
---- a/mkspecs/features/qt_plugin.prf
-+++ b/mkspecs/features/qt_plugin.prf
-@@ -88,7 +88,7 @@ CONFIG(static, static|shared)|prefix_build {
- }
- }
-
--target.path = $$[QT_INSTALL_PLUGINS]/$$PLUGIN_TYPE
-+target.path = $$NIX_OUTPUT_PLUGIN/$$PLUGIN_TYPE
- INSTALLS += target
-
- TARGET = $$qt5LibraryTarget($$TARGET)
-diff --git a/src/corelib/Qt5CoreConfigExtras.cmake.in b/src/corelib/Qt5CoreConfigExtras.cmake.in
-index 545b9a3d1e..6ac0cdefe4 100644
---- a/src/corelib/Qt5CoreConfigExtras.cmake.in
-+++ b/src/corelib/Qt5CoreConfigExtras.cmake.in
-@@ -3,7 +3,7 @@ if (NOT TARGET Qt5::qmake)
- add_executable(Qt5::qmake IMPORTED)
-
- !!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5Core_install_prefix}/$${CMAKE_BIN_DIR}qmake$$CMAKE_BIN_SUFFIX\")
-+ set(imported_location \"$$NIX_OUTPUT_DEV/$${CMAKE_BIN_DIR}qmake$$CMAKE_BIN_SUFFIX\")
- !!ELSE
- set(imported_location \"$${CMAKE_BIN_DIR}qmake$$CMAKE_BIN_SUFFIX\")
- !!ENDIF
-@@ -18,7 +18,7 @@ if (NOT TARGET Qt5::moc)
- add_executable(Qt5::moc IMPORTED)
-
- !!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5Core_install_prefix}/$${CMAKE_BIN_DIR}moc$$CMAKE_BIN_SUFFIX\")
-+ set(imported_location \"$$NIX_OUTPUT_DEV/$${CMAKE_BIN_DIR}moc$$CMAKE_BIN_SUFFIX\")
- !!ELSE
- set(imported_location \"$${CMAKE_BIN_DIR}moc$$CMAKE_BIN_SUFFIX\")
- !!ENDIF
-@@ -35,7 +35,7 @@ if (NOT TARGET Qt5::rcc)
- add_executable(Qt5::rcc IMPORTED)
-
- !!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5Core_install_prefix}/$${CMAKE_BIN_DIR}rcc$$CMAKE_BIN_SUFFIX\")
-+ set(imported_location \"$$NIX_OUTPUT_DEV/$${CMAKE_BIN_DIR}rcc$$CMAKE_BIN_SUFFIX\")
- !!ELSE
- set(imported_location \"$${CMAKE_BIN_DIR}rcc$$CMAKE_BIN_SUFFIX\")
- !!ENDIF
-@@ -133,7 +133,7 @@ if (NOT TARGET Qt5::WinMain)
- !!IF !isEmpty(CMAKE_RELEASE_TYPE)
- set_property(TARGET Qt5::WinMain APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
- !!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5Core_install_prefix}/$${CMAKE_LIB_DIR}$${CMAKE_WINMAIN_FILE_LOCATION_RELEASE}\")
-+ set(imported_location \"$$NIX_OUTPUT_DEV/$${CMAKE_LIB_DIR}$${CMAKE_WINMAIN_FILE_LOCATION_RELEASE}\")
- !!ELSE
- set(imported_location \"$${CMAKE_LIB_DIR}$${CMAKE_WINMAIN_FILE_LOCATION_RELEASE}\")
- !!ENDIF
-@@ -147,7 +147,7 @@ if (NOT TARGET Qt5::WinMain)
- set_property(TARGET Qt5::WinMain APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG)
-
- !!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5Core_install_prefix}/$${CMAKE_LIB_DIR}$${CMAKE_WINMAIN_FILE_LOCATION_DEBUG}\")
-+ set(imported_location \"$$NIX_OUTPUT_DEV/$${CMAKE_LIB_DIR}$${CMAKE_WINMAIN_FILE_LOCATION_DEBUG}\")
- !!ELSE
- set(imported_location \"$${CMAKE_LIB_DIR}$${CMAKE_WINMAIN_FILE_LOCATION_DEBUG}\")
- !!ENDIF
-diff --git a/src/corelib/Qt5CoreConfigExtrasMkspecDir.cmake.in b/src/corelib/Qt5CoreConfigExtrasMkspecDir.cmake.in
-index c357237d0e..6f0c75de3c 100644
---- a/src/corelib/Qt5CoreConfigExtrasMkspecDir.cmake.in
-+++ b/src/corelib/Qt5CoreConfigExtrasMkspecDir.cmake.in
-@@ -1,6 +1,6 @@
-
- !!IF isEmpty(CMAKE_HOST_DATA_DIR_IS_ABSOLUTE)
--set(_qt5_corelib_extra_includes \"${_qt5Core_install_prefix}/$${CMAKE_HOST_DATA_DIR}/mkspecs/$${CMAKE_MKSPEC}\")
-+set(_qt5_corelib_extra_includes \"$$NIX_OUTPUT_DEV/$${CMAKE_HOST_DATA_DIR}/mkspecs/$${CMAKE_MKSPEC}\")
- !!ELSE
- set(_qt5_corelib_extra_includes \"$${CMAKE_HOST_DATA_DIR}mkspecs/$${CMAKE_MKSPEC}\")
- !!ENDIF
-diff --git a/src/corelib/Qt5CoreConfigExtrasMkspecDirForInstall.cmake.in b/src/corelib/Qt5CoreConfigExtrasMkspecDirForInstall.cmake.in
-index 706304cf34..546420f6ad 100644
---- a/src/corelib/Qt5CoreConfigExtrasMkspecDirForInstall.cmake.in
-+++ b/src/corelib/Qt5CoreConfigExtrasMkspecDirForInstall.cmake.in
-@@ -1,6 +1,6 @@
-
- !!IF isEmpty(CMAKE_INSTALL_DATA_DIR_IS_ABSOLUTE)
--set(_qt5_corelib_extra_includes \"${_qt5Core_install_prefix}/$${CMAKE_INSTALL_DATA_DIR}/mkspecs/$${CMAKE_MKSPEC}\")
-+set(_qt5_corelib_extra_includes \"$$NIX_OUTPUT_DEV/$${CMAKE_INSTALL_DATA_DIR}/mkspecs/$${CMAKE_MKSPEC}\")
- !!ELSE
- set(_qt5_corelib_extra_includes \"$${CMAKE_INSTALL_DATA_DIR}mkspecs/$${CMAKE_MKSPEC}\")
- !!ENDIF
-diff --git a/src/corelib/kernel/qcoreapplication.cpp b/src/corelib/kernel/qcoreapplication.cpp
-index cba279c184..5ae3fd62e5 100644
---- a/src/corelib/kernel/qcoreapplication.cpp
-+++ b/src/corelib/kernel/qcoreapplication.cpp
-@@ -2533,6 +2533,15 @@ QStringList QCoreApplication::libraryPaths()
- QStringList *app_libpaths = new QStringList;
- coreappdata()->app_libpaths.reset(app_libpaths);
-
-+ // Add library paths derived from PATH
-+ const QStringList paths = QFile::decodeName(qgetenv("PATH")).split(':');
-+ const QString plugindir = QStringLiteral("../" NIXPKGS_QT_PLUGIN_PREFIX);
-+ for (const QString &path: paths) {
-+ if (!path.isEmpty()) {
-+ app_libpaths->append(QDir::cleanPath(path + QDir::separator() + plugindir));
-+ }
-+ }
-+
- const QByteArray libPathEnv = qgetenv("QT_PLUGIN_PATH");
- if (!libPathEnv.isEmpty()) {
- QStringList paths = QFile::decodeName(libPathEnv).split(QDir::listSeparator(), QString::SkipEmptyParts);
-diff --git a/src/corelib/tools/qtimezoneprivate_tz.cpp b/src/corelib/tools/qtimezoneprivate_tz.cpp
-index 4fdc2e36ac..d3ec222543 100644
---- a/src/corelib/tools/qtimezoneprivate_tz.cpp
-+++ b/src/corelib/tools/qtimezoneprivate_tz.cpp
-@@ -70,7 +70,11 @@ typedef QHash QTzTimeZoneHash;
- // Parse zone.tab table, assume lists all installed zones, if not will need to read directories
- static QTzTimeZoneHash loadTzTimeZones()
- {
-- QString path = QStringLiteral("/usr/share/zoneinfo/zone.tab");
-+ // Try TZDIR first, in case we're running on NixOS.
-+ QString path = QFile::decodeName(qgetenv("TZDIR")) + QStringLiteral("/zone.tab");
-+ // Fallback to traditional paths in case we are not on NixOS.
-+ if (!QFile::exists(path))
-+ path = QStringLiteral("/usr/share/zoneinfo/zone.tab");
- if (!QFile::exists(path))
- path = QStringLiteral("/usr/lib/zoneinfo/zone.tab");
-
-@@ -645,12 +649,16 @@ void QTzTimeZonePrivate::init(const QByteArray &ianaId)
- if (!tzif.open(QIODevice::ReadOnly))
- return;
- } else {
-- // Open named tz, try modern path first, if fails try legacy path
-- tzif.setFileName(QLatin1String("/usr/share/zoneinfo/") + QString::fromLocal8Bit(ianaId));
-+ // Try TZDIR first, in case we're running on NixOS
-+ tzif.setFileName(QFile::decodeName(qgetenv("TZDIR")) + QStringLiteral("/") + QString::fromLocal8Bit(ianaId));
- if (!tzif.open(QIODevice::ReadOnly)) {
-- tzif.setFileName(QLatin1String("/usr/lib/zoneinfo/") + QString::fromLocal8Bit(ianaId));
-- if (!tzif.open(QIODevice::ReadOnly))
-- return;
-+ // Open named tz, try modern path first, if fails try legacy path
-+ tzif.setFileName(QLatin1String("/usr/share/zoneinfo/") + QString::fromLocal8Bit(ianaId));
-+ if (!tzif.open(QIODevice::ReadOnly)) {
-+ tzif.setFileName(QLatin1String("/usr/lib/zoneinfo/") + QString::fromLocal8Bit(ianaId));
-+ if (!tzif.open(QIODevice::ReadOnly))
-+ return;
-+ }
- }
- }
-
-diff --git a/src/dbus/Qt5DBusConfigExtras.cmake.in b/src/dbus/Qt5DBusConfigExtras.cmake.in
-index 1d947159e2..b36865fc48 100644
---- a/src/dbus/Qt5DBusConfigExtras.cmake.in
-+++ b/src/dbus/Qt5DBusConfigExtras.cmake.in
-@@ -2,11 +2,7 @@
- if (NOT TARGET Qt5::qdbuscpp2xml)
- add_executable(Qt5::qdbuscpp2xml IMPORTED)
-
--!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5DBus_install_prefix}/$${CMAKE_BIN_DIR}qdbuscpp2xml$$CMAKE_BIN_SUFFIX\")
--!!ELSE
-- set(imported_location \"$${CMAKE_BIN_DIR}qdbuscpp2xml$$CMAKE_BIN_SUFFIX\")
--!!ENDIF
-+ set(imported_location \"$$NIX_OUTPUT_DEV/bin/qdbuscpp2xml$$CMAKE_BIN_SUFFIX\")
- _qt5_DBus_check_file_exists(${imported_location})
-
- set_target_properties(Qt5::qdbuscpp2xml PROPERTIES
-@@ -17,11 +13,7 @@ endif()
- if (NOT TARGET Qt5::qdbusxml2cpp)
- add_executable(Qt5::qdbusxml2cpp IMPORTED)
-
--!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5DBus_install_prefix}/$${CMAKE_BIN_DIR}qdbusxml2cpp$$CMAKE_BIN_SUFFIX\")
--!!ELSE
-- set(imported_location \"$${CMAKE_BIN_DIR}qdbusxml2cpp$$CMAKE_BIN_SUFFIX\")
--!!ENDIF
-+ set(imported_location \"$$NIX_OUTPUT_DEV/bin/qdbusxml2cpp$$CMAKE_BIN_SUFFIX\")
- _qt5_DBus_check_file_exists(${imported_location})
-
- set_target_properties(Qt5::qdbusxml2cpp PROPERTIES
-diff --git a/src/gui/Qt5GuiConfigExtras.cmake.in b/src/gui/Qt5GuiConfigExtras.cmake.in
-index 07869efd7d..fb4183bada 100644
---- a/src/gui/Qt5GuiConfigExtras.cmake.in
-+++ b/src/gui/Qt5GuiConfigExtras.cmake.in
-@@ -2,7 +2,7 @@
- !!IF !isEmpty(CMAKE_ANGLE_EGL_DLL_RELEASE)
-
- !!IF isEmpty(CMAKE_INCLUDE_DIR_IS_ABSOLUTE)
--set(Qt5Gui_EGL_INCLUDE_DIRS \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$$CMAKE_INCLUDE_DIR/QtANGLE\")
-+set(Qt5Gui_EGL_INCLUDE_DIRS \"$$NIX_OUTPUT_DEV/$$CMAKE_INCLUDE_DIR/QtANGLE\")
- !!ELSE
- set(Qt5Gui_EGL_INCLUDE_DIRS \"$$CMAKE_INCLUDE_DIR/QtANGLE\")
- !!ENDIF
-@@ -17,13 +17,13 @@ macro(_populate_qt5gui_gl_target_properties TargetName Configuration LIB_LOCATIO
- set_property(TARGET Qt5::${TargetName} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
-
- !!IF isEmpty(CMAKE_DLL_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5Gui_install_prefix}/$${CMAKE_DLL_DIR}${LIB_LOCATION}\")
-+ set(imported_location \"$$NIX_OUTPUT_OUT/$${CMAKE_DLL_DIR}${LIB_LOCATION}\")
- !!ELSE
- set(imported_location \"$${CMAKE_DLL_DIR}${LIB_LOCATION}\")
- !!ENDIF
-
- !!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
-- set(imported_implib \"${_qt5Gui_install_prefix}/$${CMAKE_LIB_DIR}${IMPLIB_LOCATION}\")
-+ set(imported_implib \"$$NIX_OUTPUT_OUT/$${CMAKE_LIB_DIR}${IMPLIB_LOCATION}\")
- !!ELSE
- set(imported_implib \"$${CMAKE_LIB_DIR}${IMPLIB_LOCATION}\")
- !!ENDIF
-diff --git a/src/network/kernel/qdnslookup_unix.cpp b/src/network/kernel/qdnslookup_unix.cpp
-index 1da00813ce..0bf877afcb 100644
---- a/src/network/kernel/qdnslookup_unix.cpp
-+++ b/src/network/kernel/qdnslookup_unix.cpp
-@@ -92,7 +92,7 @@ static bool resolveLibraryInternal()
- if (!lib.load())
- #endif
- {
-- lib.setFileName(QLatin1String("resolv"));
-+ lib.setFileName(QLatin1String(NIXPKGS_LIBRESOLV));
- if (!lib.load())
- return false;
- }
-diff --git a/src/network/kernel/qhostinfo_unix.cpp b/src/network/kernel/qhostinfo_unix.cpp
-index 9a24938284..74962b4ae2 100644
---- a/src/network/kernel/qhostinfo_unix.cpp
-+++ b/src/network/kernel/qhostinfo_unix.cpp
-@@ -102,7 +102,7 @@ static bool resolveLibraryInternal()
- if (!lib.load())
- #endif
- {
-- lib.setFileName(QLatin1String("resolv"));
-+ lib.setFileName(QLatin1String(NIXPKGS_LIBRESOLV));
- if (!lib.load())
- return false;
- }
-diff --git a/src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp b/src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp
-index b5a0a5bbeb..6c20305f4d 100644
---- a/src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp
-+++ b/src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp
-@@ -265,12 +265,9 @@ void TableGenerator::initPossibleLocations()
- m_possibleLocations.reserve(7);
- if (qEnvironmentVariableIsSet("QTCOMPOSE"))
- m_possibleLocations.append(QString::fromLocal8Bit(qgetenv("QTCOMPOSE")));
-- m_possibleLocations.append(QStringLiteral("/usr/share/X11/locale"));
-- m_possibleLocations.append(QStringLiteral("/usr/local/share/X11/locale"));
-- m_possibleLocations.append(QStringLiteral("/usr/lib/X11/locale"));
-- m_possibleLocations.append(QStringLiteral("/usr/local/lib/X11/locale"));
- m_possibleLocations.append(QStringLiteral(X11_PREFIX "/share/X11/locale"));
- m_possibleLocations.append(QStringLiteral(X11_PREFIX "/lib/X11/locale"));
-+ m_possibleLocations.append(QLatin1String(NIXPKGS_QTCOMPOSE));
- }
-
- QString TableGenerator::findComposeFile()
-diff --git a/src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp b/src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp
-index e2e573f0e1..1c8289f81e 100644
---- a/src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp
-+++ b/src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp
-@@ -580,7 +580,14 @@ QFunctionPointer QGLXContext::getProcAddress(const char *procName)
- #if QT_CONFIG(library)
- extern const QString qt_gl_library_name();
- // QLibrary lib(qt_gl_library_name());
-+ // Check system library paths first
- QLibrary lib(QLatin1String("GL"));
-+#ifdef NIXPKGS_MESA_GL
-+ if (!lib.load()) {
-+ // Fallback to Mesa driver
-+ lib.setFileName(QLatin1String(NIXPKGS_MESA_GL));
-+ }
-+#endif // NIXPKGS_MESA_GL
- glXGetProcAddressARB = (qt_glXGetProcAddressARB) lib.resolve("glXGetProcAddressARB");
- #endif
- }
-diff --git a/src/plugins/platforms/xcb/qxcbcursor.cpp b/src/plugins/platforms/xcb/qxcbcursor.cpp
-index 7c62c2e2b3..fefa40e0f6 100644
---- a/src/plugins/platforms/xcb/qxcbcursor.cpp
-+++ b/src/plugins/platforms/xcb/qxcbcursor.cpp
-@@ -311,10 +311,10 @@ QXcbCursor::QXcbCursor(QXcbConnection *conn, QXcbScreen *screen)
- #if QT_CONFIG(xcb_xlib) && QT_CONFIG(library)
- static bool function_ptrs_not_initialized = true;
- if (function_ptrs_not_initialized) {
-- QLibrary xcursorLib(QLatin1String("Xcursor"), 1);
-+ QLibrary xcursorLib(QLatin1String(NIXPKGS_LIBXCURSOR), 1);
- bool xcursorFound = xcursorLib.load();
- if (!xcursorFound) { // try without the version number
-- xcursorLib.setFileName(QLatin1String("Xcursor"));
-+ xcursorLib.setFileName(QLatin1String(NIXPKGS_LIBXCURSOR));
- xcursorFound = xcursorLib.load();
- }
- if (xcursorFound) {
-diff --git a/src/plugins/platformthemes/gtk3/main.cpp b/src/plugins/platformthemes/gtk3/main.cpp
-index c4cd66c33b..b6f2691587 100644
---- a/src/plugins/platformthemes/gtk3/main.cpp
-+++ b/src/plugins/platformthemes/gtk3/main.cpp
-@@ -39,6 +39,7 @@
-
- #include
- #include "qgtk3theme.h"
-+#include
-
- QT_BEGIN_NAMESPACE
-
-@@ -54,8 +55,22 @@ public:
- QPlatformTheme *QGtk3ThemePlugin::create(const QString &key, const QStringList ¶ms)
- {
- Q_UNUSED(params);
-- if (!key.compare(QLatin1String(QGtk3Theme::name), Qt::CaseInsensitive))
-+ if (!key.compare(QLatin1String(QGtk3Theme::name), Qt::CaseInsensitive)) {
-+
-+#ifdef NIXPKGS_QGTK3_XDG_DATA_DIRS
-+ QStringList XDG_DATA_DIRS = QFile::decodeName(qgetenv("XDG_DATA_DIRS")).split(':');
-+ XDG_DATA_DIRS << QLatin1String(NIXPKGS_QGTK3_XDG_DATA_DIRS);
-+ qputenv("XDG_DATA_DIRS", QFile::encodeName(XDG_DATA_DIRS.join(':')));
-+#endif
-+
-+#ifdef NIXPKGS_QGTK3_GIO_EXTRA_MODULES
-+ QStringList GIO_EXTRA_MODULES = QFile::decodeName(qgetenv("GIO_EXTRA_MODULES")).split(':');
-+ GIO_EXTRA_MODULES << QLatin1String(NIXPKGS_QGTK3_GIO_EXTRA_MODULES);
-+ qputenv("GIO_EXTRA_MODULES", QFile::encodeName(GIO_EXTRA_MODULES.join(':')));
-+#endif
-+
- return new QGtk3Theme;
-+ }
-
- return 0;
- }
-diff --git a/src/testlib/qtestassert.h b/src/testlib/qtestassert.h
-index 6498ea84ef..d821ced7fc 100644
---- a/src/testlib/qtestassert.h
-+++ b/src/testlib/qtestassert.h
-@@ -44,10 +44,13 @@
-
- QT_BEGIN_NAMESPACE
-
--
-+#if defined(QT_NO_DEBUG) && !defined(QT_FORCE_ASSERTS)
-+#define QTEST_ASSERT(cond) do { } while ((false) && (cond))
-+#define QTEST_ASSERT_X(cond, where, what) do { } while ((false) && (cond))
-+#else
- #define QTEST_ASSERT(cond) do { if (!(cond)) qt_assert(#cond,__FILE__,__LINE__); } while (false)
--
- #define QTEST_ASSERT_X(cond, where, what) do { if (!(cond)) qt_assert_x(where, what,__FILE__,__LINE__); } while (false)
-+#endif
-
- QT_END_NAMESPACE
-
-diff --git a/src/widgets/Qt5WidgetsConfigExtras.cmake.in b/src/widgets/Qt5WidgetsConfigExtras.cmake.in
-index 99d87e2e46..a4eab2aa72 100644
---- a/src/widgets/Qt5WidgetsConfigExtras.cmake.in
-+++ b/src/widgets/Qt5WidgetsConfigExtras.cmake.in
-@@ -3,7 +3,7 @@ if (NOT TARGET Qt5::uic)
- add_executable(Qt5::uic IMPORTED)
-
- !!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5Widgets_install_prefix}/$${CMAKE_BIN_DIR}uic$$CMAKE_BIN_SUFFIX\")
-+ set(imported_location \"$$NIX_OUTPUT_DEV/$${CMAKE_BIN_DIR}uic$$CMAKE_BIN_SUFFIX\")
- !!ELSE
- set(imported_location \"$${CMAKE_BIN_DIR}uic$$CMAKE_BIN_SUFFIX\")
- !!ENDIF
diff --git a/pkgs/development/libraries/qt-5/5.9/qtdeclarative.patch b/pkgs/development/libraries/qt-5/5.9/qtdeclarative.patch
deleted file mode 100644
index bb1bbbeb05e06748bbc61ab3300f8a4e070abc43..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-5/5.9/qtdeclarative.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff --git a/src/qml/qml/qqmlimport.cpp b/src/qml/qml/qqmlimport.cpp
-index ee5b38717..bbccef8c4 100644
---- a/src/qml/qml/qqmlimport.cpp
-+++ b/src/qml/qml/qqmlimport.cpp
-@@ -1678,6 +1678,15 @@ QQmlImportDatabase::QQmlImportDatabase(QQmlEngine *e)
- QString installImportsPath = QLibraryInfo::location(QLibraryInfo::Qml2ImportsPath);
- addImportPath(installImportsPath);
-
-+ // Add import paths derived from PATH
-+ const QStringList paths = QFile::decodeName(qgetenv("PATH")).split(':');
-+ const QString qmldir = QStringLiteral("../" NIXPKGS_QML2_IMPORT_PREFIX);
-+ for (const QString &path: paths) {
-+ if (!path.isEmpty()) {
-+ addImportPath(QDir::cleanPath(path + QDir::separator() + qmldir));
-+ }
-+ }
-+
- // env import paths
- if (Q_UNLIKELY(!qEnvironmentVariableIsEmpty("QML2_IMPORT_PATH"))) {
- const QByteArray envImportPath = qgetenv("QML2_IMPORT_PATH");
-diff --git a/tools/qmlcachegen/qmlcache.prf b/tools/qmlcachegen/qmlcache.prf
-index 330da358b..cdf570205 100644
---- a/tools/qmlcachegen/qmlcache.prf
-+++ b/tools/qmlcachegen/qmlcache.prf
-@@ -44,7 +44,7 @@ defineReplace(qmlCacheOutputFileName) {
- }
-
- qmlcacheinst.base = $$QMLCACHE_DESTDIR
--qmlcacheinst.path = $$[QT_INSTALL_QML]/$$TARGETPATH
-+qmlcacheinst.path = $$NIX_OUTPUT_QML/$$TARGETPATH
- qmlcacheinst.CONFIG = no_check_exist
-
- qmlcachegen.input = CACHEGEN_FILES
diff --git a/pkgs/development/libraries/qt-5/5.9/qtscript.patch b/pkgs/development/libraries/qt-5/5.9/qtscript.patch
deleted file mode 100644
index 5508dec1280e3a3f07761a942b7f9aa6ec2112d3..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-5/5.9/qtscript.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h
-index 1f6d25e..087c3fb 100644
---- a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h
-+++ b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h
-@@ -81,7 +81,7 @@
- #include
- #elif PLATFORM(GTK)
- #include
--typedef struct _GMutex GMutex;
-+typedef union _GMutex GMutex;
- typedef struct _GCond GCond;
- #endif
-
diff --git a/pkgs/development/libraries/qt-5/5.9/qtserialport.patch b/pkgs/development/libraries/qt-5/5.9/qtserialport.patch
deleted file mode 100644
index f25524e80bcfe8ca3ba93bd3562149043ab1aa97..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-5/5.9/qtserialport.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/src/serialport/qtudev_p.h b/src/serialport/qtudev_p.h
-index af2dab2..8e17f64 100644
---- a/src/serialport/qtudev_p.h
-+++ b/src/serialport/qtudev_p.h
-@@ -111,9 +111,17 @@ inline QFunctionPointer resolveSymbol(QLibrary *udevLibrary, const char *symbolN
- inline bool resolveSymbols(QLibrary *udevLibrary)
- {
- if (!udevLibrary->isLoaded()) {
-+#ifdef NIXPKGS_LIBUDEV
-+ udevLibrary->setFileNameAndVersion(QLatin1String(NIXPKGS_LIBUDEV), 1);
-+#else
- udevLibrary->setFileNameAndVersion(QStringLiteral("udev"), 1);
-+#endif
- if (!udevLibrary->load()) {
-+#ifdef NIXPKGS_LIBUDEV
-+ udevLibrary->setFileNameAndVersion(QLatin1String(NIXPKGS_LIBUDEV), 0);
-+#else
- udevLibrary->setFileNameAndVersion(QStringLiteral("udev"), 0);
-+#endif
- if (!udevLibrary->load()) {
- qWarning("Failed to load the library: %s, supported version(s): %i and %i", qPrintable(udevLibrary->fileName()), 1, 0);
- return false;
diff --git a/pkgs/development/libraries/qt-5/5.9/qttools.patch b/pkgs/development/libraries/qt-5/5.9/qttools.patch
deleted file mode 100644
index fbba439ef7a5d12896c5f8063af9da1d4a725be0..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-5/5.9/qttools.patch
+++ /dev/null
@@ -1,71 +0,0 @@
-diff --git a/src/assistant/help/Qt5HelpConfigExtras.cmake.in b/src/assistant/help/Qt5HelpConfigExtras.cmake.in
-index 3b97923a..63336bd5 100644
---- a/src/assistant/help/Qt5HelpConfigExtras.cmake.in
-+++ b/src/assistant/help/Qt5HelpConfigExtras.cmake.in
-@@ -2,11 +2,10 @@
- if (NOT TARGET Qt5::qcollectiongenerator)
- add_executable(Qt5::qcollectiongenerator IMPORTED)
-
--!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5Help_install_prefix}/$${CMAKE_BIN_DIR}qcollectiongenerator$$CMAKE_BIN_SUFFIX\")
--!!ELSE
- set(imported_location \"$${CMAKE_BIN_DIR}qcollectiongenerator$$CMAKE_BIN_SUFFIX\")
--!!ENDIF
-+ if(NOT EXISTS \"${imported_location}\")
-+ set(imported_location \"$${CMAKE_BIN_DIR}qcollectiongenerator$$CMAKE_BIN_SUFFIX\")
-+ endif()
- _qt5_Help_check_file_exists(${imported_location})
-
- set_target_properties(Qt5::qcollectiongenerator PROPERTIES
-@@ -17,11 +16,7 @@ endif()
- if (NOT TARGET Qt5::qhelpgenerator)
- add_executable(Qt5::qhelpgenerator IMPORTED)
-
--!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5Help_install_prefix}/$${CMAKE_BIN_DIR}qhelpgenerator$$CMAKE_BIN_SUFFIX\")
--!!ELSE
- set(imported_location \"$${CMAKE_BIN_DIR}qhelpgenerator$$CMAKE_BIN_SUFFIX\")
--!!ENDIF
- _qt5_Help_check_file_exists(${imported_location})
-
- set_target_properties(Qt5::qhelpgenerator PROPERTIES
-diff --git a/src/linguist/Qt5LinguistToolsConfig.cmake.in b/src/linguist/Qt5LinguistToolsConfig.cmake.in
-index 4318b16f..d60db4ff 100644
---- a/src/linguist/Qt5LinguistToolsConfig.cmake.in
-+++ b/src/linguist/Qt5LinguistToolsConfig.cmake.in
-@@ -44,11 +44,7 @@ endmacro()
- if (NOT TARGET Qt5::lrelease)
- add_executable(Qt5::lrelease IMPORTED)
-
--!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5_linguisttools_install_prefix}/$${CMAKE_BIN_DIR}lrelease$$CMAKE_BIN_SUFFIX\")
--!!ELSE
- set(imported_location \"$${CMAKE_BIN_DIR}lrelease$$CMAKE_BIN_SUFFIX\")
--!!ENDIF
- _qt5_LinguistTools_check_file_exists(${imported_location})
-
- set_target_properties(Qt5::lrelease PROPERTIES
-@@ -59,11 +55,7 @@ endif()
- if (NOT TARGET Qt5::lupdate)
- add_executable(Qt5::lupdate IMPORTED)
-
--!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5_linguisttools_install_prefix}/$${CMAKE_BIN_DIR}lupdate$$CMAKE_BIN_SUFFIX\")
--!!ELSE
- set(imported_location \"$${CMAKE_BIN_DIR}lupdate$$CMAKE_BIN_SUFFIX\")
--!!ENDIF
- _qt5_LinguistTools_check_file_exists(${imported_location})
-
- set_target_properties(Qt5::lupdate PROPERTIES
-@@ -74,11 +66,7 @@ endif()
- if (NOT TARGET Qt5::lconvert)
- add_executable(Qt5::lconvert IMPORTED)
-
--!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
-- set(imported_location \"${_qt5_linguisttools_install_prefix}/$${CMAKE_BIN_DIR}lconvert$$CMAKE_BIN_SUFFIX\")
--!!ELSE
- set(imported_location \"$${CMAKE_BIN_DIR}lconvert$$CMAKE_BIN_SUFFIX\")
--!!ENDIF
- _qt5_LinguistTools_check_file_exists(${imported_location})
-
- set_target_properties(Qt5::lconvert PROPERTIES
diff --git a/pkgs/development/libraries/qt-5/5.9/qtwebengine-clang-fix.patch b/pkgs/development/libraries/qt-5/5.9/qtwebengine-clang-fix.patch
deleted file mode 100644
index cf082cddd11a310861d50f29a0965cb97de647f2..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-5/5.9/qtwebengine-clang-fix.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-Fix a following build error:
-
-In file included from ../../3rdparty/chromium/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm:7:
-In file included from ../../3rdparty/chromium/base/bind.h:8:
-../../3rdparty/chromium/base/bind_internal.h:214:31: error: cannot initialize a parameter of type 'NSError *' with an lvalue of type 'const long'
- return (receiver.*method)(std::forward(args)...);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
-../../3rdparty/chromium/base/bind_internal.h:285:20: note: in instantiation of function template specialization 'base::internal::FunctorTraits::Invoke' requested here
- return Traits::Invoke(std::forward(functor),
- ^
-../../3rdparty/chromium/base/bind_internal.h:361:43: note: in instantiation of function template specialization 'base::internal::InvokeHelper::MakeItSo' requested here
- return InvokeHelper::MakeItSo(
- ^
-../../3rdparty/chromium/base/bind_internal.h:339:12: note: in instantiation of function template specialization 'base::internal::Invoker, long>, void ()>::RunImpl, long> &, 0, 1>' requested here
- return RunImpl(storage->functor_,
- ^
-../../3rdparty/chromium/base/bind.h:62:45: note: in instantiation of member function 'base::internal::Invoker, long>, void ()>::Run' requested here
- PolymorphicInvoke invoke_func = &Invoker::Run;
- ^
-../../3rdparty/chromium/base/bind.h:77:10: note: in instantiation of function template specialization 'base::BindRepeating, long>' requested here
- return BindRepeating(std::forward(functor),
- ^
-../../3rdparty/chromium/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm:241:15: note: in instantiation of function template specialization 'base::Bind, long>' requested here
- base::Bind(&BluetoothRemoteGattCharacteristicMac::DidWriteValue,
-
---- a/src/3rdparty/chromium/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm
-+++ b/src/3rdparty/chromium/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm
-@@ -239,7 +239,7 @@ void BluetoothRemoteGattCharacteristicMac::WriteRemoteCharacteristic(
- base::ThreadTaskRunnerHandle::Get()->PostTask(
- FROM_HERE,
- base::Bind(&BluetoothRemoteGattCharacteristicMac::DidWriteValue,
-- base::Unretained(this), nil));
-+ base::Unretained(this), nullptr));
- }
- }
-
diff --git a/pkgs/development/libraries/qt-5/5.9/qtwebengine-darwin-no-platform-check.patch b/pkgs/development/libraries/qt-5/5.9/qtwebengine-darwin-no-platform-check.patch
deleted file mode 100644
index 7156c41c5ec19bc914f1ca57403e2e18cf356f34..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-5/5.9/qtwebengine-darwin-no-platform-check.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-diff --git a/mkspecs/features/configure.prf b/mkspecs/features/configure.prf
---- a/mkspecs/features/configure.prf
-+++ b/mkspecs/features/configure.prf
-@@ -194,9 +194,6 @@ defineTest(runConfigure) {
- } else {
- log("Native Spellchecker .............. Not enabled (Default, enable with WEBENGINE_CONFIG+=use_native_spellchecker)$${EOL}")
- }
-- !isMinOSXSDKVersion(10, 10, 3) {
-- log(" Force Touch API usage .............. Not enabled (Because the OS X SDK version to be used \"$${WEBENGINE_OSX_SDK_PRODUCT_VERSION}\" is lower than the required \"10.10.3\")$${EOL}")
-- }
- }
- }
-
-diff --git a/mkspecs/features/functions.prf b/mkspecs/features/functions.prf
---- a/mkspecs/features/functions.prf
-+++ b/mkspecs/features/functions.prf
-@@ -38,10 +38,6 @@ defineTest(isPlatformSupported) {
- return(false)
- }
- } else:osx {
-- !isMinXcodeVersion(5, 1) {
-- skipBuild("Using XCode version $$QMAKE_XCODE_VERSION, but at least version 5.1 is required to build Qt WebEngine.")
-- return(false)
-- }
- !clang|intel_icc {
- skipBuild("Qt WebEngine on macOS requires Clang.")
- return(false)
-@@ -52,10 +48,6 @@ defineTest(isPlatformSupported) {
- skipBuild("Qt WebEngine requires OS X version 10.10 or newer.")
- return(false)
- }
-- !isMinOSXSDKVersion(10, 10): {
-- skipBuild("Qt WebEngine requires an OS X SDK version of 10.10 or newer. Current version is $${WEBENGINE_OSX_SDK_PRODUCT_VERSION}.")
-- return(false)
-- }
- } else {
- skipBuild("Unknown platform. Qt WebEngine only supports Linux, Windows, and OS X.")
- return(false)
-diff --git a/src/core/config/mac_osx.pri b/src/core/config/mac_osx.pri
---- a/src/core/config/mac_osx.pri
-+++ b/src/core/config/mac_osx.pri
-@@ -5,8 +5,6 @@ load(functions)
- # otherwise query for it.
- QMAKE_MAC_SDK_VERSION = $$eval(QMAKE_MAC_SDK.$${QMAKE_MAC_SDK}.SDKVersion)
- isEmpty(QMAKE_MAC_SDK_VERSION) {
-- QMAKE_MAC_SDK_VERSION = $$system("/usr/bin/xcodebuild -sdk $${QMAKE_MAC_SDK} -version SDKVersion 2>/dev/null")
-- isEmpty(QMAKE_MAC_SDK_VERSION): error("Could not resolve SDK version for \'$${QMAKE_MAC_SDK}\'")
- }
-
- QMAKE_CLANG_DIR = "/usr"
diff --git a/pkgs/development/libraries/qt-5/5.9/qtwebengine-no-build-skip.patch b/pkgs/development/libraries/qt-5/5.9/qtwebengine-no-build-skip.patch
deleted file mode 100644
index f332d5e1bb2b0627c597fce95d32edd17d8e3389..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-5/5.9/qtwebengine-no-build-skip.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/qtwebengine.pro b/qtwebengine.pro
---- a/qtwebengine.pro
-+++ b/qtwebengine.pro
-@@ -5,7 +5,7 @@ runConfigure()
-
- !isEmpty(skipBuildReason) {
- SUBDIRS =
-- log($${skipBuildReason}$${EOL})
-+ error($${skipBuildReason}$${EOL})
- log(QtWebEngine will not be built.$${EOL})
- }
-
diff --git a/pkgs/development/libraries/qt-5/5.9/qtwebkit.patch b/pkgs/development/libraries/qt-5/5.9/qtwebkit.patch
deleted file mode 100644
index 718bda361943ecd62a6c6c1b9263bff047332dcd..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-5/5.9/qtwebkit.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-diff --git a/Source/WebCore/plugins/qt/PluginPackageQt.cpp b/Source/WebCore/plugins/qt/PluginPackageQt.cpp
-index a923d49aa..46772a4bb 100644
---- a/Source/WebCore/plugins/qt/PluginPackageQt.cpp
-+++ b/Source/WebCore/plugins/qt/PluginPackageQt.cpp
-@@ -136,7 +136,11 @@ static void initializeGtk(QLibrary* module = 0)
- }
- }
-
-+#ifdef NIXPKGS_LIBGTK2
-+ QLibrary library(QLatin1String(NIXPKGS_LIBGTK2), 0);
-+#else
- QLibrary library(QLatin1String("libgtk-x11-2.0"), 0);
-+#endif
- if (library.load()) {
- typedef void *(*gtk_init_check_ptr)(int*, char***);
- gtk_init_check_ptr gtkInitCheck = (gtk_init_check_ptr)library.resolve("gtk_init_check");
-diff --git a/Source/WebCore/plugins/qt/PluginViewQt.cpp b/Source/WebCore/plugins/qt/PluginViewQt.cpp
-index de06a2fea..86fe39ef1 100644
---- a/Source/WebCore/plugins/qt/PluginViewQt.cpp
-+++ b/Source/WebCore/plugins/qt/PluginViewQt.cpp
-@@ -697,7 +697,11 @@ static Display *getPluginDisplay()
- // support gdk based plugins (like flash) that use a different X connection.
- // The code below has the same effect as this one:
- // Display *gdkDisplay = gdk_x11_display_get_xdisplay(gdk_display_get_default());
-+#ifdef NIXPKGS_LIBGDK2
-+ QLibrary library(QLatin1String(NIXPKGS_LIBGDK2), 0);
-+#else
- QLibrary library(QLatin1String("libgdk-x11-2.0"), 0);
-+#endif
- if (!library.load())
- return 0;
-
-diff --git a/Source/WebKit2/PluginProcess/qt/PluginProcessMainQt.cpp b/Source/WebKit2/PluginProcess/qt/PluginProcessMainQt.cpp
-index 8de65216b..38f5c05e5 100644
---- a/Source/WebKit2/PluginProcess/qt/PluginProcessMainQt.cpp
-+++ b/Source/WebKit2/PluginProcess/qt/PluginProcessMainQt.cpp
-@@ -53,7 +53,11 @@ static void messageHandler(QtMsgType type, const QMessageLogContext&, const QStr
-
- static bool initializeGtk()
- {
-+#ifdef NIXPKGS_LIBGTK2
-+ QLibrary gtkLibrary(QLatin1String(NIXPKGS_LIBGTK2), 0);
-+#else
- QLibrary gtkLibrary(QLatin1String("libgtk-x11-2.0"), 0);
-+#endif
- if (!gtkLibrary.load())
- return false;
- typedef void* (*gtk_init_ptr)(void*, void*);
-diff --git a/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp b/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp
-index d734ff684..0f6ff63d1 100644
---- a/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp
-+++ b/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp
-@@ -64,7 +64,11 @@ static Display* getPluginDisplay()
- // The code below has the same effect as this one:
- // Display *gdkDisplay = gdk_x11_display_get_xdisplay(gdk_display_get_default());
-
-+#ifdef NIXPKGS_LIBGDK2
-+ QLibrary library(QLatin1String(NIXPKGS_LIBGDK2), 0);
-+#else
- QLibrary library(QLatin1String("libgdk-x11-2.0"), 0);
-+#endif
- if (!library.load())
- return 0;
-
diff --git a/pkgs/development/libraries/qt-5/5.9/srcs.nix b/pkgs/development/libraries/qt-5/5.9/srcs.nix
deleted file mode 100644
index 09b6293daebc1882e96f1070e997b7307f4bdb65..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-5/5.9/srcs.nix
+++ /dev/null
@@ -1,333 +0,0 @@
-# DO NOT EDIT! This file is generated automatically by fetch-kde-qt.sh
-{ fetchurl, mirror }:
-
-{
- qt3d = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qt3d-opensource-src-5.9.7.tar.xz";
- sha256 = "0skdp72jlfy97cw9lpa3l2ivs6f5x9w53978sf2xbkl9k1ai268l";
- name = "qt3d-opensource-src-5.9.7.tar.xz";
- };
- };
- qtactiveqt = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtactiveqt-opensource-src-5.9.7.tar.xz";
- sha256 = "01yp0railyc80ldvpiy36lpsdk26rs8vfp78xca9jy1glm4cmaik";
- name = "qtactiveqt-opensource-src-5.9.7.tar.xz";
- };
- };
- qtandroidextras = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtandroidextras-opensource-src-5.9.7.tar.xz";
- sha256 = "1bl05hr0zm23z7qig3kxhzyvm440wfrjfgsxvpmlvk9pbb8h2q63";
- name = "qtandroidextras-opensource-src-5.9.7.tar.xz";
- };
- };
- qtbase = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtbase-opensource-src-5.9.7.tar.xz";
- sha256 = "004gs95ig51jv2wz64kwzl4rvqqzs4rln3kqmzjs3sh6y1s9bp9n";
- name = "qtbase-opensource-src-5.9.7.tar.xz";
- };
- };
- qtcanvas3d = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtcanvas3d-opensource-src-5.9.7.tar.xz";
- sha256 = "131zwqddjns7cpkdbr33jahqgvnw6f8gdcr1b2hmadi0p2shrcwq";
- name = "qtcanvas3d-opensource-src-5.9.7.tar.xz";
- };
- };
- qtcharts = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtcharts-opensource-src-5.9.7.tar.xz";
- sha256 = "1rkj4lkpgdqk4ygxivkj7gc8mlccb5sgi9mfr0xwvq5j85r3dk8n";
- name = "qtcharts-opensource-src-5.9.7.tar.xz";
- };
- };
- qtconnectivity = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtconnectivity-opensource-src-5.9.7.tar.xz";
- sha256 = "0f7g2lfnfgsjka7y5hdf0lbzpfxlxh8bfhdxix44cwlmwzjizy3l";
- name = "qtconnectivity-opensource-src-5.9.7.tar.xz";
- };
- };
- qtdatavis3d = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtdatavis3d-opensource-src-5.9.7.tar.xz";
- sha256 = "08anm8byxcym7h1n49j3cbxkh3kh3xjlxd3b8vi8fxyqqhvll4lv";
- name = "qtdatavis3d-opensource-src-5.9.7.tar.xz";
- };
- };
- qtdeclarative = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtdeclarative-opensource-src-5.9.7.tar.xz";
- sha256 = "0p26c96fb33khbf7ws91ha73n72lwmn714v8spg0bla9m1jkfhk8";
- name = "qtdeclarative-opensource-src-5.9.7.tar.xz";
- };
- };
- qtdoc = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtdoc-opensource-src-5.9.7.tar.xz";
- sha256 = "1vs6dy0mdcn65fhpl8nib0pjw9bliqkjnaahqm833ayvxr15vzyj";
- name = "qtdoc-opensource-src-5.9.7.tar.xz";
- };
- };
- qtgamepad = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtgamepad-opensource-src-5.9.7.tar.xz";
- sha256 = "0242683h9jz6b0n11s4m4ii2691dbws0gkj45n6sx6z513blfx9f";
- name = "qtgamepad-opensource-src-5.9.7.tar.xz";
- };
- };
- qtgraphicaleffects = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtgraphicaleffects-opensource-src-5.9.7.tar.xz";
- sha256 = "1yhxa3i3jvfnc9l6a3q3pyk7y702a3pp87ypshb63607xvrxrv2d";
- name = "qtgraphicaleffects-opensource-src-5.9.7.tar.xz";
- };
- };
- qtimageformats = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtimageformats-opensource-src-5.9.7.tar.xz";
- sha256 = "1an0k3rzxjc4x4rscnibdk36zff6g1n41lh5dasys4jc05k3w1b2";
- name = "qtimageformats-opensource-src-5.9.7.tar.xz";
- };
- };
- qtlocation = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtlocation-opensource-src-5.9.7.tar.xz";
- sha256 = "0lp6zn630px1lj7623shq47dlv02nr0aj7iqscrk0yzhygbv7dc2";
- name = "qtlocation-opensource-src-5.9.7.tar.xz";
- };
- };
- qtmacextras = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtmacextras-opensource-src-5.9.7.tar.xz";
- sha256 = "0b0znccbach41la226cmps9aaigpz8mj940xj890arjf8hn4jd97";
- name = "qtmacextras-opensource-src-5.9.7.tar.xz";
- };
- };
- qtmultimedia = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtmultimedia-opensource-src-5.9.7.tar.xz";
- sha256 = "060gic3gl27r7k4vw4n550384b4wadqfn3biajbq6lbyj3zhgxxx";
- name = "qtmultimedia-opensource-src-5.9.7.tar.xz";
- };
- };
- qtnetworkauth = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtnetworkauth-opensource-src-5.9.7.tar.xz";
- sha256 = "14n8wzsyq7bw67r1k442widfvszawgi5sh0b10h2jcrp5aikqr0p";
- name = "qtnetworkauth-opensource-src-5.9.7.tar.xz";
- };
- };
- qtpurchasing = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtpurchasing-opensource-src-5.9.7.tar.xz";
- sha256 = "1qvxsi0ar04qy0zajbhvwj5blldhfq2mn3laq15g0xxy1xh4m46i";
- name = "qtpurchasing-opensource-src-5.9.7.tar.xz";
- };
- };
- qtquickcontrols = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtquickcontrols-opensource-src-5.9.7.tar.xz";
- sha256 = "1jkz2b2wzxzmskvwwb4afqxz0yp0siaf3yhj2i01y865sp6q1wz0";
- name = "qtquickcontrols-opensource-src-5.9.7.tar.xz";
- };
- };
- qtquickcontrols2 = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtquickcontrols2-opensource-src-5.9.7.tar.xz";
- sha256 = "0w9rq77a8vc9avhbwbx7swg7zw7jn21wd7si59822rw9ln1p6zb0";
- name = "qtquickcontrols2-opensource-src-5.9.7.tar.xz";
- };
- };
- qtremoteobjects = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtremoteobjects-opensource-src-5.9.7.tar.xz";
- sha256 = "1ninscf4jkframv585zzi76fml1lyz0mhb091r2r54lrf66wl3lw";
- name = "qtremoteobjects-opensource-src-5.9.7.tar.xz";
- };
- };
- qtscript = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtscript-opensource-src-5.9.7.tar.xz";
- sha256 = "0mv33a1mjaahq7ixfasvjasc881bprfbkjhx8pn3z5f0l8213m67";
- name = "qtscript-opensource-src-5.9.7.tar.xz";
- };
- };
- qtscxml = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtscxml-opensource-src-5.9.7.tar.xz";
- sha256 = "0xz2q2bl1n43gxx00nrzyc0bsnq4wch0k2rkj3prc9gsgmpq0bih";
- name = "qtscxml-opensource-src-5.9.7.tar.xz";
- };
- };
- qtsensors = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtsensors-opensource-src-5.9.7.tar.xz";
- sha256 = "0pfh4lr9zxsh9winzx1lmcgl2hgp9lr45smcvslr4an93z6mbf8r";
- name = "qtsensors-opensource-src-5.9.7.tar.xz";
- };
- };
- qtserialbus = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtserialbus-opensource-src-5.9.7.tar.xz";
- sha256 = "0n6z56axm0gbrxmnwbz8fv40ar9mw1rlfvmpqvpg5xb9031qil1b";
- name = "qtserialbus-opensource-src-5.9.7.tar.xz";
- };
- };
- qtserialport = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtserialport-opensource-src-5.9.7.tar.xz";
- sha256 = "05qy4m1p5j5bh6af7d97iblsmgy9kppm5wif3bl63p6yghn319sh";
- name = "qtserialport-opensource-src-5.9.7.tar.xz";
- };
- };
- qtspeech = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtspeech-opensource-src-5.9.7.tar.xz";
- sha256 = "0nnbqnh18vw26vphancs38vjr816xha8m6wl389kjqi01kjrcz70";
- name = "qtspeech-opensource-src-5.9.7.tar.xz";
- };
- };
- qtsvg = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtsvg-opensource-src-5.9.7.tar.xz";
- sha256 = "0r2mqy6lb2ypmilf83zyp73v5d9ars314jfm6f0fv5if8yw253v2";
- name = "qtsvg-opensource-src-5.9.7.tar.xz";
- };
- };
- qttools = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qttools-opensource-src-5.9.7.tar.xz";
- sha256 = "18b7jg25434p80yr929nfihk0i124bxpd2dv9mqdcicnv5q0ybnn";
- name = "qttools-opensource-src-5.9.7.tar.xz";
- };
- };
- qttranslations = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qttranslations-opensource-src-5.9.7.tar.xz";
- sha256 = "051a3igp1qnd7d7bg2dvjaqwh6f67fvkn19jdfjzrdis7kcsfvdk";
- name = "qttranslations-opensource-src-5.9.7.tar.xz";
- };
- };
- qtvirtualkeyboard = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtvirtualkeyboard-opensource-src-5.9.7.tar.xz";
- sha256 = "1qcj6ncg53rv4pg4ijdq7vbkzgzfr9bn40aif7g4dndykj0zwla7";
- name = "qtvirtualkeyboard-opensource-src-5.9.7.tar.xz";
- };
- };
- qtwayland = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtwayland-opensource-src-5.9.7.tar.xz";
- sha256 = "0y6ky1ipg42gq390ibgr4nns9i4j648yb7bkmx6b7lhsi7mvnp2n";
- name = "qtwayland-opensource-src-5.9.7.tar.xz";
- };
- };
- qtwebchannel = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtwebchannel-opensource-src-5.9.7.tar.xz";
- sha256 = "189qkfxixddfblwkaf46yrqjp91vhmw90gpafjryqfmd2141r8qj";
- name = "qtwebchannel-opensource-src-5.9.7.tar.xz";
- };
- };
- qtwebengine = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtwebengine-opensource-src-5.9.7.tar.xz";
- sha256 = "0kzpgks5h19rm7gbhr688lr5f5d9ykf062kj91q7wf6fk7qd72v2";
- name = "qtwebengine-opensource-src-5.9.7.tar.xz";
- };
- };
- qtwebkit = {
- version = "5.9.1";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.1/submodules/qtwebkit-opensource-src-5.9.1.tar.xz";
- sha256 = "1ksjn1vjbfhdm4y4rg08ag4krk87ahp7qcdcpwll42l0rnz61998";
- name = "qtwebkit-opensource-src-5.9.1.tar.xz";
- };
- };
- qtwebkit-examples = {
- version = "5.9.1";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.1/submodules/qtwebkit-examples-opensource-src-5.9.1.tar.xz";
- sha256 = "1l2l7ycgqql6rf4gx6sjhsqjapdhvy6vxaxssax3l938nkk4vkp4";
- name = "qtwebkit-examples-opensource-src-5.9.1.tar.xz";
- };
- };
- qtwebsockets = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtwebsockets-opensource-src-5.9.7.tar.xz";
- sha256 = "1qqvd6qf7m2xq71mdaidwabj5c03cbbi1hwc7p95fvbnz9crz79x";
- name = "qtwebsockets-opensource-src-5.9.7.tar.xz";
- };
- };
- qtwebview = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtwebview-opensource-src-5.9.7.tar.xz";
- sha256 = "1zwqkmzik4f83hdffmw0hz90mzga34hkyz7d0skfbdp25y278r12";
- name = "qtwebview-opensource-src-5.9.7.tar.xz";
- };
- };
- qtwinextras = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtwinextras-opensource-src-5.9.7.tar.xz";
- sha256 = "1a57v7krglfdi4gizm402jn9pg7fqpcma7xk6sm68zg1siv11a6x";
- name = "qtwinextras-opensource-src-5.9.7.tar.xz";
- };
- };
- qtx11extras = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtx11extras-opensource-src-5.9.7.tar.xz";
- sha256 = "02jdiw94dasnkszi5w1pysfgz8xrr71pzah37nbnqg0knn4dzich";
- name = "qtx11extras-opensource-src-5.9.7.tar.xz";
- };
- };
- qtxmlpatterns = {
- version = "5.9.7";
- src = fetchurl {
- url = "${mirror}/official_releases/qt/5.9/5.9.7/submodules/qtxmlpatterns-opensource-src-5.9.7.tar.xz";
- sha256 = "0j0rxkpyww5cgcjhy0332jsyka1d811wf6zmr16d5fdkbryp7d65";
- name = "qtxmlpatterns-opensource-src-5.9.7.tar.xz";
- };
- };
-}
diff --git a/pkgs/development/libraries/quesoglc/default.nix b/pkgs/development/libraries/quesoglc/default.nix
index 2e47a213565735d6a656037d59a4614342907551..fe24d0fcddfd95ccb8c3ea6bcb8f7abda3047c74 100644
--- a/pkgs/development/libraries/quesoglc/default.nix
+++ b/pkgs/development/libraries/quesoglc/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, libGLU_combined, glew, freetype, fontconfig, fribidi, libX11 }:
+{ stdenv, fetchurl, libGLU, libGL, glew, freetype, fontconfig, fribidi, libX11 }:
stdenv.mkDerivation rec {
pname = "quesoglc";
version = "0.7.2";
@@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
sha256 = "0cf9ljdzii5d4i2m23gdmf3kn521ljcldzq69lsdywjid3pg5zjl";
};
- buildInputs = [ libGLU_combined glew freetype fontconfig fribidi libX11 ];
+ buildInputs = [ libGLU libGL glew freetype fontconfig fribidi libX11 ];
# FIXME: Configure fails to use system glew.
meta = with stdenv.lib; {
description = "A free implementation of the OpenGL Character Renderer";
diff --git a/pkgs/development/libraries/rocksdb/default.nix b/pkgs/development/libraries/rocksdb/default.nix
index 2bb56bec8c0a9fed90a856b985391ea92cc36939..ac70d6ec0f2cde0b9fd7c505c95056cb740ca7c3 100644
--- a/pkgs/development/libraries/rocksdb/default.nix
+++ b/pkgs/development/libraries/rocksdb/default.nix
@@ -1,4 +1,8 @@
-{ stdenv, fetchFromGitHub, lib, bzip2, cmake, lz4, snappy, zlib, zstd, enableLite ? false }:
+{ stdenv, fetchFromGitHub, fetchpatch
+, cmake, ninja
+, bzip2, lz4, snappy, zlib, zstd
+, enableLite ? false
+}:
stdenv.mkDerivation rec {
pname = "rocksdb";
@@ -11,9 +15,17 @@ stdenv.mkDerivation rec {
sha256 = "0s0n4p1b4jzmslz9d2xd4ajra0m6l9x26mjwlbgw0klxjggmy8qn";
};
- nativeBuildInputs = [ cmake ];
+ nativeBuildInputs = [ cmake ninja ];
buildInputs = [ bzip2 lz4 snappy zlib zstd ];
+ patches = [
+ # https://github.com/facebook/rocksdb/pull/6076
+ (fetchpatch {
+ url = "https://github.com/facebook/rocksdb/commit/c0be4b2ff1a5393419673fab961cb9b09ba38752.diff";
+ sha256 = "1f2wg9kqlmf2hiiihmbp8m5fr2wnn7896g6i9yg9hdgi40pw30w6";
+ })
+ ];
+
postPatch = ''
substituteInPlace CMakeLists.txt --replace "find_package(zlib " "find_package(ZLIB "
'';
@@ -31,13 +43,17 @@ stdenv.mkDerivation rec {
"-DWITH_ZSTD=1"
"-DWITH_GFLAGS=0"
"-DUSE_RTTI=1"
- (lib.optional
- (stdenv.hostPlatform.system == "i686-linux"
- || stdenv.hostPlatform.system == "x86_64-linux")
+ "-DROCKSDB_INSTALL_ON_WINDOWS=YES" # harmless elsewhere
+ (stdenv.lib.optional
+ (stdenv.hostPlatform.isx86 && stdenv.hostPlatform.isLinux)
"-DFORCE_SSE42=1")
- (lib.optional enableLite "-DROCKSDB_LITE=1")
+ (stdenv.lib.optional enableLite "-DROCKSDB_LITE=1")
+ "-DFAIL_ON_WARNINGS=${if stdenv.hostPlatform.isMinGW then "NO" else "YES"}"
];
+ # otherwise "cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]"
+ hardeningDisable = stdenv.lib.optional stdenv.hostPlatform.isWindows "format";
+
meta = with stdenv.lib; {
homepage = https://rocksdb.org;
description = "A library that provides an embeddable, persistent key-value store for fast storage";
diff --git a/pkgs/development/libraries/science/math/caffe2/default.nix b/pkgs/development/libraries/science/math/caffe2/default.nix
index 26ec1237601f087a377893e585e068a9b0f9e3ba..a5c373ecde97bdea5a2e3126e32cb756a557ea5f 100644
--- a/pkgs/development/libraries/science/math/caffe2/default.nix
+++ b/pkgs/development/libraries/science/math/caffe2/default.nix
@@ -57,7 +57,7 @@ let
dst = "pybind11";
};
- ccVersion = (builtins.parseDrvName stdenv.cc.name).version;
+ ccVersion = lib.getVersion stdenv.cc;
in
stdenv.mkDerivation rec {
diff --git a/pkgs/development/libraries/science/math/liblapack/default.nix b/pkgs/development/libraries/science/math/liblapack/default.nix
index 076376dc3c15b48f12e21842e2ee1bf2c3de964f..a7d01e22d96225a617f59f916d205ce075110219 100644
--- a/pkgs/development/libraries/science/math/liblapack/default.nix
+++ b/pkgs/development/libraries/science/math/liblapack/default.nix
@@ -1,6 +1,6 @@
{
stdenv,
- fetchurl,
+ fetchFromGitHub,
gfortran,
cmake,
python2,
@@ -8,19 +8,22 @@
}:
let
inherit (stdenv.lib) optional;
- version = "3.8.0";
+ version = "3.9.0";
in
stdenv.mkDerivation {
pname = "liblapack";
inherit version;
- src = fetchurl {
- url = "http://www.netlib.org/lapack/lapack-${version}.tar.gz";
- sha256 = "1xmwi2mqmipvg950gb0rhgprcps8gy8sjm8ic9rgy2qjlv22rcny";
+
+ src = fetchFromGitHub {
+ owner = "Reference-LAPACK";
+ repo = "lapack";
+ rev = "v${version}";
+ sha256 = "0sxnc97z67i7phdmcnq8f8lmxgw10wdwvr8ami0w3pb179cgrbpb";
};
- buildInputs = [ gfortran cmake ];
- nativeBuildInputs = [ python2 ];
+ buildInputs = [ gfortran ];
+ nativeBuildInputs = [ python2 cmake ];
cmakeFlags = [
"-DCMAKE_Fortran_FLAGS=-fPIC"
diff --git a/pkgs/development/libraries/science/math/scalapack/default.nix b/pkgs/development/libraries/science/math/scalapack/default.nix
index 14277c8c6318d732cb90e33a586fd80dc713492e..bff0d9a85fa2c3a22aa22c5c056da82e9f7aa057 100644
--- a/pkgs/development/libraries/science/math/scalapack/default.nix
+++ b/pkgs/development/libraries/science/math/scalapack/default.nix
@@ -1,20 +1,19 @@
-{ stdenv, fetchurl, cmake, openssh
+{ stdenv, fetchFromGitHub, cmake, openssh
, gfortran, mpi, openblasCompat
} :
stdenv.mkDerivation rec {
pname = "scalapack";
- version = "2.0.2";
+ version = "2.1";
- src = fetchurl {
- url = "http://www.netlib.org/scalapack/scalapack-${version}.tgz";
- sha256 = "0p1r61ss1fq0bs8ynnx7xq4wwsdvs32ljvwjnx6yxr8gd6pawx0c";
+ src = fetchFromGitHub {
+ owner = "Reference-ScaLAPACK";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "042q9kc383h7y0had9a37702z4s0szavss063ljvfdsbjy07gzb1";
};
- # patch to rename outdated MPI functions
- patches = [ ./openmpi4.patch ];
-
nativeBuildInputs = [ cmake openssh ];
buildInputs = [ mpi gfortran openblasCompat ];
diff --git a/pkgs/development/libraries/science/math/scalapack/openmpi4.patch b/pkgs/development/libraries/science/math/scalapack/openmpi4.patch
deleted file mode 100644
index 5d0afb58c0277c9fec92baf62890c9a27144c70b..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/science/math/scalapack/openmpi4.patch
+++ /dev/null
@@ -1,143 +0,0 @@
-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/simgear/default.nix b/pkgs/development/libraries/simgear/default.nix
index 471bcb22234757bd03385feb882c829295929c8f..bdd8dd9d999803c941a9e758fc2d6356621e837a 100644
--- a/pkgs/development/libraries/simgear/default.nix
+++ b/pkgs/development/libraries/simgear/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, plib, freeglut, xorgproto, libX11, libXext, libXi
-, libICE, libSM, libXt, libXmu, libGLU_combined, boost, zlib, libjpeg, freealut
+, libICE, libSM, libXt, libXmu, libGLU, libGL, boost, zlib, libjpeg, freealut
, openscenegraph, openal, expat, cmake, apr
, curl
}:
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
buildInputs = [ plib freeglut xorgproto libX11 libXext libXi
- libICE libSM libXt libXmu libGLU_combined boost zlib libjpeg freealut
+ libICE libSM libXt libXmu libGLU libGL boost zlib libjpeg freealut
openscenegraph openal expat apr curl ];
enableParallelBuilding = true;
diff --git a/pkgs/development/libraries/simpleitk/default.nix b/pkgs/development/libraries/simpleitk/default.nix
index 2afd7650618bc80af296074f6093fdb0ff9db9d9..cbb6a4b64f17bff40037b99d97f457164cfdefdb 100644
--- a/pkgs/development/libraries/simpleitk/default.nix
+++ b/pkgs/development/libraries/simpleitk/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "simpleitk";
- version = "1.2.3";
+ version = "1.2.4";
src = fetchFromGitHub {
owner = "SimpleITK";
repo = "SimpleITK";
rev = "v${version}";
- sha256 = "0nmsq0qx4jmrrhrc6bfm11wwvyszvfgl45xizw69yra3cv9pgmm6";
+ sha256 = "0dvf2407z9n6lczm0l5vzcvpw6r6z1wzrs2gk3dqjrgynq6952qr";
};
nativeBuildInputs = [ cmake git swig ];
diff --git a/pkgs/development/libraries/smarty3/default.nix b/pkgs/development/libraries/smarty3/default.nix
index 4876c39ce83ce6080e4e820c40907d965107902c..b3214cc01dfc709d650cd3114bf355998822c70c 100644
--- a/pkgs/development/libraries/smarty3/default.nix
+++ b/pkgs/development/libraries/smarty3/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchFromGitHub, ... }: stdenv.mkDerivation rec {
pname = "smarty3";
- version = "3.1.33";
+ version = "3.1.34";
src = fetchFromGitHub {
owner = "smarty-php";
repo = "smarty";
rev = "v${version}";
- sha256 = "12kll8nv4b90nlx3y0213lsncqw2ydshjx4g6dv7jah6j1pv29ix";
+ sha256 = "0a44p71aqyifm7qkp892aczb0bn6a9fv4657dsscxszvdm25a92x";
};
installPhase = ''
diff --git a/pkgs/development/libraries/smpeg/default.nix b/pkgs/development/libraries/smpeg/default.nix
index e286678830208056463ddee8e3973a1026d70760..a7ffc146f414cdbc6c7f2e287eefab069f81f23e 100644
--- a/pkgs/development/libraries/smpeg/default.nix
+++ b/pkgs/development/libraries/smpeg/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchsvn, SDL, autoconf, automake, libtool, gtk2, m4, pkgconfig, libGLU_combined, makeWrapper }:
+{ stdenv, fetchsvn, SDL, autoconf, automake, libtool, gtk2, m4, pkgconfig, libGLU, libGL, makeWrapper }:
stdenv.mkDerivation rec {
name = "smpeg-svn${version}";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
- buildInputs = [ SDL gtk2 libGLU_combined ];
+ buildInputs = [ SDL gtk2 libGLU libGL ];
nativeBuildInputs = [ autoconf automake libtool m4 pkgconfig makeWrapper ];
diff --git a/pkgs/development/libraries/snappy/default.nix b/pkgs/development/libraries/snappy/default.nix
index 80c3630af29e08c121ed5a568894f7c2ffc9bff8..f35f5bfc55a2eb23eaf6b6a8f61a667e45408895 100644
--- a/pkgs/development/libraries/snappy/default.nix
+++ b/pkgs/development/libraries/snappy/default.nix
@@ -32,6 +32,6 @@ stdenv.mkDerivation rec {
homepage = https://google.github.io/snappy/;
license = licenses.bsd3;
description = "Compression/decompression library for very high speeds";
- platforms = platforms.unix;
+ platforms = platforms.all;
};
}
diff --git a/pkgs/development/libraries/soxt/default.nix b/pkgs/development/libraries/soxt/default.nix
index 11ba48c59716bc5bc42a9df49163ea475d400966..4afb310d49ace5a523cd3d78ce85fd1045b0cc26 100644
--- a/pkgs/development/libraries/soxt/default.nix
+++ b/pkgs/development/libraries/soxt/default.nix
@@ -1,4 +1,4 @@
-{ fetchhg, stdenv, cmake, coin3d, motif, xlibsWrapper, libXmu, libGLU_combined }:
+{ fetchhg, stdenv, cmake, coin3d, motif, xlibsWrapper, libXmu, libGLU, libGL }:
stdenv.mkDerivation {
pname = "soxt";
@@ -12,7 +12,7 @@ stdenv.mkDerivation {
};
nativeBuildInputs = [ cmake ];
- buildInputs = [ coin3d motif xlibsWrapper libGLU_combined libXmu ];
+ buildInputs = [ coin3d motif xlibsWrapper libGLU libGL libXmu ];
meta = with stdenv.lib; {
homepage = https://bitbucket.org/Coin3D/coin/wiki/Home;
diff --git a/pkgs/development/libraries/tepl/default.nix b/pkgs/development/libraries/tepl/default.nix
index 0ca382baeca3880f6fca15327a039cade0a3974b..6c480db9d60b39bcd1af5c6688b9c5253e53ebf3 100644
--- a/pkgs/development/libraries/tepl/default.nix
+++ b/pkgs/development/libraries/tepl/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchurl
, amtk, gnome3, gtk3, gtksourceview4, libuchardet, libxml2, pkgconfig }:
let
- version = "4.2.0";
+ version = "4.2.1";
pname = "tepl";
in stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "1kcwcr72dv3xwi2ni579c9raa0cnbazfnmy6mgapzn6dir1d8fc8";
+ sha256 = "0vib1ljgqwy2fhiwq8z3pcd68qy7v72l4f35p1d1w1k9z8sy677k";
};
nativeBuildInputs = [
diff --git a/pkgs/development/libraries/tiledb/default.nix b/pkgs/development/libraries/tiledb/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..605307e080efdffed0a66643cc8acc5ab0bbe4be
--- /dev/null
+++ b/pkgs/development/libraries/tiledb/default.nix
@@ -0,0 +1,76 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, cmake
+, zlib
+, lz4
+, bzip2
+, zstd
+, spdlog_0
+, tbb
+, openssl
+, boost
+, libpqxx
+, clang-tools
+, catch2
+, python
+, gtest
+, doxygen
+}:
+
+stdenv.mkDerivation rec {
+ pname = "tiledb";
+ version = "1.7.0";
+
+ src = fetchFromGitHub {
+ owner = "TileDB-Inc";
+ repo = "TileDB";
+ rev = version;
+ sha256 = "07wh9q72vsaf5j2m2c6cfmllwhr3m9f8xzg8h0i6mhd7d0wr4lna";
+ };
+
+ nativeBuildInputs = [
+ clang-tools
+ cmake
+ python
+ doxygen
+ ];
+
+ checkInputs = [
+ gtest
+ ];
+
+ enableParallelBuilding = true;
+
+ buildInputs = [
+ catch2
+ zlib
+ lz4
+ bzip2
+ zstd
+ spdlog_0
+ tbb
+ openssl
+ boost
+ libpqxx
+ ];
+
+ # emulate the process of pulling catch down
+ postPatch = ''
+ mkdir -p build/externals/src/ep_catch
+ ln -sf ${catch2}/include/catch2 build/externals/src/ep_catch/single_include
+ '';
+
+ doCheck = false; # 9 failing tests due to what seems an overflow
+
+ installTargets = [ "install-tiledb" "doc" ];
+
+ meta = with lib; {
+ description = "TileDB allows you to manage the massive dense and sparse multi-dimensional array data";
+ homepage = https://github.com/TileDB-Inc/TileDB;
+ license = licenses.mit;
+ platforms = [ "x86_64-linux"];
+ maintainers = with maintainers; [ rakesh4g ];
+ };
+
+}
diff --git a/pkgs/development/libraries/unixODBCDrivers/default.nix b/pkgs/development/libraries/unixODBCDrivers/default.nix
index c1810443bdb3d78fa712bfe2f13dfeda6c7e35cc..78f85afca917165f9ae00723d2202b7938804af0 100644
--- a/pkgs/development/libraries/unixODBCDrivers/default.nix
+++ b/pkgs/development/libraries/unixODBCDrivers/default.nix
@@ -1,4 +1,4 @@
-{ fetchurl, stdenv, unixODBC, cmake, postgresql, mysql, libmysqlclient, sqlite, zlib, libxml2, dpkg, lib, openssl, kerberos, libuuid, patchelf }:
+{ fetchurl, stdenv, unixODBC, cmake, postgresql, mysql, sqlite, zlib, libxml2, dpkg, lib, openssl, kerberos, libuuid, patchelf, libiconv, fetchFromGitHub }:
# I haven't done any parameter tweaking.. So the defaults provided here might be bad
@@ -29,35 +29,42 @@
mariadb = stdenv.mkDerivation rec {
pname = "mariadb-connector-odbc";
- version = "3.1.2";
-
- src = fetchurl {
- url = "https://downloads.mariadb.org/interstitial/connector-odbc-${version}/${pname}-${version}-ga-src.tar.gz";
- sha256 = "0iibly2mbqijqyq4pzpb6dh40clqhvqrhgnj8knm4bw3nlksd0d5";
+ version = "3.1.4";
+
+ src = fetchFromGitHub {
+ owner = "MariaDB";
+ repo = "mariadb-connector-odbc";
+ rev = version;
+ sha256 = "1kbz5mng9vx89cw2sx7gsvhbv4h86zwp31fr0hxqing3cwxhkfgw";
+ # this driver only seems to build correctly when built against the mariadb-connect-c subrepo
+ # (see https://github.com/NixOS/nixpkgs/issues/73258)
+ fetchSubmodules = true;
};
nativeBuildInputs = [ cmake ];
- buildInputs = [ unixODBC libmysqlclient openssl ];
+ buildInputs = [ unixODBC openssl libiconv ];
+
+ preConfigure = ''
+ # we don't want to build a .pkg
+ sed -i 's/ADD_SUBDIRECTORY(osxinstall)//g' CMakeLists.txt
+ '';
cmakeFlags = [
"-DWITH_OPENSSL=ON"
- ];
-
- NIX_CFLAGS_COMPILE = [
- "-I${libmysqlclient}/include/mysql"
- "-L${libmysqlclient}/lib/mysql"
+ # on darwin this defaults to ON but we want to build against unixODBC
+ "-DWITH_IODBC=OFF"
];
passthru = {
fancyName = "MariaDB";
- driver = "lib/libmaodbc.so";
+ driver = if stdenv.isDarwin then "lib/libmaodbc.dylib" else "lib/libmaodbc.so";
};
meta = with stdenv.lib; {
description = "MariaDB ODBC database driver";
homepage = https://downloads.mariadb.org/connector-odbc/;
license = licenses.gpl2;
- platforms = platforms.linux;
+ platforms = platforms.linux ++ platforms.darwin;
};
};
diff --git a/pkgs/development/libraries/vaapi-vdpau/default.nix b/pkgs/development/libraries/vaapi-vdpau/default.nix
index e3fd7ad57e02eaaaa8f04f5925e5e275cead2e2c..94f96b867d550c2d4c18e12a64526a39fdf8d06c 100644
--- a/pkgs/development/libraries/vaapi-vdpau/default.nix
+++ b/pkgs/development/libraries/vaapi-vdpau/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, fetchpatch, libvdpau, libGLU_combined, libva, pkgconfig }:
+{ stdenv, fetchurl, fetchpatch, libvdpau, libGLU, libGL, libva, pkgconfig }:
stdenv.mkDerivation rec {
pname = "libva-vdpau-driver";
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
];
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ libvdpau libGLU_combined libva ];
+ buildInputs = [ libvdpau libGLU libGL libva ];
postPatch = ''
sed -i -e "s,LIBVA_DRIVERS_PATH=.*,LIBVA_DRIVERS_PATH=$out/lib/dri," configure
diff --git a/pkgs/development/libraries/vrpn/default.nix b/pkgs/development/libraries/vrpn/default.nix
index 0ae5ba147cb737bd6d16ababf23971ac9cda2475..688dc8d451ee636bc492a5c574db2f0d85666286 100644
--- a/pkgs/development/libraries/vrpn/default.nix
+++ b/pkgs/development/libraries/vrpn/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, unzip, cmake, libGLU_combined }:
+{ stdenv, fetchFromGitHub, unzip, cmake, libGLU, libGL }:
stdenv.mkDerivation rec {
name = "${pname}-${date}";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
sha256 = "032q295d68w34rk5q8nfqdd29s55n00bfik84y7xzkjrpspaprlh";
};
- buildInputs = [ unzip cmake libGLU_combined ];
+ buildInputs = [ unzip cmake libGLU libGL ];
doCheck = false; # FIXME: test failure
checkTarget = "test";
diff --git a/pkgs/development/libraries/wlroots/default.nix b/pkgs/development/libraries/wlroots/default.nix
index 54464ffd4b66311a70139cfa61b88987c9845f66..a567e66285cc78286b0f4590583739bd61459e3c 100644
--- a/pkgs/development/libraries/wlroots/default.nix
+++ b/pkgs/development/libraries/wlroots/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig
+{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, fetchpatch
, wayland, libGL, wayland-protocols, libinput, libxkbcommon, pixman
, xcbutilwm, libX11, libcap, xcbutilimage, xcbutilerrors, mesa
, libpng, ffmpeg_4, freerdp
@@ -15,6 +15,15 @@ stdenv.mkDerivation rec {
sha256 = "1ak86kx617c81dy85wg9rldy1z3n8ch93cjc05a4j6sifv0nkyfm";
};
+ patches = [
+ # add missing header that changed in mesa-19.2.2
+ # https://github.com/swaywm/wlroots/issues/1862
+ (fetchpatch {
+ url = "https://github.com/swaywm/wlroots/commit/d113e48a2a32542fe6e12f1759f07888364609bf.diff";
+ sha256 = "1h09j1gmnzlz4py92a92chgy8xzsd8h8xn5irq9s2hq4cla66h87";
+ })
+ ];
+
# $out for the library and $examples for the example programs (in examples):
outputs = [ "out" "examples" ];
diff --git a/pkgs/development/libraries/xapian/default.nix b/pkgs/development/libraries/xapian/default.nix
index dfec2197385cc36bfdea500501cdecf1c4d4bc2e..971ab485221da350a0b37890fdf6bfe6a075a208 100644
--- a/pkgs/development/libraries/xapian/default.nix
+++ b/pkgs/development/libraries/xapian/default.nix
@@ -37,5 +37,5 @@ let
};
};
in {
- xapian_1_4 = generic "1.4.13" "0z0k8902bz2ckdggikj5yz11ik2n8krmdwzvpqv60phcm3zzzy4k";
+ xapian_1_4 = generic "1.4.14" "0ja95vn0lkf6qkjhg2blkx306i10hg4fr8wlrhalmly93307lnlp";
}
diff --git a/pkgs/development/libraries/xine-lib/default.nix b/pkgs/development/libraries/xine-lib/default.nix
index fd772a1ff9d22aa3de41f7b57bd8051eb182f0e7..adcb2e74b0bbd2608c59598d5a073122c97c9772 100644
--- a/pkgs/development/libraries/xine-lib/default.nix
+++ b/pkgs/development/libraries/xine-lib/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, fetchpatch, pkgconfig, xorg, alsaLib, libGLU_combined, aalib
+{ stdenv, fetchurl, fetchpatch, pkgconfig, xorg, alsaLib, libGLU, libGL, aalib
, libvorbis, libtheora, speex, zlib, perl, ffmpeg
, flac, libcaca, libpulseaudio, libmng, libcdio, libv4l, vcdimager
, libmpcdec
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
buildInputs = [
xorg.libX11 xorg.libXv xorg.libXinerama xorg.libxcb xorg.libXext
- alsaLib libGLU_combined aalib libvorbis libtheora speex perl ffmpeg flac
+ alsaLib libGLU libGL aalib libvorbis libtheora speex perl ffmpeg flac
libcaca libpulseaudio libmng libcdio libv4l vcdimager libmpcdec
];
diff --git a/pkgs/development/lisp-modules/clwrapper/default.nix b/pkgs/development/lisp-modules/clwrapper/default.nix
index 019a44482b9a0b721abe300215d9185a928a51f9..3cb8219e68742d0ee59419d9ca234170ca394326 100644
--- a/pkgs/development/lisp-modules/clwrapper/default.nix
+++ b/pkgs/development/lisp-modules/clwrapper/default.nix
@@ -15,6 +15,7 @@ stdenv.mkDerivation {
chmod a+x "$out"/bin/*
substituteAll "${./setup-hook.sh}" "setup-hook-parsed"
+ addEnvHooks(){ true; };
source setup-hook-parsed
setLisp "${lisp}"
echo "$NIX_LISP"
diff --git a/pkgs/development/lisp-modules/clwrapper/setup-hook.sh b/pkgs/development/lisp-modules/clwrapper/setup-hook.sh
index da2303a18bfb7a7db20a2c80611548e0c18e9e84..abbbdc3e77a6725f569ca0bbac3e7213aadd2654 100644
--- a/pkgs/development/lisp-modules/clwrapper/setup-hook.sh
+++ b/pkgs/development/lisp-modules/clwrapper/setup-hook.sh
@@ -9,7 +9,7 @@ addASDFPaths () {
}
setLisp () {
- if [ -z "$NIX_LISP_COMMAND" ]; then
+ if [ -z "${NIX_LISP_COMMAND:-}" ]; then
for j in "$1"/bin/*; do
case "$(basename "$j")" in
sbcl) NIX_LISP_COMMAND="$j" ;;
@@ -20,7 +20,7 @@ setLisp () {
esac
done
fi
- if [ -z "$NIX_LISP" ]; then
+ if [ -n "${NIX_LISP_COMMAND:-}" ] && [ -z "${NIX_LISP:-}" ]; then
NIX_LISP="${NIX_LISP_COMMAND##*/}"
fi
}
@@ -35,5 +35,5 @@ export NIX_LISP_COMMAND NIX_LISP CL_SOURCE_REGISTRY NIX_LISP_ASDF
addEnvHooks "$targetOffset" addASDFPaths setLisp collectNixLispLDLP
-mkdir -p "$HOME"/.cache/common-lisp || HOME="$TMP/.temp-$USER-home"
+mkdir -p "$HOME"/.cache/common-lisp || HOME="$TMP/.temp-${USER:-nixbld}-home"
mkdir -p "$HOME"/.cache/common-lisp
diff --git a/pkgs/development/lisp-modules/define-package.nix b/pkgs/development/lisp-modules/define-package.nix
index 49eb9c40344776a3a21e97e9344ffd0f983dd643..67a688342b2d07110959e1931ac02ee45131aa12 100644
--- a/pkgs/development/lisp-modules/define-package.nix
+++ b/pkgs/development/lisp-modules/define-package.nix
@@ -18,7 +18,7 @@ let
touch "$path_config_script"
chmod a+x "$config_script"
chmod a+x "$path_config_script"
- echo "if test -z \"\''${_''${outhash}_NIX_LISP_CONFIG}\"; then export _''${outhash}_NIX_LISP_CONFIG=1; " >> "$config_script"
+ echo "if test -z \"\''${_''${outhash}_NIX_LISP_CONFIG:-}\"; then export _''${outhash}_NIX_LISP_CONFIG=1; " >> "$config_script"
echo "export NIX_CFLAGS_COMPILE='$NIX_CFLAGS_COMPILE'\"\''${NIX_CFLAGS_COMPILE:+ \$NIX_CFLAGS_COMPILE}\"" >> "$config_script"
echo "export NIX_LDFLAGS='$NIX_LDFLAGS'\"\''${NIX_LDFLAGS:+ \$NIX_LDFLAGS}\"" >> "$config_script"
echo "export NIX_LISP_COMMAND='$NIX_LISP_COMMAND'" >> "$config_script"
@@ -28,12 +28,12 @@ let
echo "echo \"\$ASDF_OUTPUT_TRANSLATIONS\" | grep -E '(^|:)$store_translation(:|\$)' >/dev/null || export ASDF_OUTPUT_TRANSLATIONS=\"\''${ASDF_OUTPUT_TRANSLATIONS:+\$ASDF_OUTPUT_TRANSLATIONS:}\"'$store_translation'" >> "$config_script"
echo "source '$path_config_script'" >> "$config_script"
echo "fi" >> "$config_script"
- echo "if test -z \"\''${_''${outhash}_NIX_LISP_PATH_CONFIG}\"; then export _''${outhash}_NIX_LISP_PATH_CONFIG=1; " >> "$path_config_script"
- echo "export NIX_LISP_ASDF_PATHS=\"$( ( echo "\$NIX_LISP_ASDF_PATHS"; echo "$NIX_LISP_ASDF_PATHS"; echo "$out/lib/common-lisp/${args.baseName}" ) | grep . | sort | uniq)\"" >> "$path_config_script"
+ echo "if test -z \"\''${_''${outhash}_NIX_LISP_PATH_CONFIG:-}\"; then export _''${outhash}_NIX_LISP_PATH_CONFIG=1; " >> "$path_config_script"
+ echo "export NIX_LISP_ASDF_PATHS=\"$( ( echo "\''${NIX_LISP_ASDF_PATHS:-}"; echo "$NIX_LISP_ASDF_PATHS"; echo "$out/lib/common-lisp/${args.baseName}" ) | grep . | sort | uniq)\"" >> "$path_config_script"
test -n "$LD_LIBRARY_PATH" &&
echo "export LD_LIBRARY_PATH=\"\$LD_LIBRARY_PATH\''${LD_LIBRARY_PATH:+:}\"'$LD_LIBRARY_PATH'" >> "$path_config_script"
test -n "$NIX_LISP_LD_LIBRARY_PATH" &&
- echo "export NIX_LISP_LD_LIBRARY_PATH=\"\$NIX_LISP_LD_LIBRARY_PATH\''${NIX_LISP_LD_LIBRARY_PATH:+:}\"'$(echo "$NIX_LISP_LD_LIBRARY_PATH" | tr -d '\n' | tr : '\n' | sort | uniq | tr '\n' ':' | sed -e 's/:$//')'" >> "$path_config_script"
+ echo "export NIX_LISP_LD_LIBRARY_PATH=\"\''${NIX_LISP_LD_LIBRARY_PATH:-}\''${NIX_LISP_LD_LIBRARY_PATH:+:}\"'$(echo "$NIX_LISP_LD_LIBRARY_PATH" | tr -d '\n' | tr : '\n' | sort | uniq | tr '\n' ':' | sed -e 's/:$//')'" >> "$path_config_script"
echo "fi" >> "$path_config_script"
'';
deployLaunchScript = ''
diff --git a/pkgs/development/lisp-modules/openssl-lib-marked.nix b/pkgs/development/lisp-modules/openssl-lib-marked.nix
index e2c632b8ebad40f4eacb826231fc0b4687ca21cb..186ef14b4068ac50889e0f16456911c65bbb8fd5 100644
--- a/pkgs/development/lisp-modules/openssl-lib-marked.nix
+++ b/pkgs/development/lisp-modules/openssl-lib-marked.nix
@@ -2,7 +2,7 @@ with import ../../../default.nix {};
runCommand "openssl-lib-marked" {} ''
mkdir -p "$out/lib"
for lib in ssl crypto; do
- version="${(builtins.parseDrvName openssl.name).version}"
+ version="${lib.getVersion openssl}"
ln -s "${lib.getLib openssl}/lib/lib$lib.so" "$out/lib/lib$lib.so.$version"
version="$(echo "$version" | sed -re 's/[a-z]+$//')"
while test -n "$version"; do
diff --git a/pkgs/development/lua-modules/overrides.nix b/pkgs/development/lua-modules/overrides.nix
index ce21353551941d79592c90e47436c3180836438c..9139befe020473bf21592d87c961d89b336633a4 100644
--- a/pkgs/development/lua-modules/overrides.nix
+++ b/pkgs/development/lua-modules/overrides.nix
@@ -105,7 +105,7 @@ with super;
];
buildInputs = [
pkgs.glib
- pkgs.gobjectIntrospection
+ pkgs.gobject-introspection
];
patches = [
(pkgs.fetchpatch {
diff --git a/pkgs/development/misc/amdapp-sdk/default.nix b/pkgs/development/misc/amdapp-sdk/default.nix
index 4169b9e4d35d5fae3f6e6e35a05cc01067a26efb..c3bf3217b6a73e835d7127ee3d6ed43c5787e210 100644
--- a/pkgs/development/misc/amdapp-sdk/default.nix
+++ b/pkgs/development/misc/amdapp-sdk/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, makeWrapper, perl, libGLU_combined, xorg,
+{ stdenv, fetchurl, makeWrapper, perl, libGLU, libGL, xorg,
version? "2.8", # What version
samples? false # Should samples be installed
}:
@@ -47,7 +47,7 @@ in stdenv.mkDerivation {
patches = stdenv.lib.attrByPath [version "patches"] [] src_info;
patchFlags = "-p0";
- buildInputs = [ makeWrapper perl libGLU_combined xorg.libX11 xorg.libXext xorg.libXaw xorg.libXi xorg.libXxf86vm ];
+ buildInputs = [ makeWrapper perl libGLU libGL xorg.libX11 xorg.libXext xorg.libXaw xorg.libXi xorg.libXxf86vm ];
propagatedBuildInputs = [ stdenv.cc ];
NIX_LDFLAGS = "-lX11 -lXext -lXmu -lXi -lXxf86vm";
doCheck = false;
diff --git a/pkgs/development/misc/vc4/newlib.nix b/pkgs/development/misc/vc4/newlib.nix
new file mode 100644
index 0000000000000000000000000000000000000000..e1a8b2eeaa6a7a97288ecb0ba41f5aab0e7f23c4
--- /dev/null
+++ b/pkgs/development/misc/vc4/newlib.nix
@@ -0,0 +1,28 @@
+{ stdenv, texinfo, flex, bison, fetchFromGitHub, crossLibcStdenv, buildPackages }:
+
+crossLibcStdenv.mkDerivation {
+ name = "newlib";
+ src = fetchFromGitHub {
+ owner = "itszor";
+ repo = "newlib-vc4";
+ rev = "89abe4a5263d216e923fbbc80495743ff269a510";
+ sha256 = "131r4v0nn68flnqibjcvhsrys3hs89bn0i4vwmrzgjd7v1rbgqav";
+ };
+ dontUpdateAutotoolsGnuConfigScripts = true;
+ configurePlatforms = [ "target" ];
+ enableParallelBuilding = true;
+
+ nativeBuildInputs = [ texinfo flex bison ];
+ depsBuildBuild = [ buildPackages.stdenv.cc ];
+ # newlib expects CC to build for build platform, not host platform
+ preConfigure = ''
+ export CC=cc
+ '';
+
+ dontStrip = true;
+
+ passthru = {
+ incdir = "/${stdenv.targetPlatform.config}/include";
+ libdir = "/${stdenv.targetPlatform.config}/lib";
+ };
+}
diff --git a/pkgs/development/ocaml-modules/cpuid/default.nix b/pkgs/development/ocaml-modules/cpuid/default.nix
index 10938cf81c20ef2636b2ff008e7f518b19ec1902..6c7ecaa4b7a6f52b327f64b84604870396be0962 100644
--- a/pkgs/development/ocaml-modules/cpuid/default.nix
+++ b/pkgs/development/ocaml-modules/cpuid/default.nix
@@ -1,22 +1,20 @@
-{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, ocb-stubblr }:
+{ lib, fetchurl, buildDunePackage }:
-stdenv.mkDerivation {
- name = "ocaml${ocaml.version}-cpuid-0.1.0";
+buildDunePackage rec {
+ pname = "cpuid";
+ version = "0.1.2";
+
+ minimumOCamlVersion = "4.03";
src = fetchurl {
- url = https://github.com/pqwy/cpuid/releases/download/v0.1.0/cpuid-0.1.0.tbz;
- sha256 = "08k2558a3dnxn8msgpz8c93sfn0y027ganfdi2yvql0fp1ixv97p";
+ url = "https://github.com/pqwy/cpuid/releases/download/v${version}/cpuid-v${version}.tbz";
+ sha256 = "08ng4mva6qblb5ipkrxbr0my7ndkc4qwcbswkqgbgir864s74m93";
};
- buildInputs = [ ocaml findlib ocamlbuild topkg ocb-stubblr ];
-
- inherit (topkg) buildPhase installPhase;
-
meta = {
homepage = https://github.com/pqwy/cpuid;
description = "Detect CPU features from OCaml";
- license = stdenv.lib.licenses.isc;
- maintainers = [ stdenv.lib.maintainers.vbgl ];
- inherit (ocaml.meta) platforms;
+ license = lib.licenses.isc;
+ maintainers = [ lib.maintainers.vbgl ];
};
}
diff --git a/pkgs/development/ocaml-modules/eigen/default.nix b/pkgs/development/ocaml-modules/eigen/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..7c1ec79f7da3c21125e71c9860a7ec2243d0975c
--- /dev/null
+++ b/pkgs/development/ocaml-modules/eigen/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, buildDunePackage, fetchFromGitHub, ctypes }:
+
+buildDunePackage rec {
+ pname = "eigen";
+ version = "0.1.5";
+
+ src = fetchFromGitHub {
+ owner = "owlbarn";
+ repo = pname;
+ rev = version;
+ sha256 = "0pbqd87i9h7qpx84hr8k4iw0rhmjgma4s3wihxh992jjvsrgdyfi";
+ };
+
+ minimumOCamlVersion = "4.04";
+
+ propagatedBuildInputs = [ ctypes ];
+
+ meta = with stdenv.lib; {
+ inherit (src.meta) homepage;
+ description = "Minimal/incomplete Ocaml interface to Eigen3, mostly for Owl";
+ platforms = platforms.x86_64;
+ maintainers = [ maintainers.bcdarwin ];
+ license = licenses.mit;
+ };
+}
diff --git a/pkgs/development/ocaml-modules/kafka/default.nix b/pkgs/development/ocaml-modules/kafka/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..4eeb8d975fd822d835291eab73d77b090d765384
--- /dev/null
+++ b/pkgs/development/ocaml-modules/kafka/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchFromGitHub, buildDunePackage, base, cmdliner, ocaml_lwt,
+ rdkafka, zlib }:
+
+buildDunePackage rec {
+ pname = "kafka";
+ version = "0.4";
+
+ src = fetchFromGitHub {
+ owner = "didier-wenzek";
+ repo = "ocaml-kafka";
+ rev = version;
+ sha256 = "0lb8x0wh7sf8v9mjwhq32azjz54kw49fsjfb7m76z4nhxfkjw5hy";
+ };
+
+ buildInputs = [ base cmdliner ocaml_lwt zlib ];
+
+ propagatedBuildInputs = [ rdkafka zlib ];
+
+ meta = with stdenv.lib; {
+ homepage = https://github.com/didier-wenzek/ocaml-kafka;
+ description = "OCaml bindings for Kafka";
+ license = licenses.mit;
+ maintainers = [ maintainers.rixed ];
+ };
+}
+
diff --git a/pkgs/development/ocaml-modules/lablgl/default.nix b/pkgs/development/ocaml-modules/lablgl/default.nix
index 427d0d5a0e148167565abd84a0833fc80d937b3e..ae85847b58b4843b96ae93cbc563632fc2cddcc1 100644
--- a/pkgs/development/ocaml-modules/lablgl/default.nix
+++ b/pkgs/development/ocaml-modules/lablgl/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchurl, ocaml, lablgtk, findlib, libGLU_combined, freeglut, camlp4 } :
+{stdenv, fetchurl, ocaml, lablgtk, findlib, libGLU, libGL, freeglut, camlp4 } :
let
pname = "lablgl";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [ocaml findlib lablgtk freeglut camlp4];
- propagatedBuildInputs = [ libGLU_combined ];
+ propagatedBuildInputs = [ libGLU libGL ];
patches = [ ./Makefile.config.patch ./META.patch ];
diff --git a/pkgs/development/ocaml-modules/owl-base/default.nix b/pkgs/development/ocaml-modules/owl-base/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..b2546f3e93ce5d017567a0608067627f94037ada
--- /dev/null
+++ b/pkgs/development/ocaml-modules/owl-base/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, buildDunePackage, fetchFromGitHub, integers, stdlib-shims }:
+
+buildDunePackage rec {
+ pname = "owl-base";
+ version = "0.7.1";
+
+ src = fetchFromGitHub {
+ owner = "owlbarn";
+ repo = "owl";
+ rev = version;
+ sha256 = "1v4jfn3w18zq188f9gskx9ffja3xx59j2mgrw6azp8lsbqixg5xk";
+ };
+
+ propagatedBuildInputs = [ stdlib-shims ];
+
+ minimumOCamlVersion = "4.06";
+
+ meta = with stdenv.lib; {
+ description = "Numerical computing library for Ocaml";
+ homepage = "https://ocaml.xyz";
+ platforms = platforms.x86_64;
+ maintainers = [ maintainers.bcdarwin ];
+ license = licenses.mit;
+ };
+}
diff --git a/pkgs/development/ocaml-modules/owl/default.nix b/pkgs/development/ocaml-modules/owl/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..95d4f6da704c05639d2e1c913e8dc559f8d15a23
--- /dev/null
+++ b/pkgs/development/ocaml-modules/owl/default.nix
@@ -0,0 +1,15 @@
+{ stdenv, buildDunePackage, fetchFromGitHub, alcotest
+, eigen, stdio, stdlib-shims, openblasCompat, owl-base
+}:
+
+buildDunePackage rec {
+ pname = "owl";
+
+ inherit (owl-base) version src meta;
+
+ buildInputs = [ eigen ];
+ checkInputs = [ alcotest ];
+ propagatedBuildInputs = [ stdio stdlib-shims openblasCompat owl-base ];
+
+ # tests not enabled for now due to owlbarn/owl/issues/460
+}
diff --git a/pkgs/development/ocaml-modules/sodium/default.nix b/pkgs/development/ocaml-modules/sodium/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..8c8895d45207f5c2af91f24151067e0fc8e7d286
--- /dev/null
+++ b/pkgs/development/ocaml-modules/sodium/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, ctypes, libsodium }:
+
+stdenv.mkDerivation rec {
+ pname = "ocaml${ocaml.version}-sodium";
+ version = "0.6.0";
+
+ src = fetchFromGitHub {
+ owner = "dsheets";
+ repo = "ocaml-sodium";
+ rev = version;
+ sha256 = "124gpi1jhac46x05gp5viykyrafnlp03v1cmkl13c6pgcs8w04pv";
+ };
+
+ buildInputs = [ ocaml findlib ocamlbuild ];
+ propagatedBuildInputs = [ ctypes libsodium ];
+
+ createFindlibDestdir = true;
+
+ hardeningDisable = stdenv.lib.optional stdenv.isDarwin "strictoverflow";
+
+ meta = with stdenv.lib; {
+ homepage = https://github.com/dsheets/ocaml-sodium;
+ description = "Binding to libsodium 1.0.9+";
+ platforms = ocaml.meta.platforms or [];
+ maintainers = [ maintainers.rixed ];
+ };
+}
diff --git a/pkgs/development/perl-modules/generic/default.nix b/pkgs/development/perl-modules/generic/default.nix
index b98178ef2ebe0d0c7eb17790d8c7666ed7b3db98..79c7919a354145c6b0147d304023ea6a614a98c0 100644
--- a/pkgs/development/perl-modules/generic/default.nix
+++ b/pkgs/development/perl-modules/generic/default.nix
@@ -31,15 +31,15 @@ toPerlModule(stdenv.mkDerivation (
# https://metacpan.org/pod/release/XSAWYERX/perl-5.26.0/pod/perldelta.pod#Removal-of-the-current-directory-%28%22.%22%29-from-@INC
PERL_USE_UNSAFE_INC = "1";
- meta.homepage = "https://metacpan.org/release/${attrs.pname or (builtins.parseDrvName attrs.name).name}"; # TODO: phase-out `attrs.name`
+ meta.homepage = "https://metacpan.org/release/${lib.getName attrs}"; # TODO: phase-out `attrs.name`
meta.platforms = perl.meta.platforms;
}
attrs
)
//
{
- pname = "perl${perl.version}-${attrs.pname or (builtins.parseDrvName attrs.name).name}"; # TODO: phase-out `attrs.name`
- version = attrs.version or (builtins.parseDrvName attrs.name).version; # TODO: phase-out `attrs.name`
+ pname = "perl${perl.version}-${lib.getName attrs}"; # TODO: phase-out `attrs.name`
+ version = lib.getVersion attrs; # TODO: phase-out `attrs.name`
builder = ./builder.sh;
buildInputs = buildInputs ++ [ perl ];
nativeBuildInputs = nativeBuildInputs ++ [ (perl.dev or perl) ];
diff --git a/pkgs/development/pharo/vm/build-vm-legacy.nix b/pkgs/development/pharo/vm/build-vm-legacy.nix
index bd84dd06e7f4a935ff47a5f90dc791f6e0a73952..e76b1802c23f9ade8d59ab6eeb97ead41b2c426f 100644
--- a/pkgs/development/pharo/vm/build-vm-legacy.nix
+++ b/pkgs/development/pharo/vm/build-vm-legacy.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, cmake, bash, unzip, glibc, openssl, gcc, libGLU_combined, freetype, xorg, alsaLib, cairo, libuuid, makeWrapper, ... }:
+{ stdenv, fetchurl, cmake, bash, unzip, glibc, openssl, gcc, libGLU, libGL, freetype, xorg, alsaLib, cairo, libuuid, makeWrapper, ... }:
{ name, src, ... }:
@@ -46,9 +46,9 @@ stdenv.mkDerivation rec {
ln -s "${pharo-share}/lib/"*.sources $prefix/lib/$name
'';
- LD_LIBRARY_PATH = stdenv.lib.makeLibraryPath [ cairo libGLU_combined freetype openssl libuuid alsaLib xorg.libICE xorg.libSM ];
+ LD_LIBRARY_PATH = stdenv.lib.makeLibraryPath [ cairo libGLU libGL freetype openssl libuuid alsaLib xorg.libICE xorg.libSM ];
nativeBuildInputs = [ unzip cmake gcc makeWrapper ];
- buildInputs = [ bash glibc openssl libGLU_combined freetype xorg.libX11 xorg.libICE xorg.libSM alsaLib cairo pharo-share ];
+ buildInputs = [ bash glibc openssl libGLU libGL freetype xorg.libX11 xorg.libICE xorg.libSM alsaLib cairo pharo-share ];
meta = {
description = "Clean and innovative Smalltalk-inspired environment";
diff --git a/pkgs/development/pharo/vm/build-vm.nix b/pkgs/development/pharo/vm/build-vm.nix
index 47773c209545758408242d053b2a9de4ad2cc45a..5fc747cbc8c29bbc7d4c9a509df6965c1803b6fb 100644
--- a/pkgs/development/pharo/vm/build-vm.nix
+++ b/pkgs/development/pharo/vm/build-vm.nix
@@ -5,7 +5,7 @@
, glibc
, openssl
, libgit2
-, libGLU_combined
+, libGLU, libGL
, freetype
, xorg
, alsaLib
@@ -85,7 +85,7 @@ stdenv.mkDerivation rec {
libs = [
cairo
libgit2
- libGLU_combined
+ libGLU libGL
freetype
openssl
libuuid
@@ -139,7 +139,7 @@ stdenv.mkDerivation rec {
glibc
openssl
gcc48
- libGLU_combined
+ libGLU libGL
freetype
xorg.libX11
xorg.libICE
diff --git a/pkgs/development/pharo/vm/vms.nix b/pkgs/development/pharo/vm/vms.nix
index 91cf01847090de80a8da7161eb2a1ada57d84e1f..080da830af69886e2aafa719c6aa9875263a3d8a 100644
--- a/pkgs/development/pharo/vm/vms.nix
+++ b/pkgs/development/pharo/vm/vms.nix
@@ -7,7 +7,7 @@
, openssl
, gcc
, libgit2
-, libGLU_combined
+, libGLU, libGL
, freetype
, xorg
, alsaLib
diff --git a/pkgs/development/pure-modules/gl/default.nix b/pkgs/development/pure-modules/gl/default.nix
index 51c57bb5c5195b529f4107a232eb4b16d244c66f..b67a972b00b1523487d68469d2b6331fb24765ac 100644
--- a/pkgs/development/pure-modules/gl/default.nix
+++ b/pkgs/development/pure-modules/gl/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, pure, freeglut, libGLU_combined, xlibsWrapper }:
+{ stdenv, fetchurl, pkgconfig, pure, freeglut, libGLU, libGL, xlibsWrapper }:
stdenv.mkDerivation rec {
baseName = "gl";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkgconfig ];
- propagatedBuildInputs = [ pure freeglut libGLU_combined xlibsWrapper ];
+ propagatedBuildInputs = [ pure freeglut libGLU libGL xlibsWrapper ];
makeFlags = "libdir=$(out)/lib prefix=$(out)/";
setupHook = ../generic-setup-hook.sh;
diff --git a/pkgs/development/python-modules/APScheduler/default.nix b/pkgs/development/python-modules/APScheduler/default.nix
index 4032b527e88b5785f8d2967f2c1b744b50d376d1..1f2a89c5e0c68258097e4a1681dfbc7eeec4152c 100644
--- a/pkgs/development/python-modules/APScheduler/default.nix
+++ b/pkgs/development/python-modules/APScheduler/default.nix
@@ -20,11 +20,11 @@
buildPythonPackage rec {
pname = "APScheduler";
- version = "3.6.1";
+ version = "3.6.3";
src = fetchPypi {
inherit pname version;
- sha256 = "1c56066rx09xk1zbd156whsynlakxazqq64i509id17015wzp6jj";
+ sha256 = "3bb5229eed6fbbdafc13ce962712ae66e175aa214c69bed35a06bffcf0c5e244";
};
buildInputs = [
diff --git a/pkgs/development/python-modules/Cython/default.nix b/pkgs/development/python-modules/Cython/default.nix
index b88c3c69b5d9369bfe2faa849d120c2517a6475c..249b185a402c539d6e8e286c236b5da508fec7f8 100644
--- a/pkgs/development/python-modules/Cython/default.nix
+++ b/pkgs/development/python-modules/Cython/default.nix
@@ -25,11 +25,11 @@ let
in buildPythonPackage rec {
pname = "Cython";
- version = "0.29.13";
+ version = "0.29.14";
src = fetchPypi {
inherit pname version;
- sha256 = "c29d069a4a30f472482343c866f7486731ad638ef9af92bfe5fca9c7323d638e";
+ sha256 = "e4d6bb8703d0319eb04b7319b12ea41580df44fd84d83ccda13ea463c6801414";
};
nativeBuildInputs = [
diff --git a/pkgs/development/python-modules/GitPython/default.nix b/pkgs/development/python-modules/GitPython/default.nix
index d92100cc1419bc2155e9ae51b68464031cbe289e..be2526ffcd433f8c83485c72a164cb978cc4880b 100644
--- a/pkgs/development/python-modules/GitPython/default.nix
+++ b/pkgs/development/python-modules/GitPython/default.nix
@@ -1,13 +1,13 @@
{ lib, buildPythonPackage, fetchPypi, isPy27, substituteAll, git, gitdb2, mock, nose, ddt }:
buildPythonPackage rec {
- version = "3.0.4";
+ version = "3.0.5";
pname = "GitPython";
disabled = isPy27; # no longer supported
src = fetchPypi {
inherit pname version;
- sha256 = "3237caca1139d0a7aa072f6735f5fd2520de52195e0fa1d8b83a9b212a2498b2";
+ sha256 = "9c2398ffc3dcb3c40b27324b316f08a4f93ad646d5a6328cafbb871aa79f5e42";
};
patches = [
diff --git a/pkgs/development/python-modules/Nikola/default.nix b/pkgs/development/python-modules/Nikola/default.nix
index 52cf7598da8d0f93d3a86b06f46599416d729999..d36a47c331cd1cc59ae693668771775a8094ddf6 100644
--- a/pkgs/development/python-modules/Nikola/default.nix
+++ b/pkgs/development/python-modules/Nikola/default.nix
@@ -35,7 +35,7 @@
buildPythonPackage rec {
pname = "Nikola";
- version = "8.0.2";
+ version = "8.0.3";
# Nix contains only Python 3 supported version of doit, which is a dependency
# of Nikola. Python 2 support would require older doit 0.29.0 (which on the
@@ -54,7 +54,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "1a5y1qriy76hl4yxvbf365b1ggsxybm06mi1pwb5jkgbkwk2gkrf";
+ sha256 = "a53470be082fce1843fb73002be2504828f9abc49a84eab5d1effc06ae2a5ddc";
};
patchPhase = ''
diff --git a/pkgs/development/python-modules/XlsxWriter/default.nix b/pkgs/development/python-modules/XlsxWriter/default.nix
index 679725db307ad0aa851b731b30e8bcf99734e212..f9730eb61ae0bcb89d29b54167beb6c068cff570 100644
--- a/pkgs/development/python-modules/XlsxWriter/default.nix
+++ b/pkgs/development/python-modules/XlsxWriter/default.nix
@@ -3,7 +3,7 @@
buildPythonPackage rec {
pname = "XlsxWriter";
- version = "1.2.1";
+ version = "1.2.6";
# PyPI release tarball doesn't contain tests so let's use GitHub. See:
# https://github.com/jmcnamara/XlsxWriter/issues/327
@@ -11,7 +11,7 @@ buildPythonPackage rec {
owner = "jmcnamara";
repo = pname;
rev = "RELEASE_${version}";
- sha256 = "0br8ib9n17dfprfly93mjkhdhpndb7i4g57lwscvp2s69ssql32s";
+ sha256 = "05y1py5mn1m65bbwhinzv84jd3xj8snvf2795flw0xbxnkn8nd8p";
};
meta = {
diff --git a/pkgs/development/python-modules/acoustics/default.nix b/pkgs/development/python-modules/acoustics/default.nix
index 94ec1557a2630fe506ffc9a9166ed98550617781..85ce02be1c3d65f36b2854650bb195a8b3f56672 100644
--- a/pkgs/development/python-modules/acoustics/default.nix
+++ b/pkgs/development/python-modules/acoustics/default.nix
@@ -3,14 +3,14 @@
buildPythonPackage rec {
pname = "acoustics";
- version = "0.2.2";
+ version = "0.2.3";
checkInputs = [ pytest ];
propagatedBuildInputs = [ numpy scipy matplotlib pandas tabulate ];
src = fetchPypi {
inherit pname version;
- sha256 = "00981908c7cf54be58c0bfe902d7743225554ecf3432b30723e9300d9f3a0b0e";
+ sha256 = "ca663059d61fbd2899aed4e3cedbc3f983aa67afd3ae1617db3c59b724206fb3";
};
checkPhase = ''
diff --git a/pkgs/development/python-modules/aenum/default.nix b/pkgs/development/python-modules/aenum/default.nix
index 051ae50e3a573171880109324ec5842f73fdc239..d64bd672ca06ef9345f9086ec4bd7d289cf5e96f 100644
--- a/pkgs/development/python-modules/aenum/default.nix
+++ b/pkgs/development/python-modules/aenum/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "aenum";
- version = "2.2.1";
+ version = "2.2.3";
src = fetchPypi {
inherit pname version;
- sha256 = "b12a7be3d89b270f266f8643aaa126404e5cdc0929bd6f09548b8eaed85e2aa1";
+ sha256 = "a4334cabf47c167d44ab5a6198837b80deec5d5bad1b5cf70c966c3a330260e8";
};
# For Python 3, locale has to be set to en_US.UTF-8 for
diff --git a/pkgs/development/python-modules/aioesphomeapi/default.nix b/pkgs/development/python-modules/aioesphomeapi/default.nix
index ff88d86fa29b12c1d684bc8a0f16eb81df7bb723..5be6f9d86fda800bb6a70c93e90e19566b569081 100644
--- a/pkgs/development/python-modules/aioesphomeapi/default.nix
+++ b/pkgs/development/python-modules/aioesphomeapi/default.nix
@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "aioesphomeapi";
- version = "2.4.0";
+ version = "2.4.2";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "bef494dd39a12e2e76cf4ea772a2746f1669ee243f03ad3579085ca9605beccb";
+ sha256 = "e43e0fd628506f95752e90ab1579e5495183cc3c46915d0b0a062975cb5d181b";
};
propagatedBuildInputs = [ attrs protobuf zeroconf ];
diff --git a/pkgs/development/python-modules/aiorpcx/default.nix b/pkgs/development/python-modules/aiorpcx/default.nix
index 6350e3f0441aebdcaba155f731e367a8503bead9..eba64f465591fda26dd47e29bf367c950ee494ea 100644
--- a/pkgs/development/python-modules/aiorpcx/default.nix
+++ b/pkgs/development/python-modules/aiorpcx/default.nix
@@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "aiorpcx";
- version = "0.18.3";
+ version = "0.18.4";
src = fetchPypi {
inherit version;
pname = "aiorpcX";
- sha256 = "0k545hc7wl6sh1svydzbv6x7sx5pig2pqkl3yxs9riwmvzawx9xp";
+ sha256 = "0jpvrkan6w8bpq017m8si7r9hb1pyw3ip4vr1fl2pmi8ngzc1jdy";
};
propagatedBuildInputs = [ attrs ];
diff --git a/pkgs/development/python-modules/ansible-runner/default.nix b/pkgs/development/python-modules/ansible-runner/default.nix
index fee714ed218c788eaed4d5c4f4110586dc384a35..62f95c3cefcef64802cd8ed8cc7d139e09a5caea 100644
--- a/pkgs/development/python-modules/ansible-runner/default.nix
+++ b/pkgs/development/python-modules/ansible-runner/default.nix
@@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "ansible-runner";
- version = "1.4.2";
+ version = "1.4.4";
src = fetchPypi {
inherit pname version;
- sha256 = "9db56a69ad5d43fe7656ad8efb4083cb1800ea400f7828af6b20f44c0882404f";
+ sha256 = "e6ccb7ccf9bab9c49a391db37e0d399ba0e73f969801ae35ff74020bfd4fc346";
};
checkInputs = [ pytest mock ];
diff --git a/pkgs/development/python-modules/ansiwrap/default.nix b/pkgs/development/python-modules/ansiwrap/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..517083a06210a67951ccd03dfacd5c6fcab7abf1
--- /dev/null
+++ b/pkgs/development/python-modules/ansiwrap/default.nix
@@ -0,0 +1,44 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, tox
+, pytest
+, ansicolors
+, coverage
+, pytestcov
+, textwrap3
+}:
+
+buildPythonPackage rec {
+ pname = "ansiwrap";
+ version = "0.8.4";
+
+ src = fetchPypi {
+ inherit pname version;
+ extension = "zip";
+ sha256 = "ca0c740734cde59bf919f8ff2c386f74f9a369818cdc60efe94893d01ea8d9b7";
+ };
+
+ checkInputs = [
+ tox
+ pytest
+ ansicolors
+ coverage
+ pytestcov
+ ];
+
+ propagatedBuildInputs = [
+ textwrap3
+ ];
+
+ checkPhase = ''
+ pytest
+ '';
+
+ meta = with lib; {
+ description = "Textwrap, but savvy to ANSI colors and styles";
+ homepage = https://github.com/jonathaneunice/ansiwrap;
+ license = licenses.asl20;
+ maintainers = [ maintainers.costrouc ];
+ };
+}
diff --git a/pkgs/development/python-modules/apsw/default.nix b/pkgs/development/python-modules/apsw/default.nix
index 9169b0d9ec3ba2e1e8ba13c1a3c18c4ada23dfb5..48e3b20c7c1c073f254a6bfc2c94c27aff8a27fb 100644
--- a/pkgs/development/python-modules/apsw/default.nix
+++ b/pkgs/development/python-modules/apsw/default.nix
@@ -3,7 +3,7 @@
buildPythonPackage rec {
pname = "apsw";
- version = "3.29.0-r1";
+ version = "3.30.1-r1";
disabled = isPyPy;
@@ -11,19 +11,11 @@ buildPythonPackage rec {
owner = "rogerbinns";
repo = "apsw";
rev = version;
- sha256 = "1p3sgmk9qwd0a634lirva44qgpyq0a74r9d70wxb6hsa52yjj9xb";
+ sha256 = "1zp38gj44bmzfxxpvgd7nixkp8vs2fpl839ag8vrh9z70dax22f0";
};
buildInputs = [ sqlite ];
- patches = [
- # Fixes a test failure with sqlite 3.30, see https://github.com/rogerbinns/apsw/issues/275
- (fetchpatch {
- url = "https://github.com/rogerbinns/apsw/commit/13df0b57bff59542978abf7c0a440c9274e3aac3.diff";
- sha256 = "1wi1mfis2mr21389wdnvq44phg0bpm5vpwmxhvrj211vwfm0q7dv";
- })
- ];
-
meta = with stdenv.lib; {
description = "A Python wrapper for the SQLite embedded relational database engine";
homepage = https://github.com/rogerbinns/apsw;
diff --git a/pkgs/development/python-modules/argcomplete/default.nix b/pkgs/development/python-modules/argcomplete/default.nix
index efc4c824a395cd84ce9503d7c6f3db14a3b19425..1c0efb4da3b50a3944506d063497b571f51d5bd5 100644
--- a/pkgs/development/python-modules/argcomplete/default.nix
+++ b/pkgs/development/python-modules/argcomplete/default.nix
@@ -3,11 +3,11 @@
}:
buildPythonPackage rec {
pname = "argcomplete";
- version = "1.10.0";
+ version = "1.10.2";
src = fetchPypi {
inherit pname version;
- sha256 = "1hdysr9z28sgwv47mivf4iyr1sg19hgfz349dghgdlk3rkl6v0s5";
+ sha256 = "ec88b5ccefe2d47d8f14916a006431d0afb756751ee5c46f28654a7d8a69be53";
};
doCheck = false; # bash-completion test fails with "compgen: command not found".
diff --git a/pkgs/development/python-modules/arrow/default.nix b/pkgs/development/python-modules/arrow/default.nix
index bf3dcb869f989f417ff99664b89f84c21241b79c..af3e4547628ae0b14a55594838167778e467345d 100644
--- a/pkgs/development/python-modules/arrow/default.nix
+++ b/pkgs/development/python-modules/arrow/default.nix
@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "arrow";
- version = "0.15.2";
+ version = "0.15.4";
src = fetchPypi {
inherit pname version;
- sha256 = "10257c5daba1a88db34afa284823382f4963feca7733b9107956bed041aff24f";
+ sha256 = "e1a318a4c0b787833ae46302c02488b6eeef413c6a13324b3261ad320f21ec1e";
};
checkPhase = ''
diff --git a/pkgs/development/python-modules/astroid/default.nix b/pkgs/development/python-modules/astroid/default.nix
index 1899559b2a9192d2957f22a1d54db204149a9132..5d24a05aa54d564f1d1e8b749dbefb78e191008a 100644
--- a/pkgs/development/python-modules/astroid/default.nix
+++ b/pkgs/development/python-modules/astroid/default.nix
@@ -5,13 +5,13 @@
buildPythonPackage rec {
pname = "astroid";
- version = "2.3.2";
+ version = "2.3.3";
disabled = pythonOlder "3.4";
src = fetchPypi {
inherit pname version;
- sha256 = "09a3fba616519311f1af8a461f804b68f0370e100c9264a035aa7846d7852e33";
+ sha256 = "71ea07f44df9568a75d0f354c49143a4575d90645e9fead6dfb52c26a85ed13a";
};
# From astroid/__pkginfo__.py
diff --git a/pkgs/development/python-modules/astropy-helpers/default.nix b/pkgs/development/python-modules/astropy-helpers/default.nix
index b5a7f014eec3c49df2ebbd13384f10c23cb769d5..fac97d2d368202d911b0e71ae357c8a178c57341 100644
--- a/pkgs/development/python-modules/astropy-helpers/default.nix
+++ b/pkgs/development/python-modules/astropy-helpers/default.nix
@@ -6,7 +6,7 @@
buildPythonPackage rec {
pname = "astropy-helpers";
- version = "3.2.1";
+ version = "3.2.2";
disabled = !isPy3k;
@@ -14,7 +14,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "1klxyfvl9hbhy37n1z3mb0vm5pmd7hbsnzhjkvigz3647hmfzva6";
+ sha256 = "cf32cb008b19597a1fe1a4d97f59734f30cd513aa3369a321e7b5b86cdb623fb";
};
meta = with lib; {
diff --git a/pkgs/development/python-modules/astropy/default.nix b/pkgs/development/python-modules/astropy/default.nix
index dea22cccb065397df4efb0d556df5a22924c50c5..fce2ecd392ab0fd7abb909965600df10adf49244 100644
--- a/pkgs/development/python-modules/astropy/default.nix
+++ b/pkgs/development/python-modules/astropy/default.nix
@@ -10,13 +10,13 @@
buildPythonPackage rec {
pname = "astropy";
- version = "3.2.2";
+ version = "3.2.3";
disabled = !isPy3k; # according to setup.py
src = fetchPypi {
inherit pname version;
- sha256 = "8553f4a95e9938a0c7ae520633f7172356824b8eb324dd967fca6baf00ac19bf";
+ sha256 = "47f00816c2978fdd10f448c8f0337d6dca7b8cbeaab4bf272b5fd37cb4b890d3";
};
nativeBuildInputs = [ astropy-helpers ];
diff --git a/pkgs/development/python-modules/astroquery/conftest-astropy-3-fix.patch b/pkgs/development/python-modules/astroquery/conftest-astropy-3-fix.patch
deleted file mode 100644
index 0b1c7973b59bca87f70f10b0ca376e876c3a4f11..0000000000000000000000000000000000000000
--- a/pkgs/development/python-modules/astroquery/conftest-astropy-3-fix.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-diff -ruN astroquery-0.3.9.orig/astroquery/conftest.py astroquery-0.3.9/astroquery/conftest.py
---- astroquery-0.3.9.orig/astroquery/conftest.py 2018-11-27 14:51:16.000000000 +0100
-+++ astroquery-0.3.9/astroquery/conftest.py 2019-07-23 18:19:17.000000000 +0200
-@@ -5,15 +5,20 @@
- # by importing them here in conftest.py they are discoverable by py.test
- # no matter how it is invoked within the source tree.
-
--from astropy.tests.pytest_plugins import (PYTEST_HEADER_MODULES,
-- enable_deprecations_as_exceptions,
-- TESTED_VERSIONS)
-+from astropy.version import version as astropy_version
-
--try:
-- packagename = os.path.basename(os.path.dirname(__file__))
-- TESTED_VERSIONS[packagename] = version.version
--except NameError:
-- pass
-+if astropy_version < '3.0':
-+ # With older versions of Astropy, we actually need to import the pytest
-+ # plugins themselves in order to make them discoverable by pytest.
-+ from astropy.tests.pytest_plugins import *
-+else:
-+ # As of Astropy 3.0, the pytest plugins provided by Astropy are
-+ # automatically made available when Astropy is installed. This means it's
-+ # not necessary to import them here, but we still need to import global
-+ # variables that are used for configuration.
-+ from astropy.tests.plugins.display import PYTEST_HEADER_MODULES, TESTED_VERSIONS
-+
-+from astropy.tests.helper import enable_deprecations_as_exceptions
-
- # Add astropy to test header information and remove unused packages.
- # Pytest header customisation was introduced in astropy 1.0.
-@@ -36,12 +41,17 @@
- # The warnings_to_ignore_by_pyver parameter was added in astropy 2.0
- enable_deprecations_as_exceptions(modules_to_ignore_on_import=['requests'])
-
-+# add '_testrun' to the version name so that the user-agent indicates that
-+# it's being run in a test
-+from . import version
-+version.version += '_testrun'
-+
-+
- # This is to figure out the affiliated package version, rather than
- # using Astropy's
--try:
-- from .version import version
--except ImportError:
-- version = 'dev'
-+from .version import version, astropy_helpers_version
-+
-
- packagename = os.path.basename(os.path.dirname(__file__))
- TESTED_VERSIONS[packagename] = version
-+TESTED_VERSIONS['astropy_helpers'] = astropy_helpers_version
diff --git a/pkgs/development/python-modules/astroquery/default.nix b/pkgs/development/python-modules/astroquery/default.nix
index e1f36ffa8cfd81394b49165e6adb9aa299837475..461d8801e608b06fcf14e326c24612dda54ccd78 100644
--- a/pkgs/development/python-modules/astroquery/default.nix
+++ b/pkgs/development/python-modules/astroquery/default.nix
@@ -20,10 +20,6 @@ buildPythonPackage rec {
sha256 = "1ce57a8792c7d5d74206d797d379de6da35d56be433ea5840c41a49f202e2fab";
};
- # Fix tests using conftest.py from HEAD in the upstream GitHub
- # repository.
- patches = [ ./conftest-astropy-3-fix.patch ];
-
propagatedBuildInputs = [ astropy requests keyring beautifulsoup4 html5lib ];
nativeBuildInputs = [ astropy-helpers ];
diff --git a/pkgs/development/python-modules/asyncpg/default.nix b/pkgs/development/python-modules/asyncpg/default.nix
index 8bcfb2d84a28cbc9d13e04762f0d88e3b577620c..2a47f13fe4b84918d77c56a94de194c508f17791 100644
--- a/pkgs/development/python-modules/asyncpg/default.nix
+++ b/pkgs/development/python-modules/asyncpg/default.nix
@@ -3,12 +3,12 @@
buildPythonPackage rec {
pname = "asyncpg";
- version = "0.19.0";
+ version = "0.20.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "0sp3m6sgw83rhvg87y78lhk4xxx58ffzyf9rsq5f1a7b8azbnlxj";
+ sha256 = "0yjszgg1zbbsfxj1gv17ymc2hcfvymkvg69dvpvwy0dqspjxq0ma";
};
checkInputs = [
diff --git a/pkgs/development/python-modules/atomman/default.nix b/pkgs/development/python-modules/atomman/default.nix
index ef69ee91d3817ed88c86ef5538146f220b3a8a73..d873700f32a630728073dcfaae2fc8a288558cf8 100644
--- a/pkgs/development/python-modules/atomman/default.nix
+++ b/pkgs/development/python-modules/atomman/default.nix
@@ -1,34 +1,33 @@
-{ stdenv
-, buildPythonPackage
-, fetchPypi
-, xmltodict
+{ stdenv, buildPythonPackage, fetchFromGitHub, isPy27
+, cython
, datamodeldict
-, numpy
, matplotlib
-, scipy
-, pandas
-, cython
, numericalunits
+, numpy
+, pandas
, pytest
+, scipy
+, toolz
+, xmltodict
}:
buildPythonPackage rec {
- version = "1.2.8";
+ version = "1.3.0";
pname = "atomman";
+ disabled = isPy27;
- src = fetchPypi {
- inherit pname version;
- sha256 = "0ed099fdceca2d733e81afb08d777e8e852a6e53660d6d268f3739b8d323ced9";
+ src = fetchFromGitHub {
+ owner = "usnistgov";
+ repo = "atomman";
+ rev = "v${version}";
+ sha256 = "09pfykd96wmw00s3kgabghykjn8b4yjml4ybpi7kwy7ygdmzcx51";
};
checkInputs = [ pytest ];
- propagatedBuildInputs = [ xmltodict datamodeldict numpy matplotlib scipy pandas cython numericalunits ];
-
- # tests not included with Pypi release
- doCheck = false;
+ propagatedBuildInputs = [ xmltodict datamodeldict numpy matplotlib scipy pandas cython numericalunits toolz ];
checkPhase = ''
- py.test tests
+ py.test tests -k 'not test_atomic'
'';
meta = with stdenv.lib; {
diff --git a/pkgs/development/python-modules/awkward/default.nix b/pkgs/development/python-modules/awkward/default.nix
index 16ebf49615858bea7367265fd868c85d3cb49289..5757b7fb15c9d30e33664771c63f7e1992c3626e 100644
--- a/pkgs/development/python-modules/awkward/default.nix
+++ b/pkgs/development/python-modules/awkward/default.nix
@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "awkward";
- version = "0.12.14";
+ version = "0.12.16";
src = fetchPypi {
inherit pname version;
- sha256 = "a76b0b76e4e843bfffc26771f6e1848be6f1c225e79f541c12215ae90503e489";
+ sha256 = "df5380b96dc9c1b129e68057578e4a2d42d9b73a0ae97ff263a9072baf8f7a5e";
};
nativeBuildInputs = [ pytestrunner ];
diff --git a/pkgs/development/python-modules/aws-adfs/default.nix b/pkgs/development/python-modules/aws-adfs/default.nix
index 5124077b1187269f2ce5e707365edf28a38ea30b..428ac4959410230330df43d7b6efe32ebce7a5b6 100644
--- a/pkgs/development/python-modules/aws-adfs/default.nix
+++ b/pkgs/development/python-modules/aws-adfs/default.nix
@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "aws-adfs";
- version = "1.19.0";
+ version = "1.19.1";
src = fetchPypi {
inherit pname version;
- sha256 = "da20c682993d87d41534ffc2be0819d924aaf230b27abbc5d1fa8ad62410bf39";
+ sha256 = "20b2ad44d19aa494fa11cb2d1290359b3a7a0c6c8908179b4af0c9367d83e370";
};
# Relax version constraint
diff --git a/pkgs/development/python-modules/aws-lambda-builders/default.nix b/pkgs/development/python-modules/aws-lambda-builders/default.nix
index 1e49edab25fe2bea01c5c2270f76cabe36eb67f7..d9c90cfa04994ef4f2169019a5b3749313546241 100644
--- a/pkgs/development/python-modules/aws-lambda-builders/default.nix
+++ b/pkgs/development/python-modules/aws-lambda-builders/default.nix
@@ -10,14 +10,14 @@
buildPythonPackage rec {
pname = "aws-lambda-builders";
- version = "0.4.0";
+ version = "0.6.0";
# No tests available in PyPI tarball
src = fetchFromGitHub {
owner = "awslabs";
repo = "aws-lambda-builders";
rev = "v${version}";
- sha256 = "1z2l9qm6mxp90zl64i9j2cmlzn8n7sc8yfpqh14fi9ay887ayjs1";
+ sha256 = "0bvph58wrw9in5irdbv103knvw2dhqs3kapqv5lpaac9dn7lsk6q";
};
# Package is not compatible with Python 3.5
diff --git a/pkgs/development/python-modules/aws-sam-translator/default.nix b/pkgs/development/python-modules/aws-sam-translator/default.nix
index b43ec658f5e943073883e6562b78f47f47c0ca55..298ce22daa6a76a6481bd734059772c541192974 100644
--- a/pkgs/development/python-modules/aws-sam-translator/default.nix
+++ b/pkgs/development/python-modules/aws-sam-translator/default.nix
@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "aws-sam-translator";
- version = "1.15.1";
+ version = "1.16.0";
src = fetchPypi {
inherit pname version;
- sha256 = "11c62c00f37b57c39a55d7a29d93f4704a88549c29a6448ebc953147173fbe85";
+ sha256 = "0xvfbhiqdqy4qs4z8v2p7z3l01w5af948bmf400s5jsq2hnxl6nv";
};
# Tests are not included in the PyPI package
diff --git a/pkgs/development/python-modules/azure-cli-core/default.nix b/pkgs/development/python-modules/azure-cli-core/default.nix
deleted file mode 100644
index a4d05b4c11eea1b518aa858068284177cbc9f01d..0000000000000000000000000000000000000000
--- a/pkgs/development/python-modules/azure-cli-core/default.nix
+++ /dev/null
@@ -1,93 +0,0 @@
-{ stdenv
-, lib
-, python
-, buildPythonPackage
-, fetchPypi
-, adal
-, antlr4-python3-runtime
-, argcomplete
-, azure-cli-telemetry
-, colorama
-, jmespath
-, humanfriendly
-, knack
-, msrest
-, msrestazure
-, paramiko
-, pygments
-, pyjwt
-, pyopenssl
-, pyyaml
-, requests
-, six
-, tabulate
-, azure-mgmt-resource
-, pyperclip
-, psutil
-, enum34
-, futures
-, antlr4-python2-runtime
-, ndg-httpsclient
-, isPy3k
-}:
-
-buildPythonPackage rec {
- pname = "azure-cli-core";
- version = "2.0.75";
-
- src = fetchPypi {
- inherit pname version;
- sha256 = "6fde38f4448542c0cf7b13201b702c6927180e7294221b8f67e2c834f22ae1bc";
- };
-
- propagatedBuildInputs = [
- adal
- argcomplete
- azure-cli-telemetry
- colorama
- jmespath
- humanfriendly
- knack
- msrest
- msrestazure
- paramiko
- pygments
- pyjwt
- pyopenssl
- pyyaml
- requests
- six
- tabulate
- azure-mgmt-resource
- pyperclip
- psutil
- ]
- ++ lib.optionals isPy3k [ antlr4-python3-runtime ]
- ++ lib.optionals (!isPy3k) [ enum34 futures antlr4-python2-runtime ndg-httpsclient ];
-
- # Remove overly restrictive version contraints and obsolete namespace setup
- prePatch = ''
- substituteInPlace setup.py \
- --replace "wheel==0.30.0" "wheel" \
- --replace "azure-mgmt-resource==2.1.0" "azure-mgmt-resource"
- substituteInPlace setup.cfg \
- --replace "azure-namespace-package = azure-cli-nspkg" ""
- '';
-
- # Prevent these __init__'s from violating PEP420, only needed for python2
- postInstall = lib.optionalString isPy3k ''
- rm $out/${python.sitePackages}/azure/__init__.py \
- $out/${python.sitePackages}/azure/cli/__init__.py
- '';
-
- # Tests are not included in sdist package
- doCheck = false;
-
- meta = with lib; {
- homepage = https://github.com/Azure/azure-cli;
- description = "Next generation multi-platform command line experience for Azure";
- platforms = platforms.all;
- license = licenses.mit;
- maintainers = with maintainers; [ jonringer ];
- };
-}
diff --git a/pkgs/development/python-modules/azure-cli-telemetry/default.nix b/pkgs/development/python-modules/azure-cli-telemetry/default.nix
deleted file mode 100644
index 202e0a013b98cb5d05c92dd967a2b68dd7ecc967..0000000000000000000000000000000000000000
--- a/pkgs/development/python-modules/azure-cli-telemetry/default.nix
+++ /dev/null
@@ -1,50 +0,0 @@
-{ stdenv
-, lib
-, buildPythonPackage
-, fetchPypi
-, isPy3k
-, python
-, applicationinsights
-, portalocker
-}:
-
-buildPythonPackage rec {
- pname = "azure-cli-telemetry";
- version = "1.0.4";
-
- src = fetchPypi {
- inherit pname version;
- sha256 = "1f239d544d309c29e827982cc20113eb57037dba16db6cdd2e0283e437e0e577";
- };
-
- propagatedBuildInputs = [
- applicationinsights
- portalocker
- ];
-
- # tests are not published to pypi
- doCheck = false;
-
- # Remove overly restrictive version contraints and obsolete namespace setup
- prePatch = ''
- substituteInPlace setup.py \
- --replace "applicationinsights>=0.11.1,<0.12" "applicationinsights"
- substituteInPlace setup.cfg \
- --replace "azure-namespace-package = azure-cli-nspkg" ""
- rm azure_bdist_wheel.py # we'll fix PEP420 namespacing
- '';
-
- # Prevent these __init__'s from violating PEP420, only needed for python2
- postInstall = lib.optionalString isPy3k ''
- rm $out/${python.sitePackages}/azure/__init__.py \
- $out/${python.sitePackages}/azure/cli/__init__.py
- '';
-
- meta = with lib; {
- homepage = https://github.com/Azure/azure-cli;
- description = "Next generation multi-platform command line experience for Azure";
- platforms = platforms.all;
- license = licenses.mit;
- maintainers = with maintainers; [ jonringer ];
- };
-}
diff --git a/pkgs/development/python-modules/azure-cosmos/default.nix b/pkgs/development/python-modules/azure-cosmos/default.nix
index c1a001bb1ebac89cf3472d1cf7921496dc15dde9..5716b1254af61963bdf7e80ffc6bd40c86ec1688 100644
--- a/pkgs/development/python-modules/azure-cosmos/default.nix
+++ b/pkgs/development/python-modules/azure-cosmos/default.nix
@@ -1,5 +1,6 @@
{ buildPythonPackage
, lib
+, python
, fetchPypi
, six
, requests
@@ -16,6 +17,10 @@ buildPythonPackage rec {
propagatedBuildInputs = [ six requests ];
+ postInstall = ''
+ rm $out/${python.sitePackages}/azure/__init__.py
+ '';
+
# requires an active Azure Cosmos service
doCheck = false;
diff --git a/pkgs/development/python-modules/azure-cosmosdb-table/default.nix b/pkgs/development/python-modules/azure-cosmosdb-table/default.nix
index 31a7d81dcab8e9c9594be626ab159e7bd388b85b..c11ffae1e3dde0291216e59b4b4c3e651202e96a 100644
--- a/pkgs/development/python-modules/azure-cosmosdb-table/default.nix
+++ b/pkgs/development/python-modules/azure-cosmosdb-table/default.nix
@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "azure-cosmosdb-table";
- version = "1.0.5";
+ version = "1.0.6";
src = fetchPypi {
inherit pname version;
- sha256 = "4a34c2c792036afc2a3811f4440ab967351e9ceee6542cc96453b63c678c0145";
+ sha256 = "5f061d2ab8dcf2f0b4e965d5976e7b7aeb1247ea896911f0e1d29092aaaa29c7";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/azure-datalake-store/default.nix b/pkgs/development/python-modules/azure-datalake-store/default.nix
index 0b7d0c9c775f541bebc6363c6501bfca72386470..5c45b843c7654fbd897d2c86b3427e4d3f97b2f0 100644
--- a/pkgs/development/python-modules/azure-datalake-store/default.nix
+++ b/pkgs/development/python-modules/azure-datalake-store/default.nix
@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "azure-datalake-store";
- version = "0.0.47";
+ version = "0.0.48";
src = fetchPypi {
inherit pname version;
- sha256 = "19fkkabr76r851r95kh5dpk4bdn3jkysv3aij6i2x99mkb4vxg2m";
+ sha256 = "d27c335783d4add00b3a5f709341e4a8009857440209e15a739a9a96b52386f7";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/azure-functions-devops-build/default.nix b/pkgs/development/python-modules/azure-functions-devops-build/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..03007ae3c236465354da31e7cc9d8e4624b08541
--- /dev/null
+++ b/pkgs/development/python-modules/azure-functions-devops-build/default.nix
@@ -0,0 +1,30 @@
+{ lib, buildPythonPackage, fetchFromGitHub
+, jinja2
+, msrest
+, vsts
+}:
+
+buildPythonPackage rec {
+ version = "0.0.22";
+ pname = "azure-functions-devops-build";
+
+ src = fetchFromGitHub {
+ owner = "Azure";
+ repo = "azure-functions-devops-build";
+ # rev picked based on pypi release date
+ rev = "c8249670acc77333e3de8b21dec60faf7ecf0951";
+ sha256 = "1slc7jd92v9q1qg1yacnrpi2a7hi7iw61wzbzfd6wx9q63pw9yqi";
+ };
+
+ propagatedBuildInputs = [ jinja2 msrest vsts ];
+
+ # circular dependency with azure-cli-core
+ doCheck = false;
+
+ meta = with lib; {
+ description = "Integrate Azure Functions with Azure DevOps. Specifically made for the Azure CLI";
+ homepage = "https://github.com/Azure/azure-functions-devops-build";
+ license = licenses.mit;
+ maintainers = with maintainers; [ jonringer ];
+ };
+}
diff --git a/pkgs/development/python-modules/azure-keyvault/default.nix b/pkgs/development/python-modules/azure-keyvault/default.nix
index 1c4f9f4ee80399c3e887e6d6d3a47b2ece5f4794..91f31ec0a01bf820100faacc4e3648730a6a952d 100644
--- a/pkgs/development/python-modules/azure-keyvault/default.nix
+++ b/pkgs/development/python-modules/azure-keyvault/default.nix
@@ -1,5 +1,7 @@
{ lib
, buildPythonPackage
+, python
+, isPy3k
, fetchPypi
, azure-common
, azure-nspkg
@@ -26,6 +28,10 @@ buildPythonPackage rec {
cryptography
];
+ postInstall = lib.optionalString isPy3k ''
+ rm $out/${python.sitePackages}/azure/__init__.py
+ '';
+
# has no tests
doCheck = false;
diff --git a/pkgs/development/python-modules/azure-loganalytics/default.nix b/pkgs/development/python-modules/azure-loganalytics/default.nix
index ab512480f0c4556b76eb6c0f7612b2d7e4734d06..4bfda9a9342dd524650f6dcff114c646c899d879 100644
--- a/pkgs/development/python-modules/azure-loganalytics/default.nix
+++ b/pkgs/development/python-modules/azure-loganalytics/default.nix
@@ -1,6 +1,8 @@
{ lib
, buildPythonPackage
, fetchPypi
+, python
+, isPy3k
, msrest
, azure-common
}:
@@ -20,6 +22,10 @@ buildPythonPackage rec {
azure-common
];
+ postInstall = lib.optionalString isPy3k ''
+ rm -rf $out/${python.sitePackages}/azure/__init__.py
+ '';
+
# has no tests
doCheck = false;
@@ -27,6 +33,6 @@ buildPythonPackage rec {
description = "This is the Microsoft Azure Log Analytics Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
- maintainers = with maintainers; [ mwilsoninsight ];
+ maintainers = with maintainers; [ mwilsoninsight jonringer ];
};
}
diff --git a/pkgs/development/python-modules/azure-mgmt-apimanagement/default.nix b/pkgs/development/python-modules/azure-mgmt-apimanagement/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..9f5c04adb265af9715e9fa3e96dacaf16aa266e8
--- /dev/null
+++ b/pkgs/development/python-modules/azure-mgmt-apimanagement/default.nix
@@ -0,0 +1,31 @@
+{ lib, buildPythonPackage, fetchPypi, isPy27
+, azure-common
+, msrest
+, msrestazure
+}:
+
+buildPythonPackage rec {
+ version = "0.1.0";
+ pname = "azure-mgmt-apimanagement";
+ disabled = isPy27;
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "06bqqkn5mx127x1z7ycm6rl8ajxlrmrm2kcdpgkbl4baii1x6iax";
+ extension = "zip";
+ };
+
+ propagatedBuildInputs = [ azure-common msrest msrestazure ];
+
+ # no tests included
+ doCheck = false;
+
+ pythonImportsCheck = [ "azure.common" "azure.mgmt.apimanagement" ];
+
+ meta = with lib; {
+ description = "Microsoft Azure API Management Client Library for Python";
+ homepage = "https://github.com/Azure/azure-sdk-for-python";
+ license = licenses.mit;
+ maintainers = with maintainers; [ jonringer ];
+ };
+}
diff --git a/pkgs/development/python-modules/azure-mgmt-appconfiguration/default.nix b/pkgs/development/python-modules/azure-mgmt-appconfiguration/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..1cacd988157228c4a1eab48917b8385c0b27be8f
--- /dev/null
+++ b/pkgs/development/python-modules/azure-mgmt-appconfiguration/default.nix
@@ -0,0 +1,31 @@
+{ lib, buildPythonPackage, fetchPypi, isPy27
+, azure-common
+, msrest
+, msrestazure
+}:
+
+buildPythonPackage rec {
+ version = "0.3.0";
+ pname = "azure-mgmt-appconfiguration";
+ disabled = isPy27;
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "1igl3ikdwcz7d2zcja5nm2qjysjh53vgwzcc96lylypmq6z4aq1s";
+ extension = "zip";
+ };
+
+ propagatedBuildInputs = [ azure-common msrest msrestazure ];
+
+ # no tests included
+ doCheck = false;
+
+ pythonImportsCheck = [ "azure.common" "azure.mgmt.appconfiguration" ];
+
+ meta = with lib; {
+ description = "Microsoft Azure App Configuration Management Client Library for Python";
+ homepage = "https://github.com/Azure/azure-sdk-for-python";
+ license = licenses.mit;
+ maintainers = with maintainers; [ jonringer ];
+ };
+}
diff --git a/pkgs/development/python-modules/azure-mgmt-applicationinsights/default.nix b/pkgs/development/python-modules/azure-mgmt-applicationinsights/default.nix
index 57c3aec3d451197c65b4125951b778560c8806bc..0a485f05f91076be0f1506c15113a6e6641162af 100644
--- a/pkgs/development/python-modules/azure-mgmt-applicationinsights/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-applicationinsights/default.nix
@@ -1,5 +1,6 @@
{ lib
, buildPythonPackage
+, python
, fetchPypi
, msrest
, msrestazure
@@ -26,6 +27,11 @@ buildPythonPackage rec {
azure-mgmt-nspkg
];
+ postInstall = lib.optionalString isPy3k ''
+ rm $out/${python.sitePackages}/azure/__init__.py
+ rm $out/${python.sitePackages}/azure/mgmt/__init__.py
+ '';
+
# has no tests
doCheck = false;
diff --git a/pkgs/development/python-modules/azure-mgmt-batchai/default.nix b/pkgs/development/python-modules/azure-mgmt-batchai/default.nix
index e1938738597b163413f9b2b4a8cc880c89503d54..6da0cf2210c3a825c62ba37b9a7dced28bea6d6c 100644
--- a/pkgs/development/python-modules/azure-mgmt-batchai/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-batchai/default.nix
@@ -24,6 +24,11 @@ buildPythonPackage rec {
azure-mgmt-nspkg
];
+ postInstall = lib.optionalString isPy3k ''
+ rm $out/${python.sitePackages}/azure/__init__.py
+ rm $out/${python.sitePackages}/azure/mgmt/__init__.py
+ '';
+
# has no tests
doCheck = false;
diff --git a/pkgs/development/python-modules/azure-mgmt-billing/default.nix b/pkgs/development/python-modules/azure-mgmt-billing/default.nix
index 666d10d87e5e2a5fda7721592a867876f3aa3cc6..8c658145d7ebf491016c95197766cf057eed5340 100644
--- a/pkgs/development/python-modules/azure-mgmt-billing/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-billing/default.nix
@@ -1,6 +1,6 @@
{ lib
, buildPythonPackage
-, fetchFromGitHub
+, fetchPypi
, msrestazure
, azure-common
, azure-mgmt-nspkg
@@ -8,27 +8,33 @@
, isPy3k
}:
-buildPythonPackage {
+buildPythonPackage rec {
pname = "azure-mgmt-billing";
version = "0.2.0"; #pypi's 0.2.0 doesn't build ootb
- src = fetchFromGitHub {
- owner = "Azure";
- repo = "azure-sdk-for-python";
- rev = "ee5b47525d6c1eae3b1fd5f65b0421eab62a6e6f";
- sha256 = "0xzdn7da5c3q5knh033vbsqk36vwbm75cx8vf10x0yj58krb4kn4";
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "1li2bcdwdapwwx7xbvgfsq51f2mrwm0qyzih8cjhszcah2rkpxw5";
+ extension = "zip";
};
- preBuild = ''
- cd ./azure-mgmt-billing
- '';
-
propagatedBuildInputs = [
msrestazure
azure-common
azure-mgmt-nspkg
];
+ preBuild = ''
+ rm azure_bdist_wheel.py
+ substituteInPlace setup.cfg \
+ --replace "azure-namespace-package = azure-mgmt-nspkg" ""
+ '';
+
+ postInstall = lib.optionalString isPy3k ''
+ rm $out/${python.sitePackages}/azure/__init__.py
+ rm $out/${python.sitePackages}/azure/mgmt/__init__.py
+ '';
+
# has no tests
doCheck = false;
diff --git a/pkgs/development/python-modules/azure-mgmt-botservice/default.nix b/pkgs/development/python-modules/azure-mgmt-botservice/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..d9375942b4d358d82b463d444bb825f0accbd18b
--- /dev/null
+++ b/pkgs/development/python-modules/azure-mgmt-botservice/default.nix
@@ -0,0 +1,31 @@
+{ lib, buildPythonPackage, fetchPypi, isPy27
+, azure-common
+, msrest
+, msrestazure
+}:
+
+buildPythonPackage rec {
+ version = "0.2.0";
+ pname = "azure-mgmt-botservice";
+ disabled = isPy27;
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "10sxllwvybjlp35h5mjdxhkw2wzpl4b03i08p4jnv8cswrc8h7dj";
+ extension = "zip";
+ };
+
+ propagatedBuildInputs = [ azure-common msrest msrestazure ];
+
+ # no tests included
+ doCheck = false;
+
+ pythonImportsCheck = [ "azure.common" "azure.mgmt.botservice" ];
+
+ meta = with lib; {
+ description = "Microsoft Azure API Management Client Library for Python";
+ homepage = "https://github.com/Azure/azure-sdk-for-python";
+ license = licenses.mit;
+ maintainers = with maintainers; [ jonringer ];
+ };
+}
diff --git a/pkgs/development/python-modules/azure-mgmt-compute/default.nix b/pkgs/development/python-modules/azure-mgmt-compute/default.nix
index c13676dc6724cd7ffda5e78175551af047ac25aa..afe57ee6204dc40e6a7248b8b6d3b5cefcb8da08 100644
--- a/pkgs/development/python-modules/azure-mgmt-compute/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-compute/default.nix
@@ -7,13 +7,13 @@
}:
buildPythonPackage rec {
- version = "9.0.0";
+ version = "10.0.0";
pname = "azure-mgmt-compute";
src = fetchPypi {
inherit pname version;
extension = "zip";
- sha256 = "06795ccb7377eaa3864819a1c63b9bfe9957a58814c65025aef89e9cd81190fc";
+ sha256 = "1s3bx6knxw5dxycp43yimvgrh0i19drzd09asglcwz2x5mr3bpyg";
};
postInstall = if isPy3k then "" else ''
diff --git a/pkgs/development/python-modules/azure-mgmt-consumption/default.nix b/pkgs/development/python-modules/azure-mgmt-consumption/default.nix
index 59b4cbee5bf486e95cb551b076398d9cc47be030..b69e4b649debc353cb370d9cf977907e1bf17d4b 100644
--- a/pkgs/development/python-modules/azure-mgmt-consumption/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-consumption/default.nix
@@ -1,6 +1,8 @@
{ lib
, buildPythonPackage
, fetchPypi
+, python
+, isPy3k
, msrestazure
, azure-common
, azure-mgmt-nspkg
@@ -22,6 +24,11 @@ buildPythonPackage rec {
azure-mgmt-nspkg
];
+ postInstall = lib.optionalString isPy3k ''
+ rm $out/${python.sitePackages}/azure/__init__.py
+ rm $out/${python.sitePackages}/azure/mgmt/__init__.py
+ '';
+
# has no tests
doCheck = false;
diff --git a/pkgs/development/python-modules/azure-mgmt-containerregistry/default.nix b/pkgs/development/python-modules/azure-mgmt-containerregistry/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..821c7db0d324d1aeec2e74720035856a04447e91
--- /dev/null
+++ b/pkgs/development/python-modules/azure-mgmt-containerregistry/default.nix
@@ -0,0 +1,31 @@
+{ lib, buildPythonPackage, fetchPypi, isPy27
+, azure-common
+, msrest
+, msrestazure
+}:
+
+buildPythonPackage rec {
+ version = "2.8.0";
+ pname = "azure-mgmt-containerregistry";
+ disabled = isPy27;
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "193k07a77z7bj61zn2gxvvfqi20cgxksvxp7if71bwsl1l2y2jxj";
+ extension = "zip";
+ };
+
+ propagatedBuildInputs = [ azure-common msrest msrestazure ];
+
+ # no tests included
+ doCheck = false;
+
+ pythonImportsCheck = [ "azure.common" "azure.mgmt.containerregistry" ];
+
+ meta = with lib; {
+ description = "Microsoft Azure Container Registry Client Library for Python";
+ homepage = "https://github.com/Azure/azure-sdk-for-python";
+ license = licenses.mit;
+ maintainers = with maintainers; [ jonringer ];
+ };
+}
diff --git a/pkgs/development/python-modules/azure-mgmt-cosmosdb/default.nix b/pkgs/development/python-modules/azure-mgmt-cosmosdb/default.nix
index 33617383a1dbaa850af4f8eeedbecae04d42064d..aef56be79c0bb8b9f100934d48839192c33a2ec3 100644
--- a/pkgs/development/python-modules/azure-mgmt-cosmosdb/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-cosmosdb/default.nix
@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-cosmosdb";
- version = "0.8.0";
+ version = "0.9.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
- sha256 = "0iakxb2rr1w9171802m9syjzqas02vjah711mpagbgcj549mjysb";
+ sha256 = "0y28z30g7y2pj7rfxyxmqpr19z24d01g9qhafvjxry748im1961h";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/azure-mgmt-datalake-analytics/default.nix b/pkgs/development/python-modules/azure-mgmt-datalake-analytics/default.nix
index c3d690088d19971c105e2a85defb52e612175b19..ad77a75fe838198cf7e2c72845d95852c527b2e2 100644
--- a/pkgs/development/python-modules/azure-mgmt-datalake-analytics/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-datalake-analytics/default.nix
@@ -1,6 +1,8 @@
{ lib
, buildPythonPackage
, fetchPypi
+, python
+, isPy3k
, msrestazure
, azure-common
, azure-mgmt-datalake-nspkg
@@ -22,6 +24,12 @@ buildPythonPackage rec {
azure-mgmt-datalake-nspkg
];
+ postInstall = lib.optionalString isPy3k ''
+ rm $out/${python.sitePackages}/azure/__init__.py
+ rm $out/${python.sitePackages}/azure/mgmt/__init__.py
+ rm $out/${python.sitePackages}/azure/mgmt/datalake/__init__.py
+ '';
+
# has no tests
doCheck = false;
diff --git a/pkgs/development/python-modules/azure-mgmt-datalake-store/default.nix b/pkgs/development/python-modules/azure-mgmt-datalake-store/default.nix
index 3164cf2bf15e111333ee2a1e12c6e7d152351e8f..5d2db3c211254e39175fb4ffe1c5cf5ead48500e 100644
--- a/pkgs/development/python-modules/azure-mgmt-datalake-store/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-datalake-store/default.nix
@@ -1,6 +1,8 @@
{ lib
, buildPythonPackage
, fetchPypi
+, python
+, isPy3k
, msrestazure
, azure-common
, azure-mgmt-datalake-nspkg
@@ -22,6 +24,12 @@ buildPythonPackage rec {
azure-mgmt-datalake-nspkg
];
+ postInstall = lib.optionalString isPy3k ''
+ rm $out/${python.sitePackages}/azure/__init__.py
+ rm $out/${python.sitePackages}/azure/mgmt/__init__.py
+ rm $out/${python.sitePackages}/azure/mgmt/datalake/__init__.py
+ '';
+
# has no tests
doCheck = false;
@@ -29,6 +37,6 @@ buildPythonPackage rec {
description = "This is the Microsoft Azure Data Lake Store Management Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
- maintainers = with maintainers; [ mwilsoninsight ];
+ maintainers = with maintainers; [ jonringer mwilsoninsight ];
};
}
diff --git a/pkgs/development/python-modules/azure-mgmt-datamigration/default.nix b/pkgs/development/python-modules/azure-mgmt-datamigration/default.nix
index cd98e6f98b08797f0a74fdb8a6178c3b58716896..7fc7c5683011946f6a67c60cebebce45f2e39f05 100644
--- a/pkgs/development/python-modules/azure-mgmt-datamigration/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-datamigration/default.nix
@@ -1,11 +1,12 @@
{ lib
, buildPythonPackage
, fetchPypi
+, python
+, isPy3k
, msrest
, msrestazure
, azure-common
, azure-mgmt-nspkg
-, isPy3k
}:
buildPythonPackage rec {
@@ -26,6 +27,11 @@ buildPythonPackage rec {
azure-mgmt-nspkg
];
+ postInstall = lib.optionalString isPy3k ''
+ rm $out/${python.sitePackages}/azure/__init__.py
+ rm $out/${python.sitePackages}/azure/mgmt/__init__.py
+ '';
+
# has no tests
doCheck = false;
@@ -33,6 +39,6 @@ buildPythonPackage rec {
description = "This is the Microsoft Azure Data Migration Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
- maintainers = with maintainers; [ mwilsoninsight ];
+ maintainers = with maintainers; [ jonringer mwilsoninsight ];
};
}
diff --git a/pkgs/development/python-modules/azure-mgmt-deploymentmanager/default.nix b/pkgs/development/python-modules/azure-mgmt-deploymentmanager/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..276cc86ad8f5e4d468a74f69c61c12cb277b9e47
--- /dev/null
+++ b/pkgs/development/python-modules/azure-mgmt-deploymentmanager/default.nix
@@ -0,0 +1,31 @@
+{ lib, buildPythonPackage, fetchPypi, isPy27
+, azure-common
+, msrest
+, msrestazure
+}:
+
+buildPythonPackage rec {
+ version = "0.1.0";
+ pname = "azure-mgmt-deploymentmanager";
+ disabled = isPy27;
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "0gvh17bhfcpvr6w0nd06v482m8lqxchlk256w68agi2qnqw6v2ir";
+ extension = "zip";
+ };
+
+ propagatedBuildInputs = [ azure-common msrest msrestazure ];
+
+ # no tests included
+ doCheck = false;
+
+ pythonImportsCheck = [ "azure.common" "azure.mgmt.deploymentmanager" ];
+
+ meta = with lib; {
+ description = "Microsoft Azure Deployment Manager Client Library for Python";
+ homepage = "https://github.com/Azure/azure-sdk-for-python";
+ license = licenses.mit;
+ maintainers = with maintainers; [ jonringer ];
+ };
+}
diff --git a/pkgs/development/python-modules/azure-mgmt-devtestlabs/default.nix b/pkgs/development/python-modules/azure-mgmt-devtestlabs/default.nix
index 76a5f0cbcd26663fdb1871917bdd353cf087fd1d..546ec5ab840537ec4fbf28ad369d74857d6ac14a 100644
--- a/pkgs/development/python-modules/azure-mgmt-devtestlabs/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-devtestlabs/default.nix
@@ -1,11 +1,12 @@
{ lib
, buildPythonPackage
, fetchPypi
+, python
+, isPy3k
, msrest
, msrestazure
, azure-common
, azure-mgmt-nspkg
-, isPy3k
}:
buildPythonPackage rec {
@@ -26,6 +27,11 @@ buildPythonPackage rec {
azure-mgmt-nspkg
];
+ postInstall = lib.optionalString isPy3k ''
+ rm $out/${python.sitePackages}/azure/__init__.py
+ rm $out/${python.sitePackages}/azure/mgmt/__init__.py
+ '';
+
# has no tests
doCheck = false;
@@ -33,6 +39,6 @@ buildPythonPackage rec {
description = "This is the Microsoft Azure DevTestLabs Management Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
- maintainers = with maintainers; [ mwilsoninsight ];
+ maintainers = with maintainers; [ jonringer mwilsoninsight ];
};
}
diff --git a/pkgs/development/python-modules/azure-mgmt-dns/default.nix b/pkgs/development/python-modules/azure-mgmt-dns/default.nix
index 94d51b765e9b5e53cf920f45c84b78a4b56b7a07..89ae5912b3912b687429a13e28cf46d67fdaa1d1 100644
--- a/pkgs/development/python-modules/azure-mgmt-dns/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-dns/default.nix
@@ -1,12 +1,12 @@
{ lib
, buildPythonPackage
, fetchPypi
+, python
+, isPy3k
, msrest
, msrestazure
, azure-common
, azure-mgmt-nspkg
-, python
-, isPy3k
}:
buildPythonPackage rec {
@@ -26,6 +26,11 @@ buildPythonPackage rec {
azure-mgmt-nspkg
];
+ postInstall = lib.optionalString isPy3k ''
+ rm $out/${python.sitePackages}/azure/__init__.py
+ rm $out/${python.sitePackages}/azure/mgmt/__init__.py
+ '';
+
# has no tests
doCheck = false;
@@ -33,6 +38,6 @@ buildPythonPackage rec {
description = "This is the Microsoft Azure DNS Management Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
- maintainers = with maintainers; [ mwilsoninsight ];
+ maintainers = with maintainers; [ jonringer mwilsoninsight ];
};
}
diff --git a/pkgs/development/python-modules/azure-mgmt-hdinsight/default.nix b/pkgs/development/python-modules/azure-mgmt-hdinsight/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..82955674c4bc1debf551d202854d9b69542a87fd
--- /dev/null
+++ b/pkgs/development/python-modules/azure-mgmt-hdinsight/default.nix
@@ -0,0 +1,31 @@
+{ lib, buildPythonPackage, fetchPypi, isPy27
+, azure-common
+, msrest
+, msrestazure
+}:
+
+buildPythonPackage rec {
+ version = "1.2.0";
+ pname = "azure-mgmt-hdinsight";
+ disabled = isPy27;
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "1yq9s7a2ch8j84af3hzj350jnjq5s3ysiqvmypvcb7vl6rkkd2lm";
+ extension = "zip";
+ };
+
+ propagatedBuildInputs = [ azure-common msrest msrestazure ];
+
+ # no tests included
+ doCheck = false;
+
+ pythonImportsCheck = [ "azure.common" "azure.mgmt.hdinsight" ];
+
+ meta = with lib; {
+ description = "Microsoft Azure HDInsight Management Client Library for Python";
+ homepage = "https://github.com/Azure/azure-sdk-for-python";
+ license = licenses.mit;
+ maintainers = with maintainers; [ jonringer ];
+ };
+}
diff --git a/pkgs/development/python-modules/azure-mgmt-imagebuilder/default.nix b/pkgs/development/python-modules/azure-mgmt-imagebuilder/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..bb6e06aa68b02c82fe2849065e19ec4f7e7a4483
--- /dev/null
+++ b/pkgs/development/python-modules/azure-mgmt-imagebuilder/default.nix
@@ -0,0 +1,31 @@
+{ lib, buildPythonPackage, fetchPypi, isPy27
+, azure-common
+, msrest
+, msrestazure
+}:
+
+buildPythonPackage rec {
+ version = "0.2.1";
+ pname = "azure-mgmt-imagebuilder";
+ disabled = isPy27;
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "0mwlvy4x5nr3hsz7wdpdhpzwarzzwz4225bfpd68hr0pcjgzspky";
+ extension = "zip";
+ };
+
+ propagatedBuildInputs = [ azure-common msrest msrestazure ];
+
+ # no tests included
+ doCheck = false;
+
+ pythonImportsCheck = [ "azure.common" "azure.mgmt.imagebuilder" ];
+
+ meta = with lib; {
+ description = "Microsoft Azure Image Builder Client Library for Python";
+ homepage = "https://github.com/Azure/azure-sdk-for-python";
+ license = licenses.mit;
+ maintainers = with maintainers; [ jonringer ];
+ };
+}
diff --git a/pkgs/development/python-modules/azure-mgmt-iothubprovisioningservices/default.nix b/pkgs/development/python-modules/azure-mgmt-iothubprovisioningservices/default.nix
index 7605e459271679cb644848a3106afed5c7e0fc3d..c72ca47cff9bfffa8d480e76fe7ce50a3b9d1d2b 100644
--- a/pkgs/development/python-modules/azure-mgmt-iothubprovisioningservices/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-iothubprovisioningservices/default.nix
@@ -1,6 +1,8 @@
{ lib
, buildPythonPackage
, fetchPypi
+, python
+, isPy3k
, msrest
, msrestazure
, azure-common
@@ -24,6 +26,11 @@ buildPythonPackage rec {
azure-mgmt-nspkg
];
+ postInstall = lib.optionalString isPy3k ''
+ rm $out/${python.sitePackages}/azure/__init__.py
+ rm $out/${python.sitePackages}/azure/mgmt/__init__.py
+ '';
+
# has no tests
doCheck = false;
@@ -31,6 +38,6 @@ buildPythonPackage rec {
description = "This is the Microsoft Azure IoTHub Provisioning Services Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
- maintainers = with maintainers; [ mwilsoninsight ];
+ maintainers = with maintainers; [ jonringer mwilsoninsight ];
};
}
diff --git a/pkgs/development/python-modules/azure-mgmt-keyvault/default.nix b/pkgs/development/python-modules/azure-mgmt-keyvault/default.nix
index 99cdfdf922b9d62dadfc178a34db6dd357fec6d9..e3529bda8d2fbe7b71949441e03d63c3f2ba62af 100644
--- a/pkgs/development/python-modules/azure-mgmt-keyvault/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-keyvault/default.nix
@@ -1,6 +1,8 @@
{ lib
, buildPythonPackage
, fetchPypi
+, python
+, isPy3k
, msrest
, msrestazure
, azure-common
@@ -24,6 +26,11 @@ buildPythonPackage rec {
azure-mgmt-nspkg
];
+ postInstall = lib.optionalString isPy3k ''
+ rm $out/${python.sitePackages}/azure/__init__.py
+ rm $out/${python.sitePackages}/azure/mgmt/__init__.py
+ '';
+
# has no tests
doCheck = false;
@@ -31,6 +38,6 @@ buildPythonPackage rec {
description = "This is the Microsoft Azure Key Vault Management Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
- maintainers = with maintainers; [ mwilsoninsight ];
+ maintainers = with maintainers; [ jonringer mwilsoninsight ];
};
}
diff --git a/pkgs/development/python-modules/azure-mgmt-kusto/azure-mgmt-apimanagement/default.nix b/pkgs/development/python-modules/azure-mgmt-kusto/azure-mgmt-apimanagement/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..9f5c04adb265af9715e9fa3e96dacaf16aa266e8
--- /dev/null
+++ b/pkgs/development/python-modules/azure-mgmt-kusto/azure-mgmt-apimanagement/default.nix
@@ -0,0 +1,31 @@
+{ lib, buildPythonPackage, fetchPypi, isPy27
+, azure-common
+, msrest
+, msrestazure
+}:
+
+buildPythonPackage rec {
+ version = "0.1.0";
+ pname = "azure-mgmt-apimanagement";
+ disabled = isPy27;
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "06bqqkn5mx127x1z7ycm6rl8ajxlrmrm2kcdpgkbl4baii1x6iax";
+ extension = "zip";
+ };
+
+ propagatedBuildInputs = [ azure-common msrest msrestazure ];
+
+ # no tests included
+ doCheck = false;
+
+ pythonImportsCheck = [ "azure.common" "azure.mgmt.apimanagement" ];
+
+ meta = with lib; {
+ description = "Microsoft Azure API Management Client Library for Python";
+ homepage = "https://github.com/Azure/azure-sdk-for-python";
+ license = licenses.mit;
+ maintainers = with maintainers; [ jonringer ];
+ };
+}
diff --git a/pkgs/development/python-modules/azure-mgmt-kusto/default.nix b/pkgs/development/python-modules/azure-mgmt-kusto/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..fe84fc01dec15d565d2564952f364dcde1318105
--- /dev/null
+++ b/pkgs/development/python-modules/azure-mgmt-kusto/default.nix
@@ -0,0 +1,31 @@
+{ lib, buildPythonPackage, fetchPypi, isPy27
+, azure-common
+, msrest
+, msrestazure
+}:
+
+buildPythonPackage rec {
+ version = "0.4.0";
+ pname = "azure-mgmt-kusto";
+ disabled = isPy27;
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "1sx8f98206wccj0mbmb75c4wyhf57g3pnkhl9wn70lqzi9n4mk0b";
+ extension = "zip";
+ };
+
+ propagatedBuildInputs = [ azure-common msrest msrestazure ];
+
+ # no tests included
+ doCheck = false;
+
+ pythonImportsCheck = [ "azure.common" "azure.mgmt.kusto" ];
+
+ meta = with lib; {
+ description = "Microsoft Azure Kusto Management Client Library for Python";
+ homepage = "https://github.com/Azure/azure-sdk-for-python";
+ license = licenses.mit;
+ maintainers = with maintainers; [ jonringer ];
+ };
+}
diff --git a/pkgs/development/python-modules/azure-mgmt-loganalytics/default.nix b/pkgs/development/python-modules/azure-mgmt-loganalytics/default.nix
index 6d844117c9f57af842164ba6f1e2404e5cfa9828..a5e2829a930a4227c463ab36e12f53688fb4276f 100644
--- a/pkgs/development/python-modules/azure-mgmt-loganalytics/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-loganalytics/default.nix
@@ -1,6 +1,8 @@
{ lib
, buildPythonPackage
, fetchPypi
+, python
+, isPy3k
, msrest
, msrestazure
, azure-common
@@ -24,6 +26,11 @@ buildPythonPackage rec {
azure-mgmt-nspkg
];
+ postInstall = lib.optionalString isPy3k ''
+ rm $out/${python.sitePackages}/azure/__init__.py
+ rm $out/${python.sitePackages}/azure/mgmt/__init__.py
+ '';
+
# has no tests
doCheck = false;
diff --git a/pkgs/development/python-modules/azure-mgmt-managedservices/default.nix b/pkgs/development/python-modules/azure-mgmt-managedservices/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..4d059480c442de425b83c30e3b77f9a85ff01ddd
--- /dev/null
+++ b/pkgs/development/python-modules/azure-mgmt-managedservices/default.nix
@@ -0,0 +1,31 @@
+{ lib, buildPythonPackage, fetchPypi, isPy27
+, azure-common
+, msrest
+, msrestazure
+}:
+
+buildPythonPackage rec {
+ version = "1.0.0";
+ pname = "azure-mgmt-managedservices";
+ disabled = isPy27;
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "06ddfqriqlvwjsjhqka9r5vhshardyj9c10xgjissfkpqsgkkn7y";
+ extension = "zip";
+ };
+
+ propagatedBuildInputs = [ azure-common msrest msrestazure ];
+
+ # no tests included
+ doCheck = false;
+
+ pythonImportsCheck = [ "azure.common" "azure.mgmt.managedservices" ];
+
+ meta = with lib; {
+ description = "Microsoft Azure Managed Services Client Library for Python";
+ homepage = "https://github.com/Azure/azure-sdk-for-python";
+ license = licenses.mit;
+ maintainers = with maintainers; [ jonringer ];
+ };
+}
diff --git a/pkgs/development/python-modules/azure-mgmt-maps/default.nix b/pkgs/development/python-modules/azure-mgmt-maps/default.nix
index 2869b6c81d7377dcdebf25d824e10d866e8c11ba..b18c026723615134acada92de7b5949ebf4863cc 100644
--- a/pkgs/development/python-modules/azure-mgmt-maps/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-maps/default.nix
@@ -1,6 +1,8 @@
{ lib
, buildPythonPackage
, fetchPypi
+, python
+, isPy3k
, msrest
, msrestazure
, azure-common
@@ -24,6 +26,11 @@ buildPythonPackage rec {
azure-mgmt-nspkg
];
+ postInstall = lib.optionalString isPy3k ''
+ rm $out/${python.sitePackages}/azure/__init__.py
+ rm $out/${python.sitePackages}/azure/mgmt/__init__.py
+ '';
+
# has no tests
doCheck = false;
diff --git a/pkgs/development/python-modules/azure-mgmt-monitor/default.nix b/pkgs/development/python-modules/azure-mgmt-monitor/default.nix
index b9a8b3c0158e549f5184034a51fea7ac0c4f2b92..252760950e5bed8d3f61d0da3cc267bb871b4d5b 100644
--- a/pkgs/development/python-modules/azure-mgmt-monitor/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-monitor/default.nix
@@ -1,11 +1,12 @@
{ lib
, buildPythonPackage
, fetchPypi
+, python
+, isPy3k
, msrest
, msrestazure
, azure-common
, azure-mgmt-nspkg
-, isPy3k
}:
buildPythonPackage rec {
@@ -26,6 +27,11 @@ buildPythonPackage rec {
azure-mgmt-nspkg
];
+ postInstall = lib.optionalString isPy3k ''
+ rm -rf $out/${python.sitePackages}/azure/__init__.py
+ rm -rf $out/${python.sitePackages}/azure/mgmt/__init__.py
+ '';
+
# has no tests
doCheck = false;
diff --git a/pkgs/development/python-modules/azure-mgmt-msi/default.nix b/pkgs/development/python-modules/azure-mgmt-msi/default.nix
index 9b1d0bf5a2b26f45bef78910675d54e3c4bc2ead..87e70c2fdcc93a41c1af0f4a10618a6bdd8f3ef8 100644
--- a/pkgs/development/python-modules/azure-mgmt-msi/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-msi/default.nix
@@ -1,6 +1,8 @@
{ lib
, buildPythonPackage
, fetchPypi
+, python
+, isPy3k
, msrest
, msrestazure
, azure-common
@@ -24,6 +26,11 @@ buildPythonPackage rec {
azure-mgmt-nspkg
];
+ postInstall = lib.optionalString isPy3k ''
+ rm $out/${python.sitePackages}/azure/__init__.py
+ rm $out/${python.sitePackages}/azure/mgmt/__init__.py
+ '';
+
# has no tests
doCheck = false;
diff --git a/pkgs/development/python-modules/azure-mgmt-netapp/default.nix b/pkgs/development/python-modules/azure-mgmt-netapp/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..79a3a19778d1d92f3965f0a59a48fc4a30a792a1
--- /dev/null
+++ b/pkgs/development/python-modules/azure-mgmt-netapp/default.nix
@@ -0,0 +1,31 @@
+{ lib, buildPythonPackage, fetchPypi, isPy27
+, azure-common
+, msrest
+, msrestazure
+}:
+
+buildPythonPackage rec {
+ version = "0.6.0";
+ pname = "azure-mgmt-netapp";
+ disabled = isPy27;
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "10ymvyj386z9bjdm2g1b5a4vfnn87ig2zm6xn2xddvbpy0jxnyfv";
+ extension = "zip";
+ };
+
+ propagatedBuildInputs = [ azure-common msrest msrestazure ];
+
+ # no tests included
+ doCheck = false;
+
+ pythonImportsCheck = [ "azure.common" "azure.mgmt.netapp" ];
+
+ meta = with lib; {
+ description = "Microsoft Azure NetApp Files Management Client Library for Python";
+ homepage = "https://github.com/Azure/azure-sdk-for-python";
+ license = licenses.mit;
+ maintainers = with maintainers; [ jonringer ];
+ };
+}
diff --git a/pkgs/development/python-modules/azure-mgmt-network/default.nix b/pkgs/development/python-modules/azure-mgmt-network/default.nix
index 236eb0cd8ce3880ef244028327650774dc94e017..4663b9fa035632ef9edc7f0294db389cbcc5d5bf 100644
--- a/pkgs/development/python-modules/azure-mgmt-network/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-network/default.nix
@@ -7,13 +7,13 @@
}:
buildPythonPackage rec {
- version = "7.0.0";
+ version = "8.0.0";
pname = "azure-mgmt-network";
src = fetchPypi {
inherit pname version;
extension = "zip";
- sha256 = "32ce90691b96ecdaa974ecb4d35063377c8fd21fd05984164507b63113f3456b";
+ sha256 = "1prg4b1agda9bsn6zmvffkj22rr6jy784rdfp6154yifjr6z5jiv";
};
postInstall = if isPy3k then "" else ''
diff --git a/pkgs/development/python-modules/azure-mgmt-privatedns/default.nix b/pkgs/development/python-modules/azure-mgmt-privatedns/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..98855730ba34a789300142c109f5b39e4403f200
--- /dev/null
+++ b/pkgs/development/python-modules/azure-mgmt-privatedns/default.nix
@@ -0,0 +1,31 @@
+{ lib, buildPythonPackage, fetchPypi, isPy27
+, azure-common
+, msrest
+, msrestazure
+}:
+
+buildPythonPackage rec {
+ version = "0.1.0";
+ pname = "azure-mgmt-privatedns";
+ disabled = isPy27;
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "08wdvfkk8jh90m3l4nz7knd5vikgfvsx70lk7mkhcvl0xj6gv76j";
+ extension = "zip";
+ };
+
+ propagatedBuildInputs = [ azure-common msrest msrestazure ];
+
+ # no tests included
+ doCheck = false;
+
+ pythonImportsCheck = [ "azure.common" "azure.mgmt.privatedns" ];
+
+ meta = with lib; {
+ description = "Microsoft Azure DNS Private Zones Client Library for Python";
+ homepage = "https://github.com/Azure/azure-sdk-for-python";
+ license = licenses.mit;
+ maintainers = with maintainers; [ jonringer ];
+ };
+}
diff --git a/pkgs/development/python-modules/azure-mgmt-relay/default.nix b/pkgs/development/python-modules/azure-mgmt-relay/default.nix
index 718cd985443723f071dcb59846b8cbb1ee19b0b3..5046bf8740fdaee25a5606c089c52abf7827b477 100644
--- a/pkgs/development/python-modules/azure-mgmt-relay/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-relay/default.nix
@@ -1,6 +1,8 @@
{ lib
, buildPythonPackage
, fetchPypi
+, python
+, isPy3k
, msrestazure
, azure-common
, azure-mgmt-nspkg
@@ -22,6 +24,11 @@ buildPythonPackage rec {
azure-mgmt-nspkg
];
+ postInstall = lib.optionalString isPy3k ''
+ rm $out/${python.sitePackages}/azure/__init__.py
+ rm $out/${python.sitePackages}/azure/mgmt/__init__.py
+ '';
+
# has no tests
doCheck = false;
diff --git a/pkgs/development/python-modules/azure-mgmt-reservations/default.nix b/pkgs/development/python-modules/azure-mgmt-reservations/default.nix
index cc19e904863947dd97009fd7be2132aa0925b45f..5d13acb6ec8377bb58c882687b61f30c58900b9d 100644
--- a/pkgs/development/python-modules/azure-mgmt-reservations/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-reservations/default.nix
@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-reservations";
- version = "0.5.0";
+ version = "0.6.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
- sha256 = "06l362xiqhk8vvb1pch6ngfyv8m00ahr6ysdznd6qvxz8awazy10";
+ sha256 = "16ycni3cjl9c0mv419gy5rgbrlg8zp0vnr6aj8z8p2ypdw6sgac3";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/azure-mgmt-resource/default.nix b/pkgs/development/python-modules/azure-mgmt-resource/default.nix
index 4c02be90a09cee3d967fa60de81f9dc463d5915d..4f2481097e1ae49ec145145d425df5b71568be57 100644
--- a/pkgs/development/python-modules/azure-mgmt-resource/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-resource/default.nix
@@ -8,13 +8,13 @@
buildPythonPackage rec {
- version = "5.1.0";
+ version = "6.0.0";
pname = "azure-mgmt-resource";
src = fetchPypi {
inherit pname version;
extension = "zip";
- sha256 = "88db03ea5b9db1dfbf3de8c7be111ed41b121a374645e3ddf3fbba47584c32b1";
+ sha256 = "08n6r6ja7p20qlhb9pp51nwwxz2mal19an98zry276i8z5x8ckp0";
};
postInstall = if isPy3k then "" else ''
diff --git a/pkgs/development/python-modules/azure-mgmt-security/default.nix b/pkgs/development/python-modules/azure-mgmt-security/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..5a9d8849f8d21d1346405441e8251b6bc6da0c6a
--- /dev/null
+++ b/pkgs/development/python-modules/azure-mgmt-security/default.nix
@@ -0,0 +1,31 @@
+{ lib, buildPythonPackage, fetchPypi, isPy27
+, azure-common
+, msrest
+, msrestazure
+}:
+
+buildPythonPackage rec {
+ version = "0.3.0";
+ pname = "azure-mgmt-security";
+ disabled = isPy27;
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "0z766424783a6y5dp5ybxssb0bfzqb8kpa6zra8ccnbfg4fn478v";
+ extension = "zip";
+ };
+
+ propagatedBuildInputs = [ azure-common msrest msrestazure ];
+
+ # no tests included
+ doCheck = false;
+
+ pythonImportsCheck = [ "azure.common" "azure.mgmt.security" ];
+
+ meta = with lib; {
+ description = "Microsoft Azure Security Center Management Client Library for Python";
+ homepage = "https://github.com/Azure/azure-sdk-for-python";
+ license = licenses.mit;
+ maintainers = with maintainers; [ jonringer ];
+ };
+}
diff --git a/pkgs/development/python-modules/azure-mgmt-servicefabric/default.nix b/pkgs/development/python-modules/azure-mgmt-servicefabric/default.nix
index a80c97ea377f36e657e90ab00dfcedda940fa4a1..9c849829a1274edbff0c45534e97123734f2e8db 100644
--- a/pkgs/development/python-modules/azure-mgmt-servicefabric/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-servicefabric/default.nix
@@ -1,6 +1,8 @@
{ lib
, buildPythonPackage
, fetchPypi
+, python
+, isPy3k
, msrest
, msrestazure
, azure-common
@@ -24,6 +26,11 @@ buildPythonPackage rec {
azure-mgmt-nspkg
];
+ postInstall = lib.optionalString isPy3k ''
+ rm $out/${python.sitePackages}/azure/__init__.py
+ rm $out/${python.sitePackages}/azure/mgmt/__init__.py
+ '';
+
# has no tests
doCheck = false;
diff --git a/pkgs/development/python-modules/azure-mgmt-sql/default.nix b/pkgs/development/python-modules/azure-mgmt-sql/default.nix
index 5ad1e620ede0785a160c0e42f50d7126e1b1bef5..5a5a708a5dd2cf49af6f6e69f4577267342c56f9 100644
--- a/pkgs/development/python-modules/azure-mgmt-sql/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-sql/default.nix
@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-sql";
- version = "0.14.0";
+ version = "0.15.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
- sha256 = "109w1kj45fvwc94bkhdkj3bdysrskfz8i6ph4qlpjk340zy81vvl";
+ sha256 = "0qv58xraznv2ldhd34cvznhz045x3ncfgam9c12gxyj4q0k3pyc9";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/azure-mgmt-sqlvirtualmachine/default.nix b/pkgs/development/python-modules/azure-mgmt-sqlvirtualmachine/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..6704df2d21a31554637a7eacbef431578d71c290
--- /dev/null
+++ b/pkgs/development/python-modules/azure-mgmt-sqlvirtualmachine/default.nix
@@ -0,0 +1,31 @@
+{ lib, buildPythonPackage, fetchPypi, isPy27
+, azure-common
+, msrest
+, msrestazure
+}:
+
+buildPythonPackage rec {
+ version = "0.4.0";
+ pname = "azure-mgmt-sqlvirtualmachine";
+ disabled = isPy27;
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "1jxmikjvyxkwr8c9kn6xw8gvj9pajlk7y8111rq8fgkivwjq8wcm";
+ extension = "zip";
+ };
+
+ propagatedBuildInputs = [ azure-common msrest msrestazure ];
+
+ # no tests included
+ doCheck = false;
+
+ pythonImportsCheck = [ "azure.common" "azure.mgmt.sqlvirtualmachine" ];
+
+ meta = with lib; {
+ description = "Microsoft Azure SQL Virtual Machine Management Client Library for Python";
+ homepage = "https://github.com/Azure/azure-sdk-for-python";
+ license = licenses.mit;
+ maintainers = with maintainers; [ jonringer ];
+ };
+}
diff --git a/pkgs/development/python-modules/azure-mgmt-web/default.nix b/pkgs/development/python-modules/azure-mgmt-web/default.nix
index 4a372139fdb53b9b9341c98c1b8565700ad089fa..ea6c1502123f0e2bf20c54adb70336fa82792ea4 100644
--- a/pkgs/development/python-modules/azure-mgmt-web/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-web/default.nix
@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-web";
- version = "0.43.1";
+ version = "0.44.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
- sha256 = "e3ab5acc9f13746e1f4ce19ccbacc4522527dd1f75eff2826cd882b7ba54806a";
+ sha256 = "05dqakhfi301k2jnvccxdkigqvwnf9xz858pqg9vsri3dq69f1rw";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/azure-multiapi-storage/default.nix b/pkgs/development/python-modules/azure-multiapi-storage/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..dc4a011e078915ce435d087367391288e48479d2
--- /dev/null
+++ b/pkgs/development/python-modules/azure-multiapi-storage/default.nix
@@ -0,0 +1,36 @@
+{ lib, python, buildPythonPackage, fetchPypi, isPy27
+, azure-common
+, msrest
+, msrestazure
+}:
+
+buildPythonPackage rec {
+ version = "0.2.4";
+ pname = "azure-multiapi-storage";
+ disabled = isPy27;
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "0zqapc4dx6qd9bcim5fjykk3n1j84p85nwqyb876nb7qmqx9spig";
+ };
+
+ propagatedBuildInputs = [ azure-common msrest msrestazure ];
+
+ # fix namespace issues
+ postInstall = ''
+ rm $out/${python.sitePackages}/azure/__init__.py
+ rm $out/${python.sitePackages}/azure/multiapi/__init__.py
+ '';
+
+ # no tests included
+ doCheck = false;
+
+ pythonImportsCheck = [ "azure.common" "azure.multiapi.storage" ];
+
+ meta = with lib; {
+ description = "Microsoft Azure Storage Client Library for Python with multi API version support.";
+ homepage = "https://github.com/Azure/azure-sdk-for-python";
+ license = licenses.mit;
+ maintainers = with maintainers; [ jonringer ];
+ };
+}
diff --git a/pkgs/development/python-modules/babelgladeextractor/default.nix b/pkgs/development/python-modules/babelgladeextractor/default.nix
index 40c2493c151061a91769f151592bea153bea61ad..997682ca865d62bccd5c6f1b89545e5003780a9e 100644
--- a/pkgs/development/python-modules/babelgladeextractor/default.nix
+++ b/pkgs/development/python-modules/babelgladeextractor/default.nix
@@ -3,23 +3,21 @@
, buildPythonPackage
, fetchPypi
, Babel
-, lxml
}:
buildPythonPackage rec {
pname = "babelgladeextractor";
- version = "0.6.0";
+ version = "0.6.1";
src = fetchPypi {
pname = "BabelGladeExtractor";
inherit version;
extension = "tar.bz2";
- sha256 = "18m5vi3sj2h26ibmb6fzfjs2lscg757ivk1bjgkn1haf9gdwyjj6";
+ sha256 = "1jhs12pliz54dbnigib1h8ywfzsj1g32c1vhspvg46f5983nvf93";
};
propagatedBuildInputs = [
Babel
- lxml # TODO: remove in 0.7.0
];
# Tests missing
diff --git a/pkgs/development/python-modules/behave/default.nix b/pkgs/development/python-modules/behave/default.nix
index 7ad3489553c240f67f774f167f25fe522a8748ad..6d0364676f9a91695ae0299064701750b738beba 100644
--- a/pkgs/development/python-modules/behave/default.nix
+++ b/pkgs/development/python-modules/behave/default.nix
@@ -1,9 +1,10 @@
{ stdenv, fetchPypi, fetchpatch
, buildPythonApplication, python, pythonOlder
-, mock, nose, pathpy, pyhamcrest, pytest
+, mock, nose, pathpy, pyhamcrest, pytest_4
, glibcLocales, parse, parse-type, six
, traceback2
}:
+
buildPythonApplication rec {
pname = "behave";
version = "1.2.6";
@@ -21,7 +22,7 @@ buildPythonApplication rec {
})
];
- checkInputs = [ mock nose pathpy pyhamcrest pytest ];
+ checkInputs = [ mock nose pathpy pyhamcrest pytest_4 ];
buildInputs = [ glibcLocales ];
propagatedBuildInputs = [ parse parse-type six ] ++ stdenv.lib.optional (pythonOlder "3.0") traceback2;
diff --git a/pkgs/development/python-modules/biopython/default.nix b/pkgs/development/python-modules/biopython/default.nix
index e60d4c60aeab02bcbb70bfccb224f8fda62c79ab..a35c2d07394583245d76893e76d629e87f55e08d 100644
--- a/pkgs/development/python-modules/biopython/default.nix
+++ b/pkgs/development/python-modules/biopython/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "biopython";
- version = "1.74";
+ version = "1.75";
src = fetchPypi {
inherit pname version;
- sha256 = "1h4hcpx1vqrcddpcznyxy14zzvy2yanlkz0117w5n869w8djq595";
+ sha256 = "01lrm353si63anhhynf6hqbd3f753c2k8dkk953j3g6257py8q2h";
};
propagatedBuildInputs = [ numpy ];
diff --git a/pkgs/development/python-modules/bitarray/default.nix b/pkgs/development/python-modules/bitarray/default.nix
index 78372598096f8bff5999fe22120baf282f8166a5..3c84366c9d1367ea42f58b9c3d41b45ccebea487 100644
--- a/pkgs/development/python-modules/bitarray/default.nix
+++ b/pkgs/development/python-modules/bitarray/default.nix
@@ -1,12 +1,12 @@
{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
- version = "1.0.1";
+ version = "1.1.0";
pname = "bitarray";
src = fetchPypi {
inherit pname version;
- sha256 = "3eb500f8b9cde19e14472fcbee0195dbf0fbac006f8406a03f0cfb495dff20a0";
+ sha256 = "0nv1283qcfilhnb4q6znlijply6lfxwpvp10cr0v33l0qwa86mwz";
};
meta = with lib; {
diff --git a/pkgs/development/python-modules/blist/default.nix b/pkgs/development/python-modules/blist/default.nix
index d6d55accaca703494f6e1b037fbc6de3a77c7ecf..90a4b99cda33ff14d0f8eb86ec5e597d42ce3544 100644
--- a/pkgs/development/python-modules/blist/default.nix
+++ b/pkgs/development/python-modules/blist/default.nix
@@ -1,5 +1,6 @@
{ stdenv
, buildPythonPackage
+, fetchpatch
, fetchPypi
, isPyPy
}:
@@ -14,6 +15,15 @@ buildPythonPackage rec {
sha256 = "1hqz9pqbwx0czvq9bjdqjqh5bwfksva1is0anfazig81n18c84is";
};
+
+ patches = [
+ # Fix compatibility for Python 3.7 https://github.com/DanielStutzbach/blist/pull/78
+ (fetchpatch {
+ url = "https://github.com/DanielStutzbach/blist/commit/2dc1ec28ed68611fcec9ac1c68070c782d6b4b4e.patch";
+ sha256 = "0ma0z6ga80w3wzh3sidwd8ckfbgx4j1y7cc29q6j9ddrvxpf276y";
+ })
+ ];
+
meta = with stdenv.lib; {
homepage = http://stutzbachenterprises.com/blist/;
description = "A list-like type with better asymptotic performance and similar performance on small lists";
diff --git a/pkgs/development/python-modules/boltons/default.nix b/pkgs/development/python-modules/boltons/default.nix
index b5aa9e6cf0337a3c1d8224d15b140e2e1e753260..8b7139f5a627f4df8b0bf15279806634857e0d8e 100644
--- a/pkgs/development/python-modules/boltons/default.nix
+++ b/pkgs/development/python-modules/boltons/default.nix
@@ -2,14 +2,14 @@
buildPythonPackage rec {
pname = "boltons";
- version = "19.1.0";
+ version = "19.3.0";
# No tests in PyPi Tarball
src = fetchFromGitHub {
owner = "mahmoud";
repo = "boltons";
rev = version;
- sha256 = "0b55wly0ksviyl3a4dmih9vzd7bj3p10gr6la4722cs9cx4128q5";
+ sha256 = "0pgqr2hf7lxag8nc8wnh8hpp8fd2lxccq9h0bb8lb9x8npnzhnbn";
};
checkInputs = [ pytest ];
diff --git a/pkgs/development/python-modules/btrees/default.nix b/pkgs/development/python-modules/btrees/default.nix
index 828e243af9c2c64f9aef1dec86fad29053f5fe3e..4b17b5046aa410a1cedc7f695a42db7f39ea7f2a 100644
--- a/pkgs/development/python-modules/btrees/default.nix
+++ b/pkgs/development/python-modules/btrees/default.nix
@@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "BTrees";
- version = "4.6.0";
+ version = "4.6.1";
buildInputs = [ transaction ];
propagatedBuildInputs = [ persistent zope_interface ];
@@ -23,7 +23,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "0bmkpg6z5z47p21340nyrfbdv2jkfp80yv085ndgbwaas1zi7ac9";
+ sha256 = "b3a0e1d073800bf7bcca6cbb97a6b3c9ec485a4ba3ee0b354da1ed076cfb9f30";
};
meta = with stdenv.lib; {
diff --git a/pkgs/development/python-modules/buildbot/default.nix b/pkgs/development/python-modules/buildbot/default.nix
index 8fc7b62a63c1913934e2d4da10eb22f62962f836..7385a3295518adf431b930c03f4e3e1eda047e85 100644
--- a/pkgs/development/python-modules/buildbot/default.nix
+++ b/pkgs/development/python-modules/buildbot/default.nix
@@ -25,11 +25,11 @@ let
package = buildPythonPackage rec {
pname = "buildbot";
- version = "2.5.0";
+ version = "2.5.1";
src = fetchPypi {
inherit pname version;
- sha256 = "06dza7kggybz8nf3i1skkadwrq9s0nkpqjfahifysaag3j3b5rp4";
+ sha256 = "13ddpcbndb22zlg9gjsf2pbgad45g1w5cg4a3z83085fkgnib7sr";
};
propagatedBuildInputs = [
@@ -74,13 +74,6 @@ let
# This patch disables the test that tries to read /etc/os-release which
# is not accessible in sandboxed builds.
./skip_test_linux_distro.patch
- # Work around https://github.com/glyph/automat/issues/117
- (fetchpatch {
- url = "https://git.archlinux.org/svntogit/community.git/plain/trunk/buildbot-automat-117.diff?h=packages/buildbot&id=7904292340f98578adfe783a09e9eb4c5b1d4632";
- name = "buildbot-automat-117.diff";
- stripLen = 1;
- sha256 = "0rng6f8nvghkihajz9m925rdp9q3c395bj4wc7r2s1minv613hba";
- })
];
postPatch = ''
diff --git a/pkgs/development/python-modules/buildbot/pkg.nix b/pkgs/development/python-modules/buildbot/pkg.nix
index 1a75d6a634fb117d4dc07d61a7c45320899f7fda..ff2be45bf32a32aa99f12b1c07a822507f19df2d 100644
--- a/pkgs/development/python-modules/buildbot/pkg.nix
+++ b/pkgs/development/python-modules/buildbot/pkg.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "buildbot-pkg";
- version = "2.5.0";
+ version = "2.5.1";
src = fetchPypi {
inherit pname version;
- sha256 = "1my9a791y6hsazzqs3f3svl6zw28x3qwj0a0vxffybqdij650nvw";
+ sha256 = "1g87pddsyas1r0f6z29047cwnz7ds4925f6n9g7b0pkj3k73ci06";
};
postPatch = ''
diff --git a/pkgs/development/python-modules/buildbot/plugins.nix b/pkgs/development/python-modules/buildbot/plugins.nix
index 7ee8ddfb61a90b96db9adf5672b27d463f42a002..8722a6629e499e6b0a2b6d1ba468f4c4ca56aae1 100644
--- a/pkgs/development/python-modules/buildbot/plugins.nix
+++ b/pkgs/development/python-modules/buildbot/plugins.nix
@@ -7,7 +7,7 @@
src = fetchPypi {
inherit pname version;
- sha256 = "0awy96pb9s9g0nrmlrvqf5zi878z6mvj653inf9sm89x601a6lp1";
+ sha256 = "00k5dbcwzqlyk4lcp5qh1q8xbrxmg9gzqs7vl2r6f3wxi4ydb5nw";
};
# Remove unneccessary circular dependency on buildbot
@@ -36,7 +36,7 @@
src = fetchPypi {
inherit pname version;
- sha256 = "0bp7bbq6rq1kdg3pf8plcpc4amam0pks5dlmyqj6bn29skfa5h1j";
+ sha256 = "0ai334y779jwqabrn2yjma41pw0a9k1qy7v68qbjd22n4my227ma";
};
buildInputs = [ buildbot-pkg ];
@@ -58,7 +58,7 @@
src = fetchPypi {
inherit pname version;
- sha256 = "1mxxkqzh4a6574n2lk2ndi77d9g93hjpkwsqizj911n6ibsn4qw3";
+ sha256 = "1j450hwvg729mivzijbrx8ngalx56qvrx8mwwgy8arfwpnyfkr9l";
};
buildInputs = [ buildbot-pkg ];
@@ -80,7 +80,7 @@
src = fetchPypi {
inherit pname version;
- sha256 = "1fkrd5crbgqgp8mr8qgfy559f59ys6hrspddzk3fwg5hrsckkjwr";
+ sha256 = "19w8is5s7d7l60mlchh1zd9nidpkswi8fivfa36b97plibn0jgw1";
};
buildInputs = [ buildbot-pkg ];
@@ -102,7 +102,7 @@
src = fetchPypi {
inherit pname version;
- sha256 = "0cvbizcc92df08xcs8w6ah51yfilxz7sx9g8bbdrvw6m586ziczb";
+ sha256 = "1zl7y08rkw7bya6cli44msvcdgirsyfg3kxpf2z82vwgc6bwi785";
};
buildInputs = [ buildbot-pkg ];
diff --git a/pkgs/development/python-modules/buildbot/worker.nix b/pkgs/development/python-modules/buildbot/worker.nix
index 19ce3bf0ad668d903f8a82546dbcd7e5a185e23e..048fb44a93bc8e241f6087424502df405adbc298 100644
--- a/pkgs/development/python-modules/buildbot/worker.nix
+++ b/pkgs/development/python-modules/buildbot/worker.nix
@@ -3,11 +3,11 @@
buildPythonPackage (rec {
pname = "buildbot-worker";
- version = "2.5.0";
+ version = "2.5.1";
src = fetchPypi {
inherit pname version;
- sha256 = "05c8q6ykharry4lv47imh6agq55fxar8a9ldwx46clb480qwyc43";
+ sha256 = "1kpj85x8xflrccvy840v9bl3q1j63rk9kahj1qirbai1fxwvzbik";
};
propagatedBuildInputs = [ twisted future ];
diff --git a/pkgs/development/python-modules/cadquery/default.nix b/pkgs/development/python-modules/cadquery/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..6f3632f743bea830d872dd6525217aba4c95c766
--- /dev/null
+++ b/pkgs/development/python-modules/cadquery/default.nix
@@ -0,0 +1,93 @@
+{ lib
+ , buildPythonPackage
+ , isPy3k
+ , pythonOlder
+ , fetchFromGitHub
+ , pyparsing
+ , opencascade
+ , stdenv
+ , python
+ , cmake
+ , swig
+ , ninja
+ , smesh
+ , freetype
+ , libGL
+ , libGLU
+ , libX11
+ , six
+}:
+
+let
+ pythonocc-core-cadquery = stdenv.mkDerivation {
+ pname = "pythonocc-core-cadquery";
+ version = "0.18.2";
+
+ src = fetchFromGitHub {
+ owner = "CadQuery";
+ repo = "pythonocc-core";
+ # no proper release to to use, this commit copied from the Anaconda receipe
+ rev = "701e924ae40701cbe6f9992bcbdc2ef22aa9b5ab";
+ sha256 = "07zmiiw74dyj4v0ar5vqkvk30wzcpjjzbi04nsdk5mnlzslmyi6c";
+ };
+
+ nativeBuildInputs = [
+ cmake
+ swig
+ ninja
+ ];
+
+ buildInputs = [
+ python
+ opencascade
+ smesh
+ freetype
+ libGL
+ libGLU
+ libX11
+ ];
+
+ propagatedBuildInputs = [
+ six
+ ];
+
+ cmakeFlags = [
+ "-Wno-dev"
+ "-DPYTHONOCC_INSTALL_DIRECTORY=${placeholder "out"}/${python.sitePackages}/OCC"
+ "-DSMESH_INCLUDE_PATH=${smesh}/include/smesh"
+ "-DSMESH_LIB_PATH=${smesh}/lib"
+ "-DPYTHONOCC_WRAP_SMESH=TRUE"
+ ];
+ };
+
+in
+ buildPythonPackage rec {
+ pname = "cadquery";
+ version = "2.0RC0";
+
+ src = fetchFromGitHub {
+ owner = "CadQuery";
+ repo = pname;
+ rev = version;
+ sha256 = "1xgd00rih0gjcnlrf9s6r5a7ypjkzgf2xij2b6436i76h89wmir3";
+ };
+
+ buildInputs = [
+ opencascade
+ ];
+
+ propagatedBuildInputs = [
+ pyparsing
+ pythonocc-core-cadquery
+ ];
+
+ # Build errors on 2.7 and >=3.8 (officially only supports 3.6 and 3.7).
+ disabled = !(isPy3k && (pythonOlder "3.8"));
+
+ meta = with lib; {
+ description = "Parametric scripting language for creating and traversing CAD models";
+ homepage = "https://github.com/CadQuery/cadquery";
+ license = licenses.asl20;
+ maintainers = with maintainers; [ costrouc marcus7070 ];
+ };
+ }
diff --git a/pkgs/development/python-modules/carbon/default.nix b/pkgs/development/python-modules/carbon/default.nix
index 3b49289c2e48adbc03efe7e0ccc644be2b8ce2b3..c471240c87ad540d8e5bdad950482dacf12baf27 100644
--- a/pkgs/development/python-modules/carbon/default.nix
+++ b/pkgs/development/python-modules/carbon/default.nix
@@ -4,13 +4,13 @@
buildPythonPackage rec {
pname = "carbon";
- version = "1.1.5";
+ version = "1.1.6";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "a88390553a9ea628fdb74b5b358ed83a657e058bcc811e5819d9db856b4fcf5b";
+ sha256 = "9ecda1469e497e3fed346b23ac94fd576e1bd9962677ab88975f4f598186e851";
};
propagatedBuildInputs = [ twisted whisper txamqp cachetools urllib3 ];
diff --git a/pkgs/development/python-modules/catalogue/default.nix b/pkgs/development/python-modules/catalogue/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..f9ad59338430262b2782e6553d67ea4abd7c6972
--- /dev/null
+++ b/pkgs/development/python-modules/catalogue/default.nix
@@ -0,0 +1,24 @@
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+, importlib-metadata
+}:
+
+buildPythonPackage rec {
+ pname = "catalogue";
+ version = "0.0.7";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "0m7xp85fg57wi1l1vdsq2k0b8dv5bnfccds33lb04z9vrds4l3jv";
+ };
+
+ propagatedBuildInputs = [ importlib-metadata ];
+
+ meta = with stdenv.lib; {
+ description = "Tiny library for adding function or object registries";
+ homepage = "https://github.com/explosion/catalogue";
+ license = licenses.mit;
+ maintainers = with maintainers; [ danieldk ];
+ };
+}
diff --git a/pkgs/development/python-modules/cchardet/default.nix b/pkgs/development/python-modules/cchardet/default.nix
index 5596b3e37e5967ef1a18a2af24b6660fc20eeee6..1fb506682baf0c00534d9ac7447006673e2ac0a6 100644
--- a/pkgs/development/python-modules/cchardet/default.nix
+++ b/pkgs/development/python-modules/cchardet/default.nix
@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "cchardet";
- version = "2.1.4";
+ version = "2.1.5";
src = fetchPypi {
inherit pname version;
- sha256 = "1h3wajwwgqpyb1q44lzr8djbcwr4y8cphph7kyscz90d83h4b5yc";
+ sha256 = "240efe3f255f916769458343840b9c6403cf3192720bc5129792cbcb88bf72fb";
};
checkInputs = [ nose ];
diff --git a/pkgs/development/python-modules/cffi/default.nix b/pkgs/development/python-modules/cffi/default.nix
index 6d80516164173d381e36bfd61fe8dc409afea68a..15d15c23a8d2939bb8e70df119f66631fc182c1b 100644
--- a/pkgs/development/python-modules/cffi/default.nix
+++ b/pkgs/development/python-modules/cffi/default.nix
@@ -2,11 +2,11 @@
if isPyPy then null else buildPythonPackage rec {
pname = "cffi";
- version = "1.13.1";
+ version = "1.13.2";
src = fetchPypi {
inherit pname version;
- sha256 = "558b3afef987cf4b17abd849e7bedf64ee12b28175d564d05b628a0f9355599b";
+ sha256 = "599a1e8ff057ac530c9ad1778293c665cb81a791421f46922d80a86473c13346";
};
outputs = [ "out" "dev" ];
diff --git a/pkgs/development/python-modules/cfn-lint/default.nix b/pkgs/development/python-modules/cfn-lint/default.nix
index 5dc84e07eb0cc61a63c7e703d1cf704519a61edc..eeccaedf5f68b38694c9be12ce7ee54d18958066 100644
--- a/pkgs/development/python-modules/cfn-lint/default.nix
+++ b/pkgs/development/python-modules/cfn-lint/default.nix
@@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "cfn-lint";
- version = "0.24.5";
+ version = "0.24.8";
src = fetchPypi {
inherit pname version;
- sha256 = "1268c9730ba869f0f630eaf5bac34795553a97385d38eb91b9f7f5c3f73c8982";
+ sha256 = "5aa1540ee9a7efc23ebe54a22f1a505766a4bb44f64a0f4fe79574a156a9b43e";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/cleo/default.nix b/pkgs/development/python-modules/cleo/default.nix
index 146779082e4ad1c8a5786301e094f63bf61d7737..13a91837a6c74d60120bdca578af3fe1b8685bcb 100644
--- a/pkgs/development/python-modules/cleo/default.nix
+++ b/pkgs/development/python-modules/cleo/default.nix
@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "cleo";
- version = "0.7.5";
+ version = "0.7.6";
src = fetchPypi {
inherit pname version;
- sha256 = "0d0sxca308ilp73jdny4frn93asr4ih87xxl1d9rxf8m12xssa3c";
+ sha256 = "99cf342406f3499cec43270fcfaf93c126c5164092eca201dfef0f623360b409";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/click-default-group/default.nix b/pkgs/development/python-modules/click-default-group/default.nix
index eeee7370b7e3cef2504d1a5558262069d2e00a90..6bc092dcd4e0c0500b420b1d8a0da21b416338dd 100644
--- a/pkgs/development/python-modules/click-default-group/default.nix
+++ b/pkgs/development/python-modules/click-default-group/default.nix
@@ -2,14 +2,14 @@
buildPythonPackage rec {
pname = "click-default-group";
- version = "1.2.1";
+ version = "1.2.2";
# No tests in Pypi tarball
src = fetchFromGitHub {
owner = "click-contrib";
repo = "click-default-group";
rev = "v${version}";
- sha256 = "1wdmabfpmzxpiww0slinvxm9xjyxql250dn1pvjijq675pxafiz4";
+ sha256 = "0nk39lmkn208w8kvq6f4h3a6qzxrrvxixahpips6ik3zflbkss86";
};
propagatedBuildInputs = [ click ];
diff --git a/pkgs/development/python-modules/cornice/default.nix b/pkgs/development/python-modules/cornice/default.nix
index d4210ade06e27cdbee5af29283c7f8d8d40ef696..4ac38986245d5cdebd50cc65387045d994235114 100644
--- a/pkgs/development/python-modules/cornice/default.nix
+++ b/pkgs/development/python-modules/cornice/default.nix
@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "cornice";
- version = "3.6.0";
+ version = "3.6.1";
src = fetchPypi {
inherit pname version;
- sha256 = "4dab97fe52d7075ecc87b8cadf549ca2c2c628512741193fb81a0c0433b46715";
+ sha256 = "d3d608b9ff405e7ba5e9629ef0c09b7605997e1aea0dafb2aaa66761ff7cab08";
};
propagatedBuildInputs = [ pyramid simplejson six venusian ];
diff --git a/pkgs/development/python-modules/croniter/default.nix b/pkgs/development/python-modules/croniter/default.nix
index e262a7f164c8a4cb2877b17db647b73646227c66..969a4e8af89e4dd66e5d18980b2384b59a2aeed4 100644
--- a/pkgs/development/python-modules/croniter/default.nix
+++ b/pkgs/development/python-modules/croniter/default.nix
@@ -30,7 +30,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "croniter provides iteration for datetime object with cron like format";
- homepage = http://github.com/kiorky/croniter;
+ homepage = https://github.com/kiorky/croniter;
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
diff --git a/pkgs/development/python-modules/dateutil/default.nix b/pkgs/development/python-modules/dateutil/default.nix
index 63366d93056cdf95ab470260ce8bbc7acbea121a..9c5f6145d8fd52627b5f2e24e9bf29935c5feaec 100644
--- a/pkgs/development/python-modules/dateutil/default.nix
+++ b/pkgs/development/python-modules/dateutil/default.nix
@@ -1,11 +1,11 @@
{ stdenv, buildPythonPackage, fetchPypi, six, setuptools_scm, pytest }:
buildPythonPackage rec {
pname = "python-dateutil";
- version = "2.8.0";
+ version = "2.8.1";
src = fetchPypi {
inherit pname version;
- sha256 = "c89805f6f4d64db21ed966fda138f8a5ed7a4fdbc1a8ee329ce1b74e3c74da9e";
+ sha256 = "73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c";
};
checkInputs = [ pytest ];
diff --git a/pkgs/development/python-modules/decorator/default.nix b/pkgs/development/python-modules/decorator/default.nix
index b8c784023c23d03d6cb45ecc720bf95fe32808ce..f23d59291925576edd747ba9a4be828da3e10cd7 100644
--- a/pkgs/development/python-modules/decorator/default.nix
+++ b/pkgs/development/python-modules/decorator/default.nix
@@ -5,13 +5,17 @@
buildPythonPackage rec {
pname = "decorator";
- version = "4.4.0";
+ version = "4.4.1";
src = fetchPypi {
inherit pname version;
- sha256 = "1pi54wqj2p6ka13x7q8d5zgqg9bcf7m5d00l7x5bi204qmhn65c6";
+ sha256 = "54c38050039232e1db4ad7375cfce6748d7b41c29e95a081c8a6d2c30364a2ce";
};
+ postPatch = ''
+ substituteInPlace src/tests/test.py --replace "DocumentationTestCase" "NoDocumentation"
+ '';
+
meta = with lib; {
homepage = https://pypi.python.org/pypi/decorator;
description = "Better living through Python with decorators";
diff --git a/pkgs/development/python-modules/deprecated/default.nix b/pkgs/development/python-modules/deprecated/default.nix
index ee7c89d8167d38bfb5fd1eafa16739cbbefae8fb..1d4461fea1952443dadee1599e93984656b019a1 100644
--- a/pkgs/development/python-modules/deprecated/default.nix
+++ b/pkgs/development/python-modules/deprecated/default.nix
@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "Deprecated";
- version = "1.2.6";
+ version = "1.2.7";
src = fetchPypi {
inherit pname version;
- sha256 = "1hcw9y7dvhwg5flk6wy8aa4kkgpvcqq3q4jd53h54586fp7w85d5";
+ sha256 = "408038ab5fdeca67554e8f6742d1521cd3cd0ee0ff9d47f29318a4f4da31c308";
};
postPatch = ''
diff --git a/pkgs/development/python-modules/diff_cover/default.nix b/pkgs/development/python-modules/diff_cover/default.nix
index 86a124d23553bbd58b17f34c20cb163113b63616..0d49f62782129ad80adcf35821d8517ff71c89a7 100644
--- a/pkgs/development/python-modules/diff_cover/default.nix
+++ b/pkgs/development/python-modules/diff_cover/default.nix
@@ -17,7 +17,7 @@
buildPythonPackage rec {
pname = "diff_cover";
- version = "2.4.0";
+ version = "2.4.1";
preCheck = ''
export LC_ALL=en_US.UTF-8;
@@ -25,7 +25,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "a78babbec1c3088a6c3a5b62cddccaeac4717236ea4f5d28b6af00f2d9b2e341";
+ sha256 = "12h91rvbrf9qmdmj5nfqhcd3bpwq1pvk990bag4hyxcf86qlzds4";
};
propagatedBuildInputs = [ jinja2 jinja2_pluralize pygments six inflect ];
diff --git a/pkgs/development/python-modules/distlib/default.nix b/pkgs/development/python-modules/distlib/default.nix
index aea6bcd9504bce5f5610c1d992949ad92720417f..81575058b15718abaa42e710d428bbee99224b4d 100644
--- a/pkgs/development/python-modules/distlib/default.nix
+++ b/pkgs/development/python-modules/distlib/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "distlib";
- version = "0.2.9.post0";
+ version = "0.3.0";
src = fetchPypi {
inherit pname version;
- sha256 = "ecb3d0e4f71d0fa7f38db6bcc276c7c9a1c6638a516d726495934a553eb3fbe0";
+ sha256 = "08fyi2r246733vharl2yckw20rilci28r91mzrnnvcr638inw5if";
extension = "zip";
};
diff --git a/pkgs/development/python-modules/django-dynamic-preferences/default.nix b/pkgs/development/python-modules/django-dynamic-preferences/default.nix
index 28ec9aae24f154bcc9b9d5b649376bb1784a9b96..cea5a7976bb402f7298d3c3f334d441e548fc4cb 100644
--- a/pkgs/development/python-modules/django-dynamic-preferences/default.nix
+++ b/pkgs/development/python-modules/django-dynamic-preferences/default.nix
@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "django-dynamic-preferences";
- version = "1.7.1";
+ version = "1.8";
src = fetchPypi {
inherit pname version;
- sha256 = "1z2dndkpypk4pvb0byh5a771vgp50vn8g1rbk5r3sml6dm4wcn7s";
+ sha256 = "1v7mf48gb2qmmks3ifnhkh0vfd7hpvx5v81ypc9cqy35n3ir0q4a";
};
propagatedBuildInputs = [ six django persisting-theory ];
diff --git a/pkgs/development/python-modules/django-multiselectfield/default.nix b/pkgs/development/python-modules/django-multiselectfield/default.nix
index b10424de396b758fcc93e410c923dabeda48ea2d..acf49d741673008dfbc020e508a7455eeb873c48 100644
--- a/pkgs/development/python-modules/django-multiselectfield/default.nix
+++ b/pkgs/development/python-modules/django-multiselectfield/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "django-multiselectfield";
- version = "0.1.9";
+ version = "0.1.10";
src = fetchPypi {
inherit pname version;
- sha256 = "54fa3886884cbc5d9c2f523e0e4af2cc3b976bd077718b2b443a5be44eb481ec";
+ sha256 = "ec305ca79b6e16fb6d699d3159258f9f680ead8ea5ef9b419e7faf13f31355df";
};
propagatedBuildInputs = [ django ];
diff --git a/pkgs/development/python-modules/django-storages/default.nix b/pkgs/development/python-modules/django-storages/default.nix
index a82f9d3fb9b6b35b13343eeb0db3a3519446f515..5756d0ab5e61b560eda37f794365d726014f0f55 100644
--- a/pkgs/development/python-modules/django-storages/default.nix
+++ b/pkgs/development/python-modules/django-storages/default.nix
@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "django-storages";
- version = "1.7.2";
+ version = "1.8";
src = fetchPypi {
inherit pname version;
- sha256 = "01xq232h321716r08rari9payas7fsiwwr5q6zgcrlwkckwxxczk";
+ sha256 = "000abaayhymh4rxmk19hwhlyibc62rs0qdfczkhf4wb3p9san8lk";
};
propagatedBuildInputs = [ django ];
diff --git a/pkgs/development/python-modules/django/2_1.nix b/pkgs/development/python-modules/django/2_1.nix
index f8598c1e819b11493def4e6f221639af7c1c5c00..d1ebc686bbd9cd2792d22409fb330e9181119772 100644
--- a/pkgs/development/python-modules/django/2_1.nix
+++ b/pkgs/development/python-modules/django/2_1.nix
@@ -6,13 +6,13 @@
buildPythonPackage rec {
pname = "Django";
- version = "2.1.13";
+ version = "2.1.14";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "7a28a4eb0167eba491ccfafd7006843b5cdd26d8c93b955a74c2ea74f94efc2c";
+ sha256 = "d9159141fc354c4c28cc2b2586d55ba6d5e1531f5470218bb56a75be03d67398";
};
patches = stdenv.lib.optionals withGdal [
diff --git a/pkgs/development/python-modules/django/2_2.nix b/pkgs/development/python-modules/django/2_2.nix
index eccf694425e8e041a3a85763b51c7908f6c37025..aaf93be8b9789b807b921928a483017da71f91d8 100644
--- a/pkgs/development/python-modules/django/2_2.nix
+++ b/pkgs/development/python-modules/django/2_2.nix
@@ -6,13 +6,13 @@
buildPythonPackage rec {
pname = "Django";
- version = "2.2.6";
+ version = "2.2.7";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "a8ca1033acac9f33995eb2209a6bf18a4681c3e5269a878e9a7e0b7384ed1ca3";
+ sha256 = "16040e1288c6c9f68c6da2fe75ebde83c0a158f6f5d54f4c5177b0c1478c5b86";
};
patches = stdenv.lib.optional withGdal
diff --git a/pkgs/development/python-modules/dotnetcore2/default.nix b/pkgs/development/python-modules/dotnetcore2/default.nix
index c885466f5af225b6072463cbd5ebef299c1dc4fb..4d3edf0906a08c3839370c7e91f4eb5859ce1ce7 100644
--- a/pkgs/development/python-modules/dotnetcore2/default.nix
+++ b/pkgs/development/python-modules/dotnetcore2/default.nix
@@ -7,7 +7,7 @@
buildPythonPackage rec {
pname = "dotnetcore2";
- version = "2.1.9";
+ version = "2.1.11";
format = "wheel";
disabled = isPy27;
@@ -15,7 +15,7 @@ buildPythonPackage rec {
inherit pname version format;
python = "py3";
platform = "manylinux1_x86_64";
- sha256 = "0h1igixk84md68z7gwj1vd6ki4d5drxh0ih5zww8xcr3qh5r0drb";
+ sha256 = "0qhp94bjz4icz2f0fnhgck875chiqzy4lvsp6lwhj5jd0zsv2bb3";
};
nativeBuildInputs = [ unzip ];
diff --git a/pkgs/development/python-modules/emcee/default.nix b/pkgs/development/python-modules/emcee/default.nix
index 8c720dec3256b982154e6596b81bcc8e0ece77a6..dd3d8d39425570b86a753303af687b2642d4f12e 100644
--- a/pkgs/development/python-modules/emcee/default.nix
+++ b/pkgs/development/python-modules/emcee/default.nix
@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "emcee";
- version = "3.0.1";
+ version = "3.0.2";
src = fetchPypi {
inherit pname version;
- sha256 = "01mx1w4a7j5p29a3r7ilh9la9n6gnlgwb46m439vrnfgvbvjjy9c";
+ sha256 = "035a44d7594fdd03efd10a522558cdfaa080e046ad75594d0bf2aec80ec35388";
};
propagatedBuildInputs = [ numpy ];
diff --git a/pkgs/development/python-modules/eyed3/default.nix b/pkgs/development/python-modules/eyed3/default.nix
index 5af13c488baf758d0fc5c2c43288ec2dbc0b107e..8ac7b597a4cb5564914753c9afa43d9305ce908e 100644
--- a/pkgs/development/python-modules/eyed3/default.nix
+++ b/pkgs/development/python-modules/eyed3/default.nix
@@ -13,13 +13,13 @@
}:
buildPythonPackage rec {
- version = "0.8.10";
+ version = "0.8.11";
pname = "eyeD3";
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
- sha256 = "1jb22n1jczxgbpcnfiw12r8dcs74556g1d09mzms44f52kgs7lgc";
+ sha256 = "0e4c9b9b42257deb9c38c112dbe44e1203dea686d454dc76adb72ded25ac878c";
};
# https://github.com/nicfit/eyeD3/pull/284
diff --git a/pkgs/development/python-modules/faker/default.nix b/pkgs/development/python-modules/faker/default.nix
index 6de5c25c7333ad21e3d34cd5dd6e905112682c32..f9155187ca30122dd34469f92c4bfbee993cd36d 100644
--- a/pkgs/development/python-modules/faker/default.nix
+++ b/pkgs/development/python-modules/faker/default.nix
@@ -17,11 +17,11 @@ assert pythonOlder "3.3" -> ipaddress != null;
buildPythonPackage rec {
pname = "Faker";
- version = "2.0.3";
+ version = "2.0.4";
src = fetchPypi {
inherit pname version;
- sha256 = "19zdcdmc11syjbmnbq98yny3dwb5jqw8cxcbq9g2scwzc5f7b32y";
+ sha256 = "6327c665c0d8721280b3036d9c9e851c60092bc1f30c8394cc433f8723e2bda5";
};
nativeBuildInputs = [ pytestrunner ];
diff --git a/pkgs/development/python-modules/fido2/default.nix b/pkgs/development/python-modules/fido2/default.nix
index 08aa2fe7eb223e092445612a68304ee502fbbf77..96019f61cac0cd59921eb191f91a8995849a9023 100644
--- a/pkgs/development/python-modules/fido2/default.nix
+++ b/pkgs/development/python-modules/fido2/default.nix
@@ -1,15 +1,19 @@
-{ lib, buildPythonPackage, fetchPypi
-, six, cryptography
-, mock, pyfakefs
+{ lib
+, buildPythonPackage
+, fetchPypi
+, six
+, cryptography
+, mock
+, pyfakefs
}:
buildPythonPackage rec {
pname = "fido2";
- version = "0.7.1";
+ version = "0.8.1";
src = fetchPypi {
inherit pname version;
- sha256 = "10i61g8srx1dk0wfjj11s7ka5pv0661ivwg2r0y3y2nsnf5b90s4";
+ sha256 = "1hzprnd407g2xh9kyv8j8pq949hwr1snmg3fp65pqfbghzv6i424";
};
propagatedBuildInputs = [ six cryptography ];
@@ -18,7 +22,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "Provides library functionality for FIDO 2.0, including communication with a device over USB.";
- homepage = https://github.com/Yubico/python-fido2;
- license = licenses.mpl20;
+ homepage = "https://github.com/Yubico/python-fido2";
+ license = licenses.bsd2;
+ maintainers = with maintainers; [ prusnak ];
};
}
diff --git a/pkgs/development/python-modules/fiona/default.nix b/pkgs/development/python-modules/fiona/default.nix
index 0a3e17abacaa1e1933f9afa658f4eebd524a68eb..2cd7ad4cf4180132473bcc849d2cfe1b7927cbd4 100644
--- a/pkgs/development/python-modules/fiona/default.nix
+++ b/pkgs/development/python-modules/fiona/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "Fiona";
- version = "1.8.9.post2";
+ version = "1.8.11";
src = fetchPypi {
inherit pname version;
- sha256 = "210fb038b579fab38f35ddbdd31b9725f4d5099b3edfd4b87c983e5d47b79983";
+ sha256 = "1e7ca9e051f5bffa1c43c70d573da9ca223fc076b84fa73380614fc02b9eb7f6";
};
CXXFLAGS = lib.optionalString stdenv.cc.isClang "-std=c++11";
diff --git a/pkgs/development/python-modules/flake8-debugger/default.nix b/pkgs/development/python-modules/flake8-debugger/default.nix
index 3a9647348effca288f4c7c0a5fd7b5dcd14248f3..e6ac743396a0fa853820c54fd8a07cd71fcd7863 100644
--- a/pkgs/development/python-modules/flake8-debugger/default.nix
+++ b/pkgs/development/python-modules/flake8-debugger/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "flake8-debugger";
- version = "3.2.0";
+ version = "3.2.1";
src = fetchPypi {
inherit pname version;
- sha256 = "6e662f7e75a3ed729d3be7c92e72bde385ab08ec26e7808bf3dfc63445c87857";
+ sha256 = "712d7c1ff69ddf3f0130e94cc88c2519e720760bce45e8c330bfdcb61ab4090d";
};
nativeBuildInputs = [ pytestrunner ];
diff --git a/pkgs/development/python-modules/flake8/default.nix b/pkgs/development/python-modules/flake8/default.nix
index a10fccfc911d1ccc7a6cee6a213434aedf2732d4..e76b7cdf269068553a5b93714caad0d94d5addc7 100644
--- a/pkgs/development/python-modules/flake8/default.nix
+++ b/pkgs/development/python-modules/flake8/default.nix
@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "flake8";
- version = "3.7.8";
+ version = "3.7.9";
src = fetchPypi {
inherit pname version;
- sha256 = "19241c1cbc971b9962473e4438a2ca19749a7dd002dd1a946eaba171b4114548";
+ sha256 = "45681a117ecc81e870cbf1262835ae4af5e7a8b08e40b944a8a6e6b895914cfb";
};
checkInputs = [ pytest mock pytestrunner ];
diff --git a/pkgs/development/python-modules/flask-babelex/default.nix b/pkgs/development/python-modules/flask-babelex/default.nix
index c5968be6b8fa44476ca880978a7f28a64b9b56bb..c61967af6bcd53a575ad854803347fe297175aae 100644
--- a/pkgs/development/python-modules/flask-babelex/default.nix
+++ b/pkgs/development/python-modules/flask-babelex/default.nix
@@ -40,7 +40,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Adds i18n/l10n support to Flask applications";
- homepage = http://github.com/mrjoes/flask-babelex;
+ homepage = https://github.com/mrjoes/flask-babelex;
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
diff --git a/pkgs/development/python-modules/flask-openid/default.nix b/pkgs/development/python-modules/flask-openid/default.nix
index ad5001636095b732c31c28e0ac8fd4a80bbafd53..c1f9a51a225050528fdf6cb452a2dd80a4e55d4c 100644
--- a/pkgs/development/python-modules/flask-openid/default.nix
+++ b/pkgs/development/python-modules/flask-openid/default.nix
@@ -27,7 +27,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "OpenID support for Flask";
- homepage = http://github.com/mitsuhiko/flask-openid/;
+ homepage = https://pythonhosted.org/Flask-OpenID/;
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
diff --git a/pkgs/development/python-modules/future/default.nix b/pkgs/development/python-modules/future/default.nix
index b74d4cddf6daa630eb6d49f00d4533e4dbeac77f..dad0372a8c1f70beff70ce7b8fca1b510f245fbf 100644
--- a/pkgs/development/python-modules/future/default.nix
+++ b/pkgs/development/python-modules/future/default.nix
@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "future";
- version = "0.18.1";
+ version = "0.18.2";
src = fetchPypi {
inherit pname version;
- sha256 = "858e38522e8fd0d3ce8f0c1feaf0603358e366d5403209674c7b617fa0c24093";
+ sha256 = "b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d";
};
doCheck = false;
diff --git a/pkgs/development/python-modules/google-pasta/default.nix b/pkgs/development/python-modules/google-pasta/default.nix
index e469de924f6ade73c09d7ece09febabed809322c..fc4fb5a46d868fb8802d1f8d961e4addade202a4 100644
--- a/pkgs/development/python-modules/google-pasta/default.nix
+++ b/pkgs/development/python-modules/google-pasta/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "google-pasta";
- version = "0.1.7";
+ version = "0.1.8";
src = fetchPypi {
inherit pname version;
- sha256 = "1zmqfvy28i2509277s6sz098kddd16cx21vpxyc8xml1nclcxlbr";
+ sha256 = "713813a9f7d6589e5defdaf21e80e4392eb124662f8bd829acd51a4f8735c0cb";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/google_cloud_automl/default.nix b/pkgs/development/python-modules/google_cloud_automl/default.nix
index b317d0cd154672e7a61c69d98453f57ac5e09a0f..52248605c757fcd70e4a162c03d0939f4a95bad1 100644
--- a/pkgs/development/python-modules/google_cloud_automl/default.nix
+++ b/pkgs/development/python-modules/google_cloud_automl/default.nix
@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "google-cloud-automl";
- version = "0.7.0";
+ version = "0.7.1";
src = fetchPypi {
inherit pname version;
- sha256 = "532cee03a976eedf308c178484b61f80bc4c68991b3bd8eb8f6abd000a217ef7";
+ sha256 = "fa92a77fcc79032dba756b82196a29f63a7b374379bacdb78be128e09b8abc03";
};
checkInputs = [ pytest mock ];
diff --git a/pkgs/development/python-modules/google_cloud_translate/default.nix b/pkgs/development/python-modules/google_cloud_translate/default.nix
index ebe39e72c055f500b937287ebc85fb2cef5c5159..99494b6886cb6d24f1be05f302ec7235e0499640 100644
--- a/pkgs/development/python-modules/google_cloud_translate/default.nix
+++ b/pkgs/development/python-modules/google_cloud_translate/default.nix
@@ -3,24 +3,27 @@
, fetchPypi
, google_api_core
, google_cloud_core
+, grpcio
, pytest
, mock
}:
buildPythonPackage rec {
pname = "google-cloud-translate";
- version = "1.7.0";
+ version = "2.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "55b6563121883acce5d80afbf61a59e50d52c429e6ebbfe81a1c8f2734b75e8c";
+ sha256 = "0nfc628nr2k6kd3q9qpgwz7c12l0191rv5x4pvca8q82jl96gip5";
};
- checkInputs = [ pytest mock ];
- propagatedBuildInputs = [ google_api_core google_cloud_core ];
+ # google_cloud_core[grpc] -> grpcio
+ propagatedBuildInputs = [ google_api_core google_cloud_core grpcio ];
+ checkInputs = [ pytest mock ];
checkPhase = ''
- pytest tests/unit
+ cd tests # prevent local google/__init__.py from getting loaded
+ pytest unit
'';
meta = with stdenv.lib; {
diff --git a/pkgs/development/python-modules/graph_nets/default.nix b/pkgs/development/python-modules/graph_nets/default.nix
index c262331a6e132bb4444f26ed7a7f88e887a6b78e..6b2536d37b39380af6f80cb141de36b7dda1c7d4 100644
--- a/pkgs/development/python-modules/graph_nets/default.nix
+++ b/pkgs/development/python-modules/graph_nets/default.nix
@@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "graph_nets";
- version = "1.0.4";
+ version = "1.0.5";
src = fetchPypi {
inherit pname version;
- sha256 = "6f27f0358a477d4ec3ab300bf09944b4dfdd5c10b0a5f7ac06bcb32d1327ebe1";
+ sha256 = "73e98a5930c6c7b609257ada2cf4523db70810343e0593bf0fa710b77e991933";
};
postPatch = ''
diff --git a/pkgs/development/python-modules/graphite-web/default.nix b/pkgs/development/python-modules/graphite-web/default.nix
index ecdb76173fa1e5567f38cc5f95e85377a8f8422b..88e3118d4561bcd9789beb4ddc8fa90563b838bf 100644
--- a/pkgs/development/python-modules/graphite-web/default.nix
+++ b/pkgs/development/python-modules/graphite-web/default.nix
@@ -6,13 +6,13 @@ if django.version != "1.8.19"
then throw "graphite-web should be build with django_1_8 and django_tagging_0_4_3"
else buildPythonPackage rec {
pname = "graphite-web";
- version = "1.1.5";
+ version = "1.1.6";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "d43945d190f2b3a6d18daa6ace9a1bd3695e93dc593f50cd72c2af420883b99d";
+ sha256 = "f4c293008ad588456397cd125cdad7f47f4bab5b6dd82b5fb69f5467e7346a2a";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/gym/default.nix b/pkgs/development/python-modules/gym/default.nix
index 52171470c271966889ef91171e2474d7e871f681..d90ded1fb5facbdcdd157f5390e2bcd9e06dee53 100644
--- a/pkgs/development/python-modules/gym/default.nix
+++ b/pkgs/development/python-modules/gym/default.nix
@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "gym";
- version = "0.15.3";
+ version = "0.15.4";
src = fetchPypi {
inherit pname version;
- sha256 = "18381e13bbd1e2f206a1b88a2af4fb87affd7d06ee7955a6e5e6a79478a9adfc";
+ sha256 = "3b930cbe1c76bbd30455b5e82ba723dea94159a5f988e927f443324bf7cc7ddd";
};
postPatch = ''
diff --git a/pkgs/development/python-modules/handout/default.nix b/pkgs/development/python-modules/handout/default.nix
index eb6cca3e6ec6c0892502605917bfe24a837c9402..c5c111845d15fd433a9511ec449e854ce272e496 100644
--- a/pkgs/development/python-modules/handout/default.nix
+++ b/pkgs/development/python-modules/handout/default.nix
@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "handout";
- version = "1.1.1";
+ version = "1.1.2";
src = fetchPypi {
inherit pname version;
- sha256 = "dbe5da9b422fa937b94a1a5221ce99387ebd75fe97ab4255e49b26d846b8614b";
+ sha256 = "52daaf1f9a4cb2ceb88c1dedf85d22ef449b9422b424a2534d21f941e57bc915";
};
propagatedBuildInputs = [ imageio imageio-ffmpeg ];
diff --git a/pkgs/development/python-modules/hiredis/default.nix b/pkgs/development/python-modules/hiredis/default.nix
index 4403071cb8fc026664a90ab4841153a79d31eda1..c22de6d8a6695353d49ca3750349cd89066243be 100644
--- a/pkgs/development/python-modules/hiredis/default.nix
+++ b/pkgs/development/python-modules/hiredis/default.nix
@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "hiredis";
- version = "1.0.0";
+ version = "1.0.1";
src = fetchPypi {
inherit pname version;
- sha256 = "158pymdlnv4d218w66i8kzdn4ka30l1pdwa0wyjh16bj10zraz79";
+ sha256 = "aa59dd63bb3f736de4fc2d080114429d5d369dfb3265f771778e8349d67a97a4";
};
propagatedBuildInputs = [ redis ];
diff --git a/pkgs/development/python-modules/html5-parser/default.nix b/pkgs/development/python-modules/html5-parser/default.nix
index f3b24b3d371e14b9e688a58e4d78d048545234a3..db59bb49cf239f9bf41aff6f65215e5ce47ad072 100644
--- a/pkgs/development/python-modules/html5-parser/default.nix
+++ b/pkgs/development/python-modules/html5-parser/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "html5-parser";
- version = "0.4.8";
+ version = "0.4.9";
src = fetchPypi {
inherit pname version;
- sha256 = "00d1zfk72xzyibh7l4ib57y0isn5gic7avgbh7afbkk99iwd5smi";
+ sha256 = "25fe8f6848cbc15187f6748c0695df32bcf1b37df6420b6a01b4ebe1ec1ed48f";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/development/python-modules/hupper/default.nix b/pkgs/development/python-modules/hupper/default.nix
index 3d8f07793f9e36d1370aebf5be308e56f1bfd95c..33f76f0a24862be218838c46a6cadb1a52c16591 100644
--- a/pkgs/development/python-modules/hupper/default.nix
+++ b/pkgs/development/python-modules/hupper/default.nix
@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "hupper";
- version = "1.9";
+ version = "1.9.1";
src = fetchPypi {
inherit pname version;
- sha256 = "afd4e7beedc7417fed12cb2e15a21610c73cb08821c7f09aa926be24d4038dae";
+ sha256 = "3b1c2222ec7b8159e7ad059e4493c6cc634c86184af0bf2ce5aba6edd241cf5f";
};
checkPhase = ''
diff --git a/pkgs/development/python-modules/hvplot/default.nix b/pkgs/development/python-modules/hvplot/default.nix
index 176258a10e0134df833755b17e99149cd74b9ffb..2079f849769dc096827ba8ff0f70e09ccaec0bf6 100644
--- a/pkgs/development/python-modules/hvplot/default.nix
+++ b/pkgs/development/python-modules/hvplot/default.nix
@@ -12,6 +12,7 @@
, xarray
, networkx
, streamz
+, colorcet
}:
buildPythonPackage rec {
@@ -26,6 +27,7 @@ buildPythonPackage rec {
checkInputs = [ pytest parameterized nbsmoke flake8 coveralls xarray networkx streamz ];
propagatedBuildInputs = [
bokeh
+ colorcet
holoviews
pandas
];
diff --git a/pkgs/development/python-modules/imbalanced-learn/0.4.nix b/pkgs/development/python-modules/imbalanced-learn/0.4.nix
index c1ff24711e80ff583ae06c3c966e67ef00822d74..e7d2c2f37148faa2ec9a6d1559fc41c91a7be6b4 100644
--- a/pkgs/development/python-modules/imbalanced-learn/0.4.nix
+++ b/pkgs/development/python-modules/imbalanced-learn/0.4.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "imbalanced-learn";
- version = "0.5.0";
+ version = "0.4.3";
src = fetchPypi {
inherit pname version;
- sha256 = "5df760537886678ef9e25f5bad96d194c5fc66f62de84488069acf5d4b0119d5";
+ sha256 = "5bd9e86e40ce4001a57426541d7c79b18143cbd181e3330c1a3e5c5c43287083";
};
propagatedBuildInputs = [ scikitlearn ];
diff --git a/pkgs/development/python-modules/imbalanced-learn/default.nix b/pkgs/development/python-modules/imbalanced-learn/default.nix
index 6de97aff7d3e5de224df155562a3073efa6146d2..d8e35d3fcea242949088f3c8cfb62e5a95c3a054 100644
--- a/pkgs/development/python-modules/imbalanced-learn/default.nix
+++ b/pkgs/development/python-modules/imbalanced-learn/default.nix
@@ -24,7 +24,8 @@ buildPythonPackage rec {
# or very large dependencies (keras + tensorflow)
py.test imblearn -k 'not estimator \
and not classification \
- and not _generator'
+ and not _generator \
+ and not show_versions'
'';
meta = with stdenv.lib; {
diff --git a/pkgs/development/python-modules/inotify-simple/default.nix b/pkgs/development/python-modules/inotify-simple/default.nix
index 2d5e9d780945f6f348e3b3c688b0c0ef95656842..10c64fa6b3f460aec6bec1f3bc952e5c875f7704 100644
--- a/pkgs/development/python-modules/inotify-simple/default.nix
+++ b/pkgs/development/python-modules/inotify-simple/default.nix
@@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "inotify-simple";
- version = "1.1.8";
+ version = "1.2.1";
src = fetchPypi {
pname = "inotify_simple";
inherit version;
- sha256 = "1pfqvnynwh318cakldhg7535kbs02asjsgv6s0ki12i7fgfi0b7w";
+ sha256 = "132craajflksgxxwjawj73nn1ssv8jn58j3k5vvyiq03avbz4sfv";
};
# The package has no tests
diff --git a/pkgs/development/python-modules/javaproperties/default.nix b/pkgs/development/python-modules/javaproperties/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..a03aa9ec18bb02eaca11c89fe7f9464f2fa70f55
--- /dev/null
+++ b/pkgs/development/python-modules/javaproperties/default.nix
@@ -0,0 +1,32 @@
+{ lib, buildPythonPackage, fetchFromGitHub
+, six
+, pytest
+, dateutil
+}:
+
+buildPythonPackage rec {
+ version = "0.5.2";
+ pname = "javaproperties";
+
+ src = fetchFromGitHub {
+ owner = "jwodder";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "14hrp94cjj44yldf3k71wbq88cmlf01dfadi53gcirnsa56ddz5d";
+ };
+
+ propagatedBuildInputs = [ six ];
+
+ checkInputs = [ dateutil pytest ];
+ checkPhase = ''
+ rm tox.ini
+ pytest -k 'not dumps and not time' --ignore=test/test_propclass.py
+ '';
+
+ meta = with lib; {
+ description = "Microsoft Azure API Management Client Library for Python";
+ homepage = "https://github.com/Azure/azure-sdk-for-python";
+ license = licenses.mit;
+ maintainers = with maintainers; [ jonringer ];
+ };
+}
diff --git a/pkgs/development/python-modules/jdatetime/default.nix b/pkgs/development/python-modules/jdatetime/default.nix
index 0155cf665bd8e25b5b1275de0b26b86f55f4843e..1fbdd510e714c14267195af94de93f5dec99937f 100644
--- a/pkgs/development/python-modules/jdatetime/default.nix
+++ b/pkgs/development/python-modules/jdatetime/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "jdatetime";
- version = "3.6.1";
+ version = "3.6.2";
src = fetchPypi {
inherit pname version;
- sha256 = "72f8c72873f9d3f536a696014e4ebffe431a644d7aa95db18c52e086d23b2939";
+ sha256 = "a589e35f0dab89283c1a3de9d70ed6cf657932aaed8e8ce1b0e5801aaab1da67";
};
propagatedBuildInputs = [ six ];
diff --git a/pkgs/development/python-modules/jenkins-job-builder/default.nix b/pkgs/development/python-modules/jenkins-job-builder/default.nix
index 184c86e9268144dc6aa8dd439ec3241239dbc0ff..4cdef182ca7825e3ef42c7fb6ac47690b2ee6b1b 100644
--- a/pkgs/development/python-modules/jenkins-job-builder/default.nix
+++ b/pkgs/development/python-modules/jenkins-job-builder/default.nix
@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "jenkins-job-builder";
- version = "3.0.2";
+ version = "3.1.0";
src = fetchPypi {
inherit pname version;
- sha256 = "02ggscsyrrqk06w9lb43km77qgcj8cixrrm5mkigr4gz2pzdjhmf";
+ sha256 = "1wcmn01md6hykblk5zz8wd5zizyisspspakz446jg2kqfv4y3q03";
};
postPatch = ''
diff --git a/pkgs/development/python-modules/jenkinsapi/default.nix b/pkgs/development/python-modules/jenkinsapi/default.nix
index 8d8f6b53ceb8f8ac56f4d09b92c3bda5cc8a41fe..bf5877c9f08cf901920cd8ca844e78228ceef13a 100644
--- a/pkgs/development/python-modules/jenkinsapi/default.nix
+++ b/pkgs/development/python-modules/jenkinsapi/default.nix
@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "jenkinsapi";
- version = "0.3.10";
+ version = "0.3.11";
src = fetchPypi {
inherit pname version;
- sha256 = "fc2fcdf95d954d9bbbdb1303a2c3c32997935655c99aff300f1759dba3cebc6d";
+ sha256 = "a212a244b0a6022a61657746c8120ac9b6db83432371b345154075eb8faceb61";
};
propagatedBuildInputs = [ pytz requests ];
diff --git a/pkgs/development/python-modules/jsonrpc-async/default.nix b/pkgs/development/python-modules/jsonrpc-async/default.nix
index d4bc1dd523d5e3f503bd13a519da11eca799dbd1..e18f3bc9b3dabc8811676741247a26bb3c949e76 100644
--- a/pkgs/development/python-modules/jsonrpc-async/default.nix
+++ b/pkgs/development/python-modules/jsonrpc-async/default.nix
@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "jsonrpc-async";
- version = "1.1.0";
+ version = "1.1.1";
src = fetchPypi {
inherit pname version;
- sha256 = "488ab3b63a96c246f7ded14b3458eb13a36e3e16eb4319aa56806476517c7433";
+ sha256 = "383f331e28cd8f6e3fa86f3e7052efa541b7ae8bf328a4e692aa045cfc0ecf25";
};
propagatedBuildInputs = [ aiohttp jsonrpc-base ];
diff --git a/pkgs/development/python-modules/jsonrpc-base/default.nix b/pkgs/development/python-modules/jsonrpc-base/default.nix
index 35244e092da3852ba9fd93580cb338e692674402..a26a040eedd268340ba612d3c34f642fde379f8b 100644
--- a/pkgs/development/python-modules/jsonrpc-base/default.nix
+++ b/pkgs/development/python-modules/jsonrpc-base/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "jsonrpc-base";
- version = "1.0.2";
+ version = "1.0.3";
src = fetchPypi {
inherit pname version;
- sha256 = "f9baac32aa51c3052d03b86ff30a9856900b8b4a4eb175f7bf2c8722520b8637";
+ sha256 = "7bda99589b4566f5027c2aeae122f409d8ccf4c811b278b8cfb616903871efb2";
};
propagatedBuildInputs = [ ];
diff --git a/pkgs/development/python-modules/jsonrpc-websocket/default.nix b/pkgs/development/python-modules/jsonrpc-websocket/default.nix
index eff4f41979a2179751c4aafd4ff9fc2114517f43..8361e37239e8161b7fa7526b1bb3aa5d712ea30f 100644
--- a/pkgs/development/python-modules/jsonrpc-websocket/default.nix
+++ b/pkgs/development/python-modules/jsonrpc-websocket/default.nix
@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "jsonrpc-websocket";
- version = "1.0.1";
+ version = "1.0.2";
src = fetchPypi {
inherit pname version;
- sha256 = "e74e490fefa3b8f33620fca98f7cd9a53fb765b9ed6f78360482a3f364230885";
+ sha256 = "f1aaca95db795d6a9f7bba52ff83c7fd4139050d0df93ee3a5a448adcfa0c0ac";
};
propagatedBuildInputs = [ aiohttp jsonrpc-base ];
diff --git a/pkgs/development/python-modules/jupyterlab/default.nix b/pkgs/development/python-modules/jupyterlab/default.nix
index 1b16ff9b47c4e35b45acbcb33fa34dea081db66a..520f342cc1d2a9ebfc5d1439fc401ce3d6201ee3 100644
--- a/pkgs/development/python-modules/jupyterlab/default.nix
+++ b/pkgs/development/python-modules/jupyterlab/default.nix
@@ -8,12 +8,12 @@
buildPythonPackage rec {
pname = "jupyterlab";
- version = "1.2.2";
+ version = "1.2.3";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
- sha256 = "96d3146eb09ffa0a198f31b36706859dadd4a59ed184aa9329a9c12733e6af0b";
+ sha256 = "2188a9bcaaf0b6a68ff9098a481f37ece8231634b862fd3c9adedc466aac79f2";
};
propagatedBuildInputs = [ jupyterlab_server notebook ];
diff --git a/pkgs/development/python-modules/kconfiglib/default.nix b/pkgs/development/python-modules/kconfiglib/default.nix
index c6007bc0b425a67585a23605fc27015023d24860..ace5b862825dbe959a91aa1b61974ebdf3e4781c 100644
--- a/pkgs/development/python-modules/kconfiglib/default.nix
+++ b/pkgs/development/python-modules/kconfiglib/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "kconfiglib";
- version = "13.1.1";
+ version = "13.2.0";
src = fetchPypi {
inherit pname version;
- sha256 = "b44af5a6dc0c716926c926ba4c1f301ce286b3a3f292ae359a866eb01dc5260e";
+ sha256 = "045yjmn6xqbyb68l1jqlgi3c8cwlw1krsrlfwrrgjijkmbx6yqmd";
};
# doesnt work out of the box but might be possible
diff --git a/pkgs/development/python-modules/keyring/2.nix b/pkgs/development/python-modules/keyring/2.nix
new file mode 100644
index 0000000000000000000000000000000000000000..ce4aa145e8eec1d3d589cd3319a977170ef23595
--- /dev/null
+++ b/pkgs/development/python-modules/keyring/2.nix
@@ -0,0 +1,33 @@
+{ stdenv, buildPythonPackage, fetchPypi
+, dbus-python, setuptools_scm, entrypoints, secretstorage
+, pytest, pytest-flake8 }:
+
+buildPythonPackage rec {
+ pname = "keyring";
+ version = "18.0.1";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "0f58jq58jhfzlhix7x2zz7c4ycdvcs1z3sgs4lkr4xxx680wrmk7";
+ };
+
+ nativeBuildInputs = [ setuptools_scm ];
+
+ checkInputs = [ pytest pytest-flake8 ];
+
+ propagatedBuildInputs = [ dbus-python entrypoints ] ++ stdenv.lib.optional stdenv.isLinux secretstorage;
+
+ doCheck = !stdenv.isDarwin;
+
+ checkPhase = ''
+ py.test
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Store and access your passwords safely";
+ homepage = "https://pypi.python.org/pypi/keyring";
+ license = licenses.psfl;
+ maintainers = with maintainers; [ lovek323 orivej ];
+ platforms = platforms.unix;
+ };
+}
diff --git a/pkgs/development/python-modules/klaus/default.nix b/pkgs/development/python-modules/klaus/default.nix
index 687798735d3e6439ecd3fec6b9f62e0c36a42aea..c9c98cc9701223f6b2397dcf85dfb63d7ed61a8d 100644
--- a/pkgs/development/python-modules/klaus/default.nix
+++ b/pkgs/development/python-modules/klaus/default.nix
@@ -2,13 +2,13 @@
python.pkgs.buildPythonPackage rec {
pname = "klaus";
- version = "1.4.0";
+ version = "1.5.0";
src = fetchFromGitHub {
owner = "jonashaag";
repo = pname;
rev = version;
- sha256 = "041l5dpymi9h0yyr55r6m0skp0m2ags3miay0s1bgfcp469k0l20";
+ sha256 = "0pagyqfcj47ghd9m7b32hvi17hbl19f0wallkz6ncvmvvy919lfz";
};
prePatch = ''
diff --git a/pkgs/development/python-modules/kmapper/default.nix b/pkgs/development/python-modules/kmapper/default.nix
index 3904473f1a3e7e0716e9179dc4f4a114568a1d2e..67b9343ecca5693b2ed07db7775d828fa7b0571e 100644
--- a/pkgs/development/python-modules/kmapper/default.nix
+++ b/pkgs/development/python-modules/kmapper/default.nix
@@ -44,7 +44,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python implementation of Mapper algorithm for Topological Data Analysis";
- homepage = http://kepler-mapper.scikit-tda.org;
+ homepage = https://kepler-mapper.scikit-tda.org/;
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
diff --git a/pkgs/development/python-modules/kombu/default.nix b/pkgs/development/python-modules/kombu/default.nix
index a159b6c7e082347b8c90a0c7bd9ce2450bb62d6c..323ab341ec6a9bdcfaa59f74966d730a77d5db4f 100644
--- a/pkgs/development/python-modules/kombu/default.nix
+++ b/pkgs/development/python-modules/kombu/default.nix
@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "kombu";
- version = "4.6.5";
+ version = "4.6.6";
src = fetchPypi {
inherit pname version;
- sha256 = "c9078124ce2616b29cf6607f0ac3db894c59154252dee6392cdbbe15e5c4b566";
+ sha256 = "1760b54b1d15a547c9a26d3598a1c8cdaf2436386ac1f5561934bc8a3cbbbd86";
};
postPatch = ''
diff --git a/pkgs/development/python-modules/lark-parser/default.nix b/pkgs/development/python-modules/lark-parser/default.nix
index abd3a491b20a78d98e52b0052a55ce9c1be3ef21..38e51ac0ac68fc26f17a53a52351fc4f0d4b200a 100644
--- a/pkgs/development/python-modules/lark-parser/default.nix
+++ b/pkgs/development/python-modules/lark-parser/default.nix
@@ -5,13 +5,13 @@
buildPythonPackage rec {
pname = "lark-parser";
- version = "0.7.7";
+ version = "0.7.8";
src = fetchFromGitHub {
owner = "lark-parser";
repo = "lark";
rev = version;
- sha256 = "1b0dvvqqasir8dfpqj4jch7wxxk43csbv0wa80fiqsdlymxxj2dj";
+ sha256 = "0gd5c3scpyir3h8clhwb5jsf8dkmh1vh7rx8135lkx9fxx01q0az";
};
# tests of Nearley support require js2py
diff --git a/pkgs/development/python-modules/lazr/config.nix b/pkgs/development/python-modules/lazr/config.nix
index 759c9689bc9309119d8aa52bcc54c35b1b923d5b..d8a895c8357b8c9b462b216471b64211d442e712 100644
--- a/pkgs/development/python-modules/lazr/config.nix
+++ b/pkgs/development/python-modules/lazr/config.nix
@@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "lazr.config";
- version = "2.2.1";
+ version = "2.2.2";
propagatedBuildInputs = [ lazr_delegates ];
src = fetchPypi {
inherit pname version;
- sha256 = "1s7pyvlq06qjrkaw9r6nc290lb095n25ybzgavvy51ygpxkgqxwn";
+ sha256 = "cdb9a70dac4a76ca1ff3528d9eafe5414c6c69c1b92e7e84d3477ae85f6bb787";
};
}
diff --git a/pkgs/development/python-modules/lazy-object-proxy/default.nix b/pkgs/development/python-modules/lazy-object-proxy/default.nix
index e0381642715a33e6763864acb1560790c690b0bc..f174aa1066ca5987b223caa0843d1b06e2e54f5b 100644
--- a/pkgs/development/python-modules/lazy-object-proxy/default.nix
+++ b/pkgs/development/python-modules/lazy-object-proxy/default.nix
@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "lazy-object-proxy";
- version = "1.4.2";
+ version = "1.4.3";
src = fetchPypi {
inherit pname version;
- sha256 = "fd135b8d35dfdcdb984828c84d695937e58cc5f49e1c854eb311c4d6aa03f4f1";
+ sha256 = "f3900e8a5de27447acbf900b4750b0ddfd7ec1ea7fbaf11dfa911141bc522af0";
};
nativeBuildInputs = [ setuptools_scm ];
diff --git a/pkgs/development/python-modules/ledgerblue/default.nix b/pkgs/development/python-modules/ledgerblue/default.nix
index 51c5b80a6ac2ed00b0712251870722696d9bfefb..8d50f9846cc769b91f30ae579bfec03ce5b268b3 100644
--- a/pkgs/development/python-modules/ledgerblue/default.nix
+++ b/pkgs/development/python-modules/ledgerblue/default.nix
@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "ledgerblue";
- version = "0.1.29";
+ version = "0.1.31";
src = fetchPypi {
inherit pname version;
- sha256 = "14zv8bp62r1fwrrpbwyg9a3s5dl76lbhd8lv16xim0w55p9vvixn";
+ sha256 = "f1fc7ab685780309a7220c6ee517d88072cc594a9615bcc18e68ed5f149fa432";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/libcloud/default.nix b/pkgs/development/python-modules/libcloud/default.nix
index 734a51c7be6160e6807a7afcde599f6f31d05b7c..381c3a2731a52198fcd05e140e29b23dc3f80b13 100644
--- a/pkgs/development/python-modules/libcloud/default.nix
+++ b/pkgs/development/python-modules/libcloud/default.nix
@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "apache-libcloud";
- version = "2.6.0";
+ version = "2.6.1";
src = fetchPypi {
inherit pname version;
- sha256 = "1spjkw5nxhbawblj5db8izff05kjw425iyydipajb7qh73vm25r0";
+ sha256 = "fcc165f2cc2db9a379c6d3a17b3beb9081bb64ba5c0bf7bbb58da864810092f0";
};
checkInputs = [ mock pytest pytestrunner requests-mock ];
diff --git a/pkgs/development/python-modules/license-expression/default.nix b/pkgs/development/python-modules/license-expression/default.nix
index 177949fbd51e24b5a2b931df7afc2fe04ee2e584..e934c519428524395ba9db7215a74c0421a10740 100644
--- a/pkgs/development/python-modules/license-expression/default.nix
+++ b/pkgs/development/python-modules/license-expression/default.nix
@@ -4,13 +4,13 @@
buildPythonPackage rec {
pname = "license-expression";
- version = "1.0";
+ version = "1.2";
src = fetchFromGitHub {
owner = "nexB";
repo = "license-expression";
rev = "v${version}";
- sha256 = "15dk3j5sr8iypzqqa8wa12b2a84f6ssbfvam1c1vzz00y2y5v3ic";
+ sha256 = "0bbd7d90z58p9sd01b00g0vfd9bmwzksjb7pc8833s2jpja9mxz1";
};
postPatch = "patchShebangs ./configure";
diff --git a/pkgs/development/python-modules/logilab/common.nix b/pkgs/development/python-modules/logilab/common.nix
index 2dd997765cf39b5c561be724b8054add0507c440..99ff8d45e6a795de76135dd2a73e34523f969ce2 100644
--- a/pkgs/development/python-modules/logilab/common.nix
+++ b/pkgs/development/python-modules/logilab/common.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "logilab-common";
- version = "1.4.3";
+ version = "1.4.4";
src = fetchPypi {
inherit pname version;
- sha256 = "1zw8bijlcmqrigsqvzj7gwh3qbd33dmpi9ij6h56b41x0dpm957d";
+ sha256 = "8c1bf26431a3b487940cd4a7c0eefde328f5ff7098222ee695805752dae94aa6";
};
propagatedBuildInputs = [ unittest2 six ];
diff --git a/pkgs/development/python-modules/m2crypto/default.nix b/pkgs/development/python-modules/m2crypto/default.nix
index cd9781dbc88982fb5180089f3098f21aa98ad902..56e1de49f20abd3be630a715749ca743deb0d9f3 100644
--- a/pkgs/development/python-modules/m2crypto/default.nix
+++ b/pkgs/development/python-modules/m2crypto/default.nix
@@ -1,7 +1,9 @@
{ stdenv
+, lib
, fetchpatch
, buildPythonPackage
, fetchPypi
+, pythonOlder
, swig2
, openssl
, typing
@@ -28,7 +30,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ swig2 ];
buildInputs = [ swig2 openssl ];
- propagatedBuildInputs = [ typing ];
+ propagatedBuildInputs = lib.optional (pythonOlder "3.5") typing;
preConfigure = ''
substituteInPlace setup.py --replace "self.openssl = '/usr'" "self.openssl = '${openssl.dev}'"
diff --git a/pkgs/development/python-modules/mahotas/default.nix b/pkgs/development/python-modules/mahotas/default.nix
index 101468da09f4f8d7abe588cb3ac08c165747473f..dc18f5ac405f904550851a48c4208e23738973ff 100644
--- a/pkgs/development/python-modules/mahotas/default.nix
+++ b/pkgs/development/python-modules/mahotas/default.nix
@@ -25,7 +25,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Computer vision package based on numpy";
- homepage = http://mahotas.readthedocs.io/;
+ homepage = https://mahotas.readthedocs.io/;
maintainers = with maintainers; [ luispedro ];
license = licenses.mit;
platforms = platforms.unix;
diff --git a/pkgs/development/python-modules/marshmallow/default.nix b/pkgs/development/python-modules/marshmallow/default.nix
index 0ab947ec254fb81291c557044cb8a175c18dbeaa..5b07fe2444135eff2b0de1a5940f900dc9731019 100644
--- a/pkgs/development/python-modules/marshmallow/default.nix
+++ b/pkgs/development/python-modules/marshmallow/default.nix
@@ -4,7 +4,7 @@
buildPythonPackage rec {
pname = "marshmallow";
- version = "3.2.1";
+ version = "3.2.2";
meta = {
homepage = "https://github.com/marshmallow-code/marshmallow";
@@ -17,7 +17,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "9a2f3e8ea5f530a9664e882d7d04b58650f46190178b2264c72b7d20399d28f0";
+ sha256 = "1a358beb89c2b4d5555272065a9533591a3eb02f1b854f3c4002d88d8f2a1ddb";
};
propagatedBuildInputs = [ dateutil simplejson ];
diff --git a/pkgs/development/python-modules/matrix-nio/default.nix b/pkgs/development/python-modules/matrix-nio/default.nix
index 8658130d9f6ac4950c8bc10ff3aeef45de6b3911..9f5a086f2ee552d476f82c80154c172cd9afc744 100644
--- a/pkgs/development/python-modules/matrix-nio/default.nix
+++ b/pkgs/development/python-modules/matrix-nio/default.nix
@@ -1,6 +1,6 @@
{ lib, buildPythonPackage, fetchFromGitHub, git,
attrs, future, peewee, h11, h2, atomicwrites, pycryptodome, sphinx, Logbook, jsonschema,
- python-olm, unpaddedbase64, aiohttp }:
+ python-olm, unpaddedbase64, aiohttp, cachetools }:
buildPythonPackage rec {
pname = "nio";
@@ -36,6 +36,7 @@ buildPythonPackage rec {
python-olm
unpaddedbase64
aiohttp
+ cachetools
];
doCheck = false;
diff --git a/pkgs/development/python-modules/mechanize/default.nix b/pkgs/development/python-modules/mechanize/default.nix
index 882872d47e146338dd0ff395493712d5ec3f64bb..9669bcc30e708e0fa766b11ee9b1aa9031ddc4c0 100644
--- a/pkgs/development/python-modules/mechanize/default.nix
+++ b/pkgs/development/python-modules/mechanize/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "mechanize";
- version = "0.4.3";
+ version = "0.4.4";
src = fetchPypi {
inherit pname version;
- sha256 = "1gyxkwjnabqf8xxnkj787xh2dpcnm858g369fnahdcz1wn5hdmyp";
+ sha256 = "9fff89e973bdf1aee75a351bd4dde53ca51a7e76944ddeae3ea3b6ad6c46045c";
};
propagatedBuildInputs = [ html5lib ];
diff --git a/pkgs/development/python-modules/meinheld/default.nix b/pkgs/development/python-modules/meinheld/default.nix
index 31892d12a1f7fc15532b1c930c632168a54644cb..f1291a14f3f4b948254027bdded73af2b9f3bbdf 100644
--- a/pkgs/development/python-modules/meinheld/default.nix
+++ b/pkgs/development/python-modules/meinheld/default.nix
@@ -16,7 +16,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "High performance asynchronous Python WSGI Web Server";
- homepage = http://meinheld.org/;
+ homepage = https://meinheld.org/;
license = licenses.bsd3;
};
}
diff --git a/pkgs/development/python-modules/micawber/default.nix b/pkgs/development/python-modules/micawber/default.nix
index b5fd1d3345849f198c51467f4b98f879e7905dec..003234c2adfc11d8454cd82db9500a368d56d0bb 100644
--- a/pkgs/development/python-modules/micawber/default.nix
+++ b/pkgs/development/python-modules/micawber/default.nix
@@ -12,7 +12,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ beautifulsoup4 ];
meta = with stdenv.lib; {
- homepage = http://micawber.readthedocs.io/en/latest/;
+ homepage = https://micawber.readthedocs.io/en/latest/;
description = "A small library for extracting rich content from urls";
license = licenses.mit;
longDescription = ''
diff --git a/pkgs/development/python-modules/minio/default.nix b/pkgs/development/python-modules/minio/default.nix
index 623a191bbb8e869d98e8b2ff76fc7d5d78fd1db2..61567d851e9b347fb9929c86c02a0e2ebbdd12e9 100644
--- a/pkgs/development/python-modules/minio/default.nix
+++ b/pkgs/development/python-modules/minio/default.nix
@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "minio";
- version = "5.0.1";
+ version = "5.0.5";
src = fetchPypi {
inherit pname version;
- sha256 = "8f7ba1ca0750dfca3302cb03b14a92bf5f1c755ff84f9ba268079bf582e0f735";
+ sha256 = "a5886b3ccb9b46cb4a322a486e06674d1f287b773f20b24cdc3de8450ff935a7";
};
disabled = !isPy3k;
diff --git a/pkgs/development/python-modules/mnist/default.nix b/pkgs/development/python-modules/mnist/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..022cd3a2e02b01f4b2c50a132aa9f48b03a7fd77
--- /dev/null
+++ b/pkgs/development/python-modules/mnist/default.nix
@@ -0,0 +1,36 @@
+{ buildPythonPackage, fetchFromGitHub, isPy27, lib, mock, numpy, pytestCheckHook
+}:
+
+buildPythonPackage rec {
+ pname = "mnist";
+ version = "0.2.2";
+
+ src = fetchFromGitHub {
+ owner = "datapythonista";
+ repo = "mnist";
+ rev = "${pname}-${version}";
+ sha256 = "17r37pbxiv5dw857bmg990x836gq6sgww069w3q5jjg9m3xdm7dh";
+ };
+
+ propagatedBuildInputs = [ numpy ] ++ lib.optional isPy27 mock;
+
+ checkInputs = [ pytestCheckHook ];
+
+ dontUseSetuptoolsCheck = true;
+
+ # disable tests which fail due to socket related errors
+ disabledTests = [
+ "test_test_images_has_right_size"
+ "test_test_labels_has_right_size"
+ "test_train_images_has_right_size"
+ "test_train_labels_has_right_size"
+ ];
+
+ meta = with lib; {
+ description = "Python utilities to download and parse the MNIST dataset";
+ homepage = "https://github.com/datapythonista/mnist";
+ license = licenses.bsd3;
+ maintainers = with maintainers; [ dmrauh ];
+ };
+}
+
diff --git a/pkgs/development/python-modules/mock/default.nix b/pkgs/development/python-modules/mock/default.nix
index 87b6fbeabdc7942681d0510da2cfb70efc5b9343..6978bee000a31b432f01883f2270832c9b2614d9 100644
--- a/pkgs/development/python-modules/mock/default.nix
+++ b/pkgs/development/python-modules/mock/default.nix
@@ -1,7 +1,7 @@
-{ stdenv
+{ lib
, buildPythonPackage
, fetchPypi
-, unittest2
+, isPy27
, funcsigs
, six
, pbr
@@ -17,8 +17,7 @@ buildPythonPackage rec {
sha256 = "83657d894c90d5681d62155c82bda9c1187827525880eda8ff5df4ec813437c3";
};
- buildInputs = [ unittest2 ];
- propagatedBuildInputs = [ funcsigs six pbr ];
+ propagatedBuildInputs = [ six pbr ] ++ lib.optionals isPy27 [ funcsigs ];
# On PyPy for Python 2.7 in particular, Mock's tests have a known failure.
# Mock upstream has a decoration to disable the failing test and make
@@ -30,10 +29,10 @@ buildPythonPackage rec {
${python.interpreter} -m unittest discover
'';
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Mock objects for Python";
homepage = http://python-mock.sourceforge.net/;
- license = stdenv.lib.licenses.bsd2;
+ license = licenses.bsd2;
};
}
diff --git a/pkgs/development/python-modules/moderngl/default.nix b/pkgs/development/python-modules/moderngl/default.nix
index a45a24b7a2a910bdd741ddbeea70c2cd771d65c2..5802b33041f0d5135f2792716b97ce364e0c39c8 100644
--- a/pkgs/development/python-modules/moderngl/default.nix
+++ b/pkgs/development/python-modules/moderngl/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "moderngl";
- version = "5.5.3";
+ version = "5.5.4";
src = fetchPypi {
inherit pname version;
- sha256 = "1k2yf2yglzx65gcv2bqql6w6lmgyp3f1jz4ddq9vylf09a8j7fga";
+ sha256 = "08badabb6a1bbc9aa9e65fae8ecd3275d8342cb45d9c457b19e32b3312a8b663";
};
disabled = !isPy3k;
diff --git a/pkgs/development/python-modules/monty/default.nix b/pkgs/development/python-modules/monty/default.nix
index 677cb68ca5019da16ea7b0219dc0542be3f3511a..361be1bf184b6ce607289956e5919e7556ebf91b 100644
--- a/pkgs/development/python-modules/monty/default.nix
+++ b/pkgs/development/python-modules/monty/default.nix
@@ -14,14 +14,14 @@
buildPythonPackage rec {
pname = "monty";
- version = "1.0.4";
+ version = "3.0.2";
# No tests in Pypi
src = fetchFromGitHub {
owner = "materialsvirtuallab";
repo = pname;
rev = "v${version}";
- sha256 = "0vqaaz0dw0ypl6sfwbycpb0qs3ap04c4ghbggklxih66spdlggh6";
+ sha256 = "1wxqxp0j7i6czdpr2r1imgmy3qbgn2l7d4za2h1lg3hllvx6jra1";
};
checkInputs = [ lsof nose numpy msgpack coverage coveralls pymongo];
diff --git a/pkgs/development/python-modules/mpv/default.nix b/pkgs/development/python-modules/mpv/default.nix
index f5ae020c71c665ea665750621951643bd90a2920..5a6fa42f2869217b0ec994ccba709876f5413f59 100644
--- a/pkgs/development/python-modules/mpv/default.nix
+++ b/pkgs/development/python-modules/mpv/default.nix
@@ -4,14 +4,14 @@
buildPythonPackage rec {
pname = "mpv";
- version = "0.3.9";
+ version = "0.3.10";
disabled = isPy27;
src = fetchFromGitHub {
owner = "jaseg";
repo = "python-mpv";
rev = "v${version}";
- sha256 = "112kr9wppcyy3shsb7v7kq0s1pdw6vw3v2fvqicm7qb2f49y2p4q";
+ sha256 = "1w67rrxsvxl7glh5lri7c5hn1011jij1yh1dn50dxlz79n4h51b5";
};
buildInputs = [ mpv ];
diff --git a/pkgs/development/python-modules/msrest/default.nix b/pkgs/development/python-modules/msrest/default.nix
index ede8e0801df9aecb06d944e5cacd4d87a9f67032..70fa6f361ca6adf93fc8ad6198f9f8c415ef035c 100644
--- a/pkgs/development/python-modules/msrest/default.nix
+++ b/pkgs/development/python-modules/msrest/default.nix
@@ -18,7 +18,7 @@
}:
buildPythonPackage rec {
- version = "0.6.9";
+ version = "0.6.10";
pname = "msrest";
# no tests in PyPI tarball
@@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "Azure";
repo = "msrest-for-python";
rev = "v${version}";
- sha256 = "0540dmxz90jsmwvd4q06cr1ficixknjk8q06f2dqcp06w92vnl8r";
+ sha256 = "1l08daq748lk8rwiv4jdlnmfl9mi7g1ln46gibhnd9xvrrjp0sdx";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/msrestazure/default.nix b/pkgs/development/python-modules/msrestazure/default.nix
index 0ef06cd8fb15279bf59ca73888fe3f3ff567260a..a820dd89f512d689bd21dbd5211bdfc18e952793 100644
--- a/pkgs/development/python-modules/msrestazure/default.nix
+++ b/pkgs/development/python-modules/msrestazure/default.nix
@@ -12,7 +12,7 @@
}:
buildPythonPackage rec {
- version = "0.6.1";
+ version = "0.6.2";
pname = "msrestazure";
# Pypi tarball doesnt include tests
@@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "Azure";
repo = "msrestazure-for-python";
rev = "v${version}";
- sha256 = "09swndz57131b8x57mzibnsr1sv0l80pk62p89q99gsd6mvc389c";
+ sha256 = "09qwdg4la4jwp5ibypdwsn7h8m2sh8c1kdxvffyxcjan50h14s04";
};
propagatedBuildInputs = [ adal msrest ];
diff --git a/pkgs/development/python-modules/nbsphinx/default.nix b/pkgs/development/python-modules/nbsphinx/default.nix
index 07038cb26e134ee02d4886e19b75833121128131..788a8f73ab89f2c5189d8210a414792cc0f07c21 100644
--- a/pkgs/development/python-modules/nbsphinx/default.nix
+++ b/pkgs/development/python-modules/nbsphinx/default.nix
@@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "nbsphinx";
- version = "0.4.3";
+ version = "0.5.0";
src = fetchPypi {
inherit pname version;
- sha256 = "09j47hmzgvf7rnz7n4n7295pp6qscq9hp50qva70vglzqck9yyjp";
+ sha256 = "03g0mqbgk143cq3l3r42js2iy5l6iyvpckpqip4p468rlzrddyhn";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/nuitka/default.nix b/pkgs/development/python-modules/nuitka/default.nix
index 6be1f39328f1d0693feb3b8c543359e71244a69f..ba6dbced66e9e1a320dcfe7450461b27bff6eee5 100644
--- a/pkgs/development/python-modules/nuitka/default.nix
+++ b/pkgs/development/python-modules/nuitka/default.nix
@@ -46,7 +46,7 @@ in buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Python compiler with full language support and CPython compatibility";
license = licenses.asl20;
- homepage = http://nuitka.net/;
+ homepage = https://nuitka.net/;
};
}
diff --git a/pkgs/development/python-modules/openpyxl/2.nix b/pkgs/development/python-modules/openpyxl/2.nix
new file mode 100644
index 0000000000000000000000000000000000000000..d58192c06667d53774bf9abdd7cac27a6943a0f8
--- /dev/null
+++ b/pkgs/development/python-modules/openpyxl/2.nix
@@ -0,0 +1,38 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, pytest
+, jdcal
+, et_xmlfile
+, lxml
+}:
+
+buildPythonPackage rec {
+ pname = "openpyxl";
+ version = "2.6.4";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "1d53801678e18d7fe38c116f1ad0c2383a654670c4c8806105b611c92d92f2e3";
+ };
+
+ checkInputs = [ pytest ];
+ propagatedBuildInputs = [ jdcal et_xmlfile lxml ];
+
+ postPatch = ''
+ # LICENSE.rst is missing, and setup.cfg currently doesn't contain anything useful anyway
+ # This should likely be removed in the next update
+ rm setup.cfg
+ '';
+
+ # Tests are not included in archive.
+ # https://bitbucket.org/openpyxl/openpyxl/issues/610
+ doCheck = false;
+
+ meta = {
+ description = "A Python library to read/write Excel 2007 xlsx/xlsm files";
+ homepage = https://openpyxl.readthedocs.org;
+ license = lib.licenses.mit;
+ maintainers = with lib.maintainers; [ lihop sjourdois ];
+ };
+}
diff --git a/pkgs/development/python-modules/openpyxl/default.nix b/pkgs/development/python-modules/openpyxl/default.nix
index c2075fe4f8e381ebe18027962bdf2dc88a7cbff7..bd0a7a5b2be80f0dd6ea8bb6901ee9bb855ab9b9 100644
--- a/pkgs/development/python-modules/openpyxl/default.nix
+++ b/pkgs/development/python-modules/openpyxl/default.nix
@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "openpyxl";
- version = "3.0.0";
+ version = "3.0.1";
disabled = isPy27; # 2.6.4 was final python2 release
src = fetchPypi {
inherit pname version;
- sha256 = "340a1ab2069764559b9d58027a43a24db18db0e25deb80f81ecb8ca7ee5253db";
+ sha256 = "a3ee361d3ff04af6048d594775b3a54ffdf215d40fa5c6c78b2a41c0d0b020d3";
};
checkInputs = [ pytest ];
diff --git a/pkgs/development/python-modules/opentimestamps/default.nix b/pkgs/development/python-modules/opentimestamps/default.nix
index 01f5595fea100cfc3e317cb39cc8dc88ce6ea203..f9394efe398b5793b16c9e6a685a425adf9f2b02 100644
--- a/pkgs/development/python-modules/opentimestamps/default.nix
+++ b/pkgs/development/python-modules/opentimestamps/default.nix
@@ -3,7 +3,7 @@
buildPythonPackage rec {
pname = "opentimestamps";
- version = "0.4.0";
+ version = "0.4.1";
disabled = (!isPy3k);
# We can't use the pypi source because it doesn't include README.md which is
@@ -12,7 +12,7 @@ buildPythonPackage rec {
owner = "opentimestamps";
repo = "python-opentimestamps";
rev = "python-opentimestamps-v${version}";
- sha256 = "165rj08hwmbn44ra9n0cj5vfn6p49dqfn5lz2mks962mx19c7l0m";
+ sha256 = "0c45ij8absfgwizq6dfgg81siq3y8605sgg184vazp292w8nqmqr";
};
# Remove a failing test which expects the test source file to reside in the
diff --git a/pkgs/development/python-modules/owslib/default.nix b/pkgs/development/python-modules/owslib/default.nix
index 7921b0a7a148957faca0bb2014acd95bf9d67012..1e79a7641472b525e56f6e3db848cffb63c5bb5a 100644
--- a/pkgs/development/python-modules/owslib/default.nix
+++ b/pkgs/development/python-modules/owslib/default.nix
@@ -1,11 +1,11 @@
{ lib, buildPythonPackage, fetchPypi, dateutil, requests, pytz, pyproj , pytest } :
buildPythonPackage rec {
pname = "OWSLib";
- version = "0.18.0";
+ version = "0.19.0";
src = fetchPypi {
inherit pname version;
- sha256 = "018p2ypmpbbcgl0hp92s0vig1wirh41lj0wy62aafn5050pmqr7m";
+ sha256 = "0rdhymayyc6w1izlv1bf2wgx2dfxbp4k1vll5s1364isw60rjj8x";
};
buildInputs = [ pytest ];
diff --git a/pkgs/development/python-modules/pandas/2.nix b/pkgs/development/python-modules/pandas/2.nix
index 42e6fe845e07ad2edb83e6deae2a4ee6a7357e78..6283addcb6eb8cbda92f2fe5cf4597733ec19b2d 100644
--- a/pkgs/development/python-modules/pandas/2.nix
+++ b/pkgs/development/python-modules/pandas/2.nix
@@ -32,11 +32,11 @@ let
in buildPythonPackage rec {
pname = "pandas";
- version = "0.25.3";
+ version = "0.24.2";
src = fetchPypi {
inherit pname version;
- sha256 = "52da74df8a9c9a103af0a72c9d5fdc8e0183a90884278db7f386b5692a2220a4";
+ sha256 = "18imlm8xbhcbwy4wa957a1fkamrcb0z988z006jpfda3ki09z4ag";
};
checkInputs = [ pytest glibcLocales moto hypothesis ];
diff --git a/pkgs/development/python-modules/papermill/default.nix b/pkgs/development/python-modules/papermill/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..ffe0fbc5da58220d9eb1df662e53c8679cc0d17a
--- /dev/null
+++ b/pkgs/development/python-modules/papermill/default.nix
@@ -0,0 +1,70 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, ansiwrap
+, click
+, future
+, pyyaml
+, nbformat
+, nbconvert
+, six
+, tqdm
+, jupyter_client
+, requests
+, entrypoints
+, tenacity
+, futures
+, backports_tempfile
+, isPy27
+, pytest
+, pytestcov
+, pytest-mock
+}:
+
+buildPythonPackage rec {
+ pname = "papermill";
+ version = "1.2.1";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "04dadaabdeb129c7414079f77b9f9a4a08f1322549aa99e20e4a12700ee23509";
+ };
+
+ propagatedBuildInputs = [
+ ansiwrap
+ click
+ future
+ pyyaml
+ nbformat
+ nbconvert
+ six
+ tqdm
+ jupyter_client
+ requests
+ entrypoints
+ tenacity
+ ] ++ lib.optionals isPy27 [
+ futures
+ backports_tempfile
+ ];
+
+ checkInputs = [
+ pytest
+ pytestcov
+ pytest-mock
+ ];
+
+ checkPhase = ''
+ HOME=$(mktemp -d) pytest
+ '';
+
+ # the test suite depends on cloud resources azure/aws
+ doCheck = false;
+
+ meta = with lib; {
+ description = "Parametrize and run Jupyter and nteract Notebooks";
+ homepage = https://github.com/nteract/papermill;
+ license = licenses.bsd3;
+ maintainers = [ maintainers.costrouc ];
+ };
+}
diff --git a/pkgs/development/python-modules/papis/default.nix b/pkgs/development/python-modules/papis/default.nix
index a2fd5118b3e033273c8c2069d77acb5dcde1edf7..f770fecd5e59a56eb94b47f267bccc320842ce18 100644
--- a/pkgs/development/python-modules/papis/default.nix
+++ b/pkgs/development/python-modules/papis/default.nix
@@ -3,7 +3,7 @@
, pyyaml, chardet, beautifulsoup4, colorama, bibtexparser
, pylibgen, click, python-slugify, habanero, isbnlib
, prompt_toolkit, pygments, stevedore, tqdm, lxml
-, python-doi, isPy3k
+, python-doi, isPy3k, pythonOlder
#, optional, dependencies
, whoosh, pytest
, stdenv
@@ -12,6 +12,7 @@
buildPythonPackage rec {
pname = "papis";
version = "0.9";
+ disabled = !isPy3k;
# Missing tests on Pypi
src = fetchFromGitHub {
@@ -32,9 +33,14 @@ buildPythonPackage rec {
whoosh
];
- disabled = !isPy3k;
+ postPatch = ''
+ substituteInPlace setup.py \
+ --replace "lxml<=4.3.5" "lxml~=4.3" \
+ --replace "python-slugify>=1.2.6,<4" "python-slugify"
+ '';
- doCheck = !stdenv.isDarwin;
+ # pytest seems to hang with python3.8
+ doCheck = !stdenv.isDarwin && pythonOlder "3.8";
checkInputs = ([
pytest
diff --git a/pkgs/development/python-modules/pdf2image/default.nix b/pkgs/development/python-modules/pdf2image/default.nix
index 1fbddca8cc4fa91b4f37c2e4826f9b627f18df12..41009a4b7a27b6729ae6b3122f8bc8bfc3cccd61 100644
--- a/pkgs/development/python-modules/pdf2image/default.nix
+++ b/pkgs/development/python-modules/pdf2image/default.nix
@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "pdf2image";
- version = "1.9.0";
+ version = "1.10.0";
propagatedBuildInputs = [ pillow poppler_utils ];
src = fetchPypi {
inherit pname version;
- sha256 = "186g36dcfv83iranyd8gqw2zinhpcvmq86zd7sbsn237gcqk43rn";
+ sha256 = "0bpprn5wcz414pqpvwjpd5cc0838shkw2cfvrwfiilhr09bhxbhb";
};
meta = with stdenv.lib; {
diff --git a/pkgs/development/python-modules/phonenumbers/default.nix b/pkgs/development/python-modules/phonenumbers/default.nix
index d37be90099cb1b30bf60e08fdcb982ef26330653..cb81c2b40fc1147957a897acfcf05c34ed98c960 100644
--- a/pkgs/development/python-modules/phonenumbers/default.nix
+++ b/pkgs/development/python-modules/phonenumbers/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "phonenumbers";
- version = "8.10.22";
+ version = "8.10.23";
src = fetchPypi {
inherit pname version;
- sha256 = "705dc7bbaa0d5932e9c010437c718bb3c0d7c93ab25b9710b4d9ae7370cc0121";
+ sha256 = "b31916281b0819c1e24ee3c21561ecd8be5af9381088557a986af85051a243bf";
};
meta = {
diff --git a/pkgs/development/python-modules/pip-tools/default.nix b/pkgs/development/python-modules/pip-tools/default.nix
index 2b00da73bf79dd3d6fd4fa53a796d27309e2cf6f..0a8d679ae5f903e7596c911784011486199a250c 100644
--- a/pkgs/development/python-modules/pip-tools/default.nix
+++ b/pkgs/development/python-modules/pip-tools/default.nix
@@ -1,18 +1,18 @@
-{ stdenv, fetchPypi, buildPythonPackage, pip, pytest, click, six, first
+{ stdenv, fetchPypi, buildPythonPackage, pip, pytest, click, six
, setuptools_scm, git, glibcLocales, mock }:
buildPythonPackage rec {
pname = "pip-tools";
- version = "4.2.0";
+ version = "4.3.0";
src = fetchPypi {
inherit pname version;
- sha256 = "5427ea4dcc175649723985fbcace9b2d8f46f9adbcc63bc2d7b247d9bcc74917";
+ sha256 = "0x36mp3a3f3wandfc0g8d53gg2jkc14nhisbryzspcl9f05sbvq6";
};
LC_ALL = "en_US.UTF-8";
checkInputs = [ pytest git glibcLocales mock ];
- propagatedBuildInputs = [ pip click six first setuptools_scm ];
+ propagatedBuildInputs = [ pip click six setuptools_scm ];
disabledTests = stdenv.lib.concatMapStringsSep " and " (s: "not " + s) [
# Depend on network tests:
@@ -32,12 +32,8 @@ buildPythonPackage rec {
"test_stdin"
"test_upgrade_packages_option"
"test_url_package"
- # Expect specific version of "six":
"test_editable_package"
- "test_input_file_without_extension"
"test_locally_available_editable_package_is_not_archived_in_cache_dir"
- "test_no_candidates"
- "test_no_candidates_pre"
];
checkPhase = ''
@@ -50,6 +46,5 @@ buildPythonPackage rec {
homepage = https://github.com/jazzband/pip-tools/;
license = licenses.bsd3;
maintainers = with maintainers; [ zimbatm ];
- broken = true;
};
}
diff --git a/pkgs/development/python-modules/pivy/default.nix b/pkgs/development/python-modules/pivy/default.nix
index 6c8fc211ae692a5e51f305a1232473f7b083109f..93aa5ad144cf7f5b9bef3faafc9d821d9e474224 100644
--- a/pkgs/development/python-modules/pivy/default.nix
+++ b/pkgs/development/python-modules/pivy/default.nix
@@ -17,7 +17,7 @@ buildPythonPackage rec {
buildInputs = with pkgs; with xorg; [
coin3d soqt qt5.qtbase
- libGLU_combined
+ libGLU libGL
libXi libXext libSM libICE libX11
];
diff --git a/pkgs/development/python-modules/pony/default.nix b/pkgs/development/python-modules/pony/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..ebda1976e2a2fdc5e0a2348c3e3cf720878c6eda
--- /dev/null
+++ b/pkgs/development/python-modules/pony/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, python, buildPythonPackage, fetchPypi }:
+
+buildPythonPackage rec {
+ pname = "pony";
+ version = "0.7.11";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "05vyvsbcb99vjjs7qpbwy8j4m854w74z8di6zqsv8p9wbm38s06i";
+ };
+
+ doCheck = true;
+
+ # stripping the tests
+ postInstall = ''
+ rm -rf $out/${python.sitePackages}/pony/orm/tests
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Pony is a Python ORM with beautiful query syntax";
+ homepage = "https://ponyorm.org/";
+ maintainers = with maintainers; [ d-goldin xvapx ];
+ license = licenses.asl20;
+ };
+}
diff --git a/pkgs/development/python-modules/portalocker/default.nix b/pkgs/development/python-modules/portalocker/default.nix
index 82be4b8151f312c3760cc503653baa10b16f9dc5..b3b98b2b2ec1d8cc77173811857215a1487907a5 100644
--- a/pkgs/development/python-modules/portalocker/default.nix
+++ b/pkgs/development/python-modules/portalocker/default.nix
@@ -1,6 +1,7 @@
{ buildPythonPackage
, fetchPypi
, lib
+, fetchpatch
, sphinx
, flake8
, pytest
@@ -10,12 +11,12 @@
}:
buildPythonPackage rec {
- version = "1.5.1";
+ version = "1.5.2";
pname = "portalocker";
src = fetchPypi {
inherit pname version;
- sha256 = "08d8vm373fbx90wrql2i7025d4ir54sq8ahx6g1pw9h793zqrn0y";
+ sha256 = "17rfgmgwyxyng8q7bvn369cncadqws2wgkg45q6v8337wm9jxins";
};
checkInputs = [
diff --git a/pkgs/development/python-modules/pudb/default.nix b/pkgs/development/python-modules/pudb/default.nix
index bcba04fdfd27b42385a354b9de54efac935e7033..789a9484d7304f091227b0e4a29ba53fcf70f8ed 100644
--- a/pkgs/development/python-modules/pudb/default.nix
+++ b/pkgs/development/python-modules/pudb/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "pudb";
- version = "2019.1";
+ version = "2019.2";
src = fetchPypi {
inherit pname version;
- sha256 = "19imrr17jnkd6fd2w1zzh63z0hcipg5b9v2x4svqm5c08p3cyc5c";
+ sha256 = "1p2qizb35f9lfhklldzrn8g9mwiar3zmpc44463h5n1ln40ymw78";
};
propagatedBuildInputs = [ pygments urwid ];
diff --git a/pkgs/development/python-modules/pyGithub/default.nix b/pkgs/development/python-modules/pyGithub/default.nix
index 895a06ce558a2257cda24f848b2948e4dbf57a98..d09862184c0d75e995daaf155f80719aae4e7dec 100644
--- a/pkgs/development/python-modules/pyGithub/default.nix
+++ b/pkgs/development/python-modules/pyGithub/default.nix
@@ -3,13 +3,13 @@
buildPythonPackage rec {
pname = "PyGithub";
- version = "1.44";
+ version = "1.44.1";
src = fetchFromGitHub {
owner = "PyGithub";
repo = "PyGithub";
rev = "v${version}";
- sha256 = "067iyarllgdp40bzjxskzrixvmz350yj1qf8wvbddka504bcbh9r";
+ sha256 = "16ngnnm7xj9bd97pvyddag17dx28c5wi0gjx4ws8c8nrmf5w3iqk";
};
propagatedBuildInputs = [ python-jose pyjwt requests deprecated httpretty ];
diff --git a/pkgs/development/python-modules/pyasn1/default.nix b/pkgs/development/python-modules/pyasn1/default.nix
index f8925cd3b52cb9be164a37e0110174a3a90700a9..e1d61866f90d2a2b8c980225b6702d6ddd4011f3 100644
--- a/pkgs/development/python-modules/pyasn1/default.nix
+++ b/pkgs/development/python-modules/pyasn1/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pyasn1";
- version = "0.4.7";
+ version = "0.4.8";
src = fetchPypi {
inherit pname version;
- sha256 = "a9495356ca1d66ed197a0f72b41eb1823cf7ea8b5bd07191673e8147aecf8604";
+ sha256 = "aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba";
};
meta = with stdenv.lib; {
diff --git a/pkgs/development/python-modules/pyaxmlparser/default.nix b/pkgs/development/python-modules/pyaxmlparser/default.nix
index c6c1afdcc95f4f857ea678a8ce5adb87c956e77c..85140d3db49b1be6c10f99fdc09a9b381b97730e 100644
--- a/pkgs/development/python-modules/pyaxmlparser/default.nix
+++ b/pkgs/development/python-modules/pyaxmlparser/default.nix
@@ -1,7 +1,7 @@
{ buildPythonPackage, stdenv, lxml, click, fetchFromGitHub, pytest, isPy3k }:
buildPythonPackage rec {
- version = "0.3.21";
+ version = "0.3.24";
pname = "pyaxmlparser";
# the PyPI tarball doesn't ship tests.
@@ -9,7 +9,7 @@ buildPythonPackage rec {
owner = "appknox";
repo = pname;
rev = "v${version}";
- sha256 = "1bphd2vl9akk78yqvvxcz36wmr47hp3nh6xyrdc8w1avy1aby1ij";
+ sha256 = "0fys26p7xhbnbdzp80zm6n3mragp38p08nyrsnilfgnlpi6rjpg0";
};
disabled = !isPy3k;
diff --git a/pkgs/development/python-modules/pybind11/default.nix b/pkgs/development/python-modules/pybind11/default.nix
index 2df360dfaabb277df00aaaf8424d7caed852121e..0f386a7c42fe066643063eb0869fc33413734015 100644
--- a/pkgs/development/python-modules/pybind11/default.nix
+++ b/pkgs/development/python-modules/pybind11/default.nix
@@ -5,9 +5,10 @@
, python
, pytest
, cmake
-, numpy ? null
-, eigen ? null
-, scipy ? null
+, catch
+, numpy
+, eigen
+, scipy
}:
buildPythonPackage rec {
@@ -21,23 +22,42 @@ buildPythonPackage rec {
sha256 = "0k89w4bsfbpzw963ykg1cyszi3h3nk393qd31m6y46pcfxkqh4rd";
};
- dontUseCmakeConfigure = true;
-
nativeBuildInputs = [ cmake ];
- checkInputs = [ pytest ]
- ++ (lib.optional (numpy != null) numpy)
- ++ (lib.optional (eigen != null) eigen)
- ++ (lib.optional (scipy != null) scipy);
- checkPhase = ''
- cmake ${if eigen != null then "-DEIGEN3_INCLUDE_DIR=${eigen}/include/eigen3" else ""}
- make -j $NIX_BUILD_CORES pytest
- '';
- # re-expose the headers to other packages
- postInstall = ''
- ln -s $out/include/python${python.pythonVersion}m/pybind11/ $out/include/pybind11
+ buildInputs = [ catch ];
+
+ cmakeFlags = [
+ "-DEIGEN3_INCLUDE_DIR=${eigen}/include/eigen3"
+ ] ++ lib.optionals (!python.isPy2) [
+ # Enable some tests only on Python 3. The "test_string_view" test
+ # 'testTypeError: string_view16_chars(): incompatible function arguments'
+ # fails on Python 2.
+ "-DPYBIND11_CPP_STANDARD=-std=c++17"
+ ];
+
+ dontUseSetuptoolsBuild = true;
+ dontUsePipInstall = true;
+ dontUseSetuptoolsCheck = true;
+
+ preFixup = ''
+ pushd ..
+ export PYBIND11_USE_CMAKE=1
+ setuptoolsBuildPhase
+ pipInstallPhase
+ # Symlink the CMake-installed headers to the location expected by setuptools
+ mkdir -p $out/include/${python.libPrefix}
+ ln -sf $out/include/pybind11 $out/include/${python.libPrefix}/pybind11
+ popd
'';
+ installCheckTarget = "pytest";
+ doInstallCheck = true;
+ checkInputs = [
+ pytest
+ numpy
+ scipy
+ ];
+
meta = {
homepage = https://github.com/pybind/pybind11;
description = "Seamless operability between C++11 and Python";
diff --git a/pkgs/development/python-modules/pybullet/default.nix b/pkgs/development/python-modules/pybullet/default.nix
index f72f09a3328c62aed9122eea8e9366677a2db967..f4c12f48542b3b44950160d43fdb31a469b97232 100644
--- a/pkgs/development/python-modules/pybullet/default.nix
+++ b/pkgs/development/python-modules/pybullet/default.nix
@@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
-, libGLU_combined
+, libGLU, libGL
, xorg
}:
@@ -15,7 +15,7 @@ buildPythonPackage rec {
};
buildInputs = [
- libGLU_combined
+ libGLU libGL
xorg.libX11
];
diff --git a/pkgs/development/python-modules/pycairo/default.nix b/pkgs/development/python-modules/pycairo/default.nix
index ca6f72847158f442ce2e4bef112e26da819aa619..c38366894dc6b69bbb3c584bbaffdcf1dd988b30 100644
--- a/pkgs/development/python-modules/pycairo/default.nix
+++ b/pkgs/development/python-modules/pycairo/default.nix
@@ -2,7 +2,7 @@
buildPythonPackage rec {
pname = "pycairo";
- version = "1.18.1";
+ version = "1.18.2";
format = "other";
@@ -12,7 +12,7 @@ buildPythonPackage rec {
owner = "pygobject";
repo = "pycairo";
rev = "v${version}";
- sha256 = "0f4l7d1ibkk8xdspyv5zx8fah9z3x775bd91zirnp37vlgqds7xj";
+ sha256 = "142145a2whvlk92jijrbf3i2bqrzmspwpysj0bfypw0krzi0aa6j";
};
nativeBuildInputs = [
diff --git a/pkgs/development/python-modules/pycollada/default.nix b/pkgs/development/python-modules/pycollada/default.nix
index 23ed4917cc58b8aeb731673643da2a17d071bef9..fd3eb1b4c1874703e63ad3374ccf9d674690fa0e 100644
--- a/pkgs/development/python-modules/pycollada/default.nix
+++ b/pkgs/development/python-modules/pycollada/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pycollada";
- version = "0.6";
+ version = "0.7";
src = fetchPypi {
inherit pname version;
- sha256 = "fcd6f38fd981e350f9ec754d9671834017accd600e967d6d299a6cfdae5ba4f4";
+ sha256 = "0b2vz9fp9asw57m3p9zjlz9gddanrhpxbdfimg98ik654kp2vj7r";
};
propagatedBuildInputs = [ numpy dateutil ];
diff --git a/pkgs/development/python-modules/pycryptodome/default.nix b/pkgs/development/python-modules/pycryptodome/default.nix
index c3b807ce43c39f552380a01716117ce793785e62..17bb7c9dcd03a888b7f5a57ec152ea540a69ed63 100644
--- a/pkgs/development/python-modules/pycryptodome/default.nix
+++ b/pkgs/development/python-modules/pycryptodome/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchPypi, buildPythonPackage }:
buildPythonPackage rec {
- version = "3.9.2";
+ version = "3.9.4";
pname = "pycryptodome";
src = fetchPypi {
inherit pname version;
- sha256 = "e1e007d072d50844188c067c325af8b3ad31e4b87792381469b821e95bf14cd8";
+ sha256 = "a168e73879619b467072509a223282a02c8047d932a48b74fbd498f27224aa04";
};
meta = {
diff --git a/pkgs/development/python-modules/pycryptodomex/default.nix b/pkgs/development/python-modules/pycryptodomex/default.nix
index 7d3204e021a4435711b6ae75d1c49e58b09903da..bf6ac65fc7f6666fde4ec0b680ed87849b562433 100644
--- a/pkgs/development/python-modules/pycryptodomex/default.nix
+++ b/pkgs/development/python-modules/pycryptodomex/default.nix
@@ -2,7 +2,7 @@
buildPythonPackage rec {
pname = "pycryptodomex";
- version = "3.9.2";
+ version = "3.9.4";
meta = {
description = "A self-contained cryptographic library for Python";
@@ -12,6 +12,6 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "137e8e2c7438184dae0b940cdf5d0d4f639b1df564a95dadbb7c4ec188850921";
+ sha256 = "22d970cee5c096b9123415e183ae03702b2cd4d3ba3f0ced25c4e1aba3967167";
};
}
diff --git a/pkgs/development/python-modules/pydocstyle/2.nix b/pkgs/development/python-modules/pydocstyle/2.nix
new file mode 100644
index 0000000000000000000000000000000000000000..a2f2daa2fe9c7fb414ef3a7037e099e25e2ca376
--- /dev/null
+++ b/pkgs/development/python-modules/pydocstyle/2.nix
@@ -0,0 +1,33 @@
+{ lib, buildPythonPackage, fetchFromGitHub, isPy3k, pythonOlder
+, snowballstemmer, six, configparser
+, pytest, pytestpep8, mock, pathlib }:
+
+buildPythonPackage rec {
+ pname = "pydocstyle";
+ version = "2.1.1";
+
+ # no tests on PyPI
+ # https://github.com/PyCQA/pydocstyle/issues/302
+ src = fetchFromGitHub {
+ owner = "PyCQA";
+ repo = pname;
+ rev = version;
+ sha256 = "1h0k8lpx14svc8dini62j0kqiam10pck5sdzvxa4xhsx7y689g5l";
+ };
+
+ propagatedBuildInputs = [ snowballstemmer six ] ++ lib.optional (!isPy3k) configparser;
+
+ checkInputs = [ pytest pytestpep8 mock ] ++ lib.optional (pythonOlder "3.4") pathlib;
+
+ checkPhase = ''
+ # test_integration.py installs packages via pip
+ py.test --pep8 --cache-clear -vv src/tests -k "not test_integration"
+ '';
+
+ meta = with lib; {
+ description = "Python docstring style checker";
+ homepage = https://github.com/PyCQA/pydocstyle/;
+ license = licenses.mit;
+ maintainers = with maintainers; [ dzabraev ];
+ };
+}
diff --git a/pkgs/development/python-modules/pydocstyle/default.nix b/pkgs/development/python-modules/pydocstyle/default.nix
index a2f2daa2fe9c7fb414ef3a7037e099e25e2ca376..39d9f9f9a23ddcdb0eac3aea4fb1d43866fbac71 100644
--- a/pkgs/development/python-modules/pydocstyle/default.nix
+++ b/pkgs/development/python-modules/pydocstyle/default.nix
@@ -1,23 +1,25 @@
-{ lib, buildPythonPackage, fetchFromGitHub, isPy3k, pythonOlder
-, snowballstemmer, six, configparser
-, pytest, pytestpep8, mock, pathlib }:
+{ lib, buildPythonPackage, fetchFromGitHub, isPy3k
+, mock
+, pytest
+, pytestpep8
+, snowballstemmer
+}:
buildPythonPackage rec {
pname = "pydocstyle";
- version = "2.1.1";
+ version = "4.0.1";
+ disabled = !isPy3k;
- # no tests on PyPI
- # https://github.com/PyCQA/pydocstyle/issues/302
src = fetchFromGitHub {
owner = "PyCQA";
repo = pname;
rev = version;
- sha256 = "1h0k8lpx14svc8dini62j0kqiam10pck5sdzvxa4xhsx7y689g5l";
+ sha256 = "1sr8d2fsfpam4f14v4als6g2v6s3n9h138vxlwhd6slb3ll14y4l";
};
- propagatedBuildInputs = [ snowballstemmer six ] ++ lib.optional (!isPy3k) configparser;
+ propagatedBuildInputs = [ snowballstemmer ];
- checkInputs = [ pytest pytestpep8 mock ] ++ lib.optional (pythonOlder "3.4") pathlib;
+ checkInputs = [ pytest pytestpep8 mock ];
checkPhase = ''
# test_integration.py installs packages via pip
diff --git a/pkgs/development/python-modules/pyftgl/default.nix b/pkgs/development/python-modules/pyftgl/default.nix
index bf92f7360ddbac3119bfd053e78864c31385cd7f..90fd7903808338d22355bec2f27b2d05f064a4bf 100644
--- a/pkgs/development/python-modules/pyftgl/default.nix
+++ b/pkgs/development/python-modules/pyftgl/default.nix
@@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchFromGitHub
-, boost, freetype, ftgl, libGLU_combined
+, boost, freetype, ftgl, libGLU, libGL
, python
}:
@@ -24,7 +24,7 @@ buildPythonPackage rec {
sed -i "s,'boost_python','boost_python${pythonVersion}',g" setup.py
'';
- buildInputs = [ boost freetype ftgl libGLU_combined ];
+ buildInputs = [ boost freetype ftgl libGLU libGL ];
meta = with lib; {
description = "Python bindings for FTGL (FreeType for OpenGL)";
diff --git a/pkgs/development/python-modules/pyglet/default.nix b/pkgs/development/python-modules/pyglet/default.nix
index 16484cb1211ec32de34f7400cc2fa44000a1030f..e6be92c0efb520c12b14a5e546c31080e67dc8d3 100644
--- a/pkgs/development/python-modules/pyglet/default.nix
+++ b/pkgs/development/python-modules/pyglet/default.nix
@@ -1,7 +1,8 @@
{ stdenv
, buildPythonPackage
, fetchPypi
-, libGLU_combined
+, libGL
+, libGLU
, xorg
, future
, pytest
@@ -34,9 +35,9 @@ buildPythonPackage rec {
for name in names:
path = None
if name == 'GL':
- path = '${libGLU_combined}/lib/libGL${ext}'
+ path = '${libGL}/lib/libGL${ext}'
elif name == 'GLU':
- path = '${libGLU_combined}/lib/libGLU${ext}'
+ path = '${libGLU}/lib/libGLU${ext}'
elif name == 'c':
path = '${glibc}/lib/libc${ext}.6'
elif name == 'X11':
diff --git a/pkgs/development/python-modules/pykde4/default.nix b/pkgs/development/python-modules/pykde4/default.nix
deleted file mode 100644
index 5be43a412e52ff0e46d35c7a911e9809a90b4d01..0000000000000000000000000000000000000000
--- a/pkgs/development/python-modules/pykde4/default.nix
+++ /dev/null
@@ -1,46 +0,0 @@
-{ pyqt4, openssl_1_0_2
-, stdenv, callPackage, fetchurl, cmake, automoc4, sip }:
-
-let
- kdelibs = callPackage ./kdelibs.nix {
- openssl = openssl_1_0_2;
- };
- sip4_19_3 = sip.overrideAttrs (oldAttrs: rec {
- src = fetchurl {
- url = "mirror://sourceforge/pyqt/sip/sip-4.19.3/sip-4.19.3.tar.gz";
- sha256 = "0x2bghbprwl3az1ni3p87i0bq8r99694la93kg65vi0cz12gh3bl";
- };
- });
- pyqt4_fixed = pyqt4.overrideAttrs (oldAttrs: {
- propagatedBuildInputs = [ sip4_19_3 ];
- });
-in stdenv.mkDerivation rec {
- version = "4.14.3";
- pname = "pykde4";
-
- src = fetchurl {
- url = "mirror://kde/stable/${version}/src/${pname}-${version}.tar.xz";
- sha256 = "1z40gnkyjlv6ds3cmpzvv99394rhmydr6rxx7qj33m83xnsxgfbz";
- };
-
- patches = [ ./dlfcn.patch ];
-
- buildInputs = [
- kdelibs
- ];
-
- nativeBuildInputs = [ cmake automoc4 ];
-
- propagatedBuildInputs = [ pyqt4_fixed ];
-
- enableParallelBuilding = true;
-
- meta = with stdenv.lib; {
- platforms = platforms.linux;
- hydraPlatforms = platforms.none;
- description = "Python bindings for KDE";
- license = with licenses; [ gpl2 lgpl2 ];
- homepage = https://api.kde.org/pykde-4.3-api/;
- maintainers = with maintainers; [ gnidorah ];
- };
-}
diff --git a/pkgs/development/python-modules/pykde4/dlfcn.patch b/pkgs/development/python-modules/pykde4/dlfcn.patch
deleted file mode 100644
index 63aff46eeab199753d51199de73820b5e1143407..0000000000000000000000000000000000000000
--- a/pkgs/development/python-modules/pykde4/dlfcn.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- __init__.py.orig 2017-11-02 09:06:48.998054459 +0300
-+++ ./__init__.py 2017-11-02 09:24:28.089072752 +0300
-@@ -1,4 +1,8 @@
--import sys,DLFCN
-+import sys
-+try:
-+ import DLFCN
-+except ImportError:
-+ import os as DLFCN
- # This is needed to ensure that dynamic_cast and RTTI works inside kdelibs.
- sys.setdlopenflags(DLFCN.RTLD_NOW|DLFCN.RTLD_GLOBAL)
-
-\ No newline at end of file
diff --git a/pkgs/development/python-modules/pykde4/kdelibs.nix b/pkgs/development/python-modules/pykde4/kdelibs.nix
deleted file mode 100644
index e6f20b8248b88f73368ae607d7e48ad77130d73c..0000000000000000000000000000000000000000
--- a/pkgs/development/python-modules/pykde4/kdelibs.nix
+++ /dev/null
@@ -1,48 +0,0 @@
-{
- stdenv, fetchurl, fetchpatch,
- automoc4, cmake_2_8, libxslt, perl, pkgconfig, shared-mime-info,
- attica, docbook_xml_dtd_42, docbook_xsl, giflib,
- libdbusmenu_qt, libjpeg, phonon, qt4, openssl
-}:
-
-stdenv.mkDerivation rec {
- version = "4.14.38";
- pname = "kdelibs";
- src = fetchurl {
- url = "mirror://kde/stable/applications/17.08.3/src/${pname}-${version}.tar.xz";
- sha256 = "1zn3yb09sd22bm54is0rn98amj0398zybl550dp406419sil7z9p";
- };
- patches = [
- # https://phabricator.kde.org/D22989
- (fetchpatch {
- url = "https://cgit.kde.org/kdelibs.git/patch/?id=2c3762feddf7e66cf6b64d9058f625a715694a00";
- sha256 = "1wbzywh8lcc66n6y3pxs18h7cwkq6g216faz27san33jpl8ra1i9";
- name = "CVE-2019-14744.patch";
- })
- ];
-
- enableParallelBuilding = true;
-
- nativeBuildInputs = [
- automoc4 cmake_2_8 libxslt perl pkgconfig shared-mime-info
- ];
- buildInputs = [
- attica giflib libdbusmenu_qt libjpeg openssl
- ];
- propagatedBuildInputs = [ qt4 phonon ];
-
- cmakeFlags = [
- "-DDOCBOOKXML_CURRENTDTD_DIR=${docbook_xml_dtd_42}/xml/dtd/docbook"
- "-DDOCBOOKXSL_DIR=${docbook_xsl}/xml/xsl/docbook"
- "-DKJS_FORCE_DISABLE_PCRE=true"
- "-DWITH_SOLID_UDISKS2=OFF"
- ];
-
- meta = with stdenv.lib; {
- platforms = platforms.linux;
- hydraPlatforms = platforms.none;
- homepage = http://www.kde.org;
- license = with licenses; [ gpl2 fdl12 lgpl21 ];
- maintainers = with maintainers; [ gnidorah ];
- };
-}
diff --git a/pkgs/development/python-modules/pylibacl/default.nix b/pkgs/development/python-modules/pylibacl/default.nix
index f366f6e57f606de594d8b6aa8fe1cd3c9223c457..08d598c72db6759333d566201b66d0e3b02d4703 100644
--- a/pkgs/development/python-modules/pylibacl/default.nix
+++ b/pkgs/development/python-modules/pylibacl/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "pylibacl";
- version = "0.5.3";
+ version = "0.5.4";
src = fetchPypi {
inherit pname version;
- sha256 = "0c3xw1s5bh6jnsc0wwyxnn6kn6x6rpbmmi05ap1f81fyqlgrzgj0";
+ sha256 = "060f375aeff90a16fbc3a827b7e234694ad636485d8ecd6654e01e1fc4ea3b37";
};
# ERROR: testExtended (tests.test_acls.AclExtensions)
diff --git a/pkgs/development/python-modules/pylint/default.nix b/pkgs/development/python-modules/pylint/default.nix
index 8861a364b0fa313b746223f6ebae5e0f49e7b071..95f86e31c041a04c8a2d40e61ed244d015426a47 100644
--- a/pkgs/development/python-modules/pylint/default.nix
+++ b/pkgs/development/python-modules/pylint/default.nix
@@ -3,13 +3,13 @@
buildPythonPackage rec {
pname = "pylint";
- version = "2.4.3";
+ version = "2.4.4";
disabled = pythonOlder "3.4";
src = fetchPypi {
inherit pname version;
- sha256 = "856476331f3e26598017290fd65bebe81c960e806776f324093a46b76fb2d1c0";
+ sha256 = "3db5468ad013380e987410a8d6956226963aed94ecb5f9d3a28acca6d9ac36cd";
};
nativeBuildInputs = [ pytestrunner ];
diff --git a/pkgs/development/python-modules/pympler/default.nix b/pkgs/development/python-modules/pympler/default.nix
index a9350f20eb3f5fd85e79895753b0485181a3c42d..85be0b4309c7349a3e64ce2d7c90e36f9a181a4a 100644
--- a/pkgs/development/python-modules/pympler/default.nix
+++ b/pkgs/development/python-modules/pympler/default.nix
@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "Pympler";
- version = "0.7";
+ version = "0.8";
src = fetchPypi {
inherit pname version;
- sha256 = "0ki7bqp1h9l1xc2k1h4vjyzsgs20i8ingvcdhszyi72s28wyf4bs";
+ sha256 = "08mrpnb6cv2nvfncvr8a9a8bpwhnasa924anapnjvnaw5jcd4k7p";
};
postPatch = ''
diff --git a/pkgs/development/python-modules/pymupdf/default.nix b/pkgs/development/python-modules/pymupdf/default.nix
index dc9b38eec9b7a9c5d388873898c0decedc7ae2e9..98071962d4f96a068ae5778d37ed4817aba5f877 100644
--- a/pkgs/development/python-modules/pymupdf/default.nix
+++ b/pkgs/development/python-modules/pymupdf/default.nix
@@ -1,11 +1,11 @@
{ stdenv, buildPythonPackage, fetchPypi, mupdf, swig }:
buildPythonPackage rec {
pname = "PyMuPDF";
- version = "1.16.7";
+ version = "1.16.8";
src = fetchPypi {
inherit pname version;
- sha256 = "b16c85b2f89cc89e36b59fe734f14e5c939c8b24697bf33ff7a19584e8334976";
+ sha256 = "3099b48a796885c0760d8ac5439131dee1bc6adadf7ae008417e0ca8d8fcdf15";
};
patchPhase = ''
diff --git a/pkgs/development/python-modules/pynamodb/default.nix b/pkgs/development/python-modules/pynamodb/default.nix
index 74840d72a94dd451da89d3b0de7040aff6a70c45..5016cfb741c5dfafca89168849d52fa2c17e1350 100644
--- a/pkgs/development/python-modules/pynamodb/default.nix
+++ b/pkgs/development/python-modules/pynamodb/default.nix
@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "pynamodb";
- version = "4.1.0";
+ version = "4.2.0";
src = fetchPypi {
inherit pname version;
- sha256 = "d05d5e2b0f663679ad11421c6fc2cf2f89a2a5843e6ebc372706bf5a78d93762";
+ sha256 = "0njbh3h6696nq5palqa0b8s0fbsvhbawpzl923dnfsa9kgq5m294";
};
propagatedBuildInputs = [ python-dateutil botocore ];
diff --git a/pkgs/development/python-modules/pyopengl/default.nix b/pkgs/development/python-modules/pyopengl/default.nix
index 11a51f354d9f879e758770f04b41e21a4b5ccffc..b00502700e81478d7746bc368da4662fb1dbf00d 100644
--- a/pkgs/development/python-modules/pyopengl/default.nix
+++ b/pkgs/development/python-modules/pyopengl/default.nix
@@ -14,7 +14,7 @@ buildPythonPackage rec {
sha256 = "9b47c5c3a094fa518ca88aeed35ae75834d53e4285512c61879f67a48c94ddaf";
};
- propagatedBuildInputs = [ pkgs.libGLU_combined pkgs.freeglut pillow ];
+ propagatedBuildInputs = [ pkgs.libGLU pkgs.libGL pkgs.freeglut pillow ];
patchPhase = let
ext = stdenv.hostPlatform.extensions.sharedLibrary; in ''
diff --git a/pkgs/development/python-modules/pysaml2/default.nix b/pkgs/development/python-modules/pysaml2/default.nix
index 1528623aa0ecb9a215d1349567ae671514de525d..8c0513b0b5130bb230edc07bb517fe39d712ae0f 100644
--- a/pkgs/development/python-modules/pysaml2/default.nix
+++ b/pkgs/development/python-modules/pysaml2/default.nix
@@ -9,14 +9,14 @@
buildPythonPackage rec {
pname = "pysaml2";
- version = "4.8.0";
+ version = "4.9.0";
# No tests in PyPI tarball
src = fetchFromGitHub {
owner = "IdentityPython";
repo = pname;
rev = "v${version}";
- sha256 = "1nnmk7apg169bawqi06jbx3p0x4sq12kszzl7k6j39273hqq5ii4";
+ sha256 = "1ww1l34zn25vxifs8nr0bg7gkhbpy5g45mj0jj4d8hzimahb1brx";
};
patches = [
diff --git a/pkgs/development/python-modules/pyscreenshot/default.nix b/pkgs/development/python-modules/pyscreenshot/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..9e9d15e52956af6796a19ec67990e8c1ff02a9b3
--- /dev/null
+++ b/pkgs/development/python-modules/pyscreenshot/default.nix
@@ -0,0 +1,29 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, EasyProcess
+}:
+
+buildPythonPackage rec {
+ pname = "pyscreenshot";
+ version = "0.5.1";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "19ec6d17a61c0cd4e7fcf3ab2685598a54b53dc781755393cc5f76dcb7bf359c";
+ };
+
+ propagatedBuildInputs = [
+ EasyProcess
+ ];
+
+ # recursive dependency on pyvirtualdisplay
+ doCheck = false;
+
+ meta = with lib; {
+ description = "python screenshot";
+ homepage = "https://github.com/ponty/pyscreenshot";
+ license = licenses.bsd3;
+ maintainers = with maintainers; [ costrouc ];
+ };
+}
diff --git a/pkgs/development/python-modules/pyspf/default.nix b/pkgs/development/python-modules/pyspf/default.nix
index 61beac17ab3dbecc12a5b56f4388c833573a5211..0ba230075f9a029a91f228d9d9b63350ac39717b 100644
--- a/pkgs/development/python-modules/pyspf/default.nix
+++ b/pkgs/development/python-modules/pyspf/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pyspf";
- version = "2.0.12"; # version 2.0.13 should not be used, see #72791
+ version = "2.0.13"; # version 2.0.13 should not be used, see #72791
src = fetchPypi {
inherit pname version;
- sha256 = "18j1rmbmhih7q6y12grcj169q7sx1986qn4gmpla9y5gwfh1p8la";
+ sha256 = "62dc1be39519e343202d480da7ef93d834b5a50cd4f217bef9335ed15292929b";
};
propagatedBuildInputs = [ pydns ];
diff --git a/pkgs/development/python-modules/pytest-qt/default.nix b/pkgs/development/python-modules/pytest-qt/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..4ce0241f415bc333c6075a7df47adb3dbdb5672a
--- /dev/null
+++ b/pkgs/development/python-modules/pytest-qt/default.nix
@@ -0,0 +1,39 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, setuptools_scm
+, pytest
+, pyqt5
+}:
+
+buildPythonPackage rec {
+ pname = "pytest-qt";
+ version = "3.2.2";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "f6ecf4b38088ae1092cbd5beeaf714516d1f81f8938626a2eac546206cdfe7fa";
+ };
+
+ nativeBuildInputs = [
+ setuptools_scm
+ ];
+
+ propagatedBuildInputs = [
+ pytest
+ ];
+
+ checkInputs = [
+ pyqt5
+ ];
+
+ # tests require X server
+ doCheck = false;
+
+ meta = with lib; {
+ description = "pytest support for PyQt and PySide applications";
+ homepage = "https://github.com/pytest-dev/pytest-qt";
+ license = licenses.mit;
+ maintainers = with maintainers; [ costrouc ];
+ };
+}
diff --git a/pkgs/development/python-modules/pytest-repeat/default.nix b/pkgs/development/python-modules/pytest-repeat/default.nix
index afd36155cf78853badd7d5aba918e37cf7e832a7..768ad59673428cd58572e0fafe0862d3b8cd239e 100644
--- a/pkgs/development/python-modules/pytest-repeat/default.nix
+++ b/pkgs/development/python-modules/pytest-repeat/default.nix
@@ -8,33 +8,29 @@
buildPythonPackage rec {
pname = "pytest-repeat";
- version = "0.7.0";
+ version = "0.8.0";
src = fetchPypi {
inherit pname version;
- sha256 = "0axbrpqal3cqw9zq6dakdbg49pnf5gvyvq6yn93hp1ayc7fnhzk3";
+ sha256 = "1nbdmklpi0ra1jnfm032wz96y9nxdlcr4m9sjlnffwm7n4x43g2j";
};
- # fixes support for pytest >3.6. Should be droppable during the
- # next bump.
- patches = [
- (fetchpatch {
- url = https://github.com/pytest-dev/pytest-repeat/commit/f94b6940e3651b7593aca5a7a987eb56abe04cb1.patch;
- sha256 = "00da1gmpq9pslcmm8pw93jcbp8j2zymzqdsm6jq3xinkvjpsbmny";
- })
+ nativeBuildInputs = [
+ setuptools_scm
];
- buildInputs = [ setuptools_scm ];
- checkInputs = [ pytest ];
+ checkInputs = [
+ pytest
+ ];
checkPhase = ''
- py.test
+ pytest
'';
- meta = {
+ meta = with lib; {
description = "Pytest plugin for repeating tests";
- homepage = https://github.com/pytest-dev/pytest-repeat;
- maintainers = with lib.maintainers; [ costrouc ];
- license = lib.licenses.mpl20;
+ homepage = "https://github.com/pytest-dev/pytest-repeat";
+ license = licenses.mpl20;
+ maintainers = with maintainers; [ costrouc ];
};
}
diff --git a/pkgs/development/python-modules/pytest-rerunfailures/default.nix b/pkgs/development/python-modules/pytest-rerunfailures/default.nix
index 79ce9fa63a9b849a8bd8ce0b5756fa76410cca14..f5c35905cf651fc1ed82562771d11ddef7d9b537 100644
--- a/pkgs/development/python-modules/pytest-rerunfailures/default.nix
+++ b/pkgs/development/python-modules/pytest-rerunfailures/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pytest-rerunfailures";
- version = "7.0";
+ version = "8.0";
src = fetchPypi {
inherit pname version;
- sha256 = "1zfm9v80bqfdapygy9wmi6j6y5c179ixpnh9ih27py4v6cqwzjgk";
+ sha256 = "04p8rfvv7yi3gsdm1dw1mfhjwg6507rhgj7nbm5gfqw4kxmj7h8p";
};
checkInputs = [ mock pytest ];
diff --git a/pkgs/development/python-modules/pytest-xvfb/default.nix b/pkgs/development/python-modules/pytest-xvfb/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..b9ae9be428d34495498dd82767270d796bdf8dd8
--- /dev/null
+++ b/pkgs/development/python-modules/pytest-xvfb/default.nix
@@ -0,0 +1,28 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, pytest
+, virtual-display
+}:
+
+buildPythonPackage rec {
+ pname = "pytest-xvfb";
+ version = "1.2.0";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "a7544ca8d0c7c40db4b40d7a417a7b071c68d6ef6bdf9700872d7a167302f979";
+ };
+
+ propagatedBuildInputs = [
+ pytest
+ virtual-display
+ ];
+
+ meta = with lib; {
+ description = "A pytest plugin to run Xvfb for tests";
+ homepage = "https://github.com/The-Compiler/pytest-xvfb";
+ license = licenses.mit;
+ maintainers = with maintainers; [ costrouc ];
+ };
+}
diff --git a/pkgs/development/python-modules/pytest/default.nix b/pkgs/development/python-modules/pytest/default.nix
index 39eed4f13c602f49979aeaa680d1853c18e19ac4..a0e26b44201804b28f8b555f756599986262bd25 100644
--- a/pkgs/development/python-modules/pytest/default.nix
+++ b/pkgs/development/python-modules/pytest/default.nix
@@ -3,7 +3,7 @@
, atomicwrites, mock, writeText, pathlib2, wcwidth, packaging, isPyPy, python
}:
buildPythonPackage rec {
- version = "5.2.2";
+ version = "5.2.4";
pname = "pytest";
disabled = !isPy3k;
@@ -15,7 +15,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "27abc3fef618a01bebb1f0d6d303d2816a99aa87a5968ebc32fe971be91eb1e6";
+ sha256 = "ff0090819f669aaa0284d0f4aad1a6d9d67a6efdc6dd4eb4ac56b704f890a0d6";
};
checkInputs = [ hypothesis mock ];
diff --git a/pkgs/development/python-modules/python-daemon/default.nix b/pkgs/development/python-modules/python-daemon/default.nix
index 41b7aa78bab99c569c73696b6ed332cfdb4f40ff..e33aee6c1c919d6a0e977cad7cbe58d8a1cf982d 100644
--- a/pkgs/development/python-modules/python-daemon/default.nix
+++ b/pkgs/development/python-modules/python-daemon/default.nix
@@ -1,4 +1,11 @@
-{ lib, buildPythonPackage, fetchPypi, mock, testscenarios, docutils, lockfile }:
+{ lib, buildPythonPackage, fetchPypi
+, docutils
+, lockfile
+, mock
+, pytest
+, testscenarios
+, twine
+}:
buildPythonPackage rec {
pname = "python-daemon";
@@ -9,12 +16,22 @@ buildPythonPackage rec {
sha256 = "57c84f50a04d7825515e4dbf3a31c70cc44414394a71608dee6cfde469e81766";
};
- # A test fail within chroot builds.
- doCheck = false;
-
- buildInputs = [ mock testscenarios ];
+ nativeBuildInputs = [ twine ];
propagatedBuildInputs = [ docutils lockfile ];
+ checkInputs = [ pytest mock testscenarios ];
+ checkPhase = ''
+ pytest -k 'not detaches_process_context \
+ and not standard_stream_file_descriptors'
+ '';
+
+ pythonImportsCheck = [
+ "daemon"
+ "daemon.daemon"
+ "daemon.pidfile"
+ "daemon.runner"
+ ];
+
meta = with lib; {
description = "Library to implement a well-behaved Unix daemon process";
homepage = "https://pagure.io/python-daemon/";
diff --git a/pkgs/development/python-modules/python-engineio/default.nix b/pkgs/development/python-modules/python-engineio/default.nix
index bf6d4cd238175f9dd68ea1feaf0abbdb40d00ac8..e1c380b64c3a5687e598433768d4b5247c8c8fb2 100644
--- a/pkgs/development/python-modules/python-engineio/default.nix
+++ b/pkgs/development/python-modules/python-engineio/default.nix
@@ -13,13 +13,13 @@
buildPythonPackage rec {
pname = "python-engineio";
- version = "3.9.3";
+ version = "3.10.0";
src = fetchFromGitHub {
owner = "miguelgrinberg";
repo = "python-engineio";
rev = "v${version}";
- sha256 = "0rwlj12d37dpw6y3bdn6rxv68xnd9ykj4fr3ly0fa143xci35d9y";
+ sha256 = "1495r55177c38wq88pb28l50dfd4213iyxwq1k5rmsgp66vww09s";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/python-gitlab/default.nix b/pkgs/development/python-modules/python-gitlab/default.nix
index def0a2c0adb09e4c7f0ceba24b7010376b2d474d..4858ef8f8a6f0ad2817e9158a6e44d6817902dcd 100644
--- a/pkgs/development/python-modules/python-gitlab/default.nix
+++ b/pkgs/development/python-modules/python-gitlab/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "python-gitlab";
- version = "1.12.1";
+ version = "1.13.0";
src = fetchPypi {
inherit pname version;
- sha256 = "984e110c1f76fd939652c30ce3101267a7064e34417cbfc4687e6106d4db54ec";
+ sha256 = "125zimbdprfx2j90dp19hyh60lzj11264bm494awc585pr6v9d3k";
};
propagatedBuildInputs = [ requests six ];
diff --git a/pkgs/development/python-modules/python-periphery/default.nix b/pkgs/development/python-modules/python-periphery/default.nix
index 38642f066d776f89c0c1a2d1ed9955f85be6f0fe..4d10c985092b82863c1ec7bb1bc2bc88c91b82ab 100644
--- a/pkgs/development/python-modules/python-periphery/default.nix
+++ b/pkgs/development/python-modules/python-periphery/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "python-periphery";
- version = "1.1.2";
+ version = "2.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "1bhzkzjvz6zb6rc5zmvgqfszrcyh64v1hay7m1m5dn083gaznyk9";
+ sha256 = "1arsibmc19iyzr70lqfrkq0fk6gd6imm3zxa7zxv93b6lwl5bw1d";
};
# Some tests require physical probing and additional physical setup
diff --git a/pkgs/development/python-modules/python-stdnum/default.nix b/pkgs/development/python-modules/python-stdnum/default.nix
index 06577249a02da7c03e6ba598a760a5e8425b94e4..556be12872b5e775124abd3b18faf3bf34ed2bff 100644
--- a/pkgs/development/python-modules/python-stdnum/default.nix
+++ b/pkgs/development/python-modules/python-stdnum/default.nix
@@ -1,11 +1,11 @@
{ lib, fetchPypi, buildPythonPackage, nose }:
buildPythonPackage rec {
- version = "1.11";
+ version = "1.12";
pname = "python-stdnum";
src = fetchPypi {
inherit pname version;
- sha256 = "d5f0af1bee9ddd9a20b398b46ce062dbd4d41fcc9646940f2667256a44df3854";
+ sha256 = "19fb5asv0ngnbpiz1bqzq2jhgn845kv9hjcjajsgzgfp2k24f4sc";
};
checkInputs = [ nose ];
diff --git a/pkgs/development/python-modules/pyzmq/default.nix b/pkgs/development/python-modules/pyzmq/default.nix
index bb9aeaf32017f5f8de89cd09a1c93813ba8d2f53..f1ecdf7c4f4ff7393eea6a7efc8cbfd4e3396940 100644
--- a/pkgs/development/python-modules/pyzmq/default.nix
+++ b/pkgs/development/python-modules/pyzmq/default.nix
@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "pyzmq";
- version = "18.1.0";
+ version = "18.1.1";
src = fetchPypi {
inherit pname version;
- sha256 = "93f44739db69234c013a16990e43db1aa0af3cf5a4b8b377d028ff24515fbeb3";
+ sha256 = "8c69a6cbfa94da29a34f6b16193e7c15f5d3220cb772d6d17425ff3faa063a6d";
};
checkInputs = [ pytest tornado ];
diff --git a/pkgs/development/python-modules/rasterio/default.nix b/pkgs/development/python-modules/rasterio/default.nix
index 42b03849283b54d72680133f39b197fbd7c952f9..5da97c964c1ae59d56accf3f63f7fc56f5fc453c 100644
--- a/pkgs/development/python-modules/rasterio/default.nix
+++ b/pkgs/development/python-modules/rasterio/default.nix
@@ -6,14 +6,14 @@
buildPythonPackage rec {
pname = "rasterio";
- version = "1.1.0";
+ version = "1.1.1";
# Pypi doesn't ship the tests, so we fetch directly from GitHub
src = fetchFromGitHub {
owner = "mapbox";
repo = "rasterio";
rev = version;
- sha256 = "0xa9jazsgsf7is4dbf2bbnfga8q8nmqy0qq4i7jj3riiccwlm6xw";
+ sha256 = "1d0y16c5da252nj3pbdjwbzmd5kmh533s8jwlvg3aappa7h7qc1s";
};
checkInputs = [ boto3 pytest pytestcov packaging hypothesis ] ++ lib.optional (!isPy3k) mock;
diff --git a/pkgs/development/python-modules/readthedocs-sphinx-ext/default.nix b/pkgs/development/python-modules/readthedocs-sphinx-ext/default.nix
index 8b3487a98c605dfcc90e21c5ebfbfc6c71359e64..948e523cb7e4747f0f67b6e48a288fcfd0a4dd19 100644
--- a/pkgs/development/python-modules/readthedocs-sphinx-ext/default.nix
+++ b/pkgs/development/python-modules/readthedocs-sphinx-ext/default.nix
@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "readthedocs-sphinx-ext";
- version = "1.0.0";
+ version = "1.0.1";
src = fetchPypi {
inherit pname version;
- sha256 = "cc94753be6b2db997e3291046b39e49d578f6441fd75159db22a51a29d2cf1fc";
+ sha256 = "c920d8129752ee3f339c8cf3dfeba800a25730249d6ab43dc9b3c384312d1d32";
};
propagatedBuildInputs = [ requests ];
diff --git a/pkgs/development/python-modules/rpy2/2.nix b/pkgs/development/python-modules/rpy2/2.nix
new file mode 100644
index 0000000000000000000000000000000000000000..aef184d4afc25509f824747cc19ccb47ce8fb747
--- /dev/null
+++ b/pkgs/development/python-modules/rpy2/2.nix
@@ -0,0 +1,108 @@
+{ lib
+, python
+, buildPythonPackage
+, fetchPypi
+, isPyPy
+, isPy27
+, readline
+, R
+, rWrapper
+, rPackages
+, pcre
+, lzma
+, bzip2
+, zlib
+, icu
+, singledispatch
+, six
+, jinja2
+, pytz
+, numpy
+, pytest
+, mock
+, extraRPackages ? []
+}:
+
+buildPythonPackage rec {
+ version = "2.8.6"; # python2 support dropped in 2.9.x
+ pname = "rpy2";
+ disabled = isPyPy;
+ src = fetchPypi {
+ inherit version pname;
+ sha256 = "162zki5c1apgv6qbafi7n66y4hgpgp43xag7q75qb6kv99ri6k80";
+ };
+ buildInputs = [
+ readline
+ R
+ pcre
+ lzma
+ bzip2
+ zlib
+ icu
+ ] ++ (with rPackages; [
+ # packages expected by the test framework
+ ggplot2
+ dplyr
+ RSQLite
+ broom
+ DBI
+ dbplyr
+ hexbin
+ lme4
+ tidyr
+
+ # is in upstream's `requires` although it shouldn't be -- this is easier than patching it away
+ pytest
+ ]) ++ extraRPackages ++ rWrapper.recommendedPackages;
+
+ nativeBuildInputs = [
+ R # needed at setup time to detect R_HOME (alternatively set R_HOME explicitly)
+ ];
+
+ patches = [
+ # R_LIBS_SITE is used by the nix r package to point to the installed R libraries.
+ # This patch sets R_LIBS_SITE when rpy2 is imported.
+ ./r-libs-site.patch
+ ];
+ postPatch = ''
+ substituteInPlace ${ if isPy27 then "rpy/rinterface/__init__.py" else "rpy2/rinterface_lib/embedded.py" } --replace '@NIX_R_LIBS_SITE@' "$R_LIBS_SITE"
+ '';
+
+ doPatchelf = false; # fails because of "missing filename"
+ patchelfPhase = "";
+
+ propagatedBuildInputs = [
+ singledispatch
+ six
+ jinja2
+ pytz
+ numpy
+ ];
+
+ checkInputs = [
+ pytest
+ mock
+ ];
+ # One remaining test failure caused by different unicode encoding.
+ # https://bitbucket.org/rpy2/rpy2/issues/488
+ doCheck = false;
+ checkPhase = ''
+ ${python.interpreter} -m 'rpy2'
+ '';
+
+ # For some reason libreadline.so is not found. Curiously `ldd _rinterface.so | grep readline` shows two readline entries:
+ # libreadline.so.6 => not found
+ # libreadline.so.6 => /nix/store/z2zhmrg6jcrn5iq2779mav0nnq4vm2q6-readline-6.3p08/lib/libreadline.so.6 (0x00007f333ac43000)
+ # There must be a better way to fix this, but I don't know it.
+ postFixup = ''
+ patchelf --add-needed ${readline}/lib/libreadline.so "$out/${python.sitePackages}/rpy2/rinterface/"_rinterface*.so
+ '';
+
+ meta = {
+ homepage = http://rpy.sourceforge.net/rpy2;
+ description = "Python interface to R";
+ license = lib.licenses.gpl2Plus;
+ platforms = lib.platforms.unix;
+ maintainers = with lib.maintainers; [ joelmo ];
+ };
+ }
diff --git a/pkgs/development/python-modules/rpy2/default.nix b/pkgs/development/python-modules/rpy2/default.nix
index 1b4ab4d40db95f46ba77b2881b24246d32c27383..bc4bc0bcb5b88f622e6ed8e089cc5dbbcdc281ee 100644
--- a/pkgs/development/python-modules/rpy2/default.nix
+++ b/pkgs/development/python-modules/rpy2/default.nix
@@ -3,8 +3,6 @@
, buildPythonPackage
, fetchPypi
, isPyPy
-, isPy27
-, readline
, R
, rWrapper
, rPackages
@@ -13,38 +11,38 @@
, bzip2
, zlib
, icu
-, singledispatch
-, six
+, ipython
, jinja2
, pytz
+, pandas
, numpy
+, cffi
+, tzlocal
+, simplegeneric
, pytest
-, mock
, extraRPackages ? []
}:
buildPythonPackage rec {
- version = if isPy27 then
- "2.8.6" # python2 support dropped in 2.9.x
- else
- "2.9.5";
+ version = "3.2.2";
pname = "rpy2";
+
disabled = isPyPy;
src = fetchPypi {
inherit version pname;
- sha256 = if isPy27 then
- "162zki5c1apgv6qbafi7n66y4hgpgp43xag7q75qb6kv99ri6k80" # 2.8.x
- else
- "1nrj8pgyxrwrfdrxzb4j3z1adjwjx1mr8d1n5cmrz4nhlzy8w7xr"; # 2.9.x
+ sha256 = "0b3jpn9x7m2pccriyzgfsdb68qp6nq4ffhvjy1q2ar8wdxvmf5xp";
};
+
buildInputs = [
- readline
R
pcre
lzma
bzip2
zlib
icu
+
+ # is in the upstream `requires` although it shouldn't be -- this is easier than patching it away
+ pytest
] ++ (with rPackages; [
# packages expected by the test framework
ggplot2
@@ -58,6 +56,10 @@ buildPythonPackage rec {
tidyr
]) ++ extraRPackages ++ rWrapper.recommendedPackages;
+ checkPhase = ''
+ pytest
+ '';
+
nativeBuildInputs = [
R # needed at setup time to detect R_HOME (alternatively set R_HOME explicitly)
];
@@ -65,38 +67,26 @@ buildPythonPackage rec {
patches = [
# R_LIBS_SITE is used by the nix r package to point to the installed R libraries.
# This patch sets R_LIBS_SITE when rpy2 is imported.
- ./r-libs-site.patch
+ ./rpy2-3.x-r-libs-site.patch
];
postPatch = ''
- substituteInPlace rpy/rinterface/__init__.py --replace '@NIX_R_LIBS_SITE@' "$R_LIBS_SITE"
+ substituteInPlace 'rpy2/rinterface_lib/embedded.py' --replace '@NIX_R_LIBS_SITE@' "$R_LIBS_SITE"
'';
propagatedBuildInputs = [
- singledispatch
- six
+ ipython
jinja2
pytz
+ pandas
numpy
+ cffi
+ tzlocal
+ simplegeneric
];
checkInputs = [
pytest
- mock
];
- # One remaining test failure caused by different unicode encoding.
- # https://bitbucket.org/rpy2/rpy2/issues/488
- doCheck = false;
- checkPhase = ''
- ${python.interpreter} -m 'rpy2.tests'
- '';
-
- # For some reason libreadline.so is not found. Curiously `ldd _rinterface.so | grep readline` shows two readline entries:
- # libreadline.so.6 => not found
- # libreadline.so.6 => /nix/store/z2zhmrg6jcrn5iq2779mav0nnq4vm2q6-readline-6.3p08/lib/libreadline.so.6 (0x00007f333ac43000)
- # There must be a better way to fix this, but I don't know it.
- postFixup = ''
- patchelf --add-needed ${readline}/lib/libreadline.so "$out/${python.sitePackages}/rpy2/rinterface/"_rinterface*.so
- '';
meta = {
homepage = http://rpy.sourceforge.net/rpy2;
diff --git a/pkgs/development/python-modules/rpy2/rpy2-3.x-r-libs-site.patch b/pkgs/development/python-modules/rpy2/rpy2-3.x-r-libs-site.patch
new file mode 100644
index 0000000000000000000000000000000000000000..177e4f9a83d13cfa1fc80ab4e49ad79e67dd7030
--- /dev/null
+++ b/pkgs/development/python-modules/rpy2/rpy2-3.x-r-libs-site.patch
@@ -0,0 +1,21 @@
+diff --git a/rpy2/rinterface_lib/embedded.py b/rpy2/rinterface_lib/embedded.py
+index cc32b6d..3969ad0 100644
+--- a/rpy2/rinterface_lib/embedded.py
++++ b/rpy2/rinterface_lib/embedded.py
+@@ -113,6 +113,16 @@ def _initr(interactive: bool = True,
+ if isinitialized():
+ return None
+ os.environ['R_HOME'] = openrlib.R_HOME
++
++ # path to libraries
++ existing = os.environ.get('R_LIBS_SITE')
++ if existing is not None:
++ prefix = existing + ':'
++ else:
++ prefix = ''
++ additional = '@NIX_R_LIBS_SITE@'
++ os.environ['R_LIBS_SITE'] = prefix + additional
++
+ options_c = [ffi.new('char[]', o.encode('ASCII')) for o in _options]
+ n_options = len(options_c)
+ n_options_c = ffi.cast('int', n_options)
diff --git a/pkgs/development/python-modules/runway-python/default.nix b/pkgs/development/python-modules/runway-python/default.nix
index 62e0d2f0bebab708bd4e25be0dba222ebc1da1a6..3c893a9a227ac14321ee6a128b67f90045c9185a 100644
--- a/pkgs/development/python-modules/runway-python/default.nix
+++ b/pkgs/development/python-modules/runway-python/default.nix
@@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "runway-python";
- version = "0.5.1";
+ version = "0.5.3";
src = fetchPypi {
inherit pname version;
- sha256 = "00cf6fa9ea3b6a195e9eca96216a9d206b6884624d0214bd776f8654cd5e8fea";
+ sha256 = "30046ced74b5502eca604b1ae766fd3daa1b5ed6379fbe1210730710c752d4f6";
};
propagatedBuildInputs = [ flask flask-cors numpy pillow gevent wget six colorcet ];
diff --git a/pkgs/development/python-modules/secure/default.nix b/pkgs/development/python-modules/secure/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..6d2f2871ec2d6f1e0454e082547e239842be9bca
--- /dev/null
+++ b/pkgs/development/python-modules/secure/default.nix
@@ -0,0 +1,30 @@
+{ lib, buildPythonPackage, fetchFromGitHub
+, maya
+, requests
+}:
+
+buildPythonPackage rec {
+ version = "0.2.1";
+ pname = "secure";
+
+ src = fetchFromGitHub {
+ owner = "typeerror";
+ repo = "secure.py";
+ rev = "v${version}";
+ sha256 = "1nbxwi0zccrha6js14ibd596kdi1wpqr7jgs442mqclw4b3f77q5";
+ };
+
+ propagatedBuildInputs = [ maya requests ];
+
+ # no tests in release
+ doCheck = false;
+
+ pythonImportsCheck = [ "secure" ];
+
+ meta = with lib; {
+ description = "Adds optional security headers and cookie attributes for Python web frameworks";
+ homepage = "https://github.com/TypeError/secure.py";
+ license = licenses.mit;
+ maintainers = with maintainers; [ jonringer ];
+ };
+}
diff --git a/pkgs/development/python-modules/send2trash/default.nix b/pkgs/development/python-modules/send2trash/default.nix
index 35115a45716e141395ccc4c107b895a6b97c77f9..3809c0418e4caeeaeb17168517ce554ab54dd425 100644
--- a/pkgs/development/python-modules/send2trash/default.nix
+++ b/pkgs/development/python-modules/send2trash/default.nix
@@ -1,15 +1,12 @@
{ stdenv
-, lib
, buildPythonPackage
, fetchFromGitHub
, pytest
-, configparser
-, isPy3k
}:
buildPythonPackage rec {
pname = "Send2Trash";
- version = "1.4.2";
+ version = "1.5.0";
src = fetchFromGitHub {
owner = "hsoft";
@@ -19,10 +16,10 @@ buildPythonPackage rec {
};
doCheck = !stdenv.isDarwin;
- checkPhase = "HOME=. py.test";
- checkInputs = [ pytest ] ++ lib.optional (!isPy3k) configparser;
+ checkPhase = "HOME=$TMPDIR pytest";
+ checkInputs = [ pytest ];
- meta = with lib; {
+ meta = with stdenv.lib; {
description = "Send file to trash natively under macOS, Windows and Linux";
homepage = https://github.com/hsoft/send2trash;
license = licenses.bsd3;
diff --git a/pkgs/development/python-modules/setuptools/default.nix b/pkgs/development/python-modules/setuptools/default.nix
index 9254e53d1428628529de05809fb58de5ef016c7d..ae39271a4b00702981ee2ca0834317c524b150eb 100644
--- a/pkgs/development/python-modules/setuptools/default.nix
+++ b/pkgs/development/python-modules/setuptools/default.nix
@@ -13,7 +13,7 @@
let
pname = "setuptools";
- version = "41.4.0";
+ version = "41.6.0";
# Create an sdist of setuptools
sdist = stdenv.mkDerivation rec {
@@ -23,7 +23,7 @@ let
owner = "pypa";
repo = pname;
rev = "v${version}";
- sha256 = "0asxfnsi56r81lm48ynqbfkmm3kvw2jwrlf2l9azn5w6xm30jvp5";
+ sha256 = "0j7bfxq9fwa55ijzw8zn9aa2z2zx4lw2n4jbn1662pjg7v62knv1";
name = "${pname}-${version}-source";
};
diff --git a/pkgs/development/python-modules/shodan/default.nix b/pkgs/development/python-modules/shodan/default.nix
index 7202b3cf70e2540fdd871d9789d1fd1d69642a7c..2e0af01fef0763646f1344d686a2d64c73549b48 100644
--- a/pkgs/development/python-modules/shodan/default.nix
+++ b/pkgs/development/python-modules/shodan/default.nix
@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "shodan";
- version = "1.19.0";
+ version = "1.19.1";
src = fetchPypi {
inherit pname version;
- sha256 = "1i4zrzamvgy3g117a2x66gyi7pzh27slc2w9pqysc0ldfcibi2wx";
+ sha256 = "76b8a3ba577a62799e3ea86410aea54e1f403ef6efbf681a3f38baa2bf4e1c58";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/slicedimage/default.nix b/pkgs/development/python-modules/slicedimage/default.nix
index e121013c150f86b4b5ef53ebc9326f16f681e8e6..edc21e3292df4a1189c1e64ddffb4d9c9ed65967 100644
--- a/pkgs/development/python-modules/slicedimage/default.nix
+++ b/pkgs/development/python-modules/slicedimage/default.nix
@@ -12,6 +12,7 @@
, six
, pytest
, isPy27
+, tifffile
}:
buildPythonPackage rec {
@@ -31,14 +32,16 @@ buildPythonPackage rec {
requests
scikitimage
six
+ tifffile
] ++ lib.optionals isPy27 [ pathlib enum34 ];
checkInputs = [
pytest
];
+ # ignore tests which require setup
checkPhase = ''
- pytest
+ pytest --ignore tests/io_
'';
meta = with lib; {
diff --git a/pkgs/development/python-modules/smart_open/default.nix b/pkgs/development/python-modules/smart_open/default.nix
index 325f59b1df2259d5f019e4724e2215d6d832cdb6..48cfcb132f094c40e80ff7c256f085023fc8ff79 100644
--- a/pkgs/development/python-modules/smart_open/default.nix
+++ b/pkgs/development/python-modules/smart_open/default.nix
@@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "smart_open";
- version = "1.8.4";
+ version = "1.9.0";
src = fetchPypi {
inherit pname version;
- sha256 = "1y845mfsswyvczknwh359xprgc3hk8r17qy1wdibpz6y6pq0g3kq";
+ sha256 = "0xmnp8ywakwg3y21gqdvjw8a4v42vaxfq6njqizzllm4c9g2nk76";
};
# nixpkgs version of moto is >=1.2.0, remove version pin to fix build
diff --git a/pkgs/development/python-modules/spacy/default.nix b/pkgs/development/python-modules/spacy/default.nix
index 23f2a6967da05d87be671c5c34db62ade0be6a71..e35ea517bf130ae8a9fcda739cf7e43683bbe6a4 100644
--- a/pkgs/development/python-modules/spacy/default.nix
+++ b/pkgs/development/python-modules/spacy/default.nix
@@ -21,16 +21,17 @@
, blis
, wasabi
, srsly
+, catalogue
, setuptools
}:
buildPythonPackage rec {
pname = "spacy";
- version = "2.2.2";
+ version = "2.2.3";
src = fetchPypi {
inherit pname version;
- sha256 = "193r7rrqxfj4jqzk4aqgbycficzmc606vkc4ffc46zs3myhlf6sa";
+ sha256 = "0shfjk6nhm6gzp5p88pz5k7bkg5dr3x9yvandkayqb2vsvkwj50x";
};
propagatedBuildInputs = [
@@ -51,6 +52,7 @@ buildPythonPackage rec {
blis
wasabi
srsly
+ catalogue
setuptools
] ++ lib.optional (pythonOlder "3.4") pathlib;
diff --git a/pkgs/development/python-modules/spglib/default.nix b/pkgs/development/python-modules/spglib/default.nix
index 73af5d7b00c6caf44fac40b3368a384fad5c4393..bad76f8cb93e283b00dddc345d6bfca090eb3590 100644
--- a/pkgs/development/python-modules/spglib/default.nix
+++ b/pkgs/development/python-modules/spglib/default.nix
@@ -2,22 +2,13 @@
buildPythonPackage rec {
pname = "spglib";
- version = "1.12.2.post0";
+ version = "1.14.1.post0";
src = fetchPypi {
inherit pname version;
- sha256 = "15b02b74c0f06179bc3650c43a710a5200abbba387c6eda3105bfd9236041443";
+ sha256 = "0kmllcch5p20ylxirqiqzls567jr2808rbld9i8f1kf0205al8qq";
};
- patches = [
- (fetchpatch {
- name = "fix-assertions.patch";
- url = https://github.com/atztogo/spglib/commit/d57070831585a6f02dec0a31d25b375ba347798c.patch;
- stripLen = 1;
- sha256 = "0crmkc498rbrawiy9zbl39qis2nmsbfr4s6kk6k3zhdy8z2ppxw7";
- })
- ];
-
propagatedBuildInputs = [ numpy ];
checkInputs = [ nose pyyaml ];
diff --git a/pkgs/development/python-modules/sqlalchemy/default.nix b/pkgs/development/python-modules/sqlalchemy/default.nix
index e9e14b7da4d80e635e743db3dce08ebcb93f73ae..e77f2e0e7b2d547635b2c20f3dbbfc25701f09d5 100644
--- a/pkgs/development/python-modules/sqlalchemy/default.nix
+++ b/pkgs/development/python-modules/sqlalchemy/default.nix
@@ -1,4 +1,4 @@
-{ lib, fetchPypi, buildPythonPackage, isPy3k, isPy35
+{ stdenv, lib, fetchPypi, buildPythonPackage, isPy3k, isPy35
, mock
, pysqlite
, fetchpatch
@@ -25,7 +25,9 @@ buildPythonPackage rec {
dontUseSetuptoolsCheck = true;
- disabledTests = lib.optionals isPy35 [ "exception_persistent_flush_py3k "];
+ # disable mem-usage tests on mac, has trouble serializing pickle files
+ disabledTests = lib.optionals isPy35 [ "exception_persistent_flush_py3k "]
+ ++ lib.optionals stdenv.isDarwin [ "MemUsageWBackendTest" "MemUsageTest" ];
patches = [
# Two patches for sqlite 3.30 compatibility.
diff --git a/pkgs/development/python-modules/sshtunnel/default.nix b/pkgs/development/python-modules/sshtunnel/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..ff9d77bc78205111587b560db820c13779f049ee
--- /dev/null
+++ b/pkgs/development/python-modules/sshtunnel/default.nix
@@ -0,0 +1,31 @@
+{ lib, buildPythonPackage, fetchPypi
+, paramiko
+, pytest
+, mock
+}:
+
+buildPythonPackage rec {
+ version = "0.1.5";
+ pname = "sshtunnel";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "0jcjppp6mdfsqrbfc3ddfxg1ybgvkjv7ri7azwv3j778m36zs4y8";
+ };
+
+ propagatedBuildInputs = [ paramiko ];
+
+ checkInputs = [ pytest mock ];
+
+ # disable impure tests
+ checkPhase = ''
+ pytest -k 'not connect_via_proxy and not read_ssh_config'
+ '';
+
+ meta = with lib; {
+ description = "Pure python SSH tunnels";
+ homepage = "https://github.com/pahaz/sshtunnel";
+ license = licenses.mit;
+ maintainers = with maintainers; [ jonringer ];
+ };
+}
diff --git a/pkgs/development/python-modules/starfish/default.nix b/pkgs/development/python-modules/starfish/default.nix
index 7cad8346a6fa2023d373079fdef766b8e1c877ee..25ce5a0f651593030eca8822ac51e1c1b7b9d326 100644
--- a/pkgs/development/python-modules/starfish/default.nix
+++ b/pkgs/development/python-modules/starfish/default.nix
@@ -26,11 +26,11 @@
buildPythonPackage rec {
pname = "starfish";
- version = "0.1.8";
+ version = "0.1.9";
src = fetchPypi {
inherit pname version;
- sha256 = "6924404b9ce7c55b427bebc5712656b87d17b5114e9fb610f2821865bd8d70f4";
+ sha256 = "02002b908572fcd2c7471475936a6c375f143d15df871399ce86ced6d7aef865";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/sunpy/default.nix b/pkgs/development/python-modules/sunpy/default.nix
index 252eafec465fca44154245f34a67e978c6207e18..097322524372594fb52d26157da47f6d589cda8f 100644
--- a/pkgs/development/python-modules/sunpy/default.nix
+++ b/pkgs/development/python-modules/sunpy/default.nix
@@ -1,4 +1,5 @@
-{ lib
+{ stdenv
+, lib
, buildPythonPackage
, fetchFromGitHub
, numpy
@@ -26,14 +27,14 @@
buildPythonPackage rec {
pname = "sunpy";
- version = "1.0.2";
+ version = "1.0.6";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "sunpy";
repo = pname;
rev = "v${version}";
- sha256 = "0dmfzxxsjjax9wf2ljyl4z07pxbshrj828zi5qnsa9rgk4148q9x";
+ sha256 = "0j2yfhfxgi95rig8cfp9lvszb7694gq90jvs0xrb472hwnzgh2sk";
};
propagatedBuildInputs = [
@@ -67,8 +68,11 @@ buildPythonPackage rec {
export HOME=$(mktemp -d)
'';
+ # darwin has write permission issues
+ doCheck = stdenv.isLinux;
+ # ignore documentation tests
checkPhase = ''
- pytest sunpy -k "not test_rotation"
+ pytest sunpy -k 'not rst'
'';
meta = with lib; {
diff --git a/pkgs/development/python-modules/tables/3.5.nix b/pkgs/development/python-modules/tables/3.5.nix
index b27584d25d025fd7d2c719b9ac94a8bf33e4ad56..4cca72aa313a42a6be22df667a29147ca10a8810 100644
--- a/pkgs/development/python-modules/tables/3.5.nix
+++ b/pkgs/development/python-modules/tables/3.5.nix
@@ -4,12 +4,12 @@
with stdenv.lib;
buildPythonPackage rec {
- version = "3.6.1";
+ version = "3.5.2";
pname = "tables";
src = fetchPypi {
inherit pname version;
- sha256 = "49a972b8a7c27a8a173aeb05f67acb45fe608b64cd8e9fa667c0962a60b71b49";
+ sha256 = "1hikrki0hx94ass31pn0jyz9iy0zhnkjacfk86m21cxsc8if685j";
};
buildInputs = [ hdf5 cython bzip2 lzo c-blosc ];
diff --git a/pkgs/development/python-modules/tabulate/default.nix b/pkgs/development/python-modules/tabulate/default.nix
index 956a10b6b047d33adb445b2a9988911e6abe19d7..cda898d2725dfeee3c059b38b827cd8fb2511e9c 100644
--- a/pkgs/development/python-modules/tabulate/default.nix
+++ b/pkgs/development/python-modules/tabulate/default.nix
@@ -5,12 +5,12 @@
}:
buildPythonPackage rec {
- version = "0.8.5";
+ version = "0.8.6";
pname = "tabulate";
src = fetchPypi {
inherit pname version;
- sha256 = "d0097023658d4dea848d6ae73af84532d1e86617ac0925d1adf1dd903985dac3";
+ sha256 = "5470cc6687a091c7042cee89b2946d9235fe9f6d49c193a4ae2ac7bf386737c8";
};
checkInputs = [ nose ];
diff --git a/pkgs/development/python-modules/tasklib/default.nix b/pkgs/development/python-modules/tasklib/default.nix
index 73b92ea6d4b6b880d1e61c37daadd1e156e1c64a..197c98def3ab3c6371e81806b7fbaf89ee785c06 100644
--- a/pkgs/development/python-modules/tasklib/default.nix
+++ b/pkgs/development/python-modules/tasklib/default.nix
@@ -8,11 +8,11 @@ wsl_stub = writeShellScriptBin "wsl" "true";
in buildPythonPackage rec {
pname = "tasklib";
- version = "1.2.1";
+ version = "1.3.0";
src = fetchPypi {
inherit pname version;
- sha256 = "3964fb7e87f86dc5e2708addb67e69d0932534991991b6bae2e37a0c2059273f";
+ sha256 = "19yra86g3wz2xgk22dnrjjh3gla969vb8jrps5rf0cdmsm9qqisv";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/terminado/default.nix b/pkgs/development/python-modules/terminado/default.nix
index dbcc5935e5e2bcdb9524cddf00913b1a5913b21d..af1c4d53e13a862caa76dc52c1cd49b1aced821d 100644
--- a/pkgs/development/python-modules/terminado/default.nix
+++ b/pkgs/development/python-modules/terminado/default.nix
@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "terminado";
- version = "0.8.2";
+ version = "0.8.3";
src = fetchPypi {
inherit pname version;
- sha256 = "de08e141f83c3a0798b050ecb097ab6259c3f0331b2f7b7750c9075ced2c20c2";
+ sha256 = "4804a774f802306a7d9af7322193c5390f1da0abb429e082a10ef1d46e6fb2c2";
};
propagatedBuildInputs = [ ptyprocess tornado ];
diff --git a/pkgs/development/python-modules/tesserocr/default.nix b/pkgs/development/python-modules/tesserocr/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..2d4f9d10a8cc0a82874b5e1cd18cae93f40da06d
--- /dev/null
+++ b/pkgs/development/python-modules/tesserocr/default.nix
@@ -0,0 +1,34 @@
+{
+ buildPythonPackage,
+ fetchPypi,
+ lib,
+ # build dependencies
+ cython,
+ leptonica,
+ pkg-config,
+ tesseract,
+ # extra python packages
+ pillow
+}:
+
+buildPythonPackage rec {
+ pname = "tesserocr";
+ version = "2.5.0";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "0nj33mwvppacy6p5mqk9a4x26hx9ailshgad84ks60wyms6rgjiv";
+ };
+
+ nativeBuildInputs = [ cython pkg-config ];
+ buildInputs = [ leptonica tesseract ];
+ propagatedBuildInputs = [ pillow ];
+
+ meta = with lib; {
+ description = "A simple, Pillow-friendly, wrapper around the tesseract-ocr API for Optical Character Recognition (OCR)";
+ homepage = "https://github.com/sirfz/tesserocr";
+ license = licenses.mit;
+ maintainers = with maintainers; [ mtrsk ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/development/python-modules/testfixtures/default.nix b/pkgs/development/python-modules/testfixtures/default.nix
index f429f72cc01795d06603becd7cc90435b8e33fd0..caad4940904393f0910be7a2fd0ecc6aeebdb752 100644
--- a/pkgs/development/python-modules/testfixtures/default.nix
+++ b/pkgs/development/python-modules/testfixtures/default.nix
@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "testfixtures";
- version = "6.10.1";
+ version = "6.10.2";
src = fetchPypi {
inherit pname version;
- sha256 = "abbca7ed381d34a77699c6cb68be67919a1e7f5cf8728b57396145417fa34110";
+ sha256 = "c0eb9d20ce3b53e0cf543da7c46c263cc9792f13223def8b26edb6180ecdc895";
};
checkInputs = [ pytest mock sybil zope_component twisted ];
diff --git a/pkgs/development/python-modules/textwrap3/default.nix b/pkgs/development/python-modules/textwrap3/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..5b8e10db83ea7fd582165bd5481d8f56827c616d
--- /dev/null
+++ b/pkgs/development/python-modules/textwrap3/default.nix
@@ -0,0 +1,37 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, tox
+, pytest
+, coverage
+, pytestcov
+}:
+
+buildPythonPackage rec {
+ pname = "textwrap3";
+ version = "0.9.2";
+
+ src = fetchPypi {
+ inherit pname version;
+ extension = "zip";
+ sha256 = "5008eeebdb236f6303dcd68f18b856d355f6197511d952ba74bc75e40e0c3414";
+ };
+
+ checkInputs = [
+ tox
+ pytest
+ coverage
+ pytestcov
+ ];
+
+ checkPhase = ''
+ pytest
+ '';
+
+ meta = with lib; {
+ description = "Textwrap from Python 3.6 backport plus a few tweaks";
+ homepage = https://github.com/jonathaneunice/textwrap3;
+ license = licenses.psfl;
+ maintainers = [ maintainers.costrouc ];
+ };
+}
diff --git a/pkgs/development/python-modules/tiledb/default.nix b/pkgs/development/python-modules/tiledb/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..b8894f12c6a0b36a92c4857ec6ed3d2be4d5870e
--- /dev/null
+++ b/pkgs/development/python-modules/tiledb/default.nix
@@ -0,0 +1,73 @@
+{ lib
+, python
+, buildPythonPackage
+, fetchFromGitHub
+, cython
+, tiledb
+, numpy
+, wheel
+, isPy3k
+, setuptools_scm
+, psutil
+}:
+
+buildPythonPackage rec {
+ pname = "tiledb";
+ version = "0.5.0";
+ format = "setuptools";
+
+ src = fetchFromGitHub {
+ owner = "TileDB-Inc";
+ repo = "TileDB-Py";
+ rev = version;
+ sha256 = "1c9wl207c8jz0695gy8p6bxywyd1k7wmczcfl7s0hlbknliamvyx";
+ };
+
+ nativeBuildInputs = [
+ cython
+ setuptools_scm
+ ];
+
+ buildInputs = [
+ tiledb
+ ];
+
+ propagatedBuildInputs = [
+ numpy
+ wheel # No idea why but it is listed
+ ];
+
+ checkInputs = [
+ psutil
+ ];
+
+ TILEDB_PATH = tiledb;
+
+ SETUPTOOLS_SCM_PRETEND_VERSION = version;
+
+ disabled = !isPy3k; # Not bothering with python2 anymore
+
+ postPatch = ''
+ # Hardcode path to shared object
+ substituteInPlace tiledb/__init__.py --replace \
+ 'os.path.join(lib_dir, lib_name)' 'os.path.join("${tiledb}/lib", lib_name)'
+
+ # Disable failing test
+ substituteInPlace tiledb/tests/test_examples.py --replace \
+ "test_docs" "dont_test_docs"
+ '';
+
+ checkPhase = ''
+ pushd "$out"
+ ${python.interpreter} -m unittest tiledb.tests.all.suite_test
+ popd
+ '';
+
+ meta = with lib; {
+ description = "Python interface to the TileDB storage manager";
+ homepage = https://github.com/TileDB-Inc/TileDB-Py;
+ license = licenses.mit;
+ maintainers = with maintainers; [ fridh ];
+ };
+
+}
\ No newline at end of file
diff --git a/pkgs/development/python-modules/tinydb/default.nix b/pkgs/development/python-modules/tinydb/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..f4de29b5e6c9c78f99c77c65c5985987c10e3210
--- /dev/null
+++ b/pkgs/development/python-modules/tinydb/default.nix
@@ -0,0 +1,39 @@
+{ lib
+, buildPythonPackage
+, fetchFromGitHub
+, pytest
+, pytestcov
+, pytestrunner
+, pycodestyle
+, pyyaml
+}:
+
+buildPythonPackage rec {
+ pname = "tinydb";
+ version = "v3.14.1";
+
+ src = fetchFromGitHub {
+ owner = "msiemens";
+ repo = pname;
+ rev = version;
+ sha256 = "02idbvrm8j4mwsjfkzy11f4png19k307p53s4qa2ifzssysxpb96";
+ };
+
+ nativeBuildInputs = [
+ pytestrunner
+ ];
+
+ checkInputs = [
+ pytest
+ pytestcov
+ pycodestyle
+ pyyaml
+ ];
+
+ meta = with lib; {
+ description = "A lightweight document oriented database written in pure Python with no external dependencies";
+ homepage = "https://github.com/msiemens/tinydb";
+ license = licenses.asl20;
+ maintainers = with maintainers; [ marcus7070 ];
+ };
+}
diff --git a/pkgs/development/python-modules/tld/default.nix b/pkgs/development/python-modules/tld/default.nix
index 95c3756daded1d654614fb3c1b9a05ed36d8ec22..719ea78b7324b5ab298cf15e9260469d12152a40 100644
--- a/pkgs/development/python-modules/tld/default.nix
+++ b/pkgs/development/python-modules/tld/default.nix
@@ -2,11 +2,11 @@
python.pkgs.buildPythonPackage rec {
pname = "tld";
- version = "0.9.7";
+ version = "0.9.8";
src = fetchPypi {
inherit pname version;
- sha256 = "cef15360ec42547a583d49ef5246936b3ace424a95c00b59c09dcbe44b289961";
+ sha256 = "5963b22029e632a17bde87e35a19dc8c5b17266fb8c58e4d550d5593307e3a72";
};
propagatedBuildInputs = with python.pkgs; [ six ];
diff --git a/pkgs/development/python-modules/tox/default.nix b/pkgs/development/python-modules/tox/default.nix
index fdc2c9167a349a7640dfff3a2212b0a9bbe48e05..c24343b46953efd136ec4cf009ede278eb4b3a59 100644
--- a/pkgs/development/python-modules/tox/default.nix
+++ b/pkgs/development/python-modules/tox/default.nix
@@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "tox";
- version = "3.14.0";
+ version = "3.14.1";
buildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ packaging pluggy py six virtualenv toml filelock ];
@@ -22,7 +22,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "c4f6b319c20ba4913dbfe71ebfd14ff95d1853c4231493608182f66e566ecfe1";
+ sha256 = "bcfa3e40abc1e9b70607b56adfd976fe7dc8286ad56aab44e3151daca7d2d0d0";
};
meta = with lib; {
diff --git a/pkgs/development/python-modules/traits/default.nix b/pkgs/development/python-modules/traits/default.nix
index bcf205aa1d2da0df03ea0d7eb8c086fbc245f5dd..84aa1c5784e388d84eeb46a6d7fc41cab0fcbf64 100644
--- a/pkgs/development/python-modules/traits/default.nix
+++ b/pkgs/development/python-modules/traits/default.nix
@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "traits";
- version = "5.1.2";
+ version = "5.2.0";
src = fetchPypi {
inherit pname version;
- sha256 = "0a17qmpw0z9h7ybh5yxrghvkcf2q90vgxzbnv1n4i0fxhi7mjy3s";
+ sha256 = "1b71vp0l4523428aw098xw6rmkl8vlcy2aag40akijbyz1nnk541";
};
# Use pytest because its easier to discover tests
diff --git a/pkgs/development/python-modules/twilio/default.nix b/pkgs/development/python-modules/twilio/default.nix
index 95c58e20d91a019ed9147c5c0fc60db81577b783..9098d41bd69c6182910bf6e8fa9c918eadda0f0c 100644
--- a/pkgs/development/python-modules/twilio/default.nix
+++ b/pkgs/development/python-modules/twilio/default.nix
@@ -3,13 +3,13 @@
buildPythonPackage rec {
pname = "twilio";
- version = "6.32.0";
+ version = "6.33.1";
# tests not included in PyPi, so fetch from github instead
src = fetchFromGitHub {
owner = "twilio";
repo = "twilio-python";
rev = version;
- sha256 = "0by2qjzxv13k4lvy4mas0hf468xf98qbc2arc8fcy6aj7h8jaam8";
+ sha256 = "1k8hf4azgjzb4fifclzi8gj6v22368jk3y9f7f9qhq9ina7ilycj";
};
buildInputs = [ nose mock ];
diff --git a/pkgs/development/python-modules/twine/default.nix b/pkgs/development/python-modules/twine/default.nix
index a84ab273a4bfb54467cb72f67ff662d49da81a57..92288b6c774d8797fce6e5235964395ea88cdc68 100644
--- a/pkgs/development/python-modules/twine/default.nix
+++ b/pkgs/development/python-modules/twine/default.nix
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
+, pythonOlder
, pkginfo
, requests
, requests_toolbelt
@@ -12,6 +13,7 @@
buildPythonPackage rec {
pname = "twine";
version = "2.0.0";
+ disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
diff --git a/pkgs/development/python-modules/uncompyle6/default.nix b/pkgs/development/python-modules/uncompyle6/default.nix
index abc072b19b7f96bc7e0f3651f317472a66cd4ef4..d4e8d1505d68985869eeabeebbfb494a0c5b28f0 100644
--- a/pkgs/development/python-modules/uncompyle6/default.nix
+++ b/pkgs/development/python-modules/uncompyle6/default.nix
@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "uncompyle6";
- version = "3.5.0";
+ version = "3.5.1";
src = fetchPypi {
inherit pname version;
- sha256 = "4e6e86c05de588cbf5a2c35ddd080f23cd1770a1ad15c84dc1b2c78d65113af7";
+ sha256 = "af6aea84ca42c889986f8baf86ccb9e3faae5ac1eaef470d2317dfe4131708b3";
};
checkInputs = [ nose pytest hypothesis six ];
diff --git a/pkgs/development/python-modules/uproot/default.nix b/pkgs/development/python-modules/uproot/default.nix
index 6fd90fc3a18f1b4107703d9f953c09e573a48642..f98b34112427a76b575ae66085386b810a239c36 100644
--- a/pkgs/development/python-modules/uproot/default.nix
+++ b/pkgs/development/python-modules/uproot/default.nix
@@ -3,6 +3,7 @@
, backports_lzma
, cachetools
, lz4
+, pandas
, pytestrunner
, pytest
, pkgconfig
@@ -15,11 +16,11 @@
buildPythonPackage rec {
pname = "uproot";
- version = "3.10.10";
+ version = "3.10.12";
src = fetchPypi {
inherit pname version;
- sha256 = "2c780472c5c328d2e34508db1da399038653142572fc3d0b5777b2311edabd83";
+ sha256 = "34953903abe09bbab3ec1a9a4843b05c75b218daa6132c8275d871e88b6e3447";
};
nativeBuildInputs = [ pytestrunner ];
@@ -27,6 +28,7 @@ buildPythonPackage rec {
checkInputs = [
lz4
mock
+ pandas
pkgconfig
pytest
requests
diff --git a/pkgs/development/python-modules/urllib3/default.nix b/pkgs/development/python-modules/urllib3/default.nix
index 57d5c160ef099543101cd127f39df0dd32306e70..0c8c97925a7b2ee726335c9c126012196255532a 100644
--- a/pkgs/development/python-modules/urllib3/default.nix
+++ b/pkgs/development/python-modules/urllib3/default.nix
@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "urllib3";
- version = "1.25.6";
+ version = "1.25.7";
src = fetchPypi {
inherit pname version;
- sha256 = "9a107b99a5393caf59c7aa3c1249c16e6879447533d0887f4336dde834c7be86";
+ sha256 = "f3c5fd51747d450d4dcf6f923c81f78f811aab8205fda64b0aba34a4e48b0745";
};
outputs = [ "out" "dev" ];
diff --git a/pkgs/development/python-modules/vsts-cd-manager/default.nix b/pkgs/development/python-modules/vsts-cd-manager/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..5946fec05b75f365267e0ab9102f8a6433b0222d
--- /dev/null
+++ b/pkgs/development/python-modules/vsts-cd-manager/default.nix
@@ -0,0 +1,28 @@
+{ lib, buildPythonPackage, fetchPypi, isPy27
+, msrest
+, mock
+}:
+
+buildPythonPackage rec {
+ version = "1.0.2";
+ pname = "vsts-cd-manager";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "0ys4hrmjbxl4qr26qr3dhhs27yfwn1635vwjdqh1qgjmrmcr1c0b";
+ };
+
+ propagatedBuildInputs = [ msrest mock ];
+
+ # no tests included
+ doCheck = false;
+
+ pythonImportsCheck = [ "vsts_cd_manager" ];
+
+ meta = with lib; {
+ description = "Microsoft Azure API Management Client Library for Python";
+ homepage = "https://github.com/Azure/azure-sdk-for-python";
+ license = licenses.mit;
+ maintainers = with maintainers; [ jonringer ];
+ };
+}
diff --git a/pkgs/development/python-modules/wasabi/default.nix b/pkgs/development/python-modules/wasabi/default.nix
index 6cbb2aa48db6b0b20f9a074d684a4a761afc1539..28912f70471c14e333be29219b56cb88eec496a3 100644
--- a/pkgs/development/python-modules/wasabi/default.nix
+++ b/pkgs/development/python-modules/wasabi/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "wasabi";
- version = "0.3.0";
+ version = "0.4.0";
src = fetchPypi {
inherit pname version;
- sha256 = "0f18x27qrr29rgxyiy1k9b469i37n80h0x9vd9i22pyg8wxx67q5";
+ sha256 = "0w2jkgrf0x58v8x90v4nifbwcb87pp613vp3sld1fk2avn80imnw";
};
checkInputs = [
diff --git a/pkgs/development/python-modules/wxPython/4.0.nix b/pkgs/development/python-modules/wxPython/4.0.nix
index bac478561f74f8bf3da9bb21c89eccee1633a680..689a1336ef79f6de2eee7ce575e28483b9230ada 100644
--- a/pkgs/development/python-modules/wxPython/4.0.nix
+++ b/pkgs/development/python-modules/wxPython/4.0.nix
@@ -28,11 +28,11 @@
buildPythonPackage rec {
pname = "wxPython";
- version = "4.0.7.post1";
+ version = "4.0.7.post2";
src = fetchPypi {
inherit pname version;
- sha256 = "da43eaa2eea32c34a52531331b0a69bd791c237803a7c5df451509624766f7ca";
+ sha256 = "5a229e695b64f9864d30a5315e0c1e4ff5e02effede0a07f16e8d856737a0c4e";
};
doCheck = false;
diff --git a/pkgs/development/python-modules/xdis/default.nix b/pkgs/development/python-modules/xdis/default.nix
index d120f17780b20723d76c7f36312f0a3bdd9b63cf..533e8d8b577b579a9859bcd8f5187fc07333814c 100644
--- a/pkgs/development/python-modules/xdis/default.nix
+++ b/pkgs/development/python-modules/xdis/default.nix
@@ -6,14 +6,14 @@
buildPythonPackage rec {
pname = "xdis";
- version = "4.1.2";
+ version = "4.1.3";
disabled = isPy27;
src = fetchFromGitHub {
owner = "rocky";
repo = "python-xdis";
rev = version;
- sha256 = "0icqhafsnmcs6628cg3jjgq0d3x835nqmhljcz93yi457hfqd2lp";
+ sha256 = "0ixx9svyi0kw3z2i51cv1cyg4l5z8hy432kxgsvz20mr9a8z5c91";
};
checkInputs = [ pytest ];
diff --git a/pkgs/development/python-modules/xml2rfc/default.nix b/pkgs/development/python-modules/xml2rfc/default.nix
index ccb4d879be9bf129a1daba298351d2fe5db02bd0..1a54b8b4049c208a47228e1e8252b4ae356473ea 100644
--- a/pkgs/development/python-modules/xml2rfc/default.nix
+++ b/pkgs/development/python-modules/xml2rfc/default.nix
@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "xml2rfc";
- version = "2.34.0";
+ version = "2.35.0";
src = fetchPypi {
inherit pname version;
- sha256 = "7b9543edacc2f4fa12cea8b64ae8144afb493d7b2a0135494642f29592b5d272";
+ sha256 = "0jpg9rxxw28n66wzznlhzdgv7b7gd1crcffjhlw7lam93ils4ah5";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/xmlschema/default.nix b/pkgs/development/python-modules/xmlschema/default.nix
index bd5f9eb40b88b387c67b2ac4795840ebe5444a8a..19e2ed953288f27812da00571c8d9c1d4ad06f8c 100644
--- a/pkgs/development/python-modules/xmlschema/default.nix
+++ b/pkgs/development/python-modules/xmlschema/default.nix
@@ -4,14 +4,14 @@
}:
buildPythonPackage rec {
- version = "1.0.15";
+ version = "1.0.16";
pname = "xmlschema";
src = fetchFromGitHub {
owner = "sissaschool";
repo = "xmlschema";
rev = "v${version}";
- sha256 = "1s8ggvy2s7513cxcal3r37rn1bhpkxhq3hs5m9pgvmrysxjdz8lb";
+ sha256 = "0mxvpafkaxib3qiz3zl7fbsgjaq9hbx4kb0w646azwhg7n7nxghj";
};
propagatedBuildInputs = [ elementpath ];
diff --git a/pkgs/development/python-modules/xxhash/default.nix b/pkgs/development/python-modules/xxhash/default.nix
index a1d6eaea6003693a1f962252eb8305dd974773c7..66f31441ec5673d82a2cfde231bd8cb3581fc266 100644
--- a/pkgs/development/python-modules/xxhash/default.nix
+++ b/pkgs/development/python-modules/xxhash/default.nix
@@ -4,12 +4,12 @@
}:
buildPythonPackage rec {
- version = "1.4.2";
+ version = "1.4.3";
pname = "xxhash";
src = fetchPypi {
inherit pname version;
- sha256 = "82cdc67b41da904aa2921107e9877814079d9b067a99f19852b5d85e8a40555d";
+ sha256 = "8b6b1afe7731d7d9cbb0398b4a811ebb5e6be5c174f72c68abf81f919a435de9";
};
meta = with stdenv.lib; {
diff --git a/pkgs/development/python-modules/yamllint/default.nix b/pkgs/development/python-modules/yamllint/default.nix
index 0406f6fe5a0cf0ebb2a58cf6da441f1183f56a8d..1b83c8987a1292d7685ba7627315ea6faff0255c 100644
--- a/pkgs/development/python-modules/yamllint/default.nix
+++ b/pkgs/development/python-modules/yamllint/default.nix
@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "yamllint";
- version = "1.18.0";
+ version = "1.19.0";
src = fetchPypi {
inherit pname version;
- sha256 = "076hqf189ww95n9vcbkkn8an42nx79cy8pf2qnl251yjncsvnbfl";
+ sha256 = "05fg2i27bq40z83avmz3h91i206dx5k6nyyvpa5vja54sqg14q02";
};
checkInputs = [ nose ];
diff --git a/pkgs/development/python-modules/zodbpickle/default.nix b/pkgs/development/python-modules/zodbpickle/default.nix
index 1e577fc487cabc16363ef0f072ca4cf7a9f46934..b24b5853876ae4d4836873504427a16c0fdfa35c 100644
--- a/pkgs/development/python-modules/zodbpickle/default.nix
+++ b/pkgs/development/python-modules/zodbpickle/default.nix
@@ -5,12 +5,12 @@
buildPythonPackage rec {
pname = "zodbpickle";
- version = "1.0.4";
+ version = "2.0.0";
disabled = isPyPy; # https://github.com/zopefoundation/zodbpickle/issues/10
src = fetchPypi {
inherit pname version;
- sha256 = "0n4hng2zil1j8sbz0b83pxx8ndlh34h2mnmli3bqjmnrbry5zlr5";
+ sha256 = "0fb7c7pnz86pcs6qqwlyw72vnijc04ns2h1zfrm0h7yl8q7r7ng0";
};
# fails..
diff --git a/pkgs/development/python-modules/zope_proxy/default.nix b/pkgs/development/python-modules/zope_proxy/default.nix
index e08973ecdeab53a60e6066ea94fa829f36186632..537fc1465f231dd6436b4637b060d7205a87a6f1 100644
--- a/pkgs/development/python-modules/zope_proxy/default.nix
+++ b/pkgs/development/python-modules/zope_proxy/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "zope.proxy";
- version = "4.3.2";
+ version = "4.3.3";
src = fetchPypi {
inherit pname version;
- sha256 = "ab6d6975d9c51c13cac828ff03168de21fb562b0664c59bcdc4a4b10f39a5b17";
+ sha256 = "dac4279aa05055d3897ab5e5ee5a7b39db121f91df65a530f8b1ac7f9bd93119";
};
propagatedBuildInputs = [ zope_interface ];
diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix
index cd78084d60be8fbb3e71377344bb4d998550a273..f1a9a9e0e4123d157ff6e14f0e94e12d6dfe0fb0 100644
--- a/pkgs/development/r-modules/default.nix
+++ b/pkgs/development/r-modules/default.nix
@@ -311,7 +311,7 @@ let
rgdal = [ pkgs.proj.dev pkgs.gdal ];
rgeos = [ pkgs.geos ];
rggobi = [ pkgs.ggobi pkgs.gtk2.dev pkgs.libxml2.dev ];
- rgl = [ pkgs.libGLU_combined pkgs.xlibsWrapper ];
+ rgl = [ pkgs.libGLU pkgs.libGL pkgs.xlibsWrapper ];
Rglpk = [ pkgs.glpk ];
RGtk2 = [ pkgs.gtk2.dev ];
rhdf5 = [ pkgs.zlib ];
diff --git a/pkgs/development/ruby-modules/gem-config/default.nix b/pkgs/development/ruby-modules/gem-config/default.nix
index d8c3d484f43636ac7b5e228c0c9ffb2fa69a9f75..18e24d5a31ed513fa6d389f98dd852d5a1d63977 100644
--- a/pkgs/development/ruby-modules/gem-config/default.nix
+++ b/pkgs/development/ruby-modules/gem-config/default.nix
@@ -21,7 +21,7 @@
, libiconv, postgresql, v8, clang, sqlite, zlib, imagemagick
, pkgconfig , ncurses, xapian, gpgme, utillinux, tzdata, icu, libffi
, cmake, libssh2, openssl, libmysqlclient, darwin, git, perl, pcre, gecode_3, curl
-, msgpack, qt59, libsodium, snappy, libossp_uuid, lxc, libpcap, xorg, gtk2, buildRubyGem
+, msgpack, libsodium, snappy, libossp_uuid, lxc, libpcap, xorg, gtk2, buildRubyGem
, cairo, re2, rake, gobject-introspection, gdk-pixbuf, zeromq, czmq, graphicsmagick, libcxx
, file, libvirt, glib, vips, taglib, libopus, linux-pam, libidn, protobuf, fribidi, harfbuzz
, bison, flex, pango, python3, patchelf, binutils, freetds, wrapGAppsHook, atk
@@ -70,11 +70,6 @@ in
buildInputs = [ cairo pcre xorg.libpthreadstubs xorg.libXdmcp ];
};
- capybara-webkit = attrs: {
- buildInputs = [ qt59.qtbase qt59.qtwebkit ] ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Cocoa ];
- NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
- };
-
charlock_holmes = attrs: {
buildInputs = [ which icu zlib ];
};
diff --git a/pkgs/development/ruby-modules/solargraph/Gemfile.lock b/pkgs/development/ruby-modules/solargraph/Gemfile.lock
index edd946d9285040b28a491c5fb819e8d8c2e8f797..c2e4840eab0664583d110c4bef6c363e13a7cc11 100644
--- a/pkgs/development/ruby-modules/solargraph/Gemfile.lock
+++ b/pkgs/development/ruby-modules/solargraph/Gemfile.lock
@@ -3,18 +3,18 @@ GEM
specs:
ast (2.4.0)
backport (1.1.2)
- htmlentities (4.3.4)
- jaro_winkler (1.5.3)
+ jaro_winkler (1.5.4)
+ maruku (0.7.3)
mini_portile2 (2.4.0)
- nokogiri (1.10.4)
+ nokogiri (1.10.5)
mini_portile2 (~> 2.4.0)
- parallel (1.18.0)
+ parallel (1.19.1)
parser (2.6.5.0)
ast (~> 2.4.0)
rainbow (3.0.0)
reverse_markdown (1.3.0)
nokogiri
- rubocop (0.75.1)
+ rubocop (0.77.0)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
parser (>= 2.6)
@@ -22,11 +22,11 @@ GEM
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 1.7)
ruby-progressbar (1.10.1)
- solargraph (0.37.2)
+ solargraph (0.38.0)
backport (~> 1.1)
bundler (>= 1.17.2)
- htmlentities (~> 4.3, >= 4.3.4)
jaro_winkler (~> 1.5)
+ maruku (~> 0.7, >= 0.7.3)
nokogiri (~> 1.9, >= 1.9.1)
parser (~> 2.3)
reverse_markdown (~> 1.0, >= 1.0.5)
@@ -46,4 +46,4 @@ DEPENDENCIES
solargraph!
BUNDLED WITH
- 1.17.2
+ 1.17.3
diff --git a/pkgs/development/ruby-modules/solargraph/gemset.nix b/pkgs/development/ruby-modules/solargraph/gemset.nix
index aa28f666e5ac64758c71d81ab8688de481749cea..e1ea15fb4e1695cd084d948f65c4dd8a1659e967 100644
--- a/pkgs/development/ruby-modules/solargraph/gemset.nix
+++ b/pkgs/development/ruby-modules/solargraph/gemset.nix
@@ -19,25 +19,25 @@
};
version = "1.1.2";
};
- htmlentities = {
+ jaro_winkler = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1nkklqsn8ir8wizzlakncfv42i32wc0w9hxp00hvdlgjr7376nhj";
+ sha256 = "1y8l6k34svmdyqxya3iahpwbpvmn3fswhwsvrz0nk1wyb8yfihsh";
type = "gem";
};
- version = "4.3.4";
+ version = "1.5.4";
};
- jaro_winkler = {
+ maruku = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1930v0chc1q4fr7hn0y1j34mw0v032a8kh0by4d4sbz8ksy056kf";
+ sha256 = "1r7bxpgnx2hp3g12bjrmdrpv663dfqxsdp0af69kjhxmaxpia56x";
type = "gem";
};
- version = "1.5.3";
+ version = "0.7.3";
};
mini_portile2 = {
groups = ["default"];
@@ -55,20 +55,20 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0nmdrqqz1gs0fwkgzxjl4wr554gr8dc1fkrqjc2jpsvwgm41rygv";
+ sha256 = "185g3dwba73jqxjr94bd2zk6fil6n9hmcfnfyzh3p1w47vm296r7";
type = "gem";
};
- version = "1.10.4";
+ version = "1.10.5";
};
parallel = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "091p5zrzzyg3fg48jhdz9lzjf2r9r3akra2cd46yd4nza3xgxshz";
+ sha256 = "12jijkap4akzdv11lm08dglsc8jmc87xcgq6947i1s3qb69f4zn2";
type = "gem";
};
- version = "1.18.0";
+ version = "1.19.1";
};
parser = {
dependencies = ["ast"];
@@ -108,10 +108,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0s5q1i7776yklkcwwx6ibm2mwnjky6wv7rpa3xhn8448854is31n";
+ sha256 = "0m88b1bgbhmmbdnz2xv6n0il0j4q5qm9jbc0vf1zsaxmxqp06nx9";
type = "gem";
};
- version = "0.75.1";
+ version = "0.77.0";
};
ruby-progressbar = {
groups = ["default"];
@@ -124,15 +124,15 @@
version = "1.10.1";
};
solargraph = {
- dependencies = ["backport" "htmlentities" "jaro_winkler" "nokogiri" "parser" "reverse_markdown" "rubocop" "thor" "tilt" "yard"];
+ dependencies = ["backport" "jaro_winkler" "maruku" "nokogiri" "parser" "reverse_markdown" "rubocop" "thor" "tilt" "yard"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0w20g68i6djc2vyx3awzvn15brdfpcwbna27r0903h5djcmnr8a0";
+ sha256 = "1pdqpxvjj6r6gzrz9rmxfg85cmfjs4y2lyq8p5qfg3kfpqx4rhpw";
type = "gem";
};
- version = "0.37.2";
+ version = "0.38.0";
};
thor = {
groups = ["default"];
@@ -174,4 +174,4 @@
};
version = "0.9.20";
};
-}
+}
\ No newline at end of file
diff --git a/pkgs/development/tools/ammonite/default.nix b/pkgs/development/tools/ammonite/default.nix
index ad33edf004f00b261a535740a773a8b5706f7aef..69e81596574bbbf94851f568156f6afd788f8fed 100644
--- a/pkgs/development/tools/ammonite/default.nix
+++ b/pkgs/development/tools/ammonite/default.nix
@@ -22,6 +22,7 @@ stdenv.mkDerivation rec {
sed -i '0,/java/{s|java|${jre}/bin/java|}' $out/bin/amm
'' + optionalString (disableRemoteLogging) ''
sed -i '0,/ammonite.Main/{s|ammonite.Main|ammonite.Main --no-remote-logging|}' $out/bin/amm
+ sed -i '1i #!/bin/sh' $out/bin/amm
'';
meta = {
diff --git a/pkgs/development/tools/analysis/radare2/update.py b/pkgs/development/tools/analysis/radare2/update.py
index 794581bca7ad5cd4eafa91f1b67ee74c7f98af85..b9e72e6236601807899593db9c544dc46946861f 100755
--- a/pkgs/development/tools/analysis/radare2/update.py
+++ b/pkgs/development/tools/analysis/radare2/update.py
@@ -38,7 +38,7 @@ def get_radare2_rev() -> str:
def get_cutter_version() -> str:
version_expr = """
-(with import {}; (builtins.parseDrvName (qt5.callPackage {}).name).version)
+(with import {}; lib.getVersion (qt5.callPackage {}))
"""
return sh("nix", "eval", "--raw", version_expr.strip(), "-I", "radare2={0}".format(SCRIPT_DIR))
diff --git a/pkgs/development/tools/analysis/rr/default.nix b/pkgs/development/tools/analysis/rr/default.nix
index 844fd38d9be6e54e27118525ec05c508a0583523..a8d95eb05deb2b0ec575bcda98f346e78e4bc68d 100644
--- a/pkgs/development/tools/analysis/rr/default.nix
+++ b/pkgs/development/tools/analysis/rr/default.nix
@@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
buildInputs = [
cmake libpfm zlib python2Packages.python python2Packages.pexpect which procps gdb capnproto
];
+ propagatedBuildInputs = [ gdb ]; # needs GDB to replay programs at runtime
cmakeFlags = [
"-DCMAKE_C_FLAGS_RELEASE:STRING="
"-DCMAKE_CXX_FLAGS_RELEASE:STRING="
diff --git a/pkgs/development/tools/analysis/tfsec/default.nix b/pkgs/development/tools/analysis/tfsec/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..80c23205c40772f09fb97dfef661bd32e425cc6c
--- /dev/null
+++ b/pkgs/development/tools/analysis/tfsec/default.nix
@@ -0,0 +1,22 @@
+{ lib, buildGoPackage, fetchFromGitHub }:
+
+buildGoPackage rec {
+ pname = "tfsec";
+ version = "0.12.2";
+
+ src = fetchFromGitHub {
+ owner = "liamg";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "1xrhsl60xf7230z4d2dyy86406a2306yfqchijrz0957xpkrik2r";
+ };
+
+ goPackagePath = "github.com/liamg/tfsec";
+
+ meta = with lib; {
+ homepage = "https://github.com/liamg/tfsec";
+ description = "Static analysis powered security scanner for your terraform code";
+ license = licenses.mit;
+ maintainers = [ maintainers.marsam ];
+ };
+}
diff --git a/pkgs/development/tools/aws-sam-cli/default.nix b/pkgs/development/tools/aws-sam-cli/default.nix
index 67abd284952d683528ae677e5f7e43dae5f5bf92..12cce3e8d4687623a92046b532cd95dbbc3e62ec 100644
--- a/pkgs/development/tools/aws-sam-cli/default.nix
+++ b/pkgs/development/tools/aws-sam-cli/default.nix
@@ -5,12 +5,11 @@
let
py = python.override {
packageOverrides = self: super: {
-
- aws-sam-translator = super.aws-sam-translator.overridePythonAttrs (oldAttrs: rec {
- version = "1.14.0";
+ flask = super.flask.overridePythonAttrs (oldAttrs: rec {
+ version = "1.0.2";
src = oldAttrs.src.override {
inherit version;
- sha256 = "1cghn1m7ana9s8kyg61dwp9mrism5l04vy5rj1wnmksz8vzmnq9w";
+ sha256 = "0j6f4a9rpfh25k1gp7azqhnni4mb4fgy50jammgjgddw1l3w0w92";
};
});
@@ -34,11 +33,11 @@ with py.pkgs;
buildPythonApplication rec {
pname = "aws-sam-cli";
- version = "0.22.0";
+ version = "0.34.0";
src = fetchPypi {
inherit pname version;
- sha256 = "1flbvqlj5llz7nrszmcf00v2a1pa36alv90r1l8lwn8zid5aabkn";
+ sha256 = "1ndgcbd6zr23lvmqn4wikgvnlwl0gj0wgyawaspwm3b0jlvxadik";
};
# Tests are not included in the PyPI package
@@ -58,6 +57,7 @@ buildPythonApplication rec {
requests
serverlessrepo
six
+ tomlkit
];
# fix over-restrictive version bounds
diff --git a/pkgs/development/tools/build-managers/bazel/default.nix b/pkgs/development/tools/build-managers/bazel/default.nix
index 4a5a1d4d44cd412f010832047407c97728ec4ec7..74a4ff4a3da696cf7cd27e331e6893ab06ec5fd2 100644
--- a/pkgs/development/tools/build-managers/bazel/default.nix
+++ b/pkgs/development/tools/build-managers/bazel/default.nix
@@ -22,11 +22,11 @@
}:
let
- version = "1.1.0";
+ version = "1.2.1";
src = fetchurl {
url = "https://github.com/bazelbuild/bazel/releases/download/${version}/bazel-${version}-dist.zip";
- sha256 = "1awm5wa4y4c37zy7d1ass83amwq5992wydkj5v9jx0zp7b4shrjb";
+ sha256 = "1qfk14mgx1m454b4w4ldggljzqkqwpdwrlynq7rc8aq11yfs8p95";
};
# Update with `eval $(nix-build -A bazel.updater)`,
@@ -50,7 +50,7 @@ let
else srcs."java_tools_javac11_linux-v6.1.zip")
srcs."coverage_output_generator-v2.0.zip"
srcs.build_bazel_rules_nodejs
- srcs."android_tools_pkg-0.11.tar.gz"
+ srcs."android_tools_pkg-0.12.tar.gz"
srcs."0.28.3.tar.gz"
srcs.rules_pkg
srcs.rules_cc
diff --git a/pkgs/development/tools/build-managers/bazel/src-deps.json b/pkgs/development/tools/build-managers/bazel/src-deps.json
index 152cce5093e8534ab35160021ff83c97380227cb..e86e6a1c94587ed3b958d1ef15bdf4e8d44e53a1 100644
--- a/pkgs/development/tools/build-managers/bazel/src-deps.json
+++ b/pkgs/development/tools/build-managers/bazel/src-deps.json
@@ -55,11 +55,11 @@
"https://github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz"
]
},
- "android_tools_pkg-0.11.tar.gz": {
- "name": "android_tools_pkg-0.11.tar.gz",
- "sha256": "6fc50151063bffdda700038ea7df99c89d54dc066e9377a5baff60d55d482ad2",
+ "android_tools_pkg-0.12.tar.gz": {
+ "name": "android_tools_pkg-0.12.tar.gz",
+ "sha256": "96c4eef4d195dd95e43a4259cf5b82a1e34f67333439e91955bbdc0e1c8e7a31",
"urls": [
- "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.11.tar.gz"
+ "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.12.tar.gz"
]
},
"bazel_j2objc": {
@@ -108,11 +108,11 @@
},
"com_google_googletest": {
"name": "com_google_googletest",
- "sha256": "0fb00ff413f6b9b80ccee44a374ca7a18af7315aea72a43c62f2acd1ca74e9b5",
- "strip_prefix": "googletest-f13bbe2992d188e834339abe6f715b2b2f840a77",
+ "sha256": "9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb",
+ "strip_prefix": "googletest-release-1.10.0",
"urls": [
- "https://mirror.bazel.build/github.com/google/googletest/archive/f13bbe2992d188e834339abe6f715b2b2f840a77.tar.gz",
- "https://github.com/google/googletest/archive/f13bbe2992d188e834339abe6f715b2b2f840a77.tar.gz"
+ "https://mirror.bazel.build/github.com/google/googletest/archive/release-1.10.0.tar.gz",
+ "https://github.com/google/googletest/archive/release-1.10.0.tar.gz"
]
},
"coverage_output_generator-v2.0.zip": {
diff --git a/pkgs/development/tools/build-managers/bloop/default.nix b/pkgs/development/tools/build-managers/bloop/default.nix
index 23ffe286824181b7a20825402b80734a3ac5722a..ce656d4d78ff553f073bce4947da57d8bd94d546 100644
--- a/pkgs/development/tools/build-managers/bloop/default.nix
+++ b/pkgs/development/tools/build-managers/bloop/default.nix
@@ -2,15 +2,15 @@
let
baseName = "bloop";
- version = "1.3.2";
- nailgunCommit = "9327a60a"; # Fetched from https://github.com/scalacenter/bloop/releases/download/v${version}/install.py
+ version = "1.3.4";
+ nailgunCommit = "d7ed5db"; # Fetched from https://github.com/scalacenter/bloop/releases/download/v${version}/install.py
client = stdenv.mkDerivation {
name = "${baseName}-client-${version}";
src = fetchurl {
url = "https://raw.githubusercontent.com/scalacenter/nailgun/${nailgunCommit}/pynailgun/ng.py";
- sha256 = "0z4as5ibmzkd145wsch9caiy4037bgg780gcf7pyns0cv9n955b4";
+ sha256 = "0lrj25m0nvphz2i5mqjwccpyrd7gn8a5k22k5khrpdh6ldxqis8a";
};
phases = [ "installPhase" ];
@@ -33,7 +33,7 @@ let
'';
outputHashMode = "recursive";
outputHashAlgo = "sha256";
- outputHash = "0k9zc9q793fkfwcssbkmzb0nxmgb99rwi0pjkqhvf719vmgvhc2a";
+ outputHash = "1z33ip6hgfwiixm2gimz819p5cnxn1fmxb3ryyf77jzwsx7py718";
};
zsh = stdenv.mkDerivation {
diff --git a/pkgs/development/tools/build-managers/kati/default.nix b/pkgs/development/tools/build-managers/kati/default.nix
index 03cc0518ab517487837a56193e6d6c226b615fb1..05834565f9310a9fb884cdc8c206f1de80016c4f 100644
--- a/pkgs/development/tools/build-managers/kati/default.nix
+++ b/pkgs/development/tools/build-managers/kati/default.nix
@@ -1,14 +1,14 @@
-{ fetchgit, stdenv }:
+{ stdenv, fetchFromGitHub }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
pname = "kati-unstable";
- version = "2017-05-23";
- rev = "2dde61e46ab789f18956ff3b7c257dd8eb97993f";
+ version = "2019-09-23";
- src = fetchgit {
- inherit rev;
- url = "https://github.com/google/kati.git";
- sha256 = "1das1fvycra546lmh72cr5qpgblhbzqqy7gfywiijjgx160l75vq";
+ src = fetchFromGitHub {
+ owner = "google";
+ repo = "kati";
+ rev = "9da3296746a0cd55b38ebebf91e7f57105a4c36f";
+ sha256 = "0s5dfhgpcbx12b1fqmm8p0jpvrhgrnl9qywv1ksbwhw3pfp7j866";
};
patches = [ ./version.patch ];
@@ -17,10 +17,11 @@ stdenv.mkDerivation rec {
install -D ckati $out/bin/ckati
'';
- meta = {
+ meta = with stdenv.lib; {
description = "An experimental GNU make clone";
homepage = https://github.com/google/kati;
- platforms = stdenv.lib.platforms.all;
- license = stdenv.lib.licenses.asl20;
+ platforms = platforms.all;
+ license = licenses.asl20;
+ maintainers = with maintainers; [ danielfullmer ];
};
}
diff --git a/pkgs/development/tools/build-managers/meson/default.nix b/pkgs/development/tools/build-managers/meson/default.nix
index 75658dcbb3eab9646c0bb990f71c793d7d6a99f6..6633d101ce407c2ff29c9940dd9d30f9124d03db 100644
--- a/pkgs/development/tools/build-managers/meson/default.nix
+++ b/pkgs/development/tools/build-managers/meson/default.nix
@@ -77,6 +77,15 @@ python3Packages.buildPythonApplication rec {
# https://github.com/mesonbuild/meson/issues/4784
# Should be fixed in 0.52
./fix-objc-linking.patch
+
+ # Fixes error finding some frameworks
+ # https://github.com/NixOS/nixpkgs/pull/70690#issuecomment-553704175
+ # https://github.com/mesonbuild/meson/pull/5980
+ # Should be fixed in 0.52
+ (fetchpatch {
+ url = "https://github.com/mesonbuild/meson/commit/8d3fcb3dc4d7204a4646807f8b5191d79fb291e5.patch";
+ sha256 = "0g95gl662mribnnz5jcyn1jaaw8w7r1vgbg2jbm91dcrr5zji5ng";
+ })
];
setupHook = ./setup-hook.sh;
diff --git a/pkgs/development/tools/build-managers/qbs/default.nix b/pkgs/development/tools/build-managers/qbs/default.nix
index 08baa53b1dc0e587a67d537d4623b8bd587a3fa0..cd08ae973eba1cc76552b56680395018f8bacc1c 100644
--- a/pkgs/development/tools/build-managers/qbs/default.nix
+++ b/pkgs/development/tools/build-managers/qbs/default.nix
@@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
pname = "qbs";
- version = "1.14.0";
+ version = "1.14.1";
src = fetchFromGitHub {
owner = "qbs";
repo = "qbs";
rev = "v${version}";
- sha256 = "19adxjyp5bf5hrjisv3ff9ndcmh1glrxfrzifs46xjn3r69kyv1k";
+ sha256 = "0rqfnclhzln6v4gm68fn4vn6ncf5qpi90295fwm4fx6dq4l94b3v";
};
nativeBuildInputs = [ qmake ];
diff --git a/pkgs/development/tools/build-managers/sbt/default.nix b/pkgs/development/tools/build-managers/sbt/default.nix
index bb2f000f606a2c46f7155562841848bce1f0b282..7440b25c6e49430f9646aa0ce18bebb082d14763 100644
--- a/pkgs/development/tools/build-managers/sbt/default.nix
+++ b/pkgs/development/tools/build-managers/sbt/default.nix
@@ -2,14 +2,14 @@
stdenv.mkDerivation rec {
pname = "sbt";
- version = "1.3.3";
+ version = "1.3.4";
src = fetchurl {
urls = [
"https://piccolo.link/sbt-${version}.tgz"
"https://github.com/sbt/sbt/releases/download/v${version}/sbt-${version}.tgz"
];
- sha256 = "0v27i8pd9ss53ipi1cs40426mnyppdjgcdjk8nn05bi6rm7a4r7y";
+ sha256 = "0bz6jj7jiwxd35xw9l1jbd846r0129pwgdi8m6dxwb8zybj73k2m";
};
patchPhase = ''
diff --git a/pkgs/development/tools/ccloud-cli/default.nix b/pkgs/development/tools/ccloud-cli/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..7fa53029772282214a1a1636493c0a3f5ae0f138
--- /dev/null
+++ b/pkgs/development/tools/ccloud-cli/default.nix
@@ -0,0 +1,33 @@
+{ stdenv, autoPatchelfHook, fetchurl, lib }:
+
+stdenv.mkDerivation rec {
+ pname = "ccloud-cli";
+ version = "0.202.0";
+
+ # To get the latest version:
+ # curl -L 'https://s3-us-west-2.amazonaws.com/confluent.cloud?prefix=ccloud-cli/archives/&delimiter=/' | nix run nixpkgs.libxml2 -c xmllint --format -
+ src = fetchurl (if stdenv.hostPlatform.isDarwin then {
+ url = "https://s3-us-west-2.amazonaws.com/confluent.cloud/ccloud-cli/archives/${version}/ccloud_v${version}_darwin_amd64.tar.gz";
+ sha256 = "1w7c7fwpjj6f26nmcgm6rkrl4v9zhdpygkh02la77n23lg8wxah5";
+ } else {
+ url = "https://s3-us-west-2.amazonaws.com/confluent.cloud/ccloud-cli/archives/${version}/ccloud_v${version}_linux_amd64.tar.gz";
+ sha256 = "1xbhv2viw8cbwv03rfq99jddnw5lwy812a8xby348290l323xi89";
+ });
+
+ nativeBuildInputs = [ autoPatchelfHook ];
+
+ installPhase = ''
+ mkdir -p $out/{bin,share/doc/ccloud-cli}
+ cp ccloud $out/bin/
+ cp LICENSE $out/share/doc/ccloud-cli/
+ cp -r legal $out/share/doc/ccloud-cli/
+ '';
+
+ meta = with lib; {
+ description = "Confluent Cloud CLI";
+ homepage = https://docs.confluent.io/current/cloud/cli/index.html;
+ license = licenses.unfree;
+ maintainers = with maintainers; [ kalbasit ];
+ platforms = platforms.linux ++ platforms.darwin;
+ };
+}
diff --git a/pkgs/development/tools/chefdk/default.nix b/pkgs/development/tools/chefdk/default.nix
index d5c7420141899c0fb8f6356af44cac2a26082eac..d30c0aaeb49646d93c017047ed4479bae9637b8f 100644
--- a/pkgs/development/tools/chefdk/default.nix
+++ b/pkgs/development/tools/chefdk/default.nix
@@ -1,7 +1,7 @@
{ lib, bundlerEnv, bundlerUpdateScript, ruby_2_4, perl, autoconf }:
bundlerEnv {
- pname = "chef-dk";
+ name = "chef-dk-2.4.17";
ruby = ruby_2_4;
gemdir = ./.;
diff --git a/pkgs/development/tools/clang-tools/wrapper b/pkgs/development/tools/clang-tools/wrapper
index fe17880b07d86ec64e641adcf707ff58d4ec0bbc..53c99a67f2d36ad7b46d98e3442152a4359a2d63 100644
--- a/pkgs/development/tools/clang-tools/wrapper
+++ b/pkgs/development/tools/clang-tools/wrapper
@@ -6,7 +6,7 @@ buildcpath() {
case $1 in
-isystem)
shift
- path=$path${path':'}$1
+ path=$path${path:+':'}$1
esac
shift
done
diff --git a/pkgs/development/tools/clj-kondo/default.nix b/pkgs/development/tools/clj-kondo/default.nix
index f821ac32fc43430a41ce780e0d8b1e40dcb386e3..223da64603b07f19c2614906fd7041922db3a941 100644
--- a/pkgs/development/tools/clj-kondo/default.nix
+++ b/pkgs/development/tools/clj-kondo/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec{
pname = "clj-kondo";
- version = "2019.11.03";
+ version = "2019.11.07";
reflectionJson = fetchurl {
name = "reflection.json";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec{
src = fetchurl {
url = "https://github.com/borkdude/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar";
- sha256 = "1chvdfczlxyy1jspyf4yv1kmgz6fq4fih5qvfarvcyw7nlxlj2np";
+ sha256 = "145cdpcdzh2v77kvg8a0qqac9ra7vdcf9hj71vy5w7fck08yf192";
};
dontUnpack = true;
diff --git a/pkgs/development/tools/continuous-integration/gitlab-runner/default.nix b/pkgs/development/tools/continuous-integration/gitlab-runner/default.nix
index 8bac62b07c190679648d181db37982c0e9c1e16c..c264e528c8d661032e2e35b54f28f254cfcb41be 100644
--- a/pkgs/development/tools/continuous-integration/gitlab-runner/default.nix
+++ b/pkgs/development/tools/continuous-integration/gitlab-runner/default.nix
@@ -1,16 +1,16 @@
{ lib, buildGoPackage, fetchFromGitLab, fetchurl }:
let
- version = "12.4.1";
+ version = "12.5.0";
# Gitlab runner embeds some docker images these are prebuilt for arm and x86_64
docker_x86_64 = fetchurl {
url = "https://gitlab-runner-downloads.s3.amazonaws.com/v${version}/helper-images/prebuilt-x86_64.tar.xz";
- sha256 = "0y68x5hl2gip7bpcgjychf5qd1535ry4qkjb3fybm2pb81qy2gy7";
+ sha256 = "1g4cgcn33zglk3az0pn81vsnq5b2csclxlx6hbp0l546lqjfw30d";
};
docker_arm = fetchurl {
url = "https://gitlab-runner-downloads.s3.amazonaws.com/v${version}/helper-images/prebuilt-arm.tar.xz";
- sha256 = "1nb0cspjqasyg7bppyrf3m3rg1c26iaw6h9dpnq2m7f60dciyiq2";
+ sha256 = "0v13b4likwx1szbzbj3cf9yvkc9rbn8760agrf1bxik0immhhhq4";
};
in
buildGoPackage rec {
@@ -29,7 +29,7 @@ buildGoPackage rec {
owner = "gitlab-org";
repo = "gitlab-runner";
rev = "v${version}";
- sha256 = "1smn7b1dvqvaka23a7zhnlnpbqw40hpdn8vvj1r3ivx20khpsnhn";
+ sha256 = "0qlvm0ixwbkbqh73gbhvzhkaswwv1jcmqa79mazxwphxcki04m96";
};
patches = [ ./fix-shell-path.patch ];
diff --git a/pkgs/development/tools/continuous-integration/gocd-agent/default.nix b/pkgs/development/tools/continuous-integration/gocd-agent/default.nix
index cdc4e6db2c2dcdc3a4d39a573139797e95d752cc..adee52d967eabb1b56f114e31852b3d2979cba4e 100644
--- a/pkgs/development/tools/continuous-integration/gocd-agent/default.nix
+++ b/pkgs/development/tools/continuous-integration/gocd-agent/default.nix
@@ -2,12 +2,12 @@
stdenv.mkDerivation rec {
name = "gocd-agent-${version}-${rev}";
- version = "16.9.0";
- rev = "4001";
+ version = "19.3.0";
+ rev = "8959";
src = fetchurl {
url = "https://download.go.cd/binaries/${version}-${rev}/generic/go-agent-${version}-${rev}.zip";
- sha256 = "1xcwwjf2khhng6v1y7dvi579y2j643al9n0x80m0c46qb9mzd04x";
+ sha256 = "1nirdv82i8x4s1dyb0rmxldh8avappd4g3mbbl6xp7r7s0drcprp";
};
meta = with stdenv.lib; {
description = "A continuous delivery server specializing in advanced workflow modeling and visualization";
diff --git a/pkgs/development/tools/continuous-integration/gocd-server/default.nix b/pkgs/development/tools/continuous-integration/gocd-server/default.nix
index 8982ca5f77ad38cecb3a0c88b4ec4362e5ced5ee..c0fabdeb5a16609b9b30013081ce877b0de7dd7e 100644
--- a/pkgs/development/tools/continuous-integration/gocd-server/default.nix
+++ b/pkgs/development/tools/continuous-integration/gocd-server/default.nix
@@ -2,12 +2,12 @@
stdenv.mkDerivation rec {
name = "gocd-server-${version}-${rev}";
- version = "16.9.0";
- rev = "4001";
+ version = "19.3.0";
+ rev = "8959";
src = fetchurl {
url = "https://download.go.cd/binaries/${version}-${rev}/generic/go-server-${version}-${rev}.zip";
- sha256 = "0x5pmjbhrka6p27drkrca7872vgsjxaa5j0cbxsa2ds02wrn57a7";
+ sha256 = "0c30qzd6awlw0zx91rk6na0mmgykqkgrw9ychx18ivjwma0hr0sc";
};
meta = with stdenv.lib; {
diff --git a/pkgs/development/tools/continuous-integration/jenkins/update.sh b/pkgs/development/tools/continuous-integration/jenkins/update.sh
index 66d1b4ceff668d46ed1d40638fe54853f1fc85f8..4f2f6527eccc663f5794f85d20854d68a340af4a 100755
--- a/pkgs/development/tools/continuous-integration/jenkins/update.sh
+++ b/pkgs/development/tools/continuous-integration/jenkins/update.sh
@@ -4,7 +4,7 @@
set -eu -o pipefail
core_json="$(curl -s --fail --location https://updates.jenkins.io/stable/update-center.actual.json | jq .core)"
-oldVersion=$(nix-instantiate --eval -E "with import ./. {}; jenkins.version or (builtins.parseDrvName jenkins.name).version" | tr -d '"')
+oldVersion=$(nix-instantiate --eval -E "with import ./. {}; lib.getVersion jenkins" | tr -d '"')
version="$(jq -r .version <<<$core_json)"
sha256="$(jq -r .sha256 <<<$core_json)"
diff --git a/pkgs/development/tools/cue/default.nix b/pkgs/development/tools/cue/default.nix
index 754c014ee165c77194b67d2e4794dfbdfed02318..2046ea90fd1aa545e5d550cee00dad7d3a4f518b 100644
--- a/pkgs/development/tools/cue/default.nix
+++ b/pkgs/development/tools/cue/default.nix
@@ -2,15 +2,15 @@
buildGoModule rec {
pname = "cue";
- version = "0.0.11";
+ version = "0.0.14";
src = fetchgit {
url = "https://cue.googlesource.com/cue";
rev = "v${version}";
- sha256 = "146h3nxx72n3byxr854lnxj7m33ipbmg6j9dy6dlwvqpa7rndrmp";
+ sha256 = "1gbw377wm41bhn9pw0l5l7v6g5s9jw1p2jammflac7hgwdrxkb64";
};
- modSha256 = "1q0fjm34mbijjxg089v5330vc820nrvwdkhm02zi45rk2fpdgdqd";
+ modSha256 = "04dapx75zwi8cv1pj3c6266znrhwihv3df4izm3gjk34r2i07q6s";
subPackages = [ "cmd/cue" ];
@@ -19,8 +19,8 @@ buildGoModule rec {
];
meta = {
- description = "A data constraint language which aims to simplify tasks involving defining and using data.";
- homepage = https://cue.googlesource.com/cue;
+ description = "A data constraint language which aims to simplify tasks involving defining and using data";
+ homepage = "https://cuelang.org/";
maintainers = with stdenv.lib.maintainers; [ solson ];
license = stdenv.lib.licenses.asl20;
};
diff --git a/pkgs/development/tools/documentation/antora/default.nix b/pkgs/development/tools/documentation/antora/default.nix
index 9f1aa0370871d42ed4b334ca062399a7806d97d0..6427fa461dde833180a4fe3bc8f09a85419f8f06 100644
--- a/pkgs/development/tools/documentation/antora/default.nix
+++ b/pkgs/development/tools/documentation/antora/default.nix
@@ -1,16 +1,15 @@
{ stdenv, nodePackages_10_x }:
let
- drvName = drv: (builtins.parseDrvName drv).name;
linkNodeDeps = ({ pkg, deps, name ? "" }:
let
- targetModule = if name != "" then name else drvName pkg;
+ targetModule = if name != "" then name else stdenv.lib.getName pkg;
in nodePackages_10_x.${pkg}.override (oldAttrs: {
postInstall = ''
mkdir -p $out/lib/node_modules/${targetModule}/node_modules
${stdenv.lib.concatStringsSep "\n" (map (dep: ''
- ln -s ${nodePackages_10_x.${dep}}/lib/node_modules/${drvName dep} \
- $out/lib/node_modules/${targetModule}/node_modules/${drvName dep}
+ ln -s ${nodePackages_10_x.${dep}}/lib/node_modules/${stdenv.lib.getName dep} \
+ $out/lib/node_modules/${targetModule}/node_modules/${stdenv.lib.getName dep}
'') deps
)}
'';
diff --git a/pkgs/development/tools/documentation/mkdocs/default.nix b/pkgs/development/tools/documentation/mkdocs/default.nix
index 5f3dff95e358deb6694af845591ffe6001f6fe93..e9e116280a03bd812e40a0aa7e01730b5dcbc4fa 100644
--- a/pkgs/development/tools/documentation/mkdocs/default.nix
+++ b/pkgs/development/tools/documentation/mkdocs/default.nix
@@ -1,4 +1,4 @@
-{ lib, python, fetchFromGitHub }:
+{ stdenv, lib, python, fetchFromGitHub }:
with python.pkgs;
@@ -35,9 +35,18 @@ buildPythonApplication rec {
backports_tempfile
];
- meta = {
+ meta = with stdenv.lib; {
+ description = "Project documentation with Markdown / static website generator";
+ longDescription = ''
+ MkDocs is a fast, simple and downright gorgeous static site generator that's
+ geared towards building project documentation. Documentation source files
+ are written in Markdown, and configured with a single YAML configuration file.
+
+ MkDocs can also be used to generate general-purpose Websites.
+ '';
homepage = http://mkdocs.org/;
- description = "Project documentation with Markdown";
license = lib.licenses.bsd2;
+ platforms = platforms.unix;
+ maintainers = [ maintainers.rkoe ];
};
}
diff --git a/pkgs/development/tools/flyway/default.nix b/pkgs/development/tools/flyway/default.nix
index b57c9841978f0e07d68568fc5ddb00b1492f8b5a..8ab0ad211708dcaaa466ef7a7c5f9312c6dce32d 100644
--- a/pkgs/development/tools/flyway/default.nix
+++ b/pkgs/development/tools/flyway/default.nix
@@ -1,13 +1,13 @@
{ stdenv, fetchurl, jre_headless, makeWrapper }:
let
- version = "5.2.4";
+ version = "6.1.0";
in
stdenv.mkDerivation {
pname = "flyway";
inherit version;
src = fetchurl {
url = "https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/${version}/flyway-commandline-${version}.tar.gz";
- sha256 = "16ia6nlvj4cgmdkn66bjg73h5vah82hpzk9mf0n5kmqnwcaa8hmc";
+ sha256 = "14f8vviki89dqhd429zlj0frma52xhyxpdln5c81z1dgs7819rpg";
};
nativeBuildInputs = [ makeWrapper ];
dontBuild = true;
@@ -15,7 +15,7 @@
installPhase = ''
mkdir -p $out/bin $out/share/flyway
cp -r sql jars drivers conf $out/share/flyway
- cp -r lib/community $out/share/flyway/lib
+ install -Dt $out/share/flyway/lib lib/community/*.jar lib/*.jar
makeWrapper "${jre_headless}/bin/java" $out/bin/flyway \
--add-flags "-Djava.security.egd=file:/dev/../dev/urandom" \
--add-flags "-classpath '$out/share/flyway/lib/*:$out/share/flyway/drivers/*'" \
@@ -23,6 +23,13 @@
'';
meta = with stdenv.lib; {
description = "Evolve your Database Schema easily and reliably across all your instances";
+ longDescription = ''
+ The Flyway command-line tool is a standalone Flyway distribution.
+ It is primarily meant for users who wish to migrate their database from the command-line
+ without having to integrate Flyway into their applications nor having to install a build tool.
+
+ This package is only the Community Edition of the Flyway command-line tool.
+ '';
homepage = "https://flywaydb.org/";
license = licenses.asl20;
platforms = platforms.unix;
diff --git a/pkgs/development/tools/gamecube-tools/default.nix b/pkgs/development/tools/gamecube-tools/default.nix
index 872c8fae527dfc2f74c78b5836f587984c90f9a2..7c31f691b4e888b58d05db862e61e3d0f04ec994 100644
--- a/pkgs/development/tools/gamecube-tools/default.nix
+++ b/pkgs/development/tools/gamecube-tools/default.nix
@@ -1,21 +1,20 @@
-{ stdenv, which, autoconf, automake, fetchFromGitHub,
- libtool, freeimage, mesa }:
+{ stdenv, fetchFromGitHub, autoreconfHook
+, freeimage, libGL }:
+
stdenv.mkDerivation rec {
- version = "v1.0.2";
+ version = "1.0.2";
pname = "gamecube-tools";
- nativeBuildInputs = [ which autoconf automake libtool ];
- buildInputs = [ freeimage mesa ];
+ nativeBuildInputs = [ autoreconfHook ];
+ buildInputs = [ freeimage libGL ];
src = fetchFromGitHub {
owner = "devkitPro";
repo = "gamecube-tools";
- rev = version;
+ rev = "v${version}";
sha256 = "0zvpkzqvl8iv4ndzhkjkmrzpampyzgb91spv0h2x2arl8zy4z7ca";
};
- preConfigure = "./autogen.sh";
-
meta = with stdenv.lib; {
description = "Tools for gamecube/wii projects";
homepage = "https://github.com/devkitPro/gamecube-tools/";
diff --git a/pkgs/development/tools/git-series/default.nix b/pkgs/development/tools/git-series/default.nix
index d2bc539860b3a835f3e2a7327a150baf06a7d557..7e126b3d112c1d18fad6bcc51091cf6ff2305bb3 100644
--- a/pkgs/development/tools/git-series/default.nix
+++ b/pkgs/development/tools/git-series/default.nix
@@ -1,4 +1,6 @@
-{ stdenv, fetchFromGitHub, fetchpatch, rustPlatform, openssl, cmake, perl, pkgconfig, zlib, curl, libgit2 }:
+{ stdenv, fetchFromGitHub, fetchpatch, rustPlatform
+, openssl, cmake, perl, pkgconfig, zlib, curl, libgit2, libssh2
+}:
with rustPlatform;
@@ -28,8 +30,9 @@ buildRustPackage rec {
];
LIBGIT2_SYS_USE_PKG_CONFIG = true;
+ LIBSSH2_SYS_USE_PKG_CONFIG = true;
nativeBuildInputs = [ cmake pkgconfig perl ];
- buildInputs = [ openssl zlib curl libgit2 ];
+ buildInputs = [ openssl zlib curl libgit2 libssh2 ];
postBuild = ''
install -D "$src/git-series.1" "$out/man/man1/git-series.1"
diff --git a/pkgs/development/tools/grabserial/default.nix b/pkgs/development/tools/grabserial/default.nix
index ab32674f188129250b83fc56cfc5e078bdc4237d..5e06e9f771d9fd05dba0787806428cecd0910cd1 100644
--- a/pkgs/development/tools/grabserial/default.nix
+++ b/pkgs/development/tools/grabserial/default.nix
@@ -2,13 +2,13 @@
pythonPackages.buildPythonApplication rec {
pname = "grabserial";
- version = "1.9.8";
+ version = "1.9.9";
src = fetchFromGitHub {
owner = "tbird20d";
repo = "grabserial";
rev = "v${version}";
- sha256 = "1xmy3js4hzsxlkxc172hkjzxsc34mmg3vfz61h24c7svmfzyhbd5";
+ sha256 = "0cwrajkh605gfhshrlpbc32gmx86a8kv3pq7cv713k60sgqrgpqx";
};
propagatedBuildInputs = [ pythonPackages.pyserial ];
diff --git a/pkgs/development/tools/irony-server/default.nix b/pkgs/development/tools/irony-server/default.nix
index f2c926a6f391c6fae4e5aa69e1f9f2cb3680c97d..228a82f6008b655fcb5de257961fabf4c09c173f 100644
--- a/pkgs/development/tools/irony-server/default.nix
+++ b/pkgs/development/tools/irony-server/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation {
pname = "irony-server";
- inherit (irony) version;
+ inherit (irony) src version;
nativeBuildInputs = [ cmake ];
- buildInputs = [ llvmPackages.libclang ];
+ buildInputs = [ llvmPackages.libclang llvmPackages.llvm ];
dontUseCmakeBuildDir = true;
@@ -15,13 +15,11 @@ stdenv.mkDerivation {
"-DCMAKE_PREFIX_PATH=${llvmPackages.clang-unwrapped}"
];
- src = irony.src;
-
- meta = {
+ meta = with stdenv.lib; {
description = "The server part of irony.";
homepage = "https://melpa.org/#/irony";
- maintainers = [ stdenv.lib.maintainers.deepfire ];
- platforms = stdenv.lib.platforms.unix;
- license = stdenv.lib.licenses.free;
+ maintainers = [ maintainers.deepfire ];
+ platforms = platforms.unix;
+ license = licenses.free;
};
}
diff --git a/pkgs/development/tools/kubectx/default.nix b/pkgs/development/tools/kubectx/default.nix
index fe72f6dcf1683c544af628bb955a53b897972cca..b3116a9b2f9d0906a1774bc7ae01709108cbb817 100644
--- a/pkgs/development/tools/kubectx/default.nix
+++ b/pkgs/development/tools/kubectx/default.nix
@@ -4,13 +4,13 @@ with lib;
stdenv.mkDerivation rec {
pname = "kubectx";
- version = "0.7.0";
+ version = "0.7.1";
src = fetchFromGitHub {
owner = "ahmetb";
repo = pname;
rev = "v${version}";
- sha256 = "11snp3li2w4ds2r7fc6mldlgj24mga40v0knlralaiz296bd6zcs";
+ sha256 = "0mv40jh94by99i5wkf3p52wk4l68hvly1k5gnn7zsy9avc8fjd0p";
};
buildInputs = [ makeWrapper ];
diff --git a/pkgs/development/tools/micronaut/default.nix b/pkgs/development/tools/micronaut/default.nix
index 9b24fc7573c33ffe5041380fcd0bbedc7d527c44..fd9fa5f02dae3acfe854d1c178dcc90c9aa7455d 100644
--- a/pkgs/development/tools/micronaut/default.nix
+++ b/pkgs/development/tools/micronaut/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "micronaut";
- version = "1.2.5";
+ version = "1.2.6";
src = fetchzip {
url = "https://github.com/micronaut-projects/micronaut-core/releases/download/v${version}/${pname}-${version}.zip";
- sha256 = "1ka70cr6kznl68ilc42blzqk59gy20spkyqfn26n6zbk0jm5ssxv";
+ sha256 = "0y7qshg6v8s5rwi0fz9xpyhd1yhv8jrw2jhp276a30dfkglx19qn";
};
nativeBuildInputs = [ makeWrapper installShellFiles ];
diff --git a/pkgs/development/tools/misc/binutils/default.nix b/pkgs/development/tools/misc/binutils/default.nix
index 210659289d1e23359d8c86c020879ad47bb4a878..4b3e2cc3bede54889404e505361531c8aed8d539 100644
--- a/pkgs/development/tools/misc/binutils/default.nix
+++ b/pkgs/development/tools/misc/binutils/default.nix
@@ -1,11 +1,13 @@
{ stdenv, lib, buildPackages
-, fetchurl, zlib, autoreconfHook, gettext
+, fetchFromGitHub, fetchurl, zlib, autoreconfHook, gettext
# Enabling all targets increases output size to a multiple.
, withAllTargets ? false, libbfd, libopcodes
, enableShared ? true
, noSysDirs
, gold ? !stdenv.buildPlatform.isDarwin || stdenv.hostPlatform == stdenv.targetPlatform
, bison ? null
+, flex
+, texinfo
}:
let
@@ -20,16 +22,23 @@ let
# PATH to both be usable.
targetPrefix = lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform)
"${stdenv.targetPlatform.config}-";
+ vc4-binutils-src = fetchFromGitHub {
+ owner = "itszor";
+ repo = "binutils-vc4";
+ rev = "708acc851880dbeda1dd18aca4fd0a95b2573b36";
+ sha256 = "1kdrz6fki55lm15rwwamn74fnqpy0zlafsida2zymk76n3656c63";
+ };
+ # HACK to ensure that we preserve source from bootstrap binutils to not rebuild LLVM
+ normal-src = stdenv.__bootPackages.binutils-unwrapped.src or (fetchurl {
+ url = "mirror://gnu/binutils/${basename}.tar.bz2";
+ sha256 = "1l34hn1zkmhr1wcrgf0d4z7r3najxnw3cx2y2fk7v55zjlk3ik7z";
+ });
in
stdenv.mkDerivation {
name = targetPrefix + basename;
- # HACK to ensure that we preserve source from bootstrap binutils to not rebuild LLVM
- src = stdenv.__bootPackages.binutils-unwrapped.src or (fetchurl {
- url = "mirror://gnu/binutils/${basename}.tar.bz2";
- sha256 = "1l34hn1zkmhr1wcrgf0d4z7r3najxnw3cx2y2fk7v55zjlk3ik7z";
- });
+ src = if stdenv.targetPlatform.isVc4 then vc4-binutils-src else normal-src;
patches = [
# Make binutils output deterministic by default.
@@ -54,6 +63,8 @@ stdenv.mkDerivation {
# cross-compiling.
./always-search-rpath.patch
+ ] ++ lib.optionals (!stdenv.targetPlatform.isVc4)
+ [
# https://sourceware.org/bugzilla/show_bug.cgi?id=22868
./gold-symbol-visibility.patch
@@ -69,9 +80,9 @@ stdenv.mkDerivation {
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [
bison
- ] ++ lib.optionals stdenv.targetPlatform.isiOS [
+ ] ++ (lib.optionals stdenv.targetPlatform.isiOS [
autoreconfHook
- ];
+ ]) ++ lib.optionals stdenv.targetPlatform.isVc4 [ texinfo flex ];
buildInputs = [ zlib gettext ];
inherit noSysDirs;
diff --git a/pkgs/development/tools/misc/ccls/default.nix b/pkgs/development/tools/misc/ccls/default.nix
index ec97d1bb75b35b1d03786d8399329103dcd9748b..8748cdf52b4f76bae01fa9d0fe218ff79bb58290 100644
--- a/pkgs/development/tools/misc/ccls/default.nix
+++ b/pkgs/development/tools/misc/ccls/default.nix
@@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
pname = "ccls";
- version = "0.20190823.4";
+ version = "0.20190823.5";
src = fetchFromGitHub {
owner = "MaskRay";
repo = "ccls";
rev = version;
- sha256 = "1aq8q32jdkhrdrsghk8sdb8y4si36hfavf7jq2yzbqinjx03y1n4";
+ sha256 = "0b2pkpzn576b92zcxpwchpkyw2fww6s69818rx4g9z34kzm35zy5";
};
nativeBuildInputs = [ cmake ];
diff --git a/pkgs/development/tools/misc/elfkickers/default.nix b/pkgs/development/tools/misc/elfkickers/default.nix
index c7eaafd9c7a84f5fa14c9c6e9d1dded08a0040f4..288e8bf9699851d12b833c4a4786623ec76326d2 100644
--- a/pkgs/development/tools/misc/elfkickers/default.nix
+++ b/pkgs/development/tools/misc/elfkickers/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "elfkickers";
- version = "3.1";
+ version = "3.1a";
src = fetchurl {
url = "http://www.muppetlabs.com/~breadbox/pub/software/ELFkickers-${version}.tar.gz";
- sha256 = "0n0sypjrdm3ramv0sby4sdh3i3j9d0ihadr951wa08ypdnq3yrkd";
+ sha256 = "02354yn1lh1dxny35ky2d0b44iq302krsqpwk5grr4glma00hhq6";
};
makeFlags = [ "CC=cc prefix=$(out)" ];
diff --git a/pkgs/development/tools/misc/mkcert/default.nix b/pkgs/development/tools/misc/mkcert/default.nix
index b9b1f83322d1f588f89803a05de413ac91714ef4..ae0a4a6dfe21ce6a843c8dd15dd07e017f14cdb5 100644
--- a/pkgs/development/tools/misc/mkcert/default.nix
+++ b/pkgs/development/tools/misc/mkcert/default.nix
@@ -1,17 +1,23 @@
-{ lib, buildGoPackage, fetchFromGitHub }:
+{ lib, buildGoModule, fetchFromGitHub }:
-buildGoPackage rec {
+buildGoModule rec {
pname = "mkcert";
- version = "1.4.0";
+ version = "1.4.1";
src = fetchFromGitHub {
owner = "FiloSottile";
repo = pname;
rev = "v${version}";
- sha256 = "0xcmvzh5lq8vs3b0f1zw645fxdr8471v7prl1656q02v38f58ly7";
+ sha256 = "0w1ji96hbd3anzsz82xjcafsqhgyz7c7n41rsq60yrllwbj5946f";
};
+ modSha256 = "13a3snhcqq3a9lfy9zfr2rx10mf2ymvhmds1bg8n4m7lbwnzm4fg";
+
goPackagePath = "github.com/FiloSottile/mkcert";
+ buildFlagsArray = ''
+ -ldflags=
+ -X ${goPackagePath}/main.Version=${version}
+ '';
meta = with lib; {
homepage = https://github.com/FiloSottile/mkcert;
diff --git a/pkgs/development/tools/misc/uncrustify/default.nix b/pkgs/development/tools/misc/uncrustify/default.nix
index d85cd1a821648bf19066543d246227e3b934f027..01ed660301883169f1fb70e24c63f4f4a7d80758 100644
--- a/pkgs/development/tools/misc/uncrustify/default.nix
+++ b/pkgs/development/tools/misc/uncrustify/default.nix
@@ -1,18 +1,18 @@
-{ stdenv, fetchFromGitHub, cmake }:
+{ stdenv, fetchFromGitHub, cmake, python }:
stdenv.mkDerivation rec {
name = "${product}-${version}";
product = "uncrustify";
- version = "0.67";
+ version = "0.70.1";
src = fetchFromGitHub {
owner = product;
repo = product;
rev = name;
- sha256 = "0hf8c93aj1hjg6cc77x6p7nf7ddp8mn4b6a9gpcrvmx8w81afpd3";
+ sha256 = "0zr3vxhd947zdvwccw3cj0vsriaawcpfjq3x94v9887hsi8fk87b";
};
- nativeBuildInputs = [ cmake ];
+ nativeBuildInputs = [ cmake python ];
enableParallelBuilding = true;
diff --git a/pkgs/development/tools/ofono-phonesim/default.nix b/pkgs/development/tools/ofono-phonesim/default.nix
index cc33b675954a5efcc9073520e73c0cf2880083e9..e62827c67b49c8a3411dad16e35f075774822c8d 100644
--- a/pkgs/development/tools/ofono-phonesim/default.nix
+++ b/pkgs/development/tools/ofono-phonesim/default.nix
@@ -1,27 +1,21 @@
{ stdenv
, mkDerivation
-, fetchFromGitHub
+, fetchgit
, autoreconfHook
, pkgconfig
, qtbase
-, qtscript
}:
mkDerivation {
pname = "ofono-phonesim";
- version = "unstable-2014-04-22";
+ version = "unstable-2019-11-18";
- src = fetchFromGitHub {
- owner = "jpakkane";
- repo = "ofono-phonesim";
- rev = "baa41f04e6a86c5289d7185cad8a6f08a5c3ed0a";
- sha256 = "0ywalvvf3dfbn81ml21gji1n2hywh2nmakynakjzyyskcqjn2wiz";
+ src = fetchgit {
+ url = "git://git.kernel.org/pub/scm/network/ofono/phonesim.git";
+ rev = "adf231a84cd3708b825dc82c56e841dd7e3b4541";
+ sha256 = "sha256:1840914sz46l8h2jwa0lymw6dvgj72wq9bhp3k4v4rk6masbf6hp";
};
- patches = [
- ./qt5-compat.patch
- ];
-
nativeBuildInputs = [
autoreconfHook
pkgconfig
@@ -29,7 +23,6 @@ mkDerivation {
buildInputs = [
qtbase
- qtscript
];
makeFlags = [
@@ -39,7 +32,7 @@ mkDerivation {
meta = with stdenv.lib; {
description = "Phone Simulator for modem testing";
- homepage = https://github.com/jpakkane/ofono-phonesim;
+ homepage = "https://01.org/ofono";
license = licenses.gpl2;
maintainers = with maintainers; [ jtojnar ];
platforms = platforms.linux;
diff --git a/pkgs/development/tools/ofono-phonesim/qt5-compat.patch b/pkgs/development/tools/ofono-phonesim/qt5-compat.patch
deleted file mode 100644
index e2e9dcebd6bc46df51328e2bec3b30cf391cfa89..0000000000000000000000000000000000000000
--- a/pkgs/development/tools/ofono-phonesim/qt5-compat.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-diff --git a/configure.ac b/configure.ac
-index 2436292..993df87 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -21,18 +21,18 @@ AC_ARG_ENABLE(optimization, AC_HELP_STRING([--disable-optimization],
- fi
- ])
-
--PKG_CHECK_MODULES(QT, QtCore QtGui QtXml QtNetwork QtScript QtDBus, dummy=yes,
-+PKG_CHECK_MODULES(QT, Qt5Core Qt5Gui Qt5Widgets Qt5Xml Qt5Network Qt5Script Qt5DBus, dummy=yes,
- AC_MSG_ERROR(Qt is required))
- AC_SUBST(QT_CFLAGS)
- AC_SUBST(QT_LIBS)
-
- AC_MSG_CHECKING(for moc)
--MOC="`$PKG_CONFIG --variable=moc_location QtCore`"
-+MOC="`$PKG_CONFIG --variable=moc_location Qt5Core`"
- AC_SUBST(MOC)
- AC_MSG_RESULT($MOC)
-
- AC_MSG_CHECKING(for uic)
--UIC="`$PKG_CONFIG --variable=uic_location QtCore`"
-+UIC="`$PKG_CONFIG --variable=uic_location Qt5Core`"
- AC_SUBST(UIC)
- AC_MSG_RESULT($UIC)
-
-diff --git a/src/control.cpp b/src/control.cpp
-index e1838a6..880da68 100644
---- a/src/control.cpp
-+++ b/src/control.cpp
-@@ -22,7 +22,7 @@
- #include
- #include
- #include
--#include
-+#include
- #include
- #include
- #include
-@@ -31,7 +31,7 @@
- #include
- #include
- #include
--#include
-+#include
-
- #define TWO_BYTE_MAX 65535
- #define FOUR_CHAR 4
diff --git a/pkgs/development/tools/overcommit/Gemfile b/pkgs/development/tools/overcommit/Gemfile
new file mode 100644
index 0000000000000000000000000000000000000000..39325c7561b3e56e756e3984701ab11393054780
--- /dev/null
+++ b/pkgs/development/tools/overcommit/Gemfile
@@ -0,0 +1,2 @@
+source 'https://rubygems.org'
+gem 'overcommit'
diff --git a/pkgs/development/tools/overcommit/Gemfile.lock b/pkgs/development/tools/overcommit/Gemfile.lock
new file mode 100644
index 0000000000000000000000000000000000000000..bf88c1bb148323287595816a8bb428a6f7aa2e43
--- /dev/null
+++ b/pkgs/development/tools/overcommit/Gemfile.lock
@@ -0,0 +1,17 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ childprocess (3.0.0)
+ iniparse (1.4.4)
+ overcommit (0.51.0)
+ childprocess (>= 0.6.3, < 4)
+ iniparse (~> 1.4)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ overcommit
+
+BUNDLED WITH
+ 1.17.3
diff --git a/pkgs/development/tools/overcommit/default.nix b/pkgs/development/tools/overcommit/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..84529ca4b6fe1a29b363d73e1baff73eea4182bf
--- /dev/null
+++ b/pkgs/development/tools/overcommit/default.nix
@@ -0,0 +1,15 @@
+{ lib, bundlerApp }:
+
+bundlerApp {
+ pname = "overcommit";
+ gemdir = ./.;
+ exes = [ "overcommit" ];
+
+ meta = with lib; {
+ description = "Tool to manage and configure Git hooks";
+ homepage = https://github.com/sds/overcommit;
+ license = licenses.mit;
+ maintainers = with maintainers; [ filalex77 ];
+ platforms = platforms.unix;
+ };
+}
diff --git a/pkgs/development/tools/overcommit/gemset.nix b/pkgs/development/tools/overcommit/gemset.nix
new file mode 100644
index 0000000000000000000000000000000000000000..b7d58c0ea708139f2260f6e0075f89136e6e184d
--- /dev/null
+++ b/pkgs/development/tools/overcommit/gemset.nix
@@ -0,0 +1,33 @@
+{
+ childprocess = {
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1ic028k8xgm2dds9mqnvwwx3ibaz32j8455zxr9f4bcnviyahya5";
+ type = "gem";
+ };
+ version = "3.0.0";
+ };
+ iniparse = {
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1xbik6838gfh5yq9ahh1m7dzszxlk0g7x5lvhb8amk60mafkrgws";
+ type = "gem";
+ };
+ version = "1.4.4";
+ };
+ overcommit = {
+ dependencies = ["childprocess" "iniparse"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0fjrrm9dy9mry5ss96sizn6xcphia5l54ydz9c31phipm61nwmfk";
+ type = "gem";
+ };
+ version = "0.51.0";
+ };
+}
\ No newline at end of file
diff --git a/pkgs/development/tools/parsing/byacc/default.nix b/pkgs/development/tools/parsing/byacc/default.nix
index 23ea39c6fa9fcd3a3dc58b187a8d698644d6a0a2..8542d41519649cdc34e14d1fa9b70b7e0f982383 100644
--- a/pkgs/development/tools/parsing/byacc/default.nix
+++ b/pkgs/development/tools/parsing/byacc/default.nix
@@ -2,14 +2,14 @@
stdenv.mkDerivation rec {
pname = "byacc";
- version = "20190617";
+ version = "20191119";
src = fetchurl {
urls = [
"ftp://ftp.invisible-island.net/byacc/${pname}-${version}.tgz"
"https://invisible-mirror.net/archives/byacc/${pname}-${version}.tgz"
];
- sha256 = "13ai0az00c86s4k94cpgh48nf5dfccpvccpw635z42wjgcb6hy7q";
+ sha256 = "0ch8y9g7b3lnw1r76p65gvdnbpwd60d4pghgadid122fcq7566p2";
};
configureFlags = [
diff --git a/pkgs/development/tools/purescript/spago/default.nix b/pkgs/development/tools/purescript/spago/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..6879d6875cc42786019ec4792dc0d070231eb68e
--- /dev/null
+++ b/pkgs/development/tools/purescript/spago/default.nix
@@ -0,0 +1,47 @@
+{ mkDerivation, aeson, aeson-pretty, ansi-terminal, async-pool
+, base, bower-json, bytestring, Cabal, containers, dhall, directory
+, either, exceptions, extra, fetchgit, file-embed, filepath, foldl
+, fsnotify, github, Glob, hpack, hspec, hspec-discover
+, hspec-megaparsec, http-client, http-conduit, lens-family-core
+, megaparsec, mtl, network-uri, open-browser, optparse-applicative
+, prettyprinter, process, QuickCheck, retry, rio, rio-orphans, safe
+, semver-range, stdenv, stm, tar, template-haskell, temporary, text
+, time, transformers, turtle, unliftio, unordered-containers
+, vector, versions, zlib
+}:
+mkDerivation {
+ pname = "spago";
+ version = "0.12.1.0";
+ src = fetchgit {
+ url = "https://github.com/spacchetti/spago";
+ sha256 = "17xgp75yxangmb65sv3raysad31kmc109c4q4aj9dgcdqz23fcn2";
+ rev = "a4679880402ead320f8be2f091b25d30e27b62df";
+ fetchSubmodules = true;
+ };
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ aeson aeson-pretty ansi-terminal async-pool base bower-json
+ bytestring Cabal containers dhall directory either exceptions
+ file-embed filepath foldl fsnotify github Glob http-client
+ http-conduit lens-family-core megaparsec mtl network-uri
+ open-browser prettyprinter process retry rio rio-orphans safe
+ semver-range stm tar template-haskell temporary text time
+ transformers turtle unliftio unordered-containers vector versions
+ zlib
+ ];
+ libraryToolDepends = [ hpack ];
+ executableHaskellDepends = [
+ aeson-pretty async-pool base bytestring containers dhall filepath
+ github lens-family-core megaparsec optparse-applicative process
+ retry stm temporary text time turtle vector
+ ];
+ testHaskellDepends = [
+ base containers directory extra hspec hspec-megaparsec megaparsec
+ process QuickCheck temporary text turtle versions
+ ];
+ testToolDepends = [ hspec-discover ];
+ prePatch = "hpack";
+ homepage = "https://github.com/spacchetti/spago#readme";
+ license = stdenv.lib.licenses.bsd3;
+}
diff --git a/pkgs/development/tools/richgo/default.nix b/pkgs/development/tools/richgo/default.nix
index 507402deed6604f64b720a478a12618255c277e3..871ea0dc67a29e877ec3cc12ac3846a8dbc9918a 100644
--- a/pkgs/development/tools/richgo/default.nix
+++ b/pkgs/development/tools/richgo/default.nix
@@ -1,21 +1,24 @@
-{ stdenv, buildGoPackage, fetchFromGitHub }:
+{ stdenv, buildGoModule, fetchFromGitHub }:
-buildGoPackage rec {
+buildGoModule rec {
pname = "richgo";
- version = "0.2.8";
- goPackagePath = "github.com/kyoh86/richgo";
+ version = "0.3.3";
src = fetchFromGitHub {
owner = "kyoh86";
repo = "richgo";
rev = "v${version}";
- sha256 = "0kbwl3a2gima23zmahk0jxp7wga91bs927a1rp5xl889ikng1n4j";
+ sha256 = "07ipa54c4mzm6yizgvkm6x5yim1xgv3f0xdxg35qziacdfcwd6m4";
};
+ modSha256 = "12wbjfqy6qnapm3f2pz1ci1gvc0y8kzr8c99kihyh1jv9r3zy1wz";
+
+ subPackages = [ "." ];
+
meta = with stdenv.lib; {
description = "Enrich `go test` outputs with text decorations.";
homepage = https://github.com/kyoh86/richgo;
- license = licenses.unlicense; # NOTE: The project switched to MIT in https://git.io/fA1ik
+ license = licenses.mit;
maintainers = with maintainers; [ rvolosatovs ];
};
}
diff --git a/pkgs/development/tools/rust/cargo-expand/default.nix b/pkgs/development/tools/rust/cargo-expand/default.nix
index 43b3a88f6ee3d5aeb9883263e7a13a4d860b7be9..41fc993c62f493161eb05429ea08d312e972d620 100644
--- a/pkgs/development/tools/rust/cargo-expand/default.nix
+++ b/pkgs/development/tools/rust/cargo-expand/default.nix
@@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
pname = "cargo-expand";
- version = "0.4.15";
+ version = "0.4.16";
src = fetchFromGitHub {
owner = "dtolnay";
repo = pname;
rev = version;
- sha256 = "155b4azkrr0qfg52mk7934zavwsbl28i28hi1inb23d509hrr5ky";
+ sha256 = "0cf539y20hlwxbk0zfs1and99hkb0fqg7m3a6dfd80hwx0dm0xmx";
};
- cargoSha256 = "050q4rk1x3jghinxg6gszi993a6zbg41vg535dlvvsqi36l278qc";
+ cargoSha256 = "1bspciy7sfx887hwxmckrnjy7b6kpy6g51yraw25yl302mzzng21";
buildInputs = [ llvmPackages.libclang ]
++ stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
diff --git a/pkgs/development/tools/rust/cargo-generate/default.nix b/pkgs/development/tools/rust/cargo-generate/default.nix
index 970c641fe494beea86b7c7d3ce3e73bbc4fccfb1..c49739165aa1ba9def44e4923e29070113ab19d5 100644
--- a/pkgs/development/tools/rust/cargo-generate/default.nix
+++ b/pkgs/development/tools/rust/cargo-generate/default.nix
@@ -2,23 +2,27 @@
rustPlatform.buildRustPackage rec {
pname = "cargo-generate";
- version = "0.4.0";
+ version = "0.5.0";
src = fetchFromGitHub {
owner = "ashleygwilliams";
repo = "cargo-generate";
rev = "v${version}";
- sha256 = "09276jrb0a735v6p06wz94kbk8bblwpca13vpvy8n0jjmqack2xb";
+ sha256 = "07hklya22ixklb44f3qp6yyh5d03a7rjcn0g76icqr36hvcjyjjh";
};
- cargoSha256 = "1gbxfmhwzpxm0gs3zwzs010j0ndi5aw6xsvvngg0h1lpwg9ypnbr";
+ cargoSha256 = "1rsk9j1ij53dz4gakxwdppgmv12lmyj0ihh9qypdbgskvyq3a2j9";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openssl ]
++ stdenv.lib.optionals stdenv.isDarwin [ Security libiconv curl ];
- doCheck = false;
+ preCheck = ''
+ export HOME=$(mktemp -d) USER=nixbld
+ git config --global user.name Nixbld
+ git config --global user.email nixbld@localhost.localnet
+ '';
meta = with stdenv.lib; {
description = "cargo, make me a project";
diff --git a/pkgs/development/tools/rust/cargo-make/Cargo.lock b/pkgs/development/tools/rust/cargo-make/Cargo.lock
index e4c01baff9f3e48ecfb573586dcbe20cc370921c..54d32639f886861adf36e27149ece690ba6f733f 100644
--- a/pkgs/development/tools/rust/cargo-make/Cargo.lock
+++ b/pkgs/development/tools/rust/cargo-make/Cargo.lock
@@ -107,13 +107,13 @@ dependencies = [
[[package]]
name = "cargo-make"
-version = "0.23.0"
+version = "0.24.0"
dependencies = [
"ci_info 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
"colored 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
"dirs 2.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "envmnt 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "envmnt 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)",
"fern 0.5.8 (registry+https://github.com/rust-lang/crates.io-index)",
"glob 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"indexmap 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -153,7 +153,7 @@ name = "ci_info"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "envmnt 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "envmnt 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
@@ -223,7 +223,7 @@ dependencies = [
[[package]]
name = "envmnt"
-version = "0.7.0"
+version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"indexmap 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -669,7 +669,7 @@ dependencies = [
"checksum crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)" = "04973fa96e96579258a5091af6003abde64af786b860f18622b82e026cca60e6"
"checksum dirs 2.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "13aea89a5c93364a98e9b37b2fa237effbb694d5cfe01c5b70941f7eb087d5e3"
"checksum dirs-sys 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "afa0b23de8fd801745c471deffa6e12d248f962c9fd4b4c33787b055599bde7b"
-"checksum envmnt 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7760c979bc8a1f3319ee72ee71df5eaaf02ada9daaa80ae257011cab0f3a25ef"
+"checksum envmnt 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)" = "24c6fdfb01bf7386076c5f655278306bbbed4ecc8abe30981217a11079fe3f2b"
"checksum failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "f8273f13c977665c5db7eb2b99ae520952fe5ac831ae4cd09d80c4c7042b5ed9"
"checksum failure_derive 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "0bc225b78e0391e4b8683440bf2e63c2deeeb2ce5189eab46e2b68c6d3725d08"
"checksum fern 0.5.8 (registry+https://github.com/rust-lang/crates.io-index)" = "29d26fa0f4d433d1956746e66ec10d6bf4d6c8b93cd39965cceea7f7cc78c7dd"
diff --git a/pkgs/development/tools/rust/cargo-make/default.nix b/pkgs/development/tools/rust/cargo-make/default.nix
index 0685c11ddfafcd0f5d1c71eb7546b9aa706423d9..795329e3fe964dea54adb31eed779b547b45a0a8 100644
--- a/pkgs/development/tools/rust/cargo-make/default.nix
+++ b/pkgs/development/tools/rust/cargo-make/default.nix
@@ -2,7 +2,7 @@
rustPlatform.buildRustPackage rec {
pname = "cargo-make";
- version = "0.23.0";
+ version = "0.24.0";
src =
let
@@ -10,7 +10,7 @@ rustPlatform.buildRustPackage rec {
owner = "sagiegurari";
repo = pname;
rev = version;
- sha256 = "1g62k0g9b5m8jaxxkbx0d59k8yb3di59l3p9m32hx617rn4k5wjd";
+ sha256 = "1sdc9qkclvv99j7ag038g8h1kjvfjxxj16xy0cqn8wvyljrqn3mc";
};
in
runCommand "cargo-make-src" {} ''
@@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
- cargoSha256 = "1mfsjxvyybq9d5702habxq5abcp9h11qx0ci2rqs2rgkbcnksk98";
+ cargoSha256 = "1hyc275drl5n0kcvkxd3blp77r8nck946bmlnnzym8cj50i5zbq1";
# Some tests fail because they need network access.
# However, Travis ensures a proper build.
diff --git a/pkgs/development/tools/rust/cargo-watch/default.nix b/pkgs/development/tools/rust/cargo-watch/default.nix
index 9f8577dc19de60b00ea15a7d6f271dd0e791b954..55721df22d7fdf77a9fb72ee080552a64e32924d 100644
--- a/pkgs/development/tools/rust/cargo-watch/default.nix
+++ b/pkgs/development/tools/rust/cargo-watch/default.nix
@@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
pname = "cargo-watch";
- version = "7.2.2";
+ version = "7.3.0";
src = fetchFromGitHub {
owner = "passcod";
repo = pname;
rev = "v${version}";
- sha256 = "1ld45xqmmi13x1wgwm9fa7sck2jiw34pr9xzdwrx5ygl81hf3plv";
+ sha256 = "0l1aalb8ans7scljrza7akhi821jbpqgn6sa8kgd8sys83r93fkj";
};
- cargoSha256 = "1g8qg7nicdan0w39rfzin573lgx3sbfr3b9hn8k3vgyq0jg6ywh7";
+ cargoSha256 = "0dlbln8nsvmrc9p99bl6yni57fravicias9gbv88fg7az904ilzz";
buildInputs = lib.optional stdenv.isDarwin CoreServices;
diff --git a/pkgs/development/tools/simavr/default.nix b/pkgs/development/tools/simavr/default.nix
index 71f488c760a4a0a30392ec445120cb8f7bf435d4..c7bc96871f8d3e7766cc27470378c84032446c80 100644
--- a/pkgs/development/tools/simavr/default.nix
+++ b/pkgs/development/tools/simavr/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, libelf, which, pkgconfig, freeglut
, avrgcc, avrlibc
-, libGLU_combined
+, libGLU, libGL
, GLUT }:
stdenv.mkDerivation rec {
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
];
nativeBuildInputs = [ which pkgconfig avrgcc ];
- buildInputs = [ libelf freeglut libGLU_combined ]
+ buildInputs = [ libelf freeglut libGLU libGL ]
++ stdenv.lib.optional stdenv.isDarwin GLUT;
# Hack to avoid TMPDIR in RPATHs.
diff --git a/pkgs/development/tools/wally-cli/default.nix b/pkgs/development/tools/wally-cli/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..b7333e456442b9490d827136f45781e1ab850fb7
--- /dev/null
+++ b/pkgs/development/tools/wally-cli/default.nix
@@ -0,0 +1,34 @@
+{ lib, buildGoPackage, fetchFromGitHub, pkg-config, libusb1 }:
+
+buildGoPackage rec {
+ pname = "wally-cli";
+ version = "1.1.1";
+
+ goPackagePath = "github.com/zsa/wally";
+ subPackages = [ "cli" ];
+
+ nativeBuildInputs = [
+ pkg-config
+ libusb1
+ ];
+
+ src = fetchFromGitHub {
+ owner = "zsa";
+ repo = "wally";
+ rev = "68960e452ee0f6c7142f5008d4b1cdc6284d3de7";
+ sha256 = "122m5v7s5wqlshyk2salmd848lqs4rrz54d2ap11ay61kijm0bs2";
+ };
+
+ postInstall = ''
+ mv $bin/bin/cli $bin/bin/wally
+ '';
+
+ goDeps = ./deps.nix;
+
+ meta = with lib; {
+ description = "A tool to flash firmware to mechanical keyboards";
+ homepage = https://ergodox-ez.com/pages/wally-planck;
+ license = licenses.mit;
+ maintainers = [ maintainers.spacekookie ];
+ };
+}
diff --git a/pkgs/development/tools/wally-cli/deps.nix b/pkgs/development/tools/wally-cli/deps.nix
new file mode 100644
index 0000000000000000000000000000000000000000..8edac40c0d57be93315ae74a878d0462b66e8af8
--- /dev/null
+++ b/pkgs/development/tools/wally-cli/deps.nix
@@ -0,0 +1,66 @@
+# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
+[
+ {
+ goPackagePath = "github.com/caarlos0/spin";
+ fetch = {
+ type = "git";
+ url = "https://github.com/caarlos0/spin";
+ rev = "950231d3237faf48da965375e65a00c224bcb4dc";
+ sha256 = "1yz987f86qwx2avyp1bmi5y35h8bbfgp3z1fipqpjlvfq8m7lf8w";
+ };
+ }
+ {
+ goPackagePath = "github.com/google/gousb";
+ fetch = {
+ type = "git";
+ url = "https://github.com/google/gousb";
+ rev = "18f4c1d8a750878c4f86ac3d7319b8aa462a79f9";
+ sha256 = "1i7ffkq395x0v1186j9bhfgy67wlq6s840xkyx8wn87w55yd05rh";
+ };
+ }
+ {
+ goPackagePath = "github.com/logrusorgru/aurora";
+ fetch = {
+ type = "git";
+ url = "https://github.com/logrusorgru/aurora";
+ rev = "66b7ad493a23a2523bac50571522bbfe5b90a835";
+ sha256 = "06allslr29qdapv5j3fpyw9xklmb9fmya5jzybmakz9mwczm76nq";
+ };
+ }
+ {
+ goPackagePath = "github.com/marcinbor85/gohex";
+ fetch = {
+ type = "git";
+ url = "https://github.com/marcinbor85/gohex";
+ rev = "7a43cd876e46e0f6ddc553f10f91731a78e6e949";
+ sha256 = "1nzy1hk7blawq4skycj330ac3kfwh0xr6xd7s3y09hsxfzcv4p9v";
+ };
+ }
+ {
+ goPackagePath = "github.com/mattn/go-runewidth";
+ fetch = {
+ type = "git";
+ url = "https://github.com/mattn/go-runewidth";
+ rev = "f93a0d58d5fd95e53f82782d07bb0c79d23e1290";
+ sha256 = "1sq97q71vgwnbg1fphsmqrzkbfn6mjal6d8a3qgwv4nbgppwaz25";
+ };
+ }
+ {
+ goPackagePath = "golang.org/x/sys";
+ fetch = {
+ type = "git";
+ url = "https://go.googlesource.com/sys";
+ rev = "f068ffe820e46336f56dfca7777430582d6e507b";
+ sha256 = "14qvaq9wcrm7mgyra4h9jl8ssfcxyygi1hraq3cmf118961m90zn";
+ };
+ }
+ {
+ goPackagePath = "gopkg.in/cheggaaa/pb.v1";
+ fetch = {
+ type = "git";
+ url = "https://gopkg.in/cheggaaa/pb.v1";
+ rev = "f907f6f5dd81f77c2bbc1cde92e4c5a04720cb11";
+ sha256 = "13a66cqbpdif804qj12z9ad8r24va9q41gfk71qbc4zg1wsxs3rh";
+ };
+ }
+]
diff --git a/pkgs/development/tools/wasm-bindgen-cli/0001-Add-cargo.lock-for-rustPlatform.buildRustPackage-in-.patch b/pkgs/development/tools/wasm-bindgen-cli/0001-Add-cargo.lock-for-0.2.55.patch
similarity index 75%
rename from pkgs/development/tools/wasm-bindgen-cli/0001-Add-cargo.lock-for-rustPlatform.buildRustPackage-in-.patch
rename to pkgs/development/tools/wasm-bindgen-cli/0001-Add-cargo.lock-for-0.2.55.patch
index e564717a56f066260132cf1423b2ea550974a22f..3866483f9ed60eecbef7be2fe332b184700f13dc 100644
--- a/pkgs/development/tools/wasm-bindgen-cli/0001-Add-cargo.lock-for-rustPlatform.buildRustPackage-in-.patch
+++ b/pkgs/development/tools/wasm-bindgen-cli/0001-Add-cargo.lock-for-0.2.55.patch
@@ -1,26 +1,26 @@
-From 3d3c33a610856b861204ccb111777e9edd8799b8 Mon Sep 17 00:00:00 2001
+From 26c538a9da9047597f9fd437d8b83502aca3f932 Mon Sep 17 00:00:00 2001
From: Maximilian Bosch
-Date: Thu, 3 Oct 2019 22:26:12 +0200
-Subject: [PATCH] Add cargo.lock for `rustPlatform.buildRustPackage` in nixpkgs
+Date: Tue, 26 Nov 2019 22:40:30 +0100
+Subject: [PATCH] Add cargo.lock for 0.2.55
---
- Cargo.lock | 2221 ++++++++++++++++++++++++++++++++++++++++++++++++++++
- 1 file changed, 2221 insertions(+)
+ Cargo.lock | 2237 ++++++++++++++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 2237 insertions(+)
create mode 100644 Cargo.lock
diff --git a/Cargo.lock b/Cargo.lock
new file mode 100644
-index 00000000..d7d32a06
+index 00000000..f256688d
--- /dev/null
+++ b/Cargo.lock
-@@ -0,0 +1,2221 @@
+@@ -0,0 +1,2237 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+[[package]]
+name = "add"
+version = "0.1.0"
+dependencies = [
-+ "wasm-bindgen 0.2.51",
++ "wasm-bindgen 0.2.55",
+]
+
+[[package]]
@@ -37,17 +37,19 @@ index 00000000..d7d32a06
+]
+
+[[package]]
++name = "anyhow"
++version = "1.0.23"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
+name = "arrayref"
+version = "0.3.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
+name = "arrayvec"
-+version = "0.4.11"
++version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
-+dependencies = [
-+ "nodrop 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
-+]
+
+[[package]]
+name = "ascii"
@@ -80,9 +82,9 @@ index 00000000..d7d32a06
+version = "0.7.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde_derive 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
++ "num-traits 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde_derive 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
+ "toml 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
@@ -92,7 +94,7 @@ index 00000000..d7d32a06
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "escargot 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "predicates 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "predicates 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "predicates-core 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "predicates-tree 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
@@ -102,33 +104,33 @@ index 00000000..d7d32a06
+version = "0.2.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "autocfg"
-+version = "0.1.6"
++version = "0.1.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
+name = "backtrace"
-+version = "0.3.38"
++version = "0.3.40"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "backtrace-sys 0.1.31 (registry+https://github.com/rust-lang/crates.io-index)",
++ "backtrace-sys 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)",
+ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rustc-demangle 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "backtrace-sys"
-+version = "0.1.31"
++version = "0.1.32"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "cc 1.0.45 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cc 1.0.47 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -137,7 +139,7 @@ index 00000000..d7d32a06
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "safemem 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "safemem 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -155,16 +157,16 @@ index 00000000..d7d32a06
+
+[[package]]
+name = "bitflags"
-+version = "1.2.0"
++version = "1.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
+name = "blake2b_simd"
-+version = "0.5.8"
++version = "0.5.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "arrayref 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "arrayvec 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)",
++ "arrayvec 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "constant_time_eq 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
@@ -174,7 +176,7 @@ index 00000000..d7d32a06
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "safemem 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "safemem 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -189,25 +191,24 @@ index 00000000..d7d32a06
+
+[[package]]
+name = "c2-chacha"
-+version = "0.2.2"
++version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "ppv-lite86 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "ppv-lite86 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "canvas"
+version = "0.1.0"
+dependencies = [
-+ "js-sys 0.3.28",
-+ "wasm-bindgen 0.2.51",
-+ "web-sys 0.3.28",
++ "js-sys 0.3.32",
++ "wasm-bindgen 0.2.55",
++ "web-sys 0.3.32",
+]
+
+[[package]]
+name = "cc"
-+version = "1.0.45"
++version = "1.0.47"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
@@ -219,17 +220,16 @@ index 00000000..d7d32a06
+name = "char"
+version = "0.1.0"
+dependencies = [
-+ "wasm-bindgen 0.2.51",
++ "wasm-bindgen 0.2.55",
+]
+
+[[package]]
+name = "chrono"
-+version = "0.4.9"
++version = "0.4.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
+ "num-integer 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
++ "num-traits 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)",
+ "time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
@@ -242,9 +242,9 @@ index 00000000..d7d32a06
+name = "closures"
+version = "0.1.0"
+dependencies = [
-+ "js-sys 0.3.28",
-+ "wasm-bindgen 0.2.51",
-+ "web-sys 0.3.28",
++ "js-sys 0.3.32",
++ "wasm-bindgen 0.2.55",
++ "web-sys 0.3.32",
+]
+
+[[package]]
@@ -252,7 +252,7 @@ index 00000000..d7d32a06
+version = "0.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "bitflags 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -266,15 +266,15 @@ index 00000000..d7d32a06
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wasm-bindgen 0.2.51",
++ "wasm-bindgen 0.2.55",
+]
+
+[[package]]
+name = "console_log"
+version = "0.1.0"
+dependencies = [
-+ "wasm-bindgen 0.2.51",
-+ "web-sys 0.3.28",
++ "wasm-bindgen 0.2.55",
++ "web-sys 0.3.32",
+]
+
+[[package]]
@@ -284,32 +284,32 @@ index 00000000..d7d32a06
+
+[[package]]
+name = "crossbeam-deque"
-+version = "0.7.1"
++version = "0.7.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "crossbeam-epoch 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "crossbeam-epoch 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "crossbeam-epoch"
-+version = "0.7.2"
++version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "arrayvec 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)",
++ "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
+ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "memoffset 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "memoffset 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "scopeguard 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "crossbeam-queue"
-+version = "0.1.2"
++version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -322,14 +322,24 @@ index 00000000..d7d32a06
+]
+
+[[package]]
++name = "crossbeam-utils"
++version = "0.7.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
++ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
+name = "curl"
-+version = "0.4.24"
++version = "0.4.25"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "curl-sys 0.4.22 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
++ "curl-sys 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "openssl-probe 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "openssl-sys 0.9.50 (registry+https://github.com/rust-lang/crates.io-index)",
++ "openssl-sys 0.9.53 (registry+https://github.com/rust-lang/crates.io-index)",
+ "schannel 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
+ "socket2 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -337,14 +347,14 @@ index 00000000..d7d32a06
+
+[[package]]
+name = "curl-sys"
-+version = "0.4.22"
++version = "0.4.24"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "cc 1.0.45 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cc 1.0.47 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libz-sys 1.0.25 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "openssl-sys 0.9.50 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "pkg-config 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
++ "openssl-sys 0.9.53 (registry+https://github.com/rust-lang/crates.io-index)",
++ "pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)",
+ "vcpkg 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
+]
@@ -368,7 +378,7 @@ index 00000000..d7d32a06
+version = "1.0.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "redox_users 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
+]
@@ -380,7 +390,7 @@ index 00000000..d7d32a06
+dependencies = [
+ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
+ "strsim 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
@@ -388,8 +398,8 @@ index 00000000..d7d32a06
+name = "dom"
+version = "0.1.0"
+dependencies = [
-+ "wasm-bindgen 0.2.51",
-+ "web-sys 0.3.28",
++ "wasm-bindgen 0.2.55",
++ "web-sys 0.3.32",
+]
+
+[[package]]
@@ -407,7 +417,7 @@ index 00000000..d7d32a06
+
+[[package]]
+name = "env_logger"
-+version = "0.7.0"
++version = "0.7.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "atty 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -424,59 +434,59 @@ index 00000000..d7d32a06
+dependencies = [
+ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde_json 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde_json 1.0.42 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "failure"
-+version = "0.1.5"
++version = "0.1.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "backtrace 0.3.38 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "failure_derive 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "backtrace 0.3.40 (registry+https://github.com/rust-lang/crates.io-index)",
++ "failure_derive 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "failure_derive"
-+version = "0.1.5"
++version = "0.1.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "synstructure 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
++ "synstructure 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "fetch"
+version = "0.1.0"
+dependencies = [
-+ "js-sys 0.3.28",
-+ "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde_derive 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wasm-bindgen 0.2.51",
-+ "wasm-bindgen-futures 0.4.1",
-+ "web-sys 0.3.28",
++ "js-sys 0.3.32",
++ "serde 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde_derive 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
++ "wasm-bindgen 0.2.55",
++ "wasm-bindgen-futures 0.4.5",
++ "web-sys 0.3.32",
+]
+
+[[package]]
+name = "filetime"
-+version = "0.2.7"
++version = "0.2.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "float-cmp"
-+version = "0.4.0"
++version = "0.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
++ "num-traits 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -512,11 +522,11 @@ index 00000000..d7d32a06
+
+[[package]]
+name = "getrandom"
-+version = "0.1.12"
++version = "0.1.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "wasi 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
@@ -538,7 +548,7 @@ index 00000000..d7d32a06
+name = "guide-supported-types-examples"
+version = "0.1.0"
+dependencies = [
-+ "wasm-bindgen 0.2.51",
++ "wasm-bindgen 0.2.55",
+]
+
+[[package]]
@@ -546,14 +556,22 @@ index 00000000..d7d32a06
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "unicode-segmentation 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "unicode-segmentation 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "hello_world"
+version = "0.1.0"
+dependencies = [
-+ "wasm-bindgen 0.2.51",
++ "wasm-bindgen 0.2.55",
++]
++
++[[package]]
++name = "hermit-abi"
++version = "0.1.3"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -574,7 +592,7 @@ index 00000000..d7d32a06
+version = "2.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "rayon 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rayon 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -584,7 +602,7 @@ index 00000000..d7d32a06
+dependencies = [
+ "matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unicode-bidi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "unicode-normalization 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
++ "unicode-normalization 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -607,7 +625,7 @@ index 00000000..d7d32a06
+name = "import_js"
+version = "0.1.0"
+dependencies = [
-+ "wasm-bindgen 0.2.51",
++ "wasm-bindgen 0.2.55",
+]
+
+[[package]]
@@ -626,24 +644,24 @@ index 00000000..d7d32a06
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "rayon 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rayon 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "js-sys"
-+version = "0.3.28"
++version = "0.3.32"
+dependencies = [
-+ "wasm-bindgen 0.2.51",
-+ "wasm-bindgen-futures 0.4.1",
-+ "wasm-bindgen-test 0.3.1",
++ "wasm-bindgen 0.2.55",
++ "wasm-bindgen-futures 0.4.5",
++ "wasm-bindgen-test 0.3.5",
+]
+
+[[package]]
+name = "julia_set"
+version = "0.1.0"
+dependencies = [
-+ "wasm-bindgen 0.2.51",
-+ "web-sys 0.3.28",
++ "wasm-bindgen 0.2.55",
++ "web-sys 0.3.32",
+]
+
+[[package]]
@@ -658,7 +676,7 @@ index 00000000..d7d32a06
+
+[[package]]
+name = "libc"
-+version = "0.2.62"
++version = "0.2.65"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
@@ -666,9 +684,9 @@ index 00000000..d7d32a06
+version = "1.0.25"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "cc 1.0.45 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "pkg-config 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cc 1.0.47 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
++ "pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)",
+ "vcpkg 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
@@ -705,7 +723,7 @@ index 00000000..d7d32a06
+
+[[package]]
+name = "memoffset"
-+version = "0.5.1"
++version = "0.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -742,7 +760,7 @@ index 00000000..d7d32a06
+ "mime_guess 1.8.7 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "safemem 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "safemem 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "tempdir 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
+ "twoway 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
+]
@@ -751,15 +769,10 @@ index 00000000..d7d32a06
+name = "no-std"
+version = "0.1.0"
+dependencies = [
-+ "wasm-bindgen 0.2.51",
++ "wasm-bindgen 0.2.55",
+]
+
+[[package]]
-+name = "nodrop"
-+version = "0.1.13"
-+source = "registry+https://github.com/rust-lang/crates.io-index"
-+
-+[[package]]
+name = "nom"
+version = "4.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -778,8 +791,8 @@ index 00000000..d7d32a06
+version = "0.1.41"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "autocfg 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
++ "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
++ "num-traits 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -787,9 +800,9 @@ index 00000000..d7d32a06
+version = "0.1.39"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "autocfg 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
+ "num-integer 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
++ "num-traits 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -798,7 +811,7 @@ index 00000000..d7d32a06
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "num-integer 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
++ "num-traits 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -806,36 +819,37 @@ index 00000000..d7d32a06
+version = "0.1.43"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
++ "num-traits 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "num-traits"
-+version = "0.2.8"
++version = "0.2.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "autocfg 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "num_cpus"
-+version = "1.10.1"
++version = "1.11.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
++ "hermit-abi 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "openssl"
-+version = "0.10.25"
++version = "0.10.26"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "bitflags 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
+ "foreign-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "openssl-sys 0.9.50 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
++ "openssl-sys 0.9.53 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -848,19 +862,19 @@ index 00000000..d7d32a06
+version = "111.6.0+1.1.1d"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "cc 1.0.45 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cc 1.0.47 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "openssl-sys"
-+version = "0.9.50"
++version = "0.9.53"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "autocfg 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cc 1.0.45 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
++ "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cc 1.0.47 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "openssl-src 111.6.0+1.1.1d (registry+https://github.com/rust-lang/crates.io-index)",
-+ "pkg-config 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
++ "pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)",
+ "vcpkg 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
@@ -874,8 +888,8 @@ index 00000000..d7d32a06
+version = "0.1.0"
+dependencies = [
+ "humantime 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wasm-bindgen 0.2.51",
-+ "web-sys 0.3.28",
++ "wasm-bindgen 0.2.55",
++ "web-sys 0.3.32",
+]
+
+[[package]]
@@ -915,7 +929,7 @@ index 00000000..d7d32a06
+
+[[package]]
+name = "pkg-config"
-+version = "0.3.16"
++version = "0.3.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
@@ -931,16 +945,16 @@ index 00000000..d7d32a06
+
+[[package]]
+name = "ppv-lite86"
-+version = "0.2.5"
++version = "0.2.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
+name = "predicates"
-+version = "1.0.1"
++version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "difference 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "float-cmp 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "float-cmp 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "normalize-line-endings 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "predicates-core 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -970,7 +984,7 @@ index 00000000..d7d32a06
+
+[[package]]
+name = "proc-macro2"
-+version = "1.0.4"
++version = "1.0.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -994,7 +1008,7 @@ index 00000000..d7d32a06
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "proc-macro2 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -1003,7 +1017,7 @@ index 00000000..d7d32a06
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1016,7 +1030,7 @@ index 00000000..d7d32a06
+dependencies = [
+ "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
+]
@@ -1026,8 +1040,8 @@ index 00000000..d7d32a06
+version = "0.6.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "autocfg 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
++ "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_chacha 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_hc 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1044,8 +1058,8 @@ index 00000000..d7d32a06
+version = "0.7.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "getrandom 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
++ "getrandom 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_chacha 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_hc 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1056,7 +1070,7 @@ index 00000000..d7d32a06
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "autocfg 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
@@ -1065,7 +1079,7 @@ index 00000000..d7d32a06
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "c2-chacha 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "c2-chacha 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
@@ -1087,7 +1101,7 @@ index 00000000..d7d32a06
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "getrandom 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
++ "getrandom 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -1119,7 +1133,7 @@ index 00000000..d7d32a06
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
+]
@@ -1131,7 +1145,7 @@ index 00000000..d7d32a06
+dependencies = [
+ "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1142,7 +1156,7 @@ index 00000000..d7d32a06
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "autocfg 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
@@ -1156,24 +1170,24 @@ index 00000000..d7d32a06
+
+[[package]]
+name = "rayon"
-+version = "1.2.0"
++version = "1.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "crossbeam-deque 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "crossbeam-deque 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "rayon-core 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rayon-core 1.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "rayon-core"
-+version = "1.6.0"
++version = "1.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "crossbeam-deque 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "crossbeam-queue 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "crossbeam-deque 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "crossbeam-queue 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "num_cpus 1.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "num_cpus 1.11.1 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -1182,13 +1196,13 @@ index 00000000..d7d32a06
+dependencies = [
+ "console_error_panic_hook 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "futures-channel-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "js-sys 0.3.28",
-+ "rayon 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "rayon-core 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "js-sys 0.3.32",
++ "rayon 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rayon-core 1.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "raytracer 0.1.0 (git+https://github.com/alexcrichton/raytracer?branch=update-deps)",
-+ "wasm-bindgen 0.2.51",
-+ "wasm-bindgen-futures 0.4.1",
-+ "web-sys 0.3.28",
++ "wasm-bindgen 0.2.55",
++ "wasm-bindgen-futures 0.4.5",
++ "web-sys 0.3.32",
+]
+
+[[package]]
@@ -1197,8 +1211,8 @@ index 00000000..d7d32a06
+source = "git+https://github.com/alexcrichton/raytracer?branch=update-deps#42faa13859f7d8d47fd18be785c108003a207786"
+dependencies = [
+ "image 0.12.4 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde_derive 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde_derive 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -1219,7 +1233,7 @@ index 00000000..d7d32a06
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_os 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rust-argon2 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1253,8 +1267,8 @@ index 00000000..d7d32a06
+name = "request-animation-frame"
+version = "0.1.0"
+dependencies = [
-+ "wasm-bindgen 0.2.51",
-+ "web-sys 0.3.28",
++ "wasm-bindgen 0.2.55",
++ "web-sys 0.3.32",
+]
+
+[[package]]
@@ -1263,14 +1277,14 @@ index 00000000..d7d32a06
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "base64 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "chrono 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "filetime 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
++ "chrono 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)",
++ "filetime 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "multipart 0.15.4 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "num_cpus 1.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "num_cpus 1.11.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde_derive 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde_json 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde_derive 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde_json 1.0.42 (registry+https://github.com/rust-lang/crates.io-index)",
+ "sha1 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "term 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "threadpool 1.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1285,7 +1299,7 @@ index 00000000..d7d32a06
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "blake2b_simd 0.5.8 (registry+https://github.com/rust-lang/crates.io-index)",
++ "blake2b_simd 0.5.9 (registry+https://github.com/rust-lang/crates.io-index)",
+ "crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
@@ -1293,7 +1307,7 @@ index 00000000..d7d32a06
+name = "rust-duck-typed-interfaces"
+version = "0.1.0"
+dependencies = [
-+ "wasm-bindgen 0.2.51",
++ "wasm-bindgen 0.2.55",
+]
+
+[[package]]
@@ -1311,22 +1325,22 @@ index 00000000..d7d32a06
+
+[[package]]
+name = "ryu"
-+version = "1.0.0"
++version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
+name = "safemem"
-+version = "0.3.2"
++version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
+name = "sample"
+version = "0.1.0"
+dependencies = [
-+ "js-sys 0.3.28",
-+ "wasm-bindgen 0.2.51",
-+ "wasm-bindgen-futures 0.4.1",
-+ "wasm-bindgen-test 0.3.1",
++ "js-sys 0.3.32",
++ "wasm-bindgen 0.2.55",
++ "wasm-bindgen-futures 0.4.5",
++ "wasm-bindgen-test 0.3.5",
+]
+
+[[package]]
@@ -1368,30 +1382,30 @@ index 00000000..d7d32a06
+
+[[package]]
+name = "serde"
-+version = "1.0.101"
++version = "1.0.103"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "serde_derive 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde_derive 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "serde_derive"
-+version = "1.0.101"
++version = "1.0.103"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "proc-macro2 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "serde_json"
-+version = "1.0.40"
++version = "1.0.42"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "itoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "ryu 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
++ "ryu 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -1406,7 +1420,7 @@ index 00000000..d7d32a06
+
+[[package]]
+name = "smallvec"
-+version = "0.6.10"
++version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
@@ -1415,7 +1429,7 @@ index 00000000..d7d32a06
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
+]
@@ -1442,23 +1456,23 @@ index 00000000..d7d32a06
+
+[[package]]
+name = "syn"
-+version = "1.0.5"
++version = "1.0.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "proc-macro2 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "synstructure"
-+version = "0.10.2"
++version = "0.12.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
++ "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -1476,7 +1490,7 @@ index 00000000..d7d32a06
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)",
+ "remove_dir_all 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1514,7 +1528,7 @@ index 00000000..d7d32a06
+version = "1.7.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "num_cpus 1.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "num_cpus 1.11.1 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -1522,7 +1536,7 @@ index 00000000..d7d32a06
+version = "0.1.42"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)",
+ "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
+]
@@ -1533,7 +1547,7 @@ index 00000000..d7d32a06
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "ascii 0.8.7 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "chrono 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)",
++ "chrono 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)",
+ "chunked_transfer 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1545,9 +1559,9 @@ index 00000000..d7d32a06
+dependencies = [
+ "askama 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "console_error_panic_hook 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "js-sys 0.3.28",
-+ "wasm-bindgen 0.2.51",
-+ "web-sys 0.3.28",
++ "js-sys 0.3.32",
++ "wasm-bindgen 0.2.55",
++ "web-sys 0.3.32",
+]
+
+[[package]]
@@ -1555,15 +1569,15 @@ index 00000000..d7d32a06
+version = "0.4.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "toml"
-+version = "0.5.3"
++version = "0.5.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -1573,15 +1587,15 @@ index 00000000..d7d32a06
+
+[[package]]
+name = "trybuild"
-+version = "1.0.16"
++version = "1.0.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "glob 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde_json 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde_json 1.0.42 (registry+https://github.com/rust-lang/crates.io-index)",
+ "termcolor 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "toml 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)",
++ "toml 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -1596,7 +1610,7 @@ index 00000000..d7d32a06
+name = "typescript-tests"
+version = "0.1.0"
+dependencies = [
-+ "wasm-bindgen 0.2.51",
++ "wasm-bindgen 0.2.55",
+]
+
+[[package]]
@@ -1617,15 +1631,15 @@ index 00000000..d7d32a06
+
+[[package]]
+name = "unicode-normalization"
-+version = "0.1.8"
++version = "0.1.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "smallvec 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)",
++ "smallvec 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "unicode-segmentation"
-+version = "1.3.0"
++version = "1.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
@@ -1660,27 +1674,27 @@ index 00000000..d7d32a06
+
+[[package]]
+name = "walrus"
-+version = "0.12.0"
++version = "0.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "anyhow 1.0.23 (registry+https://github.com/rust-lang/crates.io-index)",
+ "id-arena 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "leb128 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "rayon 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "walrus-macro 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wasmparser 0.37.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rayon 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "walrus-macro 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "wasmparser 0.39.3 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "walrus-macro"
-+version = "0.12.0"
++version = "0.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "proc-macro2 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -1690,217 +1704,217 @@ index 00000000..d7d32a06
+
+[[package]]
+name = "wasm-bindgen"
-+version = "0.2.51"
++version = "0.2.55"
+dependencies = [
+ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "js-sys 0.3.28",
-+ "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde_derive 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde_json 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wasm-bindgen-futures 0.4.1",
-+ "wasm-bindgen-macro 0.2.51",
-+ "wasm-bindgen-test 0.3.1",
++ "js-sys 0.3.32",
++ "serde 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde_derive 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde_json 1.0.42 (registry+https://github.com/rust-lang/crates.io-index)",
++ "wasm-bindgen-futures 0.4.5",
++ "wasm-bindgen-macro 0.2.55",
++ "wasm-bindgen-test 0.3.5",
+ "wasm-bindgen-test-crate-a 0.1.0",
+ "wasm-bindgen-test-crate-b 0.1.0",
+]
+
+[[package]]
+name = "wasm-bindgen-anyref-xform"
-+version = "0.2.51"
++version = "0.2.55"
+dependencies = [
-+ "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "walrus 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "anyhow 1.0.23 (registry+https://github.com/rust-lang/crates.io-index)",
++ "walrus 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "wasm-bindgen-backend"
-+version = "0.2.51"
++version = "0.2.55"
+dependencies = [
+ "bumpalo 2.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "proc-macro2 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wasm-bindgen-shared 0.2.51",
++ "syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
++ "wasm-bindgen-shared 0.2.55",
+]
+
+[[package]]
+name = "wasm-bindgen-benchmark"
+version = "0.1.0"
+dependencies = [
-+ "wasm-bindgen 0.2.51",
-+ "web-sys 0.3.28",
++ "wasm-bindgen 0.2.55",
++ "web-sys 0.3.32",
+]
+
+[[package]]
+name = "wasm-bindgen-cli"
-+version = "0.2.51"
++version = "0.2.55"
+dependencies = [
++ "anyhow 1.0.23 (registry+https://github.com/rust-lang/crates.io-index)",
+ "assert_cmd 0.11.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "curl 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)",
++ "curl 0.4.25 (registry+https://github.com/rust-lang/crates.io-index)",
+ "docopt 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "env_logger 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "openssl 0.10.25 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "predicates 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "openssl 0.10.26 (registry+https://github.com/rust-lang/crates.io-index)",
++ "predicates 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rouille 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde_derive 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde_json 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "walrus 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wasm-bindgen-cli-support 0.2.51",
-+ "wasm-bindgen-shared 0.2.51",
++ "serde 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde_derive 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde_json 1.0.42 (registry+https://github.com/rust-lang/crates.io-index)",
++ "walrus 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "wasm-bindgen-cli-support 0.2.55",
++ "wasm-bindgen-shared 0.2.55",
+]
+
+[[package]]
+name = "wasm-bindgen-cli-support"
-+version = "0.2.51"
++version = "0.2.55"
+dependencies = [
++ "anyhow 1.0.23 (registry+https://github.com/rust-lang/crates.io-index)",
+ "base64 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rustc-demangle 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde_json 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde_json 1.0.42 (registry+https://github.com/rust-lang/crates.io-index)",
+ "tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "walrus 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wasm-bindgen-anyref-xform 0.2.51",
-+ "wasm-bindgen-multi-value-xform 0.2.51",
-+ "wasm-bindgen-shared 0.2.51",
-+ "wasm-bindgen-threads-xform 0.2.51",
-+ "wasm-bindgen-wasm-conventions 0.2.51",
-+ "wasm-bindgen-wasm-interpreter 0.2.51",
-+ "wasm-webidl-bindings 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "walrus 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "wasm-bindgen-anyref-xform 0.2.55",
++ "wasm-bindgen-multi-value-xform 0.2.55",
++ "wasm-bindgen-shared 0.2.55",
++ "wasm-bindgen-threads-xform 0.2.55",
++ "wasm-bindgen-wasm-conventions 0.2.55",
++ "wasm-bindgen-wasm-interpreter 0.2.55",
++ "wasm-webidl-bindings 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "wasm-bindgen-futures"
-+version = "0.4.1"
++version = "0.4.5"
+dependencies = [
+ "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
+ "futures-channel-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "js-sys 0.3.28",
-+ "wasm-bindgen 0.2.51",
-+ "wasm-bindgen-test 0.3.1",
-+ "web-sys 0.3.28",
++ "js-sys 0.3.32",
++ "wasm-bindgen 0.2.55",
++ "wasm-bindgen-test 0.3.5",
++ "web-sys 0.3.32",
+]
+
+[[package]]
+name = "wasm-bindgen-macro"
-+version = "0.2.51"
++version = "0.2.55"
+dependencies = [
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "trybuild 1.0.16 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wasm-bindgen 0.2.51",
-+ "wasm-bindgen-futures 0.4.1",
-+ "wasm-bindgen-macro-support 0.2.51",
++ "trybuild 1.0.18 (registry+https://github.com/rust-lang/crates.io-index)",
++ "wasm-bindgen 0.2.55",
++ "wasm-bindgen-futures 0.4.5",
++ "wasm-bindgen-macro-support 0.2.55",
+]
+
+[[package]]
+name = "wasm-bindgen-macro-support"
-+version = "0.2.51"
++version = "0.2.55"
+dependencies = [
-+ "proc-macro2 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wasm-bindgen-backend 0.2.51",
-+ "wasm-bindgen-shared 0.2.51",
++ "syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
++ "wasm-bindgen-backend 0.2.55",
++ "wasm-bindgen-shared 0.2.55",
+]
+
+[[package]]
+name = "wasm-bindgen-multi-value-xform"
-+version = "0.2.51"
++version = "0.2.55"
+dependencies = [
-+ "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "walrus 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "anyhow 1.0.23 (registry+https://github.com/rust-lang/crates.io-index)",
++ "walrus 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "wasm-bindgen-paint"
+version = "0.1.0"
+dependencies = [
-+ "js-sys 0.3.28",
-+ "wasm-bindgen 0.2.51",
-+ "web-sys 0.3.28",
++ "js-sys 0.3.32",
++ "wasm-bindgen 0.2.55",
++ "web-sys 0.3.32",
+]
+
+[[package]]
+name = "wasm-bindgen-shared"
-+version = "0.2.51"
++version = "0.2.55"
+
+[[package]]
+name = "wasm-bindgen-test"
-+version = "0.3.1"
++version = "0.3.5"
+dependencies = [
+ "console_error_panic_hook 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "js-sys 0.3.28",
++ "js-sys 0.3.32",
+ "scoped-tls 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wasm-bindgen 0.2.51",
-+ "wasm-bindgen-futures 0.4.1",
-+ "wasm-bindgen-test-macro 0.3.1",
++ "wasm-bindgen 0.2.55",
++ "wasm-bindgen-futures 0.4.5",
++ "wasm-bindgen-test-macro 0.3.5",
+]
+
+[[package]]
+name = "wasm-bindgen-test-crate-a"
+version = "0.1.0"
+dependencies = [
-+ "wasm-bindgen 0.2.51",
++ "wasm-bindgen 0.2.55",
+]
+
+[[package]]
+name = "wasm-bindgen-test-crate-b"
+version = "0.1.0"
+dependencies = [
-+ "wasm-bindgen 0.2.51",
++ "wasm-bindgen 0.2.55",
+]
+
+[[package]]
+name = "wasm-bindgen-test-macro"
-+version = "0.3.1"
++version = "0.3.5"
+dependencies = [
-+ "proc-macro2 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "wasm-bindgen-threads-xform"
-+version = "0.2.51"
++version = "0.2.55"
+dependencies = [
-+ "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "walrus 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wasm-bindgen-wasm-conventions 0.2.51",
++ "anyhow 1.0.23 (registry+https://github.com/rust-lang/crates.io-index)",
++ "walrus 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "wasm-bindgen-wasm-conventions 0.2.55",
+]
+
+[[package]]
+name = "wasm-bindgen-wasm-conventions"
-+version = "0.2.51"
++version = "0.2.55"
+dependencies = [
-+ "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "walrus 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "anyhow 1.0.23 (registry+https://github.com/rust-lang/crates.io-index)",
++ "walrus 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "wasm-bindgen-wasm-interpreter"
-+version = "0.2.51"
++version = "0.2.55"
+dependencies = [
-+ "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "anyhow 1.0.23 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "walrus 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "walrus 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "wasm-bindgen-webidl"
-+version = "0.2.51"
++version = "0.2.55"
+dependencies = [
-+ "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "anyhow 1.0.23 (registry+https://github.com/rust-lang/crates.io-index)",
+ "heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "proc-macro2 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wasm-bindgen-backend 0.2.51",
++ "syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
++ "wasm-bindgen-backend 0.2.55",
+ "weedle 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
@@ -1908,81 +1922,81 @@ index 00000000..d7d32a06
+name = "wasm-in-wasm"
+version = "0.1.0"
+dependencies = [
-+ "js-sys 0.3.28",
-+ "wasm-bindgen 0.2.51",
++ "js-sys 0.3.32",
++ "wasm-bindgen 0.2.55",
+]
+
+[[package]]
+name = "wasm-webidl-bindings"
-+version = "0.5.0"
++version = "0.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "anyhow 1.0.23 (registry+https://github.com/rust-lang/crates.io-index)",
+ "id-arena 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "leb128 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "walrus 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "walrus 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "wasm2js"
+version = "0.1.0"
+dependencies = [
-+ "wasm-bindgen 0.2.51",
++ "wasm-bindgen 0.2.55",
+]
+
+[[package]]
+name = "wasmparser"
-+version = "0.37.2"
++version = "0.39.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
+name = "web-sys"
-+version = "0.3.28"
++version = "0.3.32"
+dependencies = [
-+ "env_logger 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "js-sys 0.3.28",
++ "anyhow 1.0.23 (registry+https://github.com/rust-lang/crates.io-index)",
++ "env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "js-sys 0.3.32",
+ "sourcefile 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wasm-bindgen 0.2.51",
-+ "wasm-bindgen-futures 0.4.1",
-+ "wasm-bindgen-test 0.3.1",
-+ "wasm-bindgen-webidl 0.2.51",
++ "wasm-bindgen 0.2.55",
++ "wasm-bindgen-futures 0.4.5",
++ "wasm-bindgen-test 0.3.5",
++ "wasm-bindgen-webidl 0.2.55",
+]
+
+[[package]]
+name = "webaudio"
+version = "0.1.0"
+dependencies = [
-+ "wasm-bindgen 0.2.51",
-+ "web-sys 0.3.28",
++ "wasm-bindgen 0.2.55",
++ "web-sys 0.3.32",
+]
+
+[[package]]
+name = "webgl"
+version = "0.1.0"
+dependencies = [
-+ "js-sys 0.3.28",
-+ "wasm-bindgen 0.2.51",
-+ "web-sys 0.3.28",
++ "js-sys 0.3.32",
++ "wasm-bindgen 0.2.55",
++ "web-sys 0.3.32",
+]
+
+[[package]]
+name = "webidl-tests"
+version = "0.1.0"
+dependencies = [
-+ "env_logger 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "js-sys 0.3.28",
-+ "wasm-bindgen 0.2.51",
-+ "wasm-bindgen-test 0.3.1",
-+ "wasm-bindgen-webidl 0.2.51",
++ "env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "js-sys 0.3.32",
++ "wasm-bindgen 0.2.55",
++ "wasm-bindgen-test 0.3.5",
++ "wasm-bindgen-webidl 0.2.55",
+]
+
+[[package]]
+name = "websockets"
+version = "0.1.0"
+dependencies = [
-+ "wasm-bindgen 0.2.51",
-+ "web-sys 0.3.28",
++ "wasm-bindgen 0.2.55",
++ "web-sys 0.3.32",
+]
+
+[[package]]
@@ -2033,76 +2047,79 @@ index 00000000..d7d32a06
+name = "without-a-bundler"
+version = "0.1.0"
+dependencies = [
-+ "wasm-bindgen 0.2.51",
-+ "web-sys 0.3.28",
++ "wasm-bindgen 0.2.55",
++ "web-sys 0.3.32",
+]
+
+[[package]]
+name = "without-a-bundler-no-modules"
+version = "0.1.0"
+dependencies = [
-+ "wasm-bindgen 0.2.51",
-+ "web-sys 0.3.28",
++ "wasm-bindgen 0.2.55",
++ "web-sys 0.3.32",
+]
+
+[metadata]
+"checksum adler32 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "5d2e7343e7fc9de883d1b0341e0b13970f764c14101234857d2ddafa1cb1cac2"
+"checksum aho-corasick 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)" = "58fb5e95d83b38284460a5fda7d6470aa0b8844d283a0b614b8535e880800d2d"
++"checksum anyhow 1.0.23 (registry+https://github.com/rust-lang/crates.io-index)" = "6f1072d8f55592084072d2d3cb23a4b680a8543c00f10d446118e85ad3718142"
+"checksum arrayref 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "0d382e583f07208808f6b1249e60848879ba3543f57c32277bf52d69c2f0f0ee"
-+"checksum arrayvec 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)" = "b8d73f9beda665eaa98ab9e4f7442bd4e7de6652587de55b2525e52e29c1b0ba"
++"checksum arrayvec 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cff77d8686867eceff3105329d4698d96c2391c176d5d03adc90c7389162b5b8"
+"checksum ascii 0.8.7 (registry+https://github.com/rust-lang/crates.io-index)" = "97be891acc47ca214468e09425d02cef3af2c94d0d82081cd02061f996802f14"
+"checksum askama 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "eed81479263c8753e06f4981f5a313b3fe6cbff30c3ff8d9ae15ef0c72d93fb5"
+"checksum askama_derive 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "46580c08e5520afadc6e9064759e15fc743489a4db78f9c751113e3d32a1e083"
+"checksum askama_shared 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "64509fd5c2fa767fa7ea973b732c61f0b8d30d1adf084e5164523e51a5e35d71"
+"checksum assert_cmd 0.11.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2dc477793bd82ec39799b6f6b3df64938532fdf2ab0d49ef817eac65856a5a1e"
+"checksum atty 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)" = "1803c647a3ec87095e7ae7acfca019e98de5ec9a7d01343f611cf3152ed71a90"
-+"checksum autocfg 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "b671c8fb71b457dd4ae18c4ba1e59aa81793daacc361d82fcd410cef0d491875"
-+"checksum backtrace 0.3.38 (registry+https://github.com/rust-lang/crates.io-index)" = "690a62be8920ccf773ee00ef0968649b0e724cda8bd5b12286302b4ae955fdf5"
-+"checksum backtrace-sys 0.1.31 (registry+https://github.com/rust-lang/crates.io-index)" = "82a830b4ef2d1124a711c71d263c5abdc710ef8e907bd508c88be475cebc422b"
++"checksum autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "1d49d90015b3c36167a20fe2810c5cd875ad504b39cff3d4eae7977e6b7c1cb2"
++"checksum backtrace 0.3.40 (registry+https://github.com/rust-lang/crates.io-index)" = "924c76597f0d9ca25d762c25a4d369d51267536465dc5064bdf0eb073ed477ea"
++"checksum backtrace-sys 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)" = "5d6575f128516de27e3ce99689419835fce9643a9b215a14d2b5b685be018491"
+"checksum base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0b25d992356d2eb0ed82172f5248873db5560c4721f564b13cb5193bda5e668e"
+"checksum base64 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)" = "489d6c0ed21b11d038c31b6ceccca973e65d73ba3bd8ecb9a2babf5546164643"
+"checksum bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "aad18937a628ec6abcd26d1489012cc0e18c21798210f491af69ded9b881106d"
-+"checksum bitflags 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8a606a02debe2813760609f57a64a2ffd27d9fdf5b2f133eaca0b248dd92cdd2"
-+"checksum blake2b_simd 0.5.8 (registry+https://github.com/rust-lang/crates.io-index)" = "5850aeee1552f495dd0250014cf64b82b7c8879a89d83b33bbdace2cc4f63182"
++"checksum bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
++"checksum blake2b_simd 0.5.9 (registry+https://github.com/rust-lang/crates.io-index)" = "b83b7baab1e671718d78204225800d6b170e648188ac7dc992e9d6bddf87d0c0"
+"checksum buf_redux 0.8.4 (registry+https://github.com/rust-lang/crates.io-index)" = "b953a6887648bb07a535631f2bc00fbdb2a2216f135552cb3f534ed136b9c07f"
+"checksum bumpalo 2.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ad807f2fc2bf185eeb98ff3a901bd46dc5ad58163d0fa4577ba0d25674d71708"
+"checksum byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "a7c3dd8985a7111efc5c80b44e23ecdd8c007de8ade3b96595387e812b957cf5"
-+"checksum c2-chacha 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7d64d04786e0f528460fc884753cf8dddcc466be308f6026f8e355c41a0e4101"
-+"checksum cc 1.0.45 (registry+https://github.com/rust-lang/crates.io-index)" = "4fc9a35e1f4290eb9e5fc54ba6cf40671ed2a2514c3eeb2b2a908dda2ea5a1be"
++"checksum c2-chacha 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "214238caa1bf3a496ec3392968969cab8549f96ff30652c9e56885329315f6bb"
++"checksum cc 1.0.47 (registry+https://github.com/rust-lang/crates.io-index)" = "aa87058dce70a3ff5621797f1506cb837edd02ac4c0ae642b4542dce802908b8"
+"checksum cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
-+"checksum chrono 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)" = "e8493056968583b0193c1bb04d6f7684586f3726992d6c573261941a895dbd68"
++"checksum chrono 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)" = "31850b4a4d6bae316f7a09e691c944c28299298837edc0a03f755618c23cbc01"
+"checksum chunked_transfer 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "498d20a7aaf62625b9bf26e637cf7736417cde1d0c99f1d04d1170229a85cf87"
+"checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f"
+"checksum color_quant 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0dbbb57365263e881e805dc77d94697c9118fd94d8da011240555aa7b23445bd"
+"checksum console_error_panic_hook 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "b8d976903543e0c48546a91908f21588a680a8c8f984df9a5d69feccb2b2a211"
+"checksum constant_time_eq 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "995a44c877f9212528ccc74b21a232f66ad69001e40ede5bcee2ac9ef2657120"
-+"checksum crossbeam-deque 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b18cd2e169ad86297e6bc0ad9aa679aee9daa4f19e8163860faf7c164e4f5a71"
-+"checksum crossbeam-epoch 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "fedcd6772e37f3da2a9af9bf12ebe046c0dfe657992377b4df982a2b54cd37a9"
-+"checksum crossbeam-queue 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7c979cd6cfe72335896575c6b5688da489e420d36a27a0b9eb0c73db574b4a4b"
++"checksum crossbeam-deque 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "c3aa945d63861bfe624b55d153a39684da1e8c0bc8fba932f7ee3a3c16cea3ca"
++"checksum crossbeam-epoch 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5064ebdbf05ce3cb95e45c8b086f72263f4166b29b97f6baff7ef7fe047b55ac"
++"checksum crossbeam-queue 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "dfd6515864a82d2f877b42813d4553292c6659498c9a2aa31bab5a15243c2700"
+"checksum crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)" = "04973fa96e96579258a5091af6003abde64af786b860f18622b82e026cca60e6"
-+"checksum curl 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)" = "d08ad3cb89d076a36b0ce5749eec2c9964f70c0c58480ab6b75a91ec4fc206d8"
-+"checksum curl-sys 0.4.22 (registry+https://github.com/rust-lang/crates.io-index)" = "2e9a9a4e417722876332136a00cacf92c2ceb331fab4b52b6a1ad16c6cd79255"
++"checksum crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ce446db02cdc3165b94ae73111e570793400d0794e46125cc4056c81cbb039f4"
++"checksum curl 0.4.25 (registry+https://github.com/rust-lang/crates.io-index)" = "06aa71e9208a54def20792d877bc663d6aae0732b9852e612c4a933177c31283"
++"checksum curl-sys 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)" = "f659f3ffac9582d6177bb86d1d2aa649f4eb9d0d4de9d03ccc08b402832ea340"
+"checksum deflate 0.7.20 (registry+https://github.com/rust-lang/crates.io-index)" = "707b6a7b384888a70c8d2e8650b3e60170dfc6a67bb4aa67b6dfca57af4bedb4"
+"checksum difference 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198"
+"checksum dirs 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "3fd78930633bd1c6e35c4b42b1df7b0cbc6bc191146e512bb3bedf243fcc3901"
+"checksum docopt 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7f525a586d310c87df72ebcd98009e57f1cc030c8c268305287a476beb653969"
+"checksum either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "bb1f6b1ce1c140482ea30ddd3335fc0024ac7ee112895426e0a629a6c20adfe3"
+"checksum enum_primitive 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "be4551092f4d519593039259a9ed8daedf0da12e5109c5280338073eaeb81180"
-+"checksum env_logger 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "39ecdb7dd54465526f0a56d666e3b2dd5f3a218665a030b6e4ad9e70fa95d8fa"
++"checksum env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36"
+"checksum escargot 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ceb9adbf9874d5d028b5e4c5739d22b71988252b25c9c98fe7cf9738bee84597"
-+"checksum failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "795bd83d3abeb9220f257e597aa0080a508b27533824adf336529648f6abf7e2"
-+"checksum failure_derive 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "ea1063915fd7ef4309e222a5a07cf9c319fb9c7836b1f89b85458672dbb127e1"
-+"checksum filetime 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "6bd7380b54ced79dda72ecc35cc4fbbd1da6bba54afaa37e96fd1c2a308cd469"
-+"checksum float-cmp 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "134a8fa843d80a51a5b77d36d42bc2def9edcb0262c914861d08129fd1926600"
++"checksum failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "f8273f13c977665c5db7eb2b99ae520952fe5ac831ae4cd09d80c4c7042b5ed9"
++"checksum failure_derive 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "0bc225b78e0391e4b8683440bf2e63c2deeeb2ce5189eab46e2b68c6d3725d08"
++"checksum filetime 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "1ff6d4dab0aa0c8e6346d46052e93b13a16cf847b54ed357087c35011048cc7d"
++"checksum float-cmp 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "75224bec9bfe1a65e2d34132933f2de7fe79900c96a0174307554244ece8150e"
+"checksum foreign-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
+"checksum foreign-types-shared 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
+"checksum fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba"
+"checksum futures-channel-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)" = "d5e5f4df964fa9c1c2f8bddeb5c3611631cacd93baf810fc8bb2fb4b495c263a"
+"checksum futures-core-preview 0.3.0-alpha.19 (registry+https://github.com/rust-lang/crates.io-index)" = "b35b6263fb1ef523c3056565fa67b1d16f0a8604ff12b11b08c25f28a734c60a"
-+"checksum getrandom 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)" = "473a1265acc8ff1e808cd0a1af8cee3c2ee5200916058a2ca113c29f2d903571"
++"checksum getrandom 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)" = "e7db7ca94ed4cd01190ceee0d8a8052f08a247aa1b469a7f68c6a3b71afcf407"
+"checksum gif 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e2e41945ba23db3bf51b24756d73d81acb4f28d85c3dccc32c6fae904438c25f"
+"checksum glob 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
+"checksum heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205"
++"checksum hermit-abi 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "307c3c9f937f38e3534b1d6447ecf090cafcc9744e4a6360e8b037b2cf5af120"
+"checksum httparse 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9"
+"checksum humantime 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f"
+"checksum id-arena 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "25a2bc672d1148e28034f176e01fffebb08b35768468cc954630da77a1449005"
@@ -2113,43 +2130,42 @@ index 00000000..d7d32a06
+"checksum jpeg-decoder 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)" = "c1aae18ffeeae409c6622c3b6a7ee49792a7e5a062eea1b135fbb74e301792ba"
+"checksum lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
+"checksum leb128 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "3576a87f2ba00f6f106fdfcd16db1d698d648a26ad8e0573cad8537c3c362d2a"
-+"checksum libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)" = "34fcd2c08d2f832f376f4173a231990fa5aef4e99fb569867318a227ef4c06ba"
++"checksum libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)" = "1a31a0627fdf1f6a39ec0dd577e101440b7db22672c0901fe00a9a6fbb5c24e8"
+"checksum libz-sys 1.0.25 (registry+https://github.com/rust-lang/crates.io-index)" = "2eb5e43362e38e2bca2fd5f5134c4d4564a23a5c28e9b95411652021a8675ebe"
+"checksum log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "e19e8d5c34a3e0e2223db8e060f9e8264aeeb5c5fc64a4ee9965c062211c024b"
+"checksum log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)" = "14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7"
+"checksum lzw 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7d947cbb889ed21c2a84be6ffbaebf5b4e0f4340638cba0444907e38b56be084"
+"checksum matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08"
+"checksum memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "88579771288728879b57485cc7d6b07d648c9f0141eb955f8ab7f9d45394468e"
-+"checksum memoffset 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ce6075db033bbbb7ee5a0bbd3a3186bbae616f57fb001c485c7ff77955f8177f"
++"checksum memoffset 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "75189eb85871ea5c2e2c15abbdd541185f63b408415e5051f5cac122d8c774b9"
+"checksum mime 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "ba626b8a6de5da682e1caa06bdb42a335aee5a84db8e5046a3e8ab17ba0a3ae0"
+"checksum mime_guess 1.8.7 (registry+https://github.com/rust-lang/crates.io-index)" = "0d977de9ee851a0b16e932979515c0f3da82403183879811bc97d50bd9cc50f7"
+"checksum multipart 0.15.4 (registry+https://github.com/rust-lang/crates.io-index)" = "adba94490a79baf2d6a23eac897157047008272fa3eecb3373ae6377b91eca28"
-+"checksum nodrop 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)" = "2f9667ddcc6cc8a43afc9b7917599d7216aa09c463919ea32c59ed6cac8bc945"
+"checksum nom 4.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2ad2a91a8e869eeb30b9cb3119ae87773a8f4ae617f41b1eb9c154b2905f7bd6"
+"checksum normalize-line-endings 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "2e0a1a39eab95caf4f5556da9289b9e68f0aafac901b2ce80daaf020d3b733a8"
+"checksum num-integer 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)" = "b85e541ef8255f6cf42bbfe4ef361305c6c135d10919ecc26126c4e5ae94bc09"
+"checksum num-iter 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)" = "76bd5272412d173d6bf9afdf98db8612bbabc9a7a830b7bfc9c188911716132e"
+"checksum num-rational 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)" = "ee314c74bd753fc86b4780aa9475da469155f3848473a261d2d18e35245a784e"
+"checksum num-traits 0.1.43 (registry+https://github.com/rust-lang/crates.io-index)" = "92e5113e9fd4cc14ded8e499429f396a20f98c772a47cc8622a736e1ec843c31"
-+"checksum num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "6ba9a427cfca2be13aa6f6403b0b7e7368fe982bfa16fccc450ce74c46cd9b32"
-+"checksum num_cpus 1.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "bcef43580c035376c0705c42792c294b66974abbfd2789b511784023f71f3273"
-+"checksum openssl 0.10.25 (registry+https://github.com/rust-lang/crates.io-index)" = "2f372b2b53ce10fb823a337aaa674e3a7d072b957c6264d0f4ff0bd86e657449"
++"checksum num-traits 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)" = "d4c81ffc11c212fa327657cb19dd85eb7419e163b5b076bede2bdb5c974c07e4"
++"checksum num_cpus 1.11.1 (registry+https://github.com/rust-lang/crates.io-index)" = "76dac5ed2a876980778b8b85f75a71b6cbf0db0b1232ee12f826bccb00d09d72"
++"checksum openssl 0.10.26 (registry+https://github.com/rust-lang/crates.io-index)" = "3a3cc5799d98e1088141b8e01ff760112bbd9f19d850c124500566ca6901a585"
+"checksum openssl-probe 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de"
+"checksum openssl-src 111.6.0+1.1.1d (registry+https://github.com/rust-lang/crates.io-index)" = "b9c2da1de8a7a3f860919c01540b03a6db16de042405a8a07a5e9d0b4b825d9c"
-+"checksum openssl-sys 0.9.50 (registry+https://github.com/rust-lang/crates.io-index)" = "2c42dcccb832556b5926bc9ae61e8775f2a61e725ab07ab3d1e7fcf8ae62c3b6"
++"checksum openssl-sys 0.9.53 (registry+https://github.com/rust-lang/crates.io-index)" = "465d16ae7fc0e313318f7de5cecf57b2fbe7511fd213978b457e1c96ff46736f"
+"checksum percent-encoding 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831"
+"checksum phf 0.7.24 (registry+https://github.com/rust-lang/crates.io-index)" = "b3da44b85f8e8dfaec21adae67f95d93244b2ecf6ad2a692320598dcc8e6dd18"
+"checksum phf_codegen 0.7.24 (registry+https://github.com/rust-lang/crates.io-index)" = "b03e85129e324ad4166b06b2c7491ae27fe3ec353af72e72cd1654c7225d517e"
+"checksum phf_generator 0.7.24 (registry+https://github.com/rust-lang/crates.io-index)" = "09364cc93c159b8b06b1f4dd8a4398984503483891b0c26b867cf431fb132662"
+"checksum phf_shared 0.7.24 (registry+https://github.com/rust-lang/crates.io-index)" = "234f71a15de2288bcb7e3b6515828d22af7ec8598ee6d24c3b526fa0a80b67a0"
-+"checksum pkg-config 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)" = "72d5370d90f49f70bd033c3d75e87fc529fbfff9d6f7cccef07d6170079d91ea"
++"checksum pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)" = "05da548ad6865900e60eaba7f589cc0783590a92e940c26953ff81ddbab2d677"
+"checksum png 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "3cb773e9a557edb568ce9935cf783e3cdcabe06a9449d41b3e5506d88e582c82"
-+"checksum ppv-lite86 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "e3cbf9f658cdb5000fcf6f362b8ea2ba154b9f146a61c7a20d647034c6b6561b"
-+"checksum predicates 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "53e09015b0d3f5a0ec2d4428f7559bb7b3fff341b4e159fedd1d57fac8b939ff"
++"checksum ppv-lite86 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "74490b50b9fbe561ac330df47c08f3f33073d2d00c150f719147d7c54522fa1b"
++"checksum predicates 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "a9bfe52247e5cc9b2f943682a85a5549fb9662245caf094504e69a2f03fe64d4"
+"checksum predicates-core 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "06075c3a3e92559ff8929e7a280684489ea27fe44805174c3ebd9328dcb37178"
+"checksum predicates-tree 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8e63c4859013b38a76eca2414c64911fba30def9e3202ac461a2d22831220124"
+"checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
-+"checksum proc-macro2 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "afdc77cc74ec70ed262262942ebb7dac3d479e9e5cfa2da1841c0806f6cdabcc"
++"checksum proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "9c9e470a8dc4aeae2dee2f335e8f533e2d4b347e1434e5671afc49b054592f27"
+"checksum quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9274b940887ce9addde99c4eee6b5c44cc494b182b97e73dc8ffdcb3397fd3f0"
+"checksum quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
+"checksum quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "053a8c8bcc71fcce321828dc897a98ab9760bef03a4fc36693c231e5b3216cfe"
@@ -2169,8 +2185,8 @@ index 00000000..d7d32a06
+"checksum rand_os 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "7b75f676a1e053fc562eafbb47838d67c84801e38fc1ba459e8f180deabd5071"
+"checksum rand_pcg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "abf9b09b01790cfe0364f52bf32995ea3c39f4d2dd011eac241d2914146d0b44"
+"checksum rand_xorshift 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cbf7e9e623549b0e21f6e97cf8ecf247c1a8fd2e8a992ae265314300b2455d5c"
-+"checksum rayon 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "83a27732a533a1be0a0035a111fe76db89ad312f6f0347004c220c57f209a123"
-+"checksum rayon-core 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "98dcf634205083b17d0861252431eb2acbfb698ab7478a2d20de07954f47ec7b"
++"checksum rayon 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "43739f8831493b276363637423d3622d4bd6394ab6f0a9c4a552e208aeb7fddd"
++"checksum rayon-core 1.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f8bf17de6f23b05473c437eb958b9c850bfc8af0961fe17b4cc92d5a627b4791"
+"checksum raytracer 0.1.0 (git+https://github.com/alexcrichton/raytracer?branch=update-deps)" = ""
+"checksum rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2"
+"checksum redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)" = "2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84"
@@ -2182,26 +2198,26 @@ index 00000000..d7d32a06
+"checksum rust-argon2 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4ca4eaef519b494d1f2848fc602d18816fed808a981aedf4f1f00ceb7c9d32cf"
+"checksum rustc-demangle 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)" = "4c691c0e608126e00913e33f0ccf3727d5fc84573623b8d65b2df340b5201783"
+"checksum rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
-+"checksum ryu 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "c92464b447c0ee8c4fb3824ecc8383b81717b9f1e74ba2e72540aef7b9f82997"
-+"checksum safemem 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "d2b08423011dae9a5ca23f07cf57dac3857f5c885d352b76f6d95f4aea9434d0"
++"checksum ryu 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bfa8506c1de11c9c4e4c38863ccbe02a305c8188e85a05a784c9e11e1c3910c8"
++"checksum safemem 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072"
+"checksum schannel 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)" = "87f550b06b6cba9c8b8be3ee73f391990116bf527450d2556e9b9ce263b9a021"
+"checksum scoped-tls 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2"
+"checksum scoped_threadpool 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "1d51f5df5af43ab3f1360b429fa5e0152ac5ce8c0bd6485cae490332e96846a8"
+"checksum scopeguard 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b42e15e59b18a828bbf5c58ea01debb36b9b096346de35d941dcb89009f24a0d"
+"checksum semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403"
+"checksum semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
-+"checksum serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)" = "9796c9b7ba2ffe7a9ce53c2287dfc48080f4b2b362fcc245a259b3a7201119dd"
-+"checksum serde_derive 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)" = "4b133a43a1ecd55d4086bd5b4dc6c1751c68b1bfbeba7a5040442022c7e7c02e"
-+"checksum serde_json 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)" = "051c49229f282f7c6f3813f8286cc1e3323e8051823fce42c7ea80fe13521704"
++"checksum serde 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)" = "1217f97ab8e8904b57dd22eb61cde455fa7446a9c1cf43966066da047c1f3702"
++"checksum serde_derive 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)" = "a8c6faef9a2e64b0064f48570289b4bf8823b7581f1d6157c1b52152306651d0"
++"checksum serde_json 1.0.42 (registry+https://github.com/rust-lang/crates.io-index)" = "1a3351dcbc1f067e2c92ab7c3c1f288ad1a4cffc470b5aaddb4c2e0a3ae80043"
+"checksum sha1 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2579985fda508104f7587689507983eadd6a6e84dd35d6d115361f530916fa0d"
+"checksum siphasher 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "0b8de496cf83d4ed58b6be86c3a275b8602f6ffe98d3024a869e124147a9a3ac"
-+"checksum smallvec 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)" = "ab606a9c5e214920bb66c458cd7be8ef094f813f20fe77a54cc7dbfff220d4b7"
++"checksum smallvec 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4ecf3b85f68e8abaa7555aa5abdb1153079387e60b718283d732f03897fcfc86"
+"checksum socket2 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)" = "e8b74de517221a2cb01a53349cf54182acdc31a074727d3079068448c0676d85"
+"checksum sourcefile 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "4bf77cb82ba8453b42b6ae1d692e4cdc92f9a47beaf89a847c8be83f4e328ad3"
+"checksum strsim 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)" = "032c03039aae92b350aad2e3779c352e104d919cb192ba2fabbd7b831ce4f0f6"
+"checksum syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)" = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
-+"checksum syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "66850e97125af79138385e9b88339cbcd037e3f28ceab8c5ad98e64f0f1f80bf"
-+"checksum synstructure 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)" = "02353edf96d6e4dc81aea2d8490a7e9db177bf8acb0e951c24940bf866cb313f"
++"checksum syn 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)" = "661641ea2aa15845cddeb97dad000d22070bb5c1fb456b96c1cba883ec691e92"
++"checksum synstructure 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)" = "67656ea1dc1b41b1451851562ea232ec2e5a80242139f7e679ceccfb5d61f545"
+"checksum tempdir 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "15f2b5fb00ccdf689e0149d1b1b3c03fead81c2b37735d812fa8bddbbf41b6d8"
+"checksum tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9"
+"checksum term 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "edd106a334b7657c10b7c540a0106114feadeb4dc314513e97df481d5d966f42"
@@ -2211,24 +2227,24 @@ index 00000000..d7d32a06
+"checksum time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)" = "db8dcfca086c1143c9270ac42a2bbd8a7ee477b78ac8e45b19abfb0cbede4b6f"
+"checksum tiny_http 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "1661fa0a44c95d01604bd05c66732a446c657efb62b5164a7a083a3b552b4951"
+"checksum toml 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)" = "758664fc71a3a69038656bee8b6be6477d2a6c315a6b81f7081f591bffa4111f"
-+"checksum toml 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "c7aabe75941d914b72bf3e5d3932ed92ce0664d49d8432305a8b547c37227724"
++"checksum toml 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)" = "01d1404644c8b12b16bfcffa4322403a91a451584daaaa7c28d3152e6cbc98cf"
+"checksum treeline 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a7f741b240f1a48843f9b8e0444fb55fb2a4ff67293b50a9179dfd5ea67f8d41"
-+"checksum trybuild 1.0.16 (registry+https://github.com/rust-lang/crates.io-index)" = "10d8f366221c5a5ff8a62faa005e186fdce758949d34a9140b64a062951bae68"
++"checksum trybuild 1.0.18 (registry+https://github.com/rust-lang/crates.io-index)" = "b75e31d624df08744532e935f1d4bfedd319a277d5a162c5b15f6ced59307575"
+"checksum twoway 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "59b11b2b5241ba34be09c3cc85a36e56e48f9888862e19cedf23336d35316ed1"
+"checksum unicase 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7f4765f83163b74f957c797ad9253caf97f103fb064d3999aea9568d09fc8a33"
+"checksum unicode-bidi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5"
-+"checksum unicode-normalization 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "141339a08b982d942be2ca06ff8b076563cbe223d1befd5450716790d44e2426"
-+"checksum unicode-segmentation 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1967f4cdfc355b37fd76d2a954fb2ed3871034eb4f26d60537d88795cfc332a9"
++"checksum unicode-normalization 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)" = "b561e267b2326bb4cebfc0ef9e68355c7abe6c6f522aeac2f5bf95d56c59bdcf"
++"checksum unicode-segmentation 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0"
+"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
+"checksum unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c"
+"checksum url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a"
+"checksum vcpkg 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "33dd455d0f96e90a75803cfeb7f948768c08d70a6de9a8d2362461935698bf95"
+"checksum version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "914b1a6776c4c929a602fafd8bc742e06365d4bcbe48c30f9cca5824f70dc9dd"
-+"checksum walrus 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e6f3bd9559eb5b59d55cc60986e26dc9b3f64377d0b9495e41abd9ede9a6443f"
-+"checksum walrus-macro 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0464a6e0d86be4c95c8c838bcb1910df831e1216a9586feeb02478cd52c4e554"
++"checksum walrus 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)" = "85ce93ab0c27412ba41d509f2410fa575ecbfdb4a6aba0e02e79e12c09745485"
++"checksum walrus-macro 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8757b0da38353d55a9687f4dee68a8f441f980dd36e16ab07d6e6c673f505f76"
+"checksum wasi 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b89c3ce4ce14bdc6fb6beaf9ec7928ca331de5df7e5ea278375642a2f478570d"
-+"checksum wasm-webidl-bindings 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e407ee3155cb0742acacd0b21060daafe2ad78ea718f2d6b10e7d9d1032aa961"
-+"checksum wasmparser 0.37.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f7387ba67c13dd9cd01d7d961e733375aee889f828564e190da85b5602eb5eeb"
++"checksum wasm-webidl-bindings 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b5cae185868c6038a48f487b9af3766ee0c68d4a85fa3610c3a0522092b3cec1"
++"checksum wasmparser 0.39.3 (registry+https://github.com/rust-lang/crates.io-index)" = "c702914acda5feeeffbc29e4d953e5b9ce79d8b98da4dbf18a77086e116c5470"
+"checksum weedle 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3bb43f70885151e629e2a19ce9e50bd730fd436cfd4b666894c9ce4de9141164"
+"checksum winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6"
+"checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
diff --git a/pkgs/development/tools/wasm-bindgen-cli/default.nix b/pkgs/development/tools/wasm-bindgen-cli/default.nix
index 2fd30ecc6b1457297ab51429aac3a5fbf77ee26d..26f37c5dc7462183c7539d541a23d95ff0b82e17 100644
--- a/pkgs/development/tools/wasm-bindgen-cli/default.nix
+++ b/pkgs/development/tools/wasm-bindgen-cli/default.nix
@@ -2,20 +2,20 @@
rustPlatform.buildRustPackage rec {
pname = "wasm-bindgen-cli";
- version = "0.2.51";
+ version = "0.2.55";
src = fetchFromGitHub {
owner = "rustwasm";
repo = "wasm-bindgen";
rev = version;
- sha256 = "1pfkwak11k3ghvv985c20vhg4cyvf131a1f7k3sv5snw2klww7vm";
+ sha256 = "13pcfrdf3nk4mrc7lqpz9qjdh7gfpqf849iywcyjk3f9y8sm46ii";
};
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security curl ];
nativeBuildInputs = [ pkgconfig ];
- cargoSha256 = "06zk2yzwpl569q5mgn56gprsfxxvyz4a2i949lls13daq1kal5pa";
- cargoPatches = [ ./0001-Add-cargo.lock-for-rustPlatform.buildRustPackage-in-.patch ];
+ cargoSha256 = "0mpq40llddqj7syi07pfhr48kndx35f1hyf5pvx5zdnfz29a924v";
+ cargoPatches = [ ./0001-Add-cargo.lock-for-0.2.55.patch ];
cargoBuildFlags = [ "-p" pname ];
meta = with lib; {
diff --git a/pkgs/development/tools/yarn/default.nix b/pkgs/development/tools/yarn/default.nix
index 43d3e20d3dfd75aa374048617c263c4191defe7c..3384dac541005127b407c751cc6e1b12a7697e65 100644
--- a/pkgs/development/tools/yarn/default.nix
+++ b/pkgs/development/tools/yarn/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "yarn";
- version = "1.19.1";
+ version = "1.19.2";
src = fetchzip {
url = "https://github.com/yarnpkg/yarn/releases/download/v${version}/yarn-v${version}.tar.gz";
- sha256 = "0qlrwmvpv0ifvywqqzg28ywmhk4prkk1dflnnpk6grpgkq3bfv77";
+ sha256 = "05sjf7pgdj3hh92j2xxl683frrkiw1rqxs72z3an4gb83nllvi0n";
};
buildInputs = [ nodejs ];
diff --git a/pkgs/development/tools/yarn2nix-moretea/fetch-source.nix b/pkgs/development/tools/yarn2nix-moretea/fetch-source.nix
index b15b40c4a0433be63431bf4c00dc99514f10b743..fc9b149887a5994df724a358ae6a821574564175 100644
--- a/pkgs/development/tools/yarn2nix-moretea/fetch-source.nix
+++ b/pkgs/development/tools/yarn2nix-moretea/fetch-source.nix
@@ -5,6 +5,6 @@
fetchFromGitHub {
owner = "moretea";
repo = "yarn2nix";
- rev = "3f2dbb08724bf8841609f932bfe1d61a78277232";
- sha256 = "142av7dwviapsnahgj8r6779gs2zr17achzhr8b97s0hsl08dcl2";
+ rev = "9e7279edde2a4e0f5ec04c53f5cd64440a27a1ae";
+ sha256 = "0zz2lrwn3y3rb8gzaiwxgz02dvy3s552zc70zvfqc0zh5dhydgn7";
}
diff --git a/pkgs/development/tools/yarn2nix-moretea/yarn2nix/default.nix b/pkgs/development/tools/yarn2nix-moretea/yarn2nix/default.nix
index f5989390c4b02df7f1789e4cfe82a34bcdc85800..22032e145d3fa0233b23f8d3117f947ccca72626 100644
--- a/pkgs/development/tools/yarn2nix-moretea/yarn2nix/default.nix
+++ b/pkgs/development/tools/yarn2nix-moretea/yarn2nix/default.nix
@@ -238,7 +238,7 @@ in rec {
package = lib.importJSON packageJSON;
pname = package.name;
safeName = reformatPackageName pname;
- version = package.version;
+ version = package.version or attrs.version;
baseName = unlessNull name "${safeName}-${version}";
workspaceDependenciesTransitive = lib.unique (
@@ -389,6 +389,11 @@ in rec {
# yarn2nix is the only package that requires the yarnNix option.
# All the other projects can auto-generate that file.
yarnNix = ./yarn.nix;
+
+ # Using the filter above and importing package.json from the filtered
+ # source results in an error in restricted mode. To circumvent this,
+ # we import package.json from the unfiltered source
+ packageJSON = ./package.json;
yarnFlags = defaultYarnFlags ++ ["--production=true"];
diff --git a/pkgs/development/web/cypress/default.nix b/pkgs/development/web/cypress/default.nix
index f88a6ceaeb34ff5e46337f2d305975bdd3737849..796060de0b0a9e79e57cff45da329794383fa0e4 100644
--- a/pkgs/development/web/cypress/default.nix
+++ b/pkgs/development/web/cypress/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec{
pname = "cypress";
- version = "3.5.0";
+ version = "3.6.1";
src = fetchzip {
url = "https://cdn.cypress.io/desktop/${version}/linux-x64/cypress.zip";
- sha256 = "1w1nqa0j3bzjr000d4jlr34d1asdc1fv81pq831s3wl55hyqbij6";
+ sha256 = "0vlfmhsz7zkp3bjsgqmp9n716d5znicl42hm0m9hl7ndvgm9z9z0";
};
# don't remove runtime deps
diff --git a/pkgs/development/web/nodejs/v13.nix b/pkgs/development/web/nodejs/v13.nix
index 6b6e4f438b82fd8f2372c521fa8c5cf3e90a72c9..ee5d384f200aa90c30009ea4fb969327cbf24c65 100644
--- a/pkgs/development/web/nodejs/v13.nix
+++ b/pkgs/development/web/nodejs/v13.nix
@@ -5,8 +5,8 @@ let
in
buildNodejs {
inherit enableNpm;
- version = "13.1.0";
- sha256 = "0s6b2k7i89j9mxwyz271fvm6bf8jcz2v5kzmn0v5icrkpmn0ab6l";
+ version = "13.2.0";
+ sha256 = "0r0bbwnp77njhdmby7cs2g6yxfprri684s8h3gqq95ks7vgwgvhx";
patches = stdenv.lib.optionals stdenv.isDarwin [ ./disable-libatomic-darwin.patch ];
}
diff --git a/pkgs/development/web/postman/default.nix b/pkgs/development/web/postman/default.nix
index 440012461b97b4c0e8f5ee49b532bd52ff285209..7c56cd827ca2186bbf7a47da11363427270ce37b 100644
--- a/pkgs/development/web/postman/default.nix
+++ b/pkgs/development/web/postman/default.nix
@@ -7,11 +7,11 @@
stdenv.mkDerivation rec {
pname = "postman";
- version = "7.10.0";
+ version = "7.12.0";
src = fetchurl {
url = "https://dl.pstmn.io/download/version/${version}/linux64";
- sha256 = "0k8np71p414407hvcw149gspvdgyadnmpvfdxwwkr3pydj70vn6f";
+ sha256 = "0sz7cidajrsj43vq5g8jrkxlrp97r7n8dfr9gp8l0wxnidiqm401";
name = "${pname}.tar.gz";
};
diff --git a/pkgs/games/0ad/game.nix b/pkgs/games/0ad/game.nix
index ef285f8cb935d774ac8681f257d8f80373dc88f5..8102235d88ebf9043af252d3effbead815c244d1 100644
--- a/pkgs/games/0ad/game.nix
+++ b/pkgs/games/0ad/game.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, perl, fetchurl, python2
, pkgconfig, spidermonkey_38, boost, icu, libxml2, libpng, libsodium
, libjpeg, zlib, curl, libogg, libvorbis, enet, miniupnpc
-, openal, libGLU_combined, xorgproto, libX11, libXcursor, nspr, SDL2
+, openal, libGLU, libGL, xorgproto, libX11, libXcursor, nspr, SDL2
, gloox, nvidia-texture-tools
, withEditor ? true, wxGTK ? null
}:
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
buildInputs = [
spidermonkey_38 boost icu libxml2 libpng libjpeg
zlib curl libogg libvorbis enet miniupnpc openal
- libGLU_combined xorgproto libX11 libXcursor nspr SDL2 gloox
+ libGLU libGL xorgproto libX11 libXcursor nspr SDL2 gloox
nvidia-texture-tools libsodium
] ++ lib.optional withEditor wxGTK;
diff --git a/pkgs/games/adom/default.nix b/pkgs/games/adom/default.nix
index 9766e58c15ae17a4246572486bdf0e7ecbb526d6..2d3be1880de9d6cbd9035ded53b9dc5736fdf24e 100644
--- a/pkgs/games/adom/default.nix
+++ b/pkgs/games/adom/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, patchelf, zlib, libmad, libpng12, libcaca, libGLU_combined, alsaLib, libpulseaudio
+{ stdenv, fetchurl, patchelf, zlib, libmad, libpng12, libcaca, libGLU, libGL, alsaLib, libpulseaudio
, xorg }:
let
@@ -6,7 +6,7 @@ let
inherit (xorg) libXext libX11;
lpath = "${stdenv.cc.cc.lib}/lib64:" + stdenv.lib.makeLibraryPath [
- zlib libmad libpng12 libcaca libXext libX11 libGLU_combined alsaLib libpulseaudio];
+ zlib libmad libpng12 libcaca libXext libX11 libGLU libGL alsaLib libpulseaudio];
in
stdenv.mkDerivation rec {
diff --git a/pkgs/games/alienarena/default.nix b/pkgs/games/alienarena/default.nix
index 89c74d83b490ae499a7fc0e2eea9c8bf06b7248b..5c27e3426fd7c05ab270a1cecbcb6b5011a744b9 100644
--- a/pkgs/games/alienarena/default.nix
+++ b/pkgs/games/alienarena/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, libjpeg, libX11, libXxf86vm, curl, libogg
-, libvorbis, freetype, openal, libGLU_combined }:
+, libvorbis, freetype, openal, libGL }:
stdenv.mkDerivation {
name = "alienarena-7.65";
@@ -11,12 +11,12 @@ stdenv.mkDerivation {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libjpeg libX11 curl libogg libvorbis
- freetype openal libGLU_combined libXxf86vm ];
+ freetype openal libGL libXxf86vm ];
patchPhase = ''
substituteInPlace ./configure \
--replace libopenal.so.1 ${openal}/lib/libopenal.so.1 \
- --replace libGL.so.1 ${libGLU_combined}/lib/libGL.so.1
+ --replace libGL.so.1 ${libGL}/lib/libGL.so.1
'';
meta = with stdenv.lib; {
diff --git a/pkgs/games/armagetronad/default.nix b/pkgs/games/armagetronad/default.nix
index 70c23664dc049a0aa0818249e9323db86b72551e..edb739125c01433425e649439fa217d93a189cc8 100644
--- a/pkgs/games/armagetronad/default.nix
+++ b/pkgs/games/armagetronad/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, SDL, libxml2, SDL_image, libjpeg, libpng, libGLU_combined, zlib }:
+{ stdenv, fetchurl, SDL, libxml2, SDL_image, libjpeg, libpng, libGLU, libGL, zlib }:
let
versionMajor = "0.2.8";
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
enableParallelBuilding = true;
configureFlags = [ "--disable-etc" ];
- buildInputs = [ SDL SDL_image libxml2 libjpeg libpng libGLU_combined zlib ];
+ buildInputs = [ SDL SDL_image libxml2 libjpeg libpng libGLU libGL zlib ];
meta = with stdenv.lib; {
homepage = http://armagetronad.org;
diff --git a/pkgs/games/astromenace/default.nix b/pkgs/games/astromenace/default.nix
index 37593d3bd7262f5ce676b1b91c75acfa7e9761e0..191428f66dbc72730f1f62a7189bd675851fec23 100644
--- a/pkgs/games/astromenace/default.nix
+++ b/pkgs/games/astromenace/default.nix
@@ -1,4 +1,4 @@
-{ fetchurl, stdenv, cmake, xlibsWrapper, libGLU_combined, SDL, openal, freealut, libogg, libvorbis, runtimeShell }:
+{ fetchurl, stdenv, cmake, xlibsWrapper, libGLU, libGL, SDL, openal, freealut, libogg, libvorbis, runtimeShell }:
stdenv.mkDerivation rec {
version = "1.3.2";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "1rkz6lwjcd5mwv72kf07ghvx6z46kf3xs250mjbmnmjpn7r5sxwv";
};
- buildInputs = [ cmake xlibsWrapper libGLU_combined SDL openal freealut libogg libvorbis ];
+ buildInputs = [ cmake xlibsWrapper libGLU libGL SDL openal freealut libogg libvorbis ];
buildPhase = ''
cmake ./
diff --git a/pkgs/games/bitsnbots/default.nix b/pkgs/games/bitsnbots/default.nix
index 94a1e6ee91ab633d31920bd8f1ac496979ecda77..c6c5176ecdf8b729f5159c6bc6d0a1cadd576b99 100644
--- a/pkgs/games/bitsnbots/default.nix
+++ b/pkgs/games/bitsnbots/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, SDL, lua, libGLU_combined }:
+{ stdenv, fetchurl, SDL, lua, libGLU, libGL }:
stdenv.mkDerivation rec {
name = "bitsnbots-20111230";
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
ln -s $out/share/${name}/bitsnbots $out/bin
'';
- buildInputs = [ SDL lua libGLU_combined ];
+ buildInputs = [ SDL lua libGLU libGL ];
meta = {
description = "Simple puzzle game with moving robots";
diff --git a/pkgs/games/blackshades/default.nix b/pkgs/games/blackshades/default.nix
index a35b449f92fd1ad2b2e2de9a451e917b77086cba..608b32764bb95da61b10271a90fc08a4c6969c99 100644
--- a/pkgs/games/blackshades/default.nix
+++ b/pkgs/games/blackshades/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchsvn, SDL, libGLU_combined, openal, libvorbis, freealut, SDL_image}:
+{stdenv, fetchsvn, SDL, libGLU, libGL, openal, libvorbis, freealut, SDL_image}:
stdenv.mkDerivation {
name = "blackshades-svn-110";
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
NIX_LDFLAGS = "-lSDL_image";
- buildInputs = [ SDL SDL_image libGLU_combined openal libvorbis freealut ];
+ buildInputs = [ SDL SDL_image libGLU libGL openal libvorbis freealut ];
patchPhase = ''
sed -i -e s,Data/,$out/opt/$name/Data/,g \
diff --git a/pkgs/games/blobby/default.nix b/pkgs/games/blobby/default.nix
index d3eb2348a0d5a06c4c28dc86910e31156e9c16aa..938d767c3d85acf0b601edb9dcb2e1b8654482cb 100644
--- a/pkgs/games/blobby/default.nix
+++ b/pkgs/games/blobby/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchurl, SDL2, SDL2_image, libGLU_combined, cmake, physfs, boost, zip, zlib
+{stdenv, fetchurl, SDL2, SDL2_image, libGLU, libGL, cmake, physfs, boost, zip, zlib
, pkgconfig, unzip}:
stdenv.mkDerivation rec {
version = "1.0";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [SDL2 SDL2_image libGLU_combined cmake physfs boost zip zlib
+ buildInputs = [SDL2 SDL2_image libGLU libGL cmake physfs boost zip zlib
unzip];
preConfigure=''
diff --git a/pkgs/games/bzflag/default.nix b/pkgs/games/bzflag/default.nix
index 56d2866a23553f5fb8be4c22e15880bb7d2e4f08..d07088a30a3ebd4f24adf84af52cf35559b56ce9 100644
--- a/pkgs/games/bzflag/default.nix
+++ b/pkgs/games/bzflag/default.nix
@@ -1,5 +1,5 @@
{ stdenv, lib, fetchurl, pkgconfig
-, curl, SDL2, libGLU_combined, glew, ncurses, c-ares
+, curl, SDL2, libGLU, libGL, glew, ncurses, c-ares
, Carbon, CoreServices }:
stdenv.mkDerivation rec {
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ curl SDL2 libGLU_combined glew ncurses c-ares ]
+ buildInputs = [ curl SDL2 libGLU libGL glew ncurses c-ares ]
++ lib.optionals stdenv.isDarwin [ Carbon CoreServices ];
meta = with lib; {
diff --git a/pkgs/games/chessx/default.nix b/pkgs/games/chessx/default.nix
index 3b460daefd1a4fd735cfa8913f4d06d2bb4952f2..f0b04489edac6fc19f60b8ae4faa919a6f746f0c 100644
--- a/pkgs/games/chessx/default.nix
+++ b/pkgs/games/chessx/default.nix
@@ -1,8 +1,16 @@
-{ stdenv, pkgconfig, zlib, qtbase, qtsvg, qttools, qtmultimedia, qmake, fetchurl, makeWrapper
-, lib
+{ mkDerivation
+, stdenv
+, pkgconfig
+, zlib
+, qtbase
+, qtsvg
+, qttools
+, qtmultimedia
+, qmake
+, fetchurl
}:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "chessx";
version = "1.5.0";
@@ -11,16 +19,19 @@ stdenv.mkDerivation rec {
sha256 = "09rqyra28w3z9ldw8sx07k5ap3sjlli848p737maj7c240rasc6i";
};
+ nativeBuildInputs = [
+ pkgconfig
+ qmake
+ ];
+
buildInputs = [
qtbase
+ qtmultimedia
qtsvg
qttools
- qtmultimedia
zlib
];
- nativeBuildInputs = [ pkgconfig qmake makeWrapper ];
-
# RCC: Error in 'resources.qrc': Cannot find file 'i18n/chessx_da.qm'
enableParallelBuilding = false;
@@ -39,7 +50,7 @@ stdenv.mkDerivation rec {
homepage = http://chessx.sourceforge.net/;
description = "ChessX allows you to browse and analyse chess games";
license = licenses.gpl2;
- maintainers = [maintainers.luispedro];
+ maintainers = [ maintainers.luispedro ];
platforms = platforms.linux;
};
}
diff --git a/pkgs/games/construo/default.nix b/pkgs/games/construo/default.nix
index 9528c6d06cb4a591044e9736ed9e4ccc5132ffde..5c74b5962794a6385c88bfaf7f38a62bca16f7c5 100644
--- a/pkgs/games/construo/default.nix
+++ b/pkgs/games/construo/default.nix
@@ -1,4 +1,12 @@
-{ stdenv, fetchurl, libX11, zlib, xorgproto, libGL ? null, freeglut ? null }:
+{ stdenv
+, fetchurl
+, libX11
+, zlib
+, xorgproto
+, libGL ? null
+, libGLU ? null
+, freeglut ? null
+}:
stdenv.mkDerivation rec {
pname = "construo";
@@ -11,6 +19,7 @@ stdenv.mkDerivation rec {
buildInputs = [ libX11 zlib xorgproto ]
++ stdenv.lib.optional (libGL != null) libGL
+ ++ stdenv.lib.optional (libGLU != null) libGLU
++ stdenv.lib.optional (freeglut != null) freeglut;
preConfigure = ''
diff --git a/pkgs/games/crack-attack/default.nix b/pkgs/games/crack-attack/default.nix
index bb06bec411bba23e580ca8364d8f602d98b8e1c8..4741ac7bb6846f6d54abdc1cf7cfa332acaf9345 100644
--- a/pkgs/games/crack-attack/default.nix
+++ b/pkgs/games/crack-attack/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, gtk2, freeglut, SDL, SDL_mixer, libGLU_combined, libXi, libXmu }:
+{ stdenv, fetchurl, pkgconfig, gtk2, freeglut, SDL, SDL_mixer, libGLU, libGL, libXi, libXmu }:
stdenv.mkDerivation {
name = "crack-attack-1.1.14";
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
configureFlags = [ "--enable-sound=yes" ];
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ gtk2 freeglut SDL SDL_mixer libGLU_combined libXi libXmu ];
+ buildInputs = [ gtk2 freeglut SDL SDL_mixer libGLU libGL libXi libXmu ];
hardeningDisable = [ "format" ];
enableParallelBuilding = true;
diff --git a/pkgs/games/crawl/default.nix b/pkgs/games/crawl/default.nix
index 47632408e7958be7bceae5babe9726d43e88d4b3..e4cccdd6221b146edf63d1318172946318389421 100644
--- a/pkgs/games/crawl/default.nix
+++ b/pkgs/games/crawl/default.nix
@@ -1,5 +1,5 @@
{ stdenv, lib, fetchFromGitHub, fetchpatch, which, sqlite, lua5_1, perl, python3, zlib, pkgconfig, ncurses
-, dejavu_fonts, libpng, SDL2, SDL2_image, SDL2_mixer, libGLU_combined, freetype, pngcrush, advancecomp
+, dejavu_fonts, libpng, SDL2, SDL2_image, SDL2_mixer, libGLU, libGL, freetype, pngcrush, advancecomp
, tileMode ? false, enableSound ? tileMode
# MacOS / Darwin builds
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
# Still unstable with luajit
buildInputs = [ lua5_1 zlib sqlite ncurses ]
++ (with python3.pkgs; [ pyyaml ])
- ++ lib.optionals tileMode [ libpng SDL2 SDL2_image freetype libGLU_combined ]
+ ++ lib.optionals tileMode [ libpng SDL2 SDL2_image freetype libGLU libGL ]
++ lib.optional enableSound SDL2_mixer
++ (lib.optionals stdenv.isDarwin (
assert (lib.assertMsg (darwin != null) "Must have darwin frameworks available for darwin builds");
diff --git a/pkgs/games/crrcsim/default.nix b/pkgs/games/crrcsim/default.nix
index b9d3a69d87b3a5051f290bf66443570087d8803a..75ff970a16a8fef54345d73872673493db9949dd 100644
--- a/pkgs/games/crrcsim/default.nix
+++ b/pkgs/games/crrcsim/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, libGLU_combined, SDL, SDL_mixer, plib, libjpeg }:
+{ stdenv, fetchurl, libGLU, libGL, SDL, SDL_mixer, plib, libjpeg }:
let
version = "0.9.13";
in
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [
- libGLU_combined SDL SDL_mixer plib libjpeg
+ libGLU libGL SDL SDL_mixer plib libjpeg
];
patches = [
diff --git a/pkgs/games/dhewm3/default.nix b/pkgs/games/dhewm3/default.nix
index 441e9f66981c7da8efb25714bfc9d02e0cfafdf9..fd9729376403ac9fd4ed3d2353252be82c4868bc 100644
--- a/pkgs/games/dhewm3/default.nix
+++ b/pkgs/games/dhewm3/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, cmake, SDL2, libGLU_combined, zlib, libjpeg, libogg, libvorbis
+{ stdenv, fetchFromGitHub, cmake, SDL2, libGLU, libGL, zlib, libjpeg, libogg, libvorbis
, openal, curl }:
stdenv.mkDerivation rec {
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
sha256 = "0wsabvh1x4g12xmhzs2m2pgri2q9sir1w3m2r7fpy6kzxp32hqdk";
};
- # Add libGLU_combined linking
+ # Add libGLU libGL linking
patchPhase = ''
sed -i 's/\ libGL != null && libGLU != null;
+
stdenv.mkDerivation rec {
name = "prboom-2.5.0";
src = fetchurl {
@@ -11,7 +14,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [ SDL SDL_mixer SDL_net ]
- ++ stdenv.lib.optional useOpenGL libGLU_combined;
+ ++ stdenv.lib.optionals useOpenGL [ libGL libGLU ];
doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
diff --git a/pkgs/games/privateer/default.nix b/pkgs/games/privateer/default.nix
index d4945d43c7d77dbc16192140c20777f8d0402305..607458f3798687ace311efcd6008749642d88229 100644
--- a/pkgs/games/privateer/default.nix
+++ b/pkgs/games/privateer/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchsvn, boost, cmake, ffmpeg, freeglut, glib,
gtk2, libjpeg, libpng, libpthreadstubs, libvorbis, libXau, libXdmcp,
- libXmu, libGLU_combined, openal, pixman, pkgconfig, python27, SDL }:
+ libXmu, libGLU, libGL, openal, pixman, pkgconfig, python27, SDL }:
stdenv.mkDerivation {
name = "privateer-1.03";
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
buildInputs =
[ boost cmake ffmpeg freeglut glib gtk2 libjpeg libpng
- libpthreadstubs libvorbis libXau libXdmcp libXmu libGLU_combined openal
+ libpthreadstubs libvorbis libXau libXdmcp libXmu libGLU libGL openal
pixman pkgconfig python27 SDL ];
patches = [ ./0001-fix-VSFile-constructor.patch ];
diff --git a/pkgs/games/quakespasm/vulkan.nix b/pkgs/games/quakespasm/vulkan.nix
index e8678253b406a763cae84deaa8e8fa01fa3b9e9f..e30065666b0f3202336342ed768edd70eb89e9c7 100644
--- a/pkgs/games/quakespasm/vulkan.nix
+++ b/pkgs/games/quakespasm/vulkan.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "vkquake";
- version = "1.02.1";
+ version = "1.03.0";
src = fetchFromGitHub {
owner = "Novum";
repo = "vkQuake";
rev = version;
- sha256 = "0fk9jqql0crnf0s12cxnris392ajciyw1zbz17qgs5hdyivp9vdx";
+ sha256 = "1x2lx1fvr2p91clbx2jcc29j5yyh0xwq9fh0lyxhyadf5a710fn0";
};
sourceRoot = "source/Quake";
diff --git a/pkgs/games/residualvm/default.nix b/pkgs/games/residualvm/default.nix
index 79d657e668dc45b2afde65caf8e8c4cf2f3f4b9e..9b0cfaa3b50d81e564f38318895c1a0b25ae9640 100644
--- a/pkgs/games/residualvm/default.nix
+++ b/pkgs/games/residualvm/default.nix
@@ -1,9 +1,9 @@
{ stdenv, fetchurl, SDL, zlib, libmpeg2, libmad, libogg, libvorbis, flac, alsaLib
, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
-, openglSupport ? libGLSupported, libGLU_combined ? null
+, openglSupport ? libGLSupported, libGLU, libGL ? null
}:
-assert openglSupport -> libGLU_combined != null;
+assert openglSupport -> libGL != null && libGLU != null;
with stdenv.lib;
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [ stdenv SDL zlib libmpeg2 libmad libogg libvorbis flac alsaLib ]
- ++ optional openglSupport libGLU_combined;
+ ++ optionals openglSupport [ libGL libGLU ];
configureFlags = [ "--enable-all-engines" ];
diff --git a/pkgs/games/rigsofrods/default.nix b/pkgs/games/rigsofrods/default.nix
index 09550339f83dbaafa94c572475e1a2029b8e2fbc..00faee7b92895d22627f57dfeb3779232f4e4bb0 100644
--- a/pkgs/games/rigsofrods/default.nix
+++ b/pkgs/games/rigsofrods/default.nix
@@ -1,4 +1,4 @@
-{ fetchFromGitHub, stdenv, wxGTK30, freeimage, cmake, zziplib, libGLU_combined, boost,
+{ fetchFromGitHub, stdenv, wxGTK30, freeimage, cmake, zziplib, libGLU, libGL, boost,
pkgconfig, libuuid, openal, ogre, ois, curl, gtk2, mygui, unzip,
angelscript, ogrepaged, mysocketw, libxcb
}:
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
'';
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ wxGTK30 freeimage cmake zziplib libGLU_combined boost
+ buildInputs = [ wxGTK30 freeimage cmake zziplib libGLU libGL boost
libuuid openal ogre ois curl gtk2 mygui unzip angelscript
ogrepaged mysocketw libxcb ];
diff --git a/pkgs/games/scorched3d/default.nix b/pkgs/games/scorched3d/default.nix
index 1527f61c4d0f94b3cf53a2b7077b067ebf9f2802..a2859c11712e84220c8a91201dbe2d82c199915d 100644
--- a/pkgs/games/scorched3d/default.nix
+++ b/pkgs/games/scorched3d/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, libGLU_combined, glew, pkgconfig, openalSoft, freealut, wxGTK, libogg
+{ stdenv, fetchurl, libGLU, libGL, glew, pkgconfig, openalSoft, freealut, wxGTK, libogg
, freetype, libvorbis, fftwSinglePrec, SDL, SDL_net, expat, libjpeg, libpng }:
stdenv.mkDerivation rec {
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
};
buildInputs =
- [ libGLU_combined glew openalSoft freealut wxGTK libogg freetype libvorbis
+ [ libGLU libGL glew openalSoft freealut wxGTK libogg freetype libvorbis
SDL SDL_net expat libjpeg libpng fftwSinglePrec
];
diff --git a/pkgs/games/scummvm/default.nix b/pkgs/games/scummvm/default.nix
index 8c4ce46f6f5ec05a24535be5a955d1451efb6a19..8ef6e0c8be575602af75ff87fe46531935502369 100644
--- a/pkgs/games/scummvm/default.nix
+++ b/pkgs/games/scummvm/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, nasm
-, alsaLib, curl, flac, fluidsynth, freetype, libjpeg, libmad, libmpeg2, libogg, libvorbis, libGLU_combined, SDL2, zlib
+, alsaLib, curl, flac, fluidsynth, freetype, libjpeg, libmad, libmpeg2, libogg, libvorbis, libGLU, libGL, SDL2, zlib
}:
stdenv.mkDerivation rec {
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ nasm ];
buildInputs = [
- alsaLib curl freetype flac fluidsynth libjpeg libmad libmpeg2 libogg libvorbis libGLU_combined SDL2 zlib
+ alsaLib curl freetype flac fluidsynth libjpeg libmad libmpeg2 libogg libvorbis libGLU libGL SDL2 zlib
];
dontDisableStatic = true;
diff --git a/pkgs/games/soi/default.nix b/pkgs/games/soi/default.nix
index 2ffd3f3d053b9ab02b8bca8b2706cbd0b01402cc..7179c4f48b51b0b0505bbc4ba92caf1de08994ed 100644
--- a/pkgs/games/soi/default.nix
+++ b/pkgs/games/soi/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, cmake
-, boost, eigen2, lua, luabind, libGLU_combined, SDL }:
+, boost, eigen2, lua, luabind, libGLU, libGL, SDL }:
stdenv.mkDerivation rec {
pname = "soi";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ cmake ];
- buildInputs = [ boost lua luabind libGLU_combined SDL ];
+ buildInputs = [ boost lua luabind libGLU libGL SDL ];
cmakeFlags = [
"-DEIGEN_INCLUDE_DIR=${eigen2}/include/eigen2"
diff --git a/pkgs/games/space-orbit/default.nix b/pkgs/games/space-orbit/default.nix
index 2b69dfccad1545918e3ecdb7b10a2481692fce4e..e9fe6257fb63e8e7c2b76e9deb4ee9b33f574be5 100644
--- a/pkgs/games/space-orbit/default.nix
+++ b/pkgs/games/space-orbit/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl
-, libGLU_combined, libXi, libXt, libXext, libX11, libXmu, freeglut
+, libGLU, libGL, libXi, libXt, libXext, libX11, libXmu, freeglut
}:
stdenv.mkDerivation rec {
@@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
version = "1.01";
patchversion = "9";
- buildInputs = [ libGLU_combined libXi libXt libXext libX11 libXmu freeglut ];
+ buildInputs = [ libGLU libGL libXi libXt libXext libX11 libXmu freeglut ];
src = fetchurl {
url = "mirror://debian/pool/main/s/space-orbit/space-orbit_${version}.orig.tar.gz";
diff --git a/pkgs/games/speed-dreams/default.nix b/pkgs/games/speed-dreams/default.nix
index 17cb57d3fdbc555f3e624db2b9dae8ab73dd1da1..473409ffae95abe0ff995f51cad6242c6853cc5d 100644
--- a/pkgs/games/speed-dreams/default.nix
+++ b/pkgs/games/speed-dreams/default.nix
@@ -1,4 +1,4 @@
-{ fetchurl, stdenv, libGLU_combined, freeglut, libX11, plib, openal, freealut, libXrandr, xorgproto,
+{ fetchurl, stdenv, libGLU, libGL, freeglut, libX11, plib, openal, freealut, libXrandr, xorgproto,
libXext, libSM, libICE, libXi, libXt, libXrender, libXxf86vm, openscenegraph, expat,
libpng, zlib, bash, SDL2, enet, libjpeg, cmake, pkgconfig, libvorbis, runtimeShell, curl }:
@@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig cmake ];
- buildInputs = [ libpng libGLU_combined freeglut libX11 plib openal freealut libXrandr xorgproto
+ buildInputs = [ libpng libGLU libGL freeglut libX11 plib openal freealut libXrandr xorgproto
libXext libSM libICE libXi libXt libXrender libXxf86vm zlib bash expat
SDL2 enet libjpeg openscenegraph libvorbis curl ];
diff --git a/pkgs/games/spring/default.nix b/pkgs/games/spring/default.nix
index e98148cbc832efc67a0ba94499af681fb270139e..8f43a6d84b1ae05a8e16a737ec7ead975a04c83b 100644
--- a/pkgs/games/spring/default.nix
+++ b/pkgs/games/spring/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, cmake, lzma, boost, libdevil, zlib, p7zip
-, openal, libvorbis, glew, freetype, xorg, SDL2, libGLU_combined
+, openal, libvorbis, glew, freetype, xorg, SDL2, libGLU, libGL
, asciidoc, libxslt, docbook_xsl, docbook_xsl_ns, curl, makeWrapper
, jdk ? null, python ? null, systemd, libunwind, which, minizip
, withAI ? true # support for AI Interfaces and Skirmish AIs
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
"-DPREFER_STATIC_LIBS:BOOL=OFF"];
buildInputs = [ cmake lzma boost libdevil zlib p7zip openal libvorbis freetype SDL2
- xorg.libX11 xorg.libXcursor libGLU_combined glew asciidoc libxslt docbook_xsl curl makeWrapper
+ xorg.libX11 xorg.libXcursor libGLU libGL glew asciidoc libxslt docbook_xsl curl makeWrapper
docbook_xsl_ns systemd libunwind which minizip ]
++ stdenv.lib.optional withAI jdk
++ stdenv.lib.optional withAI python;
diff --git a/pkgs/games/stardust/default.nix b/pkgs/games/stardust/default.nix
index 9de9bd37e8dc73e7475e30a3f4aee56133813bea..1e2089b9c503123c635a0b801260f829c39df75a 100644
--- a/pkgs/games/stardust/default.nix
+++ b/pkgs/games/stardust/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, zlib, libtiff, libxml2, SDL, xorgproto, libX11
-, libXi, libXmu, libXext, libGLU_combined }:
+, libXi, libXmu, libXext, libGLU, libGL }:
stdenv.mkDerivation rec {
pname = "stardust";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
buildInputs = [
zlib libtiff libxml2 SDL xorgproto libX11 libXi
- libXmu libXext libGLU_combined
+ libXmu libXext libGLU libGL
];
installFlags = [ "bindir=\${out}/bin" ];
diff --git a/pkgs/games/steam/chrootenv.nix b/pkgs/games/steam/chrootenv.nix
index 3be1f52297430cec0d40295e15264ce1827591b2..426be1f214a04b7175baaa272eb431a4a543e3ea 100644
--- a/pkgs/games/steam/chrootenv.nix
+++ b/pkgs/games/steam/chrootenv.nix
@@ -86,14 +86,14 @@ in buildFHSUserEnv rec {
xorg.xkeyboardconfig
xorg.libpciaccess
## screeps dependencies
- gnome3.gtk
+ gtk3
dbus
zlib
glib
atk
cairo
freetype
- gdk_pixbuf
+ gdk-pixbuf
pango
fontconfig
] ++ (if (!nativeOnly) then [
diff --git a/pkgs/games/super-tux-kart/default.nix b/pkgs/games/super-tux-kart/default.nix
index 0bdd1f9f62df5af5fc9d6441c30017a4e2649aa3..8eceea06243e16b4be94820caac7299cc34cc9e1 100644
--- a/pkgs/games/super-tux-kart/default.nix
+++ b/pkgs/games/super-tux-kart/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, fetchsvn, cmake, pkgconfig
-, openal, freealut, libGLU_combined, libvorbis, libogg, gettext, curl, freetype
+, openal, freealut, libGLU, libGL, libvorbis, libogg, gettext, curl, freetype
, fribidi, libtool, bluez, libjpeg, libpng, zlib, libX11, libXrandr, enet }:
let
@@ -29,7 +29,7 @@ in stdenv.mkDerivation rec {
buildInputs = [
libX11 libXrandr
- openal freealut libGLU_combined libvorbis libogg zlib freetype
+ openal freealut libGLU libGL libvorbis libogg zlib freetype
curl fribidi bluez libjpeg libpng enet
];
diff --git a/pkgs/games/supertux/default.nix b/pkgs/games/supertux/default.nix
index 6cfabc4ee6a79027eadccc143b5475b80a98af6d..df6901585bb3b1e9dc6c43a5c871bc1357ffa594 100644
--- a/pkgs/games/supertux/default.nix
+++ b/pkgs/games/supertux/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, cmake, pkgconfig, SDL2, SDL2_image , curl
-, libogg, libvorbis, libGLU_combined, openal, boost, glew
+, libogg, libvorbis, libGLU, libGL, openal, boost, glew
, libpng, freetype
}:
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig cmake ];
- buildInputs = [ SDL2 SDL2_image curl libogg libvorbis libGLU_combined openal boost glew
+ buildInputs = [ SDL2 SDL2_image curl libogg libvorbis libGLU libGL openal boost glew
libpng freetype
];
diff --git a/pkgs/games/tdm/default.nix b/pkgs/games/tdm/default.nix
index f0a89adab572519a5f3a13e6bfff64ca728e90d3..fef3350a061d8ddc3b9c11651dc38fe7209369f0 100644
--- a/pkgs/games/tdm/default.nix
+++ b/pkgs/games/tdm/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, binutils-unwrapped, scons, gnum4, p7zip, glibc_multi, mesa
-, xorg, libGLU_combined, openal
+, xorg, libGLU, libGL, openal
, lib, makeWrapper, makeDesktopItem }:
let
@@ -29,7 +29,7 @@ in stdenv.mkDerivation {
buildInputs = [
glibc_multi mesa.dev xorg.libX11.dev openal
xorg.libXext.dev xorg.libXxf86vm.dev
- libGLU_combined
+ libGL libGLU
];
unpackPhase = ''
7z x $src
@@ -86,7 +86,7 @@ EOF
'';
postInstall = ''
- wrapProgram $out/bin/tdm --suffix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libGLU_combined ]}
+ wrapProgram $out/bin/tdm --suffix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libGL libGLU ]}
'';
enableParallelBuilding = true;
diff --git a/pkgs/games/tibia/default.nix b/pkgs/games/tibia/default.nix
index 02c55d7d06c90638bec363b5bea34ea625134e10..4033835e3f9b893d886df3b8152e7cc7362867fb 100644
--- a/pkgs/games/tibia/default.nix
+++ b/pkgs/games/tibia/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, glibc, libX11, runtimeShell, libGLU_combined }:
+{ stdenv, fetchurl, glibc, libX11, runtimeShell, libGLU, libGL }:
with stdenv.lib;
stdenv.mkDerivation {
@@ -24,7 +24,7 @@ stdenv.mkDerivation {
cp -r * $out/res
patchelf --set-interpreter ${glibc.out}/lib/ld-linux.so.2 \
- --set-rpath ${stdenv.lib.makeLibraryPath [ stdenv.cc.cc libX11 libGLU_combined ]} \
+ --set-rpath ${stdenv.lib.makeLibraryPath [ stdenv.cc.cc libX11 libGLU libGL ]} \
"$out/res/Tibia"
# We've patchelf'd the files. The main ‘Tibia’ binary is a bit
diff --git a/pkgs/games/tintin/default.nix b/pkgs/games/tintin/default.nix
index 2e1837bdef66f5aea4fef42ad9161a27e6538c71..dc696d05558057be80d7d4e9cb40b567449523f1 100644
--- a/pkgs/games/tintin/default.nix
+++ b/pkgs/games/tintin/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, zlib, pcre }:
stdenv.mkDerivation rec {
- name = "tintin-2.01.91";
+ name = "tintin-2.01.92";
src = fetchurl {
url = "mirror://sourceforge/tintin/${name}.tar.gz";
- sha256 = "0nb3przw84r5zaibhpcb8gxm5vllrchca663c3f650fm83asd5im";
+ sha256 = "0id8rd2yhh6ccjnlwyixflsay1rq3sw6pwlhz1ic3nzj22cd91ik";
};
buildInputs = [ zlib pcre ];
diff --git a/pkgs/games/tome4/default.nix b/pkgs/games/tome4/default.nix
index af13ae2e7e1180290a01349b51a9f2567205a561..9971aa0d166158a44d76952bd5ee4d9594f9cf7a 100644
--- a/pkgs/games/tome4/default.nix
+++ b/pkgs/games/tome4/default.nix
@@ -18,11 +18,11 @@ let
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
- version = "1.6.0";
+ version = "1.6.1";
src = fetchurl {
url = "https://te4.org/dl/t-engine/t-engine4-src-${version}.tar.bz2";
- sha256 = "1z1w4ycgl5wbm0sv7577vcdfwwf4k7vaf2njzyb21rvqjizpbkwr";
+ sha256 = "0c5a2bdyfccwkqnb6yqvzggyi2nk032v01kfc00zlgpdfzljcb9i";
};
prePatch = ''
diff --git a/pkgs/games/trackballs/default.nix b/pkgs/games/trackballs/default.nix
index b5ff38b93a106297d9996fddaa4be4ba89ff2bb3..b778579c9d78d4776c8c1101399a325d65b14baa 100644
--- a/pkgs/games/trackballs/default.nix
+++ b/pkgs/games/trackballs/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, cmake, SDL2, SDL2_ttf, gettext, zlib, SDL2_mixer, SDL2_image, guile, libGLU_combined }:
+{ stdenv, fetchFromGitHub, cmake, SDL2, SDL2_ttf, gettext, zlib, SDL2_mixer, SDL2_image, guile, libGLU, libGL }:
with stdenv.lib;
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
sha256 = "1yjzz50r57aahy7wcbsmhrd40abzyriq40j49225ya7m9g28vmgl";
};
- buildInputs = [ cmake zlib SDL2 SDL2_ttf SDL2_mixer SDL2_image guile gettext libGLU_combined ];
+ buildInputs = [ cmake zlib SDL2 SDL2_ttf SDL2_mixer SDL2_image guile gettext libGLU libGL ];
meta = {
homepage = https://trackballs.github.io/;
diff --git a/pkgs/games/tremulous/default.nix b/pkgs/games/tremulous/default.nix
index 802bdb08a87c3e6e48dda5d82aa28bc86cf48309..fc9bc985c00f2ad5c0344358a1ce84628aec74f5 100644
--- a/pkgs/games/tremulous/default.nix
+++ b/pkgs/games/tremulous/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, unzip, libGLU_combined, libX11, SDL, openal, runtimeShell }:
+{ stdenv, fetchurl, unzip, libGLU, libGL, libX11, SDL, openal, runtimeShell }:
stdenv.mkDerivation rec {
pname = "tremulous";
version = "1.1.0";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
url = "http://releases.mercenariesguild.net/tremded/mg_tremded_source_1.01.tar.gz";
sha256 = "1njrqlhzjvy9myddzkagszwdcf3m4h08wip888w2rmbshs6kz6ql";
};
- buildInputs = [ unzip libGLU_combined libX11 SDL openal ];
+ buildInputs = [ unzip libGLU libGL libX11 SDL openal ];
unpackPhase = ''
unzip $src1
cd tremulous
diff --git a/pkgs/games/trigger/default.nix b/pkgs/games/trigger/default.nix
index 0050ef19cea29385acb2dae2543de366e94c27bb..34ae0762beaae93fe21c447850373ad1378779ee 100644
--- a/pkgs/games/trigger/default.nix
+++ b/pkgs/games/trigger/default.nix
@@ -1,5 +1,5 @@
{ fetchurl, stdenv, runtimeShell
-, SDL2, freealut, SDL2_image, openal, physfs, zlib, libGLU_combined, glew }:
+, SDL2, freealut, SDL2_image, openal, physfs, zlib, libGLU, libGL, glew }:
stdenv.mkDerivation rec {
name = "trigger-rally-0.6.6";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "08qa2f2s8zyn42ff6jb1gsi64d916020ixkzvl16kbb88rabqra8";
};
- buildInputs = [ SDL2 freealut SDL2_image openal physfs zlib libGLU_combined glew ];
+ buildInputs = [ SDL2 freealut SDL2_image openal physfs zlib libGLU libGL glew ];
preConfigure = ''
sed s,/usr/local,$out, -i bin/*defs
diff --git a/pkgs/games/ufoai/default.nix b/pkgs/games/ufoai/default.nix
index f699a6a05c6249c3c4021f4b61ba0e08d3bfed2f..beff8ada96b40a8fc165d5334fc4aa746fe9bbb3 100644
--- a/pkgs/games/ufoai/default.nix
+++ b/pkgs/games/ufoai/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, libtheora, xvidcore, libGLU_combined, SDL, SDL_ttf, SDL_mixer
+{ stdenv, fetchurl, libtheora, xvidcore, libGLU, libGL, SDL, SDL_ttf, SDL_mixer
, curl, libjpeg, libpng, gettext, cunit, enableEditor?false }:
stdenv.mkDerivation rec {
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional enableEditor "--enable-uforadiant";
buildInputs = [
- libtheora xvidcore libGLU_combined SDL SDL_ttf SDL_mixer
+ libtheora xvidcore libGLU libGL SDL SDL_ttf SDL_mixer
curl libjpeg libpng gettext cunit
];
diff --git a/pkgs/games/ultimatestunts/default.nix b/pkgs/games/ultimatestunts/default.nix
index a7ad366aa195c4a5f145c7130dd76144f13bda6f..df80b3a555fbd9901f23034864dc767141a7c46a 100644
--- a/pkgs/games/ultimatestunts/default.nix
+++ b/pkgs/games/ultimatestunts/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchurl, SDL, libGLU_combined, SDL_image, freealut, openal, libvorbis,
+{stdenv, fetchurl, SDL, libGLU, libGL, SDL_image, freealut, openal, libvorbis,
pkgconfig}:
stdenv.mkDerivation {
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
};
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ SDL libGLU_combined SDL_image freealut openal libvorbis ];
+ buildInputs = [ SDL libGLU libGL SDL_image freealut openal libvorbis ];
postPatch = ''
sed -e '1i#include ' -i $(find . -name '*.c' -o -name '*.cpp')
diff --git a/pkgs/games/ultrastardx/default.nix b/pkgs/games/ultrastardx/default.nix
index 8dd8222e55e44b1bc1db6b6fdfd7d926bddcd75c..1c40d8f5800f3faebff580686d1c05e278e5856b 100644
--- a/pkgs/games/ultrastardx/default.nix
+++ b/pkgs/games/ultrastardx/default.nix
@@ -1,13 +1,13 @@
{ stdenv, autoreconfHook, fetchFromGitHub, pkgconfig
, lua, fpc, pcre, portaudio, freetype, libpng
, SDL2, SDL2_image, SDL2_gfx, SDL2_mixer, SDL2_net, SDL2_ttf
-, ffmpeg, sqlite, zlib, libX11, libGLU_combined }:
+, ffmpeg, sqlite, zlib, libX11, libGLU, libGL }:
let
sharedLibs = [
pcre portaudio freetype
SDL2 SDL2_image SDL2_gfx SDL2_mixer SDL2_net SDL2_ttf
- sqlite lua zlib libX11 libGLU_combined ffmpeg
+ sqlite lua zlib libX11 libGLU libGL ffmpeg
];
in stdenv.mkDerivation rec {
diff --git a/pkgs/games/uqm/default.nix b/pkgs/games/uqm/default.nix
index 638900c9e898c4a3a0475ad291785244dc2b5e0a..3944050e9836d155847ff5607c30d3ca95618572 100644
--- a/pkgs/games/uqm/default.nix
+++ b/pkgs/games/uqm/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, fetchurl, pkgconfig, libGLU_combined
+{ stdenv, lib, fetchurl, pkgconfig, libGLU, libGL
, SDL, SDL_image, libpng, libvorbis, libogg, libmikmod
, use3DOVideos ? false, requireFile ? null, writeText ? null
@@ -51,7 +51,7 @@ in stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ SDL SDL_image libpng libvorbis libogg libmikmod libGLU_combined ];
+ buildInputs = [ SDL SDL_image libpng libvorbis libogg libmikmod libGLU libGL ];
postUnpack = ''
mkdir -p uqm-${version}/content/packages
diff --git a/pkgs/games/urbanterror/default.nix b/pkgs/games/urbanterror/default.nix
index 999799de58d8f1e2801520cb89604fa4683d019c..98ef32b0472a570b73683ba8f6f83087bb57b052 100644
--- a/pkgs/games/urbanterror/default.nix
+++ b/pkgs/games/urbanterror/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, unzip, SDL, libGLU_combined, openal, curl, libXxf86vm }:
+{ stdenv, fetchurl, unzip, SDL, libGLU, libGL, openal, curl, libXxf86vm }:
stdenv.mkDerivation rec {
pname = "urbanterror";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
})
];
- buildInputs = [ unzip SDL libGLU_combined openal curl libXxf86vm ];
+ buildInputs = [ unzip SDL libGL libGLU openal curl libXxf86vm ];
sourceRoot = "ioq3-for-UrbanTerror-4-release-${version}";
configurePhase = ''
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
postFixup = ''
p=$out/opt/urbanterror/Quake3-UrT
cur_rpath=$(patchelf --print-rpath $p)
- patchelf --set-rpath $cur_rpath:${libGLU_combined}/lib $p
+ patchelf --set-rpath $cur_rpath:${libGL}/lib:${libGLU}/lib $p
'';
hardeningDisable = [ "format" ];
diff --git a/pkgs/games/vdrift/default.nix b/pkgs/games/vdrift/default.nix
index e018dfd664d314ed8e7542c678eb32f28ac03fe1..3002216b9d4bf352018b2292f8075b9960c401ce 100644
--- a/pkgs/games/vdrift/default.nix
+++ b/pkgs/games/vdrift/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, fetchsvn, pkgconfig, scons, libGLU_combined, SDL2, SDL2_image
+{ stdenv, fetchFromGitHub, fetchsvn, pkgconfig, scons, libGLU, libGL, SDL2, SDL2_image
, libvorbis, bullet, curl, gettext, writeTextFile
, data ? fetchsvn {
@@ -21,7 +21,7 @@ let
};
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ scons libGLU_combined SDL2 SDL2_image libvorbis bullet curl gettext ];
+ buildInputs = [ scons libGLU libGL SDL2 SDL2_image libvorbis bullet curl gettext ];
patches = [ ./0001-Ignore-missing-data-for-installation.patch ];
diff --git a/pkgs/games/voxelands/default.nix b/pkgs/games/voxelands/default.nix
index 9ea9ec7bd12fb50632dd9584c7f9724c2a14ed36..d8c16c9b7ced9d43f54560e210366af961824856 100644
--- a/pkgs/games/voxelands/default.nix
+++ b/pkgs/games/voxelands/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, cmake, irrlicht, libpng, bzip2, sqlite
-, libjpeg, libXxf86vm, libGLU_combined, openal, libvorbis, xlibsWrapper, pkgconfig }:
+, libjpeg, libXxf86vm, libGLU, libGL, openal, libvorbis, xlibsWrapper, pkgconfig }:
stdenv.mkDerivation rec {
pname = "voxelands";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
buildInputs = [
cmake irrlicht libpng bzip2 libjpeg sqlite
- libXxf86vm libGLU_combined openal libvorbis xlibsWrapper pkgconfig
+ libXxf86vm libGLU libGL openal libvorbis xlibsWrapper pkgconfig
];
meta = with stdenv.lib; {
diff --git a/pkgs/games/worldofgoo/default.nix b/pkgs/games/worldofgoo/default.nix
index 7d8380e9f7cea3a9dc9adccda983f54a231ac28f..0889e52d8f86c671c28fe49cc4326ee858ab3c23 100644
--- a/pkgs/games/worldofgoo/default.nix
+++ b/pkgs/games/worldofgoo/default.nix
@@ -1,5 +1,5 @@
{ stdenv, requireFile
-, libX11, libXext, libXau, libxcb, libXdmcp , SDL, SDL_mixer, libvorbis, libGLU_combined
+, libX11, libXext, libXau, libxcb, libXdmcp , SDL, SDL_mixer, libvorbis, libGLU, libGL
, runtimeShell
, demo ? false }:
@@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
# XXX: stdenv.lib.makeLibraryPath doesn't pick up /lib64
libPath = stdenv.lib.makeLibraryPath [ stdenv.cc.cc stdenv.cc.libc ]
- + ":" + stdenv.lib.makeLibraryPath [libX11 libXext libXau libxcb libXdmcp SDL SDL_mixer libvorbis libGLU_combined ]
+ + ":" + stdenv.lib.makeLibraryPath [libX11 libXext libXau libxcb libXdmcp SDL SDL_mixer libvorbis libGLU libGL ]
+ ":" + stdenv.cc.cc + "/lib64";
installPhase = ''
diff --git a/pkgs/games/xmoto/default.nix b/pkgs/games/xmoto/default.nix
index d9bba3fdbdceb04932bc8a38ecd28a28f3717b07..34c9bf1f06d14f98236807f73a5d30a0ca8014ae 100644
--- a/pkgs/games/xmoto/default.nix
+++ b/pkgs/games/xmoto/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, chipmunk, sqlite, curl, zlib, bzip2, libjpeg
-, libpng, freeglut, libGLU_combined, SDL, SDL_mixer, SDL_image, SDL_net
+, libpng, freeglut, libGLU, libGL, SDL, SDL_mixer, SDL_image, SDL_net
, SDL_ttf, lua5, ode, libxdg_basedir, libxml2 }:
stdenv.mkDerivation rec {
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
buildInputs = [
chipmunk sqlite curl zlib bzip2 libjpeg libpng
- freeglut libGLU_combined SDL SDL_mixer SDL_image SDL_net SDL_ttf
+ freeglut libGLU libGL SDL SDL_mixer SDL_image SDL_net SDL_ttf
lua5 ode libxdg_basedir libxml2
];
diff --git a/pkgs/games/xonotic/default.nix b/pkgs/games/xonotic/default.nix
index ac7bf7973d77e0983912339710b4e621cbeeeed3..f4ce3c86a6466b3696f1243cf425b0699302cfc0 100644
--- a/pkgs/games/xonotic/default.nix
+++ b/pkgs/games/xonotic/default.nix
@@ -2,7 +2,7 @@
, # required for both
unzip, libjpeg, zlib, libvorbis, curl
, # glx
- libX11, libGLU_combined, libXpm, libXext, libXxf86vm, alsaLib
+ libX11, libGLU, libGL, libXpm, libXext, libXxf86vm, alsaLib
, # sdl
SDL2
}:
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
# required for both
unzip libjpeg
# glx
- libX11 libGLU_combined libXpm libXext libXxf86vm alsaLib
+ libX11 libGLU libGL libXpm libXext libXxf86vm alsaLib
# sdl
SDL2
zlib libvorbis curl
diff --git a/pkgs/games/xpilot/bloodspilot-client.nix b/pkgs/games/xpilot/bloodspilot-client.nix
index aefc8ad987677b3687825e9499dde89f8316c9f1..257b001024586d71d0f5bb9b5fea1b4761815511 100644
--- a/pkgs/games/xpilot/bloodspilot-client.nix
+++ b/pkgs/games/xpilot/bloodspilot-client.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, libX11, SDL, libGLU_combined, expat, zlib, SDL_ttf, SDL_image }:
+{ stdenv, fetchurl, libX11, SDL, libGLU, libGL, expat, zlib, SDL_ttf, SDL_image }:
stdenv.mkDerivation rec {
version = "1.5.0";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [
- libX11 SDL SDL_ttf SDL_image libGLU_combined expat zlib
+ libX11 SDL SDL_ttf SDL_image libGLU libGL expat zlib
];
NIX_LDFLAGS = [ "-lX11" ];
diff --git a/pkgs/games/xpilot/default.nix b/pkgs/games/xpilot/default.nix
index d0fe9f61896eceb421e3583feb48c26e8539674c..7d83dece333ec88e4ca7218711d6c7e78a605e25 100644
--- a/pkgs/games/xpilot/default.nix
+++ b/pkgs/games/xpilot/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, libX11, libSM, SDL, libGLU_combined, expat, SDL_ttf
+{ stdenv, fetchurl, libX11, libSM, SDL, libGLU, libGL, expat, SDL_ttf
, SDL_image, zlib, libXxf86misc }:
stdenv.mkDerivation rec {
pname = "xpilot-ng";
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "02a7pnp88kh88fzda5q8mzlckk6y9r5fw47j00h26wbsfly0k1zj";
};
buildInputs = [
- libX11 libSM SDL SDL_ttf SDL_image libGLU_combined expat zlib libXxf86misc
+ libX11 libSM SDL SDL_ttf SDL_image libGLU libGL expat zlib libXxf86misc
];
meta = with stdenv.lib; {
description = "A multiplayer X11 space combat game";
diff --git a/pkgs/games/zandronum/default.nix b/pkgs/games/zandronum/default.nix
index ce32e435608b83e6bddca0e667a35df2a9f29500..754c481494543efbdb87a57407c40c4cd0140ef2 100644
--- a/pkgs/games/zandronum/default.nix
+++ b/pkgs/games/zandronum/default.nix
@@ -9,13 +9,14 @@ let
sqlite = callPackage ./sqlite.nix { };
clientLibPath = lib.makeLibraryPath [ fluidsynth ];
-in stdenv.mkDerivation {
- name = "zandronum${suffix}-3.0";
+in stdenv.mkDerivation rec {
+ pname = "zandronum${suffix}";
+ version = "3.0.1";
src = fetchhg {
url = "https://bitbucket.org/Torr_Samaho/zandronum-stable";
- rev = "dd3c3b57023f";
- sha256 = "1f8pd8d2zjwdp6v9anp9yrkdbfhd2mp7svmnna0jiqgxjw6wkyls";
+ rev = "ZA_${version}";
+ sha256 = "16v5b6wfrmabs3ky6isbfhlrqdjrr1pvfxlxwk0im02kcpxxw9qw";
};
# zandronum tries to download sqlite now when running cmake, don't let it
diff --git a/pkgs/misc/cups/filters.nix b/pkgs/misc/cups/filters.nix
index 7e3b4b952f18d7fb2ab8be44f52d019589485752..76f68e507506db5d5e1fa5e68899c1da0fe16497 100644
--- a/pkgs/misc/cups/filters.nix
+++ b/pkgs/misc/cups/filters.nix
@@ -9,11 +9,11 @@ let
in stdenv.mkDerivation rec {
pname = "cups-filters";
- version = "1.25.11";
+ version = "1.25.12";
src = fetchurl {
url = "https://openprinting.org/download/cups-filters/${pname}-${version}.tar.xz";
- sha256 = "0ni8krr4rf5833livn9401cd41gspjvxj0iiqnc1rfg3x90i0fxh";
+ sha256 = "1kv25011iyzvd33n5zmmn1z2p6pzk26hmmw6qvjjnx8p3sp7raqn";
};
nativeBuildInputs = [ pkgconfig makeWrapper ];
diff --git a/pkgs/misc/emulators/atari800/default.nix b/pkgs/misc/emulators/atari800/default.nix
index 228da687094785db7b14d3479da8db6dfe8be8b6..38dc54ea9d7b1ed1ff0d46c6bd5a56b1da67c63a 100644
--- a/pkgs/misc/emulators/atari800/default.nix
+++ b/pkgs/misc/emulators/atari800/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl
-, unzip, zlib, SDL, readline, libGLU_combined, libX11 }:
+, unzip, zlib, SDL, readline, libGLU, libGL, libX11 }:
with stdenv.lib;
stdenv.mkDerivation rec{
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec{
sha256 = "1dcynsf8i52y7zyg62bkbhl3rdd22ss95zs2s9jm4y5jvn4vks88";
};
- buildInputs = [ unzip zlib SDL readline libGLU_combined libX11 ];
+ buildInputs = [ unzip zlib SDL readline libGLU libGL libX11 ];
configureFlags = [
"--target=default"
diff --git a/pkgs/misc/emulators/attract-mode/default.nix b/pkgs/misc/emulators/attract-mode/default.nix
index a725d9c9b086bde2771ba7bb42f1450b5f7b375c..7e6694b28d97a571804dd0858b057e0f9ca8bcf7 100644
--- a/pkgs/misc/emulators/attract-mode/default.nix
+++ b/pkgs/misc/emulators/attract-mode/default.nix
@@ -1,5 +1,5 @@
{ expat, fetchFromGitHub, ffmpeg, fontconfig, freetype, libarchive, libjpeg
-, libGLU_combined, openal, pkgconfig, sfml, stdenv, zlib
+, libGLU, libGL, openal, pkgconfig, sfml, stdenv, zlib
}:
stdenv.mkDerivation rec {
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
'';
buildInputs = [
- expat ffmpeg fontconfig freetype libarchive libjpeg libGLU_combined openal sfml zlib
+ expat ffmpeg fontconfig freetype libarchive libjpeg libGLU libGL openal sfml zlib
];
meta = with stdenv.lib; {
diff --git a/pkgs/misc/emulators/cdemu/analyzer.nix b/pkgs/misc/emulators/cdemu/analyzer.nix
index e52cf7efc6b528f73a4c1333050cad37a7c65867..246dbb7dd3504320a552724d73e6210b6fd530cc 100644
--- a/pkgs/misc/emulators/cdemu/analyzer.nix
+++ b/pkgs/misc/emulators/cdemu/analyzer.nix
@@ -1,9 +1,9 @@
{ callPackage, makeWrapper, gobject-introspection, cmake
, python3Packages, gtk3, glib, libxml2, gnuplot, gnome3, gdk-pixbuf, librsvg, intltool, libmirage }:
let pkg = import ./base.nix {
- version = "3.2.2";
+ version = "3.2.3";
pkgName = "image-analyzer";
- pkgSha256 = "0by3nd5c413cvk3jmv3md6q0axbiidy061g9dhf37qzwgcakcx8j";
+ pkgSha256 = "17yfjmf65s77214qassz6l01cjcni4cv06nzfsm7qrzw172fmci4";
};
in callPackage pkg {
buildInputs = [ glib gtk3 libxml2 gnuplot libmirage makeWrapper
diff --git a/pkgs/misc/emulators/cdemu/client.nix b/pkgs/misc/emulators/cdemu/client.nix
index dbf471d35d1ddd5794f51a7076e6cddd8bf5b723..087b15cecd16e6d62e53307fff65912316cce1c1 100644
--- a/pkgs/misc/emulators/cdemu/client.nix
+++ b/pkgs/misc/emulators/cdemu/client.nix
@@ -1,8 +1,8 @@
{ callPackage, python3Packages, intltool, makeWrapper }:
let pkg = import ./base.nix {
- version = "3.2.1";
+ version = "3.2.3";
pkgName = "cdemu-client";
- pkgSha256 = "1d8m24qvv62xcwafw5zs4yf39vs64kxl4idqcngd8yyjhrb2ykg5";
+ pkgSha256 = "1bvc2m63fx03rbp3ihgl2n7k24lwg5ydwkmr84gsjfcxp46q10zq";
};
in callPackage pkg {
buildInputs = [ python3Packages.python python3Packages.dbus-python python3Packages.pygobject3
diff --git a/pkgs/misc/emulators/cdemu/daemon.nix b/pkgs/misc/emulators/cdemu/daemon.nix
index a80327ce91c0926e49be9498a7ffaedaf2cf60e8..db6ed7ddb47ad43ccac4bec6f6885b98ae5e96af 100644
--- a/pkgs/misc/emulators/cdemu/daemon.nix
+++ b/pkgs/misc/emulators/cdemu/daemon.nix
@@ -1,8 +1,8 @@
{ callPackage, glib, libao, intltool, libmirage }:
let pkg = import ./base.nix {
- version = "3.2.2";
+ version = "3.2.3";
pkgName = "cdemu-daemon";
- pkgSha256 = "0himyrhhfjsr4ff5aci7240bpm9x34h20pid412ci8fm16nk929b";
+ pkgSha256 = "022xzgwmncswb9md71w3ly3mjkdfc93lbij2llp2jamq8grxjjxr";
};
in callPackage pkg {
buildInputs = [ glib libao libmirage intltool ];
diff --git a/pkgs/misc/emulators/cdemu/gui.nix b/pkgs/misc/emulators/cdemu/gui.nix
index e06853b8f73695ed14640058c84cf4cfb7357c02..599531950a2147b55930001a568131240fe0acbd 100644
--- a/pkgs/misc/emulators/cdemu/gui.nix
+++ b/pkgs/misc/emulators/cdemu/gui.nix
@@ -2,9 +2,9 @@
, python3Packages, gtk3, glib, libnotify, intltool, gnome3, gdk-pixbuf, librsvg }:
let
pkg = import ./base.nix {
- version = "3.2.1";
+ version = "3.2.3";
pkgName = "gcdemu";
- pkgSha256 = "0lmyvhbf57wcm8k2a33j2dhy4gblaiycy33q070gdrxi37xk7w5g";
+ pkgSha256 = "19vy1awha8s7cfja3a6npaf3rfy3pl3cbsh4vd609q9jz4v4lyg4";
};
inherit (python3Packages) python pygobject3;
in callPackage pkg {
diff --git a/pkgs/misc/emulators/cdemu/libmirage.nix b/pkgs/misc/emulators/cdemu/libmirage.nix
index 0ead78305cd03043c3080109315250cc4b73cf51..cc3118ace151ea47f7ca9ecca037f5f10dc9c335 100644
--- a/pkgs/misc/emulators/cdemu/libmirage.nix
+++ b/pkgs/misc/emulators/cdemu/libmirage.nix
@@ -3,9 +3,9 @@
, pcre, utillinux, libselinux, libsepol }:
let pkg = import ./base.nix {
- version = "3.2.2";
+ version = "3.2.3";
pkgName = "libmirage";
- pkgSha256 = "0gwrfia0fyhi0b3p2pfyyvrcfcb0qysfzgpdqsqjqbx4xaqx5wpi";
+ pkgSha256 = "08mfvqyk3833ksfd47i4j3ppmrw5ry219km6h7lywdh9hm9x14yf";
};
in callPackage pkg {
buildInputs = [ glib libsndfile zlib bzip2 lzma libsamplerate intltool ];
diff --git a/pkgs/misc/emulators/cdemu/vhba.nix b/pkgs/misc/emulators/cdemu/vhba.nix
index 71beaf125481737c78bbab130ca30cbba7cc3666..df25fb96eb1cd5853300d753abbc7a664ba95584 100644
--- a/pkgs/misc/emulators/cdemu/vhba.nix
+++ b/pkgs/misc/emulators/cdemu/vhba.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "vhba";
- version = "20190410";
+ version = "20190831";
src = fetchurl {
url = "mirror://sourceforge/cdemu/vhba-module-${version}.tar.bz2";
- sha256 = "1513hq130raxp9z5grj54cwfjfxj05apipxg425j0zicii59a60c";
+ sha256 = "1ybbk6l06n0y11n5wnfmvdz0baizmq55l458ywimghdyz0n7g0ws";
};
makeFlags = [ "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" "INSTALL_MOD_PATH=$(out)" ];
diff --git a/pkgs/misc/emulators/dolphin-emu/default.nix b/pkgs/misc/emulators/dolphin-emu/default.nix
index 303c2f82d9ef5e2dc9769bfba8a9db40d5d7928c..cc49ef2aa1dc05bc8211369000d8f1145d52354f 100644
--- a/pkgs/misc/emulators/dolphin-emu/default.nix
+++ b/pkgs/misc/emulators/dolphin-emu/default.nix
@@ -1,5 +1,5 @@
{ stdenv, lib, fetchpatch, pkgconfig, cmake, bluez, ffmpeg, libao, gtk2, glib
-, libGLU_combined , gettext, libpthreadstubs, libXrandr, libXext, readline
+, libGLU, libGL , gettext, libpthreadstubs, libXrandr, libXext, readline
, openal , libXdmcp, portaudio, fetchFromGitHub, libusb, libevdev
, wxGTK30, soundtouch, miniupnpc, mbedtls, curl, lzo, sfml
, libpulseaudio ? null }:
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ cmake bluez ffmpeg libao libGLU_combined gtk2 glib
+ buildInputs = [ cmake bluez ffmpeg libao libGLU libGL gtk2 glib
gettext libpthreadstubs libXrandr libXext readline openal
libevdev libXdmcp portaudio libusb libpulseaudio
libevdev libXdmcp portaudio libusb libpulseaudio
diff --git a/pkgs/misc/emulators/dolphin-emu/master.nix b/pkgs/misc/emulators/dolphin-emu/master.nix
index 9e03780daa36eecacf4217b1f0920924b291e96c..cec88918282e534fedb31ef80faa6383a8ef5b75 100644
--- a/pkgs/misc/emulators/dolphin-emu/master.nix
+++ b/pkgs/misc/emulators/dolphin-emu/master.nix
@@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, makeDesktopItem, pkgconfig, cmake
-, wrapQtAppsHook, qtbase, bluez, ffmpeg, libao, libGLU_combined, pcre, gettext
+, wrapQtAppsHook, qtbase, bluez, ffmpeg, libao, libGLU, libGL, pcre, gettext
, libXrandr, libusb, lzo, libpthreadstubs, libXext, libXxf86vm, libXinerama
, libSM, libXdmcp, readline, openal, udev, libevdev, portaudio, curl, alsaLib
, miniupnpc, enet, mbedtls, soundtouch, sfml
@@ -35,7 +35,7 @@ in stdenv.mkDerivation rec {
++ lib.optional stdenv.isLinux wrapQtAppsHook;
buildInputs = [
- curl ffmpeg libao libGLU_combined pcre gettext libpthreadstubs libpulseaudio
+ curl ffmpeg libao libGLU libGL pcre gettext libpthreadstubs libpulseaudio
libXrandr libXext libXxf86vm libXinerama libSM readline openal libXdmcp lzo
portaudio libusb libpng hidapi miniupnpc enet mbedtls soundtouch sfml
qtbase
diff --git a/pkgs/misc/emulators/dosbox/default.nix b/pkgs/misc/emulators/dosbox/default.nix
index e7250491608549e2940642c08f4fa65b6b6e8be3..5b770a6471ab56f5689e0585c53b82d76db566b0 100644
--- a/pkgs/misc/emulators/dosbox/default.nix
+++ b/pkgs/misc/emulators/dosbox/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, fetchurl, makeDesktopItem, SDL, SDL_net, SDL_sound, libGLU_combined, libpng, graphicsmagick }:
+{ stdenv, lib, fetchurl, makeDesktopItem, SDL, SDL_net, SDL_sound, libGLU, libGL, libpng, graphicsmagick }:
stdenv.mkDerivation rec {
name = "dosbox-0.74-3";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ];
- buildInputs = [ SDL SDL_net SDL_sound libGLU_combined libpng ];
+ buildInputs = [ SDL SDL_net SDL_sound libGLU libGL libpng ];
nativeBuildInputs = [ graphicsmagick ];
diff --git a/pkgs/misc/emulators/emulationstation/default.nix b/pkgs/misc/emulators/emulationstation/default.nix
index d8f5f1cbdb03f34a0486f8704c43f18af0b07d26..668d18045445b52af71ed1bf117caf2929631049 100644
--- a/pkgs/misc/emulators/emulationstation/default.nix
+++ b/pkgs/misc/emulators/emulationstation/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, pkgconfig, cmake, curl, boost, eigen
-, freeimage, freetype, libGLU_combined, SDL2, alsaLib, libarchive }:
+, freeimage, freetype, libGLU, libGL, SDL2, alsaLib, libarchive }:
stdenv.mkDerivation {
pname = "emulationstation";
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
};
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ cmake alsaLib boost curl eigen freeimage freetype libarchive libGLU_combined SDL2 ];
+ buildInputs = [ cmake alsaLib boost curl eigen freeimage freetype libarchive libGLU libGL SDL2 ];
buildPhase = "cmake . && make";
installPhase = ''
diff --git a/pkgs/misc/emulators/epsxe/default.nix b/pkgs/misc/emulators/epsxe/default.nix
index 1cfa0db790fb7d8a114c3893cb4ac3c2a4463120..81202008db19c3cada56530bd5b5a2cd7defcbb6 100644
--- a/pkgs/misc/emulators/epsxe/default.nix
+++ b/pkgs/misc/emulators/epsxe/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, alsaLib, curl, gdk-pixbuf, glib, gtk3, libGLU_combined,
+{ stdenv, fetchurl, alsaLib, curl, gdk-pixbuf, glib, gtk3, libGLU, libGL,
libX11, openssl_1_0_2, ncurses5, SDL, SDL_ttf, unzip, zlib, wrapGAppsHook, autoPatchelfHook }:
with stdenv.lib;
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
glib
gtk3
libX11
- libGLU_combined
+ libGLU libGL
openssl_1_0_2
ncurses5
SDL
diff --git a/pkgs/misc/emulators/fakenes/default.nix b/pkgs/misc/emulators/fakenes/default.nix
index eb7964cc017d522c7aa05751ed42cc7d374781bb..704cef52e5e443de19197104a85a1916e071ef13 100644
--- a/pkgs/misc/emulators/fakenes/default.nix
+++ b/pkgs/misc/emulators/fakenes/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchurl, allegro, openal, libGLU_combined, zlib, hawknl, freeglut, libX11,
+{stdenv, fetchurl, allegro, openal, libGLU, libGL, zlib, hawknl, freeglut, libX11,
libXxf86vm, libXcursor, libXpm }:
stdenv.mkDerivation {
@@ -8,7 +8,7 @@ stdenv.mkDerivation {
sha256 = "026h67s4pzc1vma59pmzk02iy379255qbai2q74wln9bxqcpniy4";
};
- buildInputs = [ allegro openal libGLU_combined zlib hawknl freeglut libX11
+ buildInputs = [ allegro openal libGLU libGL zlib hawknl freeglut libX11
libXxf86vm libXcursor libXpm ];
hardeningDisable = [ "format" ];
diff --git a/pkgs/misc/emulators/fs-uae/default.nix b/pkgs/misc/emulators/fs-uae/default.nix
index 95a95bb17b14ae5f65f9315e877c1e12b294d49d..9f092f91e2efa18ce0e0f90dbc621b7739fa6739 100644
--- a/pkgs/misc/emulators/fs-uae/default.nix
+++ b/pkgs/misc/emulators/fs-uae/default.nix
@@ -1,19 +1,19 @@
{ stdenv, fetchurl, pkgconfig
-, gettext, gtk2, SDL2, zlib, glib, openal, libGLU_combined, lua, freetype, libmpeg2, zip }:
+, gettext, gtk2, SDL2, zlib, glib, openal, libGLU, libGL, lua, freetype, libmpeg2, zip }:
with stdenv.lib;
stdenv.mkDerivation rec {
pname = "fs-uae";
- version = "3.0.0";
+ version = "3.0.2";
src = fetchurl {
url = "https://fs-uae.net/stable/${version}/${pname}-${version}.tar.gz";
- sha256 = "0r69i6rh472lj4qwqfcfh17xmlw4x6mhqzr9hhpkbb4byyw6h592";
+ sha256 = "1awakxs3rlbm0bxpi37cbavi5fpb89wszksyw62as4nz3qsdrpjf";
};
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ gettext gtk2 SDL2 zlib glib openal libGLU_combined lua freetype libmpeg2 zip ];
+ buildInputs = [ gettext gtk2 SDL2 zlib glib openal libGLU libGL lua freetype libmpeg2 zip ];
meta = {
description = "An accurate, customizable Amiga Emulator";
diff --git a/pkgs/misc/emulators/gens-gs/default.nix b/pkgs/misc/emulators/gens-gs/default.nix
index da53b4f8c5573d203cd8014982828847d13a39d3..4120ec7ba6aa1238969395da40497c6a7314d376 100644
--- a/pkgs/misc/emulators/gens-gs/default.nix
+++ b/pkgs/misc/emulators/gens-gs/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, gtk2, SDL, nasm, zlib, libpng, libGLU_combined }:
+{ stdenv, fetchurl, pkgconfig, gtk2, SDL, nasm, zlib, libpng, libGLU, libGL }:
stdenv.mkDerivation {
name = "gens-gs-7";
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
};
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ gtk2 SDL nasm zlib libpng libGLU_combined ];
+ buildInputs = [ gtk2 SDL nasm zlib libpng libGLU libGL ];
# Work around build failures on recent GTK.
# See http://ubuntuforums.org/showthread.php?p=10535837
diff --git a/pkgs/misc/emulators/higan/default.nix b/pkgs/misc/emulators/higan/default.nix
index ad96ca36bc163e3693ba1bb69d1b0f69e935222d..c1e64d26b476716fae88633576f8fffd46704c89 100644
--- a/pkgs/misc/emulators/higan/default.nix
+++ b/pkgs/misc/emulators/higan/default.nix
@@ -2,7 +2,7 @@
, p7zip, pkgconfig
, libX11, libXv
, udev
-, libGLU_combined, SDL
+, libGLU, libGL, SDL
, libao, openal, libpulseaudio
, gtk2, gtksourceview
, runtimeShell }:
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
postPatch = "sed '1i#include ' -i higan/fc/ppu/ppu.cpp";
buildInputs =
- [ p7zip pkgconfig libX11 libXv udev libGLU_combined
+ [ p7zip pkgconfig libX11 libXv udev libGLU libGL
SDL libao openal libpulseaudio gtk2 gtksourceview ];
unpackPhase = ''
diff --git a/pkgs/misc/emulators/mednafen/default.nix b/pkgs/misc/emulators/mednafen/default.nix
index 74c456cfb1051577cd9af36498db17406468dea4..337d19804fc4a42ca0760e450e548cedfc2d1090 100644
--- a/pkgs/misc/emulators/mednafen/default.nix
+++ b/pkgs/misc/emulators/mednafen/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, freeglut, libGLU_combined, libcdio, libjack2
+{ stdenv, fetchurl, pkgconfig, freeglut, libGLU, libGL, libcdio, libjack2
, libsamplerate, libsndfile, libX11, SDL, SDL_net, zlib }:
stdenv.mkDerivation rec {
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
buildInputs = [
freeglut
- libGLU_combined
+ libGLU libGL
libcdio
libjack2
libsamplerate
diff --git a/pkgs/misc/emulators/nestopia/default.nix b/pkgs/misc/emulators/nestopia/default.nix
index 4f02d0f147d4b795727af86bb345088066371f25..20c7c39312a5aeafccee4664010571360023f48e 100644
--- a/pkgs/misc/emulators/nestopia/default.nix
+++ b/pkgs/misc/emulators/nestopia/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, pkgconfig, SDL2, alsaLib, gtk3
-, makeWrapper, libGLU_combined, libarchive, libao, unzip, xdg_utils
+, makeWrapper, libGLU, libGL, libarchive, libao, unzip, xdg_utils
, epoxy, gdk-pixbuf, gnome3, wrapGAppsHook
}:
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
epoxy
gtk3
gdk-pixbuf
- libGLU_combined
+ libGLU libGL
libarchive
libao
unzip
diff --git a/pkgs/misc/emulators/resim/default.nix b/pkgs/misc/emulators/resim/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..81acdf81f2ec80f8a64de04f04948bd6e102ac64
--- /dev/null
+++ b/pkgs/misc/emulators/resim/default.nix
@@ -0,0 +1,18 @@
+{ fetchFromGitHub, stdenv, cmake, qt4 }:
+
+stdenv.mkDerivation {
+ name = "resim";
+ src = fetchFromGitHub {
+ owner = "itszor";
+ repo = "resim";
+ rev = "cdc7808ceb7ba4ac00d0d08ca646b58615059150";
+ sha256 = "1743lngqxd7ai4k6cd4d1cf9h60z2pnvr2iynfs1zlpcj3w1hx0c";
+ };
+ nativeBuildInputs = [ cmake ];
+ buildInputs = [ qt4 ];
+ installPhase = ''
+ mkdir -pv $out/{lib,bin}
+ cp -v libresim/libarmsim.so $out/lib/libarmsim.so
+ cp -v vc4emul/vc4emul $out/bin/vc4emul
+ '';
+}
diff --git a/pkgs/misc/emulators/retroarch/default.nix b/pkgs/misc/emulators/retroarch/default.nix
index 8787cd9d39e48ca7868908110ebab78251841216..34e3961250cf659e7d7114b6db860aef9e9cf89c 100644
--- a/pkgs/misc/emulators/retroarch/default.nix
+++ b/pkgs/misc/emulators/retroarch/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, which, pkgconfig, makeWrapper
-, ffmpeg, libGLU_combined, freetype, libxml2, python3
+, ffmpeg, libGLU, libGL, freetype, libxml2, python3
, libobjc, AppKit, Foundation
, alsaLib ? null
, libdrm ? null
@@ -41,7 +41,7 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ]
++ optional withVulkan [ makeWrapper ];
- buildInputs = [ ffmpeg freetype libxml2 libGLU_combined python3 SDL2 which ]
+ buildInputs = [ ffmpeg freetype libxml2 libGLU libGL python3 SDL2 which ]
++ optional enableNvidiaCgToolkit nvidia_cg_toolkit
++ optional withVulkan [ vulkan-loader ]
++ optionals stdenv.isDarwin [ libobjc AppKit Foundation ]
diff --git a/pkgs/misc/emulators/retroarch/wrapper.nix b/pkgs/misc/emulators/retroarch/wrapper.nix
index 71ae168f1b232e3c77a9d9ba16c2bc35d776c773..08ebf8ea85444ce5f09417f2b29e2a866d79b18d 100644
--- a/pkgs/misc/emulators/retroarch/wrapper.nix
+++ b/pkgs/misc/emulators/retroarch/wrapper.nix
@@ -1,14 +1,8 @@
{ stdenv, lib, makeWrapper, retroarch, cores }:
-let
-
- p = builtins.parseDrvName retroarch.name;
-
-in
-
stdenv.mkDerivation {
- name = "retroarch-" + p.version;
- version = p.version;
+ pname = "retroarch";
+ version = lib.getVersion retroarch;
buildInputs = [ makeWrapper ];
diff --git a/pkgs/misc/emulators/vbam/default.nix b/pkgs/misc/emulators/vbam/default.nix
index daa6814a411e1ad5d91d6306a1fc9e370c3f1f65..e44b45dbb4bc491858bd64a0b9d43c04ec5f28a5 100644
--- a/pkgs/misc/emulators/vbam/default.nix
+++ b/pkgs/misc/emulators/vbam/default.nix
@@ -4,7 +4,7 @@
, fetchFromGitHub
, ffmpeg
, gettext
-, libGLU_combined
+, libGLU, libGL
, openal
, pkgconfig
, SDL2
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
cairo
ffmpeg
gettext
- libGLU_combined
+ libGLU libGL
openal
SDL2
sfml
diff --git a/pkgs/misc/emulators/vice/default.nix b/pkgs/misc/emulators/vice/default.nix
index 7cf4faf55cd72d668eedfbcb8aae509aa5db439c..cb083c0aa0d81b9c7fe99d20c6d322745f38c889 100644
--- a/pkgs/misc/emulators/vice/default.nix
+++ b/pkgs/misc/emulators/vice/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, bison, flex, perl, libpng, giflib, libjpeg, alsaLib, readline, libGLU_combined, libXaw
+{ stdenv, fetchurl, bison, flex, perl, libpng, giflib, libjpeg, alsaLib, readline, libGLU, libGL, libXaw
, pkgconfig, gtk2, SDL, autoreconfHook, makeDesktopItem
}:
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "0h0jbml02s2a36hr78dxv1zshmfhxp1wadpcdl09aq416fb1bf1y";
};
- buildInputs = [ bison flex perl libpng giflib libjpeg alsaLib readline libGLU_combined
+ buildInputs = [ bison flex perl libpng giflib libjpeg alsaLib readline libGLU libGL
pkgconfig gtk2 SDL autoreconfHook libXaw ];
dontDisableStatic = true;
configureFlags = [ "--enable-fullscreen --enable-gnomeui" ];
diff --git a/pkgs/misc/emulators/wine/base.nix b/pkgs/misc/emulators/wine/base.nix
index 8252c96282d206c6f62ce794878c7e98fd5fe505..057615a79a14bfe0fa9fbef08c7de5e17e608ca8 100644
--- a/pkgs/misc/emulators/wine/base.nix
+++ b/pkgs/misc/emulators/wine/base.nix
@@ -58,7 +58,7 @@ stdenv.mkDerivation ((lib.optionalAttrs (buildScript != null) {
++ lib.optionals openclSupport [ pkgs.opencl-headers pkgs.ocl-icd ]
++ lib.optionals xmlSupport [ pkgs.libxml2 pkgs.libxslt ]
++ lib.optionals tlsSupport [ pkgs.openssl pkgs.gnutls ]
- ++ lib.optionals openglSupport [ pkgs.libGLU_combined pkgs.mesa.osmesa pkgs.libdrm ]
+ ++ lib.optionals openglSupport [ pkgs.libGLU pkgs.libGL pkgs.mesa.osmesa pkgs.libdrm ]
++ lib.optionals stdenv.isDarwin (with pkgs.buildPackages.darwin.apple_sdk.frameworks; [
CoreServices Foundation ForceFeedback AppKit OpenGL IOKit DiskArbitration Security
ApplicationServices AudioToolbox CoreAudio AudioUnit CoreMIDI OpenAL OpenCL Cocoa Carbon
diff --git a/pkgs/misc/emulators/wine/staging.nix b/pkgs/misc/emulators/wine/staging.nix
index 5264e66279f772523ab82f9756621edd12043ccf..df979c68a47fe316b87c3f775f9b856bdf22e007 100644
--- a/pkgs/misc/emulators/wine/staging.nix
+++ b/pkgs/misc/emulators/wine/staging.nix
@@ -5,7 +5,7 @@ with callPackage ./util.nix {};
let patch = (callPackage ./sources.nix {}).staging;
build-inputs = pkgNames: extra:
(mkBuildInputs wineUnstable.pkgArches pkgNames) ++ extra;
-in assert (builtins.parseDrvName wineUnstable.name).version == patch.version;
+in assert stdenv.lib.getVersion wineUnstable == patch.version;
stdenv.lib.overrideDerivation wineUnstable (self: {
buildInputs = build-inputs [ "perl" "utillinux" "autoconf" libtxc_dxtn_Name ] self.buildInputs;
diff --git a/pkgs/misc/emulators/wxmupen64plus/default.nix b/pkgs/misc/emulators/wxmupen64plus/default.nix
index 1199f987bb6a95b2de413ed5ba0199833bf17869..2416ddd65b7ae89c01f7b1029732f4709e31639a 100644
--- a/pkgs/misc/emulators/wxmupen64plus/default.nix
+++ b/pkgs/misc/emulators/wxmupen64plus/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, python, wxGTK29, mupen64plus, SDL, libX11, libGLU_combined
+{ stdenv, fetchurl, python, wxGTK29, mupen64plus, SDL, libX11, libGLU, libGL
, wafHook }:
stdenv.mkDerivation {
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
};
nativeBuildInputs = [ wafHook ];
- buildInputs = [ python wxGTK29 SDL libX11 libGLU_combined ];
+ buildInputs = [ python wxGTK29 SDL libX11 libGLU libGL ];
preConfigure = ''
tar xf ${mupen64plus.src}
diff --git a/pkgs/misc/emulators/yabause/default.nix b/pkgs/misc/emulators/yabause/default.nix
index ed8652d08f1b575686357312ae449760c370998b..abceb752b2f8bcb57a757619e2245ef766411c07 100644
--- a/pkgs/misc/emulators/yabause/default.nix
+++ b/pkgs/misc/emulators/yabause/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, cmake, pkgconfig, qtbase, qt5, libGLU_combined
+{ stdenv, fetchurl, cmake, pkgconfig, qtbase, qt5, libGLU, libGL
, freeglut ? null, openal ? null, SDL2 ? null }:
stdenv.mkDerivation rec {
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ cmake pkgconfig ];
- buildInputs = [ qtbase qt5.qtmultimedia libGLU_combined freeglut openal SDL2 ];
+ buildInputs = [ qtbase qt5.qtmultimedia libGLU libGL freeglut openal SDL2 ];
patches = [
./linkage-rwx-linux-elf.patch
diff --git a/pkgs/misc/emulators/zsnes/default.nix b/pkgs/misc/emulators/zsnes/default.nix
index 1ea8d7e68d3c074471cf8d997b12643776934b3c..55fe49895c9f633b049ceb2b8e4b30c5e6a0c273 100644
--- a/pkgs/misc/emulators/zsnes/default.nix
+++ b/pkgs/misc/emulators/zsnes/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchFromGitHub, nasm, SDL, zlib, libpng, ncurses, libGLU_combined
+{stdenv, fetchFromGitHub, nasm, SDL, zlib, libpng, ncurses, libGLU, libGL
, makeDesktopItem }:
let
@@ -22,7 +22,7 @@ in stdenv.mkDerivation {
sha256 = "1gy79d5wdaacph0cc1amw7mqm7i0716n6mvav16p1svi26iz193v";
};
- buildInputs = [ nasm SDL zlib libpng ncurses libGLU_combined ];
+ buildInputs = [ nasm SDL zlib libpng ncurses libGLU libGL ];
prePatch = ''
for i in $(cat debian/patches/series); do
diff --git a/pkgs/misc/ghostscript/default.nix b/pkgs/misc/ghostscript/default.nix
index 89583bb15d3d5a9c1fde712644237fc223d41a94..541fbea1dd4060276ac36698bba655c350dc5e4e 100644
--- a/pkgs/misc/ghostscript/default.nix
+++ b/pkgs/misc/ghostscript/default.nix
@@ -47,6 +47,11 @@ stdenv.mkDerivation rec {
patches = [
./urw-font-files.patch
./doc-no-ref.diff
+ (fetchpatch {
+ name = "CVE-2019-14869.patch";
+ url = "https://git.ghostscript.com/?p=ghostpdl.git;a=patch;h=485904772c5f0aa1140032746e5a0abfc40f4cef";
+ sha256 = "0z5gnvgpp0dlzgvpw9a1yan7qyycv3mf88l93fvb1kyay893rshp";
+ })
];
outputs = [ "out" "man" "doc" ];
diff --git a/pkgs/misc/gnash/default.nix b/pkgs/misc/gnash/default.nix
index e866a1937d69d340132e40a7491b583809e6db31..cfc0c3f7301ac1c8994589801908220120c7b1a9 100644
--- a/pkgs/misc/gnash/default.nix
+++ b/pkgs/misc/gnash/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchgit, autoreconfHook
+{ stdenv, fetchgit, fetchpatch, autoreconfHook
, pkgconfig, libtool, boost, SDL
, glib, pango, gettext, curl, xorg
, libpng, libjpeg, giflib, speex, atk
@@ -6,7 +6,9 @@
# renderers
, enableAGG ? true, agg ? null
, enableCairo ? false, cairo ? null
-, enableOpenGL ? false, libGLU_combined ? null
+, enableOpenGL ? false
+, libGLU ? null
+, libGL ? null
# GUI toolkits
, enableGTK ? true, gtk2 ? null, gnome2 ? null
@@ -45,7 +47,7 @@ in
# renderers
assert enableAGG -> available agg;
assert enableCairo -> available cairo;
-assert enableOpenGL -> available libGLU_combined;
+assert enableOpenGL -> all available [ libGLU libGL ];
# GUI toolkits
assert enableGTK -> all available [ gtk2 gnome2.gtkglext gnome2.GConf ];
@@ -57,7 +59,7 @@ assert enableFFmpeg -> available ffmpeg_2 ;
# misc
assert enableJemalloc -> available jemalloc;
-assert enableHwAccel -> available libGLU_combined;
+assert enableHwAccel -> all available [ libGLU libGL ];
assert enablePlugins -> all available [ xulrunner npapi_sdk ];
assert length toolkits == 0 -> throw "at least one GUI toolkit must be enabled";
@@ -85,14 +87,21 @@ stdenv.mkDerivation {
libpng libjpeg giflib pango atk
] ++ optional enableAGG agg
++ optional enableCairo cairo
- ++ optional enableOpenGL libGLU_combined
++ optional enableQt qt4
++ optional enableFFmpeg ffmpeg_2
++ optional enableJemalloc jemalloc
- ++ optional enableHwAccel libGLU_combined
+ ++ optional enableHwAccel [ libGL libGLU ]
+ ++ optionals enableOpenGL [ libGL libGLU ]
++ optionals enablePlugins [ xulrunner npapi_sdk ]
++ optionals enableGTK [ gtk2 gnome2.gtkglext gnome2.GConf ];
+ patches = [
+ (fetchpatch { # fix compilation due to bad detection of libgif version: https://savannah.gnu.org/patch/index.php?9873
+ url = "https://savannah.gnu.org/patch/download.php?file_id=47859";
+ sha256 = "0aimayzgi5065gkcfcr8d5lkd9c0471q7dqmln42hjzq847n6d5y";
+ })
+ ];
+
configureFlags = with stdenv.lib; [
"--with-boost-incl=${boost.dev}/include"
"--with-boost-lib=${boost.out}/lib"
diff --git a/pkgs/misc/jackaudio/default.nix b/pkgs/misc/jackaudio/default.nix
index 4bd0a96fb3ac2046033debbac31a68f62be5eaf3..f6eaa553bb26e7ff2963ef5ddc712e5a0393b429 100644
--- a/pkgs/misc/jackaudio/default.nix
+++ b/pkgs/misc/jackaudio/default.nix
@@ -1,5 +1,4 @@
-{ stdenv, fetchFromGitHub, pkgconfig, python2Packages, makeWrapper
-, fetchpatch
+{ stdenv, fetchFromGitHub, pkgconfig, python3Packages, makeWrapper
, bash, libsamplerate, libsndfile, readline, eigen, celt
, wafHook
# Darwin Dependencies
@@ -15,7 +14,7 @@
with stdenv.lib;
let
- inherit (python2Packages) python dbus-python;
+ inherit (python3Packages) python dbus-python;
shouldUsePkg = pkg: if pkg != null && stdenv.lib.any (stdenv.lib.meta.platformMatch stdenv.hostPlatform) pkg.meta.platforms then pkg else null;
libOnly = prefix == "lib";
@@ -28,13 +27,13 @@ let
in
stdenv.mkDerivation rec {
name = "${prefix}jack2-${version}";
- version = "1.9.13";
+ version = "1.9.14";
src = fetchFromGitHub {
owner = "jackaudio";
repo = "jack2";
rev = "v${version}";
- sha256 = "1dnq75ylcv3npsyvzzkj0g8mdnzwis1whc2pk6s5hkcc1bgvv2xy";
+ sha256 = "1prxg1l8wrxfp2mh7l4mvjvmml6816fciq1la88ylhwm1qnfvnax";
};
nativeBuildInputs = [ pkgconfig python makeWrapper wafHook ];
diff --git a/pkgs/misc/screensavers/electricsheep/default.nix b/pkgs/misc/screensavers/electricsheep/default.nix
index b1c2ec5c3bda4c4509e97a7756e46d4345659b3a..b36f8bf98def64f0910874a99b89e98826c13dd3 100644
--- a/pkgs/misc/screensavers/electricsheep/default.nix
+++ b/pkgs/misc/screensavers/electricsheep/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, autoreconfHook, wxGTK30, libav, lua5_1, curl
-, libpng, xorg, pkgconfig, flam3, libgtop, boost, tinyxml, freeglut, libGLU_combined
+, libpng, xorg, pkgconfig, flam3, libgtop, boost, tinyxml, freeglut, libGLU, libGL
, glee }:
stdenv.mkDerivation rec {
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
buildInputs = [
wxGTK30 libav lua5_1 curl libpng xorg.libXrender
- flam3 libgtop boost tinyxml freeglut libGLU_combined glee
+ flam3 libgtop boost tinyxml freeglut libGLU libGL glee
];
preAutoreconf = ''
diff --git a/pkgs/misc/screensavers/rss-glx/default.nix b/pkgs/misc/screensavers/rss-glx/default.nix
index 7f6d99297ab169beb7d1838d1f8a7959b604cd60..467f762de86cae9515ead0e4cdca29023df57b09 100644
--- a/pkgs/misc/screensavers/rss-glx/default.nix
+++ b/pkgs/misc/screensavers/rss-glx/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchurl, pkgconfig, xlibsWrapper, libXext, libGLU_combined, imagemagick, libtiff, bzip2}:
+{stdenv, fetchurl, pkgconfig, xlibsWrapper, libXext, libGLU, libGL, imagemagick, libtiff, bzip2}:
stdenv.mkDerivation rec {
version = "0.9.1";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ libGLU_combined xlibsWrapper imagemagick libtiff bzip2 ];
+ buildInputs = [ libGLU libGL xlibsWrapper imagemagick libtiff bzip2 ];
NIX_CFLAGS_COMPILE = "-I${imagemagick.dev}/include/ImageMagick";
NIX_LDFLAGS= "-rpath ${libXext}/lib";
diff --git a/pkgs/misc/screensavers/xscreensaver/default.nix b/pkgs/misc/screensavers/xscreensaver/default.nix
index 39706bb96edf08be1302d495f0d75e13b6c487df..1937874a49cbdf93388217b8d71fb1747e87670d 100644
--- a/pkgs/misc/screensavers/xscreensaver/default.nix
+++ b/pkgs/misc/screensavers/xscreensaver/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, bc, perl, perlPackages, pam, libXext, libXScrnSaver, libX11
-, libXrandr, libXmu, libXxf86vm, libXrender, libXxf86misc, libjpeg, libGLU_combined, gtk2
+, libXrandr, libXmu, libXxf86vm, libXrender, libXxf86misc, libjpeg, libGLU, libGL, gtk2
, libxml2, libglade, intltool, xorg, makeWrapper, gle
, forceInstallAllHacks ? false
}:
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
};
buildInputs =
- [ pkgconfig bc perl libjpeg libGLU_combined gtk2 libxml2 libglade pam
+ [ pkgconfig bc perl libjpeg libGLU libGL gtk2 libxml2 libglade pam
libXext libXScrnSaver libX11 libXrandr libXmu libXxf86vm libXrender
libXxf86misc intltool xorg.appres makeWrapper gle
];
diff --git a/pkgs/misc/tmux-plugins/default.nix b/pkgs/misc/tmux-plugins/default.nix
index 455ae0aaf2515945e61fc8a1046eebbd254aeaae..4b93ec8dff9dd94da95f1dc44e07337ff0b39bcb 100644
--- a/pkgs/misc/tmux-plugins/default.nix
+++ b/pkgs/misc/tmux-plugins/default.nix
@@ -25,7 +25,7 @@ let
addonInfo ? null,
preInstall ? "",
postInstall ? "",
- path ? (builtins.parseDrvName pluginName).name,
+ path ? lib.getName pluginName,
dependencies ? [],
...
}:
diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix
index ffe576c31d81a365dbc160c02e58e515b88d14d0..0c30e76b3fa96a0e43b8068e857485daf72ac3fd 100644
--- a/pkgs/misc/uboot/default.nix
+++ b/pkgs/misc/uboot/default.nix
@@ -4,24 +4,27 @@
}:
let
- buildUBoot = { version ? "2019.10"
- , filesToInstall
- , installDir ? "$out"
- , defconfig
- , extraConfig ? ""
- , extraPatches ? []
- , extraMakeFlags ? []
- , extraMeta ? {}
- , ... } @ args:
- stdenv.mkDerivation ({
-
+ defaultVersion = "2019.10";
+ defaultSrc = fetchurl {
+ url = "ftp://ftp.denx.de/pub/u-boot/u-boot-${defaultVersion}.tar.bz2";
+ sha256 = "053hcrwwlacqh2niisn0zas95zkbffw5aw5sdhixs8lmfdq60vcd";
+ };
+ buildUBoot = {
+ version ? null
+ , src ? null
+ , filesToInstall
+ , installDir ? "$out"
+ , defconfig
+ , extraConfig ? ""
+ , extraPatches ? []
+ , extraMakeFlags ? []
+ , extraMeta ? {}
+ , ... } @ args: stdenv.mkDerivation ({
pname = "uboot-${defconfig}";
- inherit version;
- src = fetchurl {
- url = "ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2";
- sha256 = "053hcrwwlacqh2niisn0zas95zkbffw5aw5sdhixs8lmfdq60vcd";
- };
+ version = if src == null then defaultVersion else version;
+
+ src = if src == null then defaultSrc else src;
patches = [
(fetchpatch {
@@ -90,15 +93,12 @@ in {
inherit buildUBoot;
ubootTools = buildUBoot {
- defconfig = "allnoconfig";
+ defconfig = "tools-only_defconfig";
installDir = "$out/bin";
hardeningDisable = [];
dontStrip = false;
extraMeta.platforms = lib.platforms.linux;
extraMakeFlags = [ "HOST_TOOLS_ALL=y" "CROSS_BUILD_TOOLS=1" "NO_SDL=1" "tools" ];
- postConfigure = ''
- sed -i '/CONFIG_SYS_TEXT_BASE/c\CONFIG_SYS_TEXT_BASE=0x00000000' .config
- '';
filesToInstall = [
"tools/dumpimage"
"tools/fdtgrep"
diff --git a/pkgs/misc/vim-plugins/build-vim-plugin.nix b/pkgs/misc/vim-plugins/build-vim-plugin.nix
index b797f49df9e010b2ec5199cc322e74783a4abf2d..4ca99b09af500766779410a8dd3b96c8ee5c312e 100644
--- a/pkgs/misc/vim-plugins/build-vim-plugin.nix
+++ b/pkgs/misc/vim-plugins/build-vim-plugin.nix
@@ -18,7 +18,7 @@ rec {
buildPhase ? "",
preInstall ? "",
postInstall ? "",
- path ? (builtins.parseDrvName name).name,
+ path ? stdenv.lib.getName name,
addonInfo ? null,
...
}:
diff --git a/pkgs/misc/vim-plugins/generated.nix b/pkgs/misc/vim-plugins/generated.nix
index ced786abeeef3b225b0e81b5115e59bf6c267de1..77ad13c2c00c5cb754b42c3b0cdf35d8cdd8a11f 100644
--- a/pkgs/misc/vim-plugins/generated.nix
+++ b/pkgs/misc/vim-plugins/generated.nix
@@ -50,23 +50,23 @@ let
alchemist-vim = buildVimPluginFrom2Nix {
pname = "alchemist-vim";
- version = "2019-11-06";
+ version = "2019-11-27";
src = fetchFromGitHub {
owner = "slashmili";
repo = "alchemist.vim";
- rev = "8b6ea7b1314bb3b47b115c04484b7af3c483f5b8";
- sha256 = "0jfwcd426hd9pb2dyq1949g8k8g1hhkc55k1kbp30r42m116p1qh";
+ rev = "911eda990ef259d1f035061c5dfb2f44adb2697e";
+ sha256 = "04lm3k6svq4y2a7kqq5phzyny93ynnjdmsv2s98pw6c4z5fq5y1m";
};
};
ale = buildVimPluginFrom2Nix {
pname = "ale";
- version = "2019-11-15";
+ version = "2019-11-27";
src = fetchFromGitHub {
owner = "w0rp";
repo = "ale";
- rev = "b91d82bfaa395bb86b3ea51f63cc8cef05e90f98";
- sha256 = "0hgzi91213x0r5mvp1hw8dk1fcjmqjf706cnjcilgv7ljnd6sa5z";
+ rev = "d8195e9276c27caabf173a268450a3420b53181a";
+ sha256 = "0fdy4kvd7bg3xcls5g2xxml8hlwb80qvs9225dh2hqif0isbf4l2";
};
};
@@ -149,12 +149,12 @@ let
awesome-vim-colorschemes = buildVimPluginFrom2Nix {
pname = "awesome-vim-colorschemes";
- version = "2019-11-05";
+ version = "2019-11-23";
src = fetchFromGitHub {
owner = "rafi";
repo = "awesome-vim-colorschemes";
- rev = "c6962f051a0dff9c8d1390efea807a7440c9c0d4";
- sha256 = "1f5qq4l6mx7na008d5w6hji93w57vk26w78l4mp66wl790jcw4ky";
+ rev = "b5037cbf87ee4b0beed91adb33c339122e58326f";
+ sha256 = "1yxjdb2cmha6vqhmsv8vy80whs201wwwx0xmyp76mz9zkcsyljak";
};
};
@@ -204,12 +204,12 @@ let
calendar-vim = buildVimPluginFrom2Nix {
pname = "calendar-vim";
- version = "2019-11-04";
+ version = "2019-11-29";
src = fetchFromGitHub {
owner = "itchyny";
repo = "calendar.vim";
- rev = "644f88b9ddb17ef04c4558e945d1995aab400a96";
- sha256 = "0wbj61q3qyk432wzci8q8pjw2qrl7kv4cxjlxrdcv15w45b8wskk";
+ rev = "ff2149d6f022ffdd51c1fa5dbf9b653800f2298b";
+ sha256 = "1396p6hvv9dyi91n9y7h5ik4l44xfr9xqhah0mbcg4v7dghrdsdx";
};
};
@@ -336,12 +336,12 @@ let
coc-go = buildVimPluginFrom2Nix {
pname = "coc-go";
- version = "2019-10-29";
+ version = "2019-11-27";
src = fetchFromGitHub {
owner = "josa42";
repo = "coc-go";
- rev = "0f395b22aee6f99ba3cfc07d3faaf13edcb1ca96";
- sha256 = "118nqx3k7frxvx0cz8w6k6sx905200aym2lqh0qajkg5m288vl75";
+ rev = "82b66de274b0405fad8affcc21fcfec62655c266";
+ sha256 = "0mfh1xscs1jn2fmzsq4cz57slicyvri83h1f7i3fwlmm1jw6l2nd";
};
};
@@ -413,12 +413,12 @@ let
coc-lists = buildVimPluginFrom2Nix {
pname = "coc-lists";
- version = "2019-11-07";
+ version = "2019-11-25";
src = fetchFromGitHub {
owner = "neoclide";
repo = "coc-lists";
- rev = "f1cb662a5d23f792c6920f122d200731a77150b9";
- sha256 = "1j5n859fyi7wvyqhqvcd81y2h7qiddwqfz3kqx3ri0br0j4hvwc4";
+ rev = "c3d8bca71ba4cbf6eefdd24e77e62b595dcff856";
+ sha256 = "0djmzw782m8vy3sfff3gnnib4iz3wilvjv4hagv7mhzcf2lzswsb";
};
};
@@ -446,23 +446,23 @@ let
coc-prettier = buildVimPluginFrom2Nix {
pname = "coc-prettier";
- version = "2019-10-06";
+ version = "2019-11-28";
src = fetchFromGitHub {
owner = "neoclide";
repo = "coc-prettier";
- rev = "198fff4227cbc2742ed6167c1f097826e867d66d";
- sha256 = "1ylwcr8l3bhgxb2zkqskkq97757di6vq7acxw6dd1hb5hk5a17kc";
+ rev = "5304a1087e454bb9da7d58e383837f4c3e356e6a";
+ sha256 = "1vbyr1cxckdgxns86aknckhgqzp8x0kkk77y0c8my1qinhrmj8cl";
};
};
coc-python = buildVimPluginFrom2Nix {
pname = "coc-python";
- version = "2019-11-07";
+ version = "2019-11-26";
src = fetchFromGitHub {
owner = "neoclide";
repo = "coc-python";
- rev = "01cf6f3833d44fb83c38655b496212625329c90b";
- sha256 = "0vn9fjhhlgciv7kwda4hn2lg7fisxgdsg47sbqz75qirnixw8mjv";
+ rev = "714ae8de45ab756d5b65f0be0b616153220b9257";
+ sha256 = "17gb0xbvczkqxzs2abknr460v0rcvgsi0m7pc4v0waggr690z53l";
};
};
@@ -479,12 +479,12 @@ let
coc-rls = buildVimPluginFrom2Nix {
pname = "coc-rls";
- version = "2019-10-28";
+ version = "2019-11-23";
src = fetchFromGitHub {
owner = "neoclide";
repo = "coc-rls";
- rev = "1e8610b2642232185b7e020651423d11001b7546";
- sha256 = "18d2pxmifyacg7gki99bja7gjs7ycprsm3p6p7snf3dx3g5r4pqq";
+ rev = "1c7df237f76a50f25e8bbe3d8bec897991ca86b2";
+ sha256 = "0q9i1lz4id9c3d4lch3fxkh8qg9v59vh3kin9h2qdnp3xwgfcvjr";
};
};
@@ -567,12 +567,12 @@ let
coc-tsserver = buildVimPluginFrom2Nix {
pname = "coc-tsserver";
- version = "2019-11-13";
+ version = "2019-11-23";
src = fetchFromGitHub {
owner = "neoclide";
repo = "coc-tsserver";
- rev = "3d537937a6ce74cdf08d3109dc14af9baeff9af7";
- sha256 = "1nfnlirdb91x835hk2h30vnjc940mnw94p2wgp28p80mcbrk4s4v";
+ rev = "4f493d6c35bfef71ec21e8db648bcabda5f9ad21";
+ sha256 = "1n1b9ss5cjmn5vazfmy97x88s4nqw6f2mwvnqbnvx3cjrpwvyjy6";
};
};
@@ -622,12 +622,12 @@ let
coc-yank = buildVimPluginFrom2Nix {
pname = "coc-yank";
- version = "2019-10-28";
+ version = "2019-11-23";
src = fetchFromGitHub {
owner = "neoclide";
repo = "coc-yank";
- rev = "636c8a3ff0fb4a950b72c626bf2075c20f7c0086";
- sha256 = "1wz8vp558v3l1c4d3igz55iv673ypapjapyy9q3fcxya8b3qs09y";
+ rev = "1d145660c81cf4f160965feb12ea69129d1cce3e";
+ sha256 = "1sdpkr1rkvqaiixiddd5a0095di071nxr2gvnikb4pnzrknacngk";
};
};
@@ -788,23 +788,23 @@ let
dart-vim-plugin = buildVimPluginFrom2Nix {
pname = "dart-vim-plugin";
- version = "2019-09-24";
+ version = "2019-11-28";
src = fetchFromGitHub {
owner = "dart-lang";
repo = "dart-vim-plugin";
- rev = "f8486e58fb02351689ae247cebf28b5fee326c33";
- sha256 = "038zx5zn4da73ps5klixcwh64z6rivfp78l2lvaj5d1vjqh1ac83";
+ rev = "1dca4e12299e26bf4277992fd9b8b22bcc2f4e56";
+ sha256 = "11zjcp48c7n13pqmwg1s6fk8i0z2iyv5nmyl642xxdyg0h43v5hf";
};
};
defx-nvim = buildVimPluginFrom2Nix {
pname = "defx-nvim";
- version = "2019-11-18";
+ version = "2019-11-28";
src = fetchFromGitHub {
owner = "Shougo";
repo = "defx.nvim";
- rev = "1c59c0bbeea3d9162b1f8405c0cdcf23f29860f6";
- sha256 = "0pn3szp6kpk6za1q7f5wimwxsfrz5csgx8sxkzsch133q0f24p7f";
+ rev = "4dc152ac826a825b69741cc79681a257e24497dc";
+ sha256 = "1j9hgz76x554wzdz9ss14c94pwp2fk7yplznhyxamndn9wcy8yiv";
};
};
@@ -843,23 +843,23 @@ let
denite-nvim = buildVimPluginFrom2Nix {
pname = "denite-nvim";
- version = "2019-11-18";
+ version = "2019-11-27";
src = fetchFromGitHub {
owner = "Shougo";
repo = "denite.nvim";
- rev = "2f8e00266f2958a02eb870b69f4ab0ef1d91c022";
- sha256 = "1n5h1ys0pb3lfg7zbyfdkshcy05kxd7f4d81qcr69k7n1ni44fvq";
+ rev = "41aa8302dc5ae8b27370bfcbf1124559c2f953de";
+ sha256 = "1bbnz9d8qayrr40kxikcgjv28y109b0ksys9pnb27l9az8sx64bz";
};
};
deol-nvim = buildVimPluginFrom2Nix {
pname = "deol-nvim";
- version = "2019-09-08";
+ version = "2019-11-27";
src = fetchFromGitHub {
owner = "Shougo";
repo = "deol.nvim";
- rev = "474b72a8541e529a1628084c277e6e0aa7f80fda";
- sha256 = "00kwij67csk9yp64r8lfrc9m0jm5mqckf4c9a3489azfjn8da097";
+ rev = "856041638e98fc3bf4d4de5d90dee525f3dfa9a5";
+ sha256 = "1y6kp56n26kabmp60nnyaw46yxv9nqv5bp15hzvfpwvzq7gvpm10";
};
};
@@ -934,12 +934,12 @@ let
deoplete-lsp = buildVimPluginFrom2Nix {
pname = "deoplete-lsp";
- version = "2019-09-20";
+ version = "2019-11-25";
src = fetchFromGitHub {
owner = "Shougo";
repo = "deoplete-lsp";
- rev = "335e8a03d5741aa42bd7ce64d79e31d7de570ab5";
- sha256 = "0jn4fn9vkxf3av6mdmzixz20l9ca8n2sql7j9mcmh06mn86949bs";
+ rev = "37a307b1b4e922df0ff2695658602f1c34973db6";
+ sha256 = "10rdk35bljzi705b2760n7f4hlsikaz366a62wsh09npbw63sdzb";
};
};
@@ -967,23 +967,23 @@ let
deoplete-ternjs = buildVimPluginFrom2Nix {
pname = "deoplete-ternjs";
- version = "2019-09-22";
+ version = "2019-11-22";
src = fetchFromGitHub {
owner = "carlitux";
repo = "deoplete-ternjs";
- rev = "307f9c3beb178026d122d9ab3825e4640dd1c29a";
- sha256 = "039qbcg9fanrs7dc52n987rhd0xdyvsmjdrfd1dcrr6ys990n64d";
+ rev = "ca0ee77276bc688f847b566d64b32e4bb62691d8";
+ sha256 = "0980fwr931dqyp032gcg4mwk2iv3inywa8w3m73zcr082xc0crp7";
};
};
deoplete-nvim = buildVimPluginFrom2Nix {
pname = "deoplete-nvim";
- version = "2019-11-17";
+ version = "2019-11-26";
src = fetchFromGitHub {
owner = "Shougo";
repo = "deoplete.nvim";
- rev = "edbc7b721e45f1eaa9e1ebe695f4f363f14a7a67";
- sha256 = "1l33wxdsyvhksnbkv1k924qvgdy9s3rksmqsa1yv7zrssl8xdmjn";
+ rev = "41ab306416a951be661622d7b0d174fe74f84f7e";
+ sha256 = "0sa6bzywlnpw4hrgnls0cs90ilykrbf9jblbq811di9d7rvn52zn";
};
};
@@ -1033,12 +1033,12 @@ let
editorconfig-vim = buildVimPluginFrom2Nix {
pname = "editorconfig-vim";
- version = "2019-11-03";
+ version = "2019-11-28";
src = fetchFromGitHub {
owner = "editorconfig";
repo = "editorconfig-vim";
- rev = "5df91ecb9008666912c7ee15f95ebe5ff4265c23";
- sha256 = "020ll1517z8hmmqcnif4kd579hwvxjf8m0m2x1lg2b9kzaid09d1";
+ rev = "2ad3d7882d2e9622a7fdc1a5ba1c5d0064d89472";
+ sha256 = "00cyvjzn2sr49fvjfsxv0rj7kmdr2m2xlcpqvnfamh6l19nagb35";
fetchSubmodules = true;
};
};
@@ -1090,12 +1090,12 @@ let
falcon = buildVimPluginFrom2Nix {
pname = "falcon";
- version = "2019-11-04";
+ version = "2019-11-29";
src = fetchFromGitHub {
owner = "fenetikm";
repo = "falcon";
- rev = "4f7c122c55aa8a4cfaedc6b12d3d2f26ce579250";
- sha256 = "0qvdp5y4bhb5nim0va1a25xahc7698lxj63q7cx2w2papbia69pi";
+ rev = "4d34d3a44f7ee234460fcd8d543e5ba55b6b36e6";
+ sha256 = "0llck06cpjjlfi4ga420z64fq064n0ykb9hh6dygklnnvkhdgb92";
};
};
@@ -1201,34 +1201,34 @@ let
fzf-vim = buildVimPluginFrom2Nix {
pname = "fzf-vim";
- version = "2019-11-17";
+ version = "2019-11-24";
src = fetchFromGitHub {
owner = "junegunn";
repo = "fzf.vim";
- rev = "98cf39949b617b9f3a47d2e092af573060022301";
- sha256 = "1h3nz1rqkggf2gs9hywl3x67hprpspm3qc0lmjc3msc5p221f2n4";
+ rev = "65edb6ad99b51514aaf29afc25e35ce5f05281ba";
+ sha256 = "1d40whzc21c4zbzssjwvhzddyb0a106ib8r4zzzdd61s1935z4xr";
};
};
gentoo-syntax = buildVimPluginFrom2Nix {
pname = "gentoo-syntax";
- version = "2019-09-30";
+ version = "2019-11-27";
src = fetchFromGitHub {
owner = "gentoo";
repo = "gentoo-syntax";
- rev = "d09e3a3cf3b9c37b1cf0cd7e4952e24c46bfb9fe";
- sha256 = "0d0brqssq4qrx0l0yr668jvq5zk5pxqfkr8d8acbds8a48afz6zf";
+ rev = "c7ab3c0f6efbe68e864273ad460ab06905930bd0";
+ sha256 = "1h46s31miyd3j8shmrs61phkljj7qp9bkclcx1l0yd4cppm3vi06";
};
};
ghcid = buildVimPluginFrom2Nix {
pname = "ghcid";
- version = "2019-11-14";
+ version = "2019-11-25";
src = fetchFromGitHub {
owner = "ndmitchell";
repo = "ghcid";
- rev = "25faf559b6f5e8fdef8e1ca2aaf557644a57a165";
- sha256 = "08653iwhz29xskrj36sih0z2bb247p137g8ls8ydvjgfy60jzrkm";
+ rev = "bd77010189fa5f14f9e06a0f71bb2831b9d5b4a6";
+ sha256 = "0m1hxwri2imgjywrc9l1s8bnr38dbsfz8zxw228yknq392jpvlyk";
};
};
@@ -1311,12 +1311,12 @@ let
gv-vim = buildVimPluginFrom2Nix {
pname = "gv-vim";
- version = "2019-10-13";
+ version = "2019-11-29";
src = fetchFromGitHub {
owner = "junegunn";
repo = "gv.vim";
- rev = "7a84f6342cc79444e3fa873bf1d08fb6c53b097e";
- sha256 = "0q5xz8iw3jg42kbaspmgd8mlcgl3xglcqh3fyd2jmmwhnfzp3f7r";
+ rev = "f12b8b80897c1214327e6075abc007ec6e55a691";
+ sha256 = "0fb0zsmpx1vbdfh3d04dpgy2gkd4wkdn05jflcpr5cyf50zr1z9y";
};
};
@@ -1598,23 +1598,23 @@ let
lh-brackets = buildVimPluginFrom2Nix {
pname = "lh-brackets";
- version = "2019-11-16";
+ version = "2019-11-26";
src = fetchFromGitHub {
owner = "LucHermitte";
repo = "lh-brackets";
- rev = "941444938a7effce57ddd2706f6fd2455d74a8c5";
- sha256 = "1pkpjz0j2n1b1qdbmp4lj43qk2ddr55001yjg6cpznsl7b8rq095";
+ rev = "441b2d3827158c1c1781e797dd5953fa2b7ba63f";
+ sha256 = "134lb5nnbkwlcgryd39n9dbqyqzadnfibk76m67pjk60sy4s64wk";
};
};
lh-vim-lib = buildVimPluginFrom2Nix {
pname = "lh-vim-lib";
- version = "2019-11-15";
+ version = "2019-11-25";
src = fetchFromGitHub {
owner = "LucHermitte";
repo = "lh-vim-lib";
- rev = "76432c08d570a30f6d2d4c246756a3eb6e898ee3";
- sha256 = "1wwr5yjvzv1xc0f5qbjfqclrpvx9vnrg8dkybf95lwgp9a8v7xxv";
+ rev = "a150fd6af763f9ec1d0785f8a3ba350d8f27d908";
+ sha256 = "0l70gkzv279sv756yng7nq3m1pkw2bvjybl6xvjifm19rx8vmlsg";
};
};
@@ -1675,12 +1675,12 @@ let
mattn-calendar-vim = buildVimPluginFrom2Nix {
pname = "mattn-calendar-vim";
- version = "2019-11-13";
+ version = "2019-11-24";
src = fetchFromGitHub {
owner = "mattn";
repo = "calendar-vim";
- rev = "17a0395f19739964b85672fb5538ea3f2e28ca7a";
- sha256 = "01g9ig5h7cqvlv2xakr8cml7l4rlgnypglqzag8zyr2lb2c1dmm3";
+ rev = "de499b9525490b10edbd28fb8f0c4e81c6a6f20c";
+ sha256 = "0xvvkq9zckmv9pnzvxg71fblly8lksfi736brbcwcvnszqif4b69";
};
};
@@ -1730,12 +1730,12 @@ let
ncm2-jedi = buildVimPluginFrom2Nix {
pname = "ncm2-jedi";
- version = "2019-06-07";
+ version = "2019-11-19";
src = fetchFromGitHub {
owner = "ncm2";
repo = "ncm2-jedi";
- rev = "86744a7641ce11e22d01778c310e5015f85ef412";
- sha256 = "16h17cqy76iwd9b3wsmmzjg6j465mjd5kjybmk6dilxmq07q24c9";
+ rev = "b28bf6d054051cc1c7a6b148323d3adb9baa4ed5";
+ sha256 = "07pq8akzvlb8hzksgxx1c50j09ia0xnszq1f83x75kqsjg5f6nhy";
};
};
@@ -1785,12 +1785,12 @@ let
neco-look = buildVimPluginFrom2Nix {
pname = "neco-look";
- version = "2018-11-09";
+ version = "2019-11-19";
src = fetchFromGitHub {
owner = "ujihisa";
repo = "neco-look";
- rev = "8c3951acb93b72dda4572859928ef7b372485596";
- sha256 = "1gd692yc1x3753rxg58hwc7nwmm4rjr03y1xaczy1qahq1bm9a40";
+ rev = "4d7f1fd7e406c302fba2a1358017c5a76d0f9fc1";
+ sha256 = "1brvzg15ni5j60wncpvxhs5k36wz83lhvfcnvja2l9yrngcgh6vr";
};
};
@@ -1862,12 +1862,12 @@ let
neomake = buildVimPluginFrom2Nix {
pname = "neomake";
- version = "2019-11-08";
+ version = "2019-11-29";
src = fetchFromGitHub {
owner = "neomake";
repo = "neomake";
- rev = "4e5ee03c61fbabf3eb90b6b30d9acd4f3d4b3fdb";
- sha256 = "13z45hsk99lcdfbinvbbwr1036fsakhp4dhlqd6dmq6fn3fw5y9w";
+ rev = "fb9765ec9d8e14e01ed3f55364b56c608271fb45";
+ sha256 = "02pqn7fjm4749qfbc13kz0bhf8azr7vhkzca8cq9imiwdpssvmjs";
};
};
@@ -1884,12 +1884,12 @@ let
neosnippet-snippets = buildVimPluginFrom2Nix {
pname = "neosnippet-snippets";
- version = "2019-08-11";
+ version = "2019-11-25";
src = fetchFromGitHub {
owner = "Shougo";
repo = "neosnippet-snippets";
- rev = "f38f1732e4bb0643b3019b5b733a87f5f03ea348";
- sha256 = "1brzryd2sc44xpkz4w4s78a8vmwddvzkqgiyiaygp45k87q2yp24";
+ rev = "7e300f1b986f46b217c26906ca4ee88629f18610";
+ sha256 = "121zqdmpz2dmgsc6zzvrbjhbc3ik5hbj069wh33laxvj74gsar6k";
};
};
@@ -1961,23 +1961,23 @@ let
nerdcommenter = buildVimPluginFrom2Nix {
pname = "nerdcommenter";
- version = "2019-10-05";
+ version = "2019-11-26";
src = fetchFromGitHub {
owner = "scrooloose";
repo = "nerdcommenter";
- rev = "92082862364cf5ec3eec79a025bbc7bc5165e05f";
- sha256 = "0aqjc26l1m62jgj34difkkbbd0kam1sa6ldfwf2fbkxs3f5y63q8";
+ rev = "023cc20324c41059b5ce79edaef0ffeef8bf5923";
+ sha256 = "02459d88v2g8slrhajmaywwwanqifyrbrxg90vp7rrzx42f6p56r";
};
};
nerdtree = buildVimPluginFrom2Nix {
pname = "nerdtree";
- version = "2019-11-13";
+ version = "2019-11-22";
src = fetchFromGitHub {
owner = "scrooloose";
repo = "nerdtree";
- rev = "8d9b8dae67c5a6affbfd0304e0949ce9e79065ea";
- sha256 = "1jgjw0lm1znf530mfa9iniwb3j35hpgz49ccykg5q6lrbscchc7h";
+ rev = "82b1649f2e1c79ff17730fe0a3750bbec203dd29";
+ sha256 = "07viagjyd5bdnal7m6k0yschdnr2yxmxcg7zlgz7s7inn80blv79";
};
};
@@ -2060,12 +2060,12 @@ let
nvim-yarp = buildVimPluginFrom2Nix {
pname = "nvim-yarp";
- version = "2019-10-13";
+ version = "2019-11-25";
src = fetchFromGitHub {
owner = "roxma";
repo = "nvim-yarp";
- rev = "81caad80107abb9c2f5159e02e2cd95876370bec";
- sha256 = "01x1jx7wxpjkv09l9wx1ygsjqrdvfy47pxqgjzmnx4x126ji9gw2";
+ rev = "83c6f4e61aa73e2a53796ea6690fb7e5e64db50a";
+ sha256 = "0yswx77gwxsac4aw2hkx0krjz4jh7pj5bgpvshynj5dlp34ip0m0";
};
};
@@ -2379,12 +2379,12 @@ let
rust-vim = buildVimPluginFrom2Nix {
pname = "rust-vim";
- version = "2019-10-20";
+ version = "2019-11-28";
src = fetchFromGitHub {
owner = "rust-lang";
repo = "rust.vim";
- rev = "97fdc4e4975515d8e8a5a82380dd85628d59a005";
- sha256 = "1ggnl9h0jqb3zf8n8vpvlizxb3fikmghwpj8d3xq3ny54wfjgx78";
+ rev = "b7176e7a1607bb17f2f57cb8b365042f5676b21b";
+ sha256 = "12i213ci5db4xiyqzwkd4i6mmxgq2j1ipjsn42mif3yp0cr1rvvv";
};
};
@@ -2401,12 +2401,12 @@ let
semshi = buildVimPluginFrom2Nix {
pname = "semshi";
- version = "2019-10-01";
+ version = "2019-11-27";
src = fetchFromGitHub {
owner = "numirias";
repo = "semshi";
- rev = "b50f1bcc48bb944704c586b462a5e9d5cdf0d532";
- sha256 = "1f2wqqhnfyicx8dgna6lcsa3pl5bxbjqf261rz9phxw649rsa9a4";
+ rev = "816b8d22adf59260f4355aab31c1cdc99db8f438";
+ sha256 = "01s46f0gclbz3v73z75zmcy7xh9xvzjn067xiyhbf7m6jlzic0aq";
};
};
@@ -2566,12 +2566,12 @@ let
syntastic = buildVimPluginFrom2Nix {
pname = "syntastic";
- version = "2019-10-23";
+ version = "2019-11-20";
src = fetchFromGitHub {
owner = "scrooloose";
repo = "syntastic";
- rev = "28bb72adbe5c610bdc07407ddb83898919e4645c";
- sha256 = "1hhpd01vc9377fvqdh30pqack0i0sxxz2qdzz2i6x4snabga2zqj";
+ rev = "39b35b23b952d620b8ec7cabb13110f586663837";
+ sha256 = "1nc3019c969ms6m0hrj5k1kggcvsywn6j7kz0scdwzvfd6bcla6h";
};
};
@@ -2765,12 +2765,12 @@ let
ultisnips = buildVimPluginFrom2Nix {
pname = "ultisnips";
- version = "2019-11-13";
+ version = "2019-11-19";
src = fetchFromGitHub {
owner = "SirVer";
repo = "ultisnips";
- rev = "f7b9b3b1100b3b2883ed2d0ac3627708a10dc469";
- sha256 = "08g1h9ra807d19rhaf5l6g7pryq07cyy4g1ab0ycwyb0whlr6m57";
+ rev = "c309637e0243b71f7e3265ebe3cffdfe9674cfbc";
+ sha256 = "1q2miwd56k2l7lfwmw3khqnfry9izaca91dcf32p0xp06bc3ah28";
};
};
@@ -3084,23 +3084,23 @@ let
vim-airline = buildVimPluginFrom2Nix {
pname = "vim-airline";
- version = "2019-11-15";
+ version = "2019-11-29";
src = fetchFromGitHub {
owner = "vim-airline";
repo = "vim-airline";
- rev = "29549aa55a5f20317eb63b8cd0c08c68a1336f3e";
- sha256 = "1z2chmvxqq5s7a9qjam9j46m7dyfh80z62411swlc9py4aqm91ci";
+ rev = "ce932f3825f59258f814d4b66174283875348a95";
+ sha256 = "0mwvmxy5x03crp7nkbnjl9h6gmjwlhwiw8i62x95nl8yf5zi8gdl";
};
};
vim-airline-themes = buildVimPluginFrom2Nix {
pname = "vim-airline-themes";
- version = "2019-10-31";
+ version = "2019-11-27";
src = fetchFromGitHub {
owner = "vim-airline";
repo = "vim-airline-themes";
- rev = "650701f08fa49abca607f5a69ddf0a8157bcd8cf";
- sha256 = "0kk21x1g27gsy29ikfh8iayjgnm7vs2zllgwglqfjmlqvkqajmr0";
+ rev = "f4ba787e9c5455a6a88c6d04e61b189826375763";
+ sha256 = "1w15r4c7qwlbjjc5mbdcmg4qv4skw9n5qcn543zmiws8hxfqhf6m";
};
};
@@ -3271,12 +3271,12 @@ let
vim-codefmt = buildVimPluginFrom2Nix {
pname = "vim-codefmt";
- version = "2019-08-14";
+ version = "2019-11-20";
src = fetchFromGitHub {
owner = "google";
repo = "vim-codefmt";
- rev = "18f47c3ac563b60f71103b1e1d29b349ff9d8549";
- sha256 = "0z36jjj1bxb4xz9lyjrbv769797g3x475ncamflfj6yj72vvhfy4";
+ rev = "dae6dd82a98eda68af83a1f725cc570ef3b1ae7d";
+ sha256 = "0w2djjs29dgd5jcfglvgb4mb60vb1bj34mxzbx2sidp3lb15xn4y";
};
};
@@ -3689,12 +3689,12 @@ let
vim-fugitive = buildVimPluginFrom2Nix {
pname = "vim-fugitive";
- version = "2019-11-18";
+ version = "2019-11-27";
src = fetchFromGitHub {
owner = "tpope";
repo = "vim-fugitive";
- rev = "13fdeb5fa7f464266163f405f42322e6fb0d3067";
- sha256 = "1605vznbf66z7f2g2lzx4yzxm0dnzddwzfa9mgbxa4wv1836ng0x";
+ rev = "67efbf66e0fcfd25e617d22892a7e9768bfd0f92";
+ sha256 = "0ga8qi26yfc3k5ynw75ai4a9605s8x2pk9i9vb79hddciwh02ia1";
};
};
@@ -3733,12 +3733,12 @@ let
vim-gitgutter = buildVimPluginFrom2Nix {
pname = "vim-gitgutter";
- version = "2019-10-24";
+ version = "2019-11-25";
src = fetchFromGitHub {
owner = "airblade";
repo = "vim-gitgutter";
- rev = "af20a9fcfff9b5277fc8482e802c4dec291ea589";
- sha256 = "0jakfv1b1kc8mq1izj7bzd83d55z38igl7xl1c7n1vb9m2dy0nn3";
+ rev = "c31581c25b4896ccb6418137c70a3a3c37326c89";
+ sha256 = "1drjj5d50s3hsd8sh4cvh8ah785chi5fyzq5cy01vpxf8cfghljg";
};
};
@@ -3766,12 +3766,12 @@ let
vim-go = buildVimPluginFrom2Nix {
pname = "vim-go";
- version = "2019-11-18";
+ version = "2019-11-20";
src = fetchFromGitHub {
owner = "fatih";
repo = "vim-go";
- rev = "6d9cabbfa2ed92ef764f87041b60fcab010f7bc7";
- sha256 = "0621mh4vh92dp4jhcklgghppncbvpbzzwx9xpxs7b6917hmsxp8g";
+ rev = "d4a9cc72469927202fadf14600253a35240c993e";
+ sha256 = "061qzzldh796lagnk1blpkvx5f55rc8h7vgzgffxg9dhc73my5a3";
};
};
@@ -3788,12 +3788,12 @@ let
vim-grepper = buildVimPluginFrom2Nix {
pname = "vim-grepper";
- version = "2019-10-09";
+ version = "2019-11-19";
src = fetchFromGitHub {
owner = "mhinz";
repo = "vim-grepper";
- rev = "8b783474b64fa01b813f9c4a24f240c7c3378726";
- sha256 = "1mrqdg0hq4gvzng959dk6hbgh19sxzgg959i6k39c7phdd1f1fm9";
+ rev = "d8fa51d4fa99221511dc8b9e2eb1cba23a9b0c20";
+ sha256 = "1wb4g5g1phixqwpj9nd261f690ziimy80w12pjivrik20bj17ipd";
};
};
@@ -3953,12 +3953,12 @@ let
vim-illuminate = buildVimPluginFrom2Nix {
pname = "vim-illuminate";
- version = "2019-08-04";
+ version = "2019-11-21";
src = fetchFromGitHub {
owner = "RRethy";
repo = "vim-illuminate";
- rev = "0c37ddf0dfbe069b9f2cf1d4a341efe7b373f133";
- sha256 = "11zjm9a6x57s5rs080p1gcj86l01765ayn3k9yx6mx8d48n8zr3k";
+ rev = "4929d19cc8483d9d9872cb3669915e6a8cc381a2";
+ sha256 = "1rbhnmqrw8gdpf60lx4akhadz3q80fykal1a9c4mnn5nrqymv9va";
};
};
@@ -4130,12 +4130,12 @@ let
vim-jsx-pretty = buildVimPluginFrom2Nix {
pname = "vim-jsx-pretty";
- version = "2019-11-18";
+ version = "2019-11-19";
src = fetchFromGitHub {
owner = "MaxMEllon";
repo = "vim-jsx-pretty";
- rev = "70586430c0f05c91ed2832db2c65769501978d94";
- sha256 = "1b2qssdzc0b7pzr1ws86zybvwnwby987xsa7sfizsjqslb14xw4w";
+ rev = "8b96cea873612b35ddfd7aef4b6c21f991103f0f";
+ sha256 = "18ilra7s29jl7k3nda2z3r7bvixk5b8bbfn9d3nvfz7l26n8s6i6";
};
};
@@ -4493,12 +4493,12 @@ let
vim-pandoc = buildVimPluginFrom2Nix {
pname = "vim-pandoc";
- version = "2019-11-07";
+ version = "2019-11-22";
src = fetchFromGitHub {
owner = "vim-pandoc";
repo = "vim-pandoc";
- rev = "9275cdb54b55eda88f3f0066783ea72410ccf678";
- sha256 = "0532bq9667dfz79fg4blrzc6d9y1cz2xr5h7jda3psrj27adrlxk";
+ rev = "524d05885d0fdd176d3da06fd2befff9a22353e2";
+ sha256 = "1ngsqyjcsav3k2dcr4anhdm5ycnlfiwykqx3v15ds3j2prsn9hkd";
};
};
@@ -4570,12 +4570,12 @@ let
vim-pencil = buildVimPluginFrom2Nix {
pname = "vim-pencil";
- version = "2019-11-16";
+ version = "2019-11-22";
src = fetchFromGitHub {
owner = "reedes";
repo = "vim-pencil";
- rev = "236380f1afcc1df10ae78cbf2c6e958d29183eaa";
- sha256 = "1yxc03pmf0wr104mxy2ssln16jm3kkylivmhh47jk5iv2xw8i38q";
+ rev = "9aead49ecfd0640e07fdf30fb149dc7d072051eb";
+ sha256 = "189mqxsawdpb68vs9gpkh6flm00m3zhh744awwjd433dhyhz07fx";
};
};
@@ -4603,11 +4603,11 @@ let
vim-polyglot = buildVimPluginFrom2Nix {
pname = "vim-polyglot";
- version = "2019-11-15";
+ version = "2019-11-28";
src = fetchFromGitHub {
owner = "sheerun";
repo = "vim-polyglot";
- rev = "d15651463ab5c3dd6609e548527a8ea18ab80c98";
+ rev = "15aeea662e0b08088ac7b6e3ee661c834e69106a";
sha256 = "1x7xx12hdydn37hb2k0awzv4s00sb7zk09jixr9mjfrh2x7ywf1c";
};
};
@@ -4669,12 +4669,12 @@ let
vim-qml = buildVimPluginFrom2Nix {
pname = "vim-qml";
- version = "2018-07-22";
+ version = "2019-11-28";
src = fetchFromGitHub {
owner = "peterhoeg";
repo = "vim-qml";
- rev = "8af43da6950ce5483704bb97f5b24471d8ffda1a";
- sha256 = "1y1xvbfr1ffxyyk3zzf50xn87a85i1zszj4fqlq5ka8zhgdrnhvc";
+ rev = "1af106ef8fcbd096fdadf6f4f3a2b422594836f5";
+ sha256 = "1703zqpaadjji34mmyfzmnwr9jvms63w12lwsrdnqv9h9ag03n7y";
};
};
@@ -4812,12 +4812,12 @@ let
vim-sensible = buildVimPluginFrom2Nix {
pname = "vim-sensible";
- version = "2019-11-13";
+ version = "2019-11-24";
src = fetchFromGitHub {
owner = "tpope";
repo = "vim-sensible";
- rev = "bb75c2ec73f6b43346e0b159d46de3e304ac7dd6";
- sha256 = "0zxqm00c0aj5a55m35f42px4d19xbijfiqp6qs2xlqwzjw5na12m";
+ rev = "2d9f34c09f548ed4df213389caa2882bfe56db58";
+ sha256 = "153i3kh44ri046va3qdrbvvsv7gy25fsd9pc2yhrg23lvj169zfp";
};
};
@@ -4922,12 +4922,12 @@ let
vim-snippets = buildVimPluginFrom2Nix {
pname = "vim-snippets";
- version = "2019-11-07";
+ version = "2019-11-24";
src = fetchFromGitHub {
owner = "honza";
repo = "vim-snippets";
- rev = "5d259617f5198e511a759ccf4fb3000921abae21";
- sha256 = "1hxk0ab1r25m1mc09lvw6rsg9wrjrl0bgxql8slqpa7mqrkp47rn";
+ rev = "c1d1cdce4f34d861cedebc948ef9cdecf633ae0a";
+ sha256 = "1lnpv54mnn99yz4z4jr3al0bf1jxiz45rpqk8jvv5xz70zmfbrrg";
};
};
@@ -4988,12 +4988,12 @@ let
vim-stylish-haskell = buildVimPluginFrom2Nix {
pname = "vim-stylish-haskell";
- version = "2018-08-31";
+ version = "2019-11-28";
src = fetchFromGitHub {
owner = "nbouscal";
repo = "vim-stylish-haskell";
- rev = "0df8a2dd397f232a9ee0e56bc57071ccf29e21bf";
- sha256 = "05f2ms2c914ycxjjd7csga89mpsk3wzyhi56vikg3nd7a8z54gzw";
+ rev = "ef12ab024cb3928ae57ce7c4fa519c4751afef99";
+ sha256 = "0ysz68v4c2i4kxchsvxgkpj5kb0jbm5x06ri1ns9cmk5gj01pmd6";
};
};
@@ -5010,12 +5010,12 @@ let
vim-surround = buildVimPluginFrom2Nix {
pname = "vim-surround";
- version = "2019-11-12";
+ version = "2019-11-28";
src = fetchFromGitHub {
owner = "tpope";
repo = "vim-surround";
- rev = "e4c4cc0f816515fbb7e87076a988604b2d163daa";
- sha256 = "080wwicibkzll8v6a9mkr6wkibp5cv9wqfwpgy8i8djgbafcvnbz";
+ rev = "f51a26d3710629d031806305b6c8727189cd1935";
+ sha256 = "0aqrqn35xdiy80y7skxfsh3m33n6cdxw6lzz6aspfgzwllx2f0kr";
};
};
@@ -5087,12 +5087,12 @@ let
vim-test = buildVimPluginFrom2Nix {
pname = "vim-test";
- version = "2019-11-06";
+ version = "2019-11-25";
src = fetchFromGitHub {
owner = "janko-m";
repo = "vim-test";
- rev = "dcd7995802c7b90555ef6d920289c5d7f063bcb6";
- sha256 = "1a7k7i75n3qb14fvngkdpwvcyjl7cri2f2v1vi89waf7blmn22ib";
+ rev = "3592eff62d38531acb2a948f0445463f27c5d801";
+ sha256 = "1q41vp404n2pn65pg4br282wyimnfsrrhfkciwp0mhfp4ksn20mz";
};
};
@@ -5296,12 +5296,12 @@ let
vim-visual-multi = buildVimPluginFrom2Nix {
pname = "vim-visual-multi";
- version = "2019-11-16";
+ version = "2019-11-27";
src = fetchFromGitHub {
owner = "mg979";
repo = "vim-visual-multi";
- rev = "99d367c4974a9e398943a0f457a8f3994732b050";
- sha256 = "1cgphcm2fkhvks6bx8f0i54i91pcprisb079sddildnq4lsj895r";
+ rev = "fb6895c5c39862e495644e2cc0d300ad00bdeed2";
+ sha256 = "14mcrwfkwjlqh7r6h2qmcxm8a4c6lldrk549c9bwnrpzmvjw5daw";
};
};
@@ -5329,12 +5329,12 @@ let
vim-wakatime = buildVimPluginFrom2Nix {
pname = "vim-wakatime";
- version = "2019-07-27";
+ version = "2019-11-28";
src = fetchFromGitHub {
owner = "wakatime";
repo = "vim-wakatime";
- rev = "29d14cca6593a4809a31cfc3565a366d87426daf";
- sha256 = "1b47fv3jm37yhbg2mwc7kmlsl54dapb4sw9isf1h3mbmgxnvi5p9";
+ rev = "fd18019b94d97c2ded56f8cce6087d692e6a055c";
+ sha256 = "0m3dp5m8fbb28b68kykcickgd79bwv7gg30w483ndh2bgjjahqn0";
};
};
@@ -5351,12 +5351,12 @@ let
vim-wordy = buildVimPluginFrom2Nix {
pname = "vim-wordy";
- version = "2019-08-29";
+ version = "2019-11-22";
src = fetchFromGitHub {
owner = "reedes";
repo = "vim-wordy";
- rev = "87a77cb293ed1193c01e0f93c4dd70cddde76b08";
- sha256 = "19wvm1al41ys429rb2agb7d3xfv1kh2287r8sgiy1f6whjn236z6";
+ rev = "f0391713fa83771d64b065868331ef4754d861ed";
+ sha256 = "0v5cl3rrg2vrdb2al67hbh730rw8m2zvhb1vippv64k65mknkgp5";
};
};
@@ -5415,6 +5415,17 @@ let
};
};
+ vimagit = buildVimPluginFrom2Nix {
+ pname = "vimagit";
+ version = "2019-07-24";
+ src = fetchFromGitHub {
+ owner = "jreybert";
+ repo = "vimagit";
+ rev = "94762b1356ebdcb8ec486a86f45e69ef77a69465";
+ sha256 = "1p8izqdkx8g1aqmq9a2qm506bs4mvc4xdbzkh2k5xprm5vc14z0s";
+ };
+ };
+
vimelette = buildVimPluginFrom2Nix {
pname = "vimelette";
version = "2019-05-02";
@@ -5472,12 +5483,12 @@ let
vimproc-vim = buildVimPluginFrom2Nix {
pname = "vimproc-vim";
- version = "2019-11-10";
+ version = "2019-11-28";
src = fetchFromGitHub {
owner = "Shougo";
repo = "vimproc.vim";
- rev = "47b54dd23eeb0a7fa81529d3768b27b979821b30";
- sha256 = "14nhnbds463iys8ndvyajbskwsi6hjljmmlvic3rbvym2h9mn442";
+ rev = "89065f62883edb10a99aa1b1640d6d411907316b";
+ sha256 = "0699kf269rsyabl49m4n7vsi5bbxk129wq6ml3ykhy9g9m2b8a3k";
};
};
@@ -5494,12 +5505,12 @@ let
vimtex = buildVimPluginFrom2Nix {
pname = "vimtex";
- version = "2019-11-18";
+ version = "2019-11-23";
src = fetchFromGitHub {
owner = "lervag";
repo = "vimtex";
- rev = "e555f48c131088fd66a9f7822c24e6edba8bfd03";
- sha256 = "1l3a6isf4r46yn8kawlm11b5i1vpdpdnbwfi8kch7z90j7dmwlg6";
+ rev = "0647bb8991a490f92de173ca67e9b49a3f1fddcd";
+ sha256 = "142wh5b2zl3s8jjlc6hnd1z8ysfiz4xllax84f6ddyny72z3di42";
};
};
@@ -5649,12 +5660,12 @@ let
youcompleteme = buildVimPluginFrom2Nix {
pname = "youcompleteme";
- version = "2019-11-18";
+ version = "2019-11-23";
src = fetchFromGitHub {
owner = "valloric";
repo = "youcompleteme";
- rev = "25fbeadba44be998667ba47a1bce16219d01148c";
- sha256 = "02hl0gyx189q6k3z9dvnwpgn5sw76rz4j9y0hrj8yqzaqk7xv7fw";
+ rev = "8099995959e7e533306a2cadd38a2f83d2ea9ed9";
+ sha256 = "1824jphq8mrswc594p032h459gn51mynfa5k8nnxkjws9c9myc4b";
fetchSubmodules = true;
};
};
diff --git a/pkgs/misc/vim-plugins/overrides.nix b/pkgs/misc/vim-plugins/overrides.nix
index b9c599da66c2db57c34504ee7b32e70f17adc8f6..f3f9b8825e6405c0fbac19422982e2046e8bfc87 100644
--- a/pkgs/misc/vim-plugins/overrides.nix
+++ b/pkgs/misc/vim-plugins/overrides.nix
@@ -115,12 +115,12 @@ self: super: {
# NB: Make sure you pick a rev from the release branch!
coc-nvim = buildVimPluginFrom2Nix rec {
pname = "coc-nvim";
- version = "2019-11-18";
+ version = "2019-11-29";
src = fetchFromGitHub {
owner = "neoclide";
repo = "coc.nvim";
- rev = "a12d6833b4611f996528615186af86c3e041ffb6";
- sha256 = "0rkfhzyf42rbsv8p2337pvkbs3crz1z3vv6ar26sadjg3802118z";
+ rev = "d566fa03807d8d86ce9302680d135198a36c7d4d";
+ sha256 = "0m355w837f61jfpjrhi3h47z7vq16g8yai8kd82v1h71ns5fw9gz";
};
};
diff --git a/pkgs/misc/vim-plugins/update.py b/pkgs/misc/vim-plugins/update.py
index 92a47bc5d13132b9371c70c4228bdeceab866c74..0ef93ac569ab09d15c9c29a83b387ccccce1d597 100755
--- a/pkgs/misc/vim-plugins/update.py
+++ b/pkgs/misc/vim-plugins/update.py
@@ -21,18 +21,54 @@ import xml.etree.ElementTree as ET
from datetime import datetime
from multiprocessing.dummy import Pool
from pathlib import Path
-from typing import Dict, List, Optional, Tuple, Union, Any
+from typing import Dict, List, Optional, Tuple, Union, Any, Callable
from urllib.parse import urljoin, urlparse
from tempfile import NamedTemporaryFile
-ATOM_ENTRY = "{http://www.w3.org/2005/Atom}entry"
-ATOM_LINK = "{http://www.w3.org/2005/Atom}link"
-ATOM_UPDATED = "{http://www.w3.org/2005/Atom}updated"
+ATOM_ENTRY = "{http://www.w3.org/2005/Atom}entry" # " vim gets confused here
+ATOM_LINK = "{http://www.w3.org/2005/Atom}link" # "
+ATOM_UPDATED = "{http://www.w3.org/2005/Atom}updated" # "
ROOT = Path(__file__).parent
DEFAULT_IN = ROOT.joinpath("vim-plugin-names")
DEFAULT_OUT = ROOT.joinpath("generated.nix")
+import time
+from functools import wraps
+
+
+def retry(ExceptionToCheck: Any, tries: int = 4, delay: float = 3, backoff: float = 2):
+ """Retry calling the decorated function using an exponential backoff.
+
+ http://www.saltycrane.com/blog/2009/11/trying-out-retry-decorator-python/
+ original from: http://wiki.python.org/moin/PythonDecoratorLibrary#Retry
+ (BSD licensed)
+
+ :param ExceptionToCheck: the exception on which to retry
+ :param tries: number of times to try (not retry) before giving up
+ :param delay: initial delay between retries in seconds
+ :param backoff: backoff multiplier e.g. value of 2 will double the delay
+ each retry
+ """
+
+ def deco_retry(f: Callable) -> Callable:
+ @wraps(f)
+ def f_retry(*args: Any, **kwargs: Any) -> Any:
+ mtries, mdelay = tries, delay
+ while mtries > 1:
+ try:
+ return f(*args, **kwargs)
+ except ExceptionToCheck as e:
+ print(f"{str(e)}, Retrying in {mdelay} seconds...")
+ time.sleep(mdelay)
+ mtries -= 1
+ mdelay *= backoff
+ return f(*args, **kwargs)
+
+ return f_retry # true decorator
+
+ return deco_retry
+
class Repo:
def __init__(self, owner: str, name: str) -> None:
@@ -45,9 +81,12 @@ class Repo:
def __repr__(self) -> str:
return f"Repo({self.owner}, {self.name})"
+ @retry(urllib.error.URLError, tries=4, delay=3, backoff=2)
def has_submodules(self) -> bool:
try:
- urllib.request.urlopen(self.url("blob/master/.gitmodules")).close()
+ urllib.request.urlopen(
+ self.url("blob/master/.gitmodules"), timeout=10
+ ).close()
except urllib.error.HTTPError as e:
if e.code == 404:
return False
@@ -55,8 +94,9 @@ class Repo:
raise
return True
+ @retry(urllib.error.URLError, tries=4, delay=3, backoff=2)
def latest_commit(self) -> Tuple[str, datetime]:
- with urllib.request.urlopen(self.url("commits/master.atom")) as req:
+ with urllib.request.urlopen(self.url("commits/master.atom"), timeout=10) as req:
xml = req.read()
root = ET.fromstring(xml)
latest_entry = root.find(ATOM_ENTRY)
@@ -69,7 +109,7 @@ class Repo:
updated_tag is not None and updated_tag.text is not None
), f"No updated tag found feed entry {xml}"
updated = datetime.strptime(updated_tag.text, "%Y-%m-%dT%H:%M:%SZ")
- return Path(url.path).name, updated
+ return Path(str(url.path)).name, updated
def prefetch_git(self, ref: str) -> str:
data = subprocess.check_output(
@@ -210,20 +250,17 @@ def check_results(
sys.exit(1)
-def parse_plugin_line(line: str) -> Tuple[str, str, str]:
+def parse_plugin_line(line: str) -> Tuple[str, str, Optional[str]]:
+ name, repo = line.split("/")
try:
- name, repo = line.split("/")
- try:
- repo, alias = repo.split(" as ")
- return (name, repo, alias.strip())
- except ValueError:
- # no alias defined
- return (name, repo.strip(), None)
+ repo, alias = repo.split(" as ")
+ return (name, repo, alias.strip())
except ValueError:
- return (None, None, None)
+ # no alias defined
+ return (name, repo.strip(), None)
-def load_plugin_spec(plugin_file: str) -> List[Tuple[str, str]]:
+def load_plugin_spec(plugin_file: str) -> List[Tuple[str, str, Optional[str]]]:
plugins = []
with open(plugin_file) as f:
for line in f:
@@ -385,7 +422,7 @@ def main() -> None:
try:
# synchronous variant for debugging
- # results = map(prefetch_with_cache, plugins)
+ # results = list(map(prefetch_with_cache, plugin_names))
pool = Pool(processes=30)
results = pool.map(prefetch_with_cache, plugin_names)
finally:
diff --git a/pkgs/misc/vim-plugins/vim-plugin-names b/pkgs/misc/vim-plugins/vim-plugin-names
index 433458b66d0744d5dff35514921c2a409c9f32ce..263f2d2b5dd0136fada277c6aa25ccf23184bb94 100644
--- a/pkgs/misc/vim-plugins/vim-plugin-names
+++ b/pkgs/misc/vim-plugins/vim-plugin-names
@@ -156,6 +156,7 @@ jonsmithers/vim-html-template-literals
joonty/vim-xdebug
josa42/coc-go
jpalardy/vim-slime
+jreybert/vimagit
JuliaEditorSupport/deoplete-julia
JuliaEditorSupport/julia-vim
Julian/vim-textobj-variable-segment
diff --git a/pkgs/os-specific/linux/alsa-firmware/default.nix b/pkgs/os-specific/linux/alsa-firmware/default.nix
index 53fcf7d68433f78b66d18beff1c9a94682873222..7f0ba5498df61654c2db2b81f782db49656bdacf 100644
--- a/pkgs/os-specific/linux/alsa-firmware/default.nix
+++ b/pkgs/os-specific/linux/alsa-firmware/default.nix
@@ -1,11 +1,11 @@
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
- name = "alsa-firmware-1.0.29";
+ name = "alsa-firmware-1.2.1";
src = fetchurl {
url = "mirror://alsa/firmware/${name}.tar.bz2";
- sha256 = "0gfcyj5anckjn030wcxx5v2xk2s219nyf99s9m833275b5wz2piw";
+ sha256 = "1aq8z8ajpjvcx7bwhwp36bh5idzximyn77ygk3ifs0my3mbpr8mf";
};
configureFlags = [
diff --git a/pkgs/os-specific/linux/alsa-plugins/default.nix b/pkgs/os-specific/linux/alsa-plugins/default.nix
index 2956b107aa71aed21b553a9f7b0703cd3f1571e7..a5262d6ae9edd48d2c3a855c409cedcbf743ac79 100644
--- a/pkgs/os-specific/linux/alsa-plugins/default.nix
+++ b/pkgs/os-specific/linux/alsa-plugins/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "alsa-plugins";
- version = "1.1.9";
+ version = "1.2.1";
src = fetchurl {
url = "mirror://alsa/plugins/${pname}-${version}.tar.bz2";
- sha256 = "01zrg0h2jw9dlj9233vjsn916yf4f2s667yry6xsn8d57lq745qn";
+ sha256 = "1nj8cpbi05rb62yzs01c1k7lymdn1ch229b599hbhd0psixdx52d";
};
# ToDo: a52, etc.?
diff --git a/pkgs/os-specific/linux/alsa-utils/default.nix b/pkgs/os-specific/linux/alsa-utils/default.nix
index 6f23d19031881da9edd97110273694d0627558f7..8b1faf788e58727a90d97942d937a8072099e375 100644
--- a/pkgs/os-specific/linux/alsa-utils/default.nix
+++ b/pkgs/os-specific/linux/alsa-utils/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "alsa-utils";
- version = "1.1.9";
+ version = "1.2.1";
src = fetchurl {
url = "mirror://alsa/utils/${pname}-${version}.tar.bz2";
- sha256 = "0fi11b7r8hg1bdjw74s8sqx8rc4qb310jaj9lsia9labvfyjrpsx";
+ sha256 = "039c19b7091is0czl9jlrfczp7pp1jpdri0vvc4k07gl3skhn48b";
};
patchPhase = ''
diff --git a/pkgs/os-specific/linux/anbox/default.nix b/pkgs/os-specific/linux/anbox/default.nix
index 755ec390a9cd4188a6de079e32c92c28894aa91e..0012c3de98971dbdddf9170e517460c8793f956c 100644
--- a/pkgs/os-specific/linux/anbox/default.nix
+++ b/pkgs/os-specific/linux/anbox/default.nix
@@ -45,13 +45,13 @@ in
stdenv.mkDerivation rec {
pname = "anbox";
- version = "unstable-2019-05-03";
+ version = "unstable-2019-11-15";
src = fetchFromGitHub {
owner = pname;
repo = pname;
- rev = "ea2b7a3dea34a6803134f4adc16c276f4c2479eb";
- sha256 = "00x772nbrbx7ma0scr24m65g50pmi4v6d6q3cwbbi55r8qiy2yz7";
+ rev = "0a49ae08f76de7f886a3dbed4422711c2fa39d10";
+ sha256 = "09l56nv9cnyhykclfmvam6bkcxlamwbql6nrz9n022553w92hkjf";
};
nativeBuildInputs = [
diff --git a/pkgs/os-specific/linux/anbox/kmod.nix b/pkgs/os-specific/linux/anbox/kmod.nix
index fee8d1e7a4201b652d58e01c9ad6d483e52c0609..0888f2c54146ce687e6d3d220f438c20a70c9512 100644
--- a/pkgs/os-specific/linux/anbox/kmod.nix
+++ b/pkgs/os-specific/linux/anbox/kmod.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation {
pname = "anbox-modules";
- version = "2019-07-13-" + kernel.version;
+ version = "2019-11-15-" + kernel.version;
src = fetchFromGitHub {
owner = "anbox";
repo = "anbox-modules";
- rev = "816dd4d6e702cf77a44cfe208659af6c39e02b57";
- sha256 = "115xrv3fz5bk51hz8cwb61h0xnrsnv217fxmbpw35a6hjrk7gslc";
+ rev = "e0a237e571989987806b32881044c539db25e3e1";
+ sha256 = "1km1nslp4f5znwskh4bb1b61r1inw1dlbwiyyq3rrh0f0agf8d0v";
};
nativeBuildInputs = kernel.moduleBuildDependencies;
diff --git a/pkgs/os-specific/linux/ati-drivers/builder.sh b/pkgs/os-specific/linux/ati-drivers/builder.sh
index f6ad8e2c03b6983fca3a8aeddc104eb4ff3e28b7..09d218e87458be794d10a3eed8c8508a59218e6b 100644
--- a/pkgs/os-specific/linux/ati-drivers/builder.sh
+++ b/pkgs/os-specific/linux/ati-drivers/builder.sh
@@ -246,9 +246,9 @@ if test -z "$libsOnly"; then
( # build and install fgl_glxgears
cd fgl_glxgears;
gcc -DGL_ARB_texture_multisample=1 -g \
- -I$libGLU_combined/include \
+ -I$libGL/include -I$libGLU/include \
-I$out/include \
- -L$libGLU_combined/lib -lGL -lGLU -lX11 -lm \
+ -L$libGL/lib -L$libGLU/lib -lGL -lGLU -lX11 -lm \
-o $out/bin/fgl_glxgears -Wall fgl_glxgears.c
)
diff --git a/pkgs/os-specific/linux/ati-drivers/default.nix b/pkgs/os-specific/linux/ati-drivers/default.nix
index b79054d44065d915e2d41fd9fa7fe2863ad58c52..a391f73391fb1b1320cb9664647903dcfa395e75 100644
--- a/pkgs/os-specific/linux/ati-drivers/default.nix
+++ b/pkgs/os-specific/linux/ati-drivers/default.nix
@@ -1,6 +1,6 @@
{ stdenv, lib, fetchurl, kernel ? null, which
, xorg, makeWrapper, glibc, patchelf, unzip
-, fontconfig, freetype, libGLU_combined # for fgl_glxgears
+, fontconfig, freetype, libGLU, libGL # for fgl_glxgears
, # Whether to build the libraries only (i.e. not the kernel module or
# driver utils). Used to support 32-bit binaries on 64-bit
# Linux.
@@ -90,7 +90,7 @@ stdenv.mkDerivation rec {
xorg.libXrandr xorg.libXxf86vm xorg.xorgproto xorg.imake xorg.libICE
patchelf
unzip
- libGLU_combined
+ libGLU libGL
fontconfig
freetype
makeWrapper
@@ -108,7 +108,7 @@ stdenv.mkDerivation rec {
LD_LIBRARY_PATH = makeLibraryPath
[ xorg.libXrender xorg.libXext xorg.libX11 xorg.libXinerama xorg.libSM
xorg.libXrandr xorg.libXxf86vm xorg.xorgproto xorg.imake xorg.libICE
- libGLU_combined
+ libGLU libGL
fontconfig
freetype
stdenv.cc.cc
@@ -122,7 +122,7 @@ stdenv.mkDerivation rec {
xorg.libX11.out xorg.libXinerama.out xorg.libSM.out
xorg.libICE.out ];
- inherit libGLU_combined; # only required to build the examples
+ inherit libGLU libGL; # only required to build the examples
enableParallelBuilding = true;
diff --git a/pkgs/os-specific/linux/beegfs/default.nix b/pkgs/os-specific/linux/beegfs/default.nix
deleted file mode 100644
index 7ce2fea692453e40a77c214e99934917913e70b9..0000000000000000000000000000000000000000
--- a/pkgs/os-specific/linux/beegfs/default.nix
+++ /dev/null
@@ -1,167 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, unzip, which
-, libuuid, attr, xfsprogs, cppunit, rdma-core
-, zlib, openssl, sqlite, jre, openjdk, ant
-, openssh, perl, gfortran, influxdb, curl
-} :
-
-let
- version = "7.0";
-
- subdirs = [
- "beeond_thirdparty/build"
- "beeond_thirdparty_gpl/build"
- "thirdparty/build"
- "opentk_lib/build"
- "common/build"
- "admon/build"
- "java_lib/build"
- "ctl/build"
- "fsck/build"
- "helperd/build"
- "meta/build"
- "mgmtd/build"
- "storage/build"
- "utils/build"
- "mon/build"
- "upgrade/beegfs_mirror_md/build"
- ];
-
-in stdenv.mkDerivation {
- pname = "beegfs";
- inherit version;
-
- src = fetchurl {
- url = "https://git.beegfs.com/pub/v7/repository/archive.tar.bz2?ref=${version}";
- sha256 = "1wsljd5ybyhl94aqrdfvcs8a0l8w4pr0bs1vhjrf4y7ldhw35m3k";
- };
-
- nativeBuildInputs = [ which unzip pkgconfig cppunit openjdk ant perl ];
-
- buildInputs = [
- libuuid
- attr
- xfsprogs
- zlib
- openssl
- sqlite
- jre
- rdma-core
- openssh
- gfortran
- influxdb
- curl
- ];
-
- hardeningDisable = [ "format" ]; # required for building beeond
-
- postPatch = ''
- patchShebangs ./
- find -type f -name Makefile -exec sed -i "s:/bin/bash:${stdenv.shell}:" \{} \;
- find -type f -name Makefile -exec sed -i "s:/bin/true:true:" \{} \;
- find -type f -name "*.mk" -exec sed -i "s:/bin/true:true:" \{} \;
-
- # unpack manually and patch variable name
- sed -i '/tar -C $(SOURCE_PATH) -xzf $(PCOPY_TAR)/d' beeond_thirdparty/build/Makefile
- cd beeond_thirdparty/source
- tar xf pcopy-0.96.tar.gz
- sed -i 's/\([^_]\)rank/\1grank/' pcopy-0.96/src/pcp.cpp
- cd ../..
- '';
-
- buildPhase = ''
- for i in ${toString subdirs}; do
- make -C $i BEEGFS_OPENTK_IBVERBS=1 ''${enableParallelBuilding:+-j''${NIX_BUILD_CORES} -l''${NIX_BUILD_CORES}}
- done
- make -C admon/build admon_gui BEEGFS_OPENTK_IBVERBS=1
- '';
-
- enableParallelBuilding = true;
-
- installPhase = ''
- binDir=$out/bin
- docDir=$out/share/doc/beegfs
- includeDir=$out/include/beegfs
- libDir=$out/lib
- libDirPkg=$out/lib/beegfs
-
- mkdir -p $binDir $libDir $libDirPkg $docDir $includeDir
-
- cp admon/build/beegfs-admon $binDir
- cp admon/build/dist/usr/bin/beegfs-admon-gui $binDir
- cp admon_gui/dist/beegfs-admon-gui.jar $libDirPkg
- cp admon/build/dist/etc/beegfs-admon.conf $docDir
-
- cp java_lib/build/jbeegfs.jar $libDirPkg
- cp java_lib/build/libjbeegfs.so $libDir
-
- cp ctl/build/beegfs-ctl $binDir
- cp fsck/build/beegfs-fsck $binDir
-
- cp utils/scripts/beegfs-check-servers $binDir
- cp utils/scripts/beegfs-df $binDir
- cp utils/scripts/beegfs-net $binDir
-
- cp helperd/build/beegfs-helperd $binDir
- cp helperd/build/dist/etc/beegfs-helperd.conf $docDir
-
- cp client_module/build/dist/sbin/beegfs-setup-client $binDir
- cp client_module/build/dist/etc/beegfs-client.conf $docDir
-
- cp meta/build/beegfs-meta $binDir
- cp meta/build/dist/sbin/beegfs-setup-meta $binDir
- cp meta/build/dist/etc/beegfs-meta.conf $docDir
-
- cp mgmtd/build/beegfs-mgmtd $binDir
- cp mgmtd/build/dist/sbin/beegfs-setup-mgmtd $binDir
- cp mgmtd/build/dist/etc/beegfs-mgmtd.conf $docDir
-
- cp storage/build/beegfs-storage $binDir
- cp storage/build/dist/sbin/beegfs-setup-storage $binDir
- cp storage/build/dist/etc/beegfs-storage.conf $docDir
-
- cp opentk_lib/build/libbeegfs-opentk.so $libDir
-
- cp upgrade/beegfs_mirror_md/build/beegfs-mirror-md $binDir
-
- cp client_devel/build/dist/usr/share/doc/beegfs-client-devel/examples/* $docDir
- cp -r client_devel/include/* $includeDir
-
- cp beeond_thirdparty_gpl/build/parallel $out/bin
- cp beeond_thirdparty/build/pcopy/p* $out/bin
- cp beeond_thirdparty/build/pcopy/s* $out/bin
- cp -r beeond/scripts/* $out
- cp beeond/source/* $out/bin
- '';
-
- postFixup = ''
- substituteInPlace $out/bin/beegfs-admon-gui \
- --replace " java " " ${jre}/bin/java " \
- --replace "/opt/beegfs/beegfs-admon-gui/beegfs-admon-gui.jar" \
- "$libDirPkg/beegfs-admon-gui.jar"
-
- substituteInPlace $out/bin/beeond \
- --replace /opt/beegfs/sbin "$out/bin"
- '';
-
- doCheck = true;
-
- checkPhase = ''
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/opentk_lib/build/ \
- common/build/test-runner --text
- '';
-
- meta = with stdenv.lib; {
- description = "High performance distributed filesystem with RDMA support";
- homepage = "https://www.beegfs.io";
- platforms = [ "i686-linux" "x86_64-linux" ];
- license = {
- fullName = "BeeGFS_EULA";
- url = "https://www.beegfs.io/docs/BeeGFS_EULA.txt";
- free = false;
- };
- maintainers = with maintainers; [ markuskowa ];
- # 2019-08-09
- # fails to build and had stability issues earlier
- broken = true;
- };
-}
diff --git a/pkgs/os-specific/linux/beegfs/kernel-module.nix b/pkgs/os-specific/linux/beegfs/kernel-module.nix
deleted file mode 100644
index 286252b927b1776c2a064bbd4c2ddadaddab4a07..0000000000000000000000000000000000000000
--- a/pkgs/os-specific/linux/beegfs/kernel-module.nix
+++ /dev/null
@@ -1,46 +0,0 @@
-{ stdenv, fetchurl, which
-, kmod, kernel
-} :
-
-let
- version = "7.0";
-in stdenv.mkDerivation {
- name = "beegfs-module-${version}-${kernel.version}";
-
- src = fetchurl {
- url = "https://git.beegfs.com/pub/v7/repository/archive.tar.bz2?ref=${version}";
- sha256 = "1wsljd5ybyhl94aqrdfvcs8a0l8w4pr0bs1vhjrf4y7ldhw35m3k";
- };
-
- hardeningDisable = [ "fortify" "pic" "stackprotector" ];
-
- nativeBuildInputs = [ which kmod ];
-
- buildInputs = kernel.moduleBuildDependencies;
-
- makeFlags = [ "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build/" ];
-
- postPatch = ''
- patchShebangs ./
- find -type f -name Makefile -exec sed -i "s:/bin/bash:${stdenv.shell}:" \{} \;
- find -type f -name Makefile -exec sed -i "s:/bin/true:true:" \{} \;
- find -type f -name "*.mk" -exec sed -i "s:/bin/true:true:" \{} \;
- '';
-
- preBuild = "cd client_module/build";
-
- installPhase = ''
- instdir=$out/lib/modules/${kernel.modDirVersion}/extras/fs/beegfs
- mkdir -p $instdir
- cp beegfs.ko $instdir
- '';
-
- meta = with stdenv.lib; {
- description = "High performance distributed filesystem with RDMA support";
- homepage = "https://www.beegfs.io";
- platforms = [ "i686-linux" "x86_64-linux" ];
- license = licenses.gpl2;
- maintainers = with maintainers; [ markuskowa ];
- broken = stdenv.lib.versionAtLeast kernel.version "4.18";
- };
-}
diff --git a/pkgs/os-specific/linux/brillo/default.nix b/pkgs/os-specific/linux/brillo/default.nix
index 3ad4acf127b793e4a5e51d21d31a6d55decc129d..6d51907ea166e023029332f140659595cf76eb00 100644
--- a/pkgs/os-specific/linux/brillo/default.nix
+++ b/pkgs/os-specific/linux/brillo/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "brillo";
- version = "1.4.8";
+ version = "1.4.9";
src = fetchFromGitLab {
owner= "cameronnemo";
repo= "brillo";
rev= "v${version}";
- sha256 = "0wxvg541caiwm3bjwbmk7xcng7jd9xsiga2agxwp7gpkrlp74j9f";
+ sha256 = "0ab7s60zcgl6hvm0a9rlwq35p25n3jnw6r9256pwl4cdwyjyybsb";
};
patches = [
diff --git a/pkgs/os-specific/linux/cpupower/default.nix b/pkgs/os-specific/linux/cpupower/default.nix
index 1b307da8cb802b035f6cb426dc11bc9fc4986c3d..601810f2600092cc901e48704ebe90426ba0e883 100644
--- a/pkgs/os-specific/linux/cpupower/default.nix
+++ b/pkgs/os-specific/linux/cpupower/default.nix
@@ -14,7 +14,11 @@ stdenv.mkDerivation {
sed -i 's,/usr/bin/install,${buildPackages.coreutils}/bin/install,' Makefile
'';
- makeFlags = [ "CROSS=${stdenv.cc.targetPrefix}" ];
+ makeFlags = [
+ "CROSS=${stdenv.cc.targetPrefix}"
+ "CC=${stdenv.cc.targetPrefix}cc"
+ "LD=${stdenv.cc.targetPrefix}cc"
+ ];
installFlags = stdenv.lib.mapAttrsToList
(n: v: "${n}dir=${placeholder "out"}/${v}") {
diff --git a/pkgs/os-specific/linux/dpdk/default.nix b/pkgs/os-specific/linux/dpdk/default.nix
index 7525fc8e405b542f4ed47f6b409f7bca0c1f520f..104fccd6955bcd82cbf37e5bf952db3e90310a32 100644
--- a/pkgs/os-specific/linux/dpdk/default.nix
+++ b/pkgs/os-specific/linux/dpdk/default.nix
@@ -1,9 +1,13 @@
-{ stdenv, lib, kernel, fetchurl, pkgconfig, numactl, shared ? false }:
+{ stdenv, lib
+, kernel
+, fetchurl
+, pkgconfig, meson, ninja
+, libbsd, numactl, libbpf, zlib, libelf, jansson, openssl, libpcap
+, doxygen, python3
+, shared ? false }:
let
-
kver = kernel.modDirVersion or null;
-
mod = kernel != null;
in stdenv.mkDerivation rec {
@@ -15,40 +19,38 @@ in stdenv.mkDerivation rec {
sha256 = "141bqqy4w6nzs9z70x7yv94a4gmxjfal46pxry9bwdh3zi1jwnyd";
};
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ numactl ] ++ lib.optional mod kernel.moduleBuildDependencies;
-
- RTE_KERNELDIR = if mod then "${kernel.dev}/lib/modules/${kver}/build" else "/var/empty";
- RTE_TARGET = "x86_64-native-linuxapp-gcc";
-
- # we need sse3 instructions to build
- NIX_CFLAGS_COMPILE = [ "-msse3" ];
- hardeningDisable = [ "pic" ];
+ nativeBuildInputs = [
+ doxygen
+ meson
+ ninja
+ pkgconfig
+ python3
+ python3.pkgs.sphinx
+ ];
+ buildInputs = [
+ jansson
+ libbpf
+ libbsd
+ libelf
+ libpcap
+ numactl
+ openssl.dev
+ zlib
+ ] ++ lib.optionals mod kernel.moduleBuildDependencies;
postPatch = ''
- cat >>config/defconfig_$RTE_TARGET <>config/defconfig_$RTE_TARGET <
++#include "lib/dhparams.h"
++#include "lib/util.h"
++
++static int
++my_DH_set0_pqg(DH *dh, BIGNUM *p, const BIGNUM **q OVS_UNUSED, BIGNUM *g)
++{
++ ovs_assert(q == NULL);
++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined (LIBRESSL_VERSION_NUMBER)
++ dh->p = p;
++ dh->g = g;
++ return 1;
++#else
++ return DH_set0_pqg(dh, p, NULL, g);
++#endif
++}
++EOF
++(openssl dhparam -C -in lib/dh1024.pem -noout &&
++openssl dhparam -C -in lib/dh2048.pem -noout &&
++openssl dhparam -C -in lib/dh4096.pem -noout) | sed '
++ s/^static DH/DH/
++ s/\(get_dh[0-9]*\)()/\1(void)/
++ s/\(DH_set0_pqg\)/my_\1/
++ s/[ ]*$//
++ s/ / /g
++'
+diff --git a/lib/automake.mk b/lib/automake.mk
+index 5387d519a..804a8b7d7 100644
+--- a/lib/automake.mk
++++ b/lib/automake.mk
+@@ -399,15 +399,16 @@ lib_libopenvswitch_la_SOURCES += \
+ lib/route-table-bsd.c
+ endif
+
++.PHONY: generate-dhparams-c
+ if HAVE_OPENSSL
+-lib_libopenvswitch_la_SOURCES += lib/stream-ssl.c
+-nodist_lib_libopenvswitch_la_SOURCES += lib/dhparams.c
+-lib/dhparams.c: lib/dh1024.pem lib/dh2048.pem lib/dh4096.pem
+- $(AM_V_GEN)(echo '#include "lib/dhparams.h"' && \
+- openssl dhparam -C -in $(srcdir)/lib/dh1024.pem -noout && \
+- openssl dhparam -C -in $(srcdir)/lib/dh2048.pem -noout && \
+- openssl dhparam -C -in $(srcdir)/lib/dh4096.pem -noout) \
+- | sed 's/\(get_dh[0-9]*\)()/\1(void)/' > lib/dhparams.c.tmp && \
++lib_libopenvswitch_la_SOURCES += lib/stream-ssl.c lib/dhparams.c
++
++# Manually regenerates lib/dhparams.c. Not normally necessary since
++# lib/dhparams.c is part of the repository and doesn't normally need
++# updates.
++generate-dhparams-c:
++ $(AM_V_GEN)cd $(srcdir) && \
++ build-aux/generate-dhparams-c > lib/dhparams.c.tmp && \
+ mv lib/dhparams.c.tmp lib/dhparams.c
+ else
+ lib_libopenvswitch_la_SOURCES += lib/stream-nossl.c
+diff --git a/lib/dhparams.c b/lib/dhparams.c
+new file mode 100644
+index 000000000..4e42efad2
+--- /dev/null
++++ b/lib/dhparams.c
+@@ -0,0 +1,192 @@
++/* Generated automatically; do not modify! -*- buffer-read-only: t -*-
++ *
++ * If you do need to regenerate this file, run "make generate-dhparams-c". */
++
++#include
++#include "lib/dhparams.h"
++#include "lib/util.h"
++
++static int
++my_DH_set0_pqg(DH *dh, BIGNUM *p, const BIGNUM **q OVS_UNUSED, BIGNUM *g)
++{
++ ovs_assert(q == NULL);
++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined (LIBRESSL_VERSION_NUMBER)
++ dh->p = p;
++ dh->g = g;
++ return 1;
++#else
++ return DH_set0_pqg(dh, p, NULL, g);
++#endif
++}
++#ifndef HEADER_DH_H
++# include
++#endif
++
++DH *get_dh1024(void)
++{
++ static unsigned char dhp_1024[] = {
++ 0xF4, 0x88, 0xFD, 0x58, 0x4E, 0x49, 0xDB, 0xCD, 0x20, 0xB4,
++ 0x9D, 0xE4, 0x91, 0x07, 0x36, 0x6B, 0x33, 0x6C, 0x38, 0x0D,
++ 0x45, 0x1D, 0x0F, 0x7C, 0x88, 0xB3, 0x1C, 0x7C, 0x5B, 0x2D,
++ 0x8E, 0xF6, 0xF3, 0xC9, 0x23, 0xC0, 0x43, 0xF0, 0xA5, 0x5B,
++ 0x18, 0x8D, 0x8E, 0xBB, 0x55, 0x8C, 0xB8, 0x5D, 0x38, 0xD3,
++ 0x34, 0xFD, 0x7C, 0x17, 0x57, 0x43, 0xA3, 0x1D, 0x18, 0x6C,
++ 0xDE, 0x33, 0x21, 0x2C, 0xB5, 0x2A, 0xFF, 0x3C, 0xE1, 0xB1,
++ 0x29, 0x40, 0x18, 0x11, 0x8D, 0x7C, 0x84, 0xA7, 0x0A, 0x72,
++ 0xD6, 0x86, 0xC4, 0x03, 0x19, 0xC8, 0x07, 0x29, 0x7A, 0xCA,
++ 0x95, 0x0C, 0xD9, 0x96, 0x9F, 0xAB, 0xD0, 0x0A, 0x50, 0x9B,
++ 0x02, 0x46, 0xD3, 0x08, 0x3D, 0x66, 0xA4, 0x5D, 0x41, 0x9F,
++ 0x9C, 0x7C, 0xBD, 0x89, 0x4B, 0x22, 0x19, 0x26, 0xBA, 0xAB,
++ 0xA2, 0x5E, 0xC3, 0x55, 0xE9, 0x2F, 0x78, 0xC7
++ };
++ static unsigned char dhg_1024[] = {
++ 0x02
++ };
++ DH *dh = DH_new();
++ BIGNUM *dhp_bn, *dhg_bn;
++
++ if (dh == NULL)
++ return NULL;
++ dhp_bn = BN_bin2bn(dhp_1024, sizeof (dhp_1024), NULL);
++ dhg_bn = BN_bin2bn(dhg_1024, sizeof (dhg_1024), NULL);
++ if (dhp_bn == NULL || dhg_bn == NULL
++ || !my_DH_set0_pqg(dh, dhp_bn, NULL, dhg_bn)) {
++ DH_free(dh);
++ BN_free(dhp_bn);
++ BN_free(dhg_bn);
++ return NULL;
++ }
++ return dh;
++}
++#ifndef HEADER_DH_H
++# include
++#endif
++
++DH *get_dh2048(void)
++{
++ static unsigned char dhp_2048[] = {
++ 0xF6, 0x42, 0x57, 0xB7, 0x08, 0x7F, 0x08, 0x17, 0x72, 0xA2,
++ 0xBA, 0xD6, 0xA9, 0x42, 0xF3, 0x05, 0xE8, 0xF9, 0x53, 0x11,
++ 0x39, 0x4F, 0xB6, 0xF1, 0x6E, 0xB9, 0x4B, 0x38, 0x20, 0xDA,
++ 0x01, 0xA7, 0x56, 0xA3, 0x14, 0xE9, 0x8F, 0x40, 0x55, 0xF3,
++ 0xD0, 0x07, 0xC6, 0xCB, 0x43, 0xA9, 0x94, 0xAD, 0xF7, 0x4C,
++ 0x64, 0x86, 0x49, 0xF8, 0x0C, 0x83, 0xBD, 0x65, 0xE9, 0x17,
++ 0xD4, 0xA1, 0xD3, 0x50, 0xF8, 0xF5, 0x59, 0x5F, 0xDC, 0x76,
++ 0x52, 0x4F, 0x3D, 0x3D, 0x8D, 0xDB, 0xCE, 0x99, 0xE1, 0x57,
++ 0x92, 0x59, 0xCD, 0xFD, 0xB8, 0xAE, 0x74, 0x4F, 0xC5, 0xFC,
++ 0x76, 0xBC, 0x83, 0xC5, 0x47, 0x30, 0x61, 0xCE, 0x7C, 0xC9,
++ 0x66, 0xFF, 0x15, 0xF9, 0xBB, 0xFD, 0x91, 0x5E, 0xC7, 0x01,
++ 0xAA, 0xD3, 0x5B, 0x9E, 0x8D, 0xA0, 0xA5, 0x72, 0x3A, 0xD4,
++ 0x1A, 0xF0, 0xBF, 0x46, 0x00, 0x58, 0x2B, 0xE5, 0xF4, 0x88,
++ 0xFD, 0x58, 0x4E, 0x49, 0xDB, 0xCD, 0x20, 0xB4, 0x9D, 0xE4,
++ 0x91, 0x07, 0x36, 0x6B, 0x33, 0x6C, 0x38, 0x0D, 0x45, 0x1D,
++ 0x0F, 0x7C, 0x88, 0xB3, 0x1C, 0x7C, 0x5B, 0x2D, 0x8E, 0xF6,
++ 0xF3, 0xC9, 0x23, 0xC0, 0x43, 0xF0, 0xA5, 0x5B, 0x18, 0x8D,
++ 0x8E, 0xBB, 0x55, 0x8C, 0xB8, 0x5D, 0x38, 0xD3, 0x34, 0xFD,
++ 0x7C, 0x17, 0x57, 0x43, 0xA3, 0x1D, 0x18, 0x6C, 0xDE, 0x33,
++ 0x21, 0x2C, 0xB5, 0x2A, 0xFF, 0x3C, 0xE1, 0xB1, 0x29, 0x40,
++ 0x18, 0x11, 0x8D, 0x7C, 0x84, 0xA7, 0x0A, 0x72, 0xD6, 0x86,
++ 0xC4, 0x03, 0x19, 0xC8, 0x07, 0x29, 0x7A, 0xCA, 0x95, 0x0C,
++ 0xD9, 0x96, 0x9F, 0xAB, 0xD0, 0x0A, 0x50, 0x9B, 0x02, 0x46,
++ 0xD3, 0x08, 0x3D, 0x66, 0xA4, 0x5D, 0x41, 0x9F, 0x9C, 0x7C,
++ 0xBD, 0x89, 0x4B, 0x22, 0x19, 0x26, 0xBA, 0xAB, 0xA2, 0x5E,
++ 0xC3, 0x55, 0xE9, 0x32, 0x0B, 0x3B
++ };
++ static unsigned char dhg_2048[] = {
++ 0x02
++ };
++ DH *dh = DH_new();
++ BIGNUM *dhp_bn, *dhg_bn;
++
++ if (dh == NULL)
++ return NULL;
++ dhp_bn = BN_bin2bn(dhp_2048, sizeof (dhp_2048), NULL);
++ dhg_bn = BN_bin2bn(dhg_2048, sizeof (dhg_2048), NULL);
++ if (dhp_bn == NULL || dhg_bn == NULL
++ || !my_DH_set0_pqg(dh, dhp_bn, NULL, dhg_bn)) {
++ DH_free(dh);
++ BN_free(dhp_bn);
++ BN_free(dhg_bn);
++ return NULL;
++ }
++ return dh;
++}
++#ifndef HEADER_DH_H
++# include
++#endif
++
++DH *get_dh4096(void)
++{
++ static unsigned char dhp_4096[] = {
++ 0xFA, 0x14, 0x72, 0x52, 0xC1, 0x4D, 0xE1, 0x5A, 0x49, 0xD4,
++ 0xEF, 0x09, 0x2D, 0xC0, 0xA8, 0xFD, 0x55, 0xAB, 0xD7, 0xD9,
++ 0x37, 0x04, 0x28, 0x09, 0xE2, 0xE9, 0x3E, 0x77, 0xE2, 0xA1,
++ 0x7A, 0x18, 0xDD, 0x46, 0xA3, 0x43, 0x37, 0x23, 0x90, 0x97,
++ 0xF3, 0x0E, 0xC9, 0x03, 0x50, 0x7D, 0x65, 0xCF, 0x78, 0x62,
++ 0xA6, 0x3A, 0x62, 0x22, 0x83, 0xA1, 0x2F, 0xFE, 0x79, 0xBA,
++ 0x35, 0xFF, 0x59, 0xD8, 0x1D, 0x61, 0xDD, 0x1E, 0x21, 0x13,
++ 0x17, 0xFE, 0xCD, 0x38, 0x87, 0x9E, 0xF5, 0x4F, 0x79, 0x10,
++ 0x61, 0x8D, 0xD4, 0x22, 0xF3, 0x5A, 0xED, 0x5D, 0xEA, 0x21,
++ 0xE9, 0x33, 0x6B, 0x48, 0x12, 0x0A, 0x20, 0x77, 0xD4, 0x25,
++ 0x60, 0x61, 0xDE, 0xF6, 0xB4, 0x4F, 0x1C, 0x63, 0x40, 0x8B,
++ 0x3A, 0x21, 0x93, 0x8B, 0x79, 0x53, 0x51, 0x2C, 0xCA, 0xB3,
++ 0x7B, 0x29, 0x56, 0xA8, 0xC7, 0xF8, 0xF4, 0x7B, 0x08, 0x5E,
++ 0xA6, 0xDC, 0xA2, 0x45, 0x12, 0x56, 0xDD, 0x41, 0x92, 0xF2,
++ 0xDD, 0x5B, 0x8F, 0x23, 0xF0, 0xF3, 0xEF, 0xE4, 0x3B, 0x0A,
++ 0x44, 0xDD, 0xED, 0x96, 0x84, 0xF1, 0xA8, 0x32, 0x46, 0xA3,
++ 0xDB, 0x4A, 0xBE, 0x3D, 0x45, 0xBA, 0x4E, 0xF8, 0x03, 0xE5,
++ 0xDD, 0x6B, 0x59, 0x0D, 0x84, 0x1E, 0xCA, 0x16, 0x5A, 0x8C,
++ 0xC8, 0xDF, 0x7C, 0x54, 0x44, 0xC4, 0x27, 0xA7, 0x3B, 0x2A,
++ 0x97, 0xCE, 0xA3, 0x7D, 0x26, 0x9C, 0xAD, 0xF4, 0xC2, 0xAC,
++ 0x37, 0x4B, 0xC3, 0xAD, 0x68, 0x84, 0x7F, 0x99, 0xA6, 0x17,
++ 0xEF, 0x6B, 0x46, 0x3A, 0x7A, 0x36, 0x7A, 0x11, 0x43, 0x92,
++ 0xAD, 0xE9, 0x9C, 0xFB, 0x44, 0x6C, 0x3D, 0x82, 0x49, 0xCC,
++ 0x5C, 0x6A, 0x52, 0x42, 0xF8, 0x42, 0xFB, 0x44, 0xF9, 0x39,
++ 0x73, 0xFB, 0x60, 0x79, 0x3B, 0xC2, 0x9E, 0x0B, 0xDC, 0xD4,
++ 0xA6, 0x67, 0xF7, 0x66, 0x3F, 0xFC, 0x42, 0x3B, 0x1B, 0xDB,
++ 0x4F, 0x66, 0xDC, 0xA5, 0x8F, 0x66, 0xF9, 0xEA, 0xC1, 0xED,
++ 0x31, 0xFB, 0x48, 0xA1, 0x82, 0x7D, 0xF8, 0xE0, 0xCC, 0xB1,
++ 0xC7, 0x03, 0xE4, 0xF8, 0xB3, 0xFE, 0xB7, 0xA3, 0x13, 0x73,
++ 0xA6, 0x7B, 0xC1, 0x0E, 0x39, 0xC7, 0x94, 0x48, 0x26, 0x00,
++ 0x85, 0x79, 0xFC, 0x6F, 0x7A, 0xAF, 0xC5, 0x52, 0x35, 0x75,
++ 0xD7, 0x75, 0xA4, 0x40, 0xFA, 0x14, 0x74, 0x61, 0x16, 0xF2,
++ 0xEB, 0x67, 0x11, 0x6F, 0x04, 0x43, 0x3D, 0x11, 0x14, 0x4C,
++ 0xA7, 0x94, 0x2A, 0x39, 0xA1, 0xC9, 0x90, 0xCF, 0x83, 0xC6,
++ 0xFF, 0x02, 0x8F, 0xA3, 0x2A, 0xAC, 0x26, 0xDF, 0x0B, 0x8B,
++ 0xBE, 0x64, 0x4A, 0xF1, 0xA1, 0xDC, 0xEE, 0xBA, 0xC8, 0x03,
++ 0x82, 0xF6, 0x62, 0x2C, 0x5D, 0xB6, 0xBB, 0x13, 0x19, 0x6E,
++ 0x86, 0xC5, 0x5B, 0x2B, 0x5E, 0x3A, 0xF3, 0xB3, 0x28, 0x6B,
++ 0x70, 0x71, 0x3A, 0x8E, 0xFF, 0x5C, 0x15, 0xE6, 0x02, 0xA4,
++ 0xCE, 0xED, 0x59, 0x56, 0xCC, 0x15, 0x51, 0x07, 0x79, 0x1A,
++ 0x0F, 0x25, 0x26, 0x27, 0x30, 0xA9, 0x15, 0xB2, 0xC8, 0xD4,
++ 0x5C, 0xCC, 0x30, 0xE8, 0x1B, 0xD8, 0xD5, 0x0F, 0x19, 0xA8,
++ 0x80, 0xA4, 0xC7, 0x01, 0xAA, 0x8B, 0xBA, 0x53, 0xBB, 0x47,
++ 0xC2, 0x1F, 0x6B, 0x54, 0xB0, 0x17, 0x60, 0xED, 0x79, 0x21,
++ 0x95, 0xB6, 0x05, 0x84, 0x37, 0xC8, 0x03, 0xA4, 0xDD, 0xD1,
++ 0x06, 0x69, 0x8F, 0x4C, 0x39, 0xE0, 0xC8, 0x5D, 0x83, 0x1D,
++ 0xBE, 0x6A, 0x9A, 0x99, 0xF3, 0x9F, 0x0B, 0x45, 0x29, 0xD4,
++ 0xCB, 0x29, 0x66, 0xEE, 0x1E, 0x7E, 0x3D, 0xD7, 0x13, 0x4E,
++ 0xDB, 0x90, 0x90, 0x58, 0xCB, 0x5E, 0x9B, 0xCD, 0x2E, 0x2B,
++ 0x0F, 0xA9, 0x4E, 0x78, 0xAC, 0x05, 0x11, 0x7F, 0xE3, 0x9E,
++ 0x27, 0xD4, 0x99, 0xE1, 0xB9, 0xBD, 0x78, 0xE1, 0x84, 0x41,
++ 0xA0, 0xDF
++ };
++ static unsigned char dhg_4096[] = {
++ 0x02
++ };
++ DH *dh = DH_new();
++ BIGNUM *dhp_bn, *dhg_bn;
++
++ if (dh == NULL)
++ return NULL;
++ dhp_bn = BN_bin2bn(dhp_4096, sizeof (dhp_4096), NULL);
++ dhg_bn = BN_bin2bn(dhg_4096, sizeof (dhg_4096), NULL);
++ if (dhp_bn == NULL || dhg_bn == NULL
++ || !my_DH_set0_pqg(dh, dhp_bn, NULL, dhg_bn)) {
++ DH_free(dh);
++ BN_free(dhp_bn);
++ BN_free(dhg_bn);
++ return NULL;
++ }
++ return dh;
++}
diff --git a/pkgs/os-specific/linux/prl-tools/default.nix b/pkgs/os-specific/linux/prl-tools/default.nix
index 5f84b5dcc662af624ce68f06ff48b9616a88a2d1..b5e44a10947b0431c972c6403e5723816415038d 100644
--- a/pkgs/os-specific/linux/prl-tools/default.nix
+++ b/pkgs/os-specific/linux/prl-tools/default.nix
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
( cd $sourceRoot/tools; tar -xaf prltools${if x64 then ".x64" else ""}.tar.gz )
'';
- kernelVersion = if libsOnly then "" else (builtins.parseDrvName kernel.name).version;
+ kernelVersion = if libsOnly then "" else lib.getName kernel.name;
kernelDir = if libsOnly then "" else "${kernel.dev}/lib/modules/${kernelVersion}";
scriptPath = lib.concatStringsSep ":" (lib.optionals (!libsOnly) [ "${utillinux}/bin" "${gawk}/bin" ]);
diff --git a/pkgs/os-specific/linux/psmisc/default.nix b/pkgs/os-specific/linux/psmisc/default.nix
index 413b7d5dcbdff7c3609b3763168510c2cb5cfc7a..999df37706dedd085210cf7570326d013720563e 100644
--- a/pkgs/os-specific/linux/psmisc/default.nix
+++ b/pkgs/os-specific/linux/psmisc/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "psmisc";
- version = "23.2";
+ version = "23.3";
src = fetchFromGitLab {
owner = pname;
repo = pname;
rev = "v${version}";
- sha256 = "0d90wmibxpkl0d7sdibvvkwpyxyg6m6ksh5gwrjh15vf1swvd5i1";
+ sha256 = "1132xvrldv0dar2mf221mv5kvajq0v6yrq8k3nl0wslnh5baa0r0";
};
nativeBuildInputs = [ autoconf automake gettext ];
diff --git a/pkgs/os-specific/linux/tomb/default.nix b/pkgs/os-specific/linux/tomb/default.nix
index 9fde84060247e012596a547d86ee9f1864bee16e..4a47ed8868db2824f651659c533163a1adc13c92 100644
--- a/pkgs/os-specific/linux/tomb/default.nix
+++ b/pkgs/os-specific/linux/tomb/default.nix
@@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
pname = "tomb";
- version = "2.6";
+ version = "2.7";
src = fetchFromGitHub {
owner = "dyne";
repo = "Tomb";
rev = "v${version}";
- sha256 = "0pr0lw1byxwkgv857zfmd8yqa03a7mckhzklrf9rkv1l6nisz0z0";
+ sha256 = "1vzkpzci6cp1r1q2n34pcgcns78i726k8d89dd6pibyj0vfnkl57";
};
buildInputs = [ sudo zsh pinentry ];
diff --git a/pkgs/os-specific/linux/usbguard/default.nix b/pkgs/os-specific/linux/usbguard/default.nix
index a9983561345e5a99f4b85ab2fba417877285d12e..3b4c1c4b6655c65bc4f0396d9537fcdfff61b914 100644
--- a/pkgs/os-specific/linux/usbguard/default.nix
+++ b/pkgs/os-specific/linux/usbguard/default.nix
@@ -12,14 +12,14 @@ with stdenv.lib;
assert libgcrypt != null -> libsodium == null;
stdenv.mkDerivation rec {
- version = "0.7.5";
+ version = "0.7.6";
pname = "usbguard";
repo = "https://github.com/USBGuard/usbguard";
src = fetchurl {
url = "${repo}/releases/download/${pname}-${version}/${pname}-${version}.tar.gz";
- sha256 = "0jj56sls13ryfgz6vajq8p4dm3grgb6rf2cmga6sckmzd4chk65b";
+ sha256 = "0gzhs8s4aka86mkcjib36z54si939ki4bmk46p6v8kln1fixad3j";
};
nativeBuildInputs = [
diff --git a/pkgs/servers/atlassian/confluence.nix b/pkgs/servers/atlassian/confluence.nix
index d7fb5b5546815a13c15a90f2db110ae14007f151..4d403e7d9389a5f55affe1af29fb89fb00352549 100644
--- a/pkgs/servers/atlassian/confluence.nix
+++ b/pkgs/servers/atlassian/confluence.nix
@@ -5,11 +5,11 @@
stdenv.mkDerivation rec {
pname = "atlassian-confluence";
- version = "7.0.2";
+ version = "7.0.3";
src = fetchurl {
url = "https://product-downloads.atlassian.com/software/confluence/downloads/${pname}-${version}.tar.gz";
- sha256 = "00ma2l6gknlpaf2k26md9fskgzcllky3vv89sb1izsrxl8la1dhq";
+ sha256 = "1anmhfdy4q74wchzha8fd2bd5hx0a2v3bgp9p5yvb8cal31zqcpd";
};
buildPhase = ''
diff --git a/pkgs/servers/caddy/default.nix b/pkgs/servers/caddy/default.nix
index bb1f4ac853863c1108a30d8aeeb5f9de4dff6dd0..2eca465bfd259db0850b3dea80143d6ce5264565 100644
--- a/pkgs/servers/caddy/default.nix
+++ b/pkgs/servers/caddy/default.nix
@@ -2,7 +2,7 @@
buildGoModule rec {
pname = "caddy";
- version = "1.0.3";
+ version = "1.0.4";
goPackagePath = "github.com/caddyserver/caddy";
@@ -12,9 +12,9 @@ buildGoModule rec {
owner = "caddyserver";
repo = pname;
rev = "v${version}";
- sha256 = "1n7i9w4vva5x5wry7gzkyfylk39x40ykv7ypf1ca3zbbk7w5x6mw";
+ sha256 = "0mqbaa9cshrqm5fggm5l5nzcnv8c9dvylcc4z7qj3322vl5cpfdc";
};
- modSha256 = "0np0mbs0mrn8scqa0dgvi7ya1707b3883prdaf1whsqrcr71ig8q";
+ modSha256 = "0f08smcnzmrj3v43v0qgyd11qwdbymbl86c9prais6sykgh1ld97";
preBuild = ''
cat << EOF > caddy/main.go
@@ -28,9 +28,9 @@ buildGoModule rec {
'';
meta = with stdenv.lib; {
- homepage = https://caddyserver.com;
+ homepage = "https://caddyserver.com";
description = "Fast, cross-platform HTTP/2 web server with automatic HTTPS";
license = licenses.asl20;
- maintainers = with maintainers; [ rushmorem fpletz zimbatm ];
+ maintainers = with maintainers; [ rushmorem fpletz zimbatm filalex77 ];
};
}
diff --git a/pkgs/servers/dns/bind/default.nix b/pkgs/servers/dns/bind/default.nix
index 40a116f56658ed494df9b9545bcd60125177a8ca..e13967d7af17225107d50f1c51c31400626dbf39 100644
--- a/pkgs/servers/dns/bind/default.nix
+++ b/pkgs/servers/dns/bind/default.nix
@@ -10,11 +10,11 @@ assert enablePython -> python3 != null;
stdenv.mkDerivation rec {
pname = "bind";
- version = "9.14.7";
+ version = "9.14.8";
src = fetchurl {
url = "https://ftp.isc.org/isc/bind9/${version}/${pname}-${version}.tar.gz";
- sha256 = "07998nx0yv3xy8c62b1ira9qygsgvpljwcgb47ypzxq8b57gb86f";
+ sha256 = "0xm0xrpgxq6gk6r6aa2w0lygnq02y1p614dmyjdmlsfnrrsslig5";
};
outputs = [ "out" "lib" "dev" "man" "dnsutils" "host" ];
diff --git a/pkgs/servers/dns/nsd/default.nix b/pkgs/servers/dns/nsd/default.nix
index 531e00e578f8829ffb70ea87318254d6f97f2d39..b6a405f6d2d9fc8c57514f7084cadcefb6154257 100644
--- a/pkgs/servers/dns/nsd/default.nix
+++ b/pkgs/servers/dns/nsd/default.nix
@@ -16,11 +16,11 @@
stdenv.mkDerivation rec {
pname = "nsd";
- version = "4.2.2";
+ version = "4.2.3";
src = fetchurl {
url = "https://www.nlnetlabs.nl/downloads/${pname}/${pname}-${version}.tar.gz";
- sha256 = "1ys608jyp5scc957q4brm094c97sxlwymina7d2nvzi51aa37cw3";
+ sha256 = "1664wpglrwqk627xma10f9qa652vzmf90gsjd8pribyj74xrczc1";
};
prePatch = ''
diff --git a/pkgs/servers/freeradius/default.nix b/pkgs/servers/freeradius/default.nix
index eeea3298ecdc7ae45577e784eee03483db039045..cbd7108534026a1f80be5dca992c190f07aba8a0 100644
--- a/pkgs/servers/freeradius/default.nix
+++ b/pkgs/servers/freeradius/default.nix
@@ -43,11 +43,11 @@ assert withRest -> curl != null && withJson;
with stdenv.lib;
stdenv.mkDerivation rec {
pname = "freeradius";
- version = "3.0.19";
+ version = "3.0.20";
src = fetchurl {
url = "ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-${version}.tar.gz";
- sha256 = "0v5b46rq878093ff549ijccy98md1l7l4rvshjxs672il0zvq5i4";
+ sha256 = "0zrnlpril8lcnyd6zz0wy45wj5i2k2krcf42dwa0rldjsjh6nazp";
};
nativeBuildInputs = [ autoreconfHook ];
diff --git a/pkgs/servers/gotify/default.nix b/pkgs/servers/gotify/default.nix
index 06663a87bcdc07364e054d3e4966fc99d50fba8f..cce37fd8e6b04b8a8c647118bb05872c8b1cc63f 100644
--- a/pkgs/servers/gotify/default.nix
+++ b/pkgs/servers/gotify/default.nix
@@ -10,13 +10,15 @@
buildGoModule rec {
pname = "gotify-server";
- version = "2.0.10";
+ # Note that when this is updated, along with the hash, the `ui.nix` file
+ # should include the same changes to the version and the sha256.
+ version = "2.0.11";
src = fetchFromGitHub {
owner = "gotify";
repo = "server";
rev = "v${version}";
- sha256 = "0f7y6gkxikdfjhdxplkv494ss2b0fqmibd2kl9nifabggfz5gjal";
+ sha256 = "0zrylyaxy1cks1wlzyf0di8in2braj4pfriyqa24vipwrlnhvgs6";
};
modSha256 = "19mghbs1jasb7vxdw13mmwsbk5sfg3y2vvddr73c82lq0f8g2iha";
diff --git a/pkgs/servers/gotify/ui.nix b/pkgs/servers/gotify/ui.nix
index e1277a2db21d858a2279617235da1747086ac84e..a47e527958522f7db705e3b932029d85ab467a82 100644
--- a/pkgs/servers/gotify/ui.nix
+++ b/pkgs/servers/gotify/ui.nix
@@ -8,13 +8,13 @@ yarn2nix-moretea.mkYarnPackage rec {
packageJSON = ./package.json;
yarnNix = ./yarndeps.nix;
- version = "2.0.8";
+ version = "2.0.11";
src_all = fetchFromGitHub {
owner = "gotify";
repo = "server";
rev = "v${version}";
- sha256 = "17bxs3wcazrxippf3i9w7d2mq8lf0v5m4bn3nl2zb8v8dl3lsc9a";
+ sha256 = "0zrylyaxy1cks1wlzyf0di8in2braj4pfriyqa24vipwrlnhvgs6";
};
src = "${src_all}/ui";
diff --git a/pkgs/servers/gotify/yarndeps.nix b/pkgs/servers/gotify/yarndeps.nix
index 02886c27f0473dfb7c4937fb45c117b47859be29..0e81e890a9fe3b46b01320e58a636be835f85443 100644
--- a/pkgs/servers/gotify/yarndeps.nix
+++ b/pkgs/servers/gotify/yarndeps.nix
@@ -705,6 +705,14 @@
sha1 = "c3d6e41b304ef10dcf13777a33e7694ec4a9a6dd";
};
}
+ {
+ name = "_babel_runtime___runtime_7.6.3.tgz";
+ path = fetchurl {
+ name = "_babel_runtime___runtime_7.6.3.tgz";
+ url = "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.6.3.tgz";
+ sha1 = "935122c74c73d2240cafd32ddb5fc2a6cd35cf1f";
+ };
+ }
{
name = "_babel_template___template_7.4.4.tgz";
path = fetchurl {
@@ -890,11 +898,11 @@
};
}
{
- name = "_material_ui_icons___icons_4.4.3.tgz";
+ name = "_material_ui_icons___icons_4.5.1.tgz";
path = fetchurl {
- name = "_material_ui_icons___icons_4.4.3.tgz";
- url = "https://registry.yarnpkg.com/@material-ui/icons/-/icons-4.4.3.tgz";
- sha1 = "5d4346ddbb2673a1b57ebc78fd6d50bcd88711db";
+ name = "_material_ui_icons___icons_4.5.1.tgz";
+ url = "https://registry.yarnpkg.com/@material-ui/icons/-/icons-4.5.1.tgz";
+ sha1 = "6963bad139e938702ece85ca43067688018f04f8";
};
}
{
diff --git a/pkgs/servers/http/jetty/default.nix b/pkgs/servers/http/jetty/default.nix
index 845fd41c12c438e886de978d89e1cd828202a72b..8d2340647cb49639793c3abab9c55ed6e1525563 100644
--- a/pkgs/servers/http/jetty/default.nix
+++ b/pkgs/servers/http/jetty/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "jetty";
- version = "9.4.22.v20191022";
+ version = "9.4.24.v20191120";
src = fetchurl {
url = "https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-distribution/${version}/jetty-distribution-${version}.tar.gz";
name = "jetty-distribution-${version}.tar.gz";
- sha256 = "1a5av6ygsmjwbnlax7f7l58d7hlw3xm0cpk5ml7mb54vrlrcb7hv";
+ sha256 = "072vr8gfly2xdwxx1c771yymf145l8nv0j31liwqrih8zqvvhsd4";
};
phases = [ "unpackPhase" "installPhase" ];
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
meta = {
description = "A Web server and javax.servlet container";
- homepage = http://www.eclipse.org/jetty/;
+ homepage = "https://www.eclipse.org/jetty/";
platforms = stdenv.lib.platforms.all;
license = [ stdenv.lib.licenses.asl20 stdenv.lib.licenses.epl10 ];
};
diff --git a/pkgs/servers/http/nginx/generic.nix b/pkgs/servers/http/nginx/generic.nix
index 3edbed22b6b65d37e026a42640fca0e2035df9dc..2c0dbc7d66543ab3fcfdd14257636c4b3827a376 100644
--- a/pkgs/servers/http/nginx/generic.nix
+++ b/pkgs/servers/http/nginx/generic.nix
@@ -1,5 +1,6 @@
{ stdenv, fetchurl, fetchpatch, openssl, zlib, pcre, libxml2, libxslt
-, substituteAll, gd, geoip
+, nixosTests
+, substituteAll, gd, geoip, perl
, withDebug ? false
, withStream ? true
, withMail ? false
@@ -29,7 +30,7 @@ stdenv.mkDerivation {
inherit sha256;
};
- buildInputs = [ openssl zlib pcre libxml2 libxslt gd geoip ]
+ buildInputs = [ openssl zlib pcre libxml2 libxslt gd geoip perl ]
++ mapModules "inputs";
configureFlags = [
@@ -52,8 +53,6 @@ stdenv.mkDerivation {
"--with-http_stub_status_module"
"--with-threads"
"--with-pcre-jit"
- # Install destination problems
- # "--with-http_perl_module"
] ++ optional withDebug [
"--with-debug"
] ++ optional withStream [
@@ -65,6 +64,10 @@ stdenv.mkDerivation {
] ++ optional withMail [
"--with-mail"
"--with-mail_ssl_module"
+ ] ++ optional (perl != null) [
+ "--with-http_perl_module"
+ "--with-perl=${perl}/bin/perl"
+ "--with-perl_modules_path=lib/perl5"
]
++ optional (gd != null) "--with-http_image_filter_module"
++ optional (with stdenv.hostPlatform; isLinux || isFreeBSD) "--with-file-aio"
@@ -107,7 +110,10 @@ stdenv.mkDerivation {
mv $out/sbin $out/bin
'';
- passthru.modules = modules;
+ passthru = {
+ modules = modules;
+ tests.nginx = nixosTests.nginx;
+ };
meta = {
description = "A reverse proxy and lightweight webserver";
diff --git a/pkgs/servers/jellyfin/default.nix b/pkgs/servers/jellyfin/default.nix
index 1f91e318c7f7234a9a71bc4d2ff4ba3bd955c62b..3ceeb73e4efff5d04998550ff474216235f88983 100644
--- a/pkgs/servers/jellyfin/default.nix
+++ b/pkgs/servers/jellyfin/default.nix
@@ -18,12 +18,12 @@ let
in stdenv.mkDerivation rec {
pname = "jellyfin";
- version = "10.4.1";
+ version = "10.4.2";
# Impossible to build anything offline with dotnet
src = fetchurl {
url = "https://github.com/jellyfin/jellyfin/releases/download/v${version}/jellyfin_${version}_portable.tar.gz";
- sha256 = "0lv1xd3bfbf9khiqlahry2im1mvgl3cj5m3zfd7mf61il5rz70f9";
+ sha256 = "08y3bxyqwpa28hgvvpiksbvss9wahmxprbi2dsm4gks9ba412f2f";
};
buildInputs = [
diff --git a/pkgs/servers/mail/postfix/default.nix b/pkgs/servers/mail/postfix/default.nix
index 8b6a46b9657fa7947e75141919255ac7fb04f1a1..b3345f9420cb69cec671ee9b540ee004d028611c 100644
--- a/pkgs/servers/mail/postfix/default.nix
+++ b/pkgs/servers/mail/postfix/default.nix
@@ -26,11 +26,11 @@ in stdenv.mkDerivation rec {
pname = "postfix";
- version = "3.4.7";
+ version = "3.4.8";
src = fetchurl {
url = "ftp://ftp.cs.uu.nl/mirror/postfix/postfix-release/official/${pname}-${version}.tar.gz";
- sha256 = "0rzr0n1gljhmxidsslbr9505xcv0hm8jahkp4dm87a1v3l956cpy";
+ sha256 = "0hw9kbr05qdzvfqhxi4dp4n3s9xvdh0gr0la08a4bip06ybl4pcd";
};
nativeBuildInputs = [ makeWrapper m4 ];
diff --git a/pkgs/servers/memcached/default.nix b/pkgs/servers/memcached/default.nix
index 9e7550a717177c72b04897d869612bdb3bd3cd0c..dfb3ac2cfa202887b6bdc6aab8b88f6ba09b07ba 100644
--- a/pkgs/servers/memcached/default.nix
+++ b/pkgs/servers/memcached/default.nix
@@ -1,12 +1,12 @@
{stdenv, fetchurl, cyrus_sasl, libevent}:
stdenv.mkDerivation rec {
- version = "1.5.19";
+ version = "1.5.20";
pname = "memcached";
src = fetchurl {
url = "https://memcached.org/files/${pname}-${version}.tar.gz";
- sha256 = "1q2bb858iwc1jncav5vfl8c7dic9r1wqni5724qmy8ads6idmp1x";
+ sha256 = "1r511qr95q0ywdaql3pdjiwzkfqxhhfzb13ilvl7mznfm4iv1myg";
};
configureFlags = [
diff --git a/pkgs/servers/metabase/default.nix b/pkgs/servers/metabase/default.nix
index 5babc638e26fb78fea6058dad51346d750c6f9c8..5c0fa2886dc810c917fcef5a503f47918882c28b 100644
--- a/pkgs/servers/metabase/default.nix
+++ b/pkgs/servers/metabase/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "metabase";
- version = "0.33.2";
+ version = "0.33.6";
src = fetchurl {
url = "http://downloads.metabase.com/v${version}/metabase.jar";
- sha256 = "0sbh3xc4scp3qflnd0v7bd224w43rby20nzxb7xn2c80jwninnnl";
+ sha256 = "1q5d323fzfvlc12v1g0mahlcz2sjii3k7cc6qg8q4q8yl0vg5c9k";
};
nativeBuildInputs = [ makeWrapper ];
diff --git a/pkgs/servers/misc/subsonic/default.nix b/pkgs/servers/misc/subsonic/default.nix
index be5188f177ac11eb5f110c4a25e2f83e02eb7b11..a7041fc57d0538fac07d2dff7dc6679697672d90 100644
--- a/pkgs/servers/misc/subsonic/default.nix
+++ b/pkgs/servers/misc/subsonic/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "subsonic";
- version = "6.1.5";
+ version = "6.1.6";
src = fetchurl {
url = "mirror://sourceforge/subsonic/subsonic-${version}-standalone.tar.gz";
- sha256 = "1xz3flxd5hxcvvg1izzxpv5rxwb5zprk92vsgvmcniy7j7r66936";
+ sha256 = "180qdk8mnc147az8v9rmc1kgf8b13mmq88l195gjdwiqpflqzdyz";
};
inherit jre;
diff --git a/pkgs/servers/monitoring/grafana/default.nix b/pkgs/servers/monitoring/grafana/default.nix
index b00b97781781f09023a48a8b6690a484f64409c8..7e2aaa66257421738ea5095a31e560fdcd5f3411 100644
--- a/pkgs/servers/monitoring/grafana/default.nix
+++ b/pkgs/servers/monitoring/grafana/default.nix
@@ -2,7 +2,7 @@
buildGoPackage rec {
pname = "grafana";
- version = "6.4.4";
+ version = "6.5.1";
goPackagePath = "github.com/grafana/grafana";
@@ -12,12 +12,12 @@ buildGoPackage rec {
rev = "v${version}";
owner = "grafana";
repo = "grafana";
- sha256 = "0v5iwny96kb07qkj2qqqfgvnsw3dfcq3wf66zsllqavnahvrd1s8";
+ sha256 = "1hcfn9dgx8vabadagm69dgk5sdyc1kxkbma2ryfdb0v6vpm01784";
};
srcStatic = fetchurl {
url = "https://dl.grafana.com/oss/release/grafana-${version}.linux-amd64.tar.gz";
- sha256 = "15583cdi4yajg678d3kj8nngs9lwj0qqn2nh5zm8il9p71w57x0k";
+ sha256 = "1m2rxxgs8sf8qrg0bk3i2gy17q6n4nk4cwlp9bbffwmwcmf78gnw";
};
postPatch = ''
diff --git a/pkgs/servers/monitoring/loki/default.nix b/pkgs/servers/monitoring/loki/default.nix
index 96e583942dd0a138f2bb28c142a43305ff65e21f..9bc4223b5d66f081554163c1937b0bffe39607e9 100644
--- a/pkgs/servers/monitoring/loki/default.nix
+++ b/pkgs/servers/monitoring/loki/default.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub, makeWrapper, systemd }:
buildGoPackage rec {
- version = "0.4.0";
+ version = "1.0.0";
pname = "grafana-loki";
goPackagePath = "github.com/grafana/loki";
@@ -11,7 +11,7 @@ buildGoPackage rec {
rev = "v${version}";
owner = "grafana";
repo = "loki";
- sha256 = "1anwq5dbh29dma18hnialbb253ciazzxmnqvympbh29ricldcf8p";
+ sha256 = "0qqmxrbiph268i5c8i6wpcihspdcglfxd4hy6ag03bl66rciq8nb";
};
nativeBuildInputs = [ makeWrapper ];
@@ -23,10 +23,10 @@ buildGoPackage rec {
'';
meta = with stdenv.lib; {
- description = "Like Prometheus, but for logs.";
+ description = "Like Prometheus, but for logs";
license = licenses.asl20;
homepage = "https://grafana.com/loki";
- maintainers = with maintainers; [ willibutz globin ];
+ maintainers = with maintainers; [ willibutz globin mmahut ];
platforms = platforms.linux;
};
}
diff --git a/pkgs/servers/monitoring/prometheus/nginxlog-exporter.nix b/pkgs/servers/monitoring/prometheus/nginxlog-exporter.nix
new file mode 100644
index 0000000000000000000000000000000000000000..68bac5c560e3d6f7f72aac520f82f8f8e4bd817e
--- /dev/null
+++ b/pkgs/servers/monitoring/prometheus/nginxlog-exporter.nix
@@ -0,0 +1,27 @@
+{ stdenv, buildGoPackage, fetchFromGitHub }:
+
+buildGoPackage rec {
+ pname = "nginxlog_exporter";
+ version = "1.3.0";
+
+ src = fetchFromGitHub {
+ owner = "martin-helmich";
+ repo = "prometheus-nginxlog-exporter";
+ rev = "v${version}";
+ sha256 = "0cma6hgagqdms6x40v0q4jn8gjq1awyg1aqk5l8mz7l6k132qq7k";
+ };
+
+ goPackagePath = "github.com/martin-helmich/prometheus-nginxlog-exporter";
+
+ goDeps = ./nginxlog-exporter_deps.nix;
+
+ doCheck = true;
+
+ meta = with stdenv.lib; {
+ description = "Export metrics from Nginx access log files to Prometheus";
+ homepage = "https://github.com/martin-helmich/prometheus-nginxlog-exporter";
+ license = licenses.asl20;
+ maintainers = with maintainers; [ mmahut ];
+ platforms = platforms.all;
+ };
+}
diff --git a/pkgs/servers/monitoring/prometheus/nginxlog-exporter_deps.nix b/pkgs/servers/monitoring/prometheus/nginxlog-exporter_deps.nix
new file mode 100644
index 0000000000000000000000000000000000000000..3051258a6361a6a08a10d9a97ee7796447a03676
--- /dev/null
+++ b/pkgs/servers/monitoring/prometheus/nginxlog-exporter_deps.nix
@@ -0,0 +1,282 @@
+# file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix)
+[
+ {
+ goPackagePath = "github.com/armon/go-radix";
+ fetch = {
+ type = "git";
+ url = "https://github.com/armon/go-radix";
+ rev = "v1.0.0";
+ sha256 = "1m1k0jz9gjfrk4m7hjm7p03qmviamfgxwm2ghakqxw3hdds8v503";
+ };
+ }
+ {
+ goPackagePath = "github.com/beorn7/perks";
+ fetch = {
+ type = "git";
+ url = "https://github.com/beorn7/perks";
+ rev = "3ac7bf7a47d1";
+ sha256 = "1qc3l4r818xpvrhshh1sisc5lvl9479qspcfcdbivdyh0apah83r";
+ };
+ }
+ {
+ 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/fsnotify/fsnotify";
+ fetch = {
+ type = "git";
+ url = "https://github.com/fsnotify/fsnotify";
+ rev = "v1.4.7";
+ sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g";
+ };
+ }
+ {
+ goPackagePath = "github.com/golang/protobuf";
+ fetch = {
+ type = "git";
+ url = "https://github.com/golang/protobuf";
+ rev = "0c1f6d65b5a1";
+ sha256 = "1ad3zv0s3swslfwmk0wry9qbjz596689z13f2s7d9gska6msigsl";
+ };
+ }
+ {
+ goPackagePath = "github.com/gopherjs/gopherjs";
+ fetch = {
+ type = "git";
+ url = "https://github.com/gopherjs/gopherjs";
+ rev = "0766667cb4d1";
+ sha256 = "13pfc9sxiwjky2lm1xb3i3lcisn8p6mgjk2d927l7r92ysph8dmw";
+ };
+ }
+ {
+ goPackagePath = "github.com/hashicorp/consul";
+ fetch = {
+ type = "git";
+ url = "https://github.com/hashicorp/consul";
+ rev = "de080672fee9";
+ sha256 = "1q46gn7gv7ara21akkbyzlnari4naxax2d0z917y56ra4lwm259i";
+ };
+ }
+ {
+ goPackagePath = "github.com/hashicorp/go-msgpack";
+ fetch = {
+ type = "git";
+ url = "https://github.com/hashicorp/go-msgpack";
+ rev = "v0.5.3";
+ sha256 = "00jv0ajqd58pkb2yyhlrjp0rv1mvb1ijx3yqjyikcmzvk9jb4h5m";
+ };
+ }
+ {
+ goPackagePath = "github.com/hashicorp/golang-lru";
+ fetch = {
+ type = "git";
+ url = "https://github.com/hashicorp/golang-lru";
+ rev = "v0.5.1";
+ sha256 = "13f870cvk161bzjj6x41l45r5x9i1z9r2ymwmvm7768kg08zznpy";
+ };
+ }
+ {
+ goPackagePath = "github.com/hashicorp/hcl";
+ fetch = {
+ type = "git";
+ url = "https://github.com/hashicorp/hcl";
+ rev = "v1.0.0";
+ sha256 = "0q6ml0qqs0yil76mpn4mdx4lp94id8vbv575qm60jzl1ijcl5i66";
+ };
+ }
+ {
+ goPackagePath = "github.com/hpcloud/tail";
+ fetch = {
+ type = "git";
+ url = "https://github.com/hpcloud/tail";
+ rev = "v1.0.0";
+ sha256 = "1njpzc0pi1acg5zx9y6vj9xi6ksbsc5d387rd6904hy6rh2m6kn0";
+ };
+ }
+ {
+ goPackagePath = "github.com/jtolds/gls";
+ fetch = {
+ type = "git";
+ url = "https://github.com/jtolds/gls";
+ rev = "v4.20.0";
+ sha256 = "1k7xd2q2ysv2xsh373qs801v6f359240kx0vrl0ydh7731lngvk6";
+ };
+ }
+ {
+ goPackagePath = "github.com/kr/pretty";
+ fetch = {
+ type = "git";
+ url = "https://github.com/kr/pretty";
+ rev = "v0.1.0";
+ sha256 = "18m4pwg2abd0j9cn5v3k2ksk9ig4vlwxmlw9rrglanziv9l967qp";
+ };
+ }
+ {
+ goPackagePath = "github.com/kr/pty";
+ fetch = {
+ type = "git";
+ url = "https://github.com/kr/pty";
+ rev = "v1.1.1";
+ sha256 = "0383f0mb9kqjvncqrfpidsf8y6ns5zlrc91c6a74xpyxjwvzl2y6";
+ };
+ }
+ {
+ goPackagePath = "github.com/kr/text";
+ fetch = {
+ type = "git";
+ url = "https://github.com/kr/text";
+ rev = "v0.1.0";
+ sha256 = "1gm5bsl01apvc84bw06hasawyqm4q84vx1pm32wr9jnd7a8vjgj1";
+ };
+ }
+ {
+ goPackagePath = "github.com/matttproud/golang_protobuf_extensions";
+ fetch = {
+ type = "git";
+ url = "https://github.com/matttproud/golang_protobuf_extensions";
+ rev = "v1.0.1";
+ sha256 = "1d0c1isd2lk9pnfq2nk0aih356j30k3h1gi2w0ixsivi5csl7jya";
+ };
+ }
+ {
+ 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/prometheus/client_golang";
+ fetch = {
+ type = "git";
+ url = "https://github.com/prometheus/client_golang";
+ rev = "5636dc67ae77";
+ sha256 = "0fb4w52zp0jk8218gwk4wgbhpj7d4hp6n00dvm8s0ajbysbx524d";
+ };
+ }
+ {
+ goPackagePath = "github.com/prometheus/client_model";
+ fetch = {
+ type = "git";
+ url = "https://github.com/prometheus/client_model";
+ rev = "fa8ad6fec335";
+ sha256 = "11a7v1fjzhhwsl128znjcf5v7v6129xjgkdpym2lial4lac1dhm9";
+ };
+ }
+ {
+ goPackagePath = "github.com/prometheus/common";
+ fetch = {
+ type = "git";
+ url = "https://github.com/prometheus/common";
+ rev = "4402f4e5ea79";
+ sha256 = "1nskicw0k0kay9dqg8hw2clgcnvjfcz839rijvrz4wh7gl42qiag";
+ };
+ }
+ {
+ goPackagePath = "github.com/prometheus/procfs";
+ fetch = {
+ type = "git";
+ url = "https://github.com/prometheus/procfs";
+ rev = "abf152e5f3e9";
+ sha256 = "0cp8lznv1b4zhi3wnbjkfxwzhkqd3wbmiy6mwgjanip8l9l3ykws";
+ };
+ }
+ {
+ goPackagePath = "github.com/satyrius/gonx";
+ fetch = {
+ type = "git";
+ url = "https://github.com/satyrius/gonx";
+ rev = "47c52b995fe5";
+ sha256 = "0f0b6ac9xlai168d32zas4v2afk5b2q1bs0qi3dykkk6lhq7b58m";
+ };
+ }
+ {
+ goPackagePath = "github.com/smartystreets/assertions";
+ fetch = {
+ type = "git";
+ url = "https://github.com/smartystreets/assertions";
+ rev = "b2de0cb4f26d";
+ sha256 = "1i7ldgavgl35c7gk25p7bvdr282ckng090zr4ch9mk1705akx09y";
+ };
+ }
+ {
+ goPackagePath = "github.com/smartystreets/goconvey";
+ fetch = {
+ type = "git";
+ url = "https://github.com/smartystreets/goconvey";
+ rev = "200a235640ff";
+ sha256 = "08hgfwjs5zqwsx1z5ja15d0g4glprb3ck7dfi88kwv5q5fl1p139";
+ };
+ }
+ {
+ goPackagePath = "github.com/stretchr/objx";
+ fetch = {
+ type = "git";
+ url = "https://github.com/stretchr/objx";
+ rev = "v0.1.0";
+ sha256 = "19ynspzjdynbi85xw06mh8ad5j0qa1vryvxjgvbnyrr8rbm4vd8w";
+ };
+ }
+ {
+ goPackagePath = "github.com/stretchr/testify";
+ fetch = {
+ type = "git";
+ url = "https://github.com/stretchr/testify";
+ rev = "v1.4.0";
+ sha256 = "187i5g88sxfy4vxpm7dw1gwv29pa2qaq475lxrdh5livh69wqfjb";
+ };
+ }
+ {
+ goPackagePath = "golang.org/x/sys";
+ fetch = {
+ type = "git";
+ url = "https://go.googlesource.com/sys";
+ rev = "c200b10b5d5e";
+ sha256 = "1f764m3q05q2dq1pdms07jcixw4xakqw46w1djrmbhjmd9q8b0av";
+ };
+ }
+ {
+ goPackagePath = "gopkg.in/check.v1";
+ fetch = {
+ type = "git";
+ url = "https://gopkg.in/check.v1";
+ rev = "788fd7840127";
+ sha256 = "0v3bim0j375z81zrpr5qv42knqs0y2qv2vkjiqi5axvb78slki1a";
+ };
+ }
+ {
+ goPackagePath = "gopkg.in/fsnotify.v1";
+ fetch = {
+ type = "git";
+ url = "https://gopkg.in/fsnotify.v1";
+ rev = "v1.4.7";
+ sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g";
+ };
+ }
+ {
+ goPackagePath = "gopkg.in/tomb.v1";
+ fetch = {
+ type = "git";
+ url = "https://gopkg.in/tomb.v1";
+ rev = "dd632973f1e7";
+ sha256 = "1lqmq1ag7s4b3gc3ddvr792c5xb5k6sfn0cchr3i2s7f1c231zjv";
+ };
+ }
+ {
+ goPackagePath = "gopkg.in/yaml.v2";
+ fetch = {
+ type = "git";
+ url = "https://gopkg.in/yaml.v2";
+ rev = "v2.2.4";
+ sha256 = "11bwj757wi8kdrcnlgfqb8vv2d2xdhlghmyagd19i62khrkchsg2";
+ };
+ }
+]
diff --git a/pkgs/servers/monitoring/prometheus/postgres-exporter.nix b/pkgs/servers/monitoring/prometheus/postgres-exporter.nix
index 410687d0335fd588dd4e408d568b981f38d5060c..e8af00b277b4ec61966536ba3f31d097111eed35 100644
--- a/pkgs/servers/monitoring/prometheus/postgres-exporter.nix
+++ b/pkgs/servers/monitoring/prometheus/postgres-exporter.nix
@@ -2,7 +2,7 @@
buildGoPackage rec {
pname = "postgres_exporter";
- version = "0.7.0";
+ version = "0.8.0";
goPackagePath = "github.com/wrouesnel/postgres_exporter";
@@ -10,7 +10,7 @@ buildGoPackage rec {
owner = "wrouesnel";
repo = "postgres_exporter";
rev = "v${version}";
- sha256 = "0xi61090kmkp1cid3hx00csfa4w8nvaw8ky0w004czwqlyids6jg";
+ sha256 = "0mid2kvskab3a32jscygg5jh0741nr7dvxzj4v029yiiqcx55nrc";
};
doCheck = true;
diff --git a/pkgs/servers/monitoring/prometheus/varnish-exporter.nix b/pkgs/servers/monitoring/prometheus/varnish-exporter.nix
index a629a2a27e26d25ebb971e0b6ea027e68f589c2d..d7767567195074d31fd2fcc7e55aaa1ebc71a219 100644
--- a/pkgs/servers/monitoring/prometheus/varnish-exporter.nix
+++ b/pkgs/servers/monitoring/prometheus/varnish-exporter.nix
@@ -2,13 +2,13 @@
buildGoModule rec {
pname = "prometheus_varnish_exporter";
- version = "1.5.1";
+ version = "1.5.2";
src = fetchFromGitHub {
owner = "jonnenauha";
repo = "prometheus_varnish_exporter";
rev = version;
- sha256 = "1lvs44936n3s9z6c5169jbvx390n5g0qk4pcrmnkndg796ixjshd";
+ sha256 = "0rpabw6a6paavv62f0gzhax9brzcgkly27rhkf0ihw8736gkw8ar";
};
modSha256 = "0w1zg9jc2466srx9pdckw7rzn7ma4pbd0617b1h98v364wjzgj72";
diff --git a/pkgs/servers/mtprotoproxy/default.nix b/pkgs/servers/mtprotoproxy/default.nix
index 523713e9d4dab49571ab444ec643669ce44b4318..550ee4c160f32e8b2b3bfe17615ba6ffff58a124 100644
--- a/pkgs/servers/mtprotoproxy/default.nix
+++ b/pkgs/servers/mtprotoproxy/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "mtprotoproxy";
- version = "1.0.7";
+ version = "1.0.8";
src = fetchFromGitHub {
owner = "alexbers";
repo = "mtprotoproxy";
rev = "v${version}";
- sha256 = "1j8bxwcq968h5sd58g03yc4zjqkhkjdn0f04vr826hhsdxy853r4";
+ sha256 = "1bpgbqbgy7c637bzm6g5msm2i10dfl4qb7psy3k3cbaysw696kjc";
};
nativeBuildInputs = [ wrapPython ];
diff --git a/pkgs/servers/nextcloud/default.nix b/pkgs/servers/nextcloud/default.nix
index 3b994337e9ce8c109a87f7621c9e279d071140fa..02c3759c58b3a7f6cc02c7ffb3802dd5a26daac8 100644
--- a/pkgs/servers/nextcloud/default.nix
+++ b/pkgs/servers/nextcloud/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "nextcloud";
- version = "17.0.0";
+ version = "17.0.1";
src = fetchurl {
url = "https://download.nextcloud.com/server/releases/${pname}-${version}.tar.bz2";
- sha256 = "19j2l4qxkqsxcw75gvkinjqawia07wx2kcmzn8q33nzc6cdl50b0";
+ sha256 = "0jrbpzc4xf52zfncn6w2m0ch2fszqqz3ny0jq1cw7fy24vjhwgkp";
};
installPhase = ''
diff --git a/pkgs/servers/nginx-sso/default.nix b/pkgs/servers/nginx-sso/default.nix
index a89604c4e7cda864b64c0b07e20a3573c36fa109..5cc583c68b3a8f99c889ef473c387176af9f32ba 100644
--- a/pkgs/servers/nginx-sso/default.nix
+++ b/pkgs/servers/nginx-sso/default.nix
@@ -2,7 +2,7 @@
buildGoPackage rec {
pname = "nginx-sso";
- version = "0.16.1";
+ version = "0.22.0";
rev = "v${version}";
goPackagePath = "github.com/Luzifer/nginx-sso";
@@ -11,7 +11,7 @@ buildGoPackage rec {
inherit rev;
owner = "Luzifer";
repo = "nginx-sso";
- sha256 = "100k5dxrwj5xa1yh79qmyv6jampijqjbr4vkn1d9avim352yhnk1";
+ sha256 = "1kcyb7sbqna18yw3myi3c0imhh4hsa0h2k2y0bqfr2pqsnssz54a";
};
postInstall = ''
diff --git a/pkgs/servers/nosql/eventstore/default.nix b/pkgs/servers/nosql/eventstore/default.nix
index bc1aee8a6876ab5d5d1ca58727c201cca7be9c0b..21658a273b48773a3d626e059da6477a64e6e48d 100644
--- a/pkgs/servers/nosql/eventstore/default.nix
+++ b/pkgs/servers/nosql/eventstore/default.nix
@@ -16,13 +16,13 @@ in
stdenv.mkDerivation rec {
pname = "EventStore";
- version = "5.0.2";
+ version = "5.0.5";
src = fetchFromGitHub {
owner = "EventStore";
repo = "EventStore";
rev = "oss-v${version}";
- sha256 = "0hjc64lmi9x1sq8zk24iag14k424l72g1n4z7wf7gaygd07kx9k8";
+ sha256 = "0cnpw24fvnj0q644p9jlijcqz6bxi61g0b59g52d3qxfydr0lgs0";
};
buildInputs = [
diff --git a/pkgs/servers/nosql/redis/default.nix b/pkgs/servers/nosql/redis/default.nix
index f7a67ce398d88984aa16f0885c76168e12fcf707..4b1003db284708ea005b3a470cce6289bb6eec81 100644
--- a/pkgs/servers/nosql/redis/default.nix
+++ b/pkgs/servers/nosql/redis/default.nix
@@ -1,12 +1,12 @@
-{ stdenv, fetchurl, lua, jemalloc }:
+{ stdenv, fetchurl, lua, jemalloc, nixosTests }:
stdenv.mkDerivation rec {
- version = "5.0.6";
+ version = "5.0.7";
pname = "redis";
src = fetchurl {
url = "http://download.redis.io/releases/${pname}-${version}.tar.gz";
- sha256 = "1cr2dn9ilhj52snmlz38fw30gdlgbxq2sadyspawahp1cw988936";
+ sha256 = "0ax8sf3vw0yadr41kzc04917scrg5wir1d94zmbz00b8pzm79nv1";
};
# Cross-compiling fixes
@@ -29,6 +29,8 @@ stdenv.mkDerivation rec {
doCheck = false; # needs tcl
+ passthru.tests.redis = nixosTests.redis;
+
meta = with stdenv.lib; {
homepage = https://redis.io;
description = "An open source, advanced key-value store";
diff --git a/pkgs/servers/plex/raw.nix b/pkgs/servers/plex/raw.nix
index de7167ca74087535b4b2eacd6468e398068f9cfa..998d64e34f0147164fed0389d29fbb70b1787536 100644
--- a/pkgs/servers/plex/raw.nix
+++ b/pkgs/servers/plex/raw.nix
@@ -8,13 +8,13 @@
# server, and the FHS userenv and corresponding NixOS module should
# automatically pick up the changes.
stdenv.mkDerivation rec {
- version = "1.18.1.1973-0f4abfbcc";
+ version = "1.18.2.2058-e67a4e892";
pname = "plexmediaserver";
# Fetch the source
src = fetchurl {
url = "https://downloads.plex.tv/plex-media-server-new/${version}/redhat/plexmediaserver-${version}.x86_64.rpm";
- sha256 = "1lmj4yal1f072w5rwxn9m09lbclzy87xnvy89iva1kmqzl3bfz2q";
+ sha256 = "12riaabhc4pp3nbjqvbp81fsnjzw43yfgnkjm7s9il0n85awzg0s";
};
outputs = [ "out" "basedb" ];
diff --git a/pkgs/servers/pulseaudio/default.nix b/pkgs/servers/pulseaudio/default.nix
index 2ce78a048c450b30c1f62dba5ece43bbae380a4d..da201765e55e05c289cc8ecdbc8b252b17713c5f 100644
--- a/pkgs/servers/pulseaudio/default.nix
+++ b/pkgs/servers/pulseaudio/default.nix
@@ -1,6 +1,6 @@
{ lib, stdenv, fetchurl, pkgconfig, autoreconfHook
, libsndfile, libtool, makeWrapper, perlPackages
-, xorg, libcap, alsaLib, glib, gnome3
+, xorg, libcap, alsaLib, glib, dconf
, avahi, libjack2, libasyncns, lirc, dbus
, sbc, bluez5, udev, openssl, fftwFloat
, speexdsp, systemd, webrtc-audio-processing
@@ -113,7 +113,7 @@ stdenv.mkDerivation rec {
preFixup = lib.optionalString stdenv.isLinux ''
wrapProgram $out/libexec/pulse/gsettings-helper \
--prefix XDG_DATA_DIRS : "$out/share/gsettings-schemas/${name}" \
- --prefix GIO_EXTRA_MODULES : "${lib.getLib gnome3.dconf}/lib/gio/modules"
+ --prefix GIO_EXTRA_MODULES : "${lib.getLib dconf}/lib/gio/modules"
'';
meta = {
diff --git a/pkgs/servers/rainloop/default.nix b/pkgs/servers/rainloop/default.nix
index b037524f67f2b8eafdd04452573f5ea89ccde9d3..ff6cb8c98ebf73b8f20001666c197825acc2a748 100644
--- a/pkgs/servers/rainloop/default.nix
+++ b/pkgs/servers/rainloop/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, unzip, dataPath ? "/etc/rainloop" }: let
common = { edition, sha256 }:
stdenv.mkDerivation (rec {
- name = "rainloop-${edition}-${version}";
+ pname = "rainloop${stdenv.lib.optionalString (edition != "") "-${edition}"}";
version = "1.13.0";
buildInputs = [ unzip ];
@@ -26,8 +26,8 @@
meta = with stdenv.lib; {
description = "Simple, modern & fast web-based email client";
homepage = "https://www.rainloop.net";
- downloadPage = https://github.com/RainLoop/rainloop-webmail/releases;
- license = licenses.agpl3;
+ downloadPage = "https://github.com/RainLoop/rainloop-webmail/releases";
+ license = with licenses; if edition == "" then unfree else agpl3;
platforms = platforms.all;
maintainers = with maintainers; [ das_j ];
};
diff --git a/pkgs/servers/roundcube/default.nix b/pkgs/servers/roundcube/default.nix
index 5953a28a28329ac1b5d41c0547485e446c6733c1..8278674faf1c7342ee7c1c2fbfd7af201eaac326 100644
--- a/pkgs/servers/roundcube/default.nix
+++ b/pkgs/servers/roundcube/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "roundcube";
- version = "1.4.0";
+ version = "1.4.1";
src = fetchurl {
url = "https://github.com/roundcube/roundcubemail/releases/download/${version}/roundcubemail-${version}-complete.tar.gz";
- sha256 = "0b7gc342z0smn7q6cnznj9ncal0515ki4kkq1hlmqmyn0nna5lkb";
+ sha256 = "0jml16djrap0602agwm3hvq53c4lw5bg2qklxbfk79qs3v926134";
};
patches = [ ./0001-Don-t-resolve-symlinks-when-trying-to-find-INSTALL_P.patch ];
diff --git a/pkgs/servers/routinator/default.nix b/pkgs/servers/routinator/default.nix
index 360cc4d27d84aee639cd295110bd65b0fc0a34ee..7d91dc91a93e841a8276807aaedb6b63fd4514d6 100644
--- a/pkgs/servers/routinator/default.nix
+++ b/pkgs/servers/routinator/default.nix
@@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
pname = "routinator";
- version = "0.6.2";
+ version = "0.6.4";
src = fetchFromGitHub {
owner = "NLnetLabs";
repo = pname;
rev = "v${version}";
- sha256 = "0v0j8lv1l7mxxwv7ycissya0rrvjqidb37dylqqy4zvirmk1b2av";
+ sha256 = "1hbqvjv9h1aghpyrl03w5f4j8gjy6n9lx83rmpsh5p7yd9ahwmf9";
};
- cargoSha256 = "19333br2r27s0rsv7imsv2y1j9gmljy4v8bqybvblrw1vc5961kq";
+ cargoSha256 = "08lizhag7aqz3a59gaapsymn7sf9c6im1aw64n0r9a5advhwdh18";
meta = with stdenv.lib; {
description = "An RPKI Validator written in Rust";
diff --git a/pkgs/servers/samba/3.x.nix b/pkgs/servers/samba/3.x.nix
deleted file mode 100644
index 1f432c1898807389290ebefafaf7d1b49aa91cbf..0000000000000000000000000000000000000000
--- a/pkgs/servers/samba/3.x.nix
+++ /dev/null
@@ -1,99 +0,0 @@
-{ stdenv, fetchurl, readline, pam ? null, openldap ? null
-, popt, iniparser, libunwind
-, fam ? null , acl ? null, cups ? null
-, useKerberos ? false, kerberos ? null, winbind ? true
-
-# Eg. smbclient and smbspool require a smb.conf file.
-# If you set configDir to "" an empty configuration file
-# $out/lib/smb.conf is is created for you.
-#
-# configDir defaults to "/etc/samba" so that smbpassword picks up
-# the location of its passwd db files from the system configuration file
-# /etc/samba/smb.conf. That's why nixos touches /etc/samba/smb.conf even if you
-# don't enable the samba upstart service.
-, configDir ? "/etc/samba"
-
-}:
-
-assert useKerberos -> kerberos != null;
-
-stdenv.mkDerivation rec {
- name = "samba-3.6.25";
-
- src = fetchurl {
- url = "mirror://samba/pub/samba/stable/${name}.tar.gz";
- sha256 = "0l9pz2m67vf398q3c2dwn8jwdxsjb20igncf4byhv6yq5dzqlb4g";
- };
-
- patches = [(fetchurl {
- url = "https://download.samba.org/pub/samba/patches/security/"
- + "samba-3.6.25-security-2015-12-16.patch";
- sha256 = "00dcjcn577825mfdwdp76jfy5kcrqw3s4d5c41gqdq5gfcdbmqdb";
- })];
-
- buildInputs = [ readline pam openldap popt iniparser libunwind fam acl cups ]
- ++ stdenv.lib.optional useKerberos kerberos;
-
- enableParallelBuilding = true;
-
- postPatch =
- # XXX: Awful hack to allow cross-compilation.
- '' sed -i source3/configure \
- -e 's/^as_fn_error .. \("cannot run test program while cross compiling\)/$as_echo \1/g'
- ''; # "
-
- preConfigure =
- '' cd source3
- export samba_cv_CC_NEGATIVE_ENUM_VALUES=yes
- export libreplace_cv_HAVE_GETADDRINFO=yes
- export ac_cv_file__proc_sys_kernel_core_pattern=no # XXX: true on Linux, false elsewhere
- '';
-
- configureFlags =
- stdenv.lib.optionals (pam != null) [ "--with-pam" "--with-pam_smbpass" ]
- ++ [ "--with-aio-support"
- "--disable-swat"
- "--with-configdir=${configDir}"
- "--with-fhs"
- "--localstatedir=/var"
- ]
- ++ (stdenv.lib.optional winbind "--with-winbind")
- ++ (stdenv.lib.optional (stdenv.cc.libc != null) "--with-libiconv=${stdenv.cc.libc}");
-
- # Need to use a DESTDIR because `make install' tries to write in /var and /etc.
- installFlags = "DESTDIR=$(TMPDIR)/inst";
-
- stripAllList = [ "bin" "sbin" ];
-
- postInstall =
- ''
- mkdir -p $out
- mv $TMPDIR/inst/$out/* $out/
-
- mkdir -p "$out/lib/pkgconfig"
- cp pkgconfig/*.pc "$out/lib/pkgconfig"
-
- mkdir -pv $out/lib/cups/backend
- ln -sv ../../../bin/smbspool $out/lib/cups/backend/smb
- mkdir -pv $out/etc/openldap/schema
- cp ../examples/LDAP/samba.schema $out/etc/openldap/schema
-
- # For nsswitch. Glibc >= 2.1 looks for libnss_