Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 715 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, capnproto 5, cython 6, isPyPy 7, isPy3k 8}: 9 10buildPythonPackage rec { 11 pname = "pycapnp"; 12 version = "0.6.4"; 13 disabled = isPyPy || isPy3k; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "44e14a5ace399cf1753acb8bbce558b8c895c48fd2102d266c34eaff286824cf"; 18 }; 19 20 buildInputs = [ capnproto cython ]; 21 22 # import setuptools as soon as possible, to minimize monkeypatching mayhem. 23 postConfigure = '' 24 sed -i '3iimport setuptools' setup.py 25 ''; 26 27 meta = with stdenv.lib; { 28 maintainers = with maintainers; [ cstrahan ]; 29 license = licenses.bsd2; 30 homepage = "http://jparyani.github.io/pycapnp/index.html"; 31 broken = true; # 2018-04-11 32 }; 33 34}