mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
pythonPackages.cffi: 1.3.0 -> 1.5.2
This commit is contained in:
parent
b336ed89e6
commit
147d12a0a4
@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user