1{ lib
2, buildPythonPackage
3, fetchPypi
4, six
5}:
6
7buildPythonPackage rec {
8 pname = "thrift";
9 version = "0.16.0";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "sha256-K1tkiPze0h+dMSqiPJ/2oBldD2ribdvVrZ4+Jd/BRAg=";
14 };
15
16 propagatedBuildInputs = [ six ];
17
18 # No tests. Breaks when not disabling.
19 doCheck = false;
20
21 pythonImportsCheck = [ "thrift" ];
22
23 meta = with lib; {
24 description = "Python bindings for the Apache Thrift RPC system";
25 homepage = "https://thrift.apache.org/";
26 license = licenses.asl20;
27 maintainers = with maintainers; [ hbunke ];
28 };
29}