python3Packages.pyyaml-include: 1.3.1 -> 2.2 (#431015)

authored by Gaétan Lepage and committed by GitHub 7843e11f ec671793

+28 -13
+28 -13
pkgs/development/python-modules/pyyaml-include/default.nix
··· 2 2 lib, 3 3 buildPythonPackage, 4 4 fetchFromGitHub, 5 - pytestCheckHook, 6 - pyyaml, 5 + 6 + # build-system 7 7 setuptools, 8 8 setuptools-scm, 9 - wheel, 9 + 10 + # dependencies 11 + fsspec, 12 + pyyaml, 13 + 14 + # tests 15 + aiohttp, 16 + pytestCheckHook, 10 17 }: 11 18 12 19 buildPythonPackage rec { 13 20 pname = "pyyaml-include"; 14 - version = "1.3.1"; 15 - format = "pyproject"; 21 + version = "2.2"; 22 + pyproject = true; 16 23 17 24 src = fetchFromGitHub { 18 25 owner = "tanbro"; 19 26 repo = "pyyaml-include"; 20 27 tag = "v${version}"; 21 - hash = "sha256-xsNMIEBYqMVQp+H8R7XpFCwROXA8I6bFvAuHrRvC+DI="; 28 + hash = "sha256-nswSYRTZ6LTLSGh78DnrXl3q06Ap1J1IMKOESv1lJoY="; 22 29 }; 23 30 24 - nativeBuildInputs = [ 31 + build-system = [ 25 32 setuptools 26 33 setuptools-scm 27 - wheel 28 34 ]; 29 35 30 - propagatedBuildInputs = [ pyyaml ]; 36 + dependencies = [ 37 + fsspec 38 + pyyaml 39 + ]; 31 40 32 - nativeCheckInputs = [ pytestCheckHook ]; 41 + nativeCheckInputs = [ 42 + aiohttp 43 + pytestCheckHook 44 + ]; 33 45 34 - pythonImportsCheck = [ "yamlinclude" ]; 46 + pythonImportsCheck = [ "yaml_include" ]; 35 47 36 - meta = with lib; { 48 + __darwinAllowLocalNetworking = true; 49 + 50 + meta = { 37 51 description = "Extending PyYAML with a custom constructor for including YAML files within YAML files"; 38 52 homepage = "https://github.com/tanbro/pyyaml-include"; 39 - license = licenses.gpl3Plus; 53 + changelog = "https://github.com/tanbro/pyyaml-include/blob/v${version}/CHANGELOG.md"; 54 + license = lib.licenses.gpl3Plus; 40 55 maintainers = [ ]; 41 56 }; 42 57 }