1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 hatch-vcs, 6 hatchling, 7 pytestCheckHook, 8 pyyaml, 9 hypothesis, 10 pythonOlder, 11}: 12 13buildPythonPackage rec { 14 pname = "yamlloader"; 15 version = "1.5.2"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-wQrBMhpiaxyosJ0/Ov6YVbgYORxZmSp2tl5KLZXqxBs="; 23 }; 24 25 build-system = [ 26 hatch-vcs 27 hatchling 28 ]; 29 30 dependencies = [ pyyaml ]; 31 32 nativeCheckInputs = [ 33 hypothesis 34 pytestCheckHook 35 ]; 36 37 pythonImportsCheck = [ 38 "yaml" 39 "yamlloader" 40 ]; 41 42 meta = with lib; { 43 description = "Case-insensitive list for Python"; 44 homepage = "https://github.com/Phynix/yamlloader"; 45 changelog = "https://github.com/Phynix/yamlloader/releases/tag/${version}"; 46 license = licenses.mit; 47 maintainers = with maintainers; [ freezeboy ]; 48 }; 49}