Commit 0d3036c3 authored by Bruno BELANYI's avatar Bruno BELANYI
Browse files

python3Packages.fava-dashboards: init at 1.2.0

parent 365626ef
Loading
Loading
Loading
Loading
+44 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  stdenv,
  beanquery,
  fava,
  hatch-vcs,
  hatchling,
  pyyaml,
}:
buildPythonPackage rec {
  pname = "fava-dashboards";
  version = "1.2.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "andreasgerstmayr";
    repo = "fava-dashboards";
    rev = "v${version}";
    hash = "sha256-0524Mx93bJ4DKTb3gYps+C7dzhzuNd7YIvqeCtZz2f0=";
  };

  build-system = [
    hatchling
    hatch-vcs
  ];

  dependencies = [
    beanquery
    fava
    pyyaml
  ];

  pythonImportsCheck = [ "fava_dashboards" ];

  meta = {
    description = "Custom Dashboards for Beancount in Fava";
    homepage = "https://github.com/andreasgerstmayr/fava-dashboards";
    changelog = "https://github.com/andreasgerstmayr/fava-dashboards/blob/main/CHANGELOG.md";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ ambroisie ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -5204,6 +5204,8 @@ self: super: with self; {
  fava = callPackage ../development/python-modules/fava { };
  fava-dashboards = callPackage ../development/python-modules/fava-dashboards { };
  favicon = callPackage ../development/python-modules/favicon { };
  fe25519 = callPackage ../development/python-modules/fe25519 { };