nixpkgs-suyu/pkgs/development/python-modules/pyuv/default.nix

33 lines
656 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
2021-03-01 12:05:40 +01:00
, fetchFromGitHub
, libuv
}:
buildPythonPackage rec {
pname = "pyuv";
2021-03-01 12:05:40 +01:00
version = "1.4.0";
2021-03-01 12:05:40 +01:00
src = fetchFromGitHub {
owner = "saghul";
repo = "pyuv";
rev = "pyuv-${version}";
sha256 = "1wiwwdylz66lfsjh6p4iv7pfhzvnhwjk332625njizfhz3gq9fwr";
};
2021-03-01 12:05:40 +01:00
setupPyBuildFlags = [ "--use-system-libuv" ];
2021-03-01 12:05:40 +01:00
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;
2021-03-01 12:05:40 +01:00
maintainers = with maintainers; [ dotlambda ];
};
}