diff --git a/lib/systems/doubles.nix b/lib/systems/doubles.nix
index d8bfc48a96f..b0bc7dd1188 100644
--- a/lib/systems/doubles.nix
+++ b/lib/systems/doubles.nix
@@ -35,6 +35,7 @@ let
"msp430-none"
"riscv64-none" "riscv32-none"
"vc4-none"
+ "or1k-none"
"mmix-mmixware"
@@ -61,6 +62,7 @@ in {
mmix = filterDoubles predicates.isMmix;
riscv = filterDoubles predicates.isRiscV;
vc4 = filterDoubles predicates.isVc4;
+ or1k = filterDoubles predicates.isOr1k;
js = filterDoubles predicates.isJavaScript;
bigEndian = filterDoubles predicates.isBigEndian;
diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix
index c869429d3ae..b824bea6c20 100644
--- a/lib/systems/examples.nix
+++ b/lib/systems/examples.nix
@@ -129,6 +129,12 @@ rec {
platform = {};
};
+ or1k = {
+ config = "or1k-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 7adbc98f9a9..d2b7271210c 100644
--- a/lib/systems/inspect.nix
+++ b/lib/systems/inspect.nix
@@ -25,6 +25,7 @@ rec {
isVc4 = { cpu = { family = "vc4"; }; };
isAvr = { cpu = { family = "avr"; }; };
isAlpha = { cpu = { family = "alpha"; }; };
+ isOr1k = { cpu = { family = "or1k"; }; };
isJavaScript = { cpu = cpuTypes.js; };
is32bit = { cpu = { bits = 32; }; };
diff --git a/lib/systems/parse.nix b/lib/systems/parse.nix
index 6ba3c40c665..a06ac0d11f7 100644
--- a/lib/systems/parse.nix
+++ b/lib/systems/parse.nix
@@ -116,6 +116,8 @@ rec {
vc4 = { bits = 32; significantByte = littleEndian; family = "vc4"; };
+ or1k = { bits = 32; significantByte = bigEndian; family = "or1k"; };
+
js = { bits = 32; significantByte = littleEndian; family = "js"; };
};
diff --git a/nixos/doc/manual/release-notes/rl-2103.xml b/nixos/doc/manual/release-notes/rl-2103.xml
index 62dcbd6184e..5c017c65a25 100644
--- a/nixos/doc/manual/release-notes/rl-2103.xml
+++ b/nixos/doc/manual/release-notes/rl-2103.xml
@@ -89,6 +89,18 @@
user D-Bus session available also for non-graphical logins.
+
+
+ rubyMinimal was removed due to being unused and
+ unusable. The default ruby interpreter includes JIT support, which makes
+ it reference it's compiler. Since JIT support is probably needed by some
+ Gems, it was decided to enable this feature with all cc references by
+ default, and allow to build a Ruby derivation without references to cc,
+ by setting jitSupport = false; in an overlay. See
+ #90151
+ for more info.
+
+
The option has been renamed to
diff --git a/pkgs/applications/audio/ocenaudio/default.nix b/pkgs/applications/audio/ocenaudio/default.nix
index 19f6d7bfb5a..0de043d35db 100644
--- a/pkgs/applications/audio/ocenaudio/default.nix
+++ b/pkgs/applications/audio/ocenaudio/default.nix
@@ -11,11 +11,11 @@
stdenv.mkDerivation rec {
pname = "ocenaudio";
- version = "3.9.2";
+ version = "3.9.5";
src = fetchurl {
url = "https://www.ocenaudio.com/downloads/index.php/ocenaudio_debian9_64.deb?version=${version}";
- sha256 = "1fvpba3dnzb7sm6gp0znbrima02ckfiy2zwb66x1gr05y9a56inv";
+ sha256 = "13hvdfydlgp2qf49ddhdzghz5jkyx1rhnsj8sf8khfxf9k8phkjd";
};
diff --git a/pkgs/build-support/bintools-wrapper/default.nix b/pkgs/build-support/bintools-wrapper/default.nix
index 9c5aef135fd..06c51303dc3 100644
--- a/pkgs/build-support/bintools-wrapper/default.nix
+++ b/pkgs/build-support/bintools-wrapper/default.nix
@@ -186,6 +186,7 @@ stdenv.mkDerivation {
else if targetPlatform.isAvr then "avr"
else if targetPlatform.isAlpha then "alpha"
else if targetPlatform.isVc4 then "vc4"
+ else if targetPlatform.isOr1k then "or1k"
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/data/misc/poppler-data/default.nix b/pkgs/data/misc/poppler-data/default.nix
index c06e63d3e69..717c948f743 100644
--- a/pkgs/data/misc/poppler-data/default.nix
+++ b/pkgs/data/misc/poppler-data/default.nix
@@ -1,11 +1,11 @@
{ fetchurl, stdenv, cmake, ninja }:
stdenv.mkDerivation rec {
- name = "poppler-data-0.4.9";
+ name = "poppler-data-0.4.10";
src = fetchurl {
url = "https://poppler.freedesktop.org/${name}.tar.gz";
- sha256 = "04i0wgdkn5lhda8cyxd1ll4a2p41pwqrwd47n9mdpl7cx5ypx70z";
+ sha256 = "0c3vjs3p7rjc4yfacnhd865r27czmzwcr4j2z4jldi68dvvcwbvf";
};
nativeBuildInputs = [ cmake ninja ];
diff --git a/pkgs/development/compilers/ghc/8.10.2-binary.nix b/pkgs/development/compilers/ghc/8.10.2-binary.nix
index cc9491ede24..1a1a9ca0160 100644
--- a/pkgs/development/compilers/ghc/8.10.2-binary.nix
+++ b/pkgs/development/compilers/ghc/8.10.2-binary.nix
@@ -7,8 +7,6 @@
# regular builds and GHC bootstrapping.
# This is "useful" for staying within hydra's output limits for at least the
# aarch64-linux architecture.
- # Examples of unnecessary files are the bundled documentation and files that
- # are only needed for profiling builds.
, minimal ? false
}:
@@ -182,11 +180,15 @@ stdenv.mkDerivation rec {
done
'' +
stdenv.lib.optionalString minimal ''
- # Remove profiling objects
+ # Remove profiling files
find $out -type f -name '*.p_o' -delete
+ find $out -type f -name '*.p_hi' -delete
+ find $out -type f -name '*_p.a' -delete
rm $out/lib/ghc-*/bin/ghc-iserv-prof
- # Remove docs
- rm -r $out/share/{doc,man}
+ # Hydra will redistribute this derivation, so we have to keep the docs for
+ # legal reasons (retaining the legal notices etc)
+ # As a last resort we could unpack the docs separately and symlink them in.
+ # They're in $out/share/{doc,man}.
'';
doInstallCheck = true;
@@ -210,18 +212,11 @@ stdenv.mkDerivation rec {
enableShared = true;
};
- meta = let
- platforms = ["x86_64-linux" "armv7l-linux" "aarch64-linux" "i686-linux" "x86_64-darwin"];
- in {
+ meta = {
homepage = "http://haskell.org/ghc";
description = "The Glasgow Haskell Compiler";
license = stdenv.lib.licenses.bsd3;
-
- # The minimal variation can not be distributed because it removes the
- # documentation, including licensing information that is required for
- # distribution.
- inherit platforms;
- hydraPlatforms = stdenv.lib.optionals (!minimal) platforms;
+ platforms = ["x86_64-linux" "armv7l-linux" "aarch64-linux" "i686-linux" "x86_64-darwin"];
maintainers = with stdenv.lib.maintainers; [ lostnet ];
};
}
diff --git a/pkgs/development/compilers/llvm/10/compiler-rt.nix b/pkgs/development/compilers/llvm/10/compiler-rt.nix
index 47bbe808ac2..e6882cbabb8 100644
--- a/pkgs/development/compilers/llvm/10/compiler-rt.nix
+++ b/pkgs/development/compilers/llvm/10/compiler-rt.nix
@@ -41,6 +41,11 @@ stdenv.mkDerivation rec {
"-DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY"
] ++ stdenv.lib.optionals (bareMetal) [
"-DCOMPILER_RT_OS_DIR=baremetal"
+ ] ++ stdenv.lib.optionals (stdenv.hostPlatform.isDarwin) [
+ # The compiler-rt build infrastructure sniffs supported platforms on Darwin
+ # and finds i386;x86_64;x86_64h. We only build for x86_64, so linking fails
+ # when it tries to use libc++ and libc++api for i386.
+ "-DDARWIN_osx_ARCHS=${stdenv.hostPlatform.parsed.cpu.name}"
];
outputs = [ "out" "dev" ];
diff --git a/pkgs/development/compilers/llvm/5/compiler-rt.nix b/pkgs/development/compilers/llvm/5/compiler-rt.nix
index 32d6dd3d479..41f2b24b057 100644
--- a/pkgs/development/compilers/llvm/5/compiler-rt.nix
+++ b/pkgs/development/compilers/llvm/5/compiler-rt.nix
@@ -41,6 +41,11 @@ stdenv.mkDerivation {
"-DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY"
] ++ stdenv.lib.optionals (bareMetal) [
"-DCOMPILER_RT_OS_DIR=baremetal"
+ ] ++ stdenv.lib.optionals (stdenv.hostPlatform.isDarwin) [
+ # The compiler-rt build infrastructure sniffs supported platforms on Darwin
+ # and finds i386;x86_64;x86_64h. We only build for x86_64, so linking fails
+ # when it tries to use libc++ and libc++api for i386.
+ "-DDARWIN_osx_ARCHS=${stdenv.hostPlatform.parsed.cpu.name}"
];
outputs = [ "out" "dev" ];
diff --git a/pkgs/development/compilers/llvm/6/compiler-rt.nix b/pkgs/development/compilers/llvm/6/compiler-rt.nix
index 89f25cad2c5..8bd61f5d7f7 100644
--- a/pkgs/development/compilers/llvm/6/compiler-rt.nix
+++ b/pkgs/development/compilers/llvm/6/compiler-rt.nix
@@ -41,6 +41,11 @@ stdenv.mkDerivation {
"-DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY"
] ++ stdenv.lib.optionals (bareMetal) [
"-DCOMPILER_RT_OS_DIR=baremetal"
+ ] ++ stdenv.lib.optionals (stdenv.hostPlatform.isDarwin) [
+ # The compiler-rt build infrastructure sniffs supported platforms on Darwin
+ # and finds i386;x86_64;x86_64h. We only build for x86_64, so linking fails
+ # when it tries to use libc++ and libc++api for i386.
+ "-DDARWIN_osx_ARCHS=${stdenv.hostPlatform.parsed.cpu.name}"
];
outputs = [ "out" "dev" ];
diff --git a/pkgs/development/compilers/llvm/7/compiler-rt.nix b/pkgs/development/compilers/llvm/7/compiler-rt.nix
index 97a5d73f304..ec9b7e6e6ad 100644
--- a/pkgs/development/compilers/llvm/7/compiler-rt.nix
+++ b/pkgs/development/compilers/llvm/7/compiler-rt.nix
@@ -41,6 +41,11 @@ stdenv.mkDerivation {
"-DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY"
] ++ stdenv.lib.optionals (bareMetal) [
"-DCOMPILER_RT_OS_DIR=baremetal"
+ ] ++ stdenv.lib.optionals (stdenv.hostPlatform.isDarwin) [
+ # The compiler-rt build infrastructure sniffs supported platforms on Darwin
+ # and finds i386;x86_64;x86_64h. We only build for x86_64, so linking fails
+ # when it tries to use libc++ and libc++api for i386.
+ "-DDARWIN_osx_ARCHS=${stdenv.hostPlatform.parsed.cpu.name}"
];
outputs = [ "out" "dev" ];
diff --git a/pkgs/development/compilers/llvm/7/libc++abi.nix b/pkgs/development/compilers/llvm/7/libc++abi.nix
index 97141a0bd40..7f2ec528f3c 100644
--- a/pkgs/development/compilers/llvm/7/libc++abi.nix
+++ b/pkgs/development/compilers/llvm/7/libc++abi.nix
@@ -1,4 +1,5 @@
{ stdenv, cmake, fetch, libcxx, llvm, version
+, standalone ? false
# on musl the shared objects don't build
, enableShared ? ! stdenv.hostPlatform.isMusl }:
@@ -20,7 +21,9 @@ stdenv.mkDerivation {
patch -p1 -d $(ls -d libcxx-*) -i ${../libcxx-0001-musl-hacks.patch}
'';
- cmakeFlags = stdenv.lib.optional (!enableShared) "-DLIBCXXABI_ENABLE_SHARED=OFF";
+ cmakeFlags =
+ stdenv.lib.optional standalone "-DLLVM_ENABLE_LIBCXX=ON" ++
+ stdenv.lib.optional (!enableShared) "-DLIBCXXABI_ENABLE_SHARED=OFF";
installPhase = if stdenv.isDarwin
then ''
diff --git a/pkgs/development/compilers/llvm/8/compiler-rt.nix b/pkgs/development/compilers/llvm/8/compiler-rt.nix
index a907d408655..3c6265c4fca 100644
--- a/pkgs/development/compilers/llvm/8/compiler-rt.nix
+++ b/pkgs/development/compilers/llvm/8/compiler-rt.nix
@@ -41,6 +41,11 @@ stdenv.mkDerivation {
"-DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY"
] ++ stdenv.lib.optionals (bareMetal) [
"-DCOMPILER_RT_OS_DIR=baremetal"
+ ] ++ stdenv.lib.optionals (stdenv.hostPlatform.isDarwin) [
+ # The compiler-rt build infrastructure sniffs supported platforms on Darwin
+ # and finds i386;x86_64;x86_64h. We only build for x86_64, so linking fails
+ # when it tries to use libc++ and libc++api for i386.
+ "-DDARWIN_osx_ARCHS=${stdenv.hostPlatform.parsed.cpu.name}"
];
outputs = [ "out" "dev" ];
diff --git a/pkgs/development/compilers/llvm/9/compiler-rt.nix b/pkgs/development/compilers/llvm/9/compiler-rt.nix
index 394f66ff7f1..13b0b522771 100644
--- a/pkgs/development/compilers/llvm/9/compiler-rt.nix
+++ b/pkgs/development/compilers/llvm/9/compiler-rt.nix
@@ -41,6 +41,11 @@ stdenv.mkDerivation rec {
"-DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY"
] ++ stdenv.lib.optionals (bareMetal) [
"-DCOMPILER_RT_OS_DIR=baremetal"
+ ] ++ stdenv.lib.optionals (stdenv.hostPlatform.isDarwin) [
+ # The compiler-rt build infrastructure sniffs supported platforms on Darwin
+ # and finds i386;x86_64;x86_64h. We only build for x86_64, so linking fails
+ # when it tries to use libc++ and libc++api for i386.
+ "-DDARWIN_osx_ARCHS=${stdenv.hostPlatform.parsed.cpu.name}"
];
outputs = [ "out" "dev" ];
diff --git a/pkgs/development/interpreters/ruby/default.nix b/pkgs/development/interpreters/ruby/default.nix
index 189be8945fa..cfd5c7e5180 100644
--- a/pkgs/development/interpreters/ruby/default.nix
+++ b/pkgs/development/interpreters/ruby/default.nix
@@ -44,11 +44,22 @@ let
, groff, docSupport ? true
, libyaml, yamlSupport ? true
, libffi, fiddleSupport ? true
- # ruby -e "puts RbConfig::CONFIG['configure_args']"
- # puts a reference to the C compiler in the binary.
- # This might be required by some gems at runtime,
- # but we allow to strip it out for smaller closure size.
- , removeReferencesTo, removeReferenceToCC ? true
+ # By default, ruby has 3 observed references to stdenv.cc:
+ #
+ # - If you run:
+ # ruby -e "puts RbConfig::CONFIG['configure_args']"
+ # - In:
+ # $out/${passthru.libPath}/${stdenv.targetPlatform.system}/rbconfig.rb
+ # Or (usually):
+ # $(nix-build -A ruby)/lib/ruby/2.6.0/x86_64-linux/rbconfig.rb
+ # - In $out/lib/libruby.so and/or $out/lib/libruby.dylib
+ #
+ # Since some Gems require JIT support, there's probably no
+ # escape from this reference. Hence, it was decided to enable this
+ # feature by default, as it's enabled by default by ruby's ./configure
+ # script. If you'd like to have a ruby without reference to cc, setting
+ # jitSupport to false should remove all known references mentioned above.
+ , removeReferencesTo, jitSupport ? true
, autoreconfHook, bison, autoconf
, buildEnv, bundler, bundix
, libiconv, libobjc, libunwind, Foundation
@@ -121,6 +132,7 @@ let
configureFlags = ["--enable-shared" "--enable-pthread" "--with-soname=ruby-${version}"]
++ op useRailsExpress "--with-baseruby=${baseruby}/bin/ruby"
+ ++ op (!jitSupport) "--disable-jit-support"
++ op (!docSupport) "--disable-install-doc"
++ ops stdenv.isDarwin [
# on darwin, we have /usr/include/tk.h -- so the configure script detects
@@ -157,11 +169,14 @@ let
# Remove unnecessary groff reference from runtime closure, since it's big
sed -i '/NROFF/d' $out/lib/ruby/*/*/rbconfig.rb
${
- lib.optionalString removeReferenceToCC ''
+ lib.optionalString (!jitSupport) ''
# Get rid of the CC runtime dependency
${removeReferencesTo}/bin/remove-references-to \
-t ${stdenv.cc} \
$out/lib/libruby*
+ ${removeReferencesTo}/bin/remove-references-to \
+ -t ${stdenv.cc} \
+ $out/${passthru.libPath}/${stdenv.targetPlatform.system}/rbconfig.rb
''
}
# Bundler tries to create this directory
diff --git a/pkgs/development/libraries/audio/lilv/default.nix b/pkgs/development/libraries/audio/lilv/default.nix
index 124828b0ff5..e8008058626 100644
--- a/pkgs/development/libraries/audio/lilv/default.nix
+++ b/pkgs/development/libraries/audio/lilv/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "lilv";
- version = "0.24.8";
+ version = "0.24.10";
src = fetchurl {
url = "https://download.drobilla.net/${pname}-${version}.tar.bz2";
- sha256 = "0063i5zgf3d3accwmyx651hw0wh5ik7kji2hvfkcdbl1qia3dp6a";
+ sha256 = "1565zy0yz46cf2f25pi46msdnzkj6bbhml9gfigdpjnsdlyskfyi";
};
patches = [ ./lilv-pkgconfig.patch ];
diff --git a/pkgs/development/libraries/dbus/default.nix b/pkgs/development/libraries/dbus/default.nix
index 376fe9f64ee..b3723f1b4d2 100644
--- a/pkgs/development/libraries/dbus/default.nix
+++ b/pkgs/development/libraries/dbus/default.nix
@@ -30,7 +30,13 @@ stdenv.mkDerivation rec {
sha256 = "1zp5gpx61v1cpqf2zwb1cidhp9xylvw49d3zydkxqk6b1qa20xpp";
};
- patches = lib.optional stdenv.isSunOS ./implement-getgrouplist.patch;
+ patches = [
+ # 'generate.consistent.ids=1' ensures reproducible docs, for further details see
+ # http://docbook.sourceforge.net/release/xsl/current/doc/html/generate.consistent.ids.html
+ # Also applied upstream in https://gitlab.freedesktop.org/dbus/dbus/-/merge_requests/189,
+ # expected in version 1.14
+ ./docs-reproducible-ids.patch
+ ] ++ (lib.optional stdenv.isSunOS ./implement-getgrouplist.patch);
postPatch = ''
substituteInPlace tools/Makefile.in \
diff --git a/pkgs/development/libraries/dbus/docs-reproducible-ids.patch b/pkgs/development/libraries/dbus/docs-reproducible-ids.patch
new file mode 100644
index 00000000000..2356b64d95c
--- /dev/null
+++ b/pkgs/development/libraries/dbus/docs-reproducible-ids.patch
@@ -0,0 +1,15 @@
+diff --color -Naur dbus-1.12.20-original/doc/Makefile.in dbus-1.12.20-hacked2/doc/Makefile.in
+--- dbus-1.12.20-original/doc/Makefile.in 2020-07-02 12:10:41.000000000 +0200
++++ dbus-1.12.20-hacked2/doc/Makefile.in 2020-11-07 09:57:15.297694773 +0100
+@@ -870,8 +870,10 @@
+ .PRECIOUS: Makefile
+
+
++# 'generate.consistent.ids=1' ensures reproducible docs, for further details see
++# http://docbook.sourceforge.net/release/xsl/current/doc/html/generate.consistent.ids.html
+ @DBUS_XML_DOCS_ENABLED_TRUE@%.html: %.xml
+-@DBUS_XML_DOCS_ENABLED_TRUE@ $(XMLTO) html-nochunks $<
++@DBUS_XML_DOCS_ENABLED_TRUE@ $(XMLTO) --stringparam generate.consistent.ids=1 html-nochunks $<
+
+ @DBUS_XML_DOCS_ENABLED_TRUE@%.1: %.1.xml
+ @DBUS_XML_DOCS_ENABLED_TRUE@ $(XMLTO) man $<
diff --git a/pkgs/development/libraries/enchant/2.x.nix b/pkgs/development/libraries/enchant/2.x.nix
index cbc3f217326..02215a30418 100644
--- a/pkgs/development/libraries/enchant/2.x.nix
+++ b/pkgs/development/libraries/enchant/2.x.nix
@@ -10,13 +10,13 @@
stdenv.mkDerivation rec {
pname = "enchant";
- version = "2.2.12";
+ version = "2.2.13";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "https://github.com/AbiWord/${pname}/releases/download/v${version}/${pname}-${version}.tar.gz";
- sha256 = "0zi20s62gax9rkhwj318kqrxa62pmks6dsdd6m9pzvhlwy5cb6vb";
+ sha256 = "084aqsrkzz2c1ls47p759d9bsi26d0m6wq9901k37483g46zkfga";
};
nativeBuildInputs = [
diff --git a/pkgs/development/libraries/gtk/2.x.nix b/pkgs/development/libraries/gtk/2.x.nix
index d13e3636bae..be5f8521f9c 100644
--- a/pkgs/development/libraries/gtk/2.x.nix
+++ b/pkgs/development/libraries/gtk/2.x.nix
@@ -12,12 +12,9 @@ assert cupsSupport -> cups != null;
with stdenv.lib;
-let
- pname = "gtk+";
- version = "2.24.32"; # remove passthru on next update
-in
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+ pname = "gtk+";
+ version = "2.24.32";
src = fetchurl {
url = "mirror://gnome/sources/gtk+/2.24/${pname}-${version}.tar.xz";
@@ -75,8 +72,6 @@ stdenv.mkDerivation rec {
'';
passthru = {
- # passthru to prevent rebuild but allow pname and version
- inherit pname version;
gtkExeEnvPostBuild = ''
rm $out/lib/gtk-2.0/2.10.0/immodules.cache
$out/bin/gtk-query-immodules-2.0 $out/lib/gtk-2.0/2.10.0/immodules/*.so > $out/lib/gtk-2.0/2.10.0/immodules.cache
diff --git a/pkgs/development/libraries/json-c/default.nix b/pkgs/development/libraries/json-c/default.nix
index 164f7c44ba9..d72d5021434 100644
--- a/pkgs/development/libraries/json-c/default.nix
+++ b/pkgs/development/libraries/json-c/default.nix
@@ -1,20 +1,13 @@
-{ stdenv, fetchurl, fetchpatch, cmake }:
+{ stdenv, fetchurl, cmake }:
stdenv.mkDerivation rec {
- name = "json-c-0.14";
- src = fetchurl {
- url = "https://s3.amazonaws.com/json-c_releases/releases/${name}-nodoc.tar.gz";
- sha256 = "1yia8417qljmczs9w3rn4c4i2p2iywq098pgrj11s81599j4x4cr";
- };
+ pname = "json-c";
+ version = "0.15";
- patches = [
- # https://nvd.nist.gov/vuln/detail/CVE-2020-12762
- (fetchpatch {
- name = "CVE-2020-12762.patch";
- url = "https://github.com/json-c/json-c/commit/5d6fa331418d49f1bd488553fd1cfa9ab023fabb.patch";
- sha256 = "0aar7kgbycqxnhh0lrr61adfbb903nbapalhs5i6h8anxwy1ylcm";
- })
- ];
+ src = fetchurl {
+ url = "https://s3.amazonaws.com/json-c_releases/releases/${pname}-${version}.tar.gz";
+ sha256 = "1im484iz08j3gmzpw07v16brwq46pxxj65i996kkp2vivcfhmn5q";
+ };
outputs = [ "out" "dev" ];
diff --git a/pkgs/development/libraries/libass/default.nix b/pkgs/development/libraries/libass/default.nix
index 508a57b203d..9d8cf7434c2 100644
--- a/pkgs/development/libraries/libass/default.nix
+++ b/pkgs/development/libraries/libass/default.nix
@@ -1,8 +1,7 @@
{ stdenv, fetchurl, pkgconfig, yasm
-, freetype, fribidi
+, freetype, fribidi, harfbuzz
, encaSupport ? true, enca ? null # enca support
, fontconfigSupport ? true, fontconfig ? null # fontconfig support
-, harfbuzzSupport ? true, harfbuzz ? null # harfbuzz support
, rasterizerSupport ? false # Internal rasterizer
, largeTilesSupport ? false # Use larger tiles in the rasterizer
, libiconv
@@ -10,7 +9,6 @@
assert encaSupport -> enca != null;
assert fontconfigSupport -> fontconfig != null;
-assert harfbuzzSupport -> harfbuzz != null;
let
mkFlag = optSet: flag: if optSet then "--enable-${flag}" else "--disable-${flag}";
@@ -19,27 +17,25 @@ in
with stdenv.lib;
stdenv.mkDerivation rec {
pname = "libass";
- version = "0.14.0";
+ version = "0.15.0";
src = fetchurl {
url = "https://github.com/libass/libass/releases/download/${version}/${pname}-${version}.tar.xz";
- sha256 = "18iqznl4mabhj9ywfsz4kwvbsplcv1jjxq50nxssvbj8my1267w8";
+ sha256 = "0cz8v6kh3f2j5rdjrra2z0h715fa16vjm7kambvqx9hak86262cz";
};
configureFlags = [
(mkFlag encaSupport "enca")
(mkFlag fontconfigSupport "fontconfig")
- (mkFlag harfbuzzSupport "harfbuzz")
(mkFlag rasterizerSupport "rasterizer")
(mkFlag largeTilesSupport "large-tiles")
];
nativeBuildInputs = [ pkgconfig yasm ];
- buildInputs = [ freetype fribidi ]
+ buildInputs = [ freetype fribidi harfbuzz ]
++ optional encaSupport enca
++ optional fontconfigSupport fontconfig
- ++ optional harfbuzzSupport harfbuzz
++ optional stdenv.isDarwin libiconv;
meta = {
diff --git a/pkgs/development/libraries/libbfd/default.nix b/pkgs/development/libraries/libbfd/default.nix
index 75db780b7bb..e622cc6be68 100644
--- a/pkgs/development/libraries/libbfd/default.nix
+++ b/pkgs/development/libraries/libbfd/default.nix
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
outputs = [ "out" "dev" ];
patches = binutils-unwrapped.patches ++ [
- ../../tools/misc/binutils/build-components-separately.patch
+ (binutils-unwrapped.patchesDir + "/build-components-separately.patch")
(fetchpatch {
url = "https://raw.githubusercontent.com/mxe/mxe/e1d4c144ee1994f70f86cf7fd8168fe69bd629c6/src/bfd-1-disable-subdir-doc.patch";
sha256 = "0pzb3i74d1r7lhjan376h59a7kirw15j7swwm8pz3zy9lkdqkj6q";
diff --git a/pkgs/development/libraries/libbluray/default.nix b/pkgs/development/libraries/libbluray/default.nix
index 7bfd9a8a2d0..a00e2272d66 100644
--- a/pkgs/development/libraries/libbluray/default.nix
+++ b/pkgs/development/libraries/libbluray/default.nix
@@ -19,11 +19,11 @@ assert withFonts -> freetype != null;
stdenv.mkDerivation rec {
pname = "libbluray";
- version = "1.2.0";
+ version = "1.2.1";
src = fetchurl {
url = "http://get.videolan.org/libbluray/${version}/${pname}-${version}.tar.bz2";
- sha256 = "04bcd53ml0zn8b4f9r1grs0yy20rcirji1v3pxzaf4i5zl3flhfd";
+ sha256 = "1v1nmq631j0prih7pjl01ixhhwgrkjpxrjmmc342rsl8g4zyh8sj";
};
patches = optional withJava ./BDJ-JARFILE-path.patch;
diff --git a/pkgs/development/libraries/libde265/default.nix b/pkgs/development/libraries/libde265/default.nix
index 9d88a61ad10..6c2f3b8e107 100644
--- a/pkgs/development/libraries/libde265/default.nix
+++ b/pkgs/development/libraries/libde265/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig }:
stdenv.mkDerivation rec {
- version = "1.0.7";
+ version = "1.0.8";
pname = "libde265";
src = fetchFromGitHub {
owner = "strukturag";
repo = "libde265";
rev = "v${version}";
- sha256 = "0x7g9771457z49qvzpk4iswfhq018i0mzsflv9gg8if5hjqhfdp0";
+ sha256 = "1dzflqbk248lz5ws0ni5acmf32b3rmnq5gsfaz7691qqjxkl1zml";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
diff --git a/pkgs/development/libraries/libgcrypt/default.nix b/pkgs/development/libraries/libgcrypt/default.nix
index d49fa37325a..2290d2fa07d 100644
--- a/pkgs/development/libraries/libgcrypt/default.nix
+++ b/pkgs/development/libraries/libgcrypt/default.nix
@@ -6,11 +6,11 @@ assert enableCapabilities -> stdenv.isLinux;
stdenv.mkDerivation rec {
pname = "libgcrypt";
- version = "1.8.6";
+ version = "1.8.7";
src = fetchurl {
url = "mirror://gnupg/libgcrypt/${pname}-${version}.tar.bz2";
- sha256 = "0xdrsxgqw5v7szshjdgdv60rgpvzzaqic32ahqrzr6bvc402gfhc";
+ sha256 = "0j27jxhjay78by940d64778nxwbysxynv5mq6iq1nmlrh810zdq3";
};
outputs = [ "out" "dev" "info" ];
diff --git a/pkgs/development/libraries/libhandy/default.nix b/pkgs/development/libraries/libhandy/default.nix
index 835eaeac2bf..a008052c0ca 100644
--- a/pkgs/development/libraries/libhandy/default.nix
+++ b/pkgs/development/libraries/libhandy/default.nix
@@ -17,18 +17,20 @@
, gdk-pixbuf
, librsvg
, hicolor-icon-theme
+, at-spi2-atk
+, at-spi2-core
}:
stdenv.mkDerivation rec {
pname = "libhandy";
- version = "1.0.0";
+ version = "1.0.1";
outputs = [ "out" "dev" "devdoc" "glade" ];
outputBin = "dev";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- hash = "sha256-qTmFgvR7fXKSBdbqwMBo/vNarySf3Vfuo3JPhRjSZpk=";
+ sha256 = "106qa4d2rcbvd3g3avbgkd59aq0bjvwpx8vfz1cikvwrarnfvql4";
};
nativeBuildInputs = [
@@ -52,8 +54,11 @@ stdenv.mkDerivation rec {
checkInputs = [
dbus
- hicolor-icon-theme
xvfb_run
+ at-spi2-atk
+ at-spi2-core
+ librsvg
+ hicolor-icon-theme
];
mesonFlags = [
@@ -64,14 +69,11 @@ stdenv.mkDerivation rec {
PKG_CONFIG_GLADEUI_2_0_MODULEDIR = "${placeholder "glade"}/lib/glade/modules";
PKG_CONFIG_GLADEUI_2_0_CATALOGDIR = "${placeholder "glade"}/share/glade/catalogs";
- # Bail out! dbind-FATAL-WARNING:
- # AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown:
- # The name org.a11y.Bus was not provided by any .service files
- doCheck = false;
+ doCheck = true;
checkPhase = ''
NO_AT_BRIDGE=1 \
- XDG_DATA_DIRS="$XDG_DATA_DIRS:${hicolor-icon-theme}/share"
+ XDG_DATA_DIRS="$XDG_DATA_DIRS:${hicolor-icon-theme}/share" \
GDK_PIXBUF_MODULE_FILE="${librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache" \
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
diff --git a/pkgs/development/libraries/libipt/default.nix b/pkgs/development/libraries/libipt/default.nix
index 79ae927fc24..e585a2b090f 100644
--- a/pkgs/development/libraries/libipt/default.nix
+++ b/pkgs/development/libraries/libipt/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "libipt";
- version = "2.0.2";
+ version = "2.0.3";
src = fetchFromGitHub {
owner = "intel";
repo = "libipt";
rev = "v${version}";
- sha256 = "095agnk7r2sq5yas6c1ri8fmsl55n4l5hkl6j5l397p9nxvxvrkc";
+ sha256 = "1i6jmv345rqd88qmap6iqbaph4pkd6wbjgkixf22a80pj7cfm1s4";
};
nativeBuildInputs = [ cmake ];
diff --git a/pkgs/development/libraries/libmbim/default.nix b/pkgs/development/libraries/libmbim/default.nix
index 0e9a3784f38..fdf724c09fd 100644
--- a/pkgs/development/libraries/libmbim/default.nix
+++ b/pkgs/development/libraries/libmbim/default.nix
@@ -10,11 +10,11 @@
stdenv.mkDerivation rec {
pname = "libmbim";
- version = "1.24.2";
+ version = "1.24.4";
src = fetchurl {
url = "https://www.freedesktop.org/software/libmbim/${pname}-${version}.tar.xz";
- sha256 = "1r41d4yddp8rgccxrkz9vg5lbrj3dr5vy71d8igrr147k44qq69j";
+ sha256 = "11djb1d8w9ms07aklfm3pskjw9rnff4p4n3snanschv22zk8wj6x";
};
outputs = [ "out" "dev" "man" ];
diff --git a/pkgs/development/libraries/libmtp/default.nix b/pkgs/development/libraries/libmtp/default.nix
index 21bde84181b..dc5410d65fd 100644
--- a/pkgs/development/libraries/libmtp/default.nix
+++ b/pkgs/development/libraries/libmtp/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, libusb1, libiconv }:
stdenv.mkDerivation rec {
- name = "libmtp-1.1.17";
+ name = "libmtp-1.1.18";
src = fetchurl {
url = "mirror://sourceforge/libmtp/${name}.tar.gz";
- sha256 = "1p3r38nvdip40ab1h4scj3mzfjkx6kd14szjqyw9r6wz5pslr8zq";
+ sha256 = "1w41l93yi0dmw218daiw36rylkc8rammxx37csh1ij24q18gx03j";
};
outputs = [ "bin" "dev" "out" ];
diff --git a/pkgs/development/libraries/libnftnl/default.nix b/pkgs/development/libraries/libnftnl/default.nix
index f9def04f99b..3da2ccce442 100644
--- a/pkgs/development/libraries/libnftnl/default.nix
+++ b/pkgs/development/libraries/libnftnl/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, pkgconfig, libmnl }:
stdenv.mkDerivation rec {
- version = "1.1.7";
+ version = "1.1.8";
pname = "libnftnl";
src = fetchurl {
url = "https://netfilter.org/projects/${pname}/files/${pname}-${version}.tar.bz2";
- sha256 = "13zd90bfrr0q3j0l0cbc8kiizccw6n8gp727kqnfljh024zw3nr0";
+ sha256 = "04dp797llg3cqzivwrql30wg9mfr0ngnp0v5gs7jcdmp11dzm8q4";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/development/libraries/libopcodes/default.nix b/pkgs/development/libraries/libopcodes/default.nix
index 8db034683dc..f596ddfafc4 100644
--- a/pkgs/development/libraries/libopcodes/default.nix
+++ b/pkgs/development/libraries/libopcodes/default.nix
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
outputs = [ "out" "dev" ];
patches = binutils-unwrapped.patches ++ [
- ../../tools/misc/binutils/build-components-separately.patch
+ (binutils-unwrapped.patchesDir + "/build-components-separately.patch")
];
# We just want to build libopcodes
diff --git a/pkgs/development/libraries/libqmi/default.nix b/pkgs/development/libraries/libqmi/default.nix
index e8db7501534..de38e5d3b6e 100644
--- a/pkgs/development/libraries/libqmi/default.nix
+++ b/pkgs/development/libraries/libqmi/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "libqmi";
- version = "1.26.2";
+ version = "1.26.6";
src = fetchurl {
url = "https://www.freedesktop.org/software/libqmi/${pname}-${version}.tar.xz";
- sha256 = "00vvvfq74awg6mk0si1cdv79f6z6wqx11h47nl78a1h7zsr6fd0k";
+ sha256 = "1fbwz6534q6n4bgabdx4svbgkf4mdyisjh3y51jjd94p22xn66d7";
};
outputs = [ "out" "dev" "devdoc" ];
diff --git a/pkgs/development/libraries/libshout/default.nix b/pkgs/development/libraries/libshout/default.nix
index 23ab4d0b338..075855fada4 100644
--- a/pkgs/development/libraries/libshout/default.nix
+++ b/pkgs/development/libraries/libshout/default.nix
@@ -4,11 +4,11 @@
# need pkgconfig so that libshout installs ${out}/lib/pkgconfig/shout.pc
stdenv.mkDerivation rec {
- name = "libshout-2.4.3";
+ name = "libshout-2.4.4";
src = fetchurl {
url = "http://downloads.xiph.org/releases/libshout/${name}.tar.gz";
- sha256 = "1zhdshas539cs8fsz8022ljxnnncr5lafhfd1dqr1gs125fzb2hd";
+ sha256 = "1hz670a4pfpsb89b0mymy8nw4rx8x0vmh61gq6j1vbg70mfhrscc";
};
outputs = [ "out" "dev" "doc" ];
diff --git a/pkgs/development/libraries/libsoup/default.nix b/pkgs/development/libraries/libsoup/default.nix
index 65e0ced1d9b..88c6a359ba8 100644
--- a/pkgs/development/libraries/libsoup/default.nix
+++ b/pkgs/development/libraries/libsoup/default.nix
@@ -22,6 +22,7 @@ stdenv.mkDerivation rec {
python3
sqlite
libpsl
+ glib.out
brotli
] ++ lib.optionals stdenv.isLinux [
libsysprof-capture
@@ -29,6 +30,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ meson ninja pkgconfig gobject-introspection vala glib ];
propagatedBuildInputs = [ glib libxml2 ];
+ NIX_CFLAGS_COMPILE = [ "-lpthread" ];
+
mesonFlags = [
"-Dtls_check=false" # glib-networking is a runtime dependency, not a compile-time dependency
"-Dgssapi=disabled"
diff --git a/pkgs/development/libraries/mesa/default.nix b/pkgs/development/libraries/mesa/default.nix
index aa180b94d74..8e8a625b50f 100644
--- a/pkgs/development/libraries/mesa/default.nix
+++ b/pkgs/development/libraries/mesa/default.nix
@@ -31,7 +31,7 @@ with stdenv.lib;
let
# Release calendar: https://www.mesa3d.org/release-calendar.html
# Release frequency: https://www.mesa3d.org/releasing.html#schedule
- version = "20.2.1";
+ version = "20.2.2";
branch = versions.major version;
in
@@ -46,7 +46,7 @@ stdenv.mkDerivation {
"ftp://ftp.freedesktop.org/pub/mesa/${version}/mesa-${version}.tar.xz"
"ftp://ftp.freedesktop.org/pub/mesa/older-versions/${branch}.x/${version}/mesa-${version}.tar.xz"
];
- sha256 = "0ji4s1gwcvx3fbj9h0x5zbma6kw4b75vs0266zhc06r97yd6v96i";
+ sha256 = "0qdqi767vshclnfg9drlsmp2pa17hi7y0172s064jwfgj08fp4qz";
};
prePatch = "patchShebangs .";
diff --git a/pkgs/development/libraries/qt-5/5.12/default.nix b/pkgs/development/libraries/qt-5/5.12/default.nix
index 329ddd17162..04cb0ea9a11 100644
--- a/pkgs/development/libraries/qt-5/5.12/default.nix
+++ b/pkgs/development/libraries/qt-5/5.12/default.nix
@@ -55,6 +55,10 @@ let
./qtbase.patch.d/0001-qtbase-mkspecs-mac.patch
./qtbase.patch.d/0002-qtbase-mac.patch
./qtbase.patch.d/0013-define-kiosurfacesuccess.patch
+
+ # Patch framework detection to support X.framework/X.tbd,
+ # extending the current support for X.framework/X.
+ ./qtbase.patch.d/0015-qtbase-tbd-frameworks.patch
]
++ [
./qtbase.patch.d/0003-qtbase-mkspecs.patch
diff --git a/pkgs/development/libraries/qt-5/5.12/qtbase.patch.d/0015-qtbase-tbd-frameworks.patch b/pkgs/development/libraries/qt-5/5.12/qtbase.patch.d/0015-qtbase-tbd-frameworks.patch
new file mode 100644
index 00000000000..8a5939978a6
--- /dev/null
+++ b/pkgs/development/libraries/qt-5/5.12/qtbase.patch.d/0015-qtbase-tbd-frameworks.patch
@@ -0,0 +1,15 @@
+diff --git a/src/gui/Qt5GuiConfigExtras.cmake.in b/src/gui/Qt5GuiConfigExtras.cmake.in
+index 84dbbfebd4..615bfed124 100644
+--- a/src/gui/Qt5GuiConfigExtras.cmake.in
++++ b/src/gui/Qt5GuiConfigExtras.cmake.in
+@@ -119,6 +119,10 @@ macro(_qt5gui_find_extra_libs Name Libs LibDir IncDirs)
+ if (NOT EXISTS "${Qt5Gui_${_cmake_lib_name}_LIBRARY}")
+ set(Qt5Gui_${_cmake_lib_name}_LIBRARY)
+ endif()
++ set(Qt5Gui_${_cmake_lib_name}_LIBRARY "${Qt5Gui_${_cmake_lib_name}_LIBRARY}/${_lib}.tbd")
++ if (NOT EXISTS "${Qt5Gui_${_cmake_lib_name}_LIBRARY}")
++ set(Qt5Gui_${_cmake_lib_name}_LIBRARY)
++ endif()
+ !!ENDIF
+ if (NOT Qt5Gui_${_cmake_lib_name}_LIBRARY)
+ # The above find_library call doesn\'t work for finding
diff --git a/pkgs/development/libraries/qt-5/5.14/default.nix b/pkgs/development/libraries/qt-5/5.14/default.nix
index b17d9b97b18..ecb95aaa2ab 100644
--- a/pkgs/development/libraries/qt-5/5.14/default.nix
+++ b/pkgs/development/libraries/qt-5/5.14/default.nix
@@ -55,6 +55,10 @@ let
optionals stdenv.isDarwin [
./qtbase.patch.d/0001-qtbase-mkspecs-mac.patch
./qtbase.patch.d/0002-qtbase-mac.patch
+
+ # Patch framework detection to support X.framework/X.tbd,
+ # extending the current support for X.framework/X.
+ ./qtbase.patch.d/0012-qtbase-tbd-frameworks.patch
]
++ [
./qtbase.patch.d/0003-qtbase-mkspecs.patch
diff --git a/pkgs/development/libraries/qt-5/5.14/qtbase.patch.d/0012-qtbase-tbd-frameworks.patch b/pkgs/development/libraries/qt-5/5.14/qtbase.patch.d/0012-qtbase-tbd-frameworks.patch
new file mode 100644
index 00000000000..8a5939978a6
--- /dev/null
+++ b/pkgs/development/libraries/qt-5/5.14/qtbase.patch.d/0012-qtbase-tbd-frameworks.patch
@@ -0,0 +1,15 @@
+diff --git a/src/gui/Qt5GuiConfigExtras.cmake.in b/src/gui/Qt5GuiConfigExtras.cmake.in
+index 84dbbfebd4..615bfed124 100644
+--- a/src/gui/Qt5GuiConfigExtras.cmake.in
++++ b/src/gui/Qt5GuiConfigExtras.cmake.in
+@@ -119,6 +119,10 @@ macro(_qt5gui_find_extra_libs Name Libs LibDir IncDirs)
+ if (NOT EXISTS "${Qt5Gui_${_cmake_lib_name}_LIBRARY}")
+ set(Qt5Gui_${_cmake_lib_name}_LIBRARY)
+ endif()
++ set(Qt5Gui_${_cmake_lib_name}_LIBRARY "${Qt5Gui_${_cmake_lib_name}_LIBRARY}/${_lib}.tbd")
++ if (NOT EXISTS "${Qt5Gui_${_cmake_lib_name}_LIBRARY}")
++ set(Qt5Gui_${_cmake_lib_name}_LIBRARY)
++ endif()
+ !!ENDIF
+ if (NOT Qt5Gui_${_cmake_lib_name}_LIBRARY)
+ # The above find_library call doesn\'t work for finding
diff --git a/pkgs/development/libraries/qt-5/5.15/default.nix b/pkgs/development/libraries/qt-5/5.15/default.nix
index 3a31ca3a948..1f24cd2f2e1 100644
--- a/pkgs/development/libraries/qt-5/5.15/default.nix
+++ b/pkgs/development/libraries/qt-5/5.15/default.nix
@@ -55,6 +55,10 @@ let
optionals stdenv.isDarwin [
./qtbase.patch.d/0001-qtbase-mkspecs-mac.patch
./qtbase.patch.d/0002-qtbase-mac.patch
+
+ # Patch framework detection to support X.framework/X.tbd,
+ # extending the current support for X.framework/X.
+ ./qtbase.patch.d/0012-qtbase-tbd-frameworks.patch
]
++ [
./qtbase.patch.d/0003-qtbase-mkspecs.patch
diff --git a/pkgs/development/libraries/qt-5/5.15/qtbase.patch.d/0012-qtbase-tbd-frameworks.patch b/pkgs/development/libraries/qt-5/5.15/qtbase.patch.d/0012-qtbase-tbd-frameworks.patch
new file mode 100644
index 00000000000..8a5939978a6
--- /dev/null
+++ b/pkgs/development/libraries/qt-5/5.15/qtbase.patch.d/0012-qtbase-tbd-frameworks.patch
@@ -0,0 +1,15 @@
+diff --git a/src/gui/Qt5GuiConfigExtras.cmake.in b/src/gui/Qt5GuiConfigExtras.cmake.in
+index 84dbbfebd4..615bfed124 100644
+--- a/src/gui/Qt5GuiConfigExtras.cmake.in
++++ b/src/gui/Qt5GuiConfigExtras.cmake.in
+@@ -119,6 +119,10 @@ macro(_qt5gui_find_extra_libs Name Libs LibDir IncDirs)
+ if (NOT EXISTS "${Qt5Gui_${_cmake_lib_name}_LIBRARY}")
+ set(Qt5Gui_${_cmake_lib_name}_LIBRARY)
+ endif()
++ set(Qt5Gui_${_cmake_lib_name}_LIBRARY "${Qt5Gui_${_cmake_lib_name}_LIBRARY}/${_lib}.tbd")
++ if (NOT EXISTS "${Qt5Gui_${_cmake_lib_name}_LIBRARY}")
++ set(Qt5Gui_${_cmake_lib_name}_LIBRARY)
++ endif()
+ !!ENDIF
+ if (NOT Qt5Gui_${_cmake_lib_name}_LIBRARY)
+ # The above find_library call doesn\'t work for finding
diff --git a/pkgs/development/libraries/webkitgtk/default.nix b/pkgs/development/libraries/webkitgtk/default.nix
index 814a1f22592..8d52e8703a9 100644
--- a/pkgs/development/libraries/webkitgtk/default.nix
+++ b/pkgs/development/libraries/webkitgtk/default.nix
@@ -59,7 +59,7 @@ with stdenv.lib;
stdenv.mkDerivation rec {
pname = "webkitgtk";
- version = "2.30.1";
+ version = "2.30.2";
outputs = [ "out" "dev" ];
@@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "https://webkitgtk.org/releases/${pname}-${version}.tar.xz";
- sha256 = "1cfnsl5kvwrbclmp7v9q9ynrz702i9ncb6xmx6972dxpmpyrvi8p";
+ sha256 = "0ak8slddg7gpk6m096xzkiqw9bfsrrizvqr815bw44665fyf0ry4";
};
patches = optionals stdenv.isLinux [
diff --git a/pkgs/development/misc/or1k/newlib.nix b/pkgs/development/misc/or1k/newlib.nix
new file mode 100644
index 00000000000..92829896a27
--- /dev/null
+++ b/pkgs/development/misc/or1k/newlib.nix
@@ -0,0 +1,36 @@
+{ stdenv, texinfo, flex, bison, fetchFromGitHub, crossLibcStdenv, buildPackages }:
+
+crossLibcStdenv.mkDerivation {
+ name = "newlib";
+ src = fetchFromGitHub {
+ owner = "openrisc";
+ repo = "newlib";
+ rev = "8ac94ca7bbe4ceddafe6583ee4766d3c15b18ac8";
+ sha256 = "0hzhijmry5slpp6x12pgng8v7jil3mn18ahrhnw431lqrs1cma0s";
+ };
+
+ depsBuildBuild = [ buildPackages.stdenv.cc ];
+
+ # newlib expects CC to build for build platform, not host platform
+ preConfigure = ''
+ export CC=cc
+ '';
+
+ configurePlatforms = [ "build" "target" ];
+ configureFlags = [
+ "--host=${stdenv.buildPlatform.config}"
+
+ "--disable-newlib-supplied-syscalls"
+ "--disable-nls"
+ "--enable-newlib-io-long-long"
+ "--enable-newlib-register-fini"
+ "--enable-newlib-retargetable-locking"
+ ];
+
+ dontDisableStatic = true;
+
+ passthru = {
+ incdir = "/${stdenv.targetPlatform.config}/include";
+ libdir = "/${stdenv.targetPlatform.config}/lib";
+ };
+}
diff --git a/pkgs/development/python-modules/GitPython/default.nix b/pkgs/development/python-modules/GitPython/default.nix
index 67ec5c2e4d1..2edb8c51e3a 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, gitdb, mock, nose, ddt }:
buildPythonPackage rec {
- version = "3.1.7";
+ version = "3.1.11";
pname = "GitPython";
disabled = isPy27; # no longer supported
src = fetchPypi {
inherit pname version;
- sha256 = "2db287d71a284e22e5c2846042d0602465c7434d910406990d5b74df4afb0858";
+ sha256 = "befa4d101f91bad1b632df4308ec64555db684c360bd7d2130b4807d49ce86b8";
};
patches = [
diff --git a/pkgs/development/python-modules/adal/default.nix b/pkgs/development/python-modules/adal/default.nix
index 58a8ce72cb9..0df7247986d 100644
--- a/pkgs/development/python-modules/adal/default.nix
+++ b/pkgs/development/python-modules/adal/default.nix
@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "adal";
- version = "1.2.4";
+ version = "1.2.5";
src = fetchPypi {
inherit pname version;
- sha256 = "7a15d22b1ee7ce1be92441199958748982feba6b7dec35fbf60f9b607bad1bc0";
+ sha256 = "8003ba03ef04170195b3eddda8a5ab43649ef2c5f0287023d515affb1ccfcfc3";
};
propagatedBuildInputs = [ requests pyjwt dateutil ];
diff --git a/pkgs/development/python-modules/aiohttp/default.nix b/pkgs/development/python-modules/aiohttp/default.nix
index 2e5191909bb..90a7b41f7c1 100644
--- a/pkgs/development/python-modules/aiohttp/default.nix
+++ b/pkgs/development/python-modules/aiohttp/default.nix
@@ -25,13 +25,13 @@
buildPythonPackage rec {
pname = "aiohttp";
- version = "3.6.2";
+ version = "3.6.3";
# https://github.com/aio-libs/aiohttp/issues/4525 python3.8 failures
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
- sha256 = "09pkw6f1790prnrq0k8cqgnf1qy57ll8lpmc6kld09q7zw4vi6i5";
+ sha256 = "698cd7bc3c7d1b82bb728bae835724a486a8c376647aec336aa21a60113c3645";
};
checkInputs = [
diff --git a/pkgs/development/python-modules/alembic/default.nix b/pkgs/development/python-modules/alembic/default.nix
index 18a56936d9d..4061dca8aa2 100644
--- a/pkgs/development/python-modules/alembic/default.nix
+++ b/pkgs/development/python-modules/alembic/default.nix
@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "alembic";
- version = "1.4.2";
+ version = "1.4.3";
src = fetchPypi {
inherit pname version;
- sha256 = "035ab00497217628bf5d0be82d664d8713ab13d37b630084da8e1f98facf4dbf";
+ sha256 = "5334f32314fb2a56d86b4c4dd1ae34b08c03cae4cb888bc699942104d66bc245";
};
buildInputs = [ pytest pytestcov mock coverage ];
diff --git a/pkgs/development/python-modules/amazon_kclpy/default.nix b/pkgs/development/python-modules/amazon_kclpy/default.nix
index f18b5e59e34..47a62cd2afc 100644
--- a/pkgs/development/python-modules/amazon_kclpy/default.nix
+++ b/pkgs/development/python-modules/amazon_kclpy/default.nix
@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "amazon_kclpy";
- version = "1.5.0";
+ version = "1.5.1";
src = fetchFromGitHub {
owner = "awslabs";
repo = "amazon-kinesis-client-python";
rev = "v${version}";
- sha256 = "1qg86y9172gm5592ja7lr6w7kfnx668j99bf3ijklpk5yshxwr9m";
+ sha256 = "0jjqh9hq0hx2wr7wlqjr6cixpygragwlk4pz7rkqg2gkbhazmnq3";
};
# argparse is just required for python2.6
diff --git a/pkgs/development/python-modules/amply/default.nix b/pkgs/development/python-modules/amply/default.nix
index e0e9100f792..1962d004f41 100644
--- a/pkgs/development/python-modules/amply/default.nix
+++ b/pkgs/development/python-modules/amply/default.nix
@@ -4,26 +4,25 @@
, setuptools_scm
, docutils
, pyparsing
+, pytestCheckHook
}:
buildPythonPackage rec {
pname = "amply";
- version = "0.1.2";
+ version = "0.1.4";
src = fetchPypi {
inherit pname version;
- sha256 = "1j2dqdz1y1nbyw33qq89v0f5rkmqfbga72d9hax909vpcapm6pbf";
+ sha256 = "cb12dcb49d16b168c02be128a1527ecde50211e4bd94af76ff4e67707f5a2d38";
};
- buildInputs = [ setuptools_scm ];
+ nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [
docutils
pyparsing
];
+ checkInputs = [ pytestCheckHook ];
- checkPhase = ''
- python tests/test_amply.py
- '';
pythonImportsCheck = [ "amply" ];
meta = with stdenv.lib; {
diff --git a/pkgs/development/python-modules/apispec/default.nix b/pkgs/development/python-modules/apispec/default.nix
index 222f2efdd62..9941cf7ae60 100644
--- a/pkgs/development/python-modules/apispec/default.nix
+++ b/pkgs/development/python-modules/apispec/default.nix
@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "apispec";
- version = "3.3.1";
+ version = "3.3.2";
src = fetchPypi {
inherit pname version;
- sha256 = "f5244ccca33f7a81309f6b3c9d458e33e869050c2d861b9f8cee24b3ad739d2b";
+ sha256 = "d23ebd5b71e541e031b02a19db10b5e6d5ef8452c552833e3e1afc836b40b1ad";
};
checkInputs = [
diff --git a/pkgs/development/python-modules/astropy/default.nix b/pkgs/development/python-modules/astropy/default.nix
index 147a4d65de5..1affa4b5053 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 = "4.0.1.post1";
+ version = "4.0.3";
disabled = !isPy3k; # according to setup.py
src = fetchPypi {
inherit pname version;
- sha256 = "1da4xj793ldck29aajyb514wpz330cml26f3gdp45jj531n4lc2w";
+ sha256 = "cf69d1a3f140ca8fe1664202072201395495a73c334a69fc965fab6a6e1d281a";
};
nativeBuildInputs = [ astropy-helpers ];
diff --git a/pkgs/development/python-modules/atlassian-python-api/default.nix b/pkgs/development/python-modules/atlassian-python-api/default.nix
index 5161f85a4c1..a91c3ee8a52 100755
--- a/pkgs/development/python-modules/atlassian-python-api/default.nix
+++ b/pkgs/development/python-modules/atlassian-python-api/default.nix
@@ -16,11 +16,11 @@
buildPythonPackage rec {
pname = "atlassian-python-api";
- version = "1.17.5";
+ version = "1.17.7";
src = fetchPypi {
inherit pname version;
- sha256 = "cbd7941fa7e1eb6f63e12724277894350298745480297658da912e07234314cc";
+ sha256 = "456e9873fa5ab5cc91c6ae76a70b662f0993d32e4dff6d8febd866a53d86041e";
};
checkInputs = [ pytestrunner pytest ];
diff --git a/pkgs/development/python-modules/awkward1/default.nix b/pkgs/development/python-modules/awkward1/default.nix
index 927d620948c..59103546185 100644
--- a/pkgs/development/python-modules/awkward1/default.nix
+++ b/pkgs/development/python-modules/awkward1/default.nix
@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "awkward1";
- version = "0.2.35";
+ version = "0.2.38";
src = fetchPypi {
inherit pname version;
- sha256 = "563868f0f2d0cb398ce3616ee3f9734cc68cee9a612d35cab830ec5c728f1474";
+ sha256 = "f25db4920677029a92e92b994f1056902724b6a947549254c1446bdc6e388671";
};
nativeBuildInputs = [ cmake ];
diff --git a/pkgs/development/python-modules/aws-adfs/default.nix b/pkgs/development/python-modules/aws-adfs/default.nix
index cb014896d29..ce4c6f78926 100644
--- a/pkgs/development/python-modules/aws-adfs/default.nix
+++ b/pkgs/development/python-modules/aws-adfs/default.nix
@@ -4,12 +4,12 @@
buildPythonPackage rec {
pname = "aws-adfs";
- version = "1.24.4";
+ version = "1.24.5";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "601b056fa8ba4b615289def3b1aa49aa58f1f4aa6b89f3cf7cf1e0aee9f2291c";
+ sha256 = "6a78bd31477ea9988166215ae86abcbfe1413bee20373ecdf0dd170b7290db55";
};
# Relax version constraint
diff --git a/pkgs/development/python-modules/bayespy/default.nix b/pkgs/development/python-modules/bayespy/default.nix
index 0532e0e022e..ef3dfa09518 100644
--- a/pkgs/development/python-modules/bayespy/default.nix
+++ b/pkgs/development/python-modules/bayespy/default.nix
@@ -4,7 +4,7 @@
buildPythonPackage rec {
pname = "bayespy";
- version = "0.5.19";
+ version = "0.5.20";
# Python 2 not supported and not some old Python 3 because MPL doesn't support
# them properly.
@@ -12,7 +12,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "24e1327ce241a0113abf217fbaf41ac25e04f5a01f9ed606610f2f1f2d82d34f";
+ sha256 = "8c16cdc73bbcd9a1124a0495056065b7ce938dbe6c2c780dc330c83fb4d2640a";
};
checkInputs = [ pytest nose glibcLocales ];
diff --git a/pkgs/development/python-modules/beautifulsoup4/default.nix b/pkgs/development/python-modules/beautifulsoup4/default.nix
index f804ea9b282..a0afd0c4f4c 100644
--- a/pkgs/development/python-modules/beautifulsoup4/default.nix
+++ b/pkgs/development/python-modules/beautifulsoup4/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "beautifulsoup4";
- version = "4.9.1";
+ version = "4.9.3";
src = fetchPypi {
inherit pname version;
- sha256 = "73cc4d115b96f79c7d77c1c7f7a0a8d4c57860d1041df407dd1aae7f07a77fd7";
+ sha256 = "84729e322ad1d5b4d25f805bfa05b902dd96450f43842c4e99067d5e1369eb25";
};
checkInputs = [ pytest ];
diff --git a/pkgs/development/python-modules/bokeh/default.nix b/pkgs/development/python-modules/bokeh/default.nix
index 55a01c65f1c..091b020efc2 100644
--- a/pkgs/development/python-modules/bokeh/default.nix
+++ b/pkgs/development/python-modules/bokeh/default.nix
@@ -33,11 +33,11 @@
buildPythonPackage rec {
pname = "bokeh";
- version = "2.2.1";
+ version = "2.2.3";
src = fetchPypi {
inherit pname version;
- sha256 = "qC6e69eh4uu3+PwerYAv79EKhNrvjsS/yYYSEyOUhVU=";
+ sha256 = "c4a3f97afe5f525019dd58ee8c4e3d43f53fe1b1ac264ccaae9b02c07b2abc17";
};
patches = [
diff --git a/pkgs/development/python-modules/boto3/default.nix b/pkgs/development/python-modules/boto3/default.nix
index c1f1b180b70..713b50c6829 100644
--- a/pkgs/development/python-modules/boto3/default.nix
+++ b/pkgs/development/python-modules/boto3/default.nix
@@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "boto3";
- version = "1.15.9"; # N.B: if you change this, change botocore too
+ version = "1.15.18"; # N.B: if you change this, change botocore too
src = fetchPypi {
inherit pname version;
- sha256 = "0zrsrz7c8aqj3n06piybwf7vy026rflr0ky362q615rln6iggx82";
+ sha256 = "f56148e2c6b9a2d704218da42f07d72f00270bfddb13bc1bdea20d3327daa51e";
};
propagatedBuildInputs = [ botocore jmespath s3transfer ] ++ lib.optionals (!isPy3k) [ futures ];
diff --git a/pkgs/development/python-modules/botocore/default.nix b/pkgs/development/python-modules/botocore/default.nix
index daa5897fefd..d896367c7c6 100644
--- a/pkgs/development/python-modules/botocore/default.nix
+++ b/pkgs/development/python-modules/botocore/default.nix
@@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "botocore";
- version = "1.18.9"; # N.B: if you change this, change boto3 and awscli to a matching version
+ version = "1.18.18"; # N.B: if you change this, change boto3 and awscli to a matching version
src = fetchPypi {
inherit pname version;
- sha256 = "0rb3in7n9hdhp3sklkw78l378103khgmhdfy13kxfbgb0646pc1m";
+ sha256 = "e224754230e7e015836ba20037cac6321e8e2ce9b8627c14d579fcb37249decd";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/browser-cookie3/default.nix b/pkgs/development/python-modules/browser-cookie3/default.nix
index 61e50246a13..ad8fe1c8a07 100644
--- a/pkgs/development/python-modules/browser-cookie3/default.nix
+++ b/pkgs/development/python-modules/browser-cookie3/default.nix
@@ -1,16 +1,17 @@
-{ lib, fetchPypi, buildPythonPackage, isPy3k, keyring, pbkdf2, pyaes}:
+{ lib, fetchPypi, buildPythonPackage, isPy3k, lz4, keyring, pbkdf2, pycryptodome, pyaes}:
+
buildPythonPackage rec {
pname = "browser-cookie3";
- version = "0.11.1";
+ version = "0.11.4";
src = fetchPypi {
inherit pname version;
- sha256 = "5d1f825fc9cc6f98fe0ee3f97cdb4947c22d59ac8a11643da5837ebd8c873f05";
+ sha256 = "3d140c6b651dbd8b8555aca6472557fcfda4dd93afc26ea3a200be922a843e2c";
};
disabled = !isPy3k;
- propagatedBuildInputs = [ keyring pbkdf2 pyaes ];
+ propagatedBuildInputs = [ lz4 keyring pbkdf2 pyaes pycryptodome ];
# No tests implemented
doCheck = false;
diff --git a/pkgs/development/python-modules/cffi/default.nix b/pkgs/development/python-modules/cffi/default.nix
index c4e14c0e7fb..cee7a7fe8a1 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.14.2";
+ version = "1.14.3";
src = fetchPypi {
inherit pname version;
- sha256 = "ae8f34d50af2c2154035984b8b5fc5d9ed63f32fe615646ab435b05b132ca91b";
+ sha256 = "f92f789e4f9241cd262ad7a555ca2c648a98178a953af117ef7fad46aa1d5591";
};
outputs = [ "out" "dev" ];
diff --git a/pkgs/development/python-modules/codecov/default.nix b/pkgs/development/python-modules/codecov/default.nix
index 8424a560d26..455888c447d 100644
--- a/pkgs/development/python-modules/codecov/default.nix
+++ b/pkgs/development/python-modules/codecov/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "codecov";
- version = "2.1.9";
+ version = "2.1.10";
src = fetchPypi {
inherit pname version;
- sha256 = "355fc7e0c0b8a133045f0d6089bde351c845e7b52b99fec5903b4ea3ab5f6aab";
+ sha256 = "d30ad6084501224b1ba699cbf018a340bb9553eb2701301c14133995fdd84f33";
};
checkInputs = [ unittest2 ]; # Tests only
diff --git a/pkgs/development/python-modules/colorama/default.nix b/pkgs/development/python-modules/colorama/default.nix
index d22f93d47f1..06349184582 100644
--- a/pkgs/development/python-modules/colorama/default.nix
+++ b/pkgs/development/python-modules/colorama/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "colorama";
- version = "0.4.3";
+ version = "0.4.4";
src = fetchPypi {
inherit pname version;
- sha256 = "e96da0d330793e2cb9485e9ddfd918d456036c7149416295932478192f4436a1";
+ sha256 = "5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b";
};
# No tests in archive
diff --git a/pkgs/development/python-modules/configparser/default.nix b/pkgs/development/python-modules/configparser/default.nix
index 7322a6891cd..ad9a13c28bf 100644
--- a/pkgs/development/python-modules/configparser/default.nix
+++ b/pkgs/development/python-modules/configparser/default.nix
@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "configparser";
- version = "5.0.0";
+ version = "5.0.1";
src = fetchPypi {
inherit pname version;
- sha256 = "2ca44140ee259b5e3d8aaf47c79c36a7ab0d5e94d70bd4105c03ede7a20ea5a1";
+ sha256 = "005c3b102c96f4be9b8f40dafbd4997db003d07d1caa19f37808be8031475f2a";
};
# No tests available
diff --git a/pkgs/development/python-modules/cornice/default.nix b/pkgs/development/python-modules/cornice/default.nix
index 9897115353f..d09cffb31d6 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 = "5.0.2";
+ version = "5.0.3";
src = fetchPypi {
inherit pname version;
- sha256 = "4fcf3be295514e7e20fdd602fea8d204127bb02da2ff6bdbc8b6fba859ac9fd0";
+ sha256 = "f971831e90343374b21c0c97d523e23eb09cec41a2a8fc2e85bb5c2585348576";
};
propagatedBuildInputs = [ pyramid simplejson six venusian ];
diff --git a/pkgs/development/python-modules/croniter/default.nix b/pkgs/development/python-modules/croniter/default.nix
index 05e855b12dc..a8ae7574688 100644
--- a/pkgs/development/python-modules/croniter/default.nix
+++ b/pkgs/development/python-modules/croniter/default.nix
@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "croniter";
- version = "0.3.34";
+ version = "0.3.36";
src = fetchPypi {
inherit pname version;
- sha256 = "7186b9b464f45cf3d3c83a18bc2344cc101d7b9fd35a05f2878437b14967e964";
+ sha256 = "9d3098e50f7edc7480470455d42f09c501fa1bb7e2fc113526ec6e90b068f32c";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/cvxpy/default.nix b/pkgs/development/python-modules/cvxpy/default.nix
index 1050591f641..58d06e60d39 100644
--- a/pkgs/development/python-modules/cvxpy/default.nix
+++ b/pkgs/development/python-modules/cvxpy/default.nix
@@ -17,13 +17,13 @@
buildPythonPackage rec {
pname = "cvxpy";
- version = "1.1.6";
+ version = "1.1.7";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
- sha256 = "36527573c937cedd270f46c77b50bb5e16b96ca7b05a7a480bdc8c9052595723";
+ sha256 = "330eb76e8369c360b68d9231c6eb350848e373b5952134f9bfebaed1a4c4211f";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/dash-core-components/default.nix b/pkgs/development/python-modules/dash-core-components/default.nix
index 30f747d7fa3..9d5e650207b 100644
--- a/pkgs/development/python-modules/dash-core-components/default.nix
+++ b/pkgs/development/python-modules/dash-core-components/default.nix
@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "dash_core_components";
- version = "1.12.1";
+ version = "1.13.0";
src = fetchPypi {
inherit pname version;
- sha256 = "27f2ac612f5574dcd0d645f9302ceca5975bbdac6791865692e3ac51d0aec7f4";
+ sha256 = "f92025b12931539cdda2173f2b4cd077119cbabbf3ddf62333f6302fd0d8a3ac";
};
# No tests in archive
diff --git a/pkgs/development/python-modules/dash-renderer/default.nix b/pkgs/development/python-modules/dash-renderer/default.nix
index c61bf129abb..8977d49489c 100644
--- a/pkgs/development/python-modules/dash-renderer/default.nix
+++ b/pkgs/development/python-modules/dash-renderer/default.nix
@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "dash_renderer";
- version = "1.8.2";
+ version = "1.8.3";
src = fetchPypi {
inherit pname version;
- sha256 = "84cbb22019299a5a3c268ec1143c6f241c3f136e95753edac83a81673b7fa04e";
+ sha256 = "f7ab2b922f4f0850bae0e9793cec99f8a1a241e5f7f5786e367ddd9e41d2b170";
};
# No tests in archive
diff --git a/pkgs/development/python-modules/dash-table/default.nix b/pkgs/development/python-modules/dash-table/default.nix
index fdcadf3f00a..c313aea6c06 100644
--- a/pkgs/development/python-modules/dash-table/default.nix
+++ b/pkgs/development/python-modules/dash-table/default.nix
@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "dash_table";
- version = "4.10.1";
+ version = "4.11.0";
src = fetchPypi {
inherit pname version;
- sha256 = "1aa02180faef13434364286b60404d26164d1ce2779c765c9c52e6935991a4e9";
+ sha256 = "3170504a8626a9676b016c5ab456ab8c1fb1ea0206dcc2eddb8c4c6589216304";
};
# No tests in archive
diff --git a/pkgs/development/python-modules/dash/default.nix b/pkgs/development/python-modules/dash/default.nix
index b07836a098a..f6f00553d93 100644
--- a/pkgs/development/python-modules/dash/default.nix
+++ b/pkgs/development/python-modules/dash/default.nix
@@ -16,13 +16,13 @@
buildPythonPackage rec {
pname = "dash";
- version = "1.16.2";
+ version = "1.17.0";
src = fetchFromGitHub {
owner = "plotly";
repo = pname;
rev = "v${version}";
- sha256 = "1krhwxlz8kpaklf5ii3h339id6c3139xzxxkq7mvvag330j6nbgg";
+ sha256 = "1fbnhpmkxavv6yirmhx7659q1y9bqynwjd1g6cscv1mfv9m59l60";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/deepmerge/default.nix b/pkgs/development/python-modules/deepmerge/default.nix
index dd6059da974..0d81110dee8 100644
--- a/pkgs/development/python-modules/deepmerge/default.nix
+++ b/pkgs/development/python-modules/deepmerge/default.nix
@@ -8,7 +8,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "07rcz699fr0jgx6i6fvh8dxa72j7745inix760nw3g46jwk487gs";
+ sha256 = "fa1d44269786bcc12d30a7471b0b39478aa37a43703b134d7f12649792f92c1f";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/deform/default.nix b/pkgs/development/python-modules/deform/default.nix
index a3fd0f2b8f5..5b3a6e7281e 100644
--- a/pkgs/development/python-modules/deform/default.nix
+++ b/pkgs/development/python-modules/deform/default.nix
@@ -1,14 +1,14 @@
{ lib, buildPythonPackage, fetchPypi
, chameleon, colander, iso8601, peppercorn, translationstring, zope_deprecation
-, nose, coverage, beautifulsoup4, flaky }:
+, nose, coverage, beautifulsoup4, flaky, pyramid, pytestCheckHook }:
buildPythonPackage rec {
pname = "deform";
- version = "2.0.10";
+ version = "2.0.14";
src = fetchPypi {
inherit pname version;
- sha256 = "2f4e98a5b5bdcdfff9a62f88bd17c7ee378b7c8be61738797442eed5b961d3d2";
+ sha256 = "35d9acf144245772a70d05bd24b8263e8cd284f0d564011e8bf331d6150acfc7";
};
postPatch = ''
@@ -30,6 +30,8 @@ buildPythonPackage rec {
coverage
beautifulsoup4
flaky
+ pyramid
+ pytestCheckHook
];
meta = with lib; {
diff --git a/pkgs/development/python-modules/django-simple-captcha/default.nix b/pkgs/development/python-modules/django-simple-captcha/default.nix
index 51c5b26bdf2..0724bf27b31 100644
--- a/pkgs/development/python-modules/django-simple-captcha/default.nix
+++ b/pkgs/development/python-modules/django-simple-captcha/default.nix
@@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "django-simple-captcha";
- version = "0.5.12";
+ version = "0.5.13";
src = fetchPypi {
inherit pname version;
- sha256 = "1g92sdgcb81r3il34pg0z210cz6wm14k00b558nshai8br1g09gw";
+ sha256 = "5e43ba3b61daf690ac0319157837bb57e31df8bddbdc9a59ef42ef1a99e21fa2";
extension = "zip";
};
diff --git a/pkgs/development/python-modules/django/2.nix b/pkgs/development/python-modules/django/2.nix
index 3a88f0703d0..64897890759 100644
--- a/pkgs/development/python-modules/django/2.nix
+++ b/pkgs/development/python-modules/django/2.nix
@@ -6,13 +6,13 @@
buildPythonPackage rec {
pname = "Django";
- version = "2.2.16";
+ version = "2.2.17";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "1535g2r322cl4x52fb0dmzlbg23539j2wx6027j54p22xvjlbkv2";
+ sha256 = "cf5370a4d7765a9dd6d42a7b96b53c74f9446cd38209211304b210fe0404b861";
};
patches = stdenv.lib.optional withGdal
diff --git a/pkgs/development/python-modules/django/3.nix b/pkgs/development/python-modules/django/3.nix
index 0648552b6f1..84a7e8b1e3c 100644
--- a/pkgs/development/python-modules/django/3.nix
+++ b/pkgs/development/python-modules/django/3.nix
@@ -13,13 +13,13 @@
buildPythonPackage rec {
pname = "Django";
- version = "3.1.2";
+ version = "3.1.3";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
- sha256 = "a2127ad0150ec6966655bedf15dbbff9697cc86d61653db2da1afa506c0b04cc";
+ sha256 = "14b87775ffedab2ef6299b73343d1b4b41e5d4e2aa58c6581f114dbec01e3f8f";
};
patches = stdenv.lib.optional withGdal
diff --git a/pkgs/development/python-modules/django_reversion/default.nix b/pkgs/development/python-modules/django_reversion/default.nix
index 9c61cfdfe86..9d307734367 100644
--- a/pkgs/development/python-modules/django_reversion/default.nix
+++ b/pkgs/development/python-modules/django_reversion/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "django-reversion";
- version = "3.0.7";
+ version = "3.0.8";
src = fetchPypi {
inherit pname version;
- sha256 = "72fc53580a6b538f0cfff10f27f42333f67d79c406399289c94ec5a193cfb3e1";
+ sha256 = "49e9930f90322dc6a2754dd26144285cfcc1c5bd0c1c39ca95d5602c5054ae32";
};
# tests assume the availability of a mysql/postgresql database
diff --git a/pkgs/development/python-modules/djangoql/default.nix b/pkgs/development/python-modules/djangoql/default.nix
index 0d5190aba77..ec39f0739ae 100644
--- a/pkgs/development/python-modules/djangoql/default.nix
+++ b/pkgs/development/python-modules/djangoql/default.nix
@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "djangoql";
- version = "0.14.0";
+ version = "0.14.2";
src = fetchPypi {
inherit pname version;
- sha256 = "1b1f80940bb15982e06208b97d7b3d08e1d5f8fb62aa07e5e33599c7ce4c0334";
+ sha256 = "91fd65d9ee4b09092602ff05aca8a21c5a18062faf56f269a011b8e8e41483c6";
};
propagatedBuildInputs = [ ply ];
diff --git a/pkgs/development/python-modules/djangorestframework/default.nix b/pkgs/development/python-modules/djangorestframework/default.nix
index 5a2d155644a..8d1055029b7 100644
--- a/pkgs/development/python-modules/djangorestframework/default.nix
+++ b/pkgs/development/python-modules/djangorestframework/default.nix
@@ -1,13 +1,13 @@
{ stdenv, buildPythonPackage, fetchPypi, django, isPy27 }:
buildPythonPackage rec {
- version = "3.11.1";
+ version = "3.11.2";
pname = "djangorestframework";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "6dd02d5a4bd2516fb93f80360673bf540c3b6641fec8766b1da2870a5aa00b32";
+ sha256 = "a5967b68a04e0d97d10f4df228e30f5a2d82ba63b9d03e1759f84993b7bf1b53";
};
# Test settings are missing
diff --git a/pkgs/development/python-modules/dulwich/default.nix b/pkgs/development/python-modules/dulwich/default.nix
index de0d6f4c3e2..2225cccd6a4 100644
--- a/pkgs/development/python-modules/dulwich/default.nix
+++ b/pkgs/development/python-modules/dulwich/default.nix
@@ -4,12 +4,12 @@
, git, glibcLocales }:
buildPythonPackage rec {
- version = "0.20.5";
+ version = "0.20.11";
pname = "dulwich";
src = fetchPypi {
inherit pname version;
- sha256 = "98484ede022da663c96b54bc8dcdb4407072cb50efd5d20d58ca4e7779931305";
+ sha256 = "0b142794fb72647673173b80ed8b75e1f56b42a0972c5b3c752d88766a659d53";
};
LC_ALL = "en_US.UTF-8";
diff --git a/pkgs/development/python-modules/ecpy/default.nix b/pkgs/development/python-modules/ecpy/default.nix
index 153fcd08d25..bb54fc6e73f 100644
--- a/pkgs/development/python-modules/ecpy/default.nix
+++ b/pkgs/development/python-modules/ecpy/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "ECPy";
- version = "1.2.3";
+ version = "1.2.5";
src = fetchPypi {
inherit pname version;
- sha256 = "6dd09f8cda5a1d673228ff9ef41aea8f036ee5ef3183198de83c14957d68c3e0";
+ sha256 = "9635cffb9b6ecf7fd7f72aea1665829ac74a1d272006d0057d45a621aae20228";
};
propagatedBuildInputs = lib.optional (!isPy3k) future;
diff --git a/pkgs/development/python-modules/eventlet/default.nix b/pkgs/development/python-modules/eventlet/default.nix
index abd279d6c33..a712b149138 100644
--- a/pkgs/development/python-modules/eventlet/default.nix
+++ b/pkgs/development/python-modules/eventlet/default.nix
@@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "eventlet";
- version = "0.28.0";
+ version = "0.28.1";
src = fetchPypi {
inherit pname version;
- sha256 = "9c7c63e8a80c7d02d692b2cf308312402fa4777335fd3de5da45097383301ff3";
+ sha256 = "55eef68e39473d6a58d28c4cf388cb8b7d29bab76568e7124d7df98d9365ab35";
};
propagatedBuildInputs = [ dnspython greenlet monotonic six ]
diff --git a/pkgs/development/python-modules/faker/default.nix b/pkgs/development/python-modules/faker/default.nix
index 102f506b6a6..4cc3c86aab6 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 = "4.1.2";
+ version = "4.1.8";
src = fetchPypi {
inherit pname version;
- sha256 = "ff188c416864e3f7d8becd8f9ee683a4b4101a2a2d2bcdcb3e84bb1bdd06eaae";
+ sha256 = "179418909da04b04000eab5463c403895faed2849d36ef8d9cbda72cc44797a0";
};
nativeBuildInputs = [ pytestrunner ];
diff --git a/pkgs/development/python-modules/fiona/default.nix b/pkgs/development/python-modules/fiona/default.nix
index cd4ed57d792..a88db7b80f5 100644
--- a/pkgs/development/python-modules/fiona/default.nix
+++ b/pkgs/development/python-modules/fiona/default.nix
@@ -1,16 +1,16 @@
{ stdenv, lib, buildPythonPackage, fetchPypi, isPy3k, pythonOlder
, attrs, click, cligj, click-plugins, six, munch, enum34
-, pytest, boto3, mock, giflib
+, pytest, boto3, mock, giflib, pytz
, gdal_2 # can't bump to 3 yet, https://github.com/Toblerity/Fiona/issues/745
}:
buildPythonPackage rec {
pname = "Fiona";
- version = "1.8.13.post1";
+ version = "1.8.17";
src = fetchPypi {
inherit pname version;
- sha256 = "00366f2j21b5r4r8310sadf7jjhdr44s0381dhjqkw2nzpwjnhqs";
+ sha256 = "716201c21246587f374785bec6d6a20a984fe1f6c2b0e83bf15127eb8f724d0c";
};
CXXFLAGS = lib.optionalString stdenv.cc.isClang "-std=c++11";
@@ -30,6 +30,7 @@ buildPythonPackage rec {
click-plugins
six
munch
+ pytz
] ++ lib.optional (!isPy3k) enum34;
checkInputs = [
diff --git a/pkgs/development/python-modules/flake8/default.nix b/pkgs/development/python-modules/flake8/default.nix
index e44aac202cf..a369919b98f 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.8.3";
+ version = "3.8.4";
src = fetchPypi {
inherit pname version;
- sha256 = "f04b9fcbac03b0a3e58c0ab3a0ecc462e023a9faf046d57794184028123aa208";
+ sha256 = "aadae8761ec651813c24be05c6f7b4680857ef6afaae4651a4eccaef97ce6c3b";
};
checkInputs = [ pytest mock pytestrunner ];
diff --git a/pkgs/development/python-modules/flask-cors/default.nix b/pkgs/development/python-modules/flask-cors/default.nix
index e20d213029c..da61365e3ae 100644
--- a/pkgs/development/python-modules/flask-cors/default.nix
+++ b/pkgs/development/python-modules/flask-cors/default.nix
@@ -1,16 +1,16 @@
{ stdenv, fetchPypi, buildPythonPackage
-, nose, flask, six }:
+, nose, flask, six, packaging }:
buildPythonPackage rec {
pname = "Flask-Cors";
- version = "3.0.8";
+ version = "3.0.9";
src = fetchPypi {
inherit pname version;
- sha256 = "05id72xwvhni23yasdvpdd8vsf3v4j6gzbqqff2g04j6xcih85vj";
+ sha256 = "6bcfc100288c5d1bcb1dbb854babd59beee622ffd321e444b05f24d6d58466b8";
};
- checkInputs = [ nose ];
+ checkInputs = [ nose packaging ];
propagatedBuildInputs = [ flask six ];
# Exclude test_acl_uncaught_exception_500 test case because is not compatible
diff --git a/pkgs/development/python-modules/genshi/default.nix b/pkgs/development/python-modules/genshi/default.nix
index 5554e4b330e..a0033eb658b 100644
--- a/pkgs/development/python-modules/genshi/default.nix
+++ b/pkgs/development/python-modules/genshi/default.nix
@@ -2,22 +2,25 @@
, buildPythonPackage
, fetchPypi
, setuptools
+, six
}:
buildPythonPackage rec {
pname = "Genshi";
- version = "0.7.3";
+ version = "0.7.4";
src = fetchPypi {
inherit pname version;
- sha256 = "7933c95151d7dd2124a2b4c8dd85bb6aec881ca17c0556da0b40e56434b313a0";
+ sha256 = "d92ef3bb34474a38566f7e44e570ff3067c7f7c126670c79f660661badf8eddb";
};
# FAIL: test_sanitize_remove_script_elem (genshi.filters.tests.html.HTMLSanitizerTestCase)
# FAIL: test_sanitize_remove_src_javascript (genshi.filters.tests.html.HTMLSanitizerTestCase)
doCheck = false;
- buildInputs = [ setuptools ];
+ propagatedBuildInputs = [
+ setuptools six
+ ];
meta = with stdenv.lib; {
description = "Python components for parsing HTML, XML and other textual content";
diff --git a/pkgs/development/python-modules/google-auth-oauthlib/default.nix b/pkgs/development/python-modules/google-auth-oauthlib/default.nix
index ed7e57963ba..bdea58de899 100644
--- a/pkgs/development/python-modules/google-auth-oauthlib/default.nix
+++ b/pkgs/development/python-modules/google-auth-oauthlib/default.nix
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
+, pythonOlder
, isPy3k
, click
, mock
@@ -12,11 +13,12 @@
buildPythonPackage rec {
pname = "google-auth-oauthlib";
- version = "0.4.1";
+ version = "0.4.2";
+ disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
- sha256 = "88d2cd115e3391eb85e1243ac6902e76e77c5fe438b7276b297fbe68015458dd";
+ sha256 = "65b65bc39ad8cab15039b35e5898455d3d66296d0584d96fe0e79d67d04c51d9";
};
checkInputs = [
diff --git a/pkgs/development/python-modules/google_api_core/default.nix b/pkgs/development/python-modules/google_api_core/default.nix
index 40c80010085..3b9abbbad01 100644
--- a/pkgs/development/python-modules/google_api_core/default.nix
+++ b/pkgs/development/python-modules/google_api_core/default.nix
@@ -8,7 +8,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "06pck3hwl1pks26q843hv6pxchby9viab05mxf72k7ksab17m7aa";
+ sha256 = "4a9d7ac2527a9e298eebb580a5e24e7e41d6afd97010848dd0f306cae198ec1a";
};
propagatedBuildInputs =
diff --git a/pkgs/development/python-modules/google_auth/default.nix b/pkgs/development/python-modules/google_auth/default.nix
index 3f201aee233..3f47a366fba 100644
--- a/pkgs/development/python-modules/google_auth/default.nix
+++ b/pkgs/development/python-modules/google_auth/default.nix
@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "google-auth";
- version = "1.22.1";
+ version = "1.23.0";
src = fetchPypi {
inherit pname version;
- sha256 = "1fs448jcx2cbpk0nq3picndfryjsakmd9allggvh7mrqjiw723ww";
+ sha256 = "5176db85f1e7e837a646cd9cede72c3c404ccf2e3373d9ee14b2db88febad440";
};
disabled = pythonOlder "3.5";
diff --git a/pkgs/development/python-modules/google_cloud_bigquery_datatransfer/default.nix b/pkgs/development/python-modules/google_cloud_bigquery_datatransfer/default.nix
index 97ad04334fc..0647c1f9173 100644
--- a/pkgs/development/python-modules/google_cloud_bigquery_datatransfer/default.nix
+++ b/pkgs/development/python-modules/google_cloud_bigquery_datatransfer/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "google-cloud-bigquery-datatransfer";
- version = "1.1.0";
+ version = "1.1.1";
src = fetchPypi {
inherit pname version;
- sha256 = "71791a38a0ec535fdd4970d3403aa4cb2d9ca5c2729f80730858be2776b3c518";
+ sha256 = "8536e8656658d349db3bd5a763ce795fe79a5bfdbd1544f406957cc42e34690b";
};
checkInputs = [ pytest mock ];
diff --git a/pkgs/development/python-modules/google_cloud_core/default.nix b/pkgs/development/python-modules/google_cloud_core/default.nix
index 88bc24d493c..1ad08ea05af 100644
--- a/pkgs/development/python-modules/google_cloud_core/default.nix
+++ b/pkgs/development/python-modules/google_cloud_core/default.nix
@@ -7,7 +7,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "103bgv9d6fw01vbbdx0qxa5gqdzxqmiwlpdvibmqxkhb3c6bgbr1";
+ sha256 = "21afb70c1b0bce8eeb8abb5dca63c5fd37fc8aea18f4b6d60e803bd3d27e6b80";
};
disabled = pythonOlder "3.5";
diff --git a/pkgs/development/python-modules/google_cloud_dataproc/default.nix b/pkgs/development/python-modules/google_cloud_dataproc/default.nix
index c7d0bf1b730..68b04508e60 100644
--- a/pkgs/development/python-modules/google_cloud_dataproc/default.nix
+++ b/pkgs/development/python-modules/google_cloud_dataproc/default.nix
@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "google-cloud-dataproc";
- version = "2.0.0";
+ version = "2.0.2";
src = fetchPypi {
inherit pname version;
- sha256 = "d6d94af6c0d5aee0bb88d058a180f4d3341209e112f85a1c7ce0df7887cbf867";
+ sha256 = "1ab0128be96a01c6ba3d10db21b8018583b15995ad9a088cb3e4c3df90a62e46";
};
checkInputs = [ pytest mock ];
diff --git a/pkgs/development/python-modules/google_cloud_datastore/default.nix b/pkgs/development/python-modules/google_cloud_datastore/default.nix
index ff2d0b3baa9..652eca773a3 100644
--- a/pkgs/development/python-modules/google_cloud_datastore/default.nix
+++ b/pkgs/development/python-modules/google_cloud_datastore/default.nix
@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "google-cloud-datastore";
- version = "1.15.0";
+ version = "1.15.3";
src = fetchPypi {
inherit pname version;
- sha256 = "c94bc357e975ce7bd5e5636497316c1bf4d015891e0ed96df9e7ce901415b94a";
+ sha256 = "3da44b4c8230a83e69dd9429324cca9d3000ee8a8bb11f3b005c7837fcd844b3";
};
checkInputs = [ pytest mock ];
diff --git a/pkgs/development/python-modules/green/default.nix b/pkgs/development/python-modules/green/default.nix
index 5ecf9a18ad5..280f4de1aca 100644
--- a/pkgs/development/python-modules/green/default.nix
+++ b/pkgs/development/python-modules/green/default.nix
@@ -8,13 +8,13 @@
buildPythonPackage rec {
pname = "green";
- version = "3.2.1";
+ version = "3.2.4";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "c5a90e247237ac7e320120961608cf65191134fa400d327cbd4d09864c880935";
+ sha256 = "3473abb4629c8c1af9f6b59a4f9c757315736580053a64bbfd91ff21ccad57a8";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/greenlet/default.nix b/pkgs/development/python-modules/greenlet/default.nix
index c325c965249..5b7581ada8f 100644
--- a/pkgs/development/python-modules/greenlet/default.nix
+++ b/pkgs/development/python-modules/greenlet/default.nix
@@ -8,12 +8,12 @@
buildPythonPackage rec {
pname = "greenlet";
- version = "0.4.16";
+ version = "0.4.17";
disabled = isPyPy; # builtin for pypy
src = fetchPypi {
inherit pname version;
- sha256 = "6e06eac722676797e8fce4adb8ad3dc57a1bb3adfb0dd3fdf8306c055a38456c";
+ sha256 = "41d8835c69a78de718e466dd0e6bfd4b46125f21a67c3ff6d76d8d8059868d6b";
};
propagatedBuildInputs = [ six ];
diff --git a/pkgs/development/python-modules/gym/default.nix b/pkgs/development/python-modules/gym/default.nix
index 547f79a7b10..d826fc33324 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.17.2";
+ version = "0.17.3";
src = fetchPypi {
inherit pname version;
- sha256 = "bb495aa56995b01274a2213423bf5ba05b8f4fd51c6dc61e9d4abddd1189718e";
+ sha256 = "96a7dd4e9cdb39e30c7a79e5773570fd9408f7fdb58c714c293cfbb314818eb6";
};
postPatch = ''
diff --git a/pkgs/development/python-modules/hidapi/default.nix b/pkgs/development/python-modules/hidapi/default.nix
index df9ac9ebed6..070ad57c4f1 100644
--- a/pkgs/development/python-modules/hidapi/default.nix
+++ b/pkgs/development/python-modules/hidapi/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "hidapi";
- version = "0.10.0";
+ version = "0.10.0.post1";
src = fetchPypi {
inherit pname version;
- sha256 = "2560ad8db212f54cf40ea8d78715adad7df803011cfdce9dabbac0e76acf31ef";
+ sha256 = "27c04d42a7187becf7a8309d4846aa4f235ac8b7dafd758335b109f5cbd3b962";
};
propagatedBuildInputs =
diff --git a/pkgs/development/python-modules/hmmlearn/default.nix b/pkgs/development/python-modules/hmmlearn/default.nix
index c92c707d907..909606c25eb 100644
--- a/pkgs/development/python-modules/hmmlearn/default.nix
+++ b/pkgs/development/python-modules/hmmlearn/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "hmmlearn";
- version = "0.2.3";
+ version = "0.2.4";
src = fetchurl {
url = "mirror://pypi/h/hmmlearn/${pname}-${version}.tar.gz";
- sha256 = "8003d5dc55612de8016156abdc7aa1dd995abc2431adb1ef33dd84a6d29e56bf";
+ sha256 = "0f5cb598a7494b9703c6188246dc89e529d46cbb6700eca70cc895085f0b3cc3";
};
buildInputs = [ setuptools_scm cython ];
diff --git a/pkgs/development/python-modules/identify/default.nix b/pkgs/development/python-modules/identify/default.nix
index 3385e5bfc9e..8369afc24a4 100644
--- a/pkgs/development/python-modules/identify/default.nix
+++ b/pkgs/development/python-modules/identify/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "identify";
- version = "1.5.6";
+ version = "1.5.9";
src = fetchPypi {
inherit pname version;
- sha256 = "969d844b7a85d32a5f9ac4e163df6e846d73c87c8b75847494ee8f4bd2186421";
+ sha256 = "c9504ba6a043ee2db0a9d69e43246bc138034895f6338d5aed1b41e4a73b1513";
};
# Tests not included in PyPI tarball
diff --git a/pkgs/development/python-modules/ipdb/default.nix b/pkgs/development/python-modules/ipdb/default.nix
index c32726be7e4..df2ae6b4661 100644
--- a/pkgs/development/python-modules/ipdb/default.nix
+++ b/pkgs/development/python-modules/ipdb/default.nix
@@ -3,19 +3,22 @@
, fetchPypi
, ipython
, isPyPy
+, isPy27
+, mock
}:
buildPythonPackage rec {
pname = "ipdb";
- version = "0.13.3";
- disabled = isPyPy; # setupterm: could not find terminfo database
+ version = "0.13.4";
+ disabled = isPyPy || isPy27; # setupterm: could not find terminfo database
src = fetchPypi {
inherit pname version;
- sha256 = "0y3yk5k2yszcwxsjinvf40b1wl8wi8l6kv7pl9jmx9j53hk6vx6n";
+ sha256 = "c85398b5fb82f82399fc38c44fe3532c0dde1754abee727d8f5cfcc74547b334";
};
propagatedBuildInputs = [ ipython ];
+ checkInputs = [ mock ];
preCheck = ''
export HOME=$(mktemp -d)
diff --git a/pkgs/development/python-modules/ipyvue/default.nix b/pkgs/development/python-modules/ipyvue/default.nix
index c9426473ba6..3941f08348a 100644
--- a/pkgs/development/python-modules/ipyvue/default.nix
+++ b/pkgs/development/python-modules/ipyvue/default.nix
@@ -8,13 +8,13 @@
buildPythonPackage rec {
pname = "ipyvue";
- version = "1.4.0";
+ version = "1.4.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "3253727e8e12e3c157550e3e8d6986edf61ad0d68299992fbf3fa6acec41a12e";
+ sha256 = "5b59cf92a1eb7fbef4f2d02be49ac562a721a6cf34f991ac963222cf4c8885a1";
};
propagatedBuildInputs = [ ipywidgets ];
diff --git a/pkgs/development/python-modules/iso8601/default.nix b/pkgs/development/python-modules/iso8601/default.nix
index 28f8db12895..b83374fff3e 100644
--- a/pkgs/development/python-modules/iso8601/default.nix
+++ b/pkgs/development/python-modules/iso8601/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "iso8601";
- version = "0.1.12";
+ version = "0.1.13";
src = fetchPypi {
inherit pname version;
- sha256 = "49c4b20e1f38aa5cf109ddcd39647ac419f928512c869dc01d5c7098eddede82";
+ sha256 = "f7dec22af52025d4526be94cc1303c7d8f5379b746a3f54a8c8446384392eeb1";
};
checkInputs = [ pytest ];
diff --git a/pkgs/development/python-modules/iterm2/default.nix b/pkgs/development/python-modules/iterm2/default.nix
index 66227fcb668..12a1fd92cbe 100644
--- a/pkgs/development/python-modules/iterm2/default.nix
+++ b/pkgs/development/python-modules/iterm2/default.nix
@@ -26,6 +26,7 @@ buildPythonPackage rec {
description = "Python interface to iTerm2's scripting API";
homepage = "https://github.com/gnachman/iTerm2";
license = licenses.gpl2;
+ platforms = platforms.darwin;
maintainers = with maintainers; [ jeremyschlatter ];
};
}
diff --git a/pkgs/development/python-modules/junos-eznc/default.nix b/pkgs/development/python-modules/junos-eznc/default.nix
index 22ff5caad80..d47130c5f3f 100644
--- a/pkgs/development/python-modules/junos-eznc/default.nix
+++ b/pkgs/development/python-modules/junos-eznc/default.nix
@@ -18,11 +18,11 @@
buildPythonPackage rec {
pname = "junos-eznc";
- version = "2.5.3";
+ version = "2.5.4";
src = fetchPypi {
inherit pname version;
- sha256 = "521659fe94da796897abc16773c3d84fa44d3e1f5386c71fbaef44cb80159855";
+ sha256 = "bf036d0af9ee5c5e4f517cb5fc902fe891fa120e18f459805862c53d4a97193a";
};
checkInputs = [ nose ];
diff --git a/pkgs/development/python-modules/jupyterlab-git/default.nix b/pkgs/development/python-modules/jupyterlab-git/default.nix
index 35fd7b8b8d8..b69572df745 100644
--- a/pkgs/development/python-modules/jupyterlab-git/default.nix
+++ b/pkgs/development/python-modules/jupyterlab-git/default.nix
@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "jupyterlab_git";
- version = "0.22.2";
+ version = "0.22.3";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
- sha256 = "9966a569428e67cc1688fbc2e05f51b0ceeefd8dfe30737e78a501ce3105103d";
+ sha256 = "434ff9edd1190809e02e0cbf50090c28de48a51e151a1f904ac66e902244398d";
};
propagatedBuildInputs = [ notebook nbdime git ];
diff --git a/pkgs/development/python-modules/jupyterlab/default.nix b/pkgs/development/python-modules/jupyterlab/default.nix
index f05536741f2..ff725ce1829 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 = "2.2.8";
+ version = "2.2.9";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
- sha256 = "c8377bee30504919c1e79949f9fe35443ab7f5c4be622c95307e8108410c8b8c";
+ sha256 = "3be8f8edea173753dd838c1b6d3bbcb6f5c801121f824a477025c1b6a1d33dc6";
};
propagatedBuildInputs = [ jupyterlab_server notebook ];
diff --git a/pkgs/development/python-modules/jupytext/default.nix b/pkgs/development/python-modules/jupytext/default.nix
index e4b285d4ea7..542e177e47f 100644
--- a/pkgs/development/python-modules/jupytext/default.nix
+++ b/pkgs/development/python-modules/jupytext/default.nix
@@ -3,6 +3,7 @@
, nbformat
, pytest
, pyyaml
+, toml
}:
buildPythonPackage rec {
@@ -17,6 +18,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
pyyaml
nbformat
+ toml
] ++ lib.optionals isPy27 [ mock ]; # why they put it in install_requires, who knows
checkInputs = [
diff --git a/pkgs/development/python-modules/kaggle/default.nix b/pkgs/development/python-modules/kaggle/default.nix
index cccd553a31f..12b46be69b9 100644
--- a/pkgs/development/python-modules/kaggle/default.nix
+++ b/pkgs/development/python-modules/kaggle/default.nix
@@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "kaggle";
- version = "1.5.6";
+ version = "1.5.9";
src = fetchPypi {
inherit pname version;
- sha256 = "0f5qrkgklcpgbwncrif7aw4f86dychqplh7k3f4rljwnr9yhjb1w";
+ sha256 = "444aeecfb646dbb889c767ee2ab071f63fe3a2b85f72f08f2bd772353d3e3b93";
};
# The version bounds in the setup.py file are unnecessarily restrictive.
diff --git a/pkgs/development/python-modules/labelbox/default.nix b/pkgs/development/python-modules/labelbox/default.nix
index ad8d2853b1d..b761b716853 100644
--- a/pkgs/development/python-modules/labelbox/default.nix
+++ b/pkgs/development/python-modules/labelbox/default.nix
@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "labelbox";
- version = "2.4.4";
+ version = "2.4.6";
src = fetchPypi {
inherit pname version;
- sha256 = "a455ae30ccb9328731fca7f7f4cefaa7da69a2fe3e43d1b742bae5ff4693c695";
+ sha256 = "2be6c03dafce0a786cfab5d120196efccaf300cab5aee4d2fdad644b7bee1aef";
};
propagatedBuildInputs = [ jinja2 requests pillow rasterio shapely ];
diff --git a/pkgs/development/python-modules/ledgerblue/default.nix b/pkgs/development/python-modules/ledgerblue/default.nix
index 87fece0f026..c84d5fa471b 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.31";
+ version = "0.1.34";
src = fetchPypi {
inherit pname version;
- sha256 = "f1fc7ab685780309a7220c6ee517d88072cc594a9615bcc18e68ed5f149fa432";
+ sha256 = "f9553d496fbc6b612d98cc9db2f1648c1bcb63939c988ee1520e8fcb9bd77b24";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/matplotlib/default.nix b/pkgs/development/python-modules/matplotlib/default.nix
index 732a6c89f43..f8adc0d0986 100644
--- a/pkgs/development/python-modules/matplotlib/default.nix
+++ b/pkgs/development/python-modules/matplotlib/default.nix
@@ -20,14 +20,14 @@ assert enableTk -> (tcl != null)
assert enableQt -> pyqt5 != null;
buildPythonPackage rec {
- version = "3.3.1";
+ version = "3.3.2";
pname = "matplotlib";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "87f53bcce90772f942c2db56736788b39332d552461a5cb13f05ff45c1680f0e";
+ sha256 = "3d2edbf59367f03cd9daf42939ca06383a7d7803e3993eb5ff1bee8e8a3fbb6b";
};
XDG_RUNTIME_DIR = "/tmp";
diff --git a/pkgs/development/python-modules/maxminddb/default.nix b/pkgs/development/python-modules/maxminddb/default.nix
index 0afdeef2228..d101cdfd0c2 100644
--- a/pkgs/development/python-modules/maxminddb/default.nix
+++ b/pkgs/development/python-modules/maxminddb/default.nix
@@ -7,13 +7,13 @@
}:
buildPythonPackage rec {
- version = "2.0.2";
+ version = "2.0.3";
pname = "maxminddb";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
- sha256 = "b95d8ed21799e6604683669c7ed3c6a184fcd92434d5762dccdb139b4f29e597";
+ sha256 = "47e86a084dd814fac88c99ea34ba3278a74bc9de5a25f4b815b608798747c7dc";
};
buildInputs = [ libmaxminddb ];
diff --git a/pkgs/development/python-modules/mecab-python3/default.nix b/pkgs/development/python-modules/mecab-python3/default.nix
index dc712340554..edcf887b095 100644
--- a/pkgs/development/python-modules/mecab-python3/default.nix
+++ b/pkgs/development/python-modules/mecab-python3/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "mecab-python3";
- version = "1.0.1";
+ version = "1.0.2";
src = fetchPypi {
inherit pname version;
- sha256 = "0246wxfk8v1js75nv8jl15cwpf4rvv4xndi4gbzjrrqbsgj2fvfm";
+ sha256 = "eefdff160ba231acb21afab5c775bc2e024b3164c637a23b599b270d45feb32d";
};
nativeBuildInputs = [
diff --git a/pkgs/development/python-modules/msal/default.nix b/pkgs/development/python-modules/msal/default.nix
index eae7eadb7f9..e67868912f2 100644
--- a/pkgs/development/python-modules/msal/default.nix
+++ b/pkgs/development/python-modules/msal/default.nix
@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "msal";
- version = "1.5.0";
+ version = "1.5.1";
src = fetchPypi {
inherit pname version;
- sha256 = "cc67d3a14850ba7e533ec5d05a4c23a34dd74a7fa5e0210daebef397b2009b0e";
+ sha256 = "7efb0256c96a7b2eadab49ce29ecdb91352a91440c12a40bed44303724b62fda";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/munkres/default.nix b/pkgs/development/python-modules/munkres/default.nix
index 93e0c27fcca..0df36385c0c 100644
--- a/pkgs/development/python-modules/munkres/default.nix
+++ b/pkgs/development/python-modules/munkres/default.nix
@@ -2,23 +2,21 @@
, buildPythonPackage
, fetchPypi
, isPy3k
-, nose
+, pytestCheckHook
}:
buildPythonPackage rec {
pname = "munkres";
- version = "1.1.2";
+ version = "1.1.4";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "81e9ced40c3d0ffc48be4b6da5cfdfaa49041faaaba8075b159974ec47926aea";
+ sha256 = "fc44bf3c3979dada4b6b633ddeeb8ffbe8388ee9409e4d4e8310c2da1792db03";
};
- checkInputs = [ nose ];
-
- checkPhase = "nosetests";
+ checkInputs = [ pytestCheckHook ];
meta = with stdenv.lib; {
homepage = "http://bmc.github.com/munkres/";
diff --git a/pkgs/development/python-modules/murmurhash/default.nix b/pkgs/development/python-modules/murmurhash/default.nix
index 82b33b6b402..2bd156bd63f 100644
--- a/pkgs/development/python-modules/murmurhash/default.nix
+++ b/pkgs/development/python-modules/murmurhash/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "murmurhash";
- version = "1.0.2";
+ version = "1.0.4";
src = fetchPypi {
inherit pname version;
- sha256 = "c7a646f6b07b033642b4f52ae2e45efd8b80780b3b90e8092a0cec935fbf81e2";
+ sha256 = "422084ac1fe994cb7c893689c600923dee4e2c3fc74e832f7d9a8d6fdcc362d5";
};
postPatch = ''
diff --git a/pkgs/development/python-modules/nbconflux/default.nix b/pkgs/development/python-modules/nbconflux/default.nix
index e86119036b5..4e443a377ed 100644
--- a/pkgs/development/python-modules/nbconflux/default.nix
+++ b/pkgs/development/python-modules/nbconflux/default.nix
@@ -1,8 +1,9 @@
-{ lib, buildPythonPackage, fetchFromGitHub, nbconvert, pytest, requests, responses }:
+{ lib, buildPythonPackage, fetchFromGitHub, isPy27, nbconvert, pytest, requests, responses }:
buildPythonPackage rec {
pname = "nbconflux";
version = "0.7.0";
+ disabled = isPy27; # no longer compatible with python 2 urllib
src = fetchFromGitHub {
owner = "Valassis-Digital-Media";
diff --git a/pkgs/development/python-modules/nbformat/default.nix b/pkgs/development/python-modules/nbformat/default.nix
index 0c75fc4ac5a..3bd119179a4 100644
--- a/pkgs/development/python-modules/nbformat/default.nix
+++ b/pkgs/development/python-modules/nbformat/default.nix
@@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "nbformat";
- version = "5.0.7";
+ version = "5.0.8";
src = fetchPypi {
inherit pname version;
- sha256 = "54d4d6354835a936bad7e8182dcd003ca3dc0cedfee5a306090e04854343b340";
+ sha256 = "f545b22138865bfbcc6b1ffe89ed5a2b8e2dc5d4fe876f2ca60d8e6f702a30f8";
};
LC_ALL="en_US.utf8";
diff --git a/pkgs/development/python-modules/nest-asyncio/default.nix b/pkgs/development/python-modules/nest-asyncio/default.nix
index 993e5e413e4..533977aa6d9 100644
--- a/pkgs/development/python-modules/nest-asyncio/default.nix
+++ b/pkgs/development/python-modules/nest-asyncio/default.nix
@@ -5,13 +5,13 @@
}:
buildPythonPackage rec {
- version = "1.4.0";
+ version = "1.4.2";
pname = "nest_asyncio";
disabled = !(pythonAtLeast "3.5");
src = fetchPypi {
inherit pname version;
- sha256 = "1j2rbb31wdq9k15cmj2y0kypzvfc3v05py1n0809nmqlpi5hawsp";
+ sha256 = "c614fcfaca72b1f04778bc0e73f49c84500b3d045c49d149fc46f1566643c175";
};
# tests not packaged with source dist as of 1.3.2/1.3.2, and
diff --git a/pkgs/development/python-modules/notify-py/default.nix b/pkgs/development/python-modules/notify-py/default.nix
index fc2eda47beb..4772fc29534 100644
--- a/pkgs/development/python-modules/notify-py/default.nix
+++ b/pkgs/development/python-modules/notify-py/default.nix
@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "notify_py";
- version = "0.2.3";
+ version = "0.2.4";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "1i209xsff54hipdk9cg6va60fl33swg126yfgkg3wsgjmi6s07ca";
+ sha256 = "2a19273a476c8b003baa96650d00a81c5981c3a17ada748bc0a73aefad46d977";
};
postPatch = ''
diff --git a/pkgs/development/python-modules/numba/default.nix b/pkgs/development/python-modules/numba/default.nix
index c3a6484adbc..ad31b8e960c 100644
--- a/pkgs/development/python-modules/numba/default.nix
+++ b/pkgs/development/python-modules/numba/default.nix
@@ -13,14 +13,14 @@
}:
buildPythonPackage rec {
- version = "0.51.1";
+ version = "0.51.2";
pname = "numba";
# uses f-strings
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
- sha256 = "1e765b1a41535684bf3b0465c1d0a24dcbbff6af325270c8f4dad924c0940160";
+ sha256 = "16bd59572114adbf5f600ea383880d7b2071ae45477e84a24994e089ea390768";
};
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
diff --git a/pkgs/development/python-modules/numpy/1.16.nix b/pkgs/development/python-modules/numpy/1.16.nix
index 6fa77d8fa90..ab4991cad14 100644
--- a/pkgs/development/python-modules/numpy/1.16.nix
+++ b/pkgs/development/python-modules/numpy/1.16.nix
@@ -92,6 +92,7 @@ in buildPythonPackage rec {
meta = {
description = "Scientific tools for Python";
homepage = "https://numpy.org/";
+ license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
};
}
diff --git a/pkgs/development/python-modules/numpy/default.nix b/pkgs/development/python-modules/numpy/default.nix
index 9502cdc5b0a..b8faccb155b 100644
--- a/pkgs/development/python-modules/numpy/default.nix
+++ b/pkgs/development/python-modules/numpy/default.nix
@@ -39,13 +39,13 @@ let
};
in buildPythonPackage rec {
pname = "numpy";
- version = "1.19.1";
+ version = "1.19.4";
format = "pyproject.toml";
src = fetchPypi {
inherit pname version;
extension = "zip";
- sha256 = "b8456987b637232602ceb4d663cb34106f7eb780e247d51a260b84760fd8f491";
+ sha256 = "141ec3a3300ab89c7f2b0775289954d193cc8edb621ea05f99db9cb181530512";
};
nativeBuildInputs = [ gfortran pytest cython setuptoolsBuildHook ];
@@ -95,6 +95,7 @@ in buildPythonPackage rec {
meta = {
description = "Scientific tools for Python";
homepage = "https://numpy.org/";
+ license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
};
}
diff --git a/pkgs/development/python-modules/nunavut/default.nix b/pkgs/development/python-modules/nunavut/default.nix
index 4905a8da7a3..1c25d6acd55 100644
--- a/pkgs/development/python-modules/nunavut/default.nix
+++ b/pkgs/development/python-modules/nunavut/default.nix
@@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "nunavut";
- version = "0.3.6";
+ version = "0.3.9";
disabled = pythonOlder "3.5"; # only python>=3.5 is supported
src = fetchPypi {
inherit pname version;
- sha256 = "434edabdc431b9af719896e0de4bd0deead657777d1d8aa4e3cd0dcdff6298bc";
+ sha256 = "1f2f42f058afd30456e47b6b92a6b7b15100f6bca0a29108ace95bd5147a8e86";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/openwrt-luci-rpc/default.nix b/pkgs/development/python-modules/openwrt-luci-rpc/default.nix
index 718dc48d005..935a64b4186 100644
--- a/pkgs/development/python-modules/openwrt-luci-rpc/default.nix
+++ b/pkgs/development/python-modules/openwrt-luci-rpc/default.nix
@@ -10,11 +10,11 @@ with lib;
buildPythonPackage rec {
pname = "openwrt-luci-rpc";
- version = "1.1.3";
+ version = "1.1.6";
src = fetchPypi {
inherit pname version;
- sha256 = "c8c27c98c0a1deac2d32d417c4ca536b08be2655a9a6de8a7897e8bc6431858c";
+ sha256 = "841c7fc956ad42825a2f2cd0cb2aa02005c3482b200ff7aaccd390345c9f3e18";
};
postPatch = ''
diff --git a/pkgs/development/python-modules/packet-python/default.nix b/pkgs/development/python-modules/packet-python/default.nix
index 02255f4bfd7..1552148ae37 100644
--- a/pkgs/development/python-modules/packet-python/default.nix
+++ b/pkgs/development/python-modules/packet-python/default.nix
@@ -12,10 +12,10 @@
buildPythonPackage rec {
pname = "packet-python";
- version = "1.43.0";
+ version = "1.43.1";
src = fetchPypi {
inherit pname version;
- sha256 = "48fcc5ca6e7f3d84ef91016585d1894bb9deb3dae6591ffab90fdf05006c3e48";
+ sha256 = "e333fb5ce45a3f283ddeb6261d061b39328b82eb440a89233fa08ce3fec2fcf0";
};
nativeBuildInputs = [ pytestrunner ];
propagatedBuildInputs = [ requests ];
diff --git a/pkgs/development/python-modules/pandas/default.nix b/pkgs/development/python-modules/pandas/default.nix
index d4c9706fe65..9d2d32d428a 100644
--- a/pkgs/development/python-modules/pandas/default.nix
+++ b/pkgs/development/python-modules/pandas/default.nix
@@ -1,27 +1,29 @@
-{ buildPythonPackage
+{ stdenv
+, buildPythonPackage
, fetchPypi
, python
-, stdenv
-, pytest
-, glibcLocales
+, isPy38
+, beautifulsoup4
+, bottleneck
, cython
, dateutil
-, scipy
-, moto
-, numexpr
-, pytz
-, xlrd
-, bottleneck
-, sqlalchemy
-, lxml
, html5lib
-, beautifulsoup4
-, hypothesis
+, lxml
+, numexpr
, openpyxl
+, pytz
+, sqlalchemy
+, scipy
, tables
+, xlrd
, xlwt
+# Test Inputs
+, glibcLocales
+, hypothesis
+, moto
+, pytestCheckHook
+# Darwin inputs
, runtimeShell
-, isPy38
, libcxx ? null
}:
@@ -31,33 +33,33 @@ let
in buildPythonPackage rec {
pname = "pandas";
- version = "1.1.1";
+ version = "1.1.4";
src = fetchPypi {
inherit pname version;
- sha256 = "53328284a7bb046e2e885fd1b8c078bd896d7fc4575b915d4936f54984a2ba67";
+ sha256 = "a979d0404b135c63954dea79e6246c45dd45371a88631cdbb4877d844e6de3b6";
};
- checkInputs = [ pytest glibcLocales moto hypothesis ];
-
nativeBuildInputs = [ cython ];
buildInputs = optional isDarwin libcxx;
propagatedBuildInputs = [
- dateutil
- scipy
- numexpr
- pytz
- xlrd
- bottleneck
- sqlalchemy
- lxml
- html5lib
beautifulsoup4
+ bottleneck
+ dateutil
+ html5lib
+ numexpr
+ lxml
openpyxl
+ pytz
+ scipy
+ sqlalchemy
tables
+ xlrd
xlwt
];
+ checkInputs = [ pytestCheckHook glibcLocales moto hypothesis ];
+
# doesn't work with -Werror,-Wunused-command-line-argument
# https://github.com/NixOS/nixpkgs/issues/39687
hardeningDisable = optional stdenv.cc.isClang "strictoverflow";
@@ -80,8 +82,14 @@ in buildPythonPackage rec {
"--parallel=$NIX_BUILD_CORES"
];
+ doCheck = !stdenv.isAarch64; # upstream doesn't test this architecture
- disabledTests = stdenv.lib.concatMapStringsSep " and " (s: "not " + s) ([
+ pytestFlagsArray = [
+ "$out/${python.sitePackages}/pandas"
+ "--skip-slow"
+ "--skip-network"
+ ];
+ disabledTests = [
# since dateutil 0.6.0 the following fails: test_fallback_plural, test_ambiguous_flags, test_ambiguous_compat
# was supposed to be solved by https://github.com/dateutil/dateutil/issues/321, but is not the case
"test_fallback_plural"
@@ -105,15 +113,16 @@ in buildPythonPackage rec {
# Fails with 1.0.5
"test_constructor_list_frames"
"test_constructor_with_embedded_frames"
+ # tries to import compiled C extension locally
+ "test_missing_required_dependency"
] ++ optionals isDarwin [
"test_locale"
"test_clipboard"
- ]);
+ ];
- doCheck = !stdenv.isAarch64; # upstream doesn't test this architecture
-
- checkPhase = ''
- runHook preCheck
+ preCheck = ''
+ export LC_ALL="en_US.UTF-8"
+ PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH
''
# TODO: Get locale and clipboard support working on darwin.
# Until then we disable the tests.
@@ -123,19 +132,17 @@ in buildPythonPackage rec {
echo "#!${runtimeShell}" > pbpaste
chmod a+x pbcopy pbpaste
export PATH=$(pwd):$PATH
- '' + ''
- LC_ALL="en_US.UTF-8" py.test $out/${python.sitePackages}/pandas --skip-slow --skip-network -k "$disabledTests"
- runHook postCheck
'';
- meta = {
+ meta = with stdenv.lib; {
# https://github.com/pandas-dev/pandas/issues/14866
# pandas devs are no longer testing i686 so safer to assume it's broken
broken = stdenv.isi686;
homepage = "https://pandas.pydata.org/";
+ changelog = "https://pandas.pydata.org/docs/whatsnew/index.html";
description = "Python Data Analysis Library";
- license = stdenv.lib.licenses.bsd3;
- maintainers = with stdenv.lib.maintainers; [ raskin fridh knedlsepp ];
- platforms = stdenv.lib.platforms.unix;
+ license = licenses.bsd3;
+ maintainers = with maintainers; [ raskin fridh knedlsepp ];
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/development/python-modules/pandocfilters/default.nix b/pkgs/development/python-modules/pandocfilters/default.nix
index f688d97c91d..848e59313af 100644
--- a/pkgs/development/python-modules/pandocfilters/default.nix
+++ b/pkgs/development/python-modules/pandocfilters/default.nix
@@ -4,12 +4,12 @@
}:
buildPythonPackage rec {
- version = "1.4.2";
+ version = "1.4.3";
pname = "pandocfilters";
src = fetchPypi {
inherit pname version;
- sha256 = "b3dd70e169bb5449e6bc6ff96aea89c5eea8c5f6ab5e207fc2f521a2cf4a0da9";
+ sha256 = "bc63fbb50534b4b1f8ebe1860889289e8af94a23bff7445259592df25a3906eb";
};
# No tests available
diff --git a/pkgs/development/python-modules/parver/default.nix b/pkgs/development/python-modules/parver/default.nix
index a51f1c00327..268e9002010 100644
--- a/pkgs/development/python-modules/parver/default.nix
+++ b/pkgs/development/python-modules/parver/default.nix
@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "parver";
- version = "0.3.0";
+ version = "0.3.1";
src = fetchPypi {
inherit pname version;
- sha256 = "0a6jp17c1ag6b9yp5xgy9wvznk3g0v2f8gpwkcwxpyc9ygk98zdm";
+ sha256 = "c902e0653bcce927cc156a7fd9b3a51924cbce3bf3d0bfd49fc282bfd0c5dfd3";
};
propagatedBuildInputs = [ six attrs arpeggio ];
diff --git a/pkgs/development/python-modules/passlib/default.nix b/pkgs/development/python-modules/passlib/default.nix
index 84ace0bdb82..316abb2ac32 100644
--- a/pkgs/development/python-modules/passlib/default.nix
+++ b/pkgs/development/python-modules/passlib/default.nix
@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "passlib";
- version = "1.7.2";
+ version = "1.7.4";
src = fetchPypi {
inherit pname version;
- sha256 = "8d666cef936198bc2ab47ee9b0410c94adf2ba798e5a84bf220be079ae7ab6a8";
+ sha256 = "defd50f72b65c5402ab2c573830a6978e5f202ad0d984793c8dde2c4152ebe04";
};
checkInputs = [ nose ];
diff --git a/pkgs/development/python-modules/pastedeploy/default.nix b/pkgs/development/python-modules/pastedeploy/default.nix
index b82192267d0..21149da917f 100644
--- a/pkgs/development/python-modules/pastedeploy/default.nix
+++ b/pkgs/development/python-modules/pastedeploy/default.nix
@@ -6,12 +6,12 @@
}:
buildPythonPackage rec {
- version = "2.1.0";
+ version = "2.1.1";
pname = "PasteDeploy";
src = fetchPypi {
inherit pname version;
- sha256 = "e7559878b6e92023041484be9bcb6d767cf4492fc3de7257a5dae76a7cc11a9b";
+ sha256 = "6dead6ab9823a85d585ef27f878bc647f787edb9ca8da0716aa9f1261b464817";
};
buildInputs = [ pytestrunner ];
diff --git a/pkgs/development/python-modules/patator/default.nix b/pkgs/development/python-modules/patator/default.nix
index 81d9e50b28f..46601c16755 100644
--- a/pkgs/development/python-modules/patator/default.nix
+++ b/pkgs/development/python-modules/patator/default.nix
@@ -5,12 +5,12 @@
buildPythonPackage rec {
pname = "patator";
- version = "0.9";
+ version = "0.7";
disabled = !(isPy3k);
src = fetchPypi {
inherit pname version;
- sha256 = "68cb24bdc3042ee0d47a288b19a8b99a6c54bdbd4ddf0c5817d9b9ac0a0d8a15";
+ sha256 = "335e432e6cc591437e316ba8c1da935484ca39fc79e595ccf60ccd9166e965f1";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/periodictable/default.nix b/pkgs/development/python-modules/periodictable/default.nix
index a0949385bd3..ea42f7ea7fe 100644
--- a/pkgs/development/python-modules/periodictable/default.nix
+++ b/pkgs/development/python-modules/periodictable/default.nix
@@ -1,16 +1,18 @@
-{lib, fetchPypi, buildPythonPackage, numpy, pyparsing}:
+{lib, fetchPypi, buildPythonPackage, numpy, pyparsing, pytestcov, pytestCheckHook }:
buildPythonPackage rec {
pname = "periodictable";
- version = "1.5.2";
+ version = "1.5.3";
propagatedBuildInputs = [numpy pyparsing];
src = fetchPypi {
inherit pname version;
- sha256 = "1lx03xirh3hcrzkwrz91dmdzcj01bykq59hccd83ai901jzqmshz";
+ sha256 = "1d09c359468e2de74b43fc3a7dcb0d3d71e0ff53adb85995215d8d7796451af6";
};
+ checkInputs = [ pytestcov pytestCheckHook ];
+
meta = {
homepage = "https://www.reflectometry.org/danse/software.html";
description = "an extensible periodic table of the elements prepopulated with data important to neutron and x-ray scattering experiments";
diff --git a/pkgs/development/python-modules/pg8000/default.nix b/pkgs/development/python-modules/pg8000/default.nix
index e4a158a7183..0c945977218 100644
--- a/pkgs/development/python-modules/pg8000/default.nix
+++ b/pkgs/development/python-modules/pg8000/default.nix
@@ -1,22 +1,23 @@
{ stdenv
, buildPythonPackage
, fetchPypi
+, scramp
, isPy3k
, passlib
}:
buildPythonPackage rec {
pname = "pg8000";
- version = "1.16.5";
+ version = "1.16.6";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "8af70cdfcc1fadafa32468a6af563e1c0b5271c4dcc99a4490030a128cb295a3";
+ sha256 = "8fc1e6a62ccb7c9830f1e7e9288e2d20eaf373cc8875b5c55b7d5d9b7717be91";
};
- propagatedBuildInputs = [ passlib ];
+ propagatedBuildInputs = [ passlib scramp ];
meta = with stdenv.lib; {
homepage = "https://github.com/tlocke/pg8000";
diff --git a/pkgs/development/python-modules/phonenumbers/default.nix b/pkgs/development/python-modules/phonenumbers/default.nix
index e4cb59f5b93..5f961b8e18e 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.12.11";
+ version = "8.12.12";
src = fetchPypi {
inherit pname version;
- sha256 = "17f39f06c1e0e20eabe69ff735b1c08e4547d12a12595da3d835fd3256a9ee0c";
+ sha256 = "70aa98a50ba7bc7f6bf17851f806c927107e7c44e7d21eb46bdbec07b99d23ae";
};
meta = {
diff --git a/pkgs/development/python-modules/premailer/default.nix b/pkgs/development/python-modules/premailer/default.nix
index ec0e959c7a5..c69ec9a05a1 100644
--- a/pkgs/development/python-modules/premailer/default.nix
+++ b/pkgs/development/python-modules/premailer/default.nix
@@ -1,10 +1,11 @@
-{ lib, buildPythonPackage, fetchPypi,
+{ lib, buildPythonPackage, fetchPypi, isPy27,
cssselect, cssutils, lxml, mock, nose, requests, cachetools
}:
buildPythonPackage rec {
pname = "premailer";
version = "3.7.0";
+ disabled = isPy27; # no longer compatible with urllib
src = fetchPypi {
inherit pname version;
diff --git a/pkgs/development/python-modules/preshed/default.nix b/pkgs/development/python-modules/preshed/default.nix
index 96a015076df..c408782a423 100644
--- a/pkgs/development/python-modules/preshed/default.nix
+++ b/pkgs/development/python-modules/preshed/default.nix
@@ -9,11 +9,11 @@
}:
buildPythonPackage rec {
pname = "preshed";
- version = "3.0.2";
+ version = "3.0.3";
src = fetchPypi {
inherit pname version;
- sha256 = "1jrnci1pw9yv7j1a9b2q6c955l3gb8fv1q4d0id6s7bwr5l39mv1";
+ sha256 = "8ad47d5d2688fabc66850f32c7b6d3b4a97e6b653726309fe09603edd6fceb23";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/prompt_toolkit/default.nix b/pkgs/development/python-modules/prompt_toolkit/default.nix
index 47fbace69df..2fa885a69f7 100644
--- a/pkgs/development/python-modules/prompt_toolkit/default.nix
+++ b/pkgs/development/python-modules/prompt_toolkit/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "prompt_toolkit";
- version = "3.0.6";
+ version = "3.0.8";
src = fetchPypi {
inherit pname version;
- sha256 = "7630ab85a23302839a0f26b31cc24f518e6155dea1ed395ea61b42c45941b6a6";
+ sha256 = "25c95d2ac813909f813c93fde734b6e44406d1477a9faef7c915ff37d39c0a8c";
};
checkPhase = ''
py.test -k 'not test_pathcompleter_can_expanduser'
diff --git a/pkgs/development/python-modules/psd-tools/default.nix b/pkgs/development/python-modules/psd-tools/default.nix
index a4eb552bb7d..783905c7024 100644
--- a/pkgs/development/python-modules/psd-tools/default.nix
+++ b/pkgs/development/python-modules/psd-tools/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "psd-tools";
- version = "1.9.15";
+ version = "1.9.16";
src = fetchPypi {
inherit pname version;
- sha256 = "23b545d91c784fcaf27fbf4c69abe21ac1ea10d25b5b8c61dcd8f0e03ccff786";
+ sha256 = "dece6327b5aa03b53163c63e2bf90b4a7b0ff6872ef743adab140a59cb2318ff";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/psutil/default.nix b/pkgs/development/python-modules/psutil/default.nix
index ab3a3c1665e..2d9f0a9440d 100644
--- a/pkgs/development/python-modules/psutil/default.nix
+++ b/pkgs/development/python-modules/psutil/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "psutil";
- version = "5.7.2";
+ version = "5.7.3";
src = fetchPypi {
inherit pname version;
- sha256 = "90990af1c3c67195c44c9a889184f84f5b2320dce3ee3acbd054e3ba0b4a7beb";
+ sha256 = "af73f7bcebdc538eda9cc81d19db1db7bf26f103f91081d780bbacfcb620dee2";
};
# arch doesn't report frequency is the same way
diff --git a/pkgs/development/python-modules/psycopg2/default.nix b/pkgs/development/python-modules/psycopg2/default.nix
index 5e1f578d901..604431612a0 100644
--- a/pkgs/development/python-modules/psycopg2/default.nix
+++ b/pkgs/development/python-modules/psycopg2/default.nix
@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "psycopg2";
- version = "2.8.5";
+ version = "2.8.6";
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
- sha256 = "f7d46240f7a1ae1dd95aab38bd74f7428d46531f69219954266d669da60c0818";
+ sha256 = "fb23f6c71107c37fd667cb4ea363ddeb936b348bbd6449278eb92c189699f543";
};
buildInputs = lib.optional stdenv.isDarwin openssl;
diff --git a/pkgs/development/python-modules/pushover-complete/default.nix b/pkgs/development/python-modules/pushover-complete/default.nix
index e588ae9f796..33769af319d 100644
--- a/pkgs/development/python-modules/pushover-complete/default.nix
+++ b/pkgs/development/python-modules/pushover-complete/default.nix
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
+, isPy27
, requests
, six
, tox
@@ -11,6 +12,7 @@
buildPythonPackage rec {
pname = "pushover-complete";
version = "1.1.1";
+ disabled = isPy27;
src = fetchPypi {
pname = "pushover_complete";
diff --git a/pkgs/development/python-modules/py-multihash/default.nix b/pkgs/development/python-modules/py-multihash/default.nix
index 1b49ffa1539..1f8ecad0013 100644
--- a/pkgs/development/python-modules/py-multihash/default.nix
+++ b/pkgs/development/python-modules/py-multihash/default.nix
@@ -49,5 +49,6 @@ buildPythonPackage rec {
homepage = "https://github.com/multiformats/py-multihash";
license = licenses.mit;
maintainers = with maintainers; [ rakesh4g ];
+ broken = true; # no longer compatible with base58, no updates in 5 years. Added 2020-11-05
};
}
diff --git a/pkgs/development/python-modules/py4j/default.nix b/pkgs/development/python-modules/py4j/default.nix
index db117e04d12..e8faee8d817 100644
--- a/pkgs/development/python-modules/py4j/default.nix
+++ b/pkgs/development/python-modules/py4j/default.nix
@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "py4j";
- version = "0.10.9";
+ version = "0.10.9.1";
src = fetchPypi {
inherit pname version;
- sha256 = "36ec57f43ff8ced260a18aa9a4e46c3500a730cac8860e259cbaa546c2b9db2f";
+ sha256 = "7605e512bf9b002245f5a9121a8c2df9bfd1a6004fe6dd3ff29d46f901719d53";
};
# No tests in archive
diff --git a/pkgs/development/python-modules/pybase64/default.nix b/pkgs/development/python-modules/pybase64/default.nix
index d52a1f67d21..d48fed13543 100644
--- a/pkgs/development/python-modules/pybase64/default.nix
+++ b/pkgs/development/python-modules/pybase64/default.nix
@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "pybase64";
- version = "1.0.1";
+ version = "1.0.2";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "6ced40531bffc81bafc790d5c0d2f752e281b3b00fd6ff4e79385c625e5dbab1";
+ sha256 = "c430b36751dd89820c867aadd0130bbe8ce007ee570cbe91bb23012fb6f52e87";
};
propagatedBuildInputs = [ six ];
diff --git a/pkgs/development/python-modules/pybids/default.nix b/pkgs/development/python-modules/pybids/default.nix
index 7f930c04105..d6d66e75495 100644
--- a/pkgs/development/python-modules/pybids/default.nix
+++ b/pkgs/development/python-modules/pybids/default.nix
@@ -16,12 +16,12 @@
}:
buildPythonPackage rec {
- version = "0.12.1";
+ version = "0.12.3";
pname = "pybids";
src = fetchPypi {
inherit pname version;
- sha256 = "08smd4frl8hf0n6bi20ayd5wcf51g3g488bpakjciz7ghdvky1h6";
+ sha256 = "a084172ae5b26a5f26b17186ade98400cda52d9244d9f0b329041741ea82b5db";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/pybotvac/default.nix b/pkgs/development/python-modules/pybotvac/default.nix
index f915c498350..c5e239ab897 100644
--- a/pkgs/development/python-modules/pybotvac/default.nix
+++ b/pkgs/development/python-modules/pybotvac/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pybotvac";
- version = "0.0.17";
+ version = "0.0.18";
src = fetchPypi {
inherit pname version;
- sha256 = "f212f0df8a946c0fa25f0c20c3c9decd9ddc4dbd9b48592a3283e7481112923e";
+ sha256 = "e983c9ffc0734c2e5a7c2adf5d0d0dfe399d94157c590ef70fad765f882c341f";
};
propagatedBuildInputs = [ requests ];
diff --git a/pkgs/development/python-modules/pychromecast/default.nix b/pkgs/development/python-modules/pychromecast/default.nix
index e9f70df5890..ce72850fffd 100644
--- a/pkgs/development/python-modules/pychromecast/default.nix
+++ b/pkgs/development/python-modules/pychromecast/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "PyChromecast";
- version = "7.5.0";
+ version = "7.5.1";
src = fetchPypi {
inherit pname version;
- sha256 = "2f346a88ddc27a19cc68bc2d3e8929d89276298cb1c11871b82a87fbdafb95a8";
+ sha256 = "cf2e9fa795ea1e9d0d180adfbdccefd6b4f532eae56f41f15d1a75b323096f51";
};
disabled = !isPy3k;
diff --git a/pkgs/development/python-modules/pycoin/default.nix b/pkgs/development/python-modules/pycoin/default.nix
index da09cfdd64e..cb0431be61f 100644
--- a/pkgs/development/python-modules/pycoin/default.nix
+++ b/pkgs/development/python-modules/pycoin/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "pycoin";
- version = "0.90.20200809";
+ version = "0.90.20201031";
src = fetchPypi {
inherit pname version;
- sha256 = "301dd6df9d9d580701d7325c4d1c341233ba1a94cb805305ea3a43c31bdaaa4c";
+ sha256 = "65c19204cb7aece4aae30c44b5e08beecb9c118370a9f9994d6cddaee17c351d";
};
propagatedBuildInputs = [ setuptools ];
diff --git a/pkgs/development/python-modules/pycryptodome/default.nix b/pkgs/development/python-modules/pycryptodome/default.nix
index 15e93e59542..40084c2885e 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.8";
+ version = "3.9.9";
pname = "pycryptodome";
src = fetchPypi {
inherit pname version;
- sha256 = "0e24171cf01021bc5dc17d6a9d4f33a048f09d62cc3f62541e95ef104588bda4";
+ sha256 = "910e202a557e1131b1c1b3f17a63914d57aac55cf9fb9b51644962841c3995c4";
};
meta = {
diff --git a/pkgs/development/python-modules/pycryptodomex/default.nix b/pkgs/development/python-modules/pycryptodomex/default.nix
index 0bef1364617..d58821569e6 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.8";
+ version = "3.9.9";
meta = {
description = "A self-contained cryptographic library for Python";
@@ -12,6 +12,6 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "48cc2cfc251f04a6142badeb666d1ff49ca6fdfc303fd72579f62b768aaa52b9";
+ sha256 = "7b5b7c5896f8172ea0beb283f7f9428e0ab88ec248ce0a5b8c98d73e26267d51";
};
}
diff --git a/pkgs/development/python-modules/pyct/default.nix b/pkgs/development/python-modules/pyct/default.nix
index c187c6a5576..b2314e6edfe 100644
--- a/pkgs/development/python-modules/pyct/default.nix
+++ b/pkgs/development/python-modules/pyct/default.nix
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
+, isPy27
, param
, pyyaml
, requests
@@ -9,13 +10,14 @@
buildPythonPackage rec {
pname = "pyct";
- version = "0.4.6";
+ version = "0.4.8";
src = fetchPypi {
inherit pname version;
- sha256 = "df7b2d29f874cabdbc22e4f8cba2ceb895c48aa33da4e0fe679e89873e0a4c6e";
+ sha256 = "23d7525b5a1567535c093aea4b9c33809415aa5f018dd77f6eb738b1226df6f7";
};
+ doCheck = !isPy27;
checkInputs = [ pytest ];
propagatedBuildInputs = [
param
diff --git a/pkgs/development/python-modules/pycurl/default.nix b/pkgs/development/python-modules/pycurl/default.nix
index 7531bb8f7bb..fe62d1be1ea 100644
--- a/pkgs/development/python-modules/pycurl/default.nix
+++ b/pkgs/development/python-modules/pycurl/default.nix
@@ -1,6 +1,7 @@
{ buildPythonPackage
, isPyPy
, fetchPypi
+, pythonOlder
, curl
, openssl
, bottle
@@ -11,12 +12,12 @@
buildPythonPackage rec {
pname = "pycurl";
- version = "7.43.0.5";
- disabled = isPyPy; # https://github.com/pycurl/pycurl/issues/208
+ version = "7.43.0.6";
+ disabled = isPyPy || (pythonOlder "3.5"); # https://github.com/pycurl/pycurl/issues/208
src = fetchPypi {
inherit pname version;
- sha256 = "ec7dd291545842295b7b56c12c90ffad2976cc7070c98d7b1517b7b6cd5994b3";
+ sha256 = "8301518689daefa53726b59ded6b48f33751c383cf987b0ccfbbc4ed40281325";
};
buildInputs = [
diff --git a/pkgs/development/python-modules/pyexcel-io/default.nix b/pkgs/development/python-modules/pyexcel-io/default.nix
index 6fe2245385a..15014cdafd2 100644
--- a/pkgs/development/python-modules/pyexcel-io/default.nix
+++ b/pkgs/development/python-modules/pyexcel-io/default.nix
@@ -7,13 +7,13 @@
buildPythonPackage rec {
pname = "pyexcel-io";
- version = "0.6.3";
+ version = "0.6.4";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "8fb7a201eb3e5763bb8f9d6e096ceed9e5f1baecd784c9fadbe0fb3d59174c0e";
+ sha256 = "00f15f4bae2947de49b3206f2600f78780008e044380f7aafe0ce52969cda4ca";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/pyexcel-xls/default.nix b/pkgs/development/python-modules/pyexcel-xls/default.nix
index 418dfbf42f8..34d11830e57 100644
--- a/pkgs/development/python-modules/pyexcel-xls/default.nix
+++ b/pkgs/development/python-modules/pyexcel-xls/default.nix
@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "pyexcel-xls";
- version = "0.6.0";
+ version = "0.6.1";
src = fetchPypi {
inherit pname version;
- sha256 = "64bac180274c52efe970c664d3e8bb12402c9d10e0734d9fe87655646a876c45";
+ sha256 = "c4cc1fb4ac5d1682a44d9a368a43ec2e089ad6fc46884648ccfad46863e3da0a";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/pyhomematic/default.nix b/pkgs/development/python-modules/pyhomematic/default.nix
index 3f12888d531..0dab202a79a 100644
--- a/pkgs/development/python-modules/pyhomematic/default.nix
+++ b/pkgs/development/python-modules/pyhomematic/default.nix
@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "pyhomematic";
- version = "0.1.68";
+ version = "0.1.70";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "7f8ec68238a441cfe593fa9028509fd0c3dc67400b4dd520c8c02088f177302e";
+ sha256 = "1c9ae61c870e37348483966f6aa46f650f339f5f1169e5beb19d681c6434c247";
};
# PyPI tarball does not include tests/ directory
diff --git a/pkgs/development/python-modules/pymupdf/default.nix b/pkgs/development/python-modules/pymupdf/default.nix
index c3cf43be01a..30df7589c9e 100644
--- a/pkgs/development/python-modules/pymupdf/default.nix
+++ b/pkgs/development/python-modules/pymupdf/default.nix
@@ -1,10 +1,11 @@
{ stdenv, buildPythonPackage, fetchPypi, mupdf, swig }:
buildPythonPackage rec {
- pname = "PyMuPDF";
+ pname = "pymupdf";
version = "1.18.0";
src = fetchPypi {
- inherit pname version;
+ pname = "PyMuPDF";
+ inherit version;
sha256 = "64ce58f92d9edd2631e447175fa13b4024ac3b6dce6e718e0b003c41de6f7952";
};
diff --git a/pkgs/development/python-modules/pyopencl/default.nix b/pkgs/development/python-modules/pyopencl/default.nix
index e5eddd81d99..4552fab5b85 100644
--- a/pkgs/development/python-modules/pyopencl/default.nix
+++ b/pkgs/development/python-modules/pyopencl/default.nix
@@ -16,7 +16,7 @@
buildPythonPackage rec {
pname = "pyopencl";
- version = "2020.2.1";
+ version = "2020.2.2";
checkInputs = [ pytest ];
buildInputs = [ opencl-headers ocl-icd pybind11 ];
@@ -25,7 +25,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "deb6c50f37f8f88960a943b379eca8c0a9a80634cf60e09aee691a7453ae202e";
+ sha256 = "31fcc79fb6862998e98d91a624c0bd4f0ab4c5d418d199912d4d312c64e437ec";
};
# py.test is not needed during runtime, so remove it from `install_requires`
diff --git a/pkgs/development/python-modules/pyotp/default.nix b/pkgs/development/python-modules/pyotp/default.nix
index 310ad95808a..7ad07b3a6e8 100644
--- a/pkgs/development/python-modules/pyotp/default.nix
+++ b/pkgs/development/python-modules/pyotp/default.nix
@@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "pyotp";
- version = "2.4.0";
+ version = "2.4.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "01eceab573181188fe038d001e42777884a7f5367203080ef5bda0e30fe82d28";
+ sha256 = "038a3f70b34eaad3f72459e8b411662ef8dfcdd95f7d9203fa489e987a75584b";
};
pythonImportsCheck = [ "pyotp" ];
diff --git a/pkgs/development/python-modules/pyperclip/default.nix b/pkgs/development/python-modules/pyperclip/default.nix
index 2c3b3e56a93..0df0da0cc5e 100644
--- a/pkgs/development/python-modules/pyperclip/default.nix
+++ b/pkgs/development/python-modules/pyperclip/default.nix
@@ -1,12 +1,12 @@
{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
- version = "1.8.0";
+ version = "1.8.1";
pname = "pyperclip";
src = fetchPypi {
inherit pname version;
- sha256 = "b75b975160428d84608c26edba2dec146e7799566aea42c1fe1b32e72b6028f2";
+ sha256 = "9abef1e79ce635eb62309ecae02dfb5a3eb952fa7d6dce09c1aef063f81424d3";
};
doCheck = false;
diff --git a/pkgs/development/python-modules/pyrsistent/default.nix b/pkgs/development/python-modules/pyrsistent/default.nix
index edc1bb73f5a..ae22dad1223 100644
--- a/pkgs/development/python-modules/pyrsistent/default.nix
+++ b/pkgs/development/python-modules/pyrsistent/default.nix
@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "pyrsistent";
- version = "0.16.0";
+ version = "0.16.1";
src = fetchPypi {
inherit pname version;
- sha256 = "28669905fe725965daa16184933676547c5bb40a5153055a8dee2a4bd7933ad3";
+ sha256 = "aa2ae1c2e496f4d6777f869ea5de7166a8ccb9c2e06ebcf6c7ff1b670c98c5ef";
};
propagatedBuildInputs = [ six ];
diff --git a/pkgs/development/python-modules/pyspread/default.nix b/pkgs/development/python-modules/pyspread/default.nix
index 16f1e2c215e..cf62af03002 100644
--- a/pkgs/development/python-modules/pyspread/default.nix
+++ b/pkgs/development/python-modules/pyspread/default.nix
@@ -18,11 +18,11 @@
buildPythonPackage rec {
pname = "pyspread";
- version = "1.99.2";
+ version = "1.99.4";
src = fetchPypi {
inherit pname version;
- sha256 = "117268cbeb225e0aca4c59381b7bdf5333bf95ca85c1db410a326a887a74f3da";
+ sha256 = "69edad3e4a3bcfb728beb3ad32e308096c29234cc0f7398ecd26a51e10b75978";
};
propagatedBuildInputs = [ numpy wxPython matplotlib pycairo python-gnupg xlrd xlwt jedi pyenchant basemap pygtk ];
diff --git a/pkgs/development/python-modules/pytest-black/default.nix b/pkgs/development/python-modules/pytest-black/default.nix
index e2a469c1ed8..20b2483c9d1 100644
--- a/pkgs/development/python-modules/pytest-black/default.nix
+++ b/pkgs/development/python-modules/pytest-black/default.nix
@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "pytest-black";
- version = "0.3.11";
+ version = "0.3.12";
src = fetchPypi {
inherit pname version;
- sha256 = "1mjxqvzadpyfvypv5isfda9c6lz8xbqci9b4hn58b2lbj3kv0pjr";
+ sha256 = "1d339b004f764d6cd0f06e690f6dd748df3d62e6fe1a692d6a5500ac2c5b75a5";
};
nativeBuildInputs = [ setuptools_scm ];
diff --git a/pkgs/development/python-modules/pytest-flakes/default.nix b/pkgs/development/python-modules/pytest-flakes/default.nix
index 39eb56ce76e..8c38544d812 100644
--- a/pkgs/development/python-modules/pytest-flakes/default.nix
+++ b/pkgs/development/python-modules/pytest-flakes/default.nix
@@ -1,15 +1,19 @@
-{ stdenv, buildPythonPackage, fetchPypi
-, pytestpep8, pytest, pyflakes }:
+{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
+, pytestpep8
+, pytest
+, pyflakes
+}:
buildPythonPackage rec {
# upstream has abandoned project in favor of pytest-flake8
# retaining package to not break other packages
pname = "pytest-flakes";
- version = "4.0.1";
+ version = "4.0.2";
+ disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
- sha256 = "37113ac6c7ea5e0b648abf73937955a45f8b9214fe49413297c2ce6ce1808500";
+ sha256 = "6733db47937d9689032876359e5ee0ee6926e3638546c09220e2f86b3581d4c1";
};
checkInputs = [ pytestpep8 pytest ];
diff --git a/pkgs/development/python-modules/pytest-quickcheck/default.nix b/pkgs/development/python-modules/pytest-quickcheck/default.nix
index ec78329ff8d..f3a62a79db9 100644
--- a/pkgs/development/python-modules/pytest-quickcheck/default.nix
+++ b/pkgs/development/python-modules/pytest-quickcheck/default.nix
@@ -1,11 +1,11 @@
{ stdenv, buildPythonPackage, fetchPypi, pytest, pytest-flakes, pytestpep8, tox }:
buildPythonPackage rec {
pname = "pytest-quickcheck";
- version = "0.8.4";
+ version = "0.8.5";
src = fetchPypi {
inherit pname version;
- sha256 = "e368390c9e3fd48eb3edec0c4eef08d7332f1143ad7b7190d32376b2fd2e62ff";
+ sha256 = "2427808b54ccdec26a40cdba934a6c042fab9ebadb60d563a01f367bef87fe58";
};
buildInputs = [ pytest ];
diff --git a/pkgs/development/python-modules/pytest-sanic/default.nix b/pkgs/development/python-modules/pytest-sanic/default.nix
index 147ce6a1959..0044a13d2c9 100644
--- a/pkgs/development/python-modules/pytest-sanic/default.nix
+++ b/pkgs/development/python-modules/pytest-sanic/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "pytest-sanic";
- version = "1.6.1";
+ version = "1.6.2";
src = fetchPypi {
inherit pname version;
- sha256 = "99e02c28cfa18a0a9af0cd151dddf0eca373279b9bac808733746f7ed7030ecc";
+ sha256 = "6428ed8cc2e6cfa05b92689a8589149aacdc1f0640fcf9673211aa733e6a5209";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/pytest-testmon/default.nix b/pkgs/development/python-modules/pytest-testmon/default.nix
index 9d9add16782..b86947f5f75 100644
--- a/pkgs/development/python-modules/pytest-testmon/default.nix
+++ b/pkgs/development/python-modules/pytest-testmon/default.nix
@@ -8,12 +8,12 @@
buildPythonPackage rec {
pname = "pytest-testmon";
- version = "1.0.2";
+ version = "1.0.3";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
- sha256 = "fdb016d953036051d1ef0e36569b7168cefa4914014789a65a4ffefc87f85ac5";
+ sha256 = "927a73dd510b90a2e4a48ea4d37e82c4490b56caa745663262024ea0cd278169";
};
propagatedBuildInputs = [ coverage ];
diff --git a/pkgs/development/python-modules/python-hosts/default.nix b/pkgs/development/python-modules/python-hosts/default.nix
index cf1314e0d4c..e76dbc3e3b2 100644
--- a/pkgs/development/python-modules/python-hosts/default.nix
+++ b/pkgs/development/python-modules/python-hosts/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "python-hosts";
- version = "1.0.0";
+ version = "1.0.1";
src = fetchPypi {
inherit pname version;
- sha256 = "850998704ba9025ce4c8ffd45dc4fbea2b5e30247bf3b574872ac5df90426b4d";
+ sha256 = "5b9749ce807170fb340d044d3f971e1da4dac0ae6af8ce8db00b6758a920a2bc";
};
# win_inet_pton is required for windows support
diff --git a/pkgs/development/python-modules/python-rapidjson/default.nix b/pkgs/development/python-modules/python-rapidjson/default.nix
index b9e7c136b38..defd5430f2e 100644
--- a/pkgs/development/python-modules/python-rapidjson/default.nix
+++ b/pkgs/development/python-modules/python-rapidjson/default.nix
@@ -8,13 +8,13 @@
}:
buildPythonPackage rec {
- version = "0.9.1";
+ version = "0.9.3";
pname = "python-rapidjson";
disabled = pythonOlder "3.4";
src = fetchPypi {
inherit pname version;
- sha256 = "ad80bd7e4bb15d9705227630037a433e2e2a7982b54b51de2ebabdd1611394a1";
+ sha256 = "4e339edfbba9e5feed0cf44043b6befba0c780b34cdf446888dbce44de362a8a";
};
LC_ALL="en_US.utf-8";
diff --git a/pkgs/development/python-modules/pytools/default.nix b/pkgs/development/python-modules/pytools/default.nix
index f8f9ef27ff9..4add5ac5e85 100644
--- a/pkgs/development/python-modules/pytools/default.nix
+++ b/pkgs/development/python-modules/pytools/default.nix
@@ -11,12 +11,12 @@
buildPythonPackage rec {
pname = "pytools";
- version = "2020.4";
+ version = "2020.4.3";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
- sha256 = "37db39ff11a1b5fc8aec875ae4ddb3d6c21aa0e95bddc9c841aa98e1631ae460";
+ sha256 = "21aa1fd942bc3bc54c8ae3b5e60c1f771e6db0817b7402fd802aa5964f20e629";
};
checkInputs = [ pytest ];
diff --git a/pkgs/development/python-modules/pywbem/default.nix b/pkgs/development/python-modules/pywbem/default.nix
index 345908031cc..e944f693503 100644
--- a/pkgs/development/python-modules/pywbem/default.nix
+++ b/pkgs/development/python-modules/pywbem/default.nix
@@ -5,14 +5,14 @@
buildPythonPackage rec {
pname = "pywbem";
- version = "1.0.2";
+ version = "1.0.3";
# Support added in master https://github.com/pywbem/pywbem/commit/b2f2f1a151a30355bbc6652dca69a7b30bfe941e awaiting release
disabled = isPy37;
src = fetchPypi {
inherit pname version;
- sha256 = "66d8ec82d30f2b95d8b4bd51659429066c2879d3f46292561f5fdbc7fed10f3d";
+ sha256 = "a6c53d9426326e0e722a5b1af3a1d55810259cb3afa92ca5e4029a6d533cab37";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/reportlab/default.nix b/pkgs/development/python-modules/reportlab/default.nix
index cbd3f54c547..3a668077a38 100644
--- a/pkgs/development/python-modules/reportlab/default.nix
+++ b/pkgs/development/python-modules/reportlab/default.nix
@@ -11,11 +11,11 @@ let
ft = freetype.overrideAttrs (oldArgs: { dontDisableStatic = true; });
in buildPythonPackage rec {
pname = "reportlab";
- version = "3.5.48";
+ version = "3.5.55";
src = fetchPypi {
inherit pname version;
- sha256 = "0bfe3fe6e1bd1d922f83683eae2ba1d2d29de94e25fb115eacca9530b4b02f76";
+ sha256 = "4f307accda32c9f17015ed77c7424f904514e349dff063f78d2462d715963e53";
};
checkInputs = [ glibcLocales ];
diff --git a/pkgs/development/python-modules/requests-aws4auth/default.nix b/pkgs/development/python-modules/requests-aws4auth/default.nix
index f954a340b7f..a2e92283dc7 100644
--- a/pkgs/development/python-modules/requests-aws4auth/default.nix
+++ b/pkgs/development/python-modules/requests-aws4auth/default.nix
@@ -2,20 +2,24 @@
with lib;
buildPythonPackage rec {
pname = "requests-aws4auth";
- version = "1.0";
+ version = "1.0.1";
src = fetchPypi {
inherit pname version;
- sha256 = "2950f6ff686b5a452a269076d990e4821d959b61cfac319c3d3c6daaa5db55ce";
+ sha256 = "9a4a5f4a61c49f098f5f669410308ac5b0ea2682fd511ee3a4f9ff73b5bb275a";
};
propagatedBuildInputs = [ requests ];
+ # pypi package no longer contains tests
+ doCheck = false;
checkPhase = ''
cd requests_aws4auth
${python.interpreter} test/requests_aws4auth_test.py
'';
+ pythonImportsCheck = [ "requests_aws4auth" ];
+
meta = {
description = "Amazon Web Services version 4 authentication for the Python Requests library.";
homepage = "https://github.com/sam-washington/requests-aws4auth";
diff --git a/pkgs/development/python-modules/robotframework/default.nix b/pkgs/development/python-modules/robotframework/default.nix
index cf9f4ea86f9..1a3b5545153 100644
--- a/pkgs/development/python-modules/robotframework/default.nix
+++ b/pkgs/development/python-modules/robotframework/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "robotframework";
- version = "3.2.1";
+ version = "3.2.2";
src = fetchPypi {
inherit pname version;
- sha256 = "d693e6d06b17f48669e2a8c4cb6c1f0d56e5f1a74835d18b8ea2118da7bf2d79";
+ sha256 = "a0786a916d0572bd9d6afe26e95c6021e3df5dcafa0ece6b302e36366e58c24e";
extension = "zip";
};
diff --git a/pkgs/development/python-modules/ruamel_ordereddict/default.nix b/pkgs/development/python-modules/ruamel_ordereddict/default.nix
index da4e891b2b3..7f05229a4f5 100644
--- a/pkgs/development/python-modules/ruamel_ordereddict/default.nix
+++ b/pkgs/development/python-modules/ruamel_ordereddict/default.nix
@@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "ruamel.ordereddict";
- version = "0.4.14";
+ version = "0.4.15";
disabled = isPy3k || isPyPy;
src = fetchPypi {
inherit pname version;
- sha256 = "281051d26eb2b18ef3d920e1e260716a52bd058a6b1a2f324102fc6a15cb8d4a";
+ sha256 = "d7d9cf8b11e7662deb460260cf062980cd84b87a1d0457132060ab9d44e0a5f4";
};
meta = with stdenv.lib; {
diff --git a/pkgs/development/python-modules/ruamel_yaml/default.nix b/pkgs/development/python-modules/ruamel_yaml/default.nix
index 9e32f9212cf..6bda50d24ad 100644
--- a/pkgs/development/python-modules/ruamel_yaml/default.nix
+++ b/pkgs/development/python-modules/ruamel_yaml/default.nix
@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "ruamel.yaml";
- version = "0.16.10";
+ version = "0.16.12";
src = fetchPypi {
inherit pname version;
- sha256 = "099c644a778bf72ffa00524f78dd0b6476bca94a1da344130f4bf3381ce5b954";
+ sha256 = "076cc0bc34f1966d920a49f18b52b6ad559fbe656a0748e3535cf7b3f29ebf9e";
};
# Tests use relative paths
diff --git a/pkgs/development/python-modules/rubymarshal/default.nix b/pkgs/development/python-modules/rubymarshal/default.nix
index 9668a26e094..6115702009a 100644
--- a/pkgs/development/python-modules/rubymarshal/default.nix
+++ b/pkgs/development/python-modules/rubymarshal/default.nix
@@ -12,6 +12,11 @@ buildPythonPackage rec {
propagatedBuildInputs = [ hypothesis ];
+ # pypi doesn't distribute tests
+ doCheck = false;
+
+ pythonImportsCheck = [ "rubymarshal" ];
+
meta = with stdenv.lib; {
homepage = "https://github.com/d9pouces/RubyMarshal/";
description = "Read and write Ruby-marshalled data";
diff --git a/pkgs/development/python-modules/scipy/default.nix b/pkgs/development/python-modules/scipy/default.nix
index 8ebb436e288..218415354db 100644
--- a/pkgs/development/python-modules/scipy/default.nix
+++ b/pkgs/development/python-modules/scipy/default.nix
@@ -9,11 +9,11 @@ let
});
in buildPythonPackage rec {
pname = "scipy";
- version = "1.5.2";
+ version = "1.5.4";
src = fetchPypi {
inherit pname version;
- sha256 = "066c513d90eb3fd7567a9e150828d39111ebd88d3e924cdfc9f8ce19ab6f90c9";
+ sha256 = "4a453d5e5689de62e5d38edf40af3f17560bfd63c9c5bd228c18c1f99afa155b";
};
checkInputs = [ nose pytest ];
diff --git a/pkgs/development/python-modules/scour/default.nix b/pkgs/development/python-modules/scour/default.nix
index 4f1f3929386..3d2e0722661 100644
--- a/pkgs/development/python-modules/scour/default.nix
+++ b/pkgs/development/python-modules/scour/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "scour";
- version = "0.38";
+ version = "0.38.1.post1";
src = fetchPypi {
inherit pname version;
- sha256 = "cf50a13dcdf8cfe1861f0ce334f413604e376a7681c5b181e15322f43c3befcd";
+ sha256 = "81b93dcfc57338f1260db4fb62697b653770a8a8bd756dcba3640c9b558a7145";
};
propagatedBuildInputs = [ six ];
diff --git a/pkgs/development/python-modules/scp/default.nix b/pkgs/development/python-modules/scp/default.nix
index b17be3c77d8..a37927b9a64 100644
--- a/pkgs/development/python-modules/scp/default.nix
+++ b/pkgs/development/python-modules/scp/default.nix
@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "scp";
- version = "0.13.2";
+ version = "0.13.3";
src = fetchPypi {
inherit pname version;
- sha256 = "1crlpw9lnn58fs1c1rmh7s7s9y5gkgpgjsqlvg9qa51kq1knx7gg";
+ sha256 = "8bd748293d7362073169b96ce4b8c4f93bcc62cfc5f7e1d949e01e406a025bd4";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/scramp/default.nix b/pkgs/development/python-modules/scramp/default.nix
new file mode 100644
index 00000000000..7beefa4e899
--- /dev/null
+++ b/pkgs/development/python-modules/scramp/default.nix
@@ -0,0 +1,24 @@
+{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook }:
+
+buildPythonPackage rec {
+ pname = "scramp";
+ version = "1.2.0";
+
+ src = fetchFromGitHub {
+ owner = "tlocke";
+ repo = "scramp";
+ rev = version;
+ sha256 = "15jb7z5l2lijxr60fb9v55i3f81h6d83c0b7fv5q0fv5q259nv0a";
+ };
+
+ checkInputs = [ pytestCheckHook ];
+
+ pythonImportsCheck = [ "scramp" ];
+
+ meta = with lib; {
+ description = "Implementation of the SCRAM authentication protocol";
+ homepage = "https://github.com/tlocke/scramp";
+ license = licenses.mit;
+ maintainers = with maintainers; [ jonringer ];
+ };
+}
diff --git a/pkgs/development/python-modules/screeninfo/default.nix b/pkgs/development/python-modules/screeninfo/default.nix
index 9ee04cb50a8..1b79a43af9c 100644
--- a/pkgs/development/python-modules/screeninfo/default.nix
+++ b/pkgs/development/python-modules/screeninfo/default.nix
@@ -1,12 +1,13 @@
-{ stdenv, buildPythonApplication, fetchPypi, isPy36, dataclasses, libX11, libXinerama, libXrandr }:
+{ stdenv, buildPythonApplication, fetchPypi, isPy27, isPy36, dataclasses, libX11, libXinerama, libXrandr }:
buildPythonApplication rec {
pname = "screeninfo";
- version = "0.6.5";
+ version = "0.6.6";
+ disabled = isPy27; # dataclasses isn't available for python2
src = fetchPypi {
inherit pname version;
- sha256 = "0vcw54crdgmbzwlrfg80kd1a8p9i10yks8k0szzi0k5q80zhp8xz";
+ sha256 = "c93fcc3c9421cc2046e57468241c4c08c0c6cffd0e05a85cb0b18de8fe8b026f";
};
# dataclasses is a compatibility shim for python 3.6 ONLY
diff --git a/pkgs/development/python-modules/slither-analyzer/default.nix b/pkgs/development/python-modules/slither-analyzer/default.nix
index 001c5f57f41..1c300bee394 100644
--- a/pkgs/development/python-modules/slither-analyzer/default.nix
+++ b/pkgs/development/python-modules/slither-analyzer/default.nix
@@ -4,7 +4,7 @@
buildPythonPackage rec {
pname = "slither-analyzer";
- version = "0.6.12";
+ version = "0.6.13";
disabled = pythonOlder "3.6";
@@ -13,7 +13,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "9773cf48754341d03bb2e65c07897fc9c00a8727487ab2820ed89eb85f546506";
+ sha256 = "2b0fe48f07971f4104e2b66d70a7924a550b477405b8feed9c0d4db14bb2c87c";
};
nativeBuildInputs = [ makeWrapper ];
diff --git a/pkgs/development/python-modules/sounddevice/default.nix b/pkgs/development/python-modules/sounddevice/default.nix
index eb46580a7b3..7787e8b16b8 100644
--- a/pkgs/development/python-modules/sounddevice/default.nix
+++ b/pkgs/development/python-modules/sounddevice/default.nix
@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "sounddevice";
- version = "0.4.0";
+ version = "0.4.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "007cfef077c447eebbdbca3d510ca4365c211c2c6c4d2912d6eec43c8cbcbc02";
+ sha256 = "f21978921186c0c7183af032fab77b735d824f3e926d76adb3fd0912e289ce0b";
};
propagatedBuildInputs = [ cffi numpy portaudio ];
diff --git a/pkgs/development/python-modules/sphinxcontrib-openapi/default.nix b/pkgs/development/python-modules/sphinxcontrib-openapi/default.nix
index d3e9f30f50a..bd62d2ef4f8 100644
--- a/pkgs/development/python-modules/sphinxcontrib-openapi/default.nix
+++ b/pkgs/development/python-modules/sphinxcontrib-openapi/default.nix
@@ -1,6 +1,7 @@
{ stdenv
, buildPythonPackage
, fetchPypi
+, isPy27
, setuptools_scm
, m2r
, pyyaml
@@ -11,6 +12,7 @@
buildPythonPackage rec {
pname = "sphinxcontrib-openapi";
version = "0.7.0";
+ disabled = isPy27;
src = fetchPypi {
inherit pname version;
diff --git a/pkgs/development/python-modules/sphinxcontrib-spelling/default.nix b/pkgs/development/python-modules/sphinxcontrib-spelling/default.nix
index 0dc7297be69..6b366ee517c 100644
--- a/pkgs/development/python-modules/sphinxcontrib-spelling/default.nix
+++ b/pkgs/development/python-modules/sphinxcontrib-spelling/default.nix
@@ -1,6 +1,9 @@
{ stdenv
+, lib
, buildPythonPackage
, fetchPypi
+, pythonOlder
+, importlib-metadata
, sphinx
, pyenchant
, pbr
@@ -15,7 +18,8 @@ buildPythonPackage rec {
sha256 = "c8250ff02e6033c3aeabc41e91dc185168fecefb0c5722aaa3e2055a829e1e4c";
};
- propagatedBuildInputs = [ sphinx pyenchant pbr ];
+ propagatedBuildInputs = [ sphinx pyenchant pbr ]
+ ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
# No tests included
doCheck = false;
diff --git a/pkgs/development/python-modules/sphinxcontrib_plantuml/default.nix b/pkgs/development/python-modules/sphinxcontrib_plantuml/default.nix
index 579b2f173ee..b5dd9e11db0 100644
--- a/pkgs/development/python-modules/sphinxcontrib_plantuml/default.nix
+++ b/pkgs/development/python-modules/sphinxcontrib_plantuml/default.nix
@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "sphinxcontrib-plantuml";
- version = "0.18";
+ version = "0.18.1";
src = fetchPypi {
inherit pname version;
- sha256 = "08555dndvp12g261wag3qklybdbfnjcmagh4gpl79k2kz5bqrk5c";
+ sha256 = "c69662d39e4ae214943d8c141dbfb1cf0a5f125d3b45d2c90849c5f37d0c5fb7";
};
# No tests included.
diff --git a/pkgs/development/python-modules/sqlalchemy/default.nix b/pkgs/development/python-modules/sqlalchemy/default.nix
index a4cb3bd6d73..83fd3e7b10b 100644
--- a/pkgs/development/python-modules/sqlalchemy/default.nix
+++ b/pkgs/development/python-modules/sqlalchemy/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "SQLAlchemy";
- version = "1.3.19";
+ version = "1.3.20";
src = fetchPypi {
inherit pname version;
- sha256 = "3bba2e9fbedb0511769780fe1d63007081008c5c2d7d715e91858c94dbaa260e";
+ sha256 = "d2f25c7f410338d31666d7ddedfa67570900e248b940d186b48461bd4e5569a1";
};
checkInputs = [
diff --git a/pkgs/development/python-modules/sqlmap/default.nix b/pkgs/development/python-modules/sqlmap/default.nix
index ddcaa061c6b..fe17c909efa 100644
--- a/pkgs/development/python-modules/sqlmap/default.nix
+++ b/pkgs/development/python-modules/sqlmap/default.nix
@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "sqlmap";
- version = "1.4.9";
+ version = "1.4.11";
src = fetchPypi {
inherit pname version;
- sha256 = "8f1f84799184a2d3b0433ece09fa0e2ff90a8286c562957667fe0f40dad28287";
+ sha256 = "5c91d13f090c8e891201c7b924cc2b2feccf12042b42075a5623b4986b9c9ee7";
};
postPatch = ''
diff --git a/pkgs/development/python-modules/srptools/default.nix b/pkgs/development/python-modules/srptools/default.nix
index 3b1844fb138..9fca318db0b 100644
--- a/pkgs/development/python-modules/srptools/default.nix
+++ b/pkgs/development/python-modules/srptools/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "srptools";
- version = "1.0.0";
+ version = "1.0.1";
src = fetchPypi {
inherit pname version;
- sha256 = "5754f639ed1888f47c1185d74e8907ff9af4c0ccc1c8be2ef19339d0a1327f4d";
+ sha256 = "7fa4337256a1542e8f5bb4bed19e1d9aea98fe5ff9baf76693342a1dd6ac7c96";
};
propagatedBuildInputs = [ six ];
diff --git a/pkgs/development/python-modules/statsmodels/default.nix b/pkgs/development/python-modules/statsmodels/default.nix
index 3ced08d7858..f538cdf0c04 100644
--- a/pkgs/development/python-modules/statsmodels/default.nix
+++ b/pkgs/development/python-modules/statsmodels/default.nix
@@ -13,12 +13,12 @@
buildPythonPackage rec {
pname = "statsmodels";
- version = "0.12.0";
+ version = "0.12.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "5c7d6707ad3112b67f564abaf1845d3c02ecc7174c2d990d539f45c37e98ad35";
+ sha256 = "a271b4ccec190148dccda25f0cbdcbf871f408fc1394a10a7dc1af4a62b91c8e";
};
nativeBuildInputs = [ cython ];
diff --git a/pkgs/development/python-modules/tasklib/default.nix b/pkgs/development/python-modules/tasklib/default.nix
index 1f204aecf14..319dd98234d 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 = "2.2.0";
+ version = "2.2.1";
src = fetchPypi {
inherit pname version;
- sha256 = "da66e84614b09443aa67c4dc2922213417329c39511dc5b384d8a5671e29115e";
+ sha256 = "21525a34469928876b64edf8abf79cf788bb3fa796d4554ba22a68bc1f0693f5";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/tempora/default.nix b/pkgs/development/python-modules/tempora/default.nix
index 238b250136c..0536b0f2ccd 100644
--- a/pkgs/development/python-modules/tempora/default.nix
+++ b/pkgs/development/python-modules/tempora/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "tempora";
- version = "4.0.0";
+ version = "4.0.1";
src = fetchPypi {
inherit pname version;
- sha256 = "599a3a910b377f2b544c7b221582ecf4cb049b017c994b37f2b1a9ed1099716e";
+ sha256 = "9af06854fafb26d3d40d3dd6402e8baefaf57f90e48fdc9a94f6b22827a60fb3";
};
disabled = pythonOlder "3.2";
diff --git a/pkgs/development/python-modules/testfixtures/default.nix b/pkgs/development/python-modules/testfixtures/default.nix
index 7c875ec0591..7a52c4c4192 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.14.1";
+ version = "6.14.2";
src = fetchPypi {
inherit pname version;
- sha256 = "0rh38zj8wywgqlsi5j75c7drpqhkrg50qknj1kdmvg4kdlab7ljq";
+ sha256 = "14d9907390f5f9c7189b3d511b64f34f1072d07cc13b604a57e1bb79029376e3";
};
checkInputs = [ pytest mock sybil zope_component twisted ];
diff --git a/pkgs/development/python-modules/textacy/default.nix b/pkgs/development/python-modules/textacy/default.nix
index 2079dc1b943..616db71a94f 100644
--- a/pkgs/development/python-modules/textacy/default.nix
+++ b/pkgs/development/python-modules/textacy/default.nix
@@ -17,12 +17,12 @@
buildPythonPackage rec {
pname = "textacy";
- version = "0.10.0";
+ version = "0.10.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "0a824333f53d19d24ca864c92da52f3fecd412f4ef3e1448864c45f06189fd6d";
+ sha256 = "ff72adc6dbb85db6981324e226fff77830da57d7fe7e4adb2cafd9dc2a8bfa7d";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/toml/default.nix b/pkgs/development/python-modules/toml/default.nix
index 8e96efcdf44..96c6635771c 100644
--- a/pkgs/development/python-modules/toml/default.nix
+++ b/pkgs/development/python-modules/toml/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "toml";
- version = "0.10.1";
+ version = "0.10.2";
src = fetchPypi {
inherit pname version;
- sha256 = "926b612be1e5ce0634a2ca03470f95169cf16f939018233a670519cb4ac58b0f";
+ sha256 = "b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f";
};
# This package has a test script (built for Travis) that involves a)
diff --git a/pkgs/development/python-modules/transitions/default.nix b/pkgs/development/python-modules/transitions/default.nix
index a8e84acc2df..a372e492f9f 100644
--- a/pkgs/development/python-modules/transitions/default.nix
+++ b/pkgs/development/python-modules/transitions/default.nix
@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "transitions";
- version = "0.8.2";
+ version = "0.8.4";
src = fetchPypi {
inherit pname version;
- sha256 = "0j3pswbckrhd6plblb0bwzsbvk50nqmxq6dvjclvcr5cljzs7xvg";
+ sha256 = "9a2841b24789dfd345267cb92e26b79da75fd03f6021d1a5222c71b5c9ae3c16";
};
postPatch = ''
diff --git a/pkgs/development/python-modules/tubeup/default.nix b/pkgs/development/python-modules/tubeup/default.nix
index d25180948a3..02269cdbfb2 100644
--- a/pkgs/development/python-modules/tubeup/default.nix
+++ b/pkgs/development/python-modules/tubeup/default.nix
@@ -9,13 +9,13 @@
buildPythonPackage rec {
pname = "tubeup";
- version = "0.0.19";
+ version = "0.0.20";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "6e3ebbf677a43018bfd71070919187bd57120010b0d708c0494c0f17bb72e84e";
+ sha256 = "8bf4004629b8427173c8259e1a09065db99135d6cc390b70a8a67b52a34a3f67";
};
postPatch = ''
diff --git a/pkgs/development/python-modules/txdbus/default.nix b/pkgs/development/python-modules/txdbus/default.nix
index 636e19b39ba..f6bc44981fb 100644
--- a/pkgs/development/python-modules/txdbus/default.nix
+++ b/pkgs/development/python-modules/txdbus/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "txdbus";
- version = "1.1.1";
+ version = "1.1.2";
src = fetchPypi {
inherit pname version;
- sha256 = "eefcffa4efbf82ba11222f17f5989fe1b2b6ef57226ef896c4a7084c990ba217";
+ sha256 = "8375a5fb68a12054f0def91af800c821fb2232949337756ed975f88d8ea2bc97";
};
propagatedBuildInputs = [ six twisted ];
diff --git a/pkgs/development/python-modules/u-msgpack-python/default.nix b/pkgs/development/python-modules/u-msgpack-python/default.nix
index ef4fe47b7a2..f44b7db455b 100644
--- a/pkgs/development/python-modules/u-msgpack-python/default.nix
+++ b/pkgs/development/python-modules/u-msgpack-python/default.nix
@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "u-msgpack-python";
- version = "2.7.0";
+ version = "2.7.1";
src = fetchPypi {
inherit pname version;
- sha256 = "996e4c4454771f0ff0fd2a7566b1a159d305d3611cd755addf444e3533e2bc54";
+ sha256 = "b7e7d433cab77171a4c752875d91836f3040306bab5063fb6dbe11f64ea69551";
};
LC_ALL="en_US.UTF-8";
diff --git a/pkgs/development/python-modules/update_checker/default.nix b/pkgs/development/python-modules/update_checker/default.nix
index fd3d0b02b63..6779a50e2c4 100644
--- a/pkgs/development/python-modules/update_checker/default.nix
+++ b/pkgs/development/python-modules/update_checker/default.nix
@@ -1,8 +1,10 @@
-{ stdenv, buildPythonPackage, fetchPypi, requests}:
+{ stdenv, buildPythonPackage, fetchPypi, requests, isPy27
+}:
buildPythonPackage rec {
pname = "update_checker";
version = "0.18.0";
+ disabled = isPy27;
src = fetchPypi {
inherit pname version;
diff --git a/pkgs/development/python-modules/urllib3/default.nix b/pkgs/development/python-modules/urllib3/default.nix
index 2715388e8f2..96bb2a0e532 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.10";
+ version = "1.25.11";
src = fetchPypi {
inherit pname version;
- sha256 = "91056c15fa70756691db97756772bb1eb9678fa585d9184f24534b100dc60f4a";
+ sha256 = "8d7eaa5a82a1cac232164990f04874c594c9453ec55eef02eab885aa02fc17a2";
};
NOSE_EXCLUDE = stdenv.lib.concatStringsSep "," [
diff --git a/pkgs/development/python-modules/urwid/default.nix b/pkgs/development/python-modules/urwid/default.nix
index 36fe4b51495..0846d801059 100644
--- a/pkgs/development/python-modules/urwid/default.nix
+++ b/pkgs/development/python-modules/urwid/default.nix
@@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "urwid";
- version = "2.1.1";
+ version = "2.1.2";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "09nmi2nmvpcmbh3w3fb0dn0c7yp7r20i5pfcr6q722xh6mp8cw3q";
+ sha256 = "588bee9c1cb208d0906a9f73c613d2bd32c3ed3702012f51efe318a3f2127eae";
};
# tests need to be able to set locale
diff --git a/pkgs/development/python-modules/vcrpy/default.nix b/pkgs/development/python-modules/vcrpy/default.nix
index 633c4f266cd..e67bbc59e93 100644
--- a/pkgs/development/python-modules/vcrpy/default.nix
+++ b/pkgs/development/python-modules/vcrpy/default.nix
@@ -15,11 +15,11 @@
buildPythonPackage rec {
pname = "vcrpy";
- version = "4.1.0";
+ version = "4.1.1";
src = fetchPypi {
inherit pname version;
- sha256 = "4138e79eb35981ad391406cbb7227bce7eba8bad788dcf1a89c2e4a8b740debe";
+ sha256 = "57095bf22fc0a2d99ee9674cdafebed0f3ba763018582450706f7d3a74fff599";
};
checkInputs = [
diff --git a/pkgs/development/python-modules/virtualenv/default.nix b/pkgs/development/python-modules/virtualenv/default.nix
index 6a9d91d79c8..4642a44762a 100644
--- a/pkgs/development/python-modules/virtualenv/default.nix
+++ b/pkgs/development/python-modules/virtualenv/default.nix
@@ -17,11 +17,11 @@
buildPythonPackage rec {
pname = "virtualenv";
- version = "20.0.31";
+ version = "20.0.35";
src = fetchPypi {
inherit pname version;
- sha256 = "43add625c53c596d38f971a465553f6318decc39d98512bc100fa1b1e839c8dc";
+ sha256 = "2a72c80fa2ad8f4e2985c06e6fc12c3d60d060e410572f553c90619b0f6efaf3";
};
nativeBuildInputs = [
diff --git a/pkgs/development/python-modules/xdis/default.nix b/pkgs/development/python-modules/xdis/default.nix
index 27f3c1af202..280470957dc 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 = "5.0.4";
+ version = "5.0.5";
disabled = isPy27;
src = fetchFromGitHub {
owner = "rocky";
repo = "python-xdis";
rev = version;
- sha256 = "0hh5pam8dabvh0w1bks0rqfq85gjy3h6ljrzmjg0nqsaapp1g4dd";
+ sha256 = "01248nh8y5szin6ymd3hrl8qnsg4xijsk3lxyks8zk9cjh008lmq";
};
checkInputs = [ pytest ];
diff --git a/pkgs/development/python-modules/xhtml2pdf/default.nix b/pkgs/development/python-modules/xhtml2pdf/default.nix
index e10c8e93ab5..c35d0b484d3 100644
--- a/pkgs/development/python-modules/xhtml2pdf/default.nix
+++ b/pkgs/development/python-modules/xhtml2pdf/default.nix
@@ -10,13 +10,13 @@
buildPythonPackage rec {
pname = "xhtml2pdf";
- version = "0.2.4";
+ version = "0.2.5";
propagatedBuildInputs = [pillow html5lib pypdf2 reportlab six];
src = fetchPypi {
inherit pname version;
- sha256 = "6793fbbdcb6bb8a4a70132966d8d95e95ea3498cdf0e82252d2b8e9aae34fcb5";
+ sha256 = "6797e974fac66f0efbe927c1539a2756ca4fe8777eaa5882bac132fc76b39421";
};
meta = with stdenv.lib; {
diff --git a/pkgs/development/python-modules/zeroconf/default.nix b/pkgs/development/python-modules/zeroconf/default.nix
index 6777378c2df..a8715a2133c 100644
--- a/pkgs/development/python-modules/zeroconf/default.nix
+++ b/pkgs/development/python-modules/zeroconf/default.nix
@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "zeroconf";
- version = "0.28.5";
+ version = "0.28.6";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "c08dbb90c116626cb6c5f19ebd14cd4846cffe7151f338c19215e6938d334980";
+ sha256 = "70f10f0f16e3a8c4eb5e1a106b812b8d052253041cf1ee1195933df706f5261c";
};
propagatedBuildInputs = [ ifaddr ]
diff --git a/pkgs/development/python-modules/zfec/default.nix b/pkgs/development/python-modules/zfec/default.nix
index e848511d9ca..dbcd8303ef2 100644
--- a/pkgs/development/python-modules/zfec/default.nix
+++ b/pkgs/development/python-modules/zfec/default.nix
@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "zfec";
- version = "1.5.3";
+ version = "1.5.4";
src = fetchPypi {
inherit pname version;
- sha256 = "b41bd4b0af9c6b3a78bd6734e1e4511475944164375e6241b53df518a366922b";
+ sha256 = "222a2d84898db792b28f993cb663e940668bfbd844992a82351fd40dc1680883";
};
buildInputs = [ setuptoolsDarcs ];
diff --git a/pkgs/development/python-modules/zha-quirks/default.nix b/pkgs/development/python-modules/zha-quirks/default.nix
index 1e1a55d689d..959e7f9c0d8 100644
--- a/pkgs/development/python-modules/zha-quirks/default.nix
+++ b/pkgs/development/python-modules/zha-quirks/default.nix
@@ -4,14 +4,14 @@
buildPythonPackage rec {
pname = "zha-quirks";
- version = "0.0.43";
+ version = "0.0.45";
nativeBuildInputs = [ pytest ];
buildInputs = [ aiohttp zigpy ];
src = fetchPypi {
inherit pname version;
- sha256 = "16f62dddce73bb27408b13a0d6526a250b588ca020405b2369e72d5dc9fa7607";
+ sha256 = "9f0640d2844939118c631d88df18d78adfa17d01cac3e04d7156e5f99e41bc7d";
};
meta = with stdenv.lib; {
diff --git a/pkgs/development/python-modules/zope_copy/default.nix b/pkgs/development/python-modules/zope_copy/default.nix
index 4d6e740278e..0d1ae412262 100644
--- a/pkgs/development/python-modules/zope_copy/default.nix
+++ b/pkgs/development/python-modules/zope_copy/default.nix
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
+, isPy27
, zope_interface
, zope_location
, zope_schema
@@ -18,6 +19,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ zope_interface ];
+ doCheck = !isPy27; # namespace conflicts
checkInputs = [ zope_location zope_schema ];
checkPhase = ''
diff --git a/pkgs/development/python-modules/zope_interface/default.nix b/pkgs/development/python-modules/zope_interface/default.nix
index 5e7086191cc..acef337e782 100644
--- a/pkgs/development/python-modules/zope_interface/default.nix
+++ b/pkgs/development/python-modules/zope_interface/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "zope.interface";
- version = "5.1.0";
+ version = "5.1.2";
src = fetchPypi {
inherit pname version;
- sha256 = "03nrl6b8cb600dnnh46y149awvrm0gxyqgwq5hdw3lvys8mw9r20";
+ sha256 = "c9c8e53a5472b77f6a391b515c771105011f4b40740ce53af8428d1c8ca20004";
};
propagatedBuildInputs = [ zope_event ];
diff --git a/pkgs/development/python-modules/zopfli/default.nix b/pkgs/development/python-modules/zopfli/default.nix
index 58b7d43f3d2..a80b3155b8c 100644
--- a/pkgs/development/python-modules/zopfli/default.nix
+++ b/pkgs/development/python-modules/zopfli/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "zopfli";
- version = "0.1.6";
+ version = "0.1.7";
src = fetchPypi {
inherit pname version;
- sha256 = "0smaxh7iihjr9mwxw1ifc9vnlh3ra8l060dd1gbvp1963k0r68pd";
+ sha256 = "512892714f0e3dcc9a77222cb509ed519f41ce2b92467e47a4b406a23b48561a";
extension = "zip";
};
diff --git a/pkgs/development/tools/build-managers/cmake/default.nix b/pkgs/development/tools/build-managers/cmake/default.nix
index 010f1d9c6c2..01c97305807 100644
--- a/pkgs/development/tools/build-managers/cmake/default.nix
+++ b/pkgs/development/tools/build-managers/cmake/default.nix
@@ -20,12 +20,12 @@ stdenv.mkDerivation rec {
+ lib.optionalString useNcurses "-cursesUI"
+ lib.optionalString withQt5 "-qt5UI"
+ lib.optionalString useQt4 "-qt4UI";
- version = "3.18.2";
+ version = "3.18.4";
src = fetchurl {
url = "${meta.homepage}files/v${lib.versions.majorMinor version}/cmake-${version}.tar.gz";
# compare with https://cmake.org/files/v${lib.versions.majorMinor version}/cmake-${version}-SHA-256.txt
- sha256 = "0zhxsnxm5d8wdarz2gs3r41r1dfrnh35ki75fa684gaxfzy40kjx";
+ sha256 = "0xsg5lw3i4bw610q987cwz3iz06x3lrbbaa2mnzyr4kaiqsn2z2r";
};
patches = [
diff --git a/pkgs/development/tools/build-managers/meson/default.nix b/pkgs/development/tools/build-managers/meson/default.nix
index 1b9c3ef6477..32948adfb6c 100644
--- a/pkgs/development/tools/build-managers/meson/default.nix
+++ b/pkgs/development/tools/build-managers/meson/default.nix
@@ -9,11 +9,11 @@
python3.pkgs.buildPythonApplication rec {
pname = "meson";
- version = "0.55.3";
+ version = "0.56.0";
src = python3.pkgs.fetchPypi {
inherit pname version;
- sha256 = "19cjy24mfaswxyvqmns6rd7hx05ybqb663zlgklspfr8l4jjmvbb";
+ sha256 = "04vj250bwrzq7c0z1r96b0z0vgirvn0m367wm3ygqmfdy67x6799";
};
patches = [
diff --git a/pkgs/development/tools/documentation/doxygen/default.nix b/pkgs/development/tools/documentation/doxygen/default.nix
index 772b654df93..613dec86d7c 100644
--- a/pkgs/development/tools/documentation/doxygen/default.nix
+++ b/pkgs/development/tools/documentation/doxygen/default.nix
@@ -1,15 +1,14 @@
-{ stdenv, cmake, fetchurl, python3, flex, bison, qt4, CoreServices, libiconv }:
+{ stdenv, cmake, fetchFromGitHub, python3, flex, bison, qt5, CoreServices, libiconv }:
stdenv.mkDerivation rec {
+ pname = "doxygen";
+ version = "1.8.20";
- name = "doxygen-1.8.19";
-
- src = fetchurl {
- urls = [
- "mirror://sourceforge/doxygen/${name}.src.tar.gz" # faster, with https, etc.
- "http://doxygen.nl/files/${name}.src.tar.gz"
- ];
- sha256 = "1lvqfw2yzba588c5ggl8yhw7aw4xkk44mrghsd9yqlajc48x25dc";
+ src = fetchFromGitHub {
+ owner = "doxygen";
+ repo = "doxygen";
+ rev = "Release_${stdenv.lib.replaceStrings [ "." ] [ "_" ] version}";
+ sha256 = "17chvi3i80rj4750smpizf562xjzd2xcv5rfyh997pyvc1zbq5rh";
};
nativeBuildInputs = [
@@ -20,19 +19,18 @@ stdenv.mkDerivation rec {
];
buildInputs =
- stdenv.lib.optional (qt4 != null) qt4
+ stdenv.lib.optionals (qt5 != null) (with qt5; [ qtbase wrapQtAppsHook ])
++ stdenv.lib.optional stdenv.isSunOS libiconv
++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices libiconv ];
cmakeFlags =
[ "-DICONV_INCLUDE_DIR=${libiconv}/include" ] ++
- stdenv.lib.optional (qt4 != null) "-Dbuild_wizard=YES";
+ stdenv.lib.optional (qt5 != null) "-Dbuild_wizard=YES";
NIX_CFLAGS_COMPILE =
stdenv.lib.optionalString stdenv.isDarwin "-mmacosx-version-min=10.9";
- enableParallelBuilding = true;
- doCheck = false; # fails
+ enableParallelBuilding = false;
meta = {
license = stdenv.lib.licenses.gpl2Plus;
@@ -47,6 +45,6 @@ stdenv.mkDerivation rec {
manual (in LaTeX) from a set of documented source files.
'';
- platforms = if qt4 != null then stdenv.lib.platforms.linux else stdenv.lib.platforms.unix;
+ platforms = if qt5 != null then stdenv.lib.platforms.linux else stdenv.lib.platforms.unix;
};
}
diff --git a/pkgs/development/tools/misc/binutils/default.nix b/pkgs/development/tools/misc/binutils/default.nix
index b352e63a27c..c0846fce45c 100644
--- a/pkgs/development/tools/misc/binutils/default.nix
+++ b/pkgs/development/tools/misc/binutils/default.nix
@@ -8,6 +8,7 @@
, bison ? null
, flex
, texinfo
+, perl
}:
# Note: this package is used for bootstrapping fetchurl, and thus
@@ -21,7 +22,10 @@ let
# Remove gold-symbol-visibility patch when updating, the proper fix
# is now upstream.
# https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=330b90b5ffbbc20c5de6ae6c7f60c40fab2e7a4f;hp=99181ccac0fc7d82e7dabb05dc7466e91f1645d3
- version = "2.31.1";
+ version = "${minorVersion}${patchVersion}";
+ minorVersion = if stdenv.targetPlatform.isOr1k then "2.34" else "2.31";
+ patchVersion = if stdenv.targetPlatform.isOr1k then "" else ".1";
+
basename = "binutils";
# The targetPrefix prepended to binary names to allow multiple binuntils on the
# PATH to both be usable.
@@ -33,33 +37,49 @@ let
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 {
+
+ # binutils sources not part of the bootstrap.
+ non-boot-src = (fetchurl {
url = "mirror://gnu/binutils/${basename}-${version}.tar.bz2";
- sha256 = "1l34hn1zkmhr1wcrgf0d4z7r3najxnw3cx2y2fk7v55zjlk3ik7z";
+ sha256 = {
+ "2.31.1" = "1l34hn1zkmhr1wcrgf0d4z7r3najxnw3cx2y2fk7v55zjlk3ik7z";
+ "2.34" = "1rin1f5c7wm4n3piky6xilcrpf2s0n3dd5vqq8irrxkcic3i1w49";
+ }.${version};
});
+
+ # HACK to ensure that we preserve source from bootstrap binutils to not rebuild LLVM
+ normal-src = stdenv.__bootPackages.binutils-unwrapped.src or non-boot-src;
+
+ # Platforms where we directly use the final source.
+ # Generally for cross-compiled platforms, where the boot source won't compile.
+ skipBootSrc = stdenv.targetPlatform.isOr1k;
+
+ # Select the specific source according to the platform in use.
+ src = if stdenv.targetPlatform.isVc4 then vc4-binutils-src
+ else if skipBootSrc then non-boot-src
+ else normal-src;
+
+ patchesDir = ./patches + "/${minorVersion}";
in
stdenv.mkDerivation {
pname = targetPrefix + basename;
- inherit version;
-
- src = if stdenv.targetPlatform.isVc4 then vc4-binutils-src else normal-src;
+ inherit src version;
patches = [
# Make binutils output deterministic by default.
- ./deterministic.patch
+ "${patchesDir}/deterministic.patch"
# Bfd looks in BINDIR/../lib for some plugins that don't
# exist. This is pointless (since users can't install plugins
# there) and causes a cycle between the lib and bin outputs, so
# get rid of it.
- ./no-plugins.patch
+ "${patchesDir}/no-plugins.patch"
# Help bfd choose between elf32-littlearm, elf32-littlearm-symbian, and
# elf32-littlearm-vxworks in favor of the first.
# https://github.com/NixOS/nixpkgs/pull/30484#issuecomment-345472766
- ./disambiguate-arm-targets.patch
+ "${patchesDir}/disambiguate-arm-targets.patch"
# For some reason bfd ld doesn't search DT_RPATH when cross-compiling. It's
# not clear why this behavior was decided upon but it has the unfortunate
@@ -67,25 +87,30 @@ stdenv.mkDerivation {
# shared objects when cross-compiling. Consequently, we are forced to
# override this behavior, forcing ld to search DT_RPATH even when
# cross-compiling.
- ./always-search-rpath.patch
-
- ] ++ lib.optionals (!stdenv.targetPlatform.isVc4)
- [
+ "${patchesDir}/always-search-rpath.patch"
+ ]
+ # For version 2.31 exclusively
+ ++ lib.optionals (!stdenv.targetPlatform.isVc4 && minorVersion == "2.31") [
# https://sourceware.org/bugzilla/show_bug.cgi?id=22868
- ./gold-symbol-visibility.patch
+ ./patches/2.31/gold-symbol-visibility.patch
# https://sourceware.org/bugzilla/show_bug.cgi?id=23428
# un-break features so linking against musl doesn't produce crash-only binaries
- ./0001-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch
- ./0001-x86-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED.patch
- ./0001-x86-Properly-add-X86_ISA_1_NEEDED-property.patch
- ] ++ lib.optional stdenv.targetPlatform.isiOS ./support-ios.patch;
+ ./patches/2.31/0001-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch
+ ./patches/2.31/0001-x86-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED.patch
+ ./patches/2.31/0001-x86-Properly-add-X86_ISA_1_NEEDED-property.patch
+ ]
+ ++ lib.optional stdenv.targetPlatform.isiOS ./support-ios.patch
+ ;
outputs = [ "out" "info" "man" ];
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [
bison
+ ] ++ lib.optionals (lib.versionAtLeast version "2.34") [
+ perl
+ texinfo
] ++ (lib.optionals stdenv.targetPlatform.isiOS [
autoreconfHook
]) ++ lib.optionals stdenv.targetPlatform.isVc4 [ texinfo flex ];
@@ -149,7 +174,7 @@ stdenv.mkDerivation {
enableParallelBuilding = true;
passthru = {
- inherit targetPrefix;
+ inherit targetPrefix patchesDir;
};
meta = with lib; {
diff --git a/pkgs/development/tools/misc/binutils/0001-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch b/pkgs/development/tools/misc/binutils/patches/2.31/0001-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch
similarity index 100%
rename from pkgs/development/tools/misc/binutils/0001-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch
rename to pkgs/development/tools/misc/binutils/patches/2.31/0001-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch
diff --git a/pkgs/development/tools/misc/binutils/0001-x86-Properly-add-X86_ISA_1_NEEDED-property.patch b/pkgs/development/tools/misc/binutils/patches/2.31/0001-x86-Properly-add-X86_ISA_1_NEEDED-property.patch
similarity index 100%
rename from pkgs/development/tools/misc/binutils/0001-x86-Properly-add-X86_ISA_1_NEEDED-property.patch
rename to pkgs/development/tools/misc/binutils/patches/2.31/0001-x86-Properly-add-X86_ISA_1_NEEDED-property.patch
diff --git a/pkgs/development/tools/misc/binutils/0001-x86-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED.patch b/pkgs/development/tools/misc/binutils/patches/2.31/0001-x86-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED.patch
similarity index 100%
rename from pkgs/development/tools/misc/binutils/0001-x86-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED.patch
rename to pkgs/development/tools/misc/binutils/patches/2.31/0001-x86-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED.patch
diff --git a/pkgs/development/tools/misc/binutils/always-search-rpath.patch b/pkgs/development/tools/misc/binutils/patches/2.31/always-search-rpath.patch
similarity index 100%
rename from pkgs/development/tools/misc/binutils/always-search-rpath.patch
rename to pkgs/development/tools/misc/binutils/patches/2.31/always-search-rpath.patch
diff --git a/pkgs/development/tools/misc/binutils/build-components-separately.patch b/pkgs/development/tools/misc/binutils/patches/2.31/build-components-separately.patch
similarity index 100%
rename from pkgs/development/tools/misc/binutils/build-components-separately.patch
rename to pkgs/development/tools/misc/binutils/patches/2.31/build-components-separately.patch
diff --git a/pkgs/development/tools/misc/binutils/deterministic.patch b/pkgs/development/tools/misc/binutils/patches/2.31/deterministic.patch
similarity index 100%
rename from pkgs/development/tools/misc/binutils/deterministic.patch
rename to pkgs/development/tools/misc/binutils/patches/2.31/deterministic.patch
diff --git a/pkgs/development/tools/misc/binutils/disambiguate-arm-targets.patch b/pkgs/development/tools/misc/binutils/patches/2.31/disambiguate-arm-targets.patch
similarity index 100%
rename from pkgs/development/tools/misc/binutils/disambiguate-arm-targets.patch
rename to pkgs/development/tools/misc/binutils/patches/2.31/disambiguate-arm-targets.patch
diff --git a/pkgs/development/tools/misc/binutils/gold-symbol-visibility.patch b/pkgs/development/tools/misc/binutils/patches/2.31/gold-symbol-visibility.patch
similarity index 100%
rename from pkgs/development/tools/misc/binutils/gold-symbol-visibility.patch
rename to pkgs/development/tools/misc/binutils/patches/2.31/gold-symbol-visibility.patch
diff --git a/pkgs/development/tools/misc/binutils/no-plugins.patch b/pkgs/development/tools/misc/binutils/patches/2.31/no-plugins.patch
similarity index 100%
rename from pkgs/development/tools/misc/binutils/no-plugins.patch
rename to pkgs/development/tools/misc/binutils/patches/2.31/no-plugins.patch
diff --git a/pkgs/development/tools/misc/binutils/patches/2.34/always-search-rpath.patch b/pkgs/development/tools/misc/binutils/patches/2.34/always-search-rpath.patch
new file mode 100644
index 00000000000..2e9956e6b6e
--- /dev/null
+++ b/pkgs/development/tools/misc/binutils/patches/2.34/always-search-rpath.patch
@@ -0,0 +1,14 @@
+diff --git a/ld/genscripts.sh b/ld/genscripts.sh
+index b6940d376d..0feb1adfd0 100755
+--- a/ld/genscripts.sh
++++ b/ld/genscripts.sh
+@@ -125,6 +125,9 @@ if test "x$NATIVE" = "xyes" ; then
+ USE_LIBPATH=yes
+ fi
+
++# TODO: why is this needed?
++USE_LIBPATH=yes
++
+ # Set the library search path, for libraries named by -lfoo.
+ # If LIB_PATH is defined (e.g., by Makefile) and non-empty, it is used.
+ # Otherwise, the default is set here.
diff --git a/pkgs/development/tools/misc/binutils/patches/2.34/build-components-separately.patch b/pkgs/development/tools/misc/binutils/patches/2.34/build-components-separately.patch
new file mode 100644
index 00000000000..38fa4934a28
--- /dev/null
+++ b/pkgs/development/tools/misc/binutils/patches/2.34/build-components-separately.patch
@@ -0,0 +1,164 @@
+diff --git a/bfd/configure.ac b/bfd/configure.ac
+index c5bfbd5d..45ad4c26 100644
+--- a/bfd/configure.ac
++++ b/bfd/configure.ac
+@@ -278,31 +278,19 @@ AC_CACHE_CHECK(linker --as-needed support, bfd_cv_ld_as_needed,
+
+ LT_LIB_M
+
+-# When building a shared libbfd, link against the pic version of libiberty
+-# so that apps that use libbfd won't need libiberty just to satisfy any
+-# libbfd references.
+-# We can't do that if a pic libiberty is unavailable since including non-pic
+-# code would insert text relocations into libbfd.
+ SHARED_LIBADD=
+-SHARED_LDFLAGS=
++SHARED_LDFLAGS=-liberty
+ if test "$enable_shared" = "yes"; then
+-changequote(,)dnl
+- x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
+-changequote([,])dnl
+- if test -n "$x"; then
+- SHARED_LIBADD="-L`pwd`/../libiberty/pic -liberty"
+- fi
+-
+ case "${host}" in
+ # More hacks to build DLLs on Windows.
+ *-*-cygwin*)
+ SHARED_LDFLAGS="-no-undefined"
+- SHARED_LIBADD="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
++ SHARED_LIBADD="-liberty -lintl -lcygwin -lkernel32"
+ ;;
+
+ # Use built-in libintl on macOS, since it is not provided by libc.
+ *-*-darwin*)
+- SHARED_LIBADD="-L`pwd`/../libiberty/pic -L`pwd`/../intl -liberty -lintl"
++ SHARED_LIBADD="-liberty -lintl"
+ ;;
+ esac
+
+diff --git a/opcodes/Makefile.am b/opcodes/Makefile.am
+index 4f06074a..6836c589 100644
+--- a/opcodes/Makefile.am
++++ b/opcodes/Makefile.am
+@@ -51,7 +51,7 @@ libopcodes_la_LDFLAGS += -rpath $(rpath_bfdlibdir)
+ endif
+
+ # This is where bfd.h lives.
+-BFD_H = ../bfd/bfd.h
++BFD_H = $(BFDDIR)/bfd.h
+
+ BUILD_LIBS = @BUILD_LIBS@
+ BUILD_LIB_DEPS = @BUILD_LIB_DEPS@
+@@ -301,7 +301,7 @@ OFILES = @BFD_MACHINES@
+ # development.sh is used to determine -Werror default.
+ CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/development.sh
+
+-AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -I$(INCDIR) -I$(BFDDIR) @HDEFINES@ @INCINTL@
++AM_CPPFLAGS = -I. -I$(srcdir) -I$(INCDIR) -I$(BFDDIR) @HDEFINES@ @INCINTL@
+
+ disassemble.lo: disassemble.c
+ if am__fastdepCC
+@@ -322,12 +322,21 @@ libopcodes_la_SOURCES = dis-buf.c disassemble.c dis-init.c
+ # old version of libbfd, or to pick up libbfd for the wrong architecture
+ # if host != build. So for building with shared libraries we use a
+ # hardcoded path to libbfd.so instead of relying on the entries in libbfd.la.
+-libopcodes_la_DEPENDENCIES = $(OFILES) @SHARED_DEPENDENCIES@
++libopcodes_la_DEPENDENCIES = $(OFILES) @SHARED_DEPENDENCIES@ libtool-soversion
+ libopcodes_la_LIBADD = $(OFILES) @SHARED_LIBADD@
+-libopcodes_la_LDFLAGS += -release `cat ../bfd/libtool-soversion` @SHARED_LDFLAGS@
++libopcodes_la_LDFLAGS += -release `cat libtool-soversion` @SHARED_LDFLAGS@
+ # Allow dependency tracking to work on all the source files.
+ EXTRA_libopcodes_la_SOURCES = $(LIBOPCODES_CFILES)
+
++libtool-soversion:
++ @echo "creating $@"
++ bfd_soversion="$(VERSION)" ;\
++ . $(BFDDIR)/development.sh ;\
++ if test "$$development" = true ; then \
++ bfd_soversion="$(VERSION).$${bfd_version_date}" ;\
++ fi ;\
++ echo "$${bfd_soversion}" > $@
++
+ # libtool will build .libs/libopcodes.a. We create libopcodes.a in
+ # the build directory so that we don't have to convert all the
+ # programs that use libopcodes.a simultaneously. This is a hack which
+diff --git a/opcodes/configure.ac b/opcodes/configure.ac
+index 00be9c88..6e589ae4 100644
+--- a/opcodes/configure.ac
++++ b/opcodes/configure.ac
+@@ -86,6 +86,7 @@ AC_PROG_INSTALL
+
+ AC_CHECK_HEADERS(string.h strings.h stdlib.h limits.h)
+ ACX_HEADER_STRING
++GCC_HEADER_STDINT(bfd_stdint.h)
+
+ AC_CHECK_DECLS([basename, stpcpy])
+
+@@ -137,61 +138,27 @@ AC_CACHE_CHECK(linker --as-needed support, bfd_cv_ld_as_needed,
+
+ LT_LIB_M
+
+-#Libs for generator progs
+-if test "x$cross_compiling" = "xno"; then
+- BUILD_LIBS=../libiberty/libiberty.a
+- BUILD_LIB_DEPS=$BUILD_LIBS
+-else
+- # if cross-compiling, assume that the system provides -liberty
+- # and that the version is compatible with new headers.
+- BUILD_LIBS=-liberty
+- BUILD_LIB_DEPS=
+-fi
+-BUILD_LIBS="$BUILD_LIBS $LIBINTL"
+-BUILD_LIB_DEPS="$BUILD_LIB_DEPS $LIBINTL_DEP"
++BUILD_LIBS="-liberty $LIBINTL"
++BUILD_LIB_DEPS="$LIBINTL_DEP"
+
+ AC_SUBST(BUILD_LIBS)
+ AC_SUBST(BUILD_LIB_DEPS)
+
+ # Horrible hacks to build DLLs on Windows and a shared library elsewhere.
+ SHARED_LDFLAGS=
+-SHARED_LIBADD=
++SHARED_LIBADD=-liberty
+ SHARED_DEPENDENCIES=
+ if test "$enable_shared" = "yes"; then
+-# When building a shared libopcodes, link against the pic version of libiberty
+-# so that apps that use libopcodes won't need libiberty just to satisfy any
+-# libopcodes references.
+-# We can't do that if a pic libiberty is unavailable since including non-pic
+-# code would insert text relocations into libopcodes.
+ # Note that linking against libbfd as we do here, which is itself linked
+ # against libiberty, may not satisfy all the libopcodes libiberty references
+ # since libbfd may not pull in the entirety of libiberty.
+-changequote(,)dnl
+- x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
+-changequote([,])dnl
+- if test -n "$x"; then
+- SHARED_LIBADD="-L`pwd`/../libiberty/pic -liberty"
+- fi
+-
+ case "${host}" in
+ *-*-cygwin*)
+ SHARED_LDFLAGS="-no-undefined"
+- SHARED_LIBADD="-L`pwd`/../bfd -lbfd -L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin"
++ SHARED_LIBADD="-lbfd -liberty -lintl -lcygwin"
+ ;;
+- *-*-darwin*)
+- SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.dylib ${SHARED_LIBADD}"
+- SHARED_DEPENDENCIES="../bfd/libbfd.la"
+- ;;
+ *)
+- case "$host_vendor" in
+- hp)
+- SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.sl ${SHARED_LIBADD}"
+- ;;
+- *)
+- SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.so ${SHARED_LIBADD}"
+- ;;
+- esac
+- SHARED_DEPENDENCIES="../bfd/libbfd.la"
++ SHARED_LIBADD="-lbfd ${SHARED_LIBADD}"
+ ;;
+ esac
+
diff --git a/pkgs/development/tools/misc/binutils/patches/2.34/deterministic.patch b/pkgs/development/tools/misc/binutils/patches/2.34/deterministic.patch
new file mode 100644
index 00000000000..736e0aca6ce
--- /dev/null
+++ b/pkgs/development/tools/misc/binutils/patches/2.34/deterministic.patch
@@ -0,0 +1,12 @@
+diff -ur orig/binutils-2.23.1/ld/ldlang.c binutils-2.23.1/ld/ldlang.c
+--- orig/ld/ldlang.c
++++ new/ld/ldlang.c
+@@ -3095,6 +3095,8 @@
+ ldfile_output_machine))
+ einfo (_("%P%F:%s: can not set architecture: %E\n"), name);
+
++ link_info.output_bfd->flags |= BFD_DETERMINISTIC_OUTPUT;
++
+ link_info.hash = bfd_link_hash_table_create (link_info.output_bfd);
+ if (link_info.hash == NULL)
+ einfo (_("%P%F: can not create hash table: %E\n"));
diff --git a/pkgs/development/tools/misc/binutils/patches/2.34/disambiguate-arm-targets.patch b/pkgs/development/tools/misc/binutils/patches/2.34/disambiguate-arm-targets.patch
new file mode 100644
index 00000000000..abbfa73da05
--- /dev/null
+++ b/pkgs/development/tools/misc/binutils/patches/2.34/disambiguate-arm-targets.patch
@@ -0,0 +1,23 @@
+diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
+index 9f956d3..f5b61f1 100644
+--- a/bfd/elf32-arm.c
++++ b/bfd/elf32-arm.c
+@@ -19585,7 +19585,10 @@ elf32_arm_vxworks_final_write_processing (bfd *abfd, bfd_boolean linker)
+ #undef ELF_MAXPAGESIZE
+ #define ELF_MAXPAGESIZE 0x1000
+
++/* Prioritize elf32-*arm (priority 1) over elf32-*arm-vxworks (priority 2) */
++#define elf_match_priority 2
+ #include "elf32-target.h"
++#undef elf_match_priority
+
+
+ /* Merge backend specific data from an object file to the output
+@@ -19974,4 +19977,7 @@ elf32_arm_symbian_plt_sym_val (bfd_vma i, const asection *plt,
+ #undef ELF_MAXPAGESIZE
+ #define ELF_MAXPAGESIZE 0x8000
+
++/* Prioritize elf32-*arm (priority 1) over elf32-*arm-symbian (priority 2) */
++#define elf_match_priority 2
+ #include "elf32-target.h"
++#undef elf_match_priority
diff --git a/pkgs/development/tools/misc/binutils/patches/2.34/no-plugins.patch b/pkgs/development/tools/misc/binutils/patches/2.34/no-plugins.patch
new file mode 100644
index 00000000000..68cf51b7dd3
--- /dev/null
+++ b/pkgs/development/tools/misc/binutils/patches/2.34/no-plugins.patch
@@ -0,0 +1,21 @@
+diff --git a/bfd/plugin.c b/bfd/plugin.c
+index 537ab60311..bfe7957f96 100644
+--- a/bfd/plugin.c
++++ b/bfd/plugin.c
+@@ -386,6 +386,7 @@ load_plugin (bfd *abfd)
+ if (plugin_program_name == NULL)
+ return found;
+
++#if 0
+ /* Try not to search the same dir twice, by looking at st_dev and
+ st_ino for the dir. If we are on a file system that always sets
+ st_ino to zero or the actual st_ino is zero we might waste some
+@@ -437,7 +438,7 @@ load_plugin (bfd *abfd)
+ if (found)
+ break;
+ }
+-
++#endif
+ return found;
+ }
+
diff --git a/pkgs/os-specific/darwin/apple-sdk/cf-setup-hook.sh b/pkgs/os-specific/darwin/apple-sdk/cf-setup-hook.sh
index 86c241cd0f5..bbf9625e655 100644
--- a/pkgs/os-specific/darwin/apple-sdk/cf-setup-hook.sh
+++ b/pkgs/os-specific/darwin/apple-sdk/cf-setup-hook.sh
@@ -3,7 +3,7 @@ linkSystemCoreFoundationFramework() {
# gross! many symbols (such as _OBJC_CLASS_$_NSArray) are defined in system CF, but not
# in the opensource release
# if the package needs private headers, we assume they also want to link with system CF
- NIX_LDFLAGS+=" /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation"
+ NIX_LDFLAGS+=" @out@/Library/Frameworks/CoreFoundation.framework/CoreFoundation"
}
preConfigureHooks+=(linkSystemCoreFoundationFramework)
diff --git a/pkgs/os-specific/darwin/apple-sdk/default.nix b/pkgs/os-specific/darwin/apple-sdk/default.nix
index 89c13d0b92d..97523cf15a8 100644
--- a/pkgs/os-specific/darwin/apple-sdk/default.nix
+++ b/pkgs/os-specific/darwin/apple-sdk/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, xar, cpio, pkgs, python3, pbzx, lib }:
+{ stdenv, fetchurl, xar, cpio, pkgs, python3, pbzx, lib, darwin-stubs, print-reexports }:
let version = "10.12"; in
@@ -42,7 +42,12 @@ let
rmdir System
pushd lib
- ln -s -L /usr/lib/libcups*.dylib .
+ cp ${darwin-stubs}/usr/lib/libcups*.tbd .
+ ln -s libcups.2.tbd libcups.tbd
+ ln -s libcupscgi.1.tbd libcupscgi.tbd
+ ln -s libcupsimage.2.tbd libcupsimage.tbd
+ ln -s libcupsmime.1.tbd libcupsmime.tbd
+ ln -s libcupsppdc.1.tbd libcupsppdc.tbd
popd
'';
@@ -53,6 +58,12 @@ let
};
};
+ mkFrameworkSubs = name: deps:
+ let
+ deps' = deps // { "${name}" = placeholder "out"; };
+ substArgs = lib.concatMap (x: [ "--subst-var-by" x deps'."${x}" ]) (lib.attrNames deps');
+ in lib.escapeShellArgs substArgs;
+
framework = name: deps: stdenv.mkDerivation {
name = "apple-framework-${name}";
@@ -63,11 +74,14 @@ let
disallowedRequisites = [ sdk ];
+ nativeBuildInputs = [ print-reexports ];
+
+ extraTBDFiles = [];
+
installPhase = ''
linkFramework() {
local path="$1"
local nested_path="$1"
- local dest="$out/Library/Frameworks/$path"
if [ "$path" == "JavaNativeFoundation.framework" ]; then
local nested_path="JavaVM.framework/Versions/A/Frameworks/JavaNativeFoundation.framework"
fi
@@ -80,21 +94,29 @@ let
current=A
fi
- mkdir -p "$dest"
- pushd "$dest" >/dev/null
+ local dest="$out/Library/Frameworks/$path"
- # Keep track of if this is a child or a child rescue as with
- # ApplicationServices in the 10.9 SDK
- local isChild=0
+ mkdir -p "$dest/Versions/$current"
+ pushd "$dest/Versions/$current" >/dev/null
if [ -d "${sdk.out}/Library/Frameworks/$nested_path/Versions/$current/Headers" ]; then
- isChild=1
cp -R "${sdk.out}/Library/Frameworks/$nested_path/Versions/$current/Headers" .
elif [ -d "${sdk.out}/Library/Frameworks/$name.framework/Versions/$current/Headers" ]; then
current="$(readlink "/System/Library/Frameworks/$name.framework/Versions/Current")"
cp -R "${sdk.out}/Library/Frameworks/$name.framework/Versions/$current/Headers" .
fi
- ln -s -L "/System/Library/Frameworks/$nested_path/Versions/$current/$name"
+
+ local tbd_source=${darwin-stubs}/System/Library/Frameworks/$nested_path/Versions/$current
+ if [ "${name}" != "Kernel" ]; then
+ # The Kernel.framework has headers but no actual library component.
+ cp -v $tbd_source/*.tbd .
+ fi
+
+ if [ -d "$tbd_source/Libraries" ]; then
+ mkdir Libraries
+ cp -v $tbd_source/Libraries/*.tbd Libraries/
+ fi
+
ln -s -L "/System/Library/Frameworks/$nested_path/Versions/$current/Resources"
if [ -f "/System/Library/Frameworks/$nested_path/module.map" ]; then
@@ -110,17 +132,45 @@ let
linkFramework "$childpath"
done
- if [ -d "$dest/Versions/$current" ]; then
- mv $dest/Versions/$current/* .
- fi
+ pushd ../.. >/dev/null
+ ln -s "$current" Versions/Current
+ ln -s Versions/Current/* .
+ popd >/dev/null
popd >/dev/null
}
linkFramework "${name}.framework"
+
+ # linkFramework is recursive, the rest of the processing is not.
+
+ local tbd_source=${darwin-stubs}/System/Library/Frameworks/${name}.framework
+ for tbd in $extraTBDFiles; do
+ local tbd_dest_dir=$out/Library/Frameworks/${name}.framework/$(dirname "$tbd")
+ mkdir -p "$tbd_dest_dir"
+ cp -v "$tbd_source/$tbd" "$tbd_dest_dir"
+ done
+
+ # Fix and check tbd re-export references
+ find $out -name '*.tbd' | while read tbd; do
+ echo "Fixing re-exports in $tbd"
+ substituteInPlace "$tbd" ${mkFrameworkSubs name deps}
+
+ echo "Checking re-exports in $tbd"
+ print-reexports "$tbd" | while read target; do
+ local expected="''${target%.dylib}.tbd"
+ if ! [ -e "$expected" ]; then
+ echo -e "Re-export missing:\n\t$target\n\t(expected $expected)"
+ echo -e "While processing\n\t$tbd"
+ exit 1
+ else
+ echo "Re-exported target $target ok"
+ fi
+ done
+ done
'';
- propagatedBuildInputs = deps;
+ propagatedBuildInputs = builtins.attrValues deps;
# don't use pure CF for dylibs that depend on frameworks
setupHook = ./framework-setup-hook.sh;
@@ -139,6 +189,17 @@ let
platforms = platforms.darwin;
};
};
+
+ tbdOnlyFramework = name: { private ? true }: stdenv.mkDerivation {
+ name = "apple-framework-${name}";
+ dontUnpack = true;
+ installPhase = ''
+ mkdir -p $out/Library/Frameworks/
+ cp -r ${darwin-stubs}/System/Library/${lib.optionalString private "Private"}Frameworks/${name}.framework \
+ $out/Library/Frameworks
+ # NOTE there's no re-export checking here, this is probably wrong
+ '';
+ };
in rec {
libs = {
xpc = stdenv.mkDerivation {
@@ -168,7 +229,8 @@ in rec {
installPhase = ''
mkdir -p $out/include $out/lib
ln -s "${lib.getDev sdk}/include/Xplugin.h" $out/include/Xplugin.h
- ln -s "/usr/lib/libXplugin.1.dylib" $out/lib/libXplugin.dylib
+ cp ${darwin-stubs}/usr/lib/libXplugin.1.tbd $out/lib
+ ln -s libXplugin.1.tbd $out/lib/libXplugin.tbd
'';
};
@@ -193,6 +255,10 @@ in rec {
];
});
+ Carbon = stdenv.lib.overrideDerivation super.Carbon (drv: {
+ extraTBDFiles = [ "Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering.tbd" ];
+ });
+
CoreFoundation = stdenv.lib.overrideDerivation super.CoreFoundation (drv: {
setupHook = ./cf-setup-hook.sh;
});
@@ -210,6 +276,10 @@ in rec {
setupHook = ./private-frameworks-setup-hook.sh;
});
+ IMServicePlugIn = stdenv.lib.overrideDerivation super.IMServicePlugIn (drv: {
+ extraTBDFiles = [ "Versions/A/Frameworks/IMServicePlugInSupport.framework/Versions/A/IMServicePlugInSupport.tbd" ];
+ });
+
Security = stdenv.lib.overrideDerivation super.Security (drv: {
setupHook = ./security-setup-hook.sh;
});
@@ -228,7 +298,14 @@ in rec {
cp ${lib.getDev sdk}/include/simd/*.h $out/include/simd/
'';
});
- };
+
+ WebKit = stdenv.lib.overrideDerivation super.WebKit (drv: {
+ extraTBDFiles = [
+ "Versions/A/Frameworks/WebCore.framework/Versions/A/WebCore.tbd"
+ "Versions/A/Frameworks/WebKitLegacy.framework/Versions/A/WebKitLegacy.tbd"
+ ];
+ });
+ } // lib.genAttrs [ "ContactsPersistence" "UIFoundation" "GameCenter" ] (x: tbdOnlyFramework x {});
bareFrameworks = stdenv.lib.mapAttrs framework (import ./frameworks.nix {
inherit frameworks libs;
diff --git a/pkgs/os-specific/darwin/apple-sdk/frameworks.nix b/pkgs/os-specific/darwin/apple-sdk/frameworks.nix
index 02e2421f347..bf0b134773d 100644
--- a/pkgs/os-specific/darwin/apple-sdk/frameworks.nix
+++ b/pkgs/os-specific/darwin/apple-sdk/frameworks.nix
@@ -5,123 +5,125 @@
{ frameworks, libs, libobjc, }:
with frameworks; with libs; {
- AGL = [ Carbon OpenGL ];
- AVFoundation = [ ApplicationServices CoreGraphics ];
- AVKit = [];
- Accounts = [];
- AddressBook = [ Carbon ];
- AppKit = [ AudioToolbox AudioUnit Foundation QuartzCore ];
- AppKitScripting = [];
- AppleScriptKit = [];
- AppleScriptObjC = [];
- AudioToolbox = [ CoreAudio CoreMIDI ];
- AudioUnit = [ AudioToolbox Carbon CoreAudio ];
- AudioVideoBridging = [ Foundation ];
- Automator = [];
- CFNetwork = [];
- CalendarStore = [];
- Cocoa = [ AppKit ];
- Collaboration = [];
+ AGL = { inherit Carbon OpenGL; };
+ AVFoundation = { inherit ApplicationServices CoreGraphics; };
+ AVKit = {};
+ Accounts = {};
+ AddressBook = { inherit libobjc Carbon ContactsPersistence; };
+ AppKit = { inherit ApplicationServices AudioToolbox AudioUnit Foundation QuartzCore UIFoundation; };
+ AppKitScripting = {};
+ AppleScriptKit = {};
+ AppleScriptObjC = {};
+ AudioToolbox = { inherit CoreAudio CoreMIDI; };
+ AudioUnit = { inherit AudioToolbox Carbon CoreAudio; };
+ AudioVideoBridging = { inherit Foundation; };
+ Automator = {};
+ CFNetwork = {};
+ CalendarStore = {};
+ Cocoa = { inherit AppKit CoreData; };
+ Collaboration = {};
# Impure version of CoreFoundation, this should not be used unless another
# framework includes headers that are not available in the pure version.
- CoreFoundation = [];
- CoreAudio = [ IOKit ];
- CoreAudioKit = [ AudioUnit ];
- CoreData = [];
- CoreGraphics = [ Accelerate IOKit IOSurface SystemConfiguration ];
- CoreImage = [];
- CoreLocation = [];
- CoreMIDI = [];
- CoreMIDIServer = [];
- CoreMedia = [ ApplicationServices AudioToolbox AudioUnit CoreAudio CoreGraphics CoreVideo ];
- CoreMediaIO = [ CoreMedia ];
- CoreText = [ CoreGraphics ];
- CoreVideo = [ ApplicationServices CoreGraphics IOSurface OpenGL ];
- CoreWLAN = [ SecurityFoundation ];
- DVDPlayback = [];
- DirectoryService = [];
- DiscRecording = [ CoreServices IOKit ];
- DiscRecordingUI = [];
- DiskArbitration = [ IOKit ];
- EventKit = [];
- ExceptionHandling = [];
- FWAUserLib = [];
- ForceFeedback = [ IOKit ];
- Foundation = [ libobjc CoreFoundation Security ApplicationServices SystemConfiguration ];
- GLKit = [];
- GLUT = [ OpenGL ];
- GSS = [];
- GameController = [];
- GameKit = [ Foundation ];
- Hypervisor = [];
- ICADevices = [ Carbon IOBluetooth ];
- IMServicePlugIn = [];
- IOBluetoothUI = [ IOBluetooth ];
- IOKit = [];
- IOSurface = [ IOKit xpc ];
- ImageCaptureCore = [];
- ImageIO = [ CoreGraphics ];
- InputMethodKit = [ Carbon ];
- InstallerPlugins = [];
- InstantMessage = [];
- JavaFrameEmbedding = [];
- JavaNativeFoundation = [];
- JavaRuntimeSupport = [];
- JavaScriptCore = [];
- Kerberos = [];
- Kernel = [ IOKit ];
- LDAP = [];
- LatentSemanticMapping = [ Carbon ];
- LocalAuthentication = [];
- MapKit = [];
- MediaAccessibility = [ CoreGraphics CoreText QuartzCore ];
- MediaPlayer = [];
- MediaToolbox = [ AudioToolbox AudioUnit CoreMedia ];
- Metal = [];
- MetalKit = [ ModelIO Metal ];
- ModelIO = [ ];
- NetFS = [];
- OSAKit = [ Carbon ];
- OpenAL = [];
- OpenCL = [ IOSurface OpenGL ];
- OpenGL = [];
- PCSC = [ CoreData ];
- PreferencePanes = [];
- PubSub = [];
- QTKit = [ CoreMediaIO CoreMedia MediaToolbox QuickTime VideoToolbox ];
- QuickLook = [ ApplicationServices ];
- SceneKit = [];
- ScreenSaver = [];
- Scripting = [];
- ScriptingBridge = [];
- Security = [ IOKit ];
- SecurityFoundation = [];
- SecurityInterface = [ Security ];
- ServiceManagement = [ Security ];
- Social = [];
- SpriteKit = [];
- StoreKit = [];
- SyncServices = [];
- SystemConfiguration = [ Security ];
- TWAIN = [ Carbon ];
- Tcl = [];
- VideoDecodeAcceleration = [ CoreVideo ];
- VideoToolbox = [ CoreMedia CoreVideo ];
- WebKit = [ ApplicationServices Carbon JavaScriptCore OpenGL ];
+ CoreFoundation = {};
+ CoreAudio = { inherit IOKit; };
+ CoreAudioKit = { inherit AudioUnit; };
+ CoreData = {};
+ CoreGraphics = { inherit Accelerate IOKit IOSurface SystemConfiguration; };
+ CoreImage = {};
+ CoreLocation = {};
+ CoreMIDI = {};
+ CoreMIDIServer = { inherit CoreMIDI; };
+ CoreMedia = { inherit ApplicationServices AudioToolbox AudioUnit CoreAudio CoreGraphics CoreVideo; };
+ CoreMediaIO = { inherit CoreMedia; };
+ CoreText = { inherit CoreGraphics; };
+ CoreVideo = { inherit ApplicationServices CoreGraphics IOSurface OpenGL; };
+ CoreWLAN = { inherit SecurityFoundation; };
+ DVDPlayback = {};
+ DirectoryService = {};
+ DiscRecording = { inherit libobjc CoreServices IOKit; };
+ DiscRecordingUI = {};
+ DiskArbitration = { inherit IOKit; };
+ EventKit = {};
+ ExceptionHandling = {};
+ FWAUserLib = {};
+ ForceFeedback = { inherit IOKit; };
+ Foundation = { inherit libobjc CoreFoundation Security ApplicationServices SystemConfiguration; };
+ GLKit = {};
+ GLUT = { inherit OpenGL; };
+ GSS = {};
+ GameCenter = {};
+ GameController = {};
+ GameKit = { inherit Cocoa Foundation GameCenter GameController GameplayKit Metal MetalKit ModelIO SceneKit SpriteKit; };
+ GameplayKit = {};
+ Hypervisor = {};
+ ICADevices = { inherit libobjc Carbon IOBluetooth; };
+ IMServicePlugIn = {};
+ IOBluetoothUI = { inherit IOBluetooth; };
+ IOKit = {};
+ IOSurface = { inherit IOKit xpc; };
+ ImageCaptureCore = {};
+ ImageIO = { inherit CoreGraphics; };
+ InputMethodKit = { inherit Carbon; };
+ InstallerPlugins = {};
+ InstantMessage = {};
+ JavaFrameEmbedding = {};
+ JavaNativeFoundation = {};
+ JavaRuntimeSupport = {};
+ JavaScriptCore = { inherit libobjc; };
+ Kerberos = {};
+ Kernel = { inherit IOKit; };
+ LDAP = {};
+ LatentSemanticMapping = { inherit Carbon; };
+ LocalAuthentication = {};
+ MapKit = {};
+ MediaAccessibility = { inherit CoreGraphics CoreText QuartzCore; };
+ MediaPlayer = {};
+ MediaToolbox = { inherit AudioToolbox AudioUnit CoreMedia; };
+ Metal = {};
+ MetalKit = { inherit ModelIO Metal; };
+ ModelIO = {};
+ NetFS = {};
+ OSAKit = { inherit Carbon; };
+ OpenAL = {};
+ OpenCL = { inherit IOSurface OpenGL; };
+ OpenGL = {};
+ PCSC = { inherit CoreData; };
+ PreferencePanes = {};
+ PubSub = {};
+ QTKit = { inherit CoreMediaIO CoreMedia MediaToolbox QuickTime VideoToolbox; };
+ QuickLook = { inherit ApplicationServices; };
+ SceneKit = {};
+ ScreenSaver = {};
+ Scripting = {};
+ ScriptingBridge = {};
+ Security = { inherit IOKit; };
+ SecurityFoundation = {};
+ SecurityInterface = { inherit Security SecurityFoundation; };
+ ServiceManagement = { inherit Security; };
+ Social = {};
+ SpriteKit = {};
+ StoreKit = {};
+ SyncServices = {};
+ SystemConfiguration = { inherit Security; };
+ TWAIN = { inherit Carbon; };
+ Tcl = {};
+ VideoDecodeAcceleration = { inherit CoreVideo; };
+ VideoToolbox = { inherit CoreMedia CoreVideo; };
+ WebKit = { inherit libobjc ApplicationServices Carbon JavaScriptCore OpenGL; };
# Umbrellas
- Accelerate = [ CoreWLAN IOBluetooth ];
- ApplicationServices = [ CoreServices CoreText ImageIO ];
- Carbon = [ ApplicationServices CoreServices Foundation IOKit Security QuartzCore ];
- CoreBluetooth = [];
+ Accelerate = { inherit CoreWLAN IOBluetooth; };
+ ApplicationServices = { inherit CoreGraphics CoreServices CoreText ImageIO; };
+ Carbon = { inherit libobjc ApplicationServices CoreServices Foundation IOKit Security QuartzCore; };
+ CoreBluetooth = {};
# TODO: figure out which part of the umbrella depends on CoreFoundation and move it there.
- CoreServices = [ CFNetwork CoreFoundation CoreAudio CoreData DiskArbitration Security NetFS OpenDirectory ServiceManagement ];
- IOBluetooth = [ IOKit ];
- JavaVM = [];
- OpenDirectory = [];
- Quartz = [ QuickLook QTKit ];
- QuartzCore = [ ApplicationServices CoreVideo OpenCL CoreImage Metal ];
- QuickTime = [ ApplicationServices AudioUnit Carbon CoreAudio CoreServices OpenGL QuartzCore ];
+ CoreServices = { inherit CFNetwork CoreFoundation CoreAudio CoreData DiskArbitration Security NetFS OpenDirectory ServiceManagement; };
+ IOBluetooth = { inherit CoreBluetooth IOKit; };
+ JavaVM = {};
+ OpenDirectory = {};
+ Quartz = { inherit QuartzCore QuickLook QTKit; };
+ QuartzCore = { inherit libobjc ApplicationServices CoreVideo OpenCL CoreImage Metal; };
+ QuickTime = { inherit ApplicationServices AudioUnit Carbon CoreAudio CoreServices OpenGL QuartzCore; };
- vmnet = [];
+ vmnet = {};
}
diff --git a/pkgs/os-specific/darwin/apple-sdk/print-reexports/default.nix b/pkgs/os-specific/darwin/apple-sdk/print-reexports/default.nix
new file mode 100644
index 00000000000..85e11096f06
--- /dev/null
+++ b/pkgs/os-specific/darwin/apple-sdk/print-reexports/default.nix
@@ -0,0 +1,17 @@
+{ stdenv, libyaml }:
+
+stdenv.mkDerivation {
+ name = "print-reexports";
+ src = stdenv.lib.sourceFilesBySuffices ./. [".c"];
+
+ buildInputs = [ libyaml ];
+
+ buildPhase = ''
+ $CC -lyaml -o $name main.c
+ '';
+
+ installPhase = ''
+ mkdir -p $out/bin
+ mv $name $out/bin
+ '';
+}
diff --git a/pkgs/os-specific/darwin/apple-sdk/print-reexports/main.c b/pkgs/os-specific/darwin/apple-sdk/print-reexports/main.c
new file mode 100644
index 00000000000..df46e3f18e8
--- /dev/null
+++ b/pkgs/os-specific/darwin/apple-sdk/print-reexports/main.c
@@ -0,0 +1,148 @@
+/**
+ * Display the list of re-exported libraries from a TAPI v2 .tbd file, one per
+ * line on stdout.
+ *
+ * TAPI files are the equivalent of library files for the purposes of linking.
+ * Like dylib files, they may re-export other libraries. In upstream usage
+ * these refer to the absolute paths of dylibs, and are resolved to .tbd files
+ * in combination with the syslibroot option. In nixpkgs, the .tbd files refer
+ * directly to other .tbd files without a syslibroot. Note that each .tbd file
+ * contains an install name, so the re-exported path does not affect the final
+ * result.
+ *
+ * In nixpkgs each framework is a distinct store path and some frameworks
+ * re-export other frameworks. The re-exported names are rewritten to refer to
+ * the store paths of dependencies via textual substitution. This utility is
+ * used to emit every file that is listed as a re-exported library, which
+ * allows the framework builder to verify their existence.
+ */
+
+#include
+#include
+#include
+
+static yaml_node_t *get_mapping_entry(yaml_document_t *document, yaml_node_t *mapping, const char *name) {
+ if (!mapping) {
+ fprintf(stderr, "get_mapping_entry: mapping is null\n");
+ return NULL;
+ }
+
+ for (
+ yaml_node_pair_t *pair = mapping->data.mapping.pairs.start;
+ pair < mapping->data.mapping.pairs.top;
+ ++pair
+ ) {
+ yaml_node_t *key = yaml_document_get_node(document, pair->key);
+
+ if (!key) {
+ fprintf(stderr, "get_mapping_entry: key (%i) is null\n", pair->key);
+ return NULL;
+ }
+
+ if (key->type != YAML_SCALAR_NODE) {
+ fprintf(stderr, "get_mapping_entry: key is not a scalar\n");
+ return NULL;
+ }
+
+ if (strncmp((const char *)key->data.scalar.value, name, key->data.scalar.length) != 0) {
+ continue;
+ }
+
+ return yaml_document_get_node(document, pair->value);
+ }
+
+ return NULL;
+}
+
+static int emit_reexports(yaml_document_t *document) {
+ yaml_node_t *root = yaml_document_get_root_node(document);
+
+ yaml_node_t *exports = get_mapping_entry(document, root, "exports");
+
+ if (!exports) {
+ fprintf(stderr, "emit_reexports: no exports found\n");
+ return 0;
+ }
+
+ if (exports->type != YAML_SEQUENCE_NODE) {
+ fprintf(stderr, "emit_reexports, value is not a sequence\n");
+ return 0;
+ }
+
+ for (
+ yaml_node_item_t *export = exports->data.sequence.items.start;
+ export < exports->data.sequence.items.top;
+ ++export
+ ) {
+ yaml_node_t *export_node = yaml_document_get_node(document, *export);
+
+ yaml_node_t *reexports = get_mapping_entry(document, export_node, "re-exports");
+
+ if (!reexports) {
+ continue;
+ }
+
+ for (
+ yaml_node_item_t *reexport = reexports->data.sequence.items.start;
+ reexport < reexports->data.sequence.items.top;
+ ++reexport
+ ) {
+ yaml_node_t *val = yaml_document_get_node(document, *reexport);
+
+ if (val->type != YAML_SCALAR_NODE) {
+ fprintf(stderr, "item is not a scalar\n");
+ return 0;
+ }
+
+ fwrite(val->data.scalar.value, val->data.scalar.length, 1, stdout);
+ putchar('\n');
+ }
+ }
+
+ return 1;
+}
+
+int main(int argc, char **argv) {
+ int result = 0;
+
+ if (argc != 2) {
+ fprintf(stderr, "Invalid usage\n");
+ result = 2;
+ goto done;
+ }
+
+ FILE *f = fopen(argv[1], "r");
+ if (!f) {
+ perror("opening input file");
+ result = errno;
+ goto done;
+ }
+
+ yaml_parser_t yaml_parser;
+ if (!yaml_parser_initialize(&yaml_parser)) {
+ fprintf(stderr, "Failed to initialize yaml parser\n");
+ result = 1;
+ goto err_file;
+ }
+
+ yaml_parser_set_input_file(&yaml_parser, f);
+
+ yaml_document_t yaml_document;
+
+ if(!yaml_parser_load(&yaml_parser, &yaml_document)) {
+ fprintf(stderr, "Failed to load yaml file\n");
+ result = 1;
+ goto err_yaml;
+ }
+
+ emit_reexports(&yaml_document);
+
+err_yaml:
+ yaml_parser_delete(&yaml_parser);
+
+err_file:
+ fclose(f);
+
+done:
+ return result;
+}
diff --git a/pkgs/os-specific/darwin/apple-source-releases/IOKit/default.nix b/pkgs/os-specific/darwin/apple-source-releases/IOKit/default.nix
index 4b82209f176..a945409ed7a 100644
--- a/pkgs/os-specific/darwin/apple-source-releases/IOKit/default.nix
+++ b/pkgs/os-specific/darwin/apple-source-releases/IOKit/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, appleDerivation, IOKitSrcs, xnu }:
+{ stdenv, appleDerivation, IOKitSrcs, xnu, darwin-stubs }:
# Someday it'll make sense to split these out into their own packages, but today is not that day.
appleDerivation {
@@ -14,12 +14,15 @@ appleDerivation {
];
installPhase = ''
- ###### IMPURITIES
mkdir -p $out/Library/Frameworks/IOKit.framework
- pushd $out/Library/Frameworks/IOKit.framework
- ln -s /System/Library/Frameworks/IOKit.framework/IOKit
- ln -s /System/Library/Frameworks/IOKit.framework/Resources
- popd
+
+ ###### IMPURITIES
+ ln -s /System/Library/Frameworks/IOKit.framework/Resources \
+ $out/Library/Frameworks/IOKit.framework
+
+ ###### STUBS
+ cp ${darwin-stubs}/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit.tbd \
+ $out/Library/Frameworks/IOKit.framework
###### HEADERS
diff --git a/pkgs/os-specific/darwin/apple-source-releases/Libsystem/default.nix b/pkgs/os-specific/darwin/apple-source-releases/Libsystem/default.nix
index 99d67002803..24526f05f06 100644
--- a/pkgs/os-specific/darwin/apple-source-releases/Libsystem/default.nix
+++ b/pkgs/os-specific/darwin/apple-source-releases/Libsystem/default.nix
@@ -1,7 +1,7 @@
{ stdenv, appleDerivation, cpio, xnu, Libc, Libm, libdispatch, cctools, Libinfo
, dyld, Csu, architecture, libclosure, CarbonHeaders, ncurses, CommonCrypto
, copyfile, removefile, libresolv, Libnotify, libplatform, libpthread
-, mDNSResponder, launchd, libutil, hfs, darling }:
+, mDNSResponder, launchd, libutil, hfs, darling, darwin-stubs }:
appleDerivation {
dontBuild = true;
@@ -88,52 +88,18 @@ appleDerivation {
# The startup object files
cp ${Csu}/lib/* $out/lib
- # We can't re-exported libsystem_c and libsystem_kernel directly,
- # so we link against the central library here.
- mkdir -p $out/lib/system
- ld -macosx_version_min 10.7 -arch x86_64 -dylib \
- -o $out/lib/system/libsystem_c.dylib \
- /usr/lib/libSystem.dylib \
- -reexported_symbols_list ${./system_c_symbols}
+ cp -vr \
+ ${darwin-stubs}/usr/lib/libSystem.B.tbd \
+ ${darwin-stubs}/usr/lib/system \
+ $out/lib
- ld -macosx_version_min 10.7 -arch x86_64 -dylib \
- -o $out/lib/system/libsystem_kernel.dylib \
- /usr/lib/libSystem.dylib \
- -reexported_symbols_list ${./system_kernel_symbols}
-
- # The umbrella libSystem also exports some symbols,
- # but we don't want to pull in everything from the other libraries.
- ld -macosx_version_min 10.7 -arch x86_64 -dylib \
- -o $out/lib/libSystem_internal.dylib \
- /usr/lib/libSystem.dylib \
- -reexported_symbols_list ${./system_symbols}
-
- # We used to determine these impurely based on the host system, but then when we got some 10.12 Hydra boxes,
- # one of them accidentally built this derivation, referenced libsystem_symptoms.dylib, which doesn't exist on
- # 10.11, and then broke all subsequent builds on 10.11. By picking a 10.11 compatible subset of the libraries,
- # we avoid scary impurity issues like that.
- libs=$(cat ${./reexported_libraries} | grep -v '^#')
-
- for i in $libs; do
- if [ "$i" != "/usr/lib/system/libsystem_kernel.dylib" ] && [ "$i" != "/usr/lib/system/libsystem_c.dylib" ]; then
- args="$args -reexport_library $i"
- fi
- done
-
- ld -macosx_version_min 10.7 -arch x86_64 -dylib \
- -o $out/lib/libSystem.B.dylib \
- -compatibility_version 1.0 \
- -current_version 1226.10.1 \
- -reexport_library $out/lib/system/libsystem_c.dylib \
- -reexport_library $out/lib/system/libsystem_kernel.dylib \
- -reexport_library $out/lib/libSystem_internal.dylib \
- $args
-
- ln -s libSystem.B.dylib $out/lib/libSystem.dylib
+ substituteInPlace $out/lib/libSystem.B.tbd \
+ --replace "/usr/lib/system/" "$out/lib/system/"
+ ln -s libSystem.B.tbd $out/lib/libSystem.tbd
# Set up links to pretend we work like a conventional unix (Apple's design, not mine!)
for name in c dbm dl info m mx poll proc pthread rpcsvc util gcc_s.10.4 gcc_s.10.5; do
- ln -s libSystem.dylib $out/lib/lib$name.dylib
+ ln -s libSystem.tbd $out/lib/lib$name.tbd
done
# This probably doesn't belong here, but we want to stay similar to glibc, which includes resolv internally...
@@ -144,13 +110,13 @@ appleDerivation {
chmod +w $out/lib/libresolv.9.dylib
install_name_tool \
-id $out/lib/libresolv.9.dylib \
- -change "$resolv_libSystem" $out/lib/libSystem.dylib \
+ -change "$resolv_libSystem" /usr/lib/libSystem.dylib \
$out/lib/libresolv.9.dylib
ln -s libresolv.9.dylib $out/lib/libresolv.dylib
'';
meta = with stdenv.lib; {
- description = "The Mac OS libc/libSystem (impure symlinks to binaries with pure headers)";
+ description = "The Mac OS libc/libSystem (tapi library with pure headers)";
maintainers = with maintainers; [ copumpkin gridaphobe ];
platforms = platforms.darwin;
license = licenses.apsl20;
diff --git a/pkgs/os-specific/darwin/apple-source-releases/Security/boot.nix b/pkgs/os-specific/darwin/apple-source-releases/Security/boot.nix
index e04142b8b11..b819057f0c1 100644
--- a/pkgs/os-specific/darwin/apple-source-releases/Security/boot.nix
+++ b/pkgs/os-specific/darwin/apple-source-releases/Security/boot.nix
@@ -1,4 +1,4 @@
-{ appleDerivation }:
+{ appleDerivation, darwin-stubs }:
appleDerivation {
phases = [ "unpackPhase" "installPhase" ];
@@ -12,14 +12,15 @@ appleDerivation {
];
installPhase = ''
- ###### IMPURITIES
mkdir -p $out/Library/Frameworks/Security.framework
- pushd $out/Library/Frameworks/Security.framework
- ln -s /System/Library/Frameworks/Security.framework/Security
- ln -s /System/Library/Frameworks/Security.framework/Resources
- ln -s /System/Library/Frameworks/Security.framework/PlugIns
- ln -s /System/Library/Frameworks/Security.framework/XPCServices
- popd
+
+ ###### IMPURITIES
+ ln -s /System/Library/Frameworks/Security.framework/{Resources,Plugins,XPCServices} \
+ $out/Library/Frameworks/Security.framework
+
+ ###### STUBS
+ cp ${darwin-stubs}/System/Library/Frameworks/Security.framework/Versions/A/Security.tbd \
+ $out/Library/Frameworks/Security.framework
###### HEADERS
diff --git a/pkgs/os-specific/darwin/apple-source-releases/objc4/default.nix b/pkgs/os-specific/darwin/apple-source-releases/objc4/default.nix
index a7cedaaea11..2fc4afa77d9 100644
--- a/pkgs/os-specific/darwin/apple-source-releases/objc4/default.nix
+++ b/pkgs/os-specific/darwin/apple-source-releases/objc4/default.nix
@@ -1,4 +1,4 @@
-{ appleDerivation }:
+{ appleDerivation, darwin-stubs }:
appleDerivation {
phases = [ "unpackPhase" "installPhase" ];
@@ -14,7 +14,8 @@ appleDerivation {
installPhase = ''
mkdir -p $out/include/objc $out/lib
- ln -s /usr/lib/libobjc.dylib $out/lib/libobjc.dylib
+ cp ${darwin-stubs}/usr/lib/libobjc.A.tbd $out/lib/libobjc.A.tbd
+ ln -s libobjc.A.tbd $out/lib/libobjc.tbd
cp runtime/OldClasses.subproj/List.h $out/include/objc/List.h
cp runtime/NSObjCRuntime.h $out/include/objc/NSObjCRuntime.h
cp runtime/NSObject.h $out/include/objc/NSObject.h
diff --git a/pkgs/os-specific/darwin/darwin-stubs/default.nix b/pkgs/os-specific/darwin/darwin-stubs/default.nix
new file mode 100644
index 00000000000..f7f083e32f4
--- /dev/null
+++ b/pkgs/os-specific/darwin/darwin-stubs/default.nix
@@ -0,0 +1,20 @@
+{ stdenv, fetchFromGitHub }:
+
+stdenv.mkDerivation {
+ pname = "darwin-stubs";
+ version = "10.12";
+
+ src = fetchFromGitHub {
+ owner = "NixOS";
+ repo = "darwin-stubs";
+ rev = "80b3d4a57d3454c975eefd984c804dbd76f04ef2";
+ sha256 = "0sslg4rmskms8ixixv1gvnrvvvmn723vbfjj6mcn24fj2ncg38y7";
+ };
+
+ dontBuild = true;
+
+ installPhase = ''
+ mkdir $out
+ cp -vr stubs/$version/* $out
+ '';
+}
diff --git a/pkgs/os-specific/linux/iptables/default.nix b/pkgs/os-specific/linux/iptables/default.nix
index c9c342ad768..97c93db50b8 100644
--- a/pkgs/os-specific/linux/iptables/default.nix
+++ b/pkgs/os-specific/linux/iptables/default.nix
@@ -6,12 +6,12 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- version = "1.8.5";
+ version = "1.8.6";
pname = "iptables";
src = fetchurl {
url = "https://www.netfilter.org/projects/${pname}/files/${pname}-${version}.tar.bz2";
- sha256 = "02a3575ypdpg6a2x752mhk3f7h1381ymkq1n0gss6fp6292xfmyl";
+ sha256 = "0rvp0k8a72h2snrdx48cfn75bfa0ycrd2xl3kjysbymq7q6gxx50";
};
nativeBuildInputs = [ pkgconfig pruneLibtoolFiles flex bison ];
diff --git a/pkgs/stdenv/darwin/default.nix b/pkgs/stdenv/darwin/default.nix
index 58da8b71b65..f07b1ee73b8 100644
--- a/pkgs/stdenv/darwin/default.nix
+++ b/pkgs/stdenv/darwin/default.nix
@@ -7,15 +7,15 @@
# Allow passing in bootstrap files directly so we can test the stdenv bootstrap process when changing the bootstrap tools
, bootstrapFiles ? let
fetch = { file, sha256, executable ? true }: import {
- url = "http://tarballs.nixos.org/stdenv-darwin/x86_64/d5bdfcbfe6346761a332918a267e82799ec954d2/${file}";
+ url = "http://tarballs.nixos.org/stdenv-darwin/x86_64/5ab5783e4f46c373c6de84deac9ad59b608bb2e6/${file}";
inherit (localSystem) system;
inherit sha256 executable;
}; in {
- sh = fetch { file = "sh"; sha256 = "07wm33f1yzfpcd3rh42f8g096k4cvv7g65p968j28agzmm2s7s8m"; };
- bzip2 = fetch { file = "bzip2"; sha256 = "0y9ri2aprkrp2dkzm6229l0mw4rxr2jy7vvh3d8mxv2698v2kdbm"; };
- mkdir = fetch { file = "mkdir"; sha256 = "0sb07xpy66ws6f2jfnpjibyimzb71al8n8c6y4nr8h50al3g90nr"; };
- cpio = fetch { file = "cpio"; sha256 = "0r5c54hg678w7zydx27bzl9p3v9fs25y5ix6vdfi1ilqim7xh65n"; };
- tarball = fetch { file = "bootstrap-tools.cpio.bz2"; sha256 = "18hp5w6klr8g307ap4368r255qpzg9r0vwg9vqvj8f2zy1xilcjf"; executable = false; };
+ sh = fetch { file = "sh"; sha256 = "sha256-nbb4XEk3go7ttiWrQyKQMLzPr+qUnwnHkWMtVCZsMCs="; };
+ bzip2 = fetch { file = "bzip2"; sha256 = "sha256-ybnA+JWrKhXSfn20+GVKXkHFTp2Zt79hat8hAVmsUOc="; };
+ mkdir = fetch { file = "mkdir"; sha256 = "sha256-nmvMxmfcY41/60Z/E8L9u0vgePW5l30Dqw1z+Nr02Hk="; };
+ cpio = fetch { file = "cpio"; sha256 = "sha256-cB36rN3NLj19Tk37Kc5bodMFMO+mCpEQkKKo0AEMkaU="; };
+ tarball = fetch { file = "bootstrap-tools.cpio.bz2"; sha256 = "sha256-kh2vKmjCr/HvR06czZbxUxV5KDRxSF27M6nN3cyofRI="; executable = false; };
}
}:
@@ -24,6 +24,8 @@ assert crossSystem == localSystem;
let
inherit (localSystem) system platform;
+ bootstrapClangVersion = "7.1.0";
+
commonImpureHostDeps = [
"/bin/sh"
"/usr/lib/libSystem.B.dylib"
@@ -72,33 +74,48 @@ in rec {
inherit (last) stdenv;
};
- coreutils = { name = "${name}-coreutils"; outPath = bootstrapTools; };
- gnugrep = { name = "${name}-gnugrep"; outPath = bootstrapTools; };
+ mkExtraBuildCommands = cc: ''
+ rsrc="$out/resource-root"
+ mkdir "$rsrc"
+ ln -s "${cc}/lib/clang/${cc.version}/include" "$rsrc"
+ ln -s "${last.pkgs.llvmPackages_7.compiler-rt.out}/lib" "$rsrc/lib"
+ echo "-resource-dir=$rsrc" >> $out/nix-support/cc-cflags
+ '';
- bintools = import ../../build-support/bintools-wrapper {
- inherit shell;
- inherit (last) stdenvNoCC;
+ mkCC = overrides: import ../../build-support/cc-wrapper (
+ let args = {
+ inherit shell;
+ inherit (last) stdenvNoCC;
- nativeTools = false;
- nativeLibc = false;
- inherit buildPackages coreutils gnugrep;
- libc = last.pkgs.darwin.Libsystem;
- bintools = { name = "${name}-binutils"; outPath = bootstrapTools; };
- };
+ nativeTools = false;
+ nativeLibc = false;
+ inherit buildPackages libcxx;
+ inherit (last.pkgs) coreutils gnugrep;
+ bintools = last.pkgs.darwin.binutils;
+ libc = last.pkgs.darwin.Libsystem;
+ isClang = true;
+ cc = last.pkgs.llvmPackages_7.clang-unwrapped;
+ }; in args // (overrides args));
- cc = if last == null then "/dev/null" else import ../../build-support/cc-wrapper {
- inherit shell;
- inherit (last) stdenvNoCC;
+ cc = if last == null then "/dev/null" else mkCC ({ cc, ... }: {
+ extraPackages = [
+ last.pkgs.llvmPackages_7.libcxxabi
+ last.pkgs.llvmPackages_7.compiler-rt
+ ];
+ extraBuildCommands = mkExtraBuildCommands cc;
+ });
- extraPackages = [];
-
- nativeTools = false;
- nativeLibc = false;
- inherit buildPackages coreutils gnugrep bintools libcxx;
- libc = last.pkgs.darwin.Libsystem;
- isClang = true;
- cc = { name = "${name}-clang"; outPath = bootstrapTools; };
- };
+ ccNoLibcxx = if last == null then "/dev/null" else mkCC ({ cc, ... }: {
+ libcxx = null;
+ extraPackages = [
+ last.pkgs.llvmPackages_7.compiler-rt
+ ];
+ extraBuildCommands = ''
+ echo "-rtlib=compiler-rt" >> $out/nix-support/cc-cflags
+ echo "-B${last.pkgs.llvmPackages_7.compiler-rt}/lib" >> $out/nix-support/cc-cflags
+ echo "-nostdlib++" >> $out/nix-support/cc-cflags
+ '' + mkExtraBuildCommands cc;
+ });
thisStdenv = import ../generic {
name = "${name}-stdenv-darwin";
@@ -137,7 +154,10 @@ in rec {
extraAttrs = {
inherit macosVersionMin appleSdkVersion platform;
};
- overrides = self: super: (overrides self super) // { fetchurl = thisStdenv.fetchurlBoot; };
+ overrides = self: super: (overrides self super) // {
+ inherit ccNoLibcxx;
+ fetchurl = thisStdenv.fetchurlBoot;
+ };
};
in {
@@ -147,6 +167,9 @@ in rec {
stage0 = stageFun 0 null {
overrides = self: super: with stage0; {
+ coreutils = { name = "bootstrap-stage0-coreutils"; outPath = bootstrapTools; };
+ gnugrep = { name = "bootstrap-stage0-gnugrep"; outPath = bootstrapTools; };
+
darwin = super.darwin // {
Libsystem = stdenv.mkDerivation {
name = "bootstrap-stage0-Libsystem";
@@ -157,9 +180,26 @@ in rec {
'';
};
dyld = bootstrapTools;
+
+ binutils = lib.makeOverridable (import ../../build-support/bintools-wrapper) {
+ shell = "${bootstrapTools}/bin/bash";
+ inherit (self) stdenvNoCC;
+
+ nativeTools = false;
+ nativeLibc = false;
+ inherit (self) buildPackages coreutils gnugrep;
+ libc = self.pkgs.darwin.Libsystem;
+ bintools = { name = "bootstrap-stage0-binutils"; outPath = bootstrapTools; };
+ };
};
llvmPackages_7 = {
+ clang-unwrapped = {
+ name = "bootstrap-stage0-clang";
+ outPath = bootstrapTools;
+ version = bootstrapClangVersion;
+ };
+
libcxx = stdenv.mkDerivation {
name = "bootstrap-stage0-libcxx";
phases = [ "installPhase" "fixupPhase" ];
@@ -180,6 +220,15 @@ in rec {
ln -s ${bootstrapTools}/lib/libc++abi.dylib $out/lib/libc++abi.dylib
'';
};
+
+ compiler-rt = stdenv.mkDerivation {
+ name = "bootstrap-stage0-compiler-rt";
+ buildCommand = ''
+ mkdir -p $out/lib
+ ln -s ${bootstrapTools}/lib/libclang_rt* $out/lib
+ ln -s ${bootstrapTools}/lib/darwin $out/lib/darwin
+ '';
+ };
};
};
@@ -195,6 +244,21 @@ in rec {
python3 = super.python3Minimal;
ninja = super.ninja.override { buildDocs = false; };
+
+ llvmPackages_7 = super.llvmPackages_7 // (let
+ tools = super.llvmPackages_7.tools.extend (_: _: {
+ inherit (llvmPackages_7) clang-unwrapped;
+ });
+ libraries = super.llvmPackages_7.libraries.extend (_: _: {
+ inherit (llvmPackages_7) compiler-rt libcxx libcxxabi;
+ });
+ in { inherit tools libraries; } // tools // libraries);
+
+ darwin = super.darwin // {
+ binutils = darwin.binutils.override {
+ libc = self.darwin.Libsystem;
+ };
+ };
};
in with prevStage; stageFun 1 prevStage {
extraPreHook = "export NIX_CFLAGS_COMPILE+=\" -F${bootstrapTools}/Library/Frameworks\"";
@@ -203,7 +267,9 @@ in rec {
libcxx = pkgs.libcxx;
allowedRequisites =
- [ bootstrapTools ] ++ (with pkgs; [ libcxx libcxxabi ]) ++ [ pkgs.darwin.Libsystem ];
+ [ bootstrapTools ] ++
+ (with pkgs; [ libcxx libcxxabi llvmPackages_7.compiler-rt ]) ++
+ (with pkgs.darwin; [ Libsystem ]);
overrides = persistent;
};
@@ -217,9 +283,26 @@ in rec {
findfreetype libssh curl cmake autoconf automake libtool ed cpio coreutils
libssh2 nghttp2 libkrb5 ninja;
+ llvmPackages_7 = super.llvmPackages_7 // (let
+ tools = super.llvmPackages_7.tools.extend (_: _: {
+ inherit (llvmPackages_7) clang-unwrapped;
+ });
+ libraries = super.llvmPackages_7.libraries.extend (_: libSuper: {
+ inherit (llvmPackages_7) compiler-rt;
+ libcxx = libSuper.libcxx.override {
+ stdenv = overrideCC self.stdenv self.ccNoLibcxx;
+ };
+ libcxxabi = libSuper.libcxxabi.override {
+ stdenv = overrideCC self.stdenv self.ccNoLibcxx;
+ standalone = true;
+ };
+ });
+ in { inherit tools libraries; } // tools // libraries);
+
darwin = super.darwin // {
inherit (darwin)
- dyld Libsystem xnu configd ICU libdispatch libclosure launchd CF;
+ binutils dyld Libsystem xnu configd ICU libdispatch libclosure
+ launchd CF darwin-stubs;
};
};
in with prevStage; stageFun 2 prevStage {
@@ -234,8 +317,9 @@ in rec {
allowedRequisites =
[ bootstrapTools ] ++
(with pkgs; [
- xz.bin xz.out libcxx libcxxabi zlib libxml2.out curl.out openssl.out libssh2.out
- nghttp2.lib libkrb5
+ xz.bin xz.out libcxx libcxxabi llvmPackages_7.compiler-rt
+ zlib libxml2.out curl.out openssl.out libssh2.out
+ nghttp2.lib libkrb5 coreutils gnugrep pcre.out gmp libiconv
]) ++
(with pkgs.darwin; [ dyld Libsystem CF ICU locale ]);
@@ -262,7 +346,8 @@ in rec {
darwin = super.darwin // {
inherit (darwin)
- dyld Libsystem xnu configd libdispatch libclosure launchd libiconv locale;
+ dyld Libsystem xnu configd libdispatch libclosure launchd libiconv
+ locale darwin-stubs;
};
};
in with prevStage; stageFun 3 prevStage {
@@ -284,8 +369,9 @@ in rec {
allowedRequisites =
[ bootstrapTools ] ++
(with pkgs; [
- xz.bin xz.out bash libcxx libcxxabi zlib libxml2.out curl.out openssl.out libssh2.out
- nghttp2.lib libkrb5
+ xz.bin xz.out bash libcxx libcxxabi llvmPackages_7.compiler-rt
+ zlib libxml2.out curl.out openssl.out libssh2.out
+ nghttp2.lib libkrb5 coreutils gnugrep pcre.out gmp libiconv
]) ++
(with pkgs.darwin; [ dyld ICU Libsystem locale ]);
@@ -319,7 +405,7 @@ in rec {
in { inherit tools libraries; } // tools // libraries);
darwin = super.darwin // rec {
- inherit (darwin) dyld Libsystem libiconv locale;
+ inherit (darwin) dyld Libsystem libiconv locale darwin-stubs;
CF = super.darwin.CF.override {
inherit libxml2;
@@ -418,7 +504,7 @@ in rec {
inherit cc;
darwin = super.darwin // {
- inherit (prevStage.darwin) CF;
+ inherit (prevStage.darwin) CF darwin-stubs;
xnu = super.darwin.xnu.override { inherit (prevStage) python3; };
};
});
diff --git a/pkgs/stdenv/darwin/make-bootstrap-tools.nix b/pkgs/stdenv/darwin/make-bootstrap-tools.nix
index 31e12963937..1243b96e505 100644
--- a/pkgs/stdenv/darwin/make-bootstrap-tools.nix
+++ b/pkgs/stdenv/darwin/make-bootstrap-tools.nix
@@ -28,11 +28,8 @@ in rec {
buildCommand = ''
mkdir -p $out/bin $out/lib $out/lib/system
- # We're not going to bundle the actual libSystem.dylib; instead we reconstruct it on
- # the other side. See the notes in stdenv/darwin/default.nix for more information.
- # We also need the .o files for various low-level boot stuff.
+ # Copy libSystem's .o files for various low-level boot stuff.
cp -d ${darwin.Libsystem}/lib/*.o $out/lib
- cp -d ${darwin.Libsystem}/lib/system/*.dylib $out/lib/system
# Resolv is actually a link to another package, so let's copy it properly
cp -L ${darwin.Libsystem}/lib/libresolv.9.dylib $out/lib
@@ -208,39 +205,6 @@ in rec {
fi
done
- install_name_tool \
- -id $out/lib/system/libsystem_c.dylib \
- $out/lib/system/libsystem_c.dylib
-
- install_name_tool \
- -id $out/lib/system/libsystem_kernel.dylib \
- $out/lib/system/libsystem_kernel.dylib
-
- # TODO: this logic basically duplicates similar logic in the Libsystem expression. Deduplicate them!
- libs=$(cat $reexportedLibrariesFile | grep -v '^#')
-
- for i in $libs; do
- if [ "$i" != "/usr/lib/system/libsystem_kernel.dylib" ] && [ "$i" != "/usr/lib/system/libsystem_c.dylib" ]; then
- args="$args -reexport_library $i"
- fi
- done
-
- ld -macosx_version_min 10.7 \
- -arch x86_64 \
- -dylib \
- -o $out/lib/libSystem.B.dylib \
- -compatibility_version 1.0 \
- -current_version 1226.10.1 \
- -reexport_library $out/lib/system/libsystem_c.dylib \
- -reexport_library $out/lib/system/libsystem_kernel.dylib \
- $args
-
- ln -s libSystem.B.dylib $out/lib/libSystem.dylib
-
- for name in c dbm dl info m mx poll proc pthread rpcsvc util gcc_s.10.4 gcc_s.10.5; do
- ln -s libSystem.dylib $out/lib/lib$name.dylib
- done
-
ln -s libresolv.9.dylib $out/lib/libresolv.dylib
for i in $out/lib/*.dylib $out/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation; do
@@ -309,7 +273,20 @@ in rec {
${build}/on-server/sh -c 'echo Hello World'
- export flags="-idirafter ${unpack}/include-Libsystem --sysroot=${unpack} -L${unpack}/lib"
+ # This approximates a bootstrap version of libSystem can that be
+ # assembled via fetchurl. Adapted from main libSystem expression.
+ mkdir libSystem-boot
+ cp -vr \
+ ${darwin.darwin-stubs}/usr/lib/libSystem.B.tbd \
+ ${darwin.darwin-stubs}/usr/lib/system \
+ libSystem-boot
+
+ substituteInPlace libSystem-boot/libSystem.B.tbd \
+ --replace "/usr/lib/system/" "$PWD/libSystem-boot/system/"
+ ln -s libSystem.B.tbd libSystem-boot/libSystem.tbd
+ # End of bootstrap libSystem
+
+ export flags="-idirafter ${unpack}/include-Libsystem --sysroot=${unpack} -L${unpack}/lib -L$PWD/libSystem-boot"
export CPP="clang -E $flags"
export CC="clang $flags -Wl,-rpath,${unpack}/lib -Wl,-v -Wl,-sdk_version,10.10"
diff --git a/pkgs/stdenv/generic/setup.sh b/pkgs/stdenv/generic/setup.sh
index d19ed342aab..2617a8f74ab 100644
--- a/pkgs/stdenv/generic/setup.sh
+++ b/pkgs/stdenv/generic/setup.sh
@@ -1037,7 +1037,7 @@ checkPhase() {
runHook preCheck
if [[ -z "${foundMakefile:-}" ]]; then
- echo "no Makefile or custom buildPhase, doing nothing"
+ echo "no Makefile or custom checkPhase, doing nothing"
runHook postCheck
return
fi
@@ -1182,7 +1182,7 @@ installCheckPhase() {
runHook preInstallCheck
if [[ -z "${foundMakefile:-}" ]]; then
- echo "no Makefile or custom buildPhase, doing nothing"
+ echo "no Makefile or custom installCheckPhase, doing nothing"
#TODO(@oxij): should flagsArray influence make -n?
elif [[ -z "${installCheckTarget:-}" ]] \
&& ! make -n ${makefile:+-f $makefile} ${installCheckTarget:-installcheck} >/dev/null 2>&1; then
diff --git a/pkgs/tools/misc/trash-cli/default.nix b/pkgs/tools/misc/trash-cli/default.nix
index d7354425b7c..2f5a52531b9 100644
--- a/pkgs/tools/misc/trash-cli/default.nix
+++ b/pkgs/tools/misc/trash-cli/default.nix
@@ -16,8 +16,10 @@ python3Packages.buildPythonApplication rec {
(substituteAll {
src = ./nix-paths.patch;
df = "${coreutils}/bin/df";
- libc = let ext = if stdenv.isDarwin then ".dylib" else ".so.6";
- in "${stdenv.cc.libc}/lib/libc${ext}";
+ libc =
+ if stdenv.hostPlatform.isDarwin
+ then "/usr/lib/libSystem.dylib"
+ else "${stdenv.cc.libc}/lib/libc.so.6";
})
];
diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix
index 05e3f83d9d6..4bdb91651f7 100644
--- a/pkgs/top-level/aliases.nix
+++ b/pkgs/top-level/aliases.nix
@@ -501,6 +501,7 @@ mapAliases ({
ruby_2_5_0 = throw "ruby_2_5_0 was deprecated on 2018-02-13: use a newer version of ruby";
rubyPackages_2_4 = throw "rubyPackages_2_4 was deprecated in 2019-12: use a newer version of rubyPackages instead";
rubygems = throw "rubygems was deprecated on 2016-03-02: rubygems is now bundled with ruby";
+ rubyMinimal = throw "rubyMinimal was removed due to being unused";
rxvt_unicode-with-plugins = rxvt-unicode; # added 2020-02-02
rxvt_unicode = rxvt-unicode-unwrapped; # added 2020-02-02
urxvt_autocomplete_all_the_things = rxvt-unicode-plugins.autocomplete-all-the-things; # added 2020-02-02
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 956e6d30e4c..b8be02f778d 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -10581,19 +10581,6 @@ julia_15 = callPackage ../development/compilers/julia/1.5.nix {
ruby_2_6
ruby_2_7;
- rubyMinimal = ruby.override {
- # gem support is minimal overhead
- rubygemsSupport = true;
- useRailsExpress = false;
- zlibSupport = false;
- opensslSupport = false;
- gdbmSupport = false;
- cursesSupport = false;
- docSupport = false;
- yamlSupport = false;
- fiddleSupport = false;
- };
-
ruby = ruby_2_6;
rubyPackages = rubyPackages_2_6;
@@ -10713,6 +10700,8 @@ julia_15 = callPackage ../development/compilers/julia/1.5.nix {
vc4-newlib = callPackage ../development/misc/vc4/newlib.nix {};
resim = callPackage ../misc/emulators/resim {};
+ or1k-newlib = callPackage ../development/misc/or1k/newlib.nix {};
+
rappel = callPackage ../development/misc/rappel/default.nix { };
pharo-vms = callPackage ../development/pharo/vm { };
@@ -11216,11 +11205,11 @@ julia_15 = callPackage ../development/compilers/julia/1.5.nix {
dot2tex = with python3.pkgs; toPythonApplication dot2tex;
doxygen = callPackage ../development/tools/documentation/doxygen {
- qt4 = null;
+ qt5 = null;
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
- doxygen_gui = lowPrio (doxygen.override { inherit qt4; });
+ doxygen_gui = lowPrio (doxygen.override { inherit qt5; });
drake = callPackage ../development/tools/build-managers/drake { };
@@ -12897,6 +12886,7 @@ julia_15 = callPackage ../development/compilers/julia/1.5.nix {
else if name == "avrlibc" then targetPackages.avrlibcCross or avrlibcCross
else if name == "newlib" && stdenv.targetPlatform.isMsp430 then targetPackages.msp430NewlibCross or msp430NewlibCross
else if name == "newlib" && stdenv.targetPlatform.isVc4 then targetPackages.vc4-newlib or vc4-newlib
+ else if name == "newlib" && stdenv.targetPlatform.isOr1k then targetPackages.or1k-newlib or or1k-newlib
else if name == "newlib" then targetPackages.newlibCross or newlibCross
else if name == "musl" then targetPackages.muslCross or muslCross
else if name == "msvcrt" then targetPackages.windows.mingw_w64 or windows.mingw_w64
diff --git a/pkgs/top-level/darwin-packages.nix b/pkgs/top-level/darwin-packages.nix
index affb4ae92c1..6fafe09438c 100644
--- a/pkgs/top-level/darwin-packages.nix
+++ b/pkgs/top-level/darwin-packages.nix
@@ -14,7 +14,9 @@ in
extraBuildInputs = [];
};
- apple_sdk = callPackage ../os-specific/darwin/apple-sdk { };
+ apple_sdk = callPackage ../os-specific/darwin/apple-sdk {
+ inherit (darwin) darwin-stubs print-reexports;
+ };
binutils-unwrapped = callPackage ../os-specific/darwin/binutils {
inherit (darwin) cctools;
@@ -41,6 +43,10 @@ in
DarwinTools = callPackage ../os-specific/darwin/DarwinTools { };
+ darwin-stubs = callPackage ../os-specific/darwin/darwin-stubs { };
+
+ print-reexports = callPackage ../os-specific/darwin/apple-sdk/print-reexports { };
+
maloader = callPackage ../os-specific/darwin/maloader {
inherit (darwin) opencflite;
};
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index e867e5df84f..d40f9a1d154 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -6481,6 +6481,8 @@ in {
scp = callPackage ../development/python-modules/scp { };
+ scramp = callPackage ../development/python-modules/scramp { };
+
scrapy = callPackage ../development/python-modules/scrapy { };
scrapy-deltafetch = callPackage ../development/python-modules/scrapy-deltafetch { };