pythonPackages.cffi: 1.3.0 -> 1.5.2

This commit is contained in:
Frederik Rietdijk 2016-03-23 12:52:26 -04:00
parent b336ed89e6
commit 147d12a0a4

View File

@ -3987,18 +3987,25 @@ in modules // {
};
cffi = if isPyPy then null else buildPythonPackage rec {
name = "cffi-1.3.0";
name = "cffi-1.5.2";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/c/cffi/${name}.tar.gz";
sha256 = "1s9lcwmyhshrmvgcwy0vww70v23ncz7bgshhbk469kxmy2pm7alx";
sha256 = "1p91p1n8n46y0k3q7ddgxxjnfh08rjqsjh7zbjxzfiifhycxx6ys";
};
propagatedBuildInputs = with self; [ pkgs.libffi pycparser ];
buildInputs = with self; [ pytest ];
checkPhase = ''
py.test
'';
meta = {
maintainers = with maintainers; [ iElectric ];
homepage = https://cffi.readthedocs.org/;
license = with licenses; [ mit ];
description = "Foreign Function Interface for Python calling C code";
};
};