3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #175097 from r-ryantm/auto-update/python3.10-watermark

python310Packages.watermark: 2.3.0 -> 2.3.1
This commit is contained in:
Fabian Affolter 2022-05-28 12:50:01 +02:00 committed by GitHub
commit 192ba1bf03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,28 +9,34 @@
buildPythonPackage rec {
pname = "watermark";
version = "2.3.0";
version = "2.3.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "rasbt";
repo = pname;
rev = "v${version}";
sha256 = "1kl9yn1pkl84d3lcz7bvphqkydsgs0p5k0ja0msy3hrxxfzdzd16";
rev = "refs/tags/${version}";
hash = "sha256-E3UxdGlxTcvkiKa3RoG9as6LybyW+QrCUZvA9VHwxlk=";
};
propagatedBuildInputs = [
ipython
] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
] ++ lib.optionals (pythonOlder "3.8") [
importlib-metadata
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "watermark" ];
pythonImportsCheck = [
"watermark"
];
meta = with lib; {
description = "IPython extension for printing date and time stamps, version numbers, and hardware information.";
description = "IPython extension for printing date and timestamps, version numbers, and hardware information";
homepage = "https://github.com/rasbt/watermark";
license = licenses.bsd3;
maintainers = with maintainers; [ nphilou ];