3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/office/fava/default.nix

28 lines
663 B
Nix
Raw Normal View History

2017-11-03 22:49:58 +00:00
{ stdenv, python3, beancount }:
2016-05-28 17:34:43 +01:00
2017-11-03 22:49:58 +00:00
let
inherit (python3.pkgs) buildPythonApplication fetchPypi;
in
buildPythonApplication rec {
pname = "fava";
2018-04-04 19:00:07 +01:00
version = "1.7";
2016-05-28 17:34:43 +01:00
2017-11-03 22:49:58 +00:00
src = fetchPypi {
inherit pname version;
2018-04-04 19:00:07 +01:00
sha256 = "c4eba4203bddaa7bc9d54971d2afeeebab0bc80ce89be1375a41a07c4e82b62f";
2016-05-28 17:34:43 +01:00
};
2017-11-03 22:49:58 +00:00
doCheck = false;
2016-05-28 17:34:43 +01:00
2017-11-03 22:49:58 +00:00
propagatedBuildInputs = with python3.pkgs;
2016-05-28 17:34:43 +01: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 17:34:43 +01:00
description = "Web interface for beancount";
license = stdenv.lib.licenses.mit;
maintainers = with stdenv.lib.maintainers; [ ];
2016-05-28 17:34:43 +01:00
};
}