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