Files
nixpkgs/pkgs/development/python-modules/avro-python3/default.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
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>
2025-12-10 18:09:49 +01:00

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
];
};
}