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

30 lines
698 B
Nix
Raw Normal View History

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