pythonPackages.avro: Move to own file
This commit is contained in:
parent
4e2d86cf7f
commit
a5c4679bef
17
pkgs/development/python-modules/avro/default.nix
Normal file
17
pkgs/development/python-modules/avro/default.nix
Normal 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/;
|
||||
};
|
||||
}
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user