From 147d12a0a40114c21ef24c596151bdca4649f1cd Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Wed, 23 Mar 2016 12:52:26 -0400 Subject: pythonPackages.cffi: 1.3.0 -> 1.5.2 --- pkgs/top-level/python-packages.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index da81848ecc8f..b294002f034e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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"; }; }; -- cgit 1.4.1