Files
nixpkgs/pkgs/development/python-modules/avro-python3/default.nix
T
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

26 lines
696 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 = with lib; {
description = "A serialization and RPC framework";
mainProgram = "avro";
homepage = "https://pypi.python.org/pypi/avro-python3/";
license = licenses.asl20;
maintainers = [ maintainers.shlevy maintainers.timma ];
};
}