mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
32 lines
623 B
Nix
32 lines
623 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
six,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "thrift";
|
|
version = "0.20.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-TdZi6t9riuvopBcpUnvWmt9s6qKoaBy+9k0Sc7Po/ro=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|