Merge pull request #90447 from NixOS/staging-next

Staging next
This commit is contained in:
Frederik Rietdijk 2020-06-19 09:43:08 +02:00 committed by GitHub
commit 58d569d0b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
523 changed files with 2336 additions and 1334 deletions

View File

@ -3,11 +3,11 @@
}:
stdenv.mkDerivation rec {
name = "mpg123-1.25.13";
name = "mpg123-1.26.1";
src = fetchurl {
url = "mirror://sourceforge/mpg123/${name}.tar.bz2";
sha256 = "02l915jq0ymndb082g6w89bpf66z04ifa1lr7ga3yycw6m46hc4h";
sha256 = "0cp01wdy77ggzqzzasxd5jd9iypcly5m4c89idc9mpgknyd65mkl";
};
buildInputs = stdenv.lib.optional (!stdenv.isDarwin) alsaLib;

View File

@ -5,8 +5,8 @@
let
# TODO: This package requires qt5Full to launch
defaultOverrides = commonOverrides ++ [
(mkOverride "jsonschema" "2.6.0"
"00kf3zmpp9ya4sydffpifn0j0mzm342a2vzh82p6r0vh10cg7xbg")
(mkOverride "jsonschema" "3.2.0"
"0ykr61yiiizgvm3bzipa3l73rvj49wmrybbfwhvpgk3pscl5pa68")
];
python = python3.override {

View File

@ -4,8 +4,10 @@
let
defaultOverrides = commonOverrides ++ [
(mkOverride "jsonschema" "2.6.0"
"00kf3zmpp9ya4sydffpifn0j0mzm342a2vzh82p6r0vh10cg7xbg")
(mkOverride "jsonschema" "3.2.0"
"0ykr61yiiizgvm3bzipa3l73rvj49wmrybbfwhvpgk3pscl5pa68")
(mkOverride "aiofiles" "0.4.0"
"1vmvq9qja3wahv8m1adkyk00zm7j0x64pk3f2ry051ja66xa07h2")
];
python = python3.override {

View File

@ -129,6 +129,15 @@ sub findFiles {
return;
}
# If target already exists and both targets resolves to the same path, skip
if (defined $oldTarget && $oldTarget ne "" && abs_path($target) eq abs_path($oldTarget)) {
# Prefer the target that is not a symlink, if any
if (-l $oldTarget && ! -l $target) {
$symlinks{$relName} = [$target, $priority];
}
return;
}
# If target already exists as a symlink to a file (not a
# directory) in a higher-priority package, skip.
if (defined $oldTarget && $priority > $oldPriority && $oldTarget ne "" && ! -d $oldTarget) {

View File

@ -2,6 +2,7 @@
, perl, which, pkgconfig, patch, procps, pcre, cacert, Security, Foundation
, mailcap, runtimeShell
, buildPackages, pkgsTargetTarget
, fetchpatch
}:
let
@ -30,11 +31,11 @@ in
stdenv.mkDerivation rec {
pname = "go";
version = "1.14.3";
version = "1.14.4";
src = fetchurl {
url = "https://dl.google.com/go/go${version}.src.tar.gz";
sha256 = "0mmgf74snprdiajgh99jjliwjl5im71qcgm5qrxpnyfisiw3f0lk";
sha256 = "1105qk2l4kfy1ki9n9gh8j4gfqrfgfwapa1fp38hih9aphxsy4bh";
};
# perl is used for testing go vet
@ -137,6 +138,12 @@ stdenv.mkDerivation rec {
./go-1.9-skip-flaky-20072.patch
./skip-external-network-tests.patch
./skip-nohup-tests.patch
# fix rare TestDontCacheBrokenHTTP2Conn failure
(fetchpatch {
url = "https://github.com/golang/go/commit/ea1437a8cdf6bb3c2d2447833a5d06dbd75f7ae4.patch";
sha256 = "1lyzy4nf8c34a966vw45j3j7hzpvncq2gqspfxffzkyh17xd8sgy";
})
] ++ [
# breaks under load: https://github.com/golang/go/issues/25628
(if stdenv.isAarch32

View File

@ -1,5 +1,6 @@
# Hooks for building Python packages.
{ python
, lib
, callPackage
, makeSetupHook
, disabledIf
@ -97,6 +98,16 @@ in rec {
};
} ./python-namespaces-hook.sh) {};
pythonRecompileBytecodeHook = callPackage ({ }:
makeSetupHook {
name = "python-recompile-bytecode-hook";
substitutions = {
inherit pythonInterpreter pythonSitePackages;
compileArgs = lib.concatStringsSep " " (["-q" "-f" "-i -"] ++ lib.optionals isPy3k ["-j $NIX_BUILD_CORES"]);
bytecodeName = if isPy3k then "__pycache__" else "*.pyc";
};
} ./python-recompile-bytecode-hook.sh ) {};
pythonRemoveBinBytecodeHook = callPackage ({ }:
makeSetupHook {
name = "python-remove-bin-bytecode-hook";

View File

@ -0,0 +1,24 @@
# Setup hook for recompiling bytecode.
# https://github.com/NixOS/nixpkgs/issues/81441
echo "Sourcing python-recompile-bytecode-hook.sh"
# Remove all bytecode from the $out output. Then, recompile only site packages folder
# Note this effectively duplicates `python-remove-bin-bytecode`, but long-term
# this hook should be removed again.
pythonRecompileBytecodePhase () {
# TODO: consider other outputs than $out
items="$(find "$out" -name "@bytecodeName@")"
if [[ -n $items ]]; then
for pycache in $items; do
rm -rf "$pycache"
done
fi
find "$out"/@pythonSitePackages@ -name "*.py" -exec @pythonInterpreter@ -OO -m compileall @compileArgs@ {} +
}
if [ -z "${dontUsePythonRecompileBytecode-}" ]; then
postPhases+=" pythonRecompileBytecodePhase"
fi

View File

@ -1,9 +1,9 @@
# Setup hook for detecting conflicts in Python packages
# Setup hook for removing bytecode from the bin folder
echo "Sourcing python-remove-bin-bytecode-hook.sh"
# Check if we have two packages with the same name in the closure and fail.
# If this happens, something went wrong with the dependencies specs.
# Intentionally kept in a subdirectory, see catch_conflicts/README.md.
# The bin folder is added to $PATH and should only contain executables.
# It may happen there are executables with a .py extension for which
# bytecode is generated. This hook removes that bytecode.
pythonRemoveBinBytecodePhase () {
if [ -d "$out/bin" ]; then

View File

@ -17,6 +17,7 @@
, pythonCatchConflictsHook
, pythonImportsCheckHook
, pythonNamespacesHook
, pythonRecompileBytecodeHook
, pythonRemoveBinBytecodeHook
, pythonRemoveTestsDirHook
, setuptoolsBuildHook
@ -110,6 +111,7 @@ let
python
wrapPython
ensureNewerSourcesForZipFilesHook # move to wheel installer (pip) or builder (setuptools, flit, ...)?
pythonRecompileBytecodeHook # Remove when solved https://github.com/NixOS/nixpkgs/issues/81441
pythonRemoveTestsDirHook
] ++ lib.optionals catchConflicts [
setuptools pythonCatchConflictsHook
@ -163,6 +165,9 @@ let
# Python packages built through cross-compilation are always for the host platform.
disallowedReferences = lib.optionals (python.stdenv.hostPlatform != python.stdenv.buildPlatform) [ python.pythonForBuild ];
# For now, revert recompilation of bytecode.
dontUsePythonRecompileBytecode = true;
meta = {
# default to python's platforms
platforms = python.meta.platforms;

View File

@ -99,7 +99,7 @@ stdenv.mkDerivation rec {
postInstall = ''
for prog in "$dev/bin/"*; do
# We can't use --suffix here due to quoting so we craft the export command by hand
wrapProgram "$prog" --run "export GST_PLUGIN_SYSTEM_PATH=\$GST_PLUGIN_SYSTEM_PATH"$\{GST_PLUGIN_SYSTEM_PATH:+:\}"\$(unset _tmp; for profile in \$NIX_PROFILES; do _tmp="\$profile/lib/gstreamer-1.0''$\{_tmp:+:\}\$_tmp"; done; printf "\$_tmp")"
wrapProgram "$prog" --run 'export GST_PLUGIN_SYSTEM_PATH=$GST_PLUGIN_SYSTEM_PATH''${GST_PLUGIN_SYSTEM_PATH:+:}$(unset _tmp; for profile in $NIX_PROFILES; do _tmp="$profile/lib/gstreamer-1.0''${_tmp:+:}$_tmp"; done; printf '%s' "$_tmp")'
done
'';

View File

@ -8,7 +8,7 @@
}:
let
version = "2.6.4";
version = "2.6.7";
inherit (stdenv.lib) optional optionals optionalString;
in
@ -17,7 +17,7 @@ stdenv.mkDerivation {
src = fetchurl {
url = "https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-${version}.tar.xz";
sha256 = "04iwq13w6zkdhljmsxrzgg4fyh04qnwfn57rgrl9kmijc7cvh4wl";
sha256 = "065jg6s8xix45s4msj0l2r0iycw5yyyjdylripv7pyfzdk883r29";
};
postPatch = ''

View File

@ -1,11 +1,11 @@
{ stdenv, fetchurl, libtiff, libjpeg, zlib }:
stdenv.mkDerivation rec {
name = "lcms2-2.9";
name = "lcms2-2.10";
src = fetchurl {
url = "mirror://sourceforge/lcms/${name}.tar.gz";
sha256 = "083xisy6z01zhm7p7rgk4bx9d6zlr8l20qkfv1g29ylnhgwzvij8";
sha256 = "0ipkw2r8h3yhm4vn5nx04dz5s943x9fw023fhrrnjz2c97yi3m2h";
};
outputs = [ "bin" "dev" "out" ];

View File

@ -6,13 +6,13 @@
}:
stdenv.mkDerivation rec {
pname = "libblockdev";
version = "2.23";
version = "2.24";
src = fetchFromGitHub {
owner = "storaged-project";
repo = "libblockdev";
rev = "${version}-1";
sha256 = "09gp9h05vy3llhnrg98gny8g57kgwnbi8522qyzjwyv7nmhs4zhz";
sha256 = "1gzwlwdv0jyb3lh2n016limy2ngfdsa05x7jvg9llf2ls672nq89";
};
outputs = [ "out" "dev" "devdoc" ];

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "libmbim";
version = "1.22.0";
version = "1.23.900";
src = fetchurl {
url = "https://www.freedesktop.org/software/libmbim/${pname}-${version}.tar.xz";
sha256 = "0f0zmbvnhdsqbf3hw5bimq67n57mhd8yad1ia823cb6i3kmph1sw";
sha256 = "0ikzjs44q44cj4m786gvm575a7x61rgmav6b60n2y74pgqvj3791";
};
outputs = [ "out" "dev" "man" ];

View File

@ -1,12 +1,12 @@
{ stdenv, fetchurl, pkgconfig, libmnl }:
stdenv.mkDerivation rec {
version = "1.1.5";
version = "1.1.7";
pname = "libnftnl";
src = fetchurl {
url = "https://netfilter.org/projects/${pname}/files/${pname}-${version}.tar.bz2";
sha256 = "1wqlxf76bkqf3qhka9sw32qhb2ni20q1k6rn3iril2kw482lvpk6";
sha256 = "13zd90bfrr0q3j0l0cbc8kiizccw6n8gp727kqnfljh024zw3nr0";
};
nativeBuildInputs = [ pkgconfig ];

View File

@ -4,14 +4,14 @@
let
pname = "librsvg";
version = "2.48.4";
version = "2.48.7";
in
stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "0vlmgisf87dz4vcl1ypcw7g211wkyvhydv6ksf1p6mgdbkw3mdi8";
sha256 = "1h7yw9bszsi174lkq8ig15p1rll7fqafx72jligxiz32wa9mvpim";
};
outputs = [ "out" "dev" "installedTests" ];

View File

@ -5,13 +5,13 @@
stdenv.mkDerivation rec {
pname = "libyaml";
version = "0.2.4";
version = "0.2.5";
src = fetchFromGitHub {
owner = "yaml";
repo = "libyaml";
rev = version;
sha256 = "04z25mvw86jhzyrj0h8mlgisvj9glc5ww9g0cymzjfsd7z33gnmy";
sha256 = "18zsnsxc53pans4a01cs4401a2cjk3qi098hi440pj4zijifgcsb";
};
nativeBuildInputs = [ autoreconfHook ];

View File

@ -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.0.7"; # Update only to the final (last planned) release (i.e. X.Y.MAX)?
version = "20.0.8"; # Update only to the final (last planned) release (i.e. X.Y.MAX)?
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 = "0y517qpdg6v6dsdgzb365p03m30511sbyh8pq0mcvhvjwy7javpy";
sha256 = "6cf0c010df89680f9b2bc6432ff01400031795e39bceda7535fa00af06740b6c";
};
prePatch = "patchShebangs .";

View File

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

View File

@ -24,6 +24,8 @@ buildPythonPackage rec {
# Test failing due to upstream issue (https://bitbucket.org/amentajo/lib3to2/issues/50/testsuite-fails-with-new-python-35)
doCheck = false;
dontUsePythonRecompileBytecode = true;
meta = {
homepage = "https://bitbucket.org/amentajo/lib3to2";
description = "Refactors valid 3.x syntax into valid 2.x syntax, if a syntactical conversion is possible";

View File

@ -1,12 +1,12 @@
{ stdenv, buildPythonPackage, fetchPypi, cython, numpy, pysam, matplotlib
}:
buildPythonPackage rec {
version = "0.11.4";
version = "0.12.4";
pname = "HTSeq";
src = fetchPypi {
inherit pname version;
sha256 = "1ncn30yvc18aiv1qsa0bvcbjwqy21s0a0kv3v0vghzsn8vbfzq7h";
sha256 = "e3980bb4f12899442b4fa6f24f0ba149090f71cedb1eaf7128249afe4eb921ff";
};
buildInputs = [ cython numpy pysam ];

View File

@ -1,12 +1,14 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, pytest
}:
buildPythonPackage rec {
pname = "JPype1";
version = "0.7.5";
disabled = isPy27;
src = fetchPypi {
inherit pname version;

View File

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "JayDeBeApi";
version = "1.1.1";
version = "1.2.2";
src = fetchPypi {
inherit pname version;
sha256 = "0a189xs9zw81jvwwglvf2qyqnk6ra0biljssx9n4ffayqn9glbds";
sha256 = "e9847e437ad293ee3cc47767b74c387068cd21607842de8470d5d3f13d613083";
};
propagatedBuildInputs = [

View File

@ -0,0 +1,27 @@
{ lib
, buildPythonPackage
, fetchPypi
, docutils
}:
buildPythonPackage rec {
pname = "Pygments";
version = "2.5.2";
src = fetchPypi {
inherit pname version;
sha256 = "98c8aa5a9f778fcd1026a17361ddaf7330d1b7c62ae97c3bb0ae73e0b9b6b0fe";
};
propagatedBuildInputs = [ docutils ];
# Circular dependency with sphinx
doCheck = false;
meta = {
homepage = "https://pygments.org/";
description = "A generic syntax highlighter";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ ];
};
}

View File

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "Pygments";
version = "2.5.2";
version = "2.6.1";
src = fetchPypi {
inherit pname version;
sha256 = "98c8aa5a9f778fcd1026a17361ddaf7330d1b7c62ae97c3bb0ae73e0b9b6b0fe";
sha256 = "647344a061c249a3b74e230c739f434d7ea4d8b1d5f3721bc0f3558049b38f44";
};
propagatedBuildInputs = [ docutils ];

View File

@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "WSME";
version = "0.9.3";
version = "0.10.0";
src = fetchPypi {
inherit pname version;
sha256 = "e24fcff24392a0b176e560ffc6591b1f658342bbc992f84e0e8a3c53fd92580a";
sha256 = "965b9ce48161e5c50d84aedcf50dca698f05bf07e9d489201bccaec3141cd304";
};
postPatch = ''

View File

@ -15,12 +15,12 @@
buildPythonPackage rec {
pname = "accupy";
version = "0.2.0";
version = "0.3.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "e27ca7eed8a1bde2e6e040f8f3ee94a5d7522f42c4360756c9ec8931cf13ca98";
sha256 = "b568de740e1cd137a96af1801b4d3d5f795e0f97be25c29957f39f004fbcdf9a";
};
buildInputs = [

View File

@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "adal";
version = "1.2.3";
version = "1.2.4";
src = fetchPypi {
inherit pname version;
sha256 = "2ae7e02cea4552349fed6d8c9912da400f7e643fc30098defe0dcd01945e7c54";
sha256 = "7a15d22b1ee7ce1be92441199958748982feba6b7dec35fbf60f9b607bad1bc0";
};
propagatedBuildInputs = [ requests pyjwt dateutil ];

View File

@ -11,12 +11,12 @@
buildPythonPackage rec {
pname = "aioftp";
version = "0.13.0";
version = "0.16.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "5711c03433b510c101e9337069033133cca19b508b5162b414bed24320de6c18";
sha256 = "94648d17dd3ca44614b59e8f795991b447258d82aa1b4cfecc0aceccf01b7495";
};
checkInputs = [

View File

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

View File

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

View File

@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "alembic";
version = "1.3.3";
version = "1.4.2";
src = fetchPypi {
inherit pname version;
sha256 = "d412982920653db6e5a44bfd13b1d0db5685cbaaccaf226195749c706e1e862a";
sha256 = "035ab00497217628bf5d0be82d664d8713ab13d37b630084da8e1f98facf4dbf";
};
buildInputs = [ pytest pytestcov mock coverage ];

View File

@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "alerta-server";
version = "7.4.6";
version = "7.5.5";
src = fetchPypi {
inherit pname version;
sha256 = "f91889777a4d01f8ffca2f01d35cad3996a61178c26e8819c6d8eb746b951dd4";
sha256 = "f6d80654f063af45167c6b4f5f25a9015e728f3f600c5565ddb85964b8c9874b";
};
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.4.5";
version = "7.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "926f1101a1b57a9fad611f1e1d5af751693efcc344a9db01af50e2fe0d362d84";
sha256 = "e903d4b097d4650983faecedc4e2dffd27a962b671643098f8425f9a19884d0f";
};
propagatedBuildInputs = [ six click requests pytz tabulate ];

View File

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "amqp";
version = "2.5.2";
version = "2.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "77f1aef9410698d20eaeac5b73a87817365f457a507d82edf292e12cbb83b08d";
sha256 = "24dbaff8ce4f30566bb88976b398e8c4e77637171af3af6f1b9650f48890e60b";
};
checkInputs = [ pytest case pytest-sugar ];

View File

@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "anytree";
version = "2.7.3";
version = "2.8.0";
src = fetchPypi {
inherit pname version;
sha256 = "05736hamjv4f38jw6z9y4wckc7mz18ivbizm1s3pb0n6fp1sy4zk";
sha256 = "3f0f93f355a91bc3e6245319bf4c1d50e3416cc7a35cc1133c1ff38306bbccab";
};
patches = lib.optionals withGraphviz [

View File

@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "apispec";
version = "3.1.1";
version = "3.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "24b8490c22310b0779a058ccb24ec2fef33d571bb5aba1f525ab5963b0eabcdd";
sha256 = "419d0564b899e182c2af50483ea074db8cb05fee60838be58bb4542095d5c08d";
};
checkInputs = [

View File

@ -3,7 +3,7 @@
buildPythonPackage rec {
pname = "apsw";
version = "3.30.1-r1";
version = "3.32.2-r1";
disabled = isPyPy;
@ -11,7 +11,7 @@ buildPythonPackage rec {
owner = "rogerbinns";
repo = "apsw";
rev = version;
sha256 = "1zp38gj44bmzfxxpvgd7nixkp8vs2fpl839ag8vrh9z70dax22f0";
sha256 = "0gwhcvklrgng8gg6in42h0aj2bsq522bhhs2pp3cqdrmypkjdm59";
};
buildInputs = [ sqlite ];

View File

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "aresponses";
version = "1.1.2";
version = "2.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "20a63536d86af6f31f9b0720c561bdc595b6bfe071940e347ab58b11caff9e1b";
sha256 = "58693a6b715edfa830a20903ee1d1b2a791251923f311b3bebf113e8ff07bb35";
};
propagatedBuildInputs = [

View File

@ -1,6 +1,7 @@
{ stdenv, lib, buildPythonPackage, fetchPypi, isPy27
, nose, chai, simplejson, backports_functools_lru_cache
, python-dateutil, pytz, pytest-mock, sphinx, dateparser, pytestcov, pytest
, python-dateutil, pytz, pytest-mock, sphinx, dateparser, pytestcov
, pytestCheckHook
}:
buildPythonPackage rec {
@ -17,7 +18,7 @@ buildPythonPackage rec {
checkInputs = [
dateparser
pytest
pytestCheckHook
pytestcov
pytest-mock
pytz
@ -25,9 +26,10 @@ buildPythonPackage rec {
sphinx
];
checkPhase = ''
pytest
'';
# ParserError: Could not parse timezone expression "America/Nuuk"
disabledTests = [
"test_parse_tz_name_zzz"
];
meta = with lib; {
description = "Python library for date manipulation";

View File

@ -1,12 +1,13 @@
{ stdenv, buildPythonPackage, fetchPypi, pytz, requests, pytest }:
{ stdenv, buildPythonPackage, fetchPypi, isPy27, pytz, requests, pytest }:
buildPythonPackage rec {
pname = "astral";
version = "1.10.1";
version = "2.2";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "d2a67243c4503131c856cafb1b1276de52a86e5b8a1d507b7e08bee51cb67bf1";
sha256 = "e41d9967d5c48be421346552f0f4dedad43ff39a83574f5ff2ad32b6627b6fbe";
};
propagatedBuildInputs = [ pytz requests ];

View File

@ -5,15 +5,19 @@
buildPythonPackage rec {
pname = "astroid";
version = "2.3.3";
version = "2.4.1";
disabled = pythonOlder "3.4";
src = fetchPypi {
inherit pname version;
sha256 = "71ea07f44df9568a75d0f354c49143a4575d90645e9fead6dfb52c26a85ed13a";
sha256 = "4c17cea3e592c21b6e222f673868961bad77e1f985cb1694ed077475a89229c1";
};
postPatch = ''
substituteInPlace astroid/__pkginfo__.py --replace "lazy_object_proxy==1.4.*" "lazy_object_proxy"
'';
# From astroid/__pkginfo__.py
propagatedBuildInputs = [ lazy-object-proxy six wrapt ]
++ lib.optional (pythonOlder "3.5") typing

View File

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

View File

@ -1,14 +1,15 @@
{ lib, buildPythonPackage, fetchPypi, future }:
{ lib, buildPythonPackage, fetchPypi, future, cppy }:
buildPythonPackage rec {
pname = "atom";
version = "0.4.3";
version = "0.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "ce96fb50326a3bfa084463dbde1cf2e02c92735e5bc324d836355c25af87e0ae";
sha256 = "ce0c600e4b26b7553c926b3b8253df7ae19bbf2678bdc2d46eb29b5f9149f172";
};
buildInputs = [ cppy ];
propagatedBuildInputs = [ future ];
# Tests not released to pypi

View File

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "atomicwrites";
version = "1.3.0";
version = "1.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "75a9445bac02d8d058d5e1fe689654ba5a6556a1dfd8ce6ec55a0ed79866cfa6";
sha256 = "ae70396ad1a434f9c7046fd2dd196fc04b12f9e91ffb859164193be8b6168a7a";
};
# Tests depend on pytest but atomicwrites is a dependency of pytest

View File

@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "audio-metadata";
version = "0.9.0";
version = "0.11.1";
src = fetchPypi {
inherit pname version;
sha256 = "1v7ww3csyxrhnpvpynla64hfn1wp37vbw7srh9343n4wc02mh65l";
sha256 = "9e7ba79d49cf048a911d5f7d55bb2715c10be5c127fe5db0987c5fe1aa7335eb";
};
postPatch = ''

View File

@ -3,15 +3,16 @@
, fetchPypi
, requests
, mock
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "auth0-python";
version = "3.9.2";
version = "3.10.0";
src = fetchPypi {
inherit pname version;
sha256 = "12870b4806095b707c4eed7bf8cdfeb3722d990366bc6a9772d1520e90efa73b";
sha256 = "e02525fd60d4b1e7e08bdc539b536db635da28ee25cc882412be4296802d0281";
};
propagatedBuildInputs = [
@ -20,6 +21,17 @@ buildPythonPackage rec {
checkInputs = [
mock
pytestCheckHook
];
pytestFlagsArray = [
# jwt package is not available in nixpkgs
"--ignore=auth0/v3/test/authentication/test_token_verifier.py"
];
# tries to ping websites (e.g. google.com)
disabledTests = [
"can_timeout"
];
meta = with lib; {

View File

@ -1,17 +1,17 @@
{ buildPythonPackage, fetchPypi, isPy27, lib
, authres, dnspython, dkimpy, ipaddress, publicsuffix
, authres, dnspython, dkimpy, ipaddress, publicsuffix2
}:
buildPythonPackage rec {
pname = "authheaders";
version = "0.12.2";
version = "0.13.0";
src = fetchPypi {
inherit pname version;
sha256 = "a6f96d1dfb7a6cffcdd78d1582914d4f9a0b25d66e1cf5ce959446c92cd8b74f";
sha256 = "935726b784cc636cbcfed2c977f1a6887dc60056806da4eff60db932c5896692";
};
propagatedBuildInputs = [ authres dnspython dkimpy publicsuffix ]
propagatedBuildInputs = [ authres dnspython dkimpy publicsuffix2 ]
++ lib.optional isPy27 ipaddress;
meta = {

View File

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

View File

@ -2,12 +2,12 @@
m2r, setuptools_scm, six, attrs }:
buildPythonPackage rec {
version = "0.8.0";
version = "20.2.0";
pname = "Automat";
src = fetchPypi {
inherit pname version;
sha256 = "269a09dfb063a3b078983f4976d83f0a0d3e6e7aaf8e27d8df1095e09dc4a484";
sha256 = "7979803c74610e11ef0c0d68a2942b152df52da55336e0c9d58daf1831cbdf33";
};
buildInputs = [ m2r setuptools_scm ];

View File

@ -1,4 +1,6 @@
{ stdenv, fetchPypi, buildPythonPackage, pycodestyle, glibcLocales }:
{ stdenv, fetchPypi, buildPythonPackage, pycodestyle, glibcLocales
, toml
}:
buildPythonPackage rec {
pname = "autopep8";
@ -9,7 +11,7 @@ buildPythonPackage rec {
sha256 = "60fd8c4341bab59963dafd5d2a566e94f547e660b9b396f772afe67d8481dbf0";
};
propagatedBuildInputs = [ pycodestyle ];
propagatedBuildInputs = [ pycodestyle toml ];
# One test fails:
# FAIL: test_recursive_should_not_crash_on_unicode_filename (test.test_autopep8.CommandLineTests)

View File

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, numpy
, ffmpeg
, pkgconfig
@ -8,11 +9,12 @@
buildPythonPackage rec {
pname = "av";
version = "7.0.1";
version = "8.0.2";
disabled = isPy27; # setup.py no longer compatible
src = fetchPypi {
inherit pname version;
sha256 = "10qav9dryly9h6n8vypx5m334v2lh88fsvgfg0zjy4bxjslay4zv";
sha256 = "a3bba6bf68766b8a1a057f28869c7078cf0a1ec3207c7788c2ce8fe6f6bd8267";
};
checkInputs = [ numpy ];

View File

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k }:
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, pycodestyle, isort }:
buildPythonPackage rec {
pname = "avro";
@ -10,6 +10,9 @@ buildPythonPackage rec {
sha256 = "4487f0e91d0d44142bd08b3c6da57073b720c3effb02eeb4e2e822804964c56b";
};
nativeBuildInputs = [ pycodestyle ];
propagatedBuildInputs = [ isort ];
meta = with stdenv.lib; {
description = "A serialization and RPC framework";
homepage = "https://pypi.python.org/pypi/avro/";

View File

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

View File

@ -1,6 +1,8 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, importlib-metadata
, jsonpickle
, wrapt
, requests
@ -10,15 +12,17 @@
buildPythonPackage rec {
pname = "aws-xray-sdk";
version = "2.4.3";
version = "2.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "263a38f3920d9dc625e3acb92e6f6d300f4250b70f538bd009ce6e485676ab74";
sha256 = "8dfa785305fc8dc720d8d4c2ec6a58e85e467ddc3a53b1506a2ed8b5801c8fc7";
};
propagatedBuildInputs = [
jsonpickle wrapt requests future botocore
] ++ lib.optionals (pythonOlder "3.8") [
importlib-metadata
];
meta = {

View File

@ -12,14 +12,14 @@
}:
buildPythonPackage rec {
version = "1.5.0";
version = "1.6.0";
pname = "azure-core";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "181iyigm11y56lf1kwv7pcdyppavpwjb1b6k3qp3jnbqaypad9mg";
sha256 = "d10b74e783cff90d56360e61162afdd22276d62dc9467e657ae866449eae7648";
};
propagatedBuildInputs = [

View File

@ -8,12 +8,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-cognitiveservices";
version = "6.1.0";
version = "6.2.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "e0c4bbe656ababb942d708ee04f3f3305a2023e322a8b3fb1d8503aa682f59c4";
sha256 = "93503507ba87c18fe24cd3dfcd54e6e69a4daf7636f38b7537e09cee9a4c13ce";
};
propagatedBuildInputs = [

View File

@ -5,13 +5,13 @@
}:
buildPythonPackage rec {
version = "1.4.0";
version = "1.5.0";
pname = "azure-mgmt-hdinsight";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "0zmmfj7z1zrayjqwqybcn3bwm47d2ngyxm1g6fh2iw5c2f9czycv";
sha256 = "d13088bb506700a7aecf59faf042cb48dc82c423082482b2f50cc2403ac43e55";
extension = "zip";
};

View File

@ -5,13 +5,13 @@
}:
buildPythonPackage rec {
version = "0.7.0";
version = "0.8.0";
pname = "azure-mgmt-kusto";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "40f8e62db145d31731018b83baf2d1a78b585514c373dd3c095f1f6835d17d23";
sha256 = "b12388df60982265c9f18e7382c5cc0e389c071227865cadc626b9ff9c6e3871";
extension = "zip";
};

View File

@ -8,13 +8,13 @@
buildPythonPackage rec {
version = "9.0.0";
version = "10.0.0";
pname = "azure-mgmt-resource";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "00bmdbr7hdwb3ibr9sfbgbmmr6626qlz19cdi84d87rcisczf4nw";
sha256 = "bd9a3938f5423741329436d2da09693845c2fad96c35fadbd7c5ae5213208345";
};
postInstall = if isPy3k then "" else ''

View File

@ -1,12 +1,13 @@
{ stdenv, fetchPypi, buildPythonPackage, pytest, pyhamcrest }:
{ stdenv, fetchPypi, buildPythonPackage, isPy27, pytest, pyhamcrest }:
buildPythonPackage rec {
pname = "base58";
version = "1.0.3";
version = "2.0.0";
disabled = isPy27; # python 2 abandoned upstream
src = fetchPypi {
inherit pname version;
sha256 = "9a793c599979c497800eb414c852b80866f28daaed5494703fc129592cc83e60";
sha256 = "c83584a8b917dc52dd634307137f2ad2721a9efb4f1de32fc7eaaaf87844177e";
};
checkInputs = [ pytest pyhamcrest ];

View File

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "beautifulsoup4";
version = "4.8.2";
version = "4.9.1";
src = fetchPypi {
inherit pname version;
sha256 = "05fd825eb01c290877657a56df4c6e4c311b3965bda790c613a3d6fb01a5462a";
sha256 = "73cc4d115b96f79c7d77c1c7f7a0a8d4c57860d1041df407dd1aae7f07a77fd7";
};
checkInputs = [ pytest ];

View File

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

View File

@ -2,17 +2,20 @@
, buildPythonPackage
, fetchPypi
, numpy
, isPy3k
}:
buildPythonPackage rec {
pname = "biopython";
version = "1.76";
version = "1.77";
src = fetchPypi {
inherit pname version;
sha256 = "0wlch9xpa0fpgjzyxi6jsfca6iakaq9a05927xg8vqnmvaccnwrq";
sha256 = "fb1936e9ca9e7af8de1050e84375f23328e04b801063edf0ad73733494d8ec42";
};
disabled = !isPy3k;
propagatedBuildInputs = [ numpy ];
# Checks try to write to $HOME, which does not work with nix
doCheck = false;

View File

@ -1,71 +0,0 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest
, contextlib2
, cytoolz
, dask
, datashape
, flask
, flask-cors
, h5py
, multipledispatch
, numba
, numpy
, odo
, pandas
, psutil
, pymongo
, pyyaml
, requests
, sqlalchemy
, tables
, toolz
}:
buildPythonPackage rec {
pname = "blaze";
version = "0.11.3";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "0w916k125058p40cf7i090f75pgv3cqdb8vwjzqhb9r482fa6717";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [
contextlib2
cytoolz
dask
datashape
flask
flask-cors
h5py
multipledispatch
numba
numpy
odo
pandas
psutil
pymongo
pyyaml
requests
sqlalchemy
tables
toolz
];
checkPhase = ''
rm pytest.ini # Not interested in coverage
py.test blaze/tests
'';
meta = {
homepage = "https://github.com/ContinuumIO/blaze";
description = "Allows Python users a familiar interface to query data living in other data storage systems";
license = lib.licenses.bsdOriginal;
maintainers = with lib.maintainers; [ fridh ];
};
}

View File

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

View File

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

View File

@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "botocore";
version = "1.16.6"; # N.B: if you change this, change boto3 and awscli to a matching version
version = "1.17.3"; # N.B: if you change this, change boto3 and awscli to a matching version
src = fetchPypi {
inherit pname version;
sha256 = "b9c8e0aa07770b7b371d586db41eef46e70bfc4ab47f7a1ee1acd4e9c811c6c9";
sha256 = "0mrkkb7vc7jdxrr9gyg92i6ar801kpss53nfqp1di6xfi4jxkx0k";
};
propagatedBuildInputs = [
@ -29,7 +29,7 @@ buildPythonPackage rec {
];
postPatch = ''
substituteInPlace setup.py --replace ",<0.16" ""
substituteInPlace setup.py --replace "docutils>=0.10,<0.16" "docutils>=0.10"
'';
checkInputs = [ mock nose ];

View File

@ -1,13 +1,13 @@
{ lib, fetchPypi, buildPythonPackage, docutils, six, sphinx, isPy3k, isPy27 }:
buildPythonPackage rec {
version = "4.14.2";
version = "4.18.1";
pname = "breathe";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "1vj2yylff07hh4l3sh3srhpnrk1q6pxznvwqzgmbplhn8gf5rimb";
sha256 = "03f56cc6dd0bf5ac3d8e8eb380d212257e16de79fce5e6186afd5c1835561e22";
};
propagatedBuildInputs = [ docutils six sphinx ];

View File

@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "broadlink";
version = "0.12.0";
version = "0.14.0";
src = fetchPypi {
inherit pname version;
sha256 = "6448327f8f1cd0c103971a724a3e60629ccb5e8c302e7fdcbde6464e8edef2d8";
sha256 = "f771456ed990187f170d1561e2fd3d490ef646a2570a0286fe709a7115abcb49";
};
postPatch = ''

View File

@ -1,11 +1,11 @@
{ lib, fetchPypi, buildPythonPackage, isPy3k, keyring, pbkdf2, pyaes}:
buildPythonPackage rec {
pname = "browser-cookie3";
version = "0.9.1";
version = "0.11.1";
src = fetchPypi {
inherit pname version;
sha256 = "42e73e0276083ff162080860cd039138760921a56a0f316775cecee37d444c3f";
sha256 = "5d1f825fc9cc6f98fe0ee3f97cdb4947c22d59ac8a11643da5837ebd8c873f05";
};
disabled = !isPy3k;

View File

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "BTrees";
version = "4.6.1";
version = "4.7.2";
buildInputs = [ transaction ];
propagatedBuildInputs = [ persistent zope_interface ];
@ -23,7 +23,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "b3a0e1d073800bf7bcca6cbb97a6b3c9ec485a4ba3ee0b354da1ed076cfb9f30";
sha256 = "7ce4a5eb5c135bcb5c06b5bd1ca6fd7fd39d8631306182307ed8bc30d3033846";
};
meta = with stdenv.lib; {

View File

@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, fetchPypi
, flit-core
, toml
, pep517
, packaging
, isPy3k
, typing
, pythonOlder
, importlib-metadata
}:
buildPythonPackage rec {
pname = "build";
version = "0.0.3.1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "757b5542168326b6f1898a1ce1131bb2cf306ee4c7e54e39c815c5be217ff87d";
};
nativeBuildInputs = [
flit-core
];
propagatedBuildInputs = [
toml
pep517
packaging
] ++ lib.optionals (!isPy3k) [
typing
] ++ lib.optionals (pythonOlder "3.8") [
importlib-metadata
];
# No tests in archive
doCheck = false;
meta = {
description = "A simple, correct PEP517 package builder";
license = lib.licenses.mit;
};
}

View File

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "cachetools";
version = "4.0.0";
version = "4.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "9a52dd97a85f257f4e4127f15818e71a0c7899f121b34591fcc1173ea79a0198";
sha256 = "1d057645db16ca7fe1f3bd953558897603d6f0b9c51ed9d11eb4d071ec4e2aab";
};
meta = with stdenv.lib; {

View File

@ -1,34 +1,51 @@
{ lib
, buildPythonPackage
, fetchPypi
, tzlocal
, requests
, vobject
, fetchFromGitHub
, pythonOlder
, icalendar
, lxml
, nose
, pytz
, requests
, six
, tzlocal
, vobject
}:
buildPythonPackage rec {
pname = "caldav";
version = "0.6.2";
version = "0.7.0";
propagatedBuildInputs = [ tzlocal requests vobject lxml nose ];
src = fetchPypi {
inherit pname version;
sha256 = "80c33b143539da3a471148ac89512f67d9df3a5286fae5a023e2ad3923246c0d";
src = fetchFromGitHub {
owner = "python-caldav";
repo = pname;
rev = "v${version}";
sha256 = "0m64maiqp3k8fsgkkvdx1dlfhkc70pqig4dclq6w8ajz82czrq83";
};
# xandikos is only a optional test dependency, not available for python3
propagatedBuildInputs = [ six requests vobject lxml ]
++ lib.optionals (pythonOlder "3.6") [ pytz tzlocal ];
checkInputs = [
icalendar
nose
tzlocal
];
# xandikos and radicale is only a optional test dependency, not available for python3
postPatch = ''
substituteInPlace setup.py \
--replace ", 'xandikos'" ""
--replace ", 'xandikos'" "" \
--replace ", 'radicale'" ""
'';
pythonImportsCheck = [ "caldav" ];
meta = with lib; {
description = "This project is a CalDAV (RFC4791) client library for Python.";
homepage = "https://pythonhosted.org/caldav/";
license = licenses.asl20;
maintainers = with maintainers; [ marenz ];
#broken = true; # requires radicale which is not packaged yet
};
}

View File

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

View File

@ -0,0 +1,24 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, importlib-metadata
}:
buildPythonPackage rec {
pname = "catalogue";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "d74d1d856c6b36a37bf14aa6dbbc27d0582667b7ab979a6108e61a575e8723f5";
};
propagatedBuildInputs = [ importlib-metadata ];
meta = with stdenv.lib; {
description = "Tiny library for adding function or object registries";
homepage = "https://github.com/explosion/catalogue";
license = licenses.mit;
maintainers = with maintainers; [ danieldk ];
};
}

View File

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "catalogue";
version = "0.2.1";
version = "2.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "1720242b2d0c11e666f9ceed39f0611236815b06af5421f7d8cbca48a4cff3af";
sha256 = "34f8416ec5e7ed08e55c10414416e67c3f4d66edf83bc67320c3290775293816";
};
propagatedBuildInputs = [ importlib-metadata ];

View File

@ -1,12 +1,13 @@
{ lib, buildPythonPackage, fetchPypi, six }:
{ lib, buildPythonPackage, fetchPypi, isPy27, six }:
buildPythonPackage rec {
pname = "cfgv";
version = "2.0.1";
version = "3.1.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "0i1iam461bd6bphd402r7payr2m71xivy5zp6k2gjnv67fa8gczd";
sha256 = "c8e8f552ffcc6194f4e18dd4f68d9aef0c0d58ae7e7be8c82bee3c5e9edfa513";
};
propagatedBuildInputs = [ six ];

View File

@ -12,15 +12,17 @@
, jsonschema
, pathlib2
, setuptools
, junit-xml
, networkx
}:
buildPythonPackage rec {
pname = "cfn-lint";
version = "0.26.3";
version = "0.33.0";
src = fetchPypi {
inherit pname version;
sha256 = "384c37d239579c7b9f61a3aaadb92ebe81f37cd6ee6a161485401179af6c7a44";
sha256 = "b74bb89a3d0da4a744179b07bc186b9fbc4800f929bf635bb6246e80fb91a953";
};
propagatedBuildInputs = [
@ -32,6 +34,8 @@ buildPythonPackage rec {
jsonschema
pathlib2
setuptools
junit-xml
networkx
] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata importlib-resources ];
# No tests included in archive

View File

@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "cgen";
version = "2019.1";
version = "2020.1";
src = fetchPypi {
inherit pname version;
sha256 = "04gxzfjy2f9qsg3scg1sx4q4rhw5p036dyqngxyfsai0wvj5ya6m";
sha256 = "4ec99d0c832d9f95f5e51dd18a629ad50df0b5464ce557ef42c6e0cd9478bfcf";
};
checkInputs = [ pytest ];

View File

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

View File

@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "Chameleon";
version = "3.6.2";
version = "3.7.2";
src = fetchPypi {
inherit pname version;
sha256 = "0aw6cqnychmsxjjgihwr7df92xw6ac1wr4x70mvq28z3iq35x7ls";
sha256 = "7adc331eb039d5c458cd78e42a76f8e470953f004ddf297bd57aa1501392aec9";
};
meta = with stdenv.lib; {

View File

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "check-manifest";
version = "0.40";
version = "0.42";
src = fetchPypi {
inherit pname version;
sha256 = "42de6eaab4ed149e60c9b367ada54f01a3b1e4d6846784f9b9710e770ff5572c";
sha256 = "0d8e1b0944a667dd4a75274f6763e558f0d268fde2c725e894dfd152aae23300";
};
propagatedBuildInputs = [ toml ];
@ -18,5 +18,6 @@ buildPythonPackage rec {
description = "Check MANIFEST.in in a Python source package for completeness";
license = licenses.mit;
maintainers = with maintainers; [ lewo ];
broken = true; # pep517 package doesn't exist in nixpkgs
};
}

View File

@ -8,13 +8,13 @@ let inherit (stdenv) lib; in
buildPythonPackage rec {
pname = "cheroot";
version = "8.2.1";
version = "8.3.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "5b525b3e4a755adf78070ab54c1821fb860d4255a9317dba2b88eb2df2441cff";
sha256 = "a0577e1f28661727d472671a7cc4e0c12ea0cbc5220265e70f00a8b8cb628931";
};
nativeBuildInputs = [ setuptools_scm setuptools-scm-git-archive ];

View File

@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "cleo";
version = "0.7.6";
version = "0.8.1";
src = fetchPypi {
inherit pname version;
sha256 = "99cf342406f3499cec43270fcfaf93c126c5164092eca201dfef0f623360b409";
sha256 = "3d0e22d30117851b45970b6c14aca4ab0b18b1b53c8af57bed13208147e4069f";
};
propagatedBuildInputs = [

View File

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "cli_helpers";
version = "1.2.1";
version = "2.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "0rd194l06aw4612j09b44pgh8b8l4cwmz7xgwsgdj9v8m3m25nwq";
sha256 = "18f7d8c5a22d85fc685d56a9f301d8b9f7f0d7d4e9033a27563b066c2ab41833";
};
propagatedBuildInputs = [

View File

@ -12,12 +12,12 @@
buildPythonPackage rec {
pname = "clifford";
version = "1.2.0";
version = "1.3.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "b27fdec70574ac928c91fe333a70ece153d75cd0499cce09acea5980ae349bee";
sha256 = "ade11b20d0631dfc9c2f18ce0149f1e61e4baf114108b27cfd68e5c1619ecc0c";
};
propagatedBuildInputs = [

View File

@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "clikit";
version = "0.4.3";
version = "0.6.1";
src = fetchPypi {
inherit pname version;
sha256 = "0glppxx0pyppjcigzs8h16srlbxb6nci0282xfy3ayvwbq8pwbbf";
sha256 = "0603e3c19fa106f5df5f224826c92e57221f48ec969e42744173e0458d359354";
};
propagatedBuildInputs = [

View File

@ -1,12 +1,13 @@
{ stdenv, buildPythonPackage, fetchPypi, pytest, mock }:
{ stdenv, buildPythonPackage, fetchPypi, isPy27, pytest, mock }:
buildPythonPackage rec {
pname = "cloudpickle";
version = "1.2.2";
version = "1.4.1";
disabled = isPy27; # abandoned upstream
src = fetchPypi {
inherit pname version;
sha256 = "922401d7140e133253ff5fab4faa4a1166416066453a783b00b507dca93f8859";
sha256 = "0b6258a20a143603d53b037a20983016d4e978f554ec4f36b3d0895b947099ae";
};
buildInputs = [ pytest mock ];

View File

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "codecov";
version = "2.0.22";
version = "2.1.4";
src = fetchPypi {
inherit pname version;
sha256 = "aeeefa3a03cac8a78e4f988e935b51a4689bb1f17f20d4e827807ee11135f845";
sha256 = "bf30a41f65e747b159e2a749d1f9c92042d358bba0905fd94d3def3a368e592c";
};
checkInputs = [ unittest2 ]; # Tests only

View File

@ -0,0 +1,26 @@
{ stdenv, buildPythonPackage, fetchPypi, setuptools_scm }:
buildPythonPackage rec {
pname = "configparser";
version = "4.0.2";
src = fetchPypi {
inherit pname version;
sha256 = "c7d282687a5308319bf3d2e7706e575c635b0a470342641c93bea0ea3b5331df";
};
# No tests available
doCheck = false;
nativeBuildInputs = [ setuptools_scm ];
preConfigure = ''
export LC_ALL=${if stdenv.isDarwin then "en_US" else "C"}.UTF-8
'';
meta = with stdenv.lib; {
description = "Updated configparser from Python 3.7 for Python 2.6+.";
license = licenses.mit;
homepage = "https://github.com/jaraco/configparser";
};
}

View File

@ -1,18 +1,20 @@
{ stdenv, buildPythonPackage, fetchPypi, setuptools_scm }:
{ stdenv, buildPythonPackage, fetchPypi, setuptools_scm
, toml
}:
buildPythonPackage rec {
pname = "configparser";
version = "4.0.2";
version = "5.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "c7d282687a5308319bf3d2e7706e575c635b0a470342641c93bea0ea3b5331df";
sha256 = "2ca44140ee259b5e3d8aaf47c79c36a7ab0d5e94d70bd4105c03ede7a20ea5a1";
};
# No tests available
doCheck = false;
nativeBuildInputs = [ setuptools_scm ];
nativeBuildInputs = [ setuptools_scm toml ];
preConfigure = ''
export LC_ALL=${if stdenv.isDarwin then "en_US" else "C"}.UTF-8

View File

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

View File

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

View File

@ -1,6 +1,7 @@
{ buildPythonPackage
, lib
, fetchPypi
, isPy27
, mock
, pytest
, pytestrunner
@ -15,13 +16,13 @@
buildPythonPackage rec {
pname = "coveralls";
name = "${pname}-python-${version}";
version = "1.9.2";
version = "2.0.0";
disabled = isPy27;
# wanted by tests
src = fetchPypi {
inherit pname version;
sha256 = "8e3315e8620bb6b3c6f3179a75f498e7179c93b3ddc440352404f941b1f70524";
sha256 = "d213f5edd49053d03f0db316ccabfe17725f2758147afc9a37eaca9d8e8602b5";
};
checkInputs = [

View File

@ -0,0 +1,27 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
}:
buildPythonPackage rec {
pname = "cppy";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "4eda6f1952054a270f32dc11df7c5e24b259a09fddf7bfaa5f33df9fb4a29642";
};
# Headers-only library, no tests
doCheck = false;
# Not supported
disabled = !isPy3k;
meta = {
description = "C++ headers for C extension development";
homepage = "https://github.com/nucleic/cppy";
license = lib.licenses.bsd3;
};
}

View File

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "credstash";
version = "1.16.2";
version = "1.17.1";
src = fetchPypi {
inherit pname version;
sha256 = "1l3g76dm9csmx0z8s7zd75wfzw9dcyvrq0a81gfzwxk0c0w8c79r";
sha256 = "6c04e8734ef556ab459018da142dd0b244093ef176b3be5583e582e9a797a120";
};
# The install phase puts an executable and a copy of the library it imports in

View File

@ -4,6 +4,8 @@
, python-dateutil
, pytest
, pytz
, natsort
, tzlocal
}:
buildPythonPackage rec {
@ -17,11 +19,13 @@ buildPythonPackage rec {
propagatedBuildInputs = [
python-dateutil
natsort
];
checkInputs = [
pytest
pytz
tzlocal
];
checkPhase = ''

View File

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "cssselect2";
version = "0.2.2";
version = "0.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "0skymzb4ncrm2zdsy80f53vi0arf776lvbp51hzh4ayp1il5lj3h";
sha256 = "5c2716f06b5de93f701d5755a9666f2ee22cbcd8b4da8adddfc30095ffea3abc";
};
# We're not interested in code quality tests

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