at 23.11-beta 1.2 kB view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, flit-core 5, arrow 6, six 7, hypothesis 8, pytestCheckHook 9, pythonOlder 10}: 11 12buildPythonPackage rec { 13 pname = "inform"; 14 version = "1.28"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchFromGitHub { 20 owner = "KenKundert"; 21 repo = "inform"; 22 rev = "refs/tags/v${version}"; 23 hash = "sha256-RA8/or3HTS/rQmG4A/Eg5j24YElaTEpnHa1yksARVMQ="; 24 }; 25 26 nativeBuildInputs = [ 27 flit-core 28 ]; 29 30 propagatedBuildInputs = [ 31 arrow 32 six 33 ]; 34 35 nativeCheckInputs = [ 36 pytestCheckHook 37 hypothesis 38 ]; 39 40 disabledTests = [ 41 "test_prostrate" 42 ]; 43 44 meta = with lib; { 45 description = "Print and logging utilities"; 46 longDescription = '' 47 Inform is designed to display messages from programs that are typically 48 run from a console. It provides a collection of print functions that 49 allow you to simply and cleanly print different types of messages. 50 ''; 51 homepage = "https://inform.readthedocs.io"; 52 changelog = "https://github.com/KenKundert/inform/blob/v${version}/doc/releases.rst"; 53 license = licenses.gpl3Only; 54 maintainers = with maintainers; [ jeremyschlatter ]; 55 }; 56}