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