biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / thriftpy2 / default.nix
blobc9e962a3acb0f5dda2ae2c4afc7b12d9cb053db5
2   lib,
3   buildPythonPackage,
4   cython,
5   fetchFromGitHub,
6   ply,
7   pythonOlder,
8   six,
9   setuptools,
10   tornado,
13 buildPythonPackage rec {
14   pname = "thriftpy2";
15   version = "0.5.2";
16   pyproject = true;
18   disabled = pythonOlder "3.6";
20   src = fetchFromGitHub {
21     owner = "Thriftpy";
22     repo = "thriftpy2";
23     rev = "refs/tags/v${version}";
24     hash = "sha256-GBJL+IqZpT1/msJLiwiS5YDyB4hIe/e3pYPWx0A+lWY=";
25   };
27   build-system = [ setuptools ];
29   nativeBuildInputs = [ cython ];
31   dependencies = [
32     ply
33     six
34     tornado
35   ];
37   # Not all needed files seems to be present
38   doCheck = false;
40   pythonImportsCheck = [ "thriftpy2" ];
42   meta = with lib; {
43     description = "Python module for Apache Thrift";
44     homepage = "https://github.com/Thriftpy/thriftpy2";
45     changelog = "https://github.com/Thriftpy/thriftpy2/blob/v${version}/CHANGES.rst";
46     license = licenses.mit;
47     maintainers = with maintainers; [ fab ];
48   };