1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 17:25:11 +00:00
nixpkgs/pkgs/development/python-modules/matrix-client/default.nix

33 lines
672 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, requests
, tox, pytest, flake8, responses
}:
buildPythonPackage rec {
pname = "matrix-client";
version = "0.0.6";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "15kx5px26hwr0sxpyjk4w61fjnabg1b57hwys1nyarc0jx4qjhiq";
};
checkInputs = [ tox pytest flake8 responses ];
propagatedBuildInputs = [ requests ];
checkPhase = ''
pytest
'';
meta = with stdenv.lib; {
description = "Matrix Client-Server SDK";
homepage = https://github.com/matrix-org/matrix-python-sdk;
license = licenses.asl20;
maintainers = with maintainers; [ olejorgenb ];
};
}