Merge pull request #28538 from olejorgenb/python-matrix-client
Add matrix-python-sdk (pypi: matrix-client)
This commit is contained in:
commit
13ab95f7be
32
pkgs/development/python-modules/matrix-client/default.nix
Normal file
32
pkgs/development/python-modules/matrix-client/default.nix
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{ 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -5460,7 +5460,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
easydict = callPackage ../development/python-modules/easydict { };
|
easydict = callPackage ../development/python-modules/easydict { };
|
||||||
|
|
||||||
EasyProcess = buildPythonPackage rec {
|
EasyProcess = buildPythonPackage rec {
|
||||||
name = "EasyProcess-0.2.3";
|
name = "EasyProcess-0.2.3";
|
||||||
|
|
||||||
@ -7289,17 +7289,17 @@ in {
|
|||||||
logfury = buildPythonPackage rec {
|
logfury = buildPythonPackage rec {
|
||||||
name = "logfury-${version}";
|
name = "logfury-${version}";
|
||||||
version = "0.1.2";
|
version = "0.1.2";
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "mirror://pypi/l/logfury/${name}.tar.gz";
|
url = "mirror://pypi/l/logfury/${name}.tar.gz";
|
||||||
sha256 = "1lywirv3d1lw691mc4mfpz7ak6r49klri43bbfgdnvsfppxminj2";
|
sha256 = "1lywirv3d1lw691mc4mfpz7ak6r49klri43bbfgdnvsfppxminj2";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ self.funcsigs
|
[ self.funcsigs
|
||||||
self.six
|
self.six
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with pkgs.stdenv.lib; {
|
meta = with pkgs.stdenv.lib; {
|
||||||
description = "Logfury is for python library maintainers. It allows for responsible, low-boilerplate logging of method calls.";
|
description = "Logfury is for python library maintainers. It allows for responsible, low-boilerplate logging of method calls.";
|
||||||
homepage = "https://github.com/ppolewicz/logfury";
|
homepage = "https://github.com/ppolewicz/logfury";
|
||||||
@ -12539,6 +12539,7 @@ in {
|
|||||||
inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa;
|
inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
matrix-client = callPackage ../development/python-modules/matrix-client/default.nix { };
|
||||||
|
|
||||||
mccabe = callPackage ../development/python-modules/mccabe { };
|
mccabe = callPackage ../development/python-modules/mccabe { };
|
||||||
|
|
||||||
@ -28759,17 +28760,17 @@ EOF
|
|||||||
|
|
||||||
cymem = callPackage ../development/python-modules/cymem { };
|
cymem = callPackage ../development/python-modules/cymem { };
|
||||||
|
|
||||||
ftfy = callPackage ../development/python-modules/ftfy { };
|
ftfy = callPackage ../development/python-modules/ftfy { };
|
||||||
|
|
||||||
murmurhash = callPackage ../development/python-modules/murmurhash { };
|
murmurhash = callPackage ../development/python-modules/murmurhash { };
|
||||||
|
|
||||||
|
plac = callPackage ../development/python-modules/plac { };
|
||||||
|
|
||||||
plac = callPackage ../development/python-modules/plac { };
|
|
||||||
|
|
||||||
preshed = callPackage ../development/python-modules/preshed { };
|
preshed = callPackage ../development/python-modules/preshed { };
|
||||||
|
|
||||||
thinc = callPackage ../development/python-modules/thinc { };
|
thinc = callPackage ../development/python-modules/thinc { };
|
||||||
|
|
||||||
spacy = callPackage ../development/python-modules/spacy { };
|
spacy = callPackage ../development/python-modules/spacy { };
|
||||||
});
|
});
|
||||||
|
|
||||||
in fix' (extends overrides packages)
|
in fix' (extends overrides packages)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user