termdown: 1.18.0 -> 2.0.0 (#519538)

This commit is contained in:
dotlambda
2026-05-16 00:57:41 +00:00
committed by GitHub
3 changed files with 37 additions and 39 deletions
@@ -1,37 +0,0 @@
{
lib,
fetchFromGitHub,
buildPythonApplication,
click,
pyfiglet,
python-dateutil,
setuptools,
}:
buildPythonApplication rec {
pname = "termdown";
version = "1.18.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "trehn";
repo = "termdown";
tag = version;
hash = "sha256-Hnk/MOYdbOl14fI0EFbIq7Hmc7TyhcZWGEg2/jmNJ5Y=";
};
dependencies = [
python-dateutil
click
pyfiglet
setuptools
];
meta = {
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;
};
}
+37
View File
@@ -0,0 +1,37 @@
{
lib,
fetchFromGitHub,
python3Packages,
}:
python3Packages.buildPythonApplication (finalAttrs: {
pname = "termdown";
version = "2.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "trehn";
repo = "termdown";
tag = finalAttrs.version;
hash = "sha256-G2YOAC+b++oQUicZcY28qVDy2XqW2SuzhXcVqeSQkh8=";
};
build-system = with python3Packages; [
hatchling
];
dependencies = with python3Packages; [
art
pillow
python-dateutil
];
meta = {
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;
};
})
-2
View File
@@ -10202,8 +10202,6 @@ with pkgs;
stdenv = if stdenv.hostPlatform.isDarwin then llvmPackages_19.stdenv else stdenv;
};
termdown = python3Packages.callPackage ../applications/misc/termdown { };
terminaltexteffects = with python3Packages; toPythonApplication terminaltexteffects;
inherit