2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-28 17:11:53 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, isPyPy
|
|
|
|
, pkgs
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyuv";
|
|
|
|
version = "1.2.0";
|
|
|
|
disabled = isPyPy; # see https://github.com/saghul/pyuv/issues/49
|
|
|
|
|
|
|
|
src = pkgs.fetchurl {
|
|
|
|
url = "https://github.com/saghul/pyuv/archive/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "19yl1l5l6dq1xr8xcv6dhx1avm350nr4v2358iggcx4ma631rycx";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./pyuv-external-libuv.patch ];
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.libuv ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-28 17:11:53 +00:00
|
|
|
description = "Python interface for libuv";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/saghul/pyuv";
|
|
|
|
repositories.git = "git://github.com/saghul/pyuv.git";
|
2018-10-28 17:11:53 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|