summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/avro-python3/default.nix
blob: 63aec09a8efbf3349aa3792b50952f97ef78841e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
  lib,
  buildPythonPackage,
  fetchPypi,
  isPy3k,
  pycodestyle,
  isort,
  setuptools,
}:

buildPythonPackage (finalAttrs: {
  pname = "avro-python3";
  version = "1.10.2";
  pyproject = true;
  disabled = !isPy3k;

  src = fetchPypi {
    inherit (finalAttrs) pname version;
    hash = "sha256-O2PyTmsENow+Sm+SP0hL4CMNghqtZaw2EI7b/ynpqqs=";
  };

  build-system = [ setuptools ];

  buildInputs = [
    pycodestyle
    isort
  ];
  doCheck = false; # No such file or directory: './run_tests.py

  meta = {
    description = "Serialization and RPC framework";
    mainProgram = "avro";
    homepage = "https://pypi.org/project/avro-python3/";
    license = lib.licenses.asl20;

    maintainers = [
      lib.maintainers.shlevy
      lib.maintainers.timma
    ];
  };
})