nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 35 lines 705 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "wasabi"; 10 version = "0.9.1"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "sha256-rabxPptw7ya/lfrQ/r396+IAXimgitWPS7rjg6lymM8="; 18 }; 19 20 checkInputs = [ 21 pytestCheckHook 22 ]; 23 24 pythonImportsCheck = [ 25 "wasabi" 26 ]; 27 28 meta = with lib; { 29 description = "A lightweight console printing and formatting toolkit"; 30 homepage = "https://github.com/ines/wasabi"; 31 changelog = "https://github.com/ines/wasabi/releases/tag/v${version}"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ ]; 34 }; 35}