python3Packages.thriftpy2: init at 0.4.14
This commit is contained in:
parent
b593c8b19c
commit
ef307af08e
2 changed files with 47 additions and 0 deletions
45
pkgs/development/python-modules/thriftpy2/default.nix
Normal file
45
pkgs/development/python-modules/thriftpy2/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue