pythonPackages.avro: 1.9.2 -> 1.10.0 (#95790)
pythonPackages.avro: 1.9.2 -> 1.10.0
This commit is contained in:
parent
60fc2dd607
commit
fcd447bfed
@ -1,20 +1,30 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, pycodestyle, isort }:
|
{ stdenv, buildPythonPackage, isPy3k, fetchPypi, pycodestyle, isort }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "avro";
|
pname = "avro";
|
||||||
version = "1.9.2";
|
version = "1.10.0";
|
||||||
disabled = isPy3k;
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
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 ];
|
nativeBuildInputs = [ pycodestyle ];
|
||||||
propagatedBuildInputs = [ isort ];
|
propagatedBuildInputs = [ isort ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A serialization and RPC framework";
|
description = "A serialization and RPC framework";
|
||||||
homepage = "https://pypi.python.org/pypi/avro/";
|
homepage = "https://pypi.python.org/pypi/avro/";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = [ maintainers.zimbatm ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user