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.3";
17 format = "setuptools";
18
19 disabled = pythonOlder "3.7";
20
21 src = fetchPypi {
22 inherit pname version;
23 hash = "sha256-S7MAjwA4CdsMPii02vIJBuqHGiu0P5kUGX1UD08uCHg=";
24 };
25
26 nativeCheckInputs = [
27 ipykernel
28 nbconvert
29 typing-extensions
30 pytestCheckHook
31 ];
32
33 pythonImportsCheck = [ "wasabi" ];
34
35 __darwinAllowLocalNetworking = true;
36
37 meta = with lib; {
38 description = "Lightweight console printing and formatting toolkit";
39 homepage = "https://github.com/ines/wasabi";
40 changelog = "https://github.com/ines/wasabi/releases/tag/v${version}";
41 license = licenses.mit;
42 maintainers = [ ];
43 };
44}