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