forked from mirrors/nixpkgs
30 lines
698 B
Nix
30 lines
698 B
Nix
{ stdenv, python3, beancount }:
|
|
|
|
let
|
|
inherit (python3.pkgs) buildPythonApplication fetchPypi;
|
|
in
|
|
buildPythonApplication rec {
|
|
pname = "fava";
|
|
version = "1.5";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0d3jncidzvfsxjplzg4cmflqr4mxrbrlj5bh6fpxj529pialpkk6";
|
|
};
|
|
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = with python3.pkgs;
|
|
[ flask dateutil pygments wheel markdown2 flaskbabel tornado
|
|
click beancount ];
|
|
|
|
meta = {
|
|
homepage = https://beancount.github.io/fava;
|
|
description = "Web interface for beancount";
|
|
license = stdenv.lib.licenses.mit;
|
|
maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ];
|
|
};
|
|
}
|
|
|