1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Merge staging into staging-next

This commit is contained in:
Frederik Rietdijk 2019-06-15 10:49:30 +02:00
commit 482c74cfb8
115 changed files with 493 additions and 428 deletions

View file

@ -261,6 +261,14 @@
</listitem>
<listitem>
<para>
The package <literal>avahi</literal> is now built to look up service
definitions from <literal>/etc/avahi/services</literal> instead of its
output directory in the nix store. Accordingly the module
<option>avahi</option> now supports custom service definitions via
<option>services.avahi.extraServiceFiles</option>, which are then placed
in the aforementioned directory. See <citerefentry>
<refentrytitle>avahi.service</refentrytitle><manvolnum>5</manvolnum>
</citerefentry> for more information on custom service definitions.
Since version 0.1.19, <literal>cargo-vendor</literal> honors package
includes that are specified in the <filename>Cargo.toml</filename>
file of Rust crates. <literal>rustPlatform.buildRustPackage</literal> uses

View file

@ -44,7 +44,7 @@
vsftpd = 7;
ftp = 8;
bitlbee = 9;
avahi = 10;
#avahi = 10; # removed 2019-05-22
nagios = 11;
atd = 12;
postfix = 13;
@ -358,7 +358,7 @@
vsftpd = 7;
ftp = 8;
bitlbee = 9;
avahi = 10;
#avahi = 10; # removed 2019-05-22
#nagios = 11; # unused
atd = 12;
postfix = 13;

View file

@ -1,10 +1,8 @@
# Avahi daemon.
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.avahi;
yesNo = yes : if yes then "yes" else "no";
@ -39,215 +37,245 @@ let
enable-reflector=${yesNo reflector}
${extraConfig}
'';
in
{
###### interface
options = {
services.avahi = {
enable = mkOption {
default = false;
description = ''
Whether to run the Avahi daemon, which allows Avahi clients
to use Avahi's service discovery facilities and also allows
the local machine to advertise its presence and services
(through the mDNS responder implemented by `avahi-daemon').
'';
};
hostName = mkOption {
type = types.str;
description = ''
Host name advertised on the LAN. If not set, avahi will use the value
of config.networking.hostName.
'';
};
domainName = mkOption {
type = types.str;
default = "local";
description = ''
Domain name for all advertisements.
'';
};
browseDomains = mkOption {
default = [ ];
example = [ "0pointer.de" "zeroconf.org" ];
description = ''
List of non-local DNS domains to be browsed.
'';
};
ipv4 = mkOption {
default = true;
description = ''Whether to use IPv4'';
};
ipv6 = mkOption {
default = false;
description = ''Whether to use IPv6'';
};
interfaces = mkOption {
type = types.nullOr (types.listOf types.str);
default = null;
description = ''
List of network interfaces that should be used by the <command>avahi-daemon</command>.
Other interfaces will be ignored. If <literal>null</literal> all local interfaces
except loopback and point-to-point will be used.
'';
};
allowPointToPoint = mkOption {
default = false;
description= ''
Whether to use POINTTOPOINT interfaces. Might make mDNS unreliable due to usually large
latencies with such links and opens a potential security hole by allowing mDNS access from Internet
connections. Use with care and YMMV!
'';
};
wideArea = mkOption {
default = true;
description = ''Whether to enable wide-area service discovery.'';
};
reflector = mkOption {
default = false;
description = ''Reflect incoming mDNS requests to all allowed network interfaces.'';
};
publish = {
enable = mkOption {
default = false;
description = ''Whether to allow publishing in general.'';
};
userServices = mkOption {
default = false;
description = ''Whether to publish user services. Will set <literal>addresses=true</literal>.'';
};
addresses = mkOption {
default = false;
description = ''Whether to register mDNS address records for all local IP addresses.'';
};
hinfo = mkOption {
default = false;
description = ''
Whether to register an mDNS HINFO record which contains information about the
local operating system and CPU.
'';
};
workstation = mkOption {
default = false;
description = ''Whether to register a service of type "_workstation._tcp" on the local LAN.'';
};
domain = mkOption {
default = false;
description = ''Whether to announce the locally used domain name for browsing by other hosts.'';
};
};
nssmdns = mkOption {
default = false;
description = ''
Whether to enable the mDNS NSS (Name Service Switch) plug-in.
Enabling it allows applications to resolve names in the `.local'
domain by transparently querying the Avahi daemon.
'';
};
cacheEntriesMax = mkOption {
default = null;
type = types.nullOr types.int;
description = ''
Number of resource records to be cached per interface. Use 0 to
disable caching. Avahi daemon defaults to 4096 if not set.
'';
};
extraConfig = mkOption {
default = "";
type = types.lines;
description = ''
Extra config to append to avahi-daemon.conf.
'';
};
options.services.avahi = {
enable = mkOption {
type = types.bool;
default = false;
description = ''
Whether to run the Avahi daemon, which allows Avahi clients
to use Avahi's service discovery facilities and also allows
the local machine to advertise its presence and services
(through the mDNS responder implemented by `avahi-daemon').
'';
};
hostName = mkOption {
type = types.str;
default = config.networking.hostName;
defaultText = literalExample "config.networking.hostName";
description = ''
Host name advertised on the LAN. If not set, avahi will use the value
of <option>config.networking.hostName</option>.
'';
};
domainName = mkOption {
type = types.str;
default = "local";
description = ''
Domain name for all advertisements.
'';
};
browseDomains = mkOption {
type = types.listOf types.str;
default = [ ];
example = [ "0pointer.de" "zeroconf.org" ];
description = ''
List of non-local DNS domains to be browsed.
'';
};
ipv4 = mkOption {
type = types.bool;
default = true;
description = "Whether to use IPv4.";
};
ipv6 = mkOption {
type = types.bool;
default = false;
description = "Whether to use IPv6.";
};
interfaces = mkOption {
type = types.nullOr (types.listOf types.str);
default = null;
description = ''
List of network interfaces that should be used by the <command>avahi-daemon</command>.
Other interfaces will be ignored. If <literal>null</literal>, all local interfaces
except loopback and point-to-point will be used.
'';
};
openFirewall = mkOption {
type = types.bool;
default = true;
description = ''
Whether to open the firewall for UDP port 5353.
'';
};
allowPointToPoint = mkOption {
type = types.bool;
default = false;
description= ''
Whether to use POINTTOPOINT interfaces. Might make mDNS unreliable due to usually large
latencies with such links and opens a potential security hole by allowing mDNS access from Internet
connections.
'';
};
wideArea = mkOption {
type = types.bool;
default = true;
description = "Whether to enable wide-area service discovery.";
};
reflector = mkOption {
type = types.bool;
default = false;
description = "Reflect incoming mDNS requests to all allowed network interfaces.";
};
extraServiceFiles = mkOption {
type = with types; attrsOf (either str path);
default = {};
example = literalExample ''
{
ssh = "''${pkgs.avahi}/etc/avahi/services/ssh.service";
smb = '''
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">%h</name>
<service>
<type>_smb._tcp</type>
<port>445</port>
</service>
</service-group>
''';
}
'';
description = ''
Specify custom service definitions which are placed in the avahi service directory.
See the <citerefentry><refentrytitle>avahi.service</refentrytitle>
<manvolnum>5</manvolnum></citerefentry> manpage for detailed information.
'';
};
publish = {
enable = mkOption {
type = types.bool;
default = false;
description = "Whether to allow publishing in general.";
};
userServices = mkOption {
type = types.bool;
default = false;
description = "Whether to publish user services. Will set <literal>addresses=true</literal>.";
};
addresses = mkOption {
type = types.bool;
default = false;
description = "Whether to register mDNS address records for all local IP addresses.";
};
hinfo = mkOption {
type = types.bool;
default = false;
description = ''
Whether to register a mDNS HINFO record which contains information about the
local operating system and CPU.
'';
};
workstation = mkOption {
type = types.bool;
default = false;
description = ''
Whether to register a service of type "_workstation._tcp" on the local LAN.
'';
};
domain = mkOption {
type = types.bool;
default = false;
description = "Whether to announce the locally used domain name for browsing by other hosts.";
};
};
nssmdns = mkOption {
type = types.bool;
default = false;
description = ''
Whether to enable the mDNS NSS (Name Service Switch) plug-in.
Enabling it allows applications to resolve names in the `.local'
domain by transparently querying the Avahi daemon.
'';
};
cacheEntriesMax = mkOption {
type = types.nullOr types.int;
default = null;
description = ''
Number of resource records to be cached per interface. Use 0 to
disable caching. Avahi daemon defaults to 4096 if not set.
'';
};
extraConfig = mkOption {
type = types.lines;
default = "";
description = ''
Extra config to append to avahi-daemon.conf.
'';
};
};
###### implementation
config = mkIf cfg.enable {
users.users.avahi = {
description = "avahi-daemon privilege separation user";
home = "/var/empty";
group = "avahi";
isSystemUser = true;
};
services.avahi.hostName = mkDefault config.networking.hostName;
users.users = singleton
{ name = "avahi";
uid = config.ids.uids.avahi;
description = "`avahi-daemon' privilege separation user";
home = "/var/empty";
};
users.groups = singleton
{ name = "avahi";
gid = config.ids.gids.avahi;
};
users.groups.avahi = {};
system.nssModules = optional cfg.nssmdns pkgs.nssmdns;
environment.systemPackages = [ pkgs.avahi ];
systemd.sockets.avahi-daemon =
{ description = "Avahi mDNS/DNS-SD Stack Activation Socket";
listenStreams = [ "/run/avahi-daemon/socket" ];
wantedBy = [ "sockets.target" ];
};
systemd.services.avahi-daemon =
{ description = "Avahi mDNS/DNS-SD Stack";
wantedBy = [ "multi-user.target" ];
requires = [ "avahi-daemon.socket" ];
serviceConfig."NotifyAccess" = "main";
serviceConfig."BusName" = "org.freedesktop.Avahi";
serviceConfig."Type" = "dbus";
path = [ pkgs.coreutils pkgs.avahi ];
preStart = "mkdir -p /run/avahi-daemon";
script =
''
# Make NSS modules visible so that `avahi_nss_support ()' can
# return a sensible value.
export LD_LIBRARY_PATH="${config.system.nssModules.path}"
exec ${pkgs.avahi}/sbin/avahi-daemon --syslog -f "${avahiDaemonConf}"
'';
environment.etc = (mapAttrs' (n: v: nameValuePair
"avahi/services/${n}.service"
{ ${if types.path.check v then "source" else "text"} = v; }
) cfg.extraServiceFiles);
systemd.sockets.avahi-daemon = {
description = "Avahi mDNS/DNS-SD Stack Activation Socket";
listenStreams = [ "/run/avahi-daemon/socket" ];
wantedBy = [ "sockets.target" ];
};
systemd.tmpfiles.rules = [ "d /run/avahi-daemon - avahi avahi -" ];
systemd.services.avahi-daemon = {
description = "Avahi mDNS/DNS-SD Stack";
wantedBy = [ "multi-user.target" ];
requires = [ "avahi-daemon.socket" ];
# Make NSS modules visible so that `avahi_nss_support ()' can
# return a sensible value.
environment.LD_LIBRARY_PATH = config.system.nssModules.path;
path = [ pkgs.coreutils pkgs.avahi ];
serviceConfig = {
NotifyAccess = "main";
BusName = "org.freedesktop.Avahi";
Type = "dbus";
ExecStart = "${pkgs.avahi}/sbin/avahi-daemon --syslog -f ${avahiDaemonConf}";
};
};
services.dbus.enable = true;
services.dbus.packages = [ pkgs.avahi ];
# Enabling Avahi without exposing it in the firewall doesn't make
# sense.
networking.firewall.allowedUDPPorts = [ 5353 ];
networking.firewall.allowedUDPPorts = mkIf cfg.openFirewall [ 5353 ];
};
}

View file

@ -15,6 +15,7 @@ import ./make-test.nix ({ pkgs, ... } : {
publish.enable = true;
publish.userServices = true;
publish.workstation = true;
extraServiceFiles.ssh = "${pkgs.avahi}/etc/avahi/services/ssh.service";
};
};
in {
@ -56,5 +57,11 @@ import ./make-test.nix ({ pkgs, ... } : {
$one->succeed("getent hosts two.local >&2");
$two->succeed("getent hosts one.local >&2");
$two->succeed("getent hosts two.local >&2");
# extra service definitions
$one->succeed("avahi-browse -r -t _ssh._tcp | tee out >&2");
$one->succeed("test `wc -l < out` -gt 0");
$two->succeed("avahi-browse -r -t _ssh._tcp | tee out >&2");
$two->succeed("test `wc -l < out` -gt 0");
'';
})

View file

@ -30,11 +30,11 @@ in
stdenv.mkDerivation rec {
pname = "go";
version = "1.11.10";
version = "1.11.11";
src = fetchurl {
url = "https://dl.google.com/go/go${version}.src.tar.gz";
sha256 = "06rw962xigbrxblp942jbh7k133blpxg2xfrxi32qdhxkmmfj9yz";
sha256 = "130g5lhg4h5xwa6chvxfi80nvdx8qb26xfbamzgyc8i5xwrprzqz";
};
# perl is used for testing go vet

View file

@ -30,11 +30,11 @@ in
stdenv.mkDerivation rec {
pname = "go";
version = "1.12.5";
version = "1.12.6";
src = fetchurl {
url = "https://dl.google.com/go/go${version}.src.tar.gz";
sha256 = "1s034pr60h20lsw171vbzqxqvcqn0s04dxfyqczyfcmkrf4g199a";
sha256 = "1jmlj8pygg4hjpkziicihcf76lz61w1qljdpm3hqlqsmfk65qv69";
};
# perl is used for testing go vet

View file

@ -50,6 +50,8 @@ stdenv.mkDerivation rec {
# autoipd won't build on darwin
++ stdenv.lib.optional stdenv.isDarwin "--disable-autoipd";
NIX_CFLAGS_COMPILE = "-DAVAHI_SERVICE_DIR=\"/etc/avahi/services\"";
preBuild = stdenv.lib.optionalString stdenv.isDarwin ''
sed -i '20 i\
#define __APPLE_USE_RFC_2292' \

View file

@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook pkgconfig ];
enableParallelBuilding = true;
meta = {
homepage = "https://github.com/strukturag/libde265";
description = "Open h.265 video codec implementation";

View file

@ -57,6 +57,8 @@ stdenv.mkDerivation rec {
++ optional tiffSupport libtiff
++ optional gifSupport giflib;
enableParallelBuilding = true;
meta = {
description = "Tools and library for the WebP image format";
homepage = https://developers.google.com/speed/webp/;

View file

@ -4,28 +4,15 @@
stdenv.mkDerivation rec {
pname = "p11-kit";
version = "0.23.15";
version = "0.23.16.1";
src = fetchFromGitHub {
owner = "p11-glue";
repo = pname;
rev = version;
sha256 = "0kf7zz2cvd6j09qkff3rl3wfisva82ia1z9h8bmy4ifwkv4yl9fv";
sha256 = "0jr62qkbqxp3iawgksk1qc3gp8p6x09sg5v7xac80ghyfxil15wy";
};
patches = [
(fetchpatch {
# https://github.com/p11-glue/p11-kit/issues/212
url = "https://github.com/p11-glue/p11-kit/commit/2a474e1fe8f4bd8b4ed7622e5cf3b2718a202562.patch";
sha256 = "13wi32hpzilvzxn57crn79h88q38jm2fzd5zxj4wnhv9dhwqr6lg";
})
(fetchpatch {
# https://github.com/p11-glue/p11-kit/issues/220
url = "https://github.com/p11-glue/p11-kit/commit/e2170b295992cb7fdf115227a78028ac3780619f.patch";
sha256 = "0433d8drfxaabsxwkkl4kr0jx8jr2l3a9ar11szipd9jwvrqnyr7";
})
];
outputs = [ "out" "dev"];
outputBin = "dev";

View file

@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
++ lib.optional ncclSupport "-DUSE_NCCL=ON";
installPhase = let
libname = if stdenv.isDarwin then "libxgboost.dylib" else "libxgboost.so";
libname = "libxgboost${stdenv.hostPlatform.extensions.sharedLibrary}";
in ''
mkdir -p $out
cp -r ../include $out

View file

@ -26,11 +26,11 @@ let
in buildPythonPackage rec {
pname = "Cython";
version = "0.29.7";
version = "0.29.10";
src = fetchPypi {
inherit pname version;
sha256 = "55d081162191b7c11c7bfcb7c68e913827dfd5de6ecdbab1b99dab190586c1e8";
sha256 = "26229570d6787ff3caa932fe9d802960f51a89239b990d275ae845405ce43857";
};
nativeBuildInputs = [

View file

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "Mako";
version = "1.0.9";
version = "1.0.10";
src = fetchPypi {
inherit pname version;
sha256 = "0728c404877cd4ca72c409c0ea372dc5f3b53fa1ad2bb434e1d216c0444ff1fd";
sha256 = "7165919e78e1feb68b4dbe829871ea9941398178fa58e6beedb9ba14acf63965";
};
checkInputs = [ markupsafe nose mock pytest_3 ];

View file

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "Wand";
version = "0.5.3";
version = "0.5.4";
src = fetchPypi {
inherit pname version;
sha256 = "a2c318993791fab4fcfd460045415176f81d42f8c6fd8a88fb8d74d2f0f34b97";
sha256 = "e2e08e19a37c61e85eaa307fe319889af46fe4cac6c23e3ae668b96be3e497ff";
};
postPatch = ''

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "aiohttp-jinja2";
version = "1.1.0";
version = "1.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "aef9b6595f962182ad00c990095fb51d731c280e1d183e2b28cf0bdb5a942d0c";
sha256 = "54630f769b0a25e83744673068db89cdd099f830818cea7ea9c43eb23add7941";
};
propagatedBuildInputs = [ aiohttp jinja2 ];

View file

@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "alembic";
version = "1.0.9";
version = "1.0.10";
src = fetchPypi {
inherit pname version;
sha256 = "40b9a619aa5f25ea1e1508adcda88b33704ef28e02c9cfa6471e5c772ecf0829";
sha256 = "828dcaa922155a2b7166c4f36ec45268944e4055c86499bd14319b4c8c0094b7";
};
buildInputs = [ pytest pytestcov mock coverage ];

View file

@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "altair";
version = "3.0.0";
version = "3.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "0x4zm1xia6sln8dhwd803jlcii2a62fx3rlnj5vsa8g3anfc2v24";
sha256 = "63934563a7a7b7186335858206a0b9be6043163b8b54a26cd3b3299a9e5e391f";
};
postPatch = ''

View file

@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "arrow";
version = "0.13.1";
version = "0.13.2";
src = fetchPypi {
inherit pname version;
sha256 = "6f54d9f016c0b7811fac9fb8c2c7fa7421d80c54dbdd75ffb12913c55db60b8a";
sha256 = "82dd5e13b733787d4eb0fef42d1ee1a99136dc1d65178f70373b3678b3181bfc";
};
checkPhase = ''

View file

@ -1,17 +1,20 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestrunner
}:
buildPythonPackage rec {
pname = "audioread";
version = "2.1.6";
version = "2.1.8";
src = fetchPypi {
inherit pname version;
sha256 = "b0b9270c20833a75ce0d167fb2fdad52ddcd8e8f300be8afad3ac9715850bc50";
sha256 = "073904fabc842881e07bd3e4a5776623535562f70b1655b635d22886168dd168";
};
nativeBuildInputs = [ pytestrunner ];
# No tests, need to disable or py3k breaks
doCheck = false;
@ -20,4 +23,4 @@ buildPythonPackage rec {
homepage = "https://github.com/sampsyo/audioread";
license = lib.licenses.mit;
};
}
}

View file

@ -7,14 +7,14 @@
}:
buildPythonPackage rec {
version = "1.1.19";
version = "1.1.21";
pname = "azure-common";
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "622d9360a1b61172b4c0d1cc58f939c68402aa19ca44872ab3d224d913aa6d0c";
sha256 = "25d696d2affbf5fe9b13aebe66271fce545e673e7e1eeaaec2d73599ba639d63";
};
propagatedBuildInputs = [ azure-nspkg ];

View file

@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "azure-storage-common";
version = "1.4.0";
version = "1.4.2";
src = fetchPypi {
inherit pname version;
sha256 = "7ab607f9b8fd27b817482194b1e7d43484c65dcf2605aae21ad8706c6891934d";
sha256 = "4ec87c7537d457ec95252e0e46477e2c1ccf33774ffefd05d8544682cb0ae401";
};
propagatedBuildInputs = [

View file

@ -3,26 +3,26 @@
let
wheel_source = fetchPypi {
pname = "wheel";
version = "0.33.1";
version = "0.33.4";
format = "wheel";
sha256 = "8eb4a788b3aec8abf5ff68d4165441bc57420c9f64ca5f471f58c3969fe08668";
sha256 = "5e79117472686ac0c4aef5bad5172ea73a1c2d1646b808c35926bd26bdfb0c08";
};
setuptools_source = fetchPypi {
pname = "setuptools";
version = "41.0.0";
version = "41.0.1";
format = "wheel";
sha256 = "e67486071cd5cdeba783bd0b64f5f30784ff855b35071c8670551fd7fc52d4a1";
sha256 = "c7769ce668c7a333d84e17fe8b524b1c45e7ee9f7908ad0a73e1eda7e6a5aebf";
};
in stdenv.mkDerivation rec {
pname = "pip";
version = "19.0.3";
version = "19.1.1";
name = "${python.libPrefix}-bootstrapped-${pname}-${version}";
src = fetchPypi {
inherit pname version;
format = "wheel";
sha256 = "bd812612bbd8ba84159d9ddc0266b7fbce712fc9bc98c82dee5750546ec8ec64";
sha256 = "993134f0475471b91452ca029d4390dc8f298ac63a712814f101cd1b6db46676";
};
unpackPhase = ''

View file

@ -25,11 +25,11 @@ let
package = buildPythonPackage rec {
pname = "buildbot";
version = "2.3.0";
version = "2.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "1fdahbpihs93pj640y2079yilca6w7vlwirfcz221885ih148257";
sha256 = "cf35d2a87b11aba29c59e47e843deba1be9649114e792e830252ed8f7c35f963";
};
propagatedBuildInputs = [

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "buildbot-pkg";
version = "2.3.0";
version = "2.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "1ajgvnhwvryi10q9bklpfazi7vxw2my9jlqgwnjccycbr6yznzsw";
sha256 = "25968ace0c62cb773ed85d4ddbe07fd5aee68f4455909243ffb3ac12608cf82e";
};
postPatch = ''

View file

@ -2,11 +2,11 @@
buildPythonPackage (rec {
pname = "buildbot-worker";
version = "2.3.0";
version = "2.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "0nldf4ws1nrkhbapxiy2s8j9fjfbkhp17c5912p6qy3ximfcfa93";
sha256 = "a26c68debb70f15abee307aff7b225e91a2eedca9c8d571212c391e615c36f53";
};
propagatedBuildInputs = [ twisted future ];

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "cachetools";
version = "3.1.0";
version = "3.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "9efcc9fab3b49ab833475702b55edd5ae07af1af7a4c627678980b45e459c460";
sha256 = "8ea2d3ce97850f31e4a08b0e2b5e6c34997d7216a9d2c98e0f3978630d4da69a";
};
meta = with stdenv.lib; {

View file

@ -3,13 +3,13 @@
buildPythonPackage rec {
pname = "caldav";
version = "0.6.0";
version = "0.6.1";
propagatedBuildInputs = [ tzlocal requests vobject lxml ];
src = fetchPypi {
inherit pname version;
sha256 = "1ll9knpc50yxx858hrvfnapdi2a6g1pz9cnjhwffry2x7r4ckarz";
sha256 = "eddb7f4e6a3eb5f02eaa2227817a53ac4372d4c4d51876536f4c6f00282f569e";
};
meta = with lib; {

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "cement";
version = "3.0.2";
version = "3.0.4";
src = fetchPypi {
inherit pname version;
sha256 = "8c692493c9d97b07e4a2c0770223fa5ee12a3110cfcb246d7d26fffe22edd22e";
sha256 = "10a8459dc9fc31d6c038ede24a9081c5c3bd5fcd75b071e01baf281f81c9eace";
};
# Disable test tests since they depend on a memcached server running on

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "Cerberus";
version = "1.3";
version = "1.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "0afhm8x812shj1fbj9jri6wcrlv0avcfis7619sl140mlhpgpzkz";
sha256 = "0be48fc0dc84f83202a5309c0aa17cd5393e70731a1698a50d118b762fbe6875";
};
checkInputs = [ pytestrunner pytest ];

View file

@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "cleo";
version = "0.7.2";
version = "0.7.4";
src = fetchPypi {
inherit pname version;
sha256 = "091nzpfp5incd2fzqych78rvyx4i3djr50cnizbjzr3dc7g00l3s";
sha256 = "58d26642fa608a1515093275cd98875100c7d50f01fc1f3bbb7a78dbb73e4b14";
};
propagatedBuildInputs = [

View file

@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "clikit";
version = "0.2.3";
version = "0.2.4";
src = fetchPypi {
inherit pname version;
sha256 = "0zr1s0xhk62p9a6zcp5whvsb27lddyk8gx03k9l8q18jp7y3igbv";
sha256 = "d6807cf4a41e6b981b056075c0aefca2db1dabc597ed18fa4d92b8b2e2678835";
};
propagatedBuildInputs = [

View file

@ -10,7 +10,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "0f5f5rgwckci2fqwbzjk5sfpwxqn5gy0biz8sjll4v5zgvjsswxq";
sha256 = "b873ade57ebf6c42a9d4e8c705fc2b16777e9d2e53fec5b113914dc65f2eae38";
};
LC_ALL="en_US.UTF-8";

View file

@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "dask";
version = "1.1.5";
version = "1.2.2";
src = fetchPypi {
inherit pname version;
sha256 = "4b0b82a4d61714d3a49953274b1a8a689a51eacf89c4c2ff18aa7f6282ce515e";
sha256 = "5e7876bae2a01b355d1969b73aeafa23310febd8c353163910b73e93dc7e492c";
};
checkInputs = [ pytest ];

View file

@ -9,11 +9,11 @@ in
buildPythonPackage rec {
pname = "dependency-injector";
version = "3.14.5";
version = "3.14.6";
src = fetchPypi {
inherit pname version;
sha256 = "5e0c73fbec99d2782479f6d8c292be87ed8672eb42b451e7f7a5d52a3458c4e5";
sha256 = "2e1889a0981381f557b0d14cba900adf7476817c53c13bfb04e2a30b3db0f1d3";
};
propagatedBuildInputs = [ six ];

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "distlib";
version = "0.2.9";
version = "0.2.9.post0";
src = fetchPypi {
inherit pname version;
sha256 = "1z9c4ig19hjk18agwljv5ib3pphicg50w9z5zsnqn97q7vnv17gm";
sha256 = "ecb3d0e4f71d0fa7f38db6bcc276c7c9a1c6638a516d726495934a553eb3fbe0";
extension = "zip";
};

View file

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "django-reversion";
version = "3.0.3";
version = "3.0.4";
src = fetchPypi {
inherit pname version;
sha256 = "0xjs803r5fxaqpkjbpsb17j8racxa4q1nvjjaj1akkgkgw9dj343";
sha256 = "ed46722389fb2441860d471c7538967dee545bcee891d3d907b04f4baa98f5fa";
};
# tests assume the availability of a mysql/postgresql database

View file

@ -1,11 +1,11 @@
{ stdenv, buildPythonPackage, fetchPypi, django }:
buildPythonPackage rec {
version = "3.9.3";
version = "3.9.4";
pname = "djangorestframework";
src = fetchPypi {
inherit pname version;
sha256 = "1w1rc8cpw89sll5wsg1aj1w3klk91a1bsdz9y4zhg5xrc0qpd118";
sha256 = "c12869cfd83c33d579b17b3cb28a2ae7322a53c3ce85580c2a2ebe4e3f56c4fb";
};
# Test settings are missing

View file

@ -1,12 +1,12 @@
{ stdenv, buildPythonPackage, fetchPypi, six, pytestcov, pytest }:
buildPythonPackage rec {
version = "0.0.13";
version = "0.0.14";
pname = "dockerfile-parse";
src = fetchPypi {
inherit pname version;
sha256 = "1p0x81q3m3nlj4rqal9a959xcbjhncb548wd4wr3l7dpiajqqc9c";
sha256 = "0b829a9e25ac9af17a0affa41c0fca6541a03b8edb0178f60dc036e2ce59eeb5";
};
postPatch = ''

View file

@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "docrep";
version = "0.2.5";
version = "0.2.7";
src = fetchPypi {
inherit pname version;
sha256 = "a67c34d3a44892d3e2a0af0ac55c02b949a37ced9d55c0d7ade76362ba6692d7";
sha256 = "c48939ae14d79172839a5bbaf5a570add47f6cc44d2c18f6b1fac8f1c38dec4d";
};
checkInputs = [ pytest ];

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "EasyProcess";
version = "0.2.5";
version = "0.2.7";
src = fetchPypi {
inherit pname version;
sha256 = "0gdl6y37g8rns2i26d2zlx7x4kbpql9h5qd8k23ka69q6frcpb8k";
sha256 = "f757cd16cdab5b87117b4ee6cf197f99bfa109253364c7bd717ad0bcd39218a0";
};
# No tests

View file

@ -7,11 +7,11 @@
buildPythonPackage (rec {
pname = "elasticsearch";
version = "7.0.1";
version = "7.0.2";
src = fetchPypi {
inherit pname version;
sha256 = "0ax00k6xi7g419azjdn8g19zad304xmxw62pcfp3njawqnlnwp24";
sha256 = "cbc73831c63fa2824538df76fcb2c4be007b43dbd9e7788ae70ea6d24109925b";
};
# Check is disabled because running them destroy the content of the local cluster!

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "filelock";
version = "3.0.10";
version = "3.0.12";
src = fetchPypi {
inherit pname version;
sha256 = "1rjv7g85smh6hrq6n9h721kh83qjv8mfp0ksdnbqbbsd82xw246n";
sha256 = "18d82244ee114f543149c66a6e0c14e9c4f8a1044b5cdaadd0f82159d6a6ff59";
};
meta = with stdenv.lib; {

View file

@ -2,12 +2,12 @@
, itsdangerous, click, werkzeug, jinja2, pytest }:
buildPythonPackage rec {
version = "1.0.2";
version = "1.0.3";
pname = "Flask";
src = fetchPypi {
inherit pname version;
sha256 = "2271c0070dbcb5275fad4a82e29f23ab92682dc45f9dfbc22c02ba9b9322ce48";
sha256 = "ad7c6d841e64296b962296c2c2dabc6543752985727af86a975072dea984b6f3";
};
checkInputs = [ pytest ];

View file

@ -5,19 +5,20 @@
, six
, mock
, nose
, pytest
}:
buildPythonPackage rec {
pname = "freezegun";
version = "0.3.11";
version = "0.3.12";
src = fetchPypi {
inherit pname version;
sha256 = "e839b43bfbe8158b4d62bb97e6313d39f3586daf48e1314fb1083d2ef17700da";
sha256 = "2a4d9c8cd3c04a201e20c313caf8b6338f1cfa4cda43f46a94cc4a9fd13ea5e7";
};
propagatedBuildInputs = [ dateutil six ];
checkInputs = [ mock nose ];
checkInputs = [ mock nose pytest ];
meta = with stdenv.lib; {
description = "FreezeGun: Let your Python tests travel through time";

View file

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "Genshi";
version = "0.7.1";
version = "0.7.3";
src = fetchPypi {
inherit pname version;
sha256 = "0d87ae62cf2ed92133f35725da51e02d09f79bb4cb986f0d948408a0279dd3f8";
sha256 = "7933c95151d7dd2124a2b4c8dd85bb6aec881ca17c0556da0b40e56434b313a0";
};
# FAIL: test_sanitize_remove_script_elem (genshi.filters.tests.html.HTMLSanitizerTestCase)

View file

@ -9,12 +9,12 @@
buildPythonPackage rec {
pname = "geopy";
version = "1.18.1";
version = "1.20.0";
disabled = !isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "07a21f699b3daaef726de7278f5d65f944609306ab8a389e9f56e09abf86eac8";
sha256 = "9419bc90ee6231590c4ae7acf1cf126cefbd0736942da7a6a1436946e80830e2";
};
doCheck = false; # too much

View file

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "google-cloud-bigtable";
version = "0.32.1";
version = "0.32.2";
src = fetchPypi {
inherit pname version;
sha256 = "bb113894e1322102d4917740be4870798cad76aa4291ff742ada5548988b2223";
sha256 = "40d1fc8009c228f70bd0e2176e73a3f101051ad73889b3d25a5df672c029a8bd";
};
checkInputs = [ pytest mock ];

View file

@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "google-cloud-datastore";
version = "1.7.3";
version = "1.7.4";
src = fetchPypi {
inherit pname version;
sha256 = "e00bddc03670be206ddcbc5c1cbda0acc51db963f0ff54189bd6710f8e93a4c9";
sha256 = "7a44d9b0263cbbe05963522f61ba177e64282043f30999e0bc3368fd79a3af12";
};
checkInputs = [ pytest mock ];

View file

@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "google-cloud-dns";
version = "0.29.2";
version = "0.29.3";
src = fetchPypi {
inherit pname version;
sha256 = "d1476115c983094f124fe8b7a1350414072c048bf236336f3ab0816912e6e6bf";
sha256 = "a876811e44554fb8a8db4df4a2be649f356e1d9d97eefccfaf5a8d5273819d22";
};
checkInputs = [ pytest mock ];

View file

@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "google-cloud-logging";
version = "1.10.0";
version = "1.10.1";
src = fetchPypi {
inherit pname version;
sha256 = "13ac67399289b202b409e6cef7a87dea32ddabf902f69a677bd05554f6aecf0b";
sha256 = "a70201ca9f3972ff0e3272c5628b22ed9227e10ac00e570c28087377733632df";
};
checkInputs = [ pytest mock webapp2 django flask ];

View file

@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "google-cloud-resource-manager";
version = "0.28.3";
version = "0.28.4";
src = fetchPypi {
inherit pname version;
sha256 = "5999f327bfa6692679e82690c3e61f11097bbbe3ecee370210625676bac605e6";
sha256 = "ae43be426532b875c161625626ab759ecef633801e21f14b2ef8380884a2193b";
};
checkInputs = [ pytest mock ];

View file

@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "google-cloud-runtimeconfig";
version = "0.28.3";
version = "0.28.4";
src = fetchPypi {
inherit pname version;
sha256 = "8188a098c2c6603aa0cad50f8778a84a0f36a62062309a331a41271372fac798";
sha256 = "d5b097a15fa9bb50442ccaf25fdb4622fdf09b8a873abf549c432d8fdc16c2f1";
};
checkInputs = [ pytest mock ];

View file

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "google-cloud-storage";
version = "1.15.0";
version = "1.15.1";
src = fetchPypi {
inherit pname version;
sha256 = "13b9ah54z6g3w8p74a1anmyz84nrxy27snqv6vp95wsizp8zwsyn";
sha256 = "8032e576e2f91a1d3de2355118040c3bcd9916e0453a6b3f64c1b42ed151690a";
};
checkInputs = [ pytest mock ];

View file

@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "google-cloud-trace";
version = "0.20.2";
version = "0.20.3";
src = fetchPypi {
inherit pname version;
sha256 = "2129e736d5a21242a4840dc4b494720feb51edd6fafdc12cd6da4b0cb24e5295";
sha256 = "438ac953248c93972a5b1a0be24ec9bf75c947cee4159dd731b585ce81911f87";
};
checkInputs = [ pytest mock ];

View file

@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "googleapis-common-protos";
version = "1.5.9";
version = "1.5.10";
src = fetchPypi {
inherit pname version;
sha256 = "627ec53fab43d06c1b5c950e217fa9819e169daf753111a7f244e94bf8fb3384";
sha256 = "d564872083af40bbcc7091340f17db778a316525c7c76497d58d11b98ca2aa74";
};
propagatedBuildInputs = [ protobuf ];

View file

@ -3,12 +3,12 @@
buildPythonPackage rec {
pname = "GPy";
version = "1.9.6";
version = "1.9.8";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "f11d649b3320d4cb836d283706754953277c8696977726803ccd3ee1355a94a7";
sha256 = "33a55bb99fe5c7cdd8df4f8e220e3b87574afde49f5654b3ef7c0445018af4a0";
};
# running tests produces "ImportError: cannot import name 'linalg_cython'"

View file

@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "graph_nets";
version = "1.0.3";
version = "1.0.4";
src = fetchPypi {
inherit pname version;
sha256 = "15cbs9smmgqz2n9mnlzdbqj3iv9iw179d2g0f9lnimdy7xl4jqdf";
sha256 = "6f27f0358a477d4ec3ab300bf09944b4dfdd5c10b0a5f7ac06bcb32d1327ebe1";
};
buildInputs = [];

View file

@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "gym";
version = "0.12.1";
version = "0.12.5";
src = fetchPypi {
inherit pname version;
sha256 = "f8bee3672759aeec4271169dcbb2afc069b898c7f92882d965c59be8085f2b35";
sha256 = "027422f59b662748eae3420b804e35bbf953f62d40cd96d2de9f842c08de822e";
};
propagatedBuildInputs = [

View file

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "hdbscan";
version = "0.8.20";
version = "0.8.22";
src = fetchPypi {
inherit pname version;
sha256 = "263e9f34db63eec217d50f2ca3e65049c065775dc4095b5ee817824cd2b5b51b";
sha256 = "5cfdc25375123eb9a72363449979141cc928c1953f220f0f81d7baabcaccec2d";
};
checkInputs = [ nose ];

View file

@ -15,11 +15,11 @@
buildPythonPackage rec {
pname = "holoviews";
version = "1.12.2";
version = "1.12.3";
src = fetchPypi {
inherit pname version;
sha256 = "0i4lfnajz685hlp9m0bjn7s279bv6mm5118b1qmldzqdnvw4s032";
sha256 = "df64c0f163fe8b43d28cf5bcdeb8abc45d882aedca525b870f17987edd0c80a2";
};
propagatedBuildInputs = [

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "identify";
version = "1.4.2";
version = "1.4.3";
src = fetchPypi {
inherit pname version;
sha256 = "443f419ca6160773cbaf22dbb302b1e436a386f23129dbb5482b68a147c2eca9";
sha256 = "432c548d6138cb57a3d8f62f079a025a29b8ae34a50dd3b496bbf661818f2bc0";
};
# Tests not included in PyPI tarball

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "imgaug";
version = "0.2.8";
version = "0.2.9";
src = fetchPypi {
inherit pname version;
sha256 = "03dcbb3d7485de372eacde4b890b676e0c7a992524ee4bc72bd05a9a1cc5f9a4";
sha256 = "42b0c4c8cbe197d4f5dbd33960a1140f8a0d9c22c0a8851306ecbbc032092de8";
};
propagatedBuildInputs = [

View file

@ -17,22 +17,30 @@
, pexpect
, appnope
, backcall
, fetchpatch
}:
buildPythonPackage rec {
pname = "ipython";
version = "7.2.0";
version = "7.5.0";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "6a9496209b76463f1dec126ab928919aaf1f55b38beb9219af3fe202f6bbdd12";
sha256 = "e840810029224b56cd0d9e7719dc3b39cf84d577f8ac686547c8ba7a06eeab26";
};
prePatch = lib.optionalString stdenv.isDarwin ''
substituteInPlace setup.py --replace "'gnureadline'" " "
'';
patches = [
(fetchpatch {
url = "https://github.com/ipython/ipython/commit/e1b53e9ef91a43b9e275bb9e48b4253218375d87.patch";
sha256 = "sha256:0q7zsgalwxss6aikhakbdkvvz0g4ac4sa3ncrklm74ksqh56rsgb";
})
];
buildInputs = [ glibcLocales ];
checkInputs = [ nose pygments ];

View file

@ -1,15 +1,15 @@
{ lib, buildPythonPackage, fetchPypi, isPy27, futures, backports_functools_lru_cache, mock, pytest }:
let
skipTests = lib.optional isPy27 "test_standard_library_deprecates_user_issue_778";
skipTests = [ "test_requirements_finder" "test_pipfile_finder" ] ++ lib.optional isPy27 "test_standard_library_deprecates_user_issue_778";
testOpts = lib.concatMapStringsSep " " (t: "--deselect test_isort.py::${t}") skipTests;
in buildPythonPackage rec {
pname = "isort";
version = "4.3.17"; # Note 4.x is the last version that supports Python2
version = "4.3.20"; # Note 4.x is the last version that supports Python2
src = fetchPypi {
inherit pname version;
sha256 = "268067462aed7eb2a1e237fcb287852f22077de3fb07964e87e00f829eea2d1a";
sha256 = "c40744b6bc5162bbb39c1257fe298b7a393861d50978b565f3ccd9cb9de0182a";
};
propagatedBuildInputs = lib.optionals isPy27 [ futures backports_functools_lru_cache ];

View file

@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "ledgerblue";
version = "0.1.23";
version = "0.1.24";
src = fetchPypi {
inherit pname version;
sha256 = "476a1d1f6d9e7f72befff0ea4e631461882c9c1c620b92878503bf46383c8d20";
sha256 = "fc111ed5db8da93f280928d966f9d87416b464f5f09cec80b60e88c4c1265026";
};
propagatedBuildInputs = [

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "libusb1";
version = "1.7";
version = "1.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "03vylg5mdsxp2nyk8sm7yxmb470hcb92q263dfq8d6b9xp96ckwx";
sha256 = "adf64a4f3f5c94643a1286f8153bcf4bc787c348b38934aacd7fe17fbeebc571";
};
postPatch = ''

View file

@ -10,13 +10,13 @@
buildPythonPackage rec {
pname = "llvmlite";
version = "0.25.0";
version = "0.29.0";
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
sha256 = "fd64def9a51dd7dc61913a7a08eeba5b9785522740bec5a7c5995b2a90525025";
sha256 = "3adb0d4c9a17ad3dca82c7e88118babd61eeee0ee985ce31fa43ec27aa98c963";
};
nativeBuildInputs = [ llvm ];

View file

@ -3,6 +3,7 @@
, fetchPypi
, mecab
, swig
, setuptools_scm
}:
buildPythonPackage rec {
@ -17,10 +18,13 @@ buildPythonPackage rec {
nativeBuildInputs = [
mecab # for mecab-config
swig
setuptools_scm
];
buildInputs = [ mecab ];
doCheck = false;
meta = with lib; {
description = "A python wrapper for mecab: Morphological Analysis engine";
homepage = https://github.com/SamuraiT/mecab-python3;

View file

@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "minio";
version = "4.0.14";
version = "4.0.17";
src = fetchPypi {
inherit pname version;
sha256 = "72c8ab7b1c25f875273e66762982816af8ada2ced88b6cd991e979f479c34875";
sha256 = "0fb1faab701008a1ff05b9b2497b6ba52d1aff963323356ed86f2771b186db6b";
};
disabled = !isPy3k;

View file

@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "msgpack-numpy";
version = "0.4.4.2";
version = "0.4.4.3";
src = fetchPypi {
inherit pname version;
sha256 = "a1638108538aaba55bebaef9d847dfb3064bb1c829e68301716a6a956fa6a0d6";
sha256 = "a02c0069fb580c6a2dda9b98d40d34fda3840863112a5465ba9b54fa2ee005a5";
};
buildInputs = [

View file

@ -22,11 +22,11 @@
buildPythonPackage rec {
pname = "nbconvert";
version = "5.4.1";
version = "5.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "302554a2e219bc0fc84f3edd3e79953f3767b46ab67626fdec16e38ba3f7efe4";
sha256 = "138381baa41d83584459b5cfecfc38c800ccf1f37d9ddd0bd440783346a4c39c";
};
checkInputs = [ nose pytest glibcLocales ];

View file

@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "nbsmoke";
version = "0.2.7";
version = "0.2.8";
src = fetchPypi {
inherit pname version;
sha256 = "40891e556dc9e252da2a649028cacb949fc8efb81062ada7d9a87a01b08bb454";
sha256 = "eeda6c59b61130b9116a3d935e7c80ec5f617d7db8918d23289b2426efa229eb";
};
propagatedBuildInputs = [

View file

@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "ncclient";
version = "0.6.4";
version = "0.6.6";
src = fetchPypi {
inherit pname version;
sha256 = "47d5af7398f16d609eebd02be2ecbd997b364032b5dc6d4927c810ea24f39080";
sha256 = "2b367354d1cd25b79b8798a0b4c1949590d890057f2a252e6e970a9ab744e009";
};
checkInputs = [ nose rednose ];

View file

@ -13,12 +13,12 @@
}:
buildPythonPackage rec {
version = "0.40.1";
version = "0.44.0";
pname = "numba";
src = fetchPypi {
inherit pname version;
sha256 = "52d046c13bcf0de79dbfb936874b7228f141b9b8e3447cc35855e9ad3e12aa33";
sha256 = "56421bfc62f3c7c996ff11d5db7fc410909564e41b55379a82b9188fa4aa22f9";
};
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";

View file

@ -16,12 +16,12 @@ let
};
in buildPythonPackage rec {
pname = "numpy";
version = "1.16.3";
version = "1.16.4";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "78a6f89da87eeb48014ec652a65c4ffde370c036d780a995edaeb121d3625621";
sha256 = "7242be12a58fec245ee9734e625964b97cf7e3f2f7d016603f9e56660ce479c7";
};
nativeBuildInputs = [ gfortran pytest ];

View file

@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "paramz";
version = "0.9.4";
version = "0.9.5";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "179ca77a965e6e724217257793e3c8c022285ea2190a85e0826ac98dea316219";
sha256 = "0917211c0f083f344e7f1bc997e0d713dbc147b6380bc19f606119394f820b9a";
};
propagatedBuildInputs = [ numpy scipy six decorator ];

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "phonenumbers";
version = "8.10.11";
version = "8.10.12";
src = fetchPypi {
inherit pname version;
sha256 = "1rd46dryxkwlha9lfqqwywazlh908ngh6076zz3myhzf8h3dmxnz";
sha256 = "708c19860afb05085d5fe91b52fcbce9e1be3c020fe8c9b6f6d028879f5a7d5e";
};
meta = {

View file

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "pip";
version = "19.0.3";
version = "19.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "6e6f197a1abfb45118dbb878b5c859a0edbdd33fd250100bc015b67fded4b9f2";
sha256 = "44d3d7d3d30a1eb65c7e5ff1173cdf8f7467850605ac7cc3707b6064bddd0958";
};
# pip detects that we already have bootstrapped_pip "installed", so we need

View file

@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "pyacoustid";
version = "1.1.5";
version = "1.1.7";
src = fetchPypi {
inherit pname version;
sha256 = "efb6337a470c9301a108a539af7b775678ff67aa63944e9e04ce4216676cc777";
sha256 = "07394a8ae84625a0a6fef2d891d19687ff59cd955caaf48097da2826043356fd";
};
propagatedBuildInputs = [ requests audioread ];

View file

@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "pybullet";
version = "2.4.8";
version = "2.4.9";
src = fetchPypi {
inherit pname version;
sha256 = "0b6dkrac5zydxqfrf827xhamsimychrn77dsfnz1kf7c1crlwcw9";
sha256 = "bcb5aaca2b8adf94a04fd5206eea113ddc1993c9f13ab39f4a37e98f92b6d7db";
};
buildInputs = [

View file

@ -41,6 +41,10 @@ buildPythonPackage rec {
export LANG=en_US.UTF-8
'';
postPatch = ''
substituteInPlace setup.cfg --replace "[pytest]" "[tool:pytest]"
'';
propagatedBuildInputs = [ cairosvg tinycss cssselect ]
++ stdenv.lib.optionals (!isPyPy) [ lxml ];

View file

@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "pygame";
version = "1.9.5";
version = "1.9.6";
src = fetchPypi {
inherit pname version;
sha256 = "d15e7238015095a12c19379565a66285e989fdcb3807ec360b27338cd8bdaf05";
sha256 = "301c6428c0880ecd4a9e3951b80e539c33863b6ff356a443db1758de4f297957";
};
nativeBuildInputs = [

View file

@ -1,12 +1,12 @@
{ buildPythonPackage, fetchPypi, lib, pytorch, contextlib2
, graphviz, networkx, six, opt-einsum, tqdm }:
buildPythonPackage rec {
version = "0.3.2";
version = "0.3.3";
pname = "pyro-ppl";
src = fetchPypi {
inherit version pname;
sha256 = "f00db7e7747e016479ef65e3f00115d66a4200e59914f016d50e4d3e32bc94b0";
sha256 = "e980e2aa5a029e2f133d422a9154a21c9cca96c417c230ddde858e41aa43687b";
};
propagatedBuildInputs = [

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pyroute2";
version = "0.5.5";
version = "0.5.6";
src = fetchPypi {
inherit pname version;
sha256 = "ad679a91d453fe8426c4076d0da3a67265e5ccfe641879d75c9bc7660d075dfa";
sha256 = "deae0e6191a04c3ee213c6fae6ed779602ef5da5ca5e2fa533f27bc04326bfbe";
};
# requires root priviledges

View file

@ -13,13 +13,13 @@
buildPythonPackage rec {
pname = "pysonos";
version = "0.0.13";
version = "0.0.14";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "0azkbd20qdzdilv5pi4qngw7pjjcsv269dim7xh3qv7s9bp0xik8";
sha256 = "6ebab661eb3ff9f814139924c18a87d0b1cab8a6af98d323e2b1ee313ed856c9";
};
propagatedBuildInputs = [ xmltodict requests ifaddr ];

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pyspark";
version = "2.4.2";
version = "2.4.3";
src = fetchPypi {
inherit pname version;
sha256 = "5ab07ed12c3c9035bfaad93921887736abf89130130b38de7dfa985e50542438";
sha256 = "6839718ce9f779e81153d8a14a843a5c4b2d5e6574f3c916aec241022d717cb2";
};
# pypandoc is broken with pandoc2, so we just lose docs.

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "python-dotenv";
version = "0.10.1";
version = "0.10.2";
src = fetchPypi {
inherit pname version;
sha256 = "1q4sp6ppjiqlsz3h43q9iya4n3qkhx6ng16bcbacfxdyrp9xvcf9";
sha256 = "6640acd76e6cab84648e4fec16c9d19de6700971f9d91d045e7120622167bfda";
};
checkInputs = [ click ipython ];

View file

@ -8,13 +8,13 @@
}:
buildPythonPackage rec {
version = "0.7.0";
version = "0.7.1";
pname = "python-rapidjson";
disabled = pythonOlder "3.4";
src = fetchPypi {
inherit pname version;
sha256 = "d9c1411b25600ea65bb534ad75bf4ab6efd9627abd86872f0e5453ff42220d06";
sha256 = "3ea01520ebe28d270c79120a836d251fbb2187227695461a310fe0293f348b2d";
};
LC_ALL="en_US.utf-8";

View file

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "pytools";
version = "2019.1";
version = "2019.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "f6972030e6c97089e49b832fd1f4e7959aee89bb6db929aaa3bde2553d78872b";
sha256 = "ce2d702ae4ef10a70197b00b93141461140d00578f2a862fa946ca1446a300db";
};
checkInputs = [ pytest ];

View file

@ -14,11 +14,11 @@
buildPythonPackage rec {
pname = "qtconsole";
version = "4.4.4";
version = "4.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "1qqyk5wlaps1m2hb5n2q1gynw2ayqn31dvxwwni4450ygf65arx6";
sha256 = "4af84facdd6f00a6b9b2927255f717bb23ae4b7a20ba1d9ef0a5a5a8dbe01ae2";
};
checkInputs = [ nose ] ++ lib.optionals isPy27 [mock];

View file

@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "reikna";
version = "0.7.2";
version = "0.7.4";
src = fetchPypi {
inherit pname version;
sha256 = "c52f5ae13e35284feda8f6b67c0d6223c02c0292b1495969cf7a42f547b3fc18";
sha256 = "52bbce24fa1fd7bb950d38ce9b60f497dd00ac6b26688d80ab9bce709f063e71";
};
checkInputs = [ sphinx pytestcov pytest ];

View file

@ -11,11 +11,11 @@ let
ft = freetype.overrideAttrs (oldArgs: { dontDisableStatic = true; });
in buildPythonPackage rec {
pname = "reportlab";
version = "3.5.20";
version = "3.5.21";
src = fetchPypi {
inherit pname version;
sha256 = "06l7jfax1izvbddmmjw9xpyb7iy4n99v3chyv75d9djaklnqs93v";
sha256 = "08e6e63a4502d3a00062ba9ff9669f95577fbdb1a5f8c6cdb1230c5ee295273a";
};
checkInputs = [ glibcLocales ];

View file

@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "rfc3986";
version = "1.3.1";
version = "1.3.2";
src = fetchPypi {
inherit pname version;
sha256 = "1jprl2zm3pw2rfbda9rhg3v5bm8q36b8c9i4k8znimlf1mv8bcic";
sha256 = "0344d0bd428126ce554e7ca2b61787b6a28d2bbd19fc70ed2dd85efe31176405";
};
checkInputs = [ pytest ];

View file

@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "ruamel.yaml";
version = "0.15.94";
version = "0.15.96";
src = fetchPypi {
inherit pname version;
sha256 = "0939bcb399ad037ef903d74ccf2f8a074f06683bc89133ad19305067d34487c8";
sha256 = "343ace5ffbab036536a3da65e4cfd31b8292388a389f6305744984581a479b2a";
};
# Tests cannot load the module to test

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "scipy";
version = "1.2.1";
version = "1.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "e085d1babcb419bbe58e2e805ac61924dac4ca45a07c9fa081144739e500aa3c";
sha256 = "c3bb4bd2aca82fb498247deeac12265921fe231502a6bc6edea3ee7fe6c40a7a";
};
checkInputs = [ nose pytest ];

View file

@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "sharedmem";
version = "0.3.5";
version = "0.3.6";
src = fetchPypi {
inherit pname version;
sha256 = "1wr438m1jmcj6ccskzm6pchv6ldx7031h040adadjmkivz5rry41";
sha256 = "c351ab3f6a4fe9fe0c692ab6a8c88013e625845b31a168ff12d16254ed4154d5";
};
propagatedBuildInputs = [ numpy ];

View file

@ -3,13 +3,13 @@
buildPythonPackage rec {
pname = "snapcast";
version = "2.0.9";
version = "2.0.10";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "0hlfcg0qdfavjzhxz4v2spjkj6440a1254wrncfkfkyff6rv9x3s";
sha256 = "2a862a57ca65aa11cf010a19cdfee37e5728d486ee92684b00233442613b5120";
};
checkInputs = [ pytest ];

View file

@ -14,11 +14,11 @@
buildPythonPackage rec {
pname = "sopel";
version = "6.6.6";
version = "6.6.8";
src = fetchPypi {
inherit pname version;
sha256 = "dfb6d6c349cbdd463736e4be781cc005efeb1be91dbdc60cc76fda7cad142def";
sha256 = "c32aa69ba8a9ae55daf6dbc265d7f56fe6026edef3bb81aeea7912b7b6b9f5b7";
};
buildInputs = [ pytest ];

View file

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "sphinxcontrib-websupport";
version = "1.1.0";
version = "1.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "9de47f375baf1ea07cdb3436ff39d7a9c76042c10a769c52353ec46e4e8fc3b9";
sha256 = "1501befb0fdf1d1c29a800fdbf4ef5dc5369377300ddbdd16d2cd40e54c6eefc";
};
propagatedBuildInputs = [ six ];

View file

@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "sqlmap";
version = "1.3.4";
version = "1.3.5";
src = fetchPypi {
inherit pname version;
sha256 = "894584fdb8d0e25e9f9ac0da20058e23c27d5ca55904cc0326e1a84101beef32";
sha256 = "84e0da1a3d846df2f7c886540828f374b357924207e915c8885e0472acdf68dd";
};
# No tests in archive

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