Merge staging into staging-next

This commit is contained in:
Frederik Rietdijk 2020-08-24 12:11:06 +02:00
commit 1b8de9e65c
363 changed files with 1144 additions and 855 deletions

View File

@ -18,6 +18,6 @@ buildGoPackage rec {
license = licenses.asl20;
homepage = "https://github.com/containernetworking/cni";
maintainers = with maintainers; [ offline vdemeester ];
platforms = [ "x86_64-linux" ];
platforms = [ "x86_64-linux" "aarch64-linux" ];
};
}

View File

@ -1,4 +1,5 @@
{ stdenv, lib, fetchFromGitHub, makeWrapper, removeReferencesTo, installShellFiles, pkgconfig
{ stdenv, lib, fetchFromGitHub, fetchpatch, buildGoPackage
, makeWrapper, removeReferencesTo, installShellFiles, pkgconfig
, go-md2man, go, containerd, runc, docker-proxy, tini, libtool
, sqlite, iproute, lvm2, systemd
, btrfs-progs, iptables, e2fsprogs, xz, utillinux, xfsprogs, git
@ -56,7 +57,7 @@ rec {
NIX_CFLAGS_COMPILE = "-DMINIMAL=ON";
});
in
stdenv.mkDerivation ((optionalAttrs (stdenv.isLinux) {
buildGoPackage ((optionalAttrs (stdenv.isLinux) {
inherit docker-runc docker-containerd docker-proxy docker-tini;
@ -66,7 +67,7 @@ rec {
++ optional (lvm2 == null) "exclude_graphdriver_devicemapper"
++ optional (libseccomp != null) "seccomp";
}) // {
}) // rec {
inherit version rev;
name = "docker-${version}";
@ -78,9 +79,19 @@ rec {
sha256 = sha256;
};
nativeBuildInputs = [ installShellFiles pkgconfig ];
patches = [
# Replace hard-coded cross-compiler with $CC
(fetchpatch {
url = https://github.com/docker/docker-ce/commit/2fdfb4404ab811cb00227a3de111437b829e55cf.patch;
sha256 = "1af20bzakhpfhaixc29qnl9iml9255xdinxdnaqp4an0n1xa686a";
})
];
goPackagePath = "github.com/docker/docker-ce";
nativeBuildInputs = [ pkgconfig go-md2man go libtool removeReferencesTo installShellFiles ];
buildInputs = [
makeWrapper removeReferencesTo go-md2man go libtool
makeWrapper
] ++ optionals (stdenv.isLinux) [
sqlite lvm2 btrfs-progs systemd libseccomp
];
@ -91,7 +102,7 @@ rec {
export GOCACHE="$TMPDIR/go-cache"
'' + (optionalString (stdenv.isLinux) ''
# build engine
cd ./components/engine
cd ./go/src/${goPackagePath}/components/engine
export AUTO_GOPATH=1
export DOCKER_GITCOMMIT="${rev}"
export VERSION="${version}"
@ -99,7 +110,7 @@ rec {
cd -
'') + ''
# build cli
cd ./components/cli
cd ./go/src/${goPackagePath}/components/cli
# Mimic AUTO_GOPATH
mkdir -p .gopath/src/github.com/docker/
ln -sf $PWD .gopath/src/github.com/docker/cli
@ -113,7 +124,7 @@ rec {
'';
# systemd 230 no longer has libsystemd-journal as a separate entity from libsystemd
patchPhase = ''
postPatch = ''
substituteInPlace ./components/cli/scripts/build/.variables --replace "set -eu" ""
'' + optionalString (stdenv.isLinux) ''
patchShebangs .
@ -126,6 +137,7 @@ rec {
extraPath = optionals (stdenv.isLinux) (makeBinPath [ iproute iptables e2fsprogs xz xfsprogs procps utillinux git ]);
installPhase = optionalString (stdenv.isLinux) ''
cd ./go/src/${goPackagePath}
install -Dm755 ./components/engine/bundles/dynbinary-daemon/dockerd $out/libexec/docker/dockerd
makeWrapper $out/libexec/docker/dockerd $out/bin/dockerd \
@ -152,13 +164,14 @@ rec {
installShellCompletion --zsh ./components/cli/contrib/completion/zsh/_docker
# Include contributed man pages (cli)
cd ./components/cli
'' + lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) ''
# Generate man pages from cobra commands
echo "Generate man pages from cobra"
cd ./components/cli
mkdir -p ./man/man1
go build -o ./gen-manpages github.com/docker/cli/man
./gen-manpages --root . --target ./man/man1
'' + ''
# Generate legacy pages from markdown
echo "Generate legacy manpages"
./man/md2man-all.sh -q

View File

@ -15,7 +15,8 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = "-DPR_SET_CHILD_SUBREAPER=36 -DPR_GET_CHILD_SUBREAPER=37";
buildInputs = [ cmake glibc glibc.static ];
nativeBuildInputs = [ cmake ];
buildInputs = [ glibc glibc.static ];
meta = with stdenv.lib; {
description = "A tiny but valid init for containers";

View File

@ -181,7 +181,7 @@ stdenv.mkDerivation (args // {
"CXX_${rust.toRustTarget stdenv.buildPlatform}"="${cxxForBuild}" \
"CC_${rust.toRustTarget stdenv.hostPlatform}"="${ccForHost}" \
"CXX_${rust.toRustTarget stdenv.hostPlatform}"="${cxxForHost}" \
cargo build \
cargo build -j $NIX_BUILD_CORES \
${stdenv.lib.optionalString (buildType == "release") "--release"} \
--target ${rustTarget} \
--frozen ${concatStringsSep " " cargoBuildFlags}
@ -208,7 +208,7 @@ stdenv.mkDerivation (args // {
${stdenv.lib.optionalString (buildAndTestSubdir != null) "pushd ${buildAndTestSubdir}"}
runHook preCheck
echo "Running cargo test ${argstr} -- ''${checkFlags} ''${checkFlagsArray+''${checkFlagsArray[@]}}"
cargo test ${argstr} -- ''${checkFlags} ''${checkFlagsArray+"''${checkFlagsArray[@]}"}
cargo test -j $NIX_BUILD_CORES ${argstr} -- --test-threads=$NIX_BUILD_CORES ''${checkFlags} ''${checkFlagsArray+"''${checkFlagsArray[@]}"}
runHook postCheck
${stdenv.lib.optionalString (buildAndTestSubdir != null) "popd"}
'');

View File

@ -55,7 +55,7 @@ let
(targetPlatform != hostPlatform)
"${targetPlatform.config}-";
buildMK = ''
buildMK = dontStrip: ''
BuildFlavour = ${ghcFlavour}
ifneq \"\$(BuildFlavour)\" \"\"
include mk/flavours/\$(BuildFlavour).mk
@ -68,6 +68,8 @@ let
HADDOCK_DOCS = NO
BUILD_SPHINX_HTML = NO
BUILD_SPHINX_PDF = NO
'' + stdenv.lib.optionalString dontStrip ''
STRIP_CMD = :
'' + stdenv.lib.optionalString (!enableProfiledLibs) ''
GhcLibWays = "v dyn"
'' + stdenv.lib.optionalString enableRelocatedStaticLibs ''
@ -127,7 +129,7 @@ stdenv.mkDerivation (rec {
export READELF="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}readelf"
export STRIP="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}strip"
echo -n "${buildMK}" > mk/build.mk
echo -n "${buildMK dontStrip}" > mk/build.mk
sed -i -e 's|-isysroot /Developer/SDKs/MacOSX10.5.sdk||' configure
'' + stdenv.lib.optionalString (!stdenv.isDarwin) ''
export NIX_LDFLAGS+=" -rpath $out/lib/ghc-${version}"
@ -240,8 +242,9 @@ stdenv.mkDerivation (rec {
inherit (ghc.meta) license platforms;
};
dontStrip = (targetPlatform.useAndroidPrebuilt || targetPlatform.isWasm);
} // stdenv.lib.optionalAttrs targetPlatform.useAndroidPrebuilt{
dontStrip = true;
dontPatchELF = true;
noAuditTmpdir = true;
})

View File

@ -52,7 +52,7 @@ let
(targetPlatform != hostPlatform)
"${targetPlatform.config}-";
buildMK = ''
buildMK = dontStrip: ''
BuildFlavour = ${ghcFlavour}
ifneq \"\$(BuildFlavour)\" \"\"
include mk/flavours/\$(BuildFlavour).mk
@ -65,6 +65,8 @@ let
HADDOCK_DOCS = NO
BUILD_SPHINX_HTML = NO
BUILD_SPHINX_PDF = NO
'' + stdenv.lib.optionalString dontStrip ''
STRIP_CMD = :
'' + stdenv.lib.optionalString enableRelocatedStaticLibs ''
GhcLibHcOpts += -fPIC
GhcRtsHcOpts += -fPIC
@ -122,7 +124,7 @@ stdenv.mkDerivation (rec {
export READELF="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}readelf"
export STRIP="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}strip"
echo -n "${buildMK}" > mk/build.mk
echo -n "${buildMK dontStrip}" > mk/build.mk
sed -i -e 's|-isysroot /Developer/SDKs/MacOSX10.5.sdk||' configure
'' + stdenv.lib.optionalString (!stdenv.isDarwin) ''
export NIX_LDFLAGS+=" -rpath $out/lib/ghc-${version}"
@ -235,8 +237,9 @@ stdenv.mkDerivation (rec {
inherit (ghc.meta) license platforms;
};
dontStrip = (targetPlatform.useAndroidPrebuilt || targetPlatform.isWasm);
} // stdenv.lib.optionalAttrs targetPlatform.useAndroidPrebuilt{
dontStrip = true;
dontPatchELF = true;
noAuditTmpdir = true;
})

View File

@ -55,7 +55,7 @@ let
(targetPlatform != hostPlatform)
"${targetPlatform.config}-";
buildMK = ''
buildMK = dontStrip: ''
BuildFlavour = ${ghcFlavour}
ifneq \"\$(BuildFlavour)\" \"\"
include mk/flavours/\$(BuildFlavour).mk
@ -68,6 +68,8 @@ let
HADDOCK_DOCS = NO
BUILD_SPHINX_HTML = NO
BUILD_SPHINX_PDF = NO
'' + stdenv.lib.optionalString dontStrip ''
STRIP_CMD = :
'' + stdenv.lib.optionalString (!enableProfiledLibs) ''
GhcLibWays = "v dyn"
'' + stdenv.lib.optionalString enableRelocatedStaticLibs ''
@ -127,7 +129,7 @@ stdenv.mkDerivation (rec {
export READELF="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}readelf"
export STRIP="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}strip"
echo -n "${buildMK}" > mk/build.mk
echo -n "${buildMK dontStrip}" > mk/build.mk
sed -i -e 's|-isysroot /Developer/SDKs/MacOSX10.5.sdk||' configure
'' + stdenv.lib.optionalString (!stdenv.isDarwin) ''
export NIX_LDFLAGS+=" -rpath $out/lib/ghc-${version}"
@ -240,8 +242,9 @@ stdenv.mkDerivation (rec {
inherit (ghc.meta) license platforms;
};
dontStrip = (targetPlatform.useAndroidPrebuilt || targetPlatform.isWasm);
} // stdenv.lib.optionalAttrs targetPlatform.useAndroidPrebuilt{
dontStrip = true;
dontPatchELF = true;
noAuditTmpdir = true;
})

View File

@ -55,7 +55,7 @@ let
(targetPlatform != hostPlatform)
"${targetPlatform.config}-";
buildMK = ''
buildMK = dontStrip: ''
BuildFlavour = ${ghcFlavour}
ifneq \"\$(BuildFlavour)\" \"\"
include mk/flavours/\$(BuildFlavour).mk
@ -68,6 +68,8 @@ let
HADDOCK_DOCS = NO
BUILD_SPHINX_HTML = NO
BUILD_SPHINX_PDF = NO
'' + stdenv.lib.optionalString dontStrip ''
STRIP_CMD = :
'' + stdenv.lib.optionalString (!enableProfiledLibs) ''
GhcLibWays = "v dyn"
'' + stdenv.lib.optionalString enableRelocatedStaticLibs ''
@ -127,7 +129,7 @@ stdenv.mkDerivation (rec {
export READELF="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}readelf"
export STRIP="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}strip"
echo -n "${buildMK}" > mk/build.mk
echo -n "${buildMK dontStrip}" > mk/build.mk
sed -i -e 's|-isysroot /Developer/SDKs/MacOSX10.5.sdk||' configure
'' + stdenv.lib.optionalString (!stdenv.isDarwin) ''
export NIX_LDFLAGS+=" -rpath $out/lib/ghc-${version}"
@ -240,8 +242,9 @@ stdenv.mkDerivation (rec {
inherit (ghc.meta) license platforms;
};
dontStrip = (targetPlatform.useAndroidPrebuilt || targetPlatform.isWasm);
} // stdenv.lib.optionalAttrs targetPlatform.useAndroidPrebuilt{
dontStrip = true;
dontPatchELF = true;
noAuditTmpdir = true;
})

View File

@ -61,7 +61,7 @@ let
(targetPlatform != hostPlatform)
"${targetPlatform.config}-";
buildMK = ''
buildMK = dontStrip: ''
BuildFlavour = ${ghcFlavour}
ifneq \"\$(BuildFlavour)\" \"\"
include mk/flavours/\$(BuildFlavour).mk
@ -74,6 +74,8 @@ let
HADDOCK_DOCS = NO
BUILD_SPHINX_HTML = NO
BUILD_SPHINX_PDF = NO
'' + stdenv.lib.optionalString dontStrip ''
STRIP_CMD = :
'' + stdenv.lib.optionalString (!enableProfiledLibs) ''
GhcLibWays = "v dyn"
'' + stdenv.lib.optionalString enableRelocatedStaticLibs ''
@ -137,7 +139,7 @@ stdenv.mkDerivation (rec {
export READELF="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}readelf"
export STRIP="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}strip"
echo -n "${buildMK}" > mk/build.mk
echo -n "${buildMK dontStrip}" > mk/build.mk
echo ${version} > VERSION
echo ${src.rev} > GIT_COMMIT_ID
./boot
@ -256,8 +258,9 @@ stdenv.mkDerivation (rec {
inherit (ghc.meta) license platforms;
};
dontStrip = (targetPlatform.useAndroidPrebuilt || targetPlatform.isWasm);
} // stdenv.lib.optionalAttrs targetPlatform.useAndroidPrebuilt{
dontStrip = true;
dontPatchELF = true;
noAuditTmpdir = true;
})

View File

@ -212,6 +212,7 @@ let
preFixup = preFixup + ''
find $out/bin -type f -exec ${removeExpr removeReferences} '{}' + || true
find $out/libexec -type f -exec ${removeExpr removeReferences} '{}' + || true
'';
strictDeps = true;

View File

@ -35,7 +35,7 @@ in
, enableSharedExecutables ? false
, enableSharedLibraries ? (ghc.enableShared or false)
, enableDeadCodeElimination ? (!stdenv.isDarwin) # TODO: use -dead_strip for darwin
, enableStaticLibraries ? !stdenv.hostPlatform.isWindows
, enableStaticLibraries ? !(stdenv.hostPlatform.isWindows or stdenv.hostPlatform.isWasm)
, enableHsc2hsViaAsm ? stdenv.hostPlatform.isWindows && stdenv.lib.versionAtLeast ghc.version "8.4"
, extraLibraries ? [], librarySystemDepends ? [], executableSystemDepends ? []
# On macOS, statically linking against system frameworks is not supported;
@ -90,6 +90,7 @@ assert editedCabalFile != null -> revision != null;
# --enable-static does not work on windows. This is a bug in GHC.
# --enable-static will pass -staticlib to ghc, which only works for mach-o and elf.
assert stdenv.hostPlatform.isWindows -> enableStaticLibraries == false;
assert stdenv.hostPlatform.isWasm -> enableStaticLibraries == false;
let

View File

@ -1,28 +1,34 @@
{ stdenv, fetchurl, pkgconfig, glib, freetype, cairo, libintl
{ stdenv, fetchFromGitHub, pkgconfig, glib, freetype, cairo, libintl
, meson, ninja
, gobject-introspection
, icu, graphite2, harfbuzz # The icu variant uses and propagates the non-icu one.
, ApplicationServices, CoreText
, withCoreText ? false
, withIcu ? false # recommended by upstream as default, but most don't needed and it's big
, withGraphite2 ? true # it is small and major distros do include it
, python
, python3
, gtk-doc, docbook-xsl-nons, docbook_xml_dtd_43
}:
let
version = "2.6.7";
version = "2.7.1";
inherit (stdenv.lib) optional optionals optionalString;
mesonFeatureFlag = opt: b:
"-D${opt}=${if b then "enabled" else "disabled"}";
in
stdenv.mkDerivation {
name = "harfbuzz${optionalString withIcu "-icu"}-${version}";
src = fetchurl {
url = "https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-${version}.tar.xz";
sha256 = "065jg6s8xix45s4msj0l2r0iycw5yyyjdylripv7pyfzdk883r29";
src = fetchFromGitHub {
owner = "harfbuzz";
repo = "harfbuzz";
rev = version;
sha256 = "172jmwp666xbs6yy1pc2495gnkz8xw11b8zkz3j19jxlvvp4mxcs";
};
postPatch = ''
patchShebangs src/gen-def.py
patchShebangs src/*.py
patchShebangs test
'' + stdenv.lib.optionalString stdenv.isDarwin ''
# ApplicationServices.framework headers have cast-align warnings.
@ -30,22 +36,25 @@ stdenv.mkDerivation {
--replace '#pragma GCC diagnostic error "-Wcast-align"' ""
'';
outputs = [ "out" "dev" ];
outputs = [ "out" "dev" "devdoc" ];
outputBin = "dev";
configureFlags = [
# not auto-detected by default
"--with-graphite2=${if withGraphite2 then "yes" else "no"}"
"--with-icu=${if withIcu then "yes" else "no"}"
"--with-gobject=yes"
"--enable-introspection=yes"
]
++ stdenv.lib.optional withCoreText "--with-coretext=yes";
mesonFlags = [
(mesonFeatureFlag "graphite" withGraphite2)
(mesonFeatureFlag "icu" withIcu)
(mesonFeatureFlag "coretext" withCoreText)
];
nativeBuildInputs = [
meson
ninja
gobject-introspection
libintl
pkgconfig
python3
gtk-doc
docbook-xsl-nons
docbook_xml_dtd_43
];
buildInputs = [ glib freetype cairo ] # recommended by upstream
@ -55,11 +64,10 @@ stdenv.mkDerivation {
++ optional withGraphite2 graphite2
++ optionals withIcu [ icu harfbuzz ];
checkInputs = [ python ];
doInstallCheck = false; # fails, probably a bug
doCheck = true;
# Slightly hacky; some pkgs expect them in a single directory.
postInstall = optionalString withIcu ''
postFixup = optionalString withIcu ''
rm "$out"/lib/libharfbuzz.* "$dev/lib/pkgconfig/harfbuzz.pc"
ln -s {'${harfbuzz.out}',"$out"}/lib/libharfbuzz.la
ln -s {'${harfbuzz.dev}',"$dev"}/lib/pkgconfig/harfbuzz.pc
@ -71,12 +79,9 @@ stdenv.mkDerivation {
meta = with stdenv.lib; {
description = "An OpenType text shaping engine";
homepage = "http://www.freedesktop.org/wiki/Software/HarfBuzz";
downloadPage = "https://www.freedesktop.org/software/harfbuzz/release/";
homepage = "https://harfbuzz.github.io/";
maintainers = [ maintainers.eelco ];
license = licenses.mit;
platforms = with platforms; linux ++ darwin;
inherit version;
updateWalker = true;
};
}

View File

@ -32,7 +32,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.1.5";
version = "20.1.6";
branch = versions.major version;
in
@ -47,7 +47,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 = "16y609zavqqhvxb55c06zwkg986qp6znvn7qjg4axw8bdqg8dhgs";
sha256 = "0g59gxbgr884a9xvg0fls10zkllyhz675zjvr50dcfmh2h0x9gi3";
};
prePatch = "patchShebangs .";
@ -97,6 +97,12 @@ stdenv.mkDerivation {
substituteInPlace meson.build --replace \
"find_program('pkg-config')" \
"find_program('${buildPackages.pkg-config.targetPrefix}pkg-config')"
# The drirc.d directory cannot be installed to $drivers as that would cause a cyclic dependency:
substituteInPlace src/util/xmlconfig.c --replace \
'DATADIR "/drirc.d"' '"${placeholder "out"}/drirc.d"'
substituteInPlace src/util/meson.build --replace \
"get_option('datadir')" "'${placeholder "out"}'"
'';
outputs = [ "out" "dev" "drivers" ] ++ lib.optional enableOSMesa "osmesa";
@ -104,6 +110,7 @@ stdenv.mkDerivation {
# TODO: Figure out how to enable opencl without having a runtime dependency on clang
mesonFlags = [
"--sysconfdir=/etc"
"--datadir=${placeholder "drivers"}/share" # Vendor files
# Don't build in debug mode
# https://gitlab.freedesktop.org/mesa/mesa/blob/master/docs/meson.html#L327
@ -184,9 +191,6 @@ stdenv.mkDerivation {
mv $out/lib/lib*_mesa* $drivers/lib
fi
# move vendor files
mv $out/share/ $drivers/
# Update search path used by glvnd
for js in $drivers/share/glvnd/egl_vendor.d/*.json; do
substituteInPlace "$js" --replace '"libEGL_' '"'"$drivers/lib/libEGL_"

View File

@ -27,11 +27,11 @@ let inherit (stdenv.lib) optional optionals optionalString; in
stdenv.mkDerivation rec {
pname = "nghttp2";
version = "1.40.0";
version = "1.41.0";
src = fetchurl {
url = "https://github.com/${pname}/${pname}/releases/download/v${version}/${pname}-${version}.tar.bz2";
sha256 = "0kyrgd4s2pq51ps5z385kw1hn62m8qp7c4h6im0g4ibrf89qwxc2";
sha256 = "0h12wz72paxnj8l9vv2qfgfbmj20c6pz6xbilb7ns9zcwxwa0p34";
};
outputs = [ "bin" "out" "dev" "lib" ]

View File

@ -1,11 +1,11 @@
{ stdenv, fetchurl, openssl, cyrus_sasl, db, groff, libtool }:
stdenv.mkDerivation rec {
name = "openldap-2.4.50";
name = "openldap-2.4.51";
src = fetchurl {
url = "https://www.openldap.org/software/download/OpenLDAP/openldap-release/${name}.tgz";
sha256 = "1f46nlfwmys110j36sifm7ah8m8f3s10c3vaiikmmigmifapvdaw";
sha256 = "0qmy2jkk6v9iqwrsdsn8s7lwzaplr01a2mgf21r6nl66lig7g47l";
};
# TODO: separate "out" and "bin"

View File

@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
pname = "p11-kit";
version = "0.23.20";
version = "0.23.21";
src = fetchFromGitHub {
owner = "p11-glue";
repo = pname;
rev = version;
sha256 = "00xxhzgd7cpin9nzwrrzykvhjwqg5l45p0cq2gv68y3sxq2p9q6y";
sha256 = "1w24brn8j3vwfp07p2hldw2ci06pk1cx1dvjk8jjxkccp20fk958";
};
outputs = [ "out" "dev"];

View File

@ -12,11 +12,11 @@ let
in
stdenv.mkDerivation rec {
name = "poppler-${suffix}-${version}";
version = "0.90.1"; # beware: updates often break cups-filters build, check texlive and scribusUnstable too!
version = "20.08.0"; # beware: updates often break cups-filters build, check texlive and scribusUnstable too!
src = fetchurl {
url = "${meta.homepage}/poppler-${version}.tar.xz";
sha256 = "mE2C5y6RQY0oCIUpjIvchVov2SZl/VKhNFsnI14MccQ=";
sha256 = "19gchq6fpa00ic5rn1zmjzxx85cif4hbdrsjcfd2aqxz9gqgwrdf";
};
outputs = [ "out" "dev" ];

View File

@ -0,0 +1,6 @@
{ callPackage, ... }:
callPackage ./generic-v3.nix {
version = "3.13.0";
sha256 = "1nqsvi2yfr93kiwlinz8z7c68ilg1j75b2vcpzxzvripxx5h6xhd";
}

View File

@ -6,11 +6,11 @@ in
stdenv.mkDerivation rec {
pname = "sqlite-analyzer";
version = "3.32.3";
version = "3.33.0";
src = assert version == sqlite.version; fetchurl {
url = "https://sqlite.org/2020/sqlite-src-${archiveVersion version}.zip";
sha256 = "1fgmslzf013ry3a7g2vms7zyg24gs53gfj308r6ki4inbn3g04lk";
sha256 = "1f09srlrmcab1sf8j2d89s2kvknlbxk7mbsiwpndw9mall27dgwh";
};
nativeBuildInputs = [ unzip ];

View File

@ -10,12 +10,12 @@ in
stdenv.mkDerivation rec {
pname = "sqlite";
version = "3.32.3";
version = "3.33.0";
# NB! Make sure to update analyzer.nix src (in the same directory).
src = fetchurl {
url = "https://sqlite.org/2020/sqlite-autoconf-${archiveVersion version}.tar.gz";
sha256 = "0rlbaq177gcgk5dswd3akbhv2nvvzljrbhgy18hklbhw7h90f5d3";
sha256 = "05dvdfaxd552gj5p7k0i72sfam7lykaw1g2pfn52jnppqx42qshh";
};
outputs = [ "bin" "dev" "out" ];

View File

@ -19,9 +19,13 @@ buildPythonPackage rec {
propagatedBuildInputs = [ invoke paramiko cryptography ];
checkInputs = [ pytest mock pytest-relaxed ];
# requires pytest_relaxed, which doesnt have official support for pytest>=5
# https://github.com/bitprophet/pytest-relaxed/issues/12
doCheck = false;
checkPhase = ''
pytest tests
'';
pythonImportsCheck = [ "fabric" ];
meta = with lib; {
description = "Pythonic remote execution";

View File

@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "JPype1";
version = "0.7.5";
version = "1.0.2";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "7bbd25453dc04704d77d854c80acb5537ecb18b9de8a5572e5f22649a2160aaf";
sha256 = "c751436350c105f403e382574d34a6ad73e4a677cb0ff5bc9a87581cc07094e1";
};
checkInputs = [

View File

@ -35,7 +35,7 @@
buildPythonPackage rec {
pname = "Nikola";
version = "8.0.4";
version = "8.1.1";
# Nix contains only Python 3 supported version of doit, which is a dependency
# of Nikola. Python 2 support would require older doit 0.29.0 (which on the
@ -54,7 +54,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "2e5c8305ec4423b56af2223336c3309e5c9b8c96df0d6fde46d26cff4c5d6f1a";
sha256 = "cee35b011667a965eca01b7d36b54649c9434ab004d8556d6563b7d899df61ed";
};
patchPhase = ''

View File

@ -11,12 +11,12 @@
buildPythonPackage rec {
pname = "aioftp";
version = "0.16.1";
version = "0.17.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "0rqzg4w86zch0cjslkndv02gmpi0r27lsy1qi1irpa8hqfhh23ja";
sha256 = "87869958fa98c4691acad0815840a94c1b50c6925d037d4dbb51331ddf4911f3";
};
checkInputs = [

View File

@ -54,6 +54,8 @@ buildPythonPackage rec {
"proxy_https_bad_response"
"partially_applied_handler"
"middleware"
# no longer compatible with pytest>=6
"aiohttp_plugin_async_fixture"
] ++ lib.optionals stdenv.is32bit [
"test_cookiejar"
] ++ lib.optionals isPy38 [

View File

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "aiohue";
version = "2.1.0";
version = "2.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "bdd08ad65505057b9dc8fc1b5558250bd13aeba681a493080f710ffffc4260a3";
sha256 = "35696d04d6eb0328b7031ea3c0a3cfe5d83dfcf62f920522e4767d165c6bc529";
};
propagatedBuildInputs = [ aiohttp ];

View File

@ -3,13 +3,13 @@
buildPythonPackage rec {
pname = "aiounifi";
version = "22";
version = "23";
disabled = ! isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "ad2625c8a62e28781d50644f4a4df5a97a32174b965cd3b329820ae85e2dfcc3";
sha256 = "0628058b644776132f2f893f1a2201a0142a38b6acf089c6b11a63ad5a752ba7";
};
propagatedBuildInputs = [ aiohttp ];

View File

@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "alerta-server";
version = "7.5.6";
version = "8.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "507abdb64c8b83c8ff0c21e39b03a21ccd7884ca3ce31afacea2d97e4d39f2e8";
sha256 = "894d240c51428225264867a80094b9743d71272635a18ddfefa5832b61fed2c6";
};
propagatedBuildInputs = [ python-dateutil requests pymongo raven bcrypt flask pyjwt flask-cors psycopg2 pytz flask-compress jinja2 pyyaml];

View File

@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "alerta";
version = "7.5.7";
version = "8.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "849966c05e9899ac72af23991e9f17271c42bba89035c49d257a9dd96b54695b";
sha256 = "49e0862c756d644e9349f5040dd59d135cd871ffeaea5fc288eb3a2e818cf61a";
};
propagatedBuildInputs = [ six click requests pytz tabulate ];

View File

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "amqp";
version = "2.6.0";
version = "2.6.1";
src = fetchPypi {
inherit pname version;
sha256 = "24dbaff8ce4f30566bb88976b398e8c4e77637171af3af6f1b9650f48890e60b";
sha256 = "70cdb10628468ff14e57ec2f751c7aa9e48e7e3651cfd62d431213c0c4e58f21";
};
propagatedBuildInputs = [ vine ];

View File

@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "apprise";
version = "0.8.6";
version = "0.8.7";
src = fetchPypi {
inherit pname version;
sha256 = "695f9b98b7eb273901d9d28a026a69a028a57ab7d666bdf146ecc215c80b5041";
sha256 = "18a65c5917bf7f2d48bb557bf0879e49c5293b4c0e9809328387ae09338ae37b";
};
nativeBuildInputs = [ Babel ];

View File

@ -15,12 +15,12 @@
buildPythonPackage rec {
pname = "asdf";
version = "2.6.0";
version = "2.7.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "1ym9mmxjpnnlinly1rxfqj9rlyl2fv7dxc81f30n1b8n9pwc6jb5";
sha256 = "687d741f19db663b769eb188458dafd4fe5cc10201640ffed3210c7f138f15d0";
};
postPatch = ''

View File

@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "asn1crypto";
version = "1.3.0";
version = "1.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "0bf4xxaig0b9dv6njynaqk2j7vlpagh3y49s9qj95y0jvjw5q8as";
sha256 = "f4f6e119474e58e04a2b1af817eb585b4fd72bdd89b998624712b5c99be7641c";
};
# No tests included

View File

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, isPy27, pytest, fetchpatch }:
{ lib, buildPythonPackage, fetchPypi, isPy27, pytestCheckHook, fetchpatch }:
buildPythonPackage rec {
pname = "astor";
@ -10,15 +10,15 @@ buildPythonPackage rec {
};
# disable tests broken with python3.6: https://github.com/berkerpeksag/astor/issues/89
checkInputs = [ pytest ];
checkPhase = ''
py.test -k 'not check_expressions \
and not check_astunparse \
and not test_convert_stdlib \
and not test_codegen_as_submodule \
and not test_positional_only_arguments \
and not test_codegen_from_root'
'';
checkInputs = [ pytestCheckHook ];
disabledTests = [
"check_expressions"
"check_astunparse"
"convert_stdlib"
"codegen_as_submodule"
"positional_only_arguments"
"codegen_from_root"
];
meta = with lib; {
description = "Library for reading, writing and rewriting python AST";

View File

@ -8,7 +8,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "0gw665737pr9b0lmmxlnwgmw1sbwv00xp8jdxws1xxi6nc72mjsk";
sha256 = "53cb2a0eb326f61e34ef4da2db01d87ce9c0ebe396f65a295829df334e31863f";
};
checkInputs = [

View File

@ -5,12 +5,12 @@
buildPythonPackage rec {
pname = "asyncssh";
version = "2.2.1";
version = "2.3.0";
disabled = pythonOlder "3.4";
src = fetchPypi {
inherit pname version;
sha256 = "baf9f1aa397a104a0c3923bae927796ca57063ce62330767131b418cd833338e";
sha256 = "44bda34c7123f00c3df95d24e2dc8d43c4d17b456fbb8c434ef4f4a7ebb5265e";
};
patches = [

View File

@ -1,18 +1,26 @@
{ lib, isPy3k, fetchPypi, buildPythonPackage
, pytest }:
{ lib, isPy3k, pythonOlder, fetchPypi, buildPythonPackage
, pytest
, pytestcov
, sybil
, typing-extensions
}:
buildPythonPackage rec {
pname = "atpublic";
version = "1.0";
version = "2.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "0i3sbxkdlbb4560rrlmwwd5y4ps7k73lp4d8wnmd7ag9k426gjkx";
sha256 = "ebeb62b71a5c683a84c1b16bbf415708af5a46841b142b85ac3a22ec2d7613b0";
};
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
typing-extensions
];
checkInputs = [
pytest
pytest pytestcov sybil
];
checkPhase = ''

View File

@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "auth0-python";
version = "3.10.0";
version = "3.12.0";
src = fetchPypi {
inherit pname version;
sha256 = "e02525fd60d4b1e7e08bdc539b536db635da28ee25cc882412be4296802d0281";
sha256 = "fbc54a231ca787ae0917223028269582abbd963cfa9d53ba822a601dd9cd2215";
};
propagatedBuildInputs = [

View File

@ -4,11 +4,11 @@
}:
buildPythonPackage rec {
pname = "autobahn";
version = "20.4.3";
version = "20.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "c6fe745d52ba9f9eecf791cd31f558df42aebfc4f9ee558a8f1d18c707e1ae1f";
sha256 = "86bbce30cdd407137c57670993a8f9bfdfe3f8e994b889181d85e844d5aa8dfb";
};
propagatedBuildInputs = [ six txaio twisted zope_interface cffi cryptography pynacl ] ++

View File

@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "avro-python3";
version = "1.9.2.1";
version = "1.10.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "ca1e77a3da5ac98e8833588f71fb2e170b38e34787ee0e04920de0e9470b7d32";
sha256 = "a455c215540b1fceb1823e2a918e94959b54cb363307c97869aa46b5b55bde05";
};
doCheck = false; # No such file or directory: './run_tests.py

View File

@ -6,7 +6,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "00rg1nn9szwm0p1lcda0w3iyqy9mx2y9zv0hdwaz6k0bsagziydv";
sha256 = "bbf9f89fd20b4cf3156f10ec9fbce83579ece3e0403546c305957f9dac0d2f03";
};
patchPhase = ''

View File

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "awkward";
version = "0.12.22";
version = "0.13.0";
src = fetchPypi {
inherit pname version;
sha256 = "185d93588c4cc150b2426b2764cdf2370f1807c607c1b4b057c66b2a08720c43";
sha256 = "1a461ee084ea5e98333dacf2506e9b2619ee89cece14b9b99830b546b35c5922";
};
nativeBuildInputs = [ pytestrunner ];

View File

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "aws-sam-translator";
version = "1.24.0";
version = "1.26.0";
src = fetchPypi {
inherit pname version;
sha256 = "f6b67545a87ec1e276bd5bf06abcc84332c4eb9dfa2fd415113e07a908fe55bb";
sha256 = "1a3fd8e48a745967e8457b9cefdc3ad0f139ac4a25af4db9c13a9e1c19ea6910";
};
# Tests are not included in the PyPI package

View File

@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "aws-xray-sdk";
version = "2.5.0";
version = "2.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "8dfa785305fc8dc720d8d4c2ec6a58e85e467ddc3a53b1506a2ed8b5801c8fc7";
sha256 = "abf5b90f740e1f402e23414c9670e59cb9772e235e271fef2bce62b9100cbc77";
};
propagatedBuildInputs = [

View File

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "backcall";
version = "0.1.0";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "38ecd85be2c1e78f77fd91700c76e14667dc21e2713b63876c0eb901196e01e4";
sha256 = "5cbdbf27be5e7cfadb448baf0aa95508f91f2bbc6c6437cd9cd06e2a4c215e1e";
};
checkInputs = [ pytest ];

View File

@ -1,15 +1,16 @@
{ stdenv, buildPythonPackage, isPyPy, fetchPypi
{ stdenv, buildPythonPackage, isPyPy, fetchPypi, pythonOlder
, cffi, pycparser, mock, pytest, py, six }:
with stdenv.lib;
buildPythonPackage rec {
version = "3.1.7";
version = "3.2.0";
pname = "bcrypt";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "0b0069c752ec14172c5f78208f1863d7ad6755a6fae6fe76ec2c80d13be41e42";
sha256 = "5b93c1726e50a93a033c36e5ca7fdcd29a5c7395af50a6892f5d9e7c6cfbfb29";
};
buildInputs = [ pycparser mock pytest py ];
propagatedBuildInputs = [ six ] ++ optional (!isPyPy) cffi;

View File

@ -5,14 +5,14 @@
let
pname = "bellows";
version = "0.17.0";
version = "0.18.1";
in buildPythonPackage rec {
inherit pname version;
src = fetchPypi {
inherit pname version;
sha256 = "03gckhrxji8lgjsi6xr8yql405kfanii5hjrmakk1328bmq9g5f6";
sha256 = "6a2e323c2be6f10a8e99fffccb5670bc77bbddb7b5bd9253b69021120f2ab9d7";
};
propagatedBuildInputs = [

View File

@ -4,12 +4,12 @@
}:
buildPythonPackage rec {
version = "0.4.0";
version = "0.5.0";
pname = "BespON";
src = fetchPypi {
inherit pname version;
sha256 = "4acfa3f918d416654beccd4db69290f498edb78bf39941287dcbc068b9a7ce2f";
sha256 = "a75cd7e62746fb0fef9b98aa157a44f9ed2ef63e952f7ae4ec5b3c2892669187";
};
propagatedBuildInputs = [ ];

View File

@ -12,12 +12,12 @@
buildPythonPackage rec {
pname = "bidict";
version = "0.19.0";
version = "0.20.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "11wiis62kcw6g3n4gdj39fx1yrlq5vz3zx3kmb6g79mliyhn2x7g";
sha256 = "c1b1ce1c0f1e3457489672bc3a4db375a06f61ae7797a9eedf71ea788cea3870";
};
nativeBuildInputs = [ setuptools_scm ];

View File

@ -8,12 +8,13 @@
buildPythonPackage rec {
pname = "bip_utils";
version = "1.0.5";
version = "1.4.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "e8397a315c2f656ccf37ff1c43f5e0d496a10ea692c614fdf9bae1a3d5de3558";
sha256 = "582022ab5c1ff35d0179a22a39c90b7e4e71e4641d59b2a3e81d60df741d1e3c";
};
propagatedBuildInputs = [ ecdsa pysha3 ];

View File

@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "bleak";
version = "0.6.4";
version = "0.7.1";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1dc32899d0700c5b5ed9abf642dfee28ac62b1fb5d7be5fa5a6db104dec9a03c";
sha256 = "25f630cf558efda5cbf620d921b85a80ae963c537feaa18cc934f7fa38dc482d";
};
postPatch = ''

View File

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "block-io";
version = "1.1.14";
version = "1.1.15";
src = fetchPypi {
inherit pname version;
sha256 = "b87b753fe8d2812c3534be025f85ed97d1a00e8fe49c03fe9ad09d71860d672d";
sha256 = "97ea037a67af72037cb08cec7e0a9f7866ecdfaa1a8c8ebcc0f4b9359a1516d7";
};
propagatedBuildInputs = [

View File

@ -14,13 +14,13 @@
}:
buildPythonPackage rec {
version = "20.2.1";
version = "20.7.1";
pname = "BoltzTraP2";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "1cbf17c5479eec82efd1e8a26202c3320b1986597a08706cafa46bfb80cc3001";
sha256 = "41caa32e5778323471d87033f23537f6178a7aea64fba894c7f2b2579b51f7ed";
};
dontUseCmakeConfigure = true;

View File

@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "boto3";
version = "1.14.32"; # N.B: if you change this, change botocore too
version = "1.14.43"; # N.B: if you change this, change botocore too
src = fetchPypi {
inherit pname version;
sha256 = "d494a23295b2db9920e85391dc8106dc08d91dd40eeba5c05002771fe10f8853";
sha256 = "a6c9a3d3abbad2ff2e5751af599492a9271633a7c9fef343482524464c53e451";
};
propagatedBuildInputs = [ botocore jmespath s3transfer ] ++ lib.optionals (!isPy3k) [ futures ];

View File

@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "botocore";
version = "1.17.32"; # N.B: if you change this, change boto3 and awscli to a matching version
version = "1.17.43"; # N.B: if you change this, change boto3 and awscli to a matching version
src = fetchPypi {
inherit pname version;
sha256 = "52a80cb721160b687179bd7077e63d775130455a678bf4280fb37c524c2bd67d";
sha256 = "3fb144d2b5d705127f394f7483737ece6fa79577ca7c493e4f42047ac8636200";
};
propagatedBuildInputs = [

View File

@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "bugsnag";
version = "3.6.1";
version = "3.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "8878437aa44ec485cecb255742035b3b98a6c7e7d167a943b5fbe597b2f8f7f9";
sha256 = "32966bfe625ec6fc0dbc9d86d79a18f31b22b2fdec3ca070eeb3495304f7e18d";
};
propagatedBuildInputs = [ six webob ];

View File

@ -4,6 +4,7 @@
, pythonOlder
, icalendar
, lxml
, mock
, nose
, pytz
, requests
@ -23,6 +24,7 @@ buildPythonPackage rec {
sha256 = "0m64maiqp3k8fsgkkvdx1dlfhkc70pqig4dclq6w8ajz82czrq83";
};
nativeBuildInputs = lib.optionals (pythonOlder "3.5") [ mock ];
propagatedBuildInputs = [ six requests vobject lxml ]
++ lib.optionals (pythonOlder "3.6") [ pytz tzlocal ];

View File

@ -9,7 +9,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "0v2b72n28fi763xxv9vrf4qc61anl2ys9njy7hlm719fdaq3sxml";
sha256 = "b4763db06a2e8553293c5edaa4bda05605c3307179a7ddfb30273a24ac384b6c";
};
propagatedBuildInputs = [

View File

@ -15,11 +15,11 @@
buildPythonPackage rec {
pname = "cassandra-driver";
version = "3.23.0";
version = "3.24.0";
src = fetchPypi {
inherit pname version;
sha256 = "a3b075bfd36677024b1dcf55a561fac161fc4f4065f01557b21a0b02ebad05c2";
sha256 = "83ec8d9a5827ee44bb1c0601a63696a8a9086beaf0151c8255556299246081bd";
};
nativeBuildInputs = [ cython ];

View File

@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "celery";
version = "4.4.6";
version = "4.4.7";
src = fetchPypi {
inherit pname version;
sha256 = "1ni5c3qgbhb7871b3i55wc306m3g2n0qxp92g5gszdxiicjf8xzx";
sha256 = "d220b13a8ed57c78149acf82c006785356071844afe0b27012a4991d44026f9f";
};
postPatch = ''

View File

@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "certifi";
version = "2020.4.5.2";
version = "2020.6.20";
src = fetchPypi {
inherit pname version;
sha256 = "5ad7e9a056d25ffa5082862e36f119f7f7cec6457fa07ee2f8c339814b80c9b1";
sha256 = "5930595817496dd21bb8dc35dad090f1c2cd0adfaf21204bf6732ca5d8ee34d3";
};
pythonImportsCheck = [ "certifi" ];

View File

@ -2,11 +2,11 @@
if isPyPy then null else buildPythonPackage rec {
pname = "cffi";
version = "1.14.1";
version = "1.14.2";
src = fetchPypi {
inherit pname version;
sha256 = "b2a2b0d276a136146e012154baefaea2758ef1f56ae9f4e01c612b0831e0bd2f";
sha256 = "ae8f34d50af2c2154035984b8b5fc5d9ed63f32fe615646ab435b05b132ca91b";
};
outputs = [ "out" "dev" ];

View File

@ -18,11 +18,11 @@
buildPythonPackage rec {
pname = "cfn-lint";
version = "0.33.0";
version = "0.35.0";
src = fetchPypi {
inherit pname version;
sha256 = "b74bb89a3d0da4a744179b07bc186b9fbc4800f929bf635bb6246e80fb91a953";
sha256 = "42023d89520e3a29891ec2eb4c326eef9d1f7516fe9abee8b6c97ce064187b45";
};
propagatedBuildInputs = [

View File

@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "cftime";
version = "1.1.3";
version = "1.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "1w2iakkzxfhyrqrspn40am8x7bzdp5qqdqbm1asbj7fa3mivi17x";
sha256 = "ab5d5076f7d3e699758a244ada7c66da96bae36e22b9e351ce0ececc36f0a57f";
};
checkInputs = [ pytest coveralls pytestcov ];

View File

@ -19,11 +19,11 @@
buildPythonPackage rec {
pname = "chalice";
version = "1.14.1";
version = "1.17.0";
src = fetchPypi {
inherit pname version;
sha256 = "457e71fd84951574ccbe72d1389d9c89aaf5e69a552b01d1f1585faa63459c26";
sha256 = "b1ab4197628f4725ac50479aefe61698ea4a5d83ef88bb88978023cdf840a9a2";
};
checkInputs = [ watchdog pytest hypothesis mock ];

View File

@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "Chameleon";
version = "3.7.4";
version = "3.8.1";
src = fetchPypi {
inherit pname version;
sha256 = "37c01c9af720bc80a0097ebc07eb41e802917ad0006c9a77dc158479c087664b";
sha256 = "adf9609a2fa4ad20deb390605495f9a5d617b737bfbd86e51a49bbac2acaf316";
};
meta = with stdenv.lib; {

View File

@ -18,13 +18,13 @@
buildPythonPackage rec {
pname = "cheroot";
version = "8.3.1";
version = "8.4.4";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "7076d5845f64d729e4155ec2650ad24ee70209340d11b9e619a82e9210a579b8";
sha256 = "ca92669cc90fbd0920fda1ebcc431147e7d3ae6887216ce404f85f1b3133fa93";
};
nativeBuildInputs = [ setuptools_scm setuptools-scm-git-archive ];

View File

@ -32,10 +32,13 @@ buildPythonPackage rec {
objgraph pytest pytestcov pathpy requests_toolbelt pytest-services
];
# Keyboard interrupt ends test suite run
# daemonize and autoreload tests have issue with sockets within sandbox
# Disable doctest plugin because times out
checkPhase = ''
substituteInPlace pytest.ini --replace "--doctest-modules" ""
pytest \
-k 'not KeyboardInterrupt and not daemonize and not Autoreload' \
--deselect=cherrypy/test/test_static.py::StaticTest::test_null_bytes \
--deselect=cherrypy/test/test_tools.py::ToolTests::testCombinedTools \
${stdenv.lib.optionalString stdenv.isDarwin

View File

@ -17,11 +17,11 @@
buildPythonPackage rec {
pname = "cliff";
version = "3.1.0";
version = "3.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "0j9q6725226hdhdyy9b0qfjngdj35d3y7fxbmfxpr36ksbh0x6sj";
sha256 = "49be854582ec4a74240cb72f287846f823cd8cbd2e25f924541d12f27104bda3";
};
propagatedBuildInputs = [

View File

@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "cloudflare";
version = "2.7.1";
version = "2.8.13";
src = fetchPypi {
inherit pname version;
sha256 = "0w8ihj9gram2d4wkbki8f6gr8hsd950b3wzfi1qqqm17lqfk8k7h";
sha256 = "a662990737d86984156a48f769e6528d947e90fd1561bb5e19d0036b59b9fd6f";
};
propagatedBuildInputs = [

View File

@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "cloudpickle";
version = "1.4.1";
version = "1.5.0";
disabled = isPy27; # abandoned upstream
src = fetchPypi {
inherit pname version;
sha256 = "0b6258a20a143603d53b037a20983016d4e978f554ec4f36b3d0895b947099ae";
sha256 = "820c9245cebdec7257211cbe88745101d5d6a042bca11336d78ebd4897ddbc82";
};
buildInputs = [ pytest mock ];

View File

@ -6,11 +6,11 @@
}:
buildPythonPackage rec {
pname = "cmd2";
version = "1.0.2";
version = "1.3.3";
src = fetchPypi {
inherit pname version;
sha256 = "1f18plbc9yyvhn0js3d2bii9yld8zfl775gxsaw9jza5pmlg9ss2";
sha256 = "38015008ff4639edfd66591063a0e9bb75a62dccb14ee3ec7bf3a6cb130de5cf";
};
LC_ALL="en_US.UTF-8";

View File

@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "colander";
version = "1.7.0";
version = "1.8.2";
src = fetchPypi {
inherit pname version;
sha256 = "d758163a22d22c39b9eaae049749a5cd503f341231a02ed95af480b1145e81f2";
sha256 = "54878d2ffd1afb020daca6cd5c6cfe6c0e44d0069fc825d57fe59aa6e4f6a499";
};
propagatedBuildInputs = [ translationstring iso8601 enum34 ];

View File

@ -1,12 +1,12 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, rdkafka, requests, avro3k, avro, futures, enum34 }:
buildPythonPackage rec {
version = "1.4.2";
version = "1.5.0";
pname = "confluent-kafka";
src = fetchPypi {
inherit pname version;
sha256 = "c2660807e5c1ecd723e280f76918794c3fd84595000c1e8de1f254f5d89a785c";
sha256 = "9ac812006000887f76c95b8a33a9f0b65845bf072fbc54a42a1acffd34e41120";
};
buildInputs = [ rdkafka requests ] ++ (if isPy3k then [ avro3k ] else [ enum34 avro futures ]) ;

View File

@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "cornice";
version = "5.0.1";
version = "5.0.2";
src = fetchPypi {
inherit pname version;
sha256 = "4efa77a0d0402f1b92481a53853d65936956a568d64a4f6a703b62feb5b8cf62";
sha256 = "4fcf3be295514e7e20fdd602fea8d204127bb02da2ff6bdbc8b6fba859ac9fd0";
};
propagatedBuildInputs = [ pyramid simplejson six venusian ];

View File

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "coverage";
version = "5.1";
version = "5.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "0ll0hr8g3szbxa4al6khhzi6l92a3vwyldj0085whl44s55gq2zr";
sha256 = "a34cb28e0747ea15e82d13e14de606747e9e484fb28d63c999483f5d5188e89b";
};
# No tests in archive

View File

@ -16,13 +16,13 @@
buildPythonPackage rec {
pname = "coveralls";
version = "2.0.0";
version = "2.1.2";
disabled = isPy27;
# wanted by tests
src = fetchPypi {
inherit pname version;
sha256 = "d213f5edd49053d03f0db316ccabfe17725f2758147afc9a37eaca9d8e8602b5";
sha256 = "4430b862baabb3cf090d36d84d331966615e4288d8a8c5957e0fd456d0dd8bd6";
};
checkInputs = [

View File

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "cupy";
version = "7.5.0";
version = "7.7.0";
src = fetchPypi {
inherit pname version;
sha256 = "243254a1607e19ca55191c4cca4c0f2b143e1d5914e2a1bc9e3f715e7ccafc41";
sha256 = "b4032adf839f63bab7fc9f3e7066ef86abe0928e834aa5d132e4e7ce907951ed";
};
checkInputs = [

View File

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "cx_Freeze";
version = "6.1";
version = "6.2";
src = fetchPypi {
inherit pname version;
sha256 = "a0181bdb0ed16b292f4cfb8cd3afc84e956fc187431f25392bd981460dd73da0";
sha256 = "44bbbcea3196b79da77cc22637cb28a825b51182d32209e8a3f6cd4042edc247";
};
propagatedBuildInputs = [ ncurses ];

View File

@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "cx_Oracle";
version = "7.3.0";
version = "8.0.0";
buildInputs = [ odpic ];
src = fetchPypi {
inherit pname version;
sha256 = "2e0da54e948b55e5c75fab14b391d58aa8b9be1eddfd9ec9a8a0e500bc8bfc7e";
sha256 = "cddc298301789c724de5817611f7bd38b4859b371928e2e85a9c37af222f73c8";
};
preConfigure = ''

View File

@ -20,13 +20,13 @@
}:
buildPythonPackage rec {
version = "1.5.0";
version = "1.6.0";
pname = "dask-ml";
disabled = pythonOlder "3.6"; # >= 3.6
src = fetchPypi {
inherit pname version;
sha256 = "8a9879b7d1642ed8cd48115d81f92a246eb7ffeadc42748053c5339a56f569b4";
sha256 = "ce686b7fd49b3f876d651c87e8468ad71bcd2707399140d6baf198184c45d970";
};
propagatedBuildInputs = [

View File

@ -9,12 +9,12 @@
}:
buildPythonPackage rec {
version = "2.0.0";
version = "2.21.0";
pname = "dask-mpi";
src = fetchPypi {
inherit pname version;
sha256 = "774cd2d69e5f7154e1fa133c22498062edd31507ffa2ea19f4ab4d8975c27bc3";
sha256 = "76e153fc8c58047d898970b33ede0ab1990bd4e69cc130c6627a96f11b12a1a7";
};
checkInputs = [ pytest requests ];

View File

@ -9,12 +9,12 @@
}:
buildPythonPackage rec {
version = "0.1.10";
version = "0.1.11";
pname = "dask-xgboost";
src = fetchPypi {
inherit pname version;
sha256 = "454c47ccf64315d35beeca32c7cedf20d8a8d42471d5e6ce0c51f4af0a6e021e";
sha256 = "3fbe1bf4344dc74edfbe9f928c7e3e6acc26dc57cefd8da8ae56a15469c6941c";
};
checkInputs = [ pytest scikitlearn ];

View File

@ -1,21 +1,22 @@
{ lib, buildPythonPackage, fetchPypi
, decorator, requests, simplejson, pillow
{ lib, buildPythonPackage, fetchPypi, pythonOlder
, decorator, requests, simplejson, pillow, typing
, nose, mock, pytest, freezegun }:
buildPythonPackage rec {
pname = "datadog";
version = "0.36.0";
version = "0.38.0";
src = fetchPypi {
inherit pname version;
sha256 = "1kkbsrzxc2a6k319lh98qkinn99dzcqz8h4fm25q17dlgmc9gq9z";
sha256 = "401cd1dcf2d5de05786016a1c790bff28d1428d12ae1dbe11485f9cb5502939b";
};
postPatch = ''
find . -name '*.pyc' -exec rm {} \;
'';
propagatedBuildInputs = [ decorator requests simplejson pillow ];
propagatedBuildInputs = [ decorator requests simplejson pillow ]
++ lib.optionals (pythonOlder "3.5") [ typing ];
checkInputs = [ nose mock pytest freezegun ];
checkPhase = ''

View File

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "dbf";
version = "0.98.3";
version = "0.99.0";
src = fetchPypi {
inherit pname version;
sha256 = "01d71vya2x87f3kl9x0s8xp0n7wixn6ksrd054y7idq3n1mjaxzh";
sha256 = "a4a7a8cdc113d840142d21a796c16c7d329ad35c48f17156446732c83ebc571a";
};
propagatedBuildInputs = [ aenum ] ++ stdenv.lib.optional (pythonOlder "3.4") enum34;

View File

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "deepdiff";
version = "4.3.2";
version = "5.0.2";
src = fetchPypi {
inherit pname version;
sha256 = "91360be1d9d93b1d9c13ae9c5048fa83d9cff17a88eb30afaa0d7ff2d0fee17d";
sha256 = "e2b74af4da0ef9cd338bb6e8c97242c1ec9d81fcb28298d7bb24acdc19ea79d7";
};
# # Extra packages (may not be necessary)

View File

@ -9,11 +9,11 @@ in
buildPythonPackage rec {
pname = "dependency-injector";
version = "3.15.6";
version = "3.30.4";
src = fetchPypi {
inherit pname version;
sha256 = "fcca1464f567d902983bff507b9e2e3fda0f932ee009e36f74ed5b8c348d17f4";
sha256 = "717388a9346883eb5def3e96def7275763f2a607cac48c272f352e3834e0bd0d";
};
propagatedBuildInputs = [ six ];

View File

@ -2,7 +2,7 @@
buildPythonPackage rec {
pname = "diff-match-patch";
version = "20181111";
version = "20200713";
meta = {
homepage = "https://github.com/diff-match-patch-python/diff-match-patch";
@ -12,7 +12,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "a809a996d0f09b9bbd59e9bbd0b71eed8c807922512910e05cbd3f9480712ddb";
sha256 = "da6f5a01aa586df23dfc89f3827e1cafbb5420be9d87769eeb079ddfd9477a18";
};
checkPhase = ''

View File

@ -27,12 +27,12 @@
buildPythonPackage rec {
pname = "distributed";
version = "2.18.0";
version = "2.23.0";
# get full repository need conftest.py to run tests
src = fetchPypi {
inherit pname version;
sha256 = "902f098fb7558f035333804a5aeba2fb26a2a715388808205a17cbb2e02e0558";
sha256 = "469e505fd7ce75f600188bdb69a95641899d5b372f74246c8f308376b6929e9c";
};
checkInputs = [ pytest pytest-repeat pytest-timeout mock joblib ];

View File

@ -4,10 +4,10 @@
buildPythonPackage rec {
pname = "django-cleanup";
version = "4.0.1";
version = "5.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "4d0fd9ad3117a219e4cb3e35dd32f39c764a860ce56b820abb88ad3ec063ffd7";
sha256 = "84f0c0e0a74545adae4c944a76ccf8fb0c195dddccf3b7195c59267abb7763dd";
};
checkInputs = [ django ];

View File

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "django-cors-headers";
version = "3.3.0";
version = "3.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "73d654950b5f5e7e4f67c05183d2169d4f7518ceb87734eb0d68f9e43be59f1c";
sha256 = "f5218f2f0bb1210563ff87687afbf10786e080d8494a248e705507ebd92d7153";
};
propagatedBuildInputs = [ django ];

View File

@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "django-dynamic-preferences";
version = "1.9";
version = "1.10";
src = fetchPypi {
inherit pname version;
sha256 = "407db27bf55d391c4c8a4944e0521f35eff82c2f2fd5a2fc843fb1b4cc1a31f4";
sha256 = "2310291c7f40606be045938d65e117383549aa8a979c6c4b700464c6a6204a34";
};
propagatedBuildInputs = [ six django persisting-theory ];

View File

@ -2,7 +2,7 @@
buildPythonPackage rec {
pname = "django-ipware";
version = "2.1.0";
version = "3.0.1";
meta = {
description = "A Django application to retrieve user's IP address";
@ -12,7 +12,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "a7c7a8fd019dbdc9c357e6e582f65034e897572fc79a7e467674efa8aef9d00b";
sha256 = "73a640a5bff00aa7503a35e92e462001cfabb07d73d649c262f117423beee953";
};
propagatedBuildInputs = [ django ];

View File

@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "django-q";
version = "1.2.4";
version = "1.3.3";
src = fetchPypi {
inherit pname version;
sha256 = "6838e6dda377ab6bd31f5721a66aa6d19ad9a88ca9c03cbb464b2321d3c4c979";
sha256 = "de7077660ede36bfdd89ab9405d6393b598bb3e0bfed61f59a0a9074cc4942bb";
};
propagatedBuildInputs = [

View File

@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "django_evolution";
version = "0.7.8";
version = "2.0";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "493ff2adad760990ce8cf87c13955af85d4dcff097427bc3619ed01672fac4a8";
sha256 = "a0bc983657de1b0bc5c8d29ddcbf7b6fb113685bf306ccc266cf22b8a77bd862";
};
propagatedBuildInputs = [ django ];

View File

@ -4,11 +4,11 @@
}:
buildPythonPackage rec {
pname = "django-guardian";
version = "2.2.0";
version = "2.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "8cacf49ebcc1e545f0a8997971eec0fe109f5ed31fc2a569a7bf5615453696e2";
sha256 = "ed2de26e4defb800919c5749fb1bbe370d72829fbd72895b6cf4f7f1a7607e1b";
};
checkInputs = [ pytest pytestrunner pytest-django django_environ mock ];

View File

@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "djangoql";
version = "0.13.1";
version = "0.14.0";
src = fetchPypi {
inherit pname version;
sha256 = "366293d7d4e416f9f7d6e2b98775c2129222fbb4dc660f3e6c7b9e35a3cf3fce";
sha256 = "1b1f80940bb15982e06208b97d7b3d08e1d5f8fb62aa07e5e33599c7ce4c0334";
};
propagatedBuildInputs = [ ply ];

View File

@ -7,7 +7,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
hash = "sha256:088iz5cqjqh4c7141d94pvn13bh25aizqlrifwv6fs5g16zj094s";
sha256 = "9a2420bf09af686736773153fca32a02ae11ecbe24b540c26104628959f91121";
};
checkInputs = [ pytest ];

View File

@ -1,13 +1,14 @@
{ buildPythonPackage, fetchPypi, lib }:
{ buildPythonPackage, fetchPypi, lib, pythonOlder }:
buildPythonPackage rec {
pname = "dnspython";
version = "1.16.0";
version = "2.0.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "36c5e8e38d4369a08b6780b7f27d790a292b2b08eea01607865bf0936c558e01";
sha256 = "044af09374469c3a39eeea1a146e8cac27daec951f1f1f157b1962fc7cb9d1b7";
};
# needs networking for some tests

View File

@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "docker";
version = "4.2.2";
version = "4.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "0m4vgk2831yfdjy8vqyvvfnmwv270a44z358frdzb672wzfbmvi6";
sha256 = "431a268f2caf85aa30613f9642da274c62f6ee8bae7d70d968e01529f7d6af93";
};
nativeBuildInputs = lib.optional isPy27 mock;

Some files were not shown because too many files have changed in this diff Show More