Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at r-updates 38 lines 811 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pydantic, 6 pytestCheckHook, 7 srsly, 8}: 9 10buildPythonPackage rec { 11 pname = "confection"; 12 version = "0.1.5"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "explosion"; 17 repo = "confection"; 18 tag = "v${version}"; 19 hash = "sha256-1XIo9Hg4whYS1AkFeX8nVnpv+IvnpmyydHYdVYS0xZc="; 20 }; 21 22 propagatedBuildInputs = [ 23 pydantic 24 srsly 25 ]; 26 27 nativeCheckInputs = [ pytestCheckHook ]; 28 29 pythonImportsCheck = [ "confection" ]; 30 31 meta = { 32 description = "Library that offers a configuration system"; 33 homepage = "https://github.com/explosion/confection"; 34 changelog = "https://github.com/explosion/confection/releases/tag/v${version}"; 35 license = lib.licenses.mit; 36 maintainers = with lib.maintainers; [ fab ]; 37 }; 38}