pythonPackages.avro: Move to own file

This commit is contained in:
Elis Hirwing 2018-03-31 11:40:49 +02:00 committed by Frederik Rietdijk
parent 4e2d86cf7f
commit a5c4679bef
2 changed files with 18 additions and 15 deletions

View file

@ -0,0 +1,17 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k }:
buildPythonPackage rec {
pname = "avro";
version = "1.7.6";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1mbsf1y7gnzmnfmqh8aw62yrwnpwm5bhmmkkbbq92a5vr91l3wgd";
};
meta = with stdenv.lib; {
description = "A serialization and RPC framework";
homepage = https://pypi.python.org/pypi/avro/;
};
}

View file

@ -617,21 +617,7 @@ in {
};
};
avro = buildPythonPackage (rec {
name = "avro-1.7.6";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "mirror://pypi/a/avro/${name}.tar.gz";
sha256 = "edf14143cabb2891f05a73d60a57a9fc5a9ebd305c2188abb3f5db777c707ad5";
};
meta = {
description = "A serialization and RPC framework";
homepage = "https://pypi.python.org/pypi/avro/";
};
});
avro = callPackage ../development/python-modules/avro {};
avro3k = pkgs.lowPrio (buildPythonPackage (rec {
name = "avro3k-1.7.7-SNAPSHOT";