matrix-registration

This commit is contained in:
Daniel Løvbrøtte Olsen 2020-11-19 12:05:19 +00:00
parent c7646ab592
commit 23a2b8c457
2 changed files with 33 additions and 0 deletions

View File

@ -27,6 +27,8 @@ in
rust-synapse-compress-state = pkgs.callPackage ./pkgs/rust-synapse-compress-state { };
matrix-corporal = pkgs.callPackage ./pkgs/matrix-corporal { };
matrix-registration = pkgs.callPackage ./pkgs/matrix-registration { };
rank_photos = pkgs.callPackage ./pkgs/rank_photos { };
grav1 = pkgs.callPackage ./pkgs/grav1/server.nix { wsgiserver = wsgiserver; setuptools = pkgs.python3Packages.setuptools; };

View File

@ -0,0 +1,31 @@
{ lib, python3Packages }:
python3Packages.buildPythonApplication rec {
pname = "matrix-registration";
version = "0.7.0";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "035w8gaqla6zlan0xjrzz9j4lh9hs0qrsgnbyw07qs7lnkvbdv9x";
};
propagatedBuildInputs = with python3Packages; [
appdirs
Flask
Flask-SQLAlchemy
flask-cors
flask-httpauth
flask-limiter
python-dateutil
PyYAML
requests
waitress
WTForms
];
meta = with lib; {
description = "Token based matrix registration api";
homepage = "https://github.com/ZerataX/matrix-registration";
license = with licenses; mit;
};
}