3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pyuv/default.nix
2021-03-01 13:08:25 +01:00

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 ];
};
}