nixpkgs/pkgs/applications/office/fava/default.nix

38 lines
714 B
Nix
Raw Normal View History

2017-11-03 23:49:58 +01:00
{ stdenv, python3, beancount }:
2016-05-28 18:34:43 +02:00
2017-11-03 23:49:58 +01:00
let
inherit (python3.pkgs) buildPythonApplication fetchPypi;
in
buildPythonApplication rec {
pname = "fava";
2019-01-14 13:16:24 +01:00
version = "1.9";
2016-05-28 18:34:43 +02:00
2017-11-03 23:49:58 +01:00
src = fetchPypi {
inherit pname version;
2019-01-14 13:16:24 +01:00
sha256 = "115r99l6xfliafgkpcf0mndqrvijix5mflg2i56s7xwqr3ch8z9k";
2016-05-28 18:34:43 +02:00
};
2017-11-03 23:49:58 +01:00
doCheck = false;
2016-05-28 18:34:43 +02:00
2017-11-03 23:49:58 +01:00
propagatedBuildInputs = with python3.pkgs;
2019-01-14 13:16:24 +01:00
[
Babel
cheroot
flaskbabel
flask
jinja2
beancount
click
markdown2
ply
simplejson
];
2016-05-28 18:34:43 +02:00
meta = {
2017-11-03 23:49:58 +01:00
homepage = https://beancount.github.io/fava;
2016-05-28 18:34:43 +02:00
description = "Web interface for beancount";
license = stdenv.lib.licenses.mit;
maintainers = with stdenv.lib.maintainers; [ ];
2016-05-28 18:34:43 +02:00
};
}