summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2016-03-23 12:52:26 -0400
committerFrederik Rietdijk <fridh@fridh.nl>2016-03-23 17:52:33 -0400
commit147d12a0a40114c21ef24c596151bdca4649f1cd (patch)
treefc689cdf592e6ab36d118aaabbb6b89de35eff23
parentb336ed89e6ad3bf804e7cebaa790c99cac55c155 (diff)
downloadnixlib-147d12a0a40114c21ef24c596151bdca4649f1cd.tar
nixlib-147d12a0a40114c21ef24c596151bdca4649f1cd.tar.gz
nixlib-147d12a0a40114c21ef24c596151bdca4649f1cd.tar.bz2
nixlib-147d12a0a40114c21ef24c596151bdca4649f1cd.tar.lz
nixlib-147d12a0a40114c21ef24c596151bdca4649f1cd.tar.xz
nixlib-147d12a0a40114c21ef24c596151bdca4649f1cd.tar.zst
nixlib-147d12a0a40114c21ef24c596151bdca4649f1cd.zip
pythonPackages.cffi: 1.3.0 -> 1.5.2
-rw-r--r--pkgs/top-level/python-packages.nix11
1 files 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";
     };
   };