From b989e7e8ad8560f73b66d3300fb328197464588a Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 29 Nov 2024 16:21:24 +0100 Subject: [PATCH] python312Packages.imgcat: 0.5.0 -> 0.6.0 Diff: https://github.com/wookayin/python-imgcat/compare/refs/tags/v0.5.0...v0.6.0 Changelog: https://github.com/wookayin/python-imgcat/releases/tag/v0.6.0 --- .../python-modules/imgcat/default.nix | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/imgcat/default.nix b/pkgs/development/python-modules/imgcat/default.nix index e17c249670e2..0f190463c444 100644 --- a/pkgs/development/python-modules/imgcat/default.nix +++ b/pkgs/development/python-modules/imgcat/default.nix @@ -2,29 +2,26 @@ lib, buildPythonPackage, fetchFromGitHub, + matplotlib, numpy, pillow, pytestCheckHook, - pythonOlder, setuptools, tensorflow, torch, - torchvision, }: buildPythonPackage rec { pname = "imgcat"; - version = "0.5.0"; + version = "0.6.0"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchFromGitHub { owner = "wookayin"; repo = "python-imgcat"; rev = "refs/tags/v${version}"; - hash = "sha256-LFXfCMWMdOjFYhXba9PCCIYnqR7gTRG63NAoC/nD2wk="; + hash = "sha256-FsLa8Z4aKuj3E5twC2LTXZDM0apmyYfgeyZQu/wLdAo="; }; postPatch = '' @@ -41,16 +38,15 @@ buildPythonPackage rec { pytestCheckHook tensorflow torch - torchvision ]; pythonImportsCheck = [ "imgcat" ]; - meta = with lib; { + meta = { description = "Imgcat in Python"; homepage = "https://github.com/wookayin/python-imgcat"; changelog = "https://github.com/wookayin/python-imgcat/releases/tag/v${version}"; - license = licenses.mit; - maintainers = with maintainers; [ fab ]; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ fab ]; }; }