python3.pkgs.matrix-api-async: init at 0.1.0

This commit is contained in:
Robin Gloster 2021-05-09 10:45:38 -05:00
parent 97f3d0b749
commit 395eb4ff4a
No known key found for this signature in database
GPG key ID: D5C458DF6DD97EDF
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ lib, buildPythonPackage, fetchPypi, matrix-client }:
buildPythonPackage rec {
pname = "matrix_api_async";
version = "0.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "0xdx8fci0lar3x09dwqgka6ssz9d3g7gsfx4yyr13sdwza7zsqc3";
};
propagatedBuildInputs = [ matrix-client ];
# no tests
doCheck = false;
pythonImportsCheck = [ "matrix_api_async" ];
meta = with lib; {
description = "An asyncio wrapper of matrix_client.api";
license = licenses.mit;
homepage = "https://github.com/Cadair/matrix_api_async";
maintainers = with maintainers; [ globin ];
};
}

View file

@ -4093,6 +4093,8 @@ in {
inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa;
};
matrix-api-async = callPackage ../development/python-modules/matrix-api-async { };
matrix-client = callPackage ../development/python-modules/matrix-client { };
matrix-nio = callPackage ../development/python-modules/matrix-nio { };