finish matrix-registration package

This commit is contained in:
Daniel Olsen 2020-11-20 08:44:04 +01:00
parent 23a2b8c457
commit 2ff59535dd
1 changed files with 16 additions and 8 deletions

View File

@ -1,26 +1,34 @@
{ lib, python3Packages }: { lib, python3Packages, fetchFromGitHub }:
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "matrix-registration"; pname = "matrix-registration";
version = "0.7.0"; version = "0.7.0";
src = python3Packages.fetchPypi { src = fetchFromGitHub {
inherit pname version; owner = "zeratax";
sha256 = "035w8gaqla6zlan0xjrzz9j4lh9hs0qrsgnbyw07qs7lnkvbdv9x"; repo = "matrix-registration";
rev = "v0.7.0";
sha256 = "1dlaf1828i814s9axqfa7jasb9g73pa13ngs6cglxnra3nwjzjfc";
}; };
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
setuptools
appdirs appdirs
Flask flask
Flask-SQLAlchemy flask_sqlalchemy
flask-cors flask-cors
flask-httpauth flask-httpauth
flask-limiter flask-limiter
python-dateutil python-dateutil
PyYAML pyyaml
requests requests
waitress waitress
WTForms wtforms
];
checkInputs = with python3Packages; [
parameterized
flake8
]; ];
meta = with lib; { meta = with lib; {