python313Packages.watermark: modernize
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user