diff --git a/pkgs/development/python-modules/connio/default.nix b/pkgs/development/python-modules/connio/default.nix new file mode 100644 index 000000000000..14574ab9da33 --- /dev/null +++ b/pkgs/development/python-modules/connio/default.nix @@ -0,0 +1,42 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pytestCheckHook +, pythonOlder +, serialio +, sockio +}: + +buildPythonPackage rec { + pname = "connio"; + version = "0.2.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "tiagocoutinho"; + repo = pname; + rev = "refs/tags/v${version}"; + hash = "sha256-fPM7Ya69t0jpZhKM2MTk6BwjvoW3a8SV3k000LB9Ypo="; + }; + + propagatedBuildInputs = [ + serialio + sockio + ]; + + # Module has no tests + doCheck = false; + + pythonImportsCheck = [ + "connio" + ]; + + meta = with lib; { + description = "Library for concurrency agnostic communication"; + homepage = "https://github.com/tiagocoutinho/connio"; + license = with licenses; [ gpl3Plus ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 18bd08e8db95..b21411a29b28 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1564,6 +1564,8 @@ self: super: with self; { connection-pool = callPackage ../development/python-modules/connection-pool { }; + connio = callPackage ../development/python-modules/connio { }; + coqpit = callPackage ../development/python-modules/coqpit { }; coqui-trainer = callPackage ../development/python-modules/coqui-trainer {};