termdown: use finalAttrs
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
python3Packages,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "termdown";
|
||||
version = "2.0.0";
|
||||
pyproject = true;
|
||||
@@ -12,7 +12,7 @@ python3Packages.buildPythonApplication rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "trehn";
|
||||
repo = "termdown";
|
||||
tag = version;
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-G2YOAC+b++oQUicZcY28qVDy2XqW2SuzhXcVqeSQkh8=";
|
||||
};
|
||||
|
||||
@@ -27,11 +27,11 @@ python3Packages.buildPythonApplication rec {
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/trehn/termdown/blob/${src.tag}/CHANGELOG.md";
|
||||
changelog = "https://github.com/trehn/termdown/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
description = "Starts a countdown to or from TIMESPEC";
|
||||
mainProgram = "termdown";
|
||||
longDescription = "Countdown timer and stopwatch in your terminal";
|
||||
homepage = "https://github.com/trehn/termdown";
|
||||
license = lib.licenses.gpl3;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user