python310Packages.pyyaml-include: init at 1.3

This commit is contained in:
Jonathan Ringer 2021-11-11 09:56:26 -08:00 committed by Artturin
parent b019c370a7
commit a3ff34620d
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ lib, buildPythonPackage, fetchPypi
, pytestCheckHook
, pyyaml
, setuptools-scm
, setuptools-scm-git-archive
, toml
}:
buildPythonPackage rec {
pname = "pyyaml-include";
version = "1.3";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-9/vrjnG1C+Dm4HRy98edv7GhW63pyToHg2n/SeV+Z3E=";
};
nativeBuildInputs = [
pyyaml
setuptools-scm
setuptools-scm-git-archive
toml
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "yamlinclude" ];
meta = with lib; {
description = "Extending PyYAML with a custom constructor for including YAML files within YAML files";
homepage = "https://github.com/tanbro/pyyaml-include";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ jonringer ];
};
}

View file

@ -9598,6 +9598,8 @@ self: super: with self; {
pyyaml-env-tag = callPackage ../development/python-modules/pyyaml-env-tag { };
pyyaml-include = callPackage ../development/python-modules/pyyaml-include { };
pyzerproc = callPackage ../development/python-modules/pyzerproc { };
pyzmq = callPackage ../development/python-modules/pyzmq { };