pythonPackages.matrix-client: init at 0.0.6
This commit is contained in:
parent
2bd21c7bb5
commit
49ab1dcc69
31
pkgs/development/python-modules/matrix-client/default.nix
Normal file
31
pkgs/development/python-modules/matrix-client/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonPackages
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "matrix-client";
|
||||
version = "0.0.6";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "15kx5px26hwr0sxpyjk4w61fjnabg1b57hwys1nyarc0jx4qjhiq";
|
||||
};
|
||||
|
||||
checkInputs = with pythonPackages; [ tox pytest flake8 responses ];
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [ 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 ];
|
||||
};
|
||||
}
|
@ -12539,6 +12539,7 @@ in {
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa;
|
||||
};
|
||||
|
||||
matrix-client = callPackage ../development/python-modules/matrix-client/default.nix { pythonPackages = self; };
|
||||
|
||||
mccabe = callPackage ../development/python-modules/mccabe { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user