fava-investor: init at 1.0.1 (#461746)

This commit is contained in:
Bruno BELANYI
2025-11-23 00:22:01 +00:00
committed by GitHub
3 changed files with 60 additions and 0 deletions
@@ -0,0 +1 @@
{ python3Packages }: python3Packages.toPythonApplication python3Packages.fava-investor
@@ -0,0 +1,57 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
stdenv,
beancount,
click,
click-aliases,
fava,
packaging,
pytestCheckHook,
python-dateutil,
setuptools,
setuptools-scm,
tabulate,
yfinance,
}:
buildPythonPackage rec {
pname = "fava-investor";
version = "1.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "redstreet";
repo = "fava_investor";
tag = version;
hash = "sha256-WuXbZcia0n9SoiCSB2SkMUjBHsMOA0gCIf9ZEU9pTPA=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
beancount
click
click-aliases
fava
packaging
python-dateutil
tabulate
yfinance
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "fava_investor" ];
meta = {
description = "Comprehensive set of reports, analyses, and tools for investments, for Beancount and Fava";
homepage = "https://github.com/redstreet/fava_investor";
changelog = "https://github.com/redstreet/fava_investor/blob/main/CHANGELOG.md";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ ambroisie ];
};
}
+2
View File
@@ -5228,6 +5228,8 @@ self: super: with self; {
fava-dashboards = callPackage ../development/python-modules/fava-dashboards { };
fava-investor = callPackage ../development/python-modules/fava-investor { };
favicon = callPackage ../development/python-modules/favicon { };
fe25519 = callPackage ../development/python-modules/fe25519 { };