Merge pull request #310781 from fabaff/thriftpy2-bump
python312Packages.thriftpy2: 0.4.20 -> 0.5.0
This commit is contained in:
@@ -1,32 +1,34 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, cython
|
||||
, fetchFromGitHub
|
||||
, ply
|
||||
, pythonOlder
|
||||
, six
|
||||
, tornado
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
cython,
|
||||
fetchFromGitHub,
|
||||
ply,
|
||||
pythonOlder,
|
||||
six,
|
||||
setuptools,
|
||||
tornado,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "thriftpy2";
|
||||
version = "0.4.20";
|
||||
format = "setuptools";
|
||||
version = "0.5.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Thriftpy";
|
||||
repo = pname;
|
||||
repo = "thriftpy2";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-IEYoSLaJUeQdwHaXR0UUlCZg5zBEh5Y2/IwB4RVEAcg=";
|
||||
hash = "sha256-Pjy9OPwFfKaw+XVl7IbbAKPz050TlqI4+yLqSITOkSY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
nativeBuildInputs = [ cython ];
|
||||
|
||||
dependencies = [
|
||||
ply
|
||||
six
|
||||
tornado
|
||||
@@ -35,9 +37,7 @@ buildPythonPackage rec {
|
||||
# Not all needed files seems to be present
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"thriftpy2"
|
||||
];
|
||||
pythonImportsCheck = [ "thriftpy2" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module for Apache Thrift";
|
||||
|
||||
Reference in New Issue
Block a user