Unverified Commit 7843e11f authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

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

parents ec671793 bf4ddc3a
Loading
Loading
Loading
Loading
+28 −13
Original line number Diff line number Diff line
@@ -2,41 +2,56 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  pyyaml,

  # build-system
  setuptools,
  setuptools-scm,
  wheel,

  # dependencies
  fsspec,
  pyyaml,

  # tests
  aiohttp,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "pyyaml-include";
  version = "1.3.1";
  format = "pyproject";
  version = "2.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "tanbro";
    repo = "pyyaml-include";
    tag = "v${version}";
    hash = "sha256-xsNMIEBYqMVQp+H8R7XpFCwROXA8I6bFvAuHrRvC+DI=";
    hash = "sha256-nswSYRTZ6LTLSGh78DnrXl3q06Ap1J1IMKOESv1lJoY=";
  };

  nativeBuildInputs = [
  build-system = [
    setuptools
    setuptools-scm
    wheel
  ];

  propagatedBuildInputs = [ pyyaml ];
  dependencies = [
    fsspec
    pyyaml
  ];

  nativeCheckInputs = [
    aiohttp
    pytestCheckHook
  ];

  nativeCheckInputs = [ pytestCheckHook ];
  pythonImportsCheck = [ "yaml_include" ];

  pythonImportsCheck = [ "yamlinclude" ];
  __darwinAllowLocalNetworking = true;

  meta = with lib; {
  meta = {
    description = "Extending PyYAML with a custom constructor for including YAML files within YAML files";
    homepage = "https://github.com/tanbro/pyyaml-include";
    license = licenses.gpl3Plus;
    changelog = "https://github.com/tanbro/pyyaml-include/blob/v${version}/CHANGELOG.md";
    license = lib.licenses.gpl3Plus;
    maintainers = [ ];
  };
}