python313Packages.watermark: modernize

This commit is contained in:
Fabian Affolter
2025-12-16 09:55:17 +01:00
committed by GitHub
parent 2dc608d83a
commit 3156c354d4
@@ -6,7 +6,6 @@
ipython,
py3nvml,
pytestCheckHook,
pythonOlder,
setuptools,
}:
@@ -15,8 +14,6 @@ buildPythonPackage rec {
version = "2.5.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "rasbt";
repo = "watermark";
@@ -24,9 +21,9 @@ buildPythonPackage rec {
hash = "sha256-vHnXPGHPQz6+y2ZvfmUouL/3JlATGo4fmZ8AIk+bNEU=";
};
nativeBuildInputs = [ setuptools ];
build-system = [ setuptools ];
propagatedBuildInputs = [
dependencies = [
ipython
importlib-metadata
];
@@ -45,7 +42,7 @@ buildPythonPackage rec {
meta = {
description = "IPython extension for printing date and timestamps, version numbers, and hardware information";
homepage = "https://github.com/rasbt/watermark";
changelog = "https://github.com/rasbt/watermark/releases/tag/v${version}";
changelog = "https://github.com/rasbt/watermark/releases/tag/${src.tag}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ nphilou ];
};