1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5 6# tests 7, ipykernel 8, nbconvert 9, pytestCheckHook 10, typing-extensions 11}: 12 13buildPythonPackage rec { 14 pname = "wasabi"; 15 version = "1.1.2"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-Gq7zrOqjLtuckTMNKdOTbAw5/blldDVJwXPLVLFsMLU="; 23 }; 24 25 nativeCheckInputs = [ 26 ipykernel 27 nbconvert 28 typing-extensions 29 pytestCheckHook 30 ]; 31 32 pythonImportsCheck = [ 33 "wasabi" 34 ]; 35 36 meta = with lib; { 37 description = "A lightweight console printing and formatting toolkit"; 38 homepage = "https://github.com/ines/wasabi"; 39 changelog = "https://github.com/ines/wasabi/releases/tag/v${version}"; 40 license = licenses.mit; 41 maintainers = with maintainers; [ ]; 42 }; 43}