NUR/pkgs/matrix-registration/default.nix

40 lines
829 B
Nix
Raw Normal View History

2020-11-20 08:44:04 +01:00
{ lib, python3Packages, fetchFromGitHub }:
2020-11-19 13:05:19 +01:00
python3Packages.buildPythonApplication rec {
pname = "matrix-registration";
version = "0.7.0";
2020-11-20 08:44:04 +01:00
src = fetchFromGitHub {
owner = "zeratax";
repo = "matrix-registration";
rev = "v0.7.0";
sha256 = "1dlaf1828i814s9axqfa7jasb9g73pa13ngs6cglxnra3nwjzjfc";
2020-11-19 13:05:19 +01:00
};
propagatedBuildInputs = with python3Packages; [
2020-11-20 08:44:04 +01:00
setuptools
2020-11-19 13:05:19 +01:00
appdirs
2020-11-20 08:44:04 +01:00
flask
flask_sqlalchemy
2020-11-19 13:05:19 +01:00
flask-cors
flask-httpauth
flask-limiter
python-dateutil
2020-11-20 08:44:04 +01:00
pyyaml
2020-11-19 13:05:19 +01:00
requests
waitress
2020-11-20 08:44:04 +01:00
wtforms
];
checkInputs = with python3Packages; [
parameterized
flake8
2020-11-19 13:05:19 +01:00
];
meta = with lib; {
description = "Token based matrix registration api";
homepage = "https://github.com/ZerataX/matrix-registration";
license = with licenses; mit;
};
}