python3Packages.thriftpy2: init at 0.4.14

This commit is contained in:
Fabian Affolter 2021-09-19 16:50:39 +02:00
parent b593c8b19c
commit ef307af08e
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, cython
, fetchFromGitHub
, pythonOlder
, ply
, six
, tornado
}:
buildPythonPackage rec {
pname = "thriftpy2";
version = "0.4.14";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "Thriftpy";
repo = pname;
rev = "v${version}";
sha256 = "17f57vsbym4c9yax128bhrwg2zjxcsgl3ja6422y8hyb38v5mdc3";
};
nativeBuildInputs = [
cython
];
propagatedBuildInputs = [
ply
six
tornado
];
# Not all needed files seems to be present
doCheck = false;
pythonImportsCheck = [ "thriftpy2" ];
meta = with lib; {
description = "Python module for Apache Thrift";
homepage = "https://github.com/Thriftpy/thriftpy2";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -8897,6 +8897,8 @@ in {
thrift = callPackage ../development/python-modules/thrift { };
thriftpy2 = callPackage ../development/python-modules/thriftpy2 { };
thumborPexif = callPackage ../development/python-modules/thumborpexif { };
tkinter = let