Files
nixpkgs/pkgs/development/python-modules/matrix-client/default.nix
T

33 lines
672 B
Nix
Raw Normal View History

2017-08-24 16:07:01 +02:00
{ stdenv
, buildPythonPackage
, fetchPypi
, requests
, tox, pytest, flake8, responses
2017-08-24 16:07:01 +02:00
}:
buildPythonPackage rec {
pname = "matrix-client";
version = "0.0.6";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "15kx5px26hwr0sxpyjk4w61fjnabg1b57hwys1nyarc0jx4qjhiq";
};
checkInputs = [ tox pytest flake8 responses ];
2017-08-24 16:07:01 +02:00
propagatedBuildInputs = [ requests ];
2017-08-24 16:07:01 +02:00
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 ];
};
}