diff options
author | Symphorien Gibol <symphorien+git@xlumurb.eu> | 2019-09-16 17:08:32 +0200 |
---|---|---|
committer | symphorien+git@xlumurb.eu <Symphorien Gibol> | 2019-11-02 12:00:00 +0000 |
commit | 32d2266d0df1eeddd28f4d52fc7c04d734deb2f5 (patch) | |
tree | c2818d9408d4ce4d836530667b9f1b8b4557f930 /pkgs/development/python-modules | |
parent | 0107ee8c322e57cdb2ebcc1c9c4286ff7db53d5c (diff) | |
download | nixpkgs-32d2266d0df1eeddd28f4d52fc7c04d734deb2f5.tar nixpkgs-32d2266d0df1eeddd28f4d52fc7c04d734deb2f5.tar.gz nixpkgs-32d2266d0df1eeddd28f4d52fc7c04d734deb2f5.tar.bz2 nixpkgs-32d2266d0df1eeddd28f4d52fc7c04d734deb2f5.tar.lz nixpkgs-32d2266d0df1eeddd28f4d52fc7c04d734deb2f5.tar.xz nixpkgs-32d2266d0df1eeddd28f4d52fc7c04d734deb2f5.tar.zst nixpkgs-32d2266d0df1eeddd28f4d52fc7c04d734deb2f5.zip |
ihatemoney: init at 4.1 plus module and test
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/ihatemoney/default.nix | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/ihatemoney/default.nix b/pkgs/development/python-modules/ihatemoney/default.nix new file mode 100644 index 00000000000..e37dfe80e58 --- /dev/null +++ b/pkgs/development/python-modules/ihatemoney/default.nix @@ -0,0 +1,91 @@ +{ buildPythonPackage, lib, fetchFromGitHub, 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 +, 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 + ]; + + 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 ]; + }; +} + + |