Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 661 B view raw
1{ stdenv 2, buildPythonPackage 3, isPyPy 4, pkgs 5}: 6 7buildPythonPackage rec { 8 pname = "pyuv"; 9 version = "1.2.0"; 10 disabled = isPyPy; # see https://github.com/saghul/pyuv/issues/49 11 12 src = pkgs.fetchurl { 13 url = "https://github.com/saghul/pyuv/archive/${pname}-${version}.tar.gz"; 14 sha256 = "19yl1l5l6dq1xr8xcv6dhx1avm350nr4v2358iggcx4ma631rycx"; 15 }; 16 17 patches = [ ./pyuv-external-libuv.patch ]; 18 19 buildInputs = [ pkgs.libuv ]; 20 21 meta = with stdenv.lib; { 22 description = "Python interface for libuv"; 23 homepage = "https://github.com/saghul/pyuv"; 24 repositories.git = "git://github.com/saghul/pyuv.git"; 25 license = licenses.mit; 26 }; 27 28}