mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
33 lines
656 B
Nix
33 lines
656 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, libuv
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyuv";
|
|
version = "1.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "saghul";
|
|
repo = "pyuv";
|
|
rev = "pyuv-${version}";
|
|
sha256 = "1wiwwdylz66lfsjh6p4iv7pfhzvnhwjk332625njizfhz3gq9fwr";
|
|
};
|
|
|
|
setupPyBuildFlags = [ "--use-system-libuv" ];
|
|
|
|
buildInputs = [ libuv ];
|
|
|
|
doCheck = false; # doesn't work in sandbox
|
|
|
|
pythonImportsCheck = [ "pyuv" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python interface for libuv";
|
|
homepage = "https://github.com/saghul/pyuv";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
};
|
|
}
|