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