depot/third_party/nixpkgs/pkgs/development/python-modules/matrix-api-async/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

30 lines
617 B
Nix

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