mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
python39Packages.eventlet: propagate pyopenssl as it is not only used in tests, cleanup pythonOlder inputs, update meta data
This commit is contained in:
parent
ef2939ac37
commit
7bee25daa2
@ -1,9 +1,9 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, dnspython
|
||||
, enum34
|
||||
, greenlet
|
||||
, monotonic
|
||||
, six
|
||||
@ -22,10 +22,12 @@ buildPythonPackage rec {
|
||||
sha256 = "2f0bb8ed0dc0ab21d683975d5d8ab3c054d588ce61def9faf7a465ee363e839b";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ dnspython greenlet monotonic six ]
|
||||
++ lib.optional (pythonOlder "3.4") enum34;
|
||||
propagatedBuildInputs = [ dnspython greenlet pyopenssl six ]
|
||||
++ lib.optional (pythonOlder "3.5") monotonic;
|
||||
|
||||
checkInputs = [ nose pyopenssl ];
|
||||
checkInputs = [ nose ];
|
||||
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
preCheck = ''
|
||||
echo "nameserver 127.0.0.1" > resolv.conf
|
||||
@ -47,7 +49,7 @@ buildPythonPackage rec {
|
||||
# pythonImportsCheck = [ "eventlet" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://pypi.python.org/pypi/eventlet/";
|
||||
homepage = "https://github.com/eventlet/eventlet/";
|
||||
description = "A concurrent networking library for Python";
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
license = licenses.mit;
|
||||
|
Loading…
Reference in New Issue
Block a user