mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
42 lines
738 B
Nix
42 lines
738 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
distutils,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
setuptools,
|
|
six,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "thrift";
|
|
version = "0.21.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-Xm98UPk26/oj6SQimvyV6yGfjI5agyAt1KORJEgD5AI=";
|
|
};
|
|
|
|
build-system = [
|
|
distutils
|
|
setuptools
|
|
];
|
|
|
|
dependencies = [ 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 ];
|
|
};
|
|
}
|