1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pydantic 5, pytestCheckHook 6, pythonOlder 7, srsly 8}: 9 10buildPythonPackage rec { 11 pname = "confection"; 12 version = "0.1.3"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchFromGitHub { 18 owner = "explosion"; 19 repo = pname; 20 rev = "refs/tags/v${version}"; 21 hash = "sha256-PJbFv+5bT4+oF7PRAO6AGnjRhjNudiJEkPFgGSmuI8c="; 22 }; 23 24 propagatedBuildInputs = [ 25 pydantic 26 srsly 27 ]; 28 29 nativeCheckInputs = [ 30 pytestCheckHook 31 ]; 32 33 pythonImportsCheck = [ 34 "confection" 35 ]; 36 37 meta = with lib; { 38 description = "Library that offers a configuration system"; 39 homepage = "https://github.com/explosion/confection"; 40 changelog = "https://github.com/explosion/confection/releases/tag/v${version}"; 41 license = licenses.mit; 42 maintainers = with maintainers; [ fab ]; 43 }; 44}