2017-11-03 22:49:58 +00:00
|
|
|
{ stdenv, python3, beancount }:
|
2016-05-28 16:34:43 +00:00
|
|
|
|
2017-11-03 22:49:58 +00:00
|
|
|
let
|
|
|
|
inherit (python3.pkgs) buildPythonApplication fetchPypi;
|
|
|
|
in
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "fava";
|
2017-11-16 15:36:21 +00:00
|
|
|
version = "1.6";
|
2017-11-03 22:49:58 +00:00
|
|
|
name = "${pname}-${version}";
|
2016-05-28 16:34:43 +00:00
|
|
|
|
2017-11-03 22:49:58 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-11-16 15:36:21 +00:00
|
|
|
sha256 = "0iif4imx76ra0lsisksrq5vf54wbivnrb3xqz6mkx9lik3pp5sbx";
|
2016-05-28 16:34:43 +00:00
|
|
|
};
|
|
|
|
|
2017-11-03 22:49:58 +00:00
|
|
|
doCheck = false;
|
2016-05-28 16:34:43 +00:00
|
|
|
|
2017-11-03 22:49:58 +00:00
|
|
|
propagatedBuildInputs = with python3.pkgs;
|
2016-05-28 16:34:43 +00:00
|
|
|
[ flask dateutil pygments wheel markdown2 flaskbabel tornado
|
|
|
|
click beancount ];
|
|
|
|
|
|
|
|
meta = {
|
2017-11-03 22:49:58 +00:00
|
|
|
homepage = https://beancount.github.io/fava;
|
2016-05-28 16:34:43 +00:00
|
|
|
description = "Web interface for beancount";
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|