nixpkgs/pkgs/development/python-modules/thrift/default.nix
2021-09-28 23:41:12 +02:00

30 lines
607 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, six
}:
buildPythonPackage rec {
pname = "thrift";
version = "0.15.0";
src = fetchPypi {
inherit pname version;
sha256 = "87c8205a71cf8bbb111cb99b1f7495070fbc9cabb671669568854210da5b3e29";
};
propagatedBuildInputs = [ six ];
# No tests. Breaks when not disabling.
doCheck = false;
pythonImportsCheck = [ "thrift" ];
meta = with lib; {
description = "Python bindings for the Apache Thrift RPC system";
homepage = "https://thrift.apache.org/";
license = licenses.asl20;
maintainers = with maintainers; [ hbunke ];
};
}