Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions pkgs/development/python-modules/fava-dashboards/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@
lib,
buildPythonPackage,
fetchFromGitHub,
stdenv,

beanquery,
fava,
hatch-vcs,
hatchling,
pyyaml,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "fava-dashboards";
version = "1.2.0";
version = "2.0.0b2";
pyproject = true;

src = fetchFromGitHub {
owner = "andreasgerstmayr";
repo = "fava-dashboards";
rev = "v${version}";
hash = "sha256-0524Mx93bJ4DKTb3gYps+C7dzhzuNd7YIvqeCtZz2f0=";
tag = "v${finalAttrs.version}";
hash = "sha256-JvvGIHALMHewx4vYdjzZPAYz+FhXzX/vgbaQIcRvbus=";
};

build-system = [
Expand All @@ -37,8 +37,8 @@ buildPythonPackage rec {
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";
changelog = "https://github.com/andreasgerstmayr/fava-dashboards/blob/${finalAttrs.src.tag}/CHANGELOG.md";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Highly disagree with using src.tag as part of the URL.

license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ambroisie ];
};
}
})
Loading