pythonPackages.avro: 1.9.2 -> 1.10.0 (#95790)

pythonPackages.avro: 1.9.2 -> 1.10.0
This commit is contained in:
zimbatm 2020-08-21 14:26:28 +02:00 committed by GitHub
parent 60fc2dd607
commit fcd447bfed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,20 +1,30 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, pycodestyle, isort }:
{ stdenv, buildPythonPackage, isPy3k, fetchPypi, pycodestyle, isort }:
buildPythonPackage rec {
pname = "avro";
version = "1.9.2";
disabled = isPy3k;
version = "1.10.0";
src = fetchPypi {
inherit pname version;
sha256 = "4487f0e91d0d44142bd08b3c6da57073b720c3effb02eeb4e2e822804964c56b";
sha256 = "00rg1nn9szwm0p1lcda0w3iyqy9mx2y9zv0hdwaz6k0bsagziydv";
};
patchPhase = ''
# this test requires network access
sed -i 's/test_server_with_path/noop/' avro/test/test_ipc.py
'' + (stdenv.lib.optionalString isPy3k ''
# these files require twisted, which is not python3 compatible
rm avro/txipc.py
rm avro/test/txsample*
'');
nativeBuildInputs = [ pycodestyle ];
propagatedBuildInputs = [ isort ];
meta = with stdenv.lib; {
description = "A serialization and RPC framework";
homepage = "https://pypi.python.org/pypi/avro/";
license = licenses.asl20;
maintainers = [ maintainers.zimbatm ];
};
}