summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyuv/default.nix
blob: 95477196d8b949c5f2a831118cf424c2afca3cfb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib, stdenv
, 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 ];

  meta = with lib; {
    description = "Python interface for libuv";
    homepage = "https://github.com/saghul/pyuv";
    repositories.git = "git://github.com/saghul/pyuv.git";
    license = licenses.mit;
  };

}