Files
nixpkgs/pkgs/development/python-modules/fava-dashboards/default.nix
T

45 lines
892 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
stdenv,
beanquery,
fava,
hatch-vcs,
hatchling,
pyyaml,
}:
buildPythonPackage rec {
pname = "fava-dashboards";
version = "2.0.0b5";
pyproject = true;
src = fetchFromGitHub {
owner = "andreasgerstmayr";
repo = "fava-dashboards";
tag = "v${version}";
hash = "sha256-OoXNGj+05qjsgmHQ9c18ZcVE8jESDRZeONK9hzAmAQs=";
};
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 ];
};
}