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