8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
92 lines
1.5 KiB
Nix
92 lines
1.5 KiB
Nix
{ buildPythonPackage, lib, fetchFromGitHub, isPy27, nixosTests
|
|
, alembic
|
|
, aniso8601
|
|
, Babel
|
|
, blinker
|
|
, click
|
|
, dnspython
|
|
, email_validator
|
|
, flask
|
|
, flask-babel
|
|
, flask-cors
|
|
, flask_mail
|
|
, flask_migrate
|
|
, flask-restful
|
|
, flask_script
|
|
, flask_sqlalchemy
|
|
, flask_wtf
|
|
, idna
|
|
, itsdangerous
|
|
, jinja2
|
|
, Mako
|
|
, markupsafe
|
|
, mock
|
|
, python-dateutil
|
|
, pytz
|
|
, six
|
|
, sqlalchemy
|
|
, werkzeug
|
|
, wtforms
|
|
, psycopg2 # optional, for postgresql support
|
|
, flask_testing
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ihatemoney";
|
|
version = "4.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "spiral-project";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1ai7v2i2rvswzv21nwyq51fvp8lr2x2cl3n34p11br06kc1pcmin";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
alembic
|
|
aniso8601
|
|
Babel
|
|
blinker
|
|
click
|
|
dnspython
|
|
email_validator
|
|
flask
|
|
flask-babel
|
|
flask-cors
|
|
flask_mail
|
|
flask_migrate
|
|
flask-restful
|
|
flask_script
|
|
flask_sqlalchemy
|
|
flask_wtf
|
|
idna
|
|
itsdangerous
|
|
jinja2
|
|
Mako
|
|
markupsafe
|
|
python-dateutil
|
|
pytz
|
|
six
|
|
sqlalchemy
|
|
werkzeug
|
|
wtforms
|
|
psycopg2
|
|
];
|
|
|
|
checkInputs = [
|
|
flask_testing
|
|
] ++ lib.optionals isPy27 [ mock ];
|
|
|
|
passthru.tests = {
|
|
inherit (nixosTests) ihatemoney;
|
|
};
|
|
meta = with lib; {
|
|
homepage = "https://ihatemoney.org";
|
|
description = "A simple shared budget manager web application";
|
|
platforms = platforms.linux;
|
|
license = licenses.beerware;
|
|
maintainers = [ maintainers.symphorien ];
|
|
};
|
|
}
|
|
|
|
|