mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 19:43:02 +08:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
39 lines
728 B
Nix
39 lines
728 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
isPy3k,
|
|
pycodestyle,
|
|
isort,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "avro-python3";
|
|
version = "1.10.2";
|
|
format = "setuptools";
|
|
disabled = !isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "3b63f24e6b04368c3e4a6f923f484be0230d821aad65ac36108edbff29e9aaab";
|
|
};
|
|
|
|
buildInputs = [
|
|
pycodestyle
|
|
isort
|
|
];
|
|
doCheck = false; # No such file or directory: './run_tests.py
|
|
|
|
meta = {
|
|
description = "Serialization and RPC framework";
|
|
mainProgram = "avro";
|
|
homepage = "https://pypi.python.org/pypi/avro-python3/";
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = [
|
|
lib.maintainers.shlevy
|
|
lib.maintainers.timma
|
|
];
|
|
};
|
|
}
|