python310Packages.pyyaml-include: init at 1.3
This commit is contained in:
parent
b019c370a7
commit
a3ff34620d
2 changed files with 39 additions and 0 deletions
37
pkgs/development/python-modules/pyyaml-include/default.nix
Normal file
37
pkgs/development/python-modules/pyyaml-include/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -9598,6 +9598,8 @@ self: super: with self; {
|
||||||
|
|
||||||
pyyaml-env-tag = callPackage ../development/python-modules/pyyaml-env-tag { };
|
pyyaml-env-tag = callPackage ../development/python-modules/pyyaml-env-tag { };
|
||||||
|
|
||||||
|
pyyaml-include = callPackage ../development/python-modules/pyyaml-include { };
|
||||||
|
|
||||||
pyzerproc = callPackage ../development/python-modules/pyzerproc { };
|
pyzerproc = callPackage ../development/python-modules/pyzerproc { };
|
||||||
|
|
||||||
pyzmq = callPackage ../development/python-modules/pyzmq { };
|
pyzmq = callPackage ../development/python-modules/pyzmq { };
|
||||||
|
|
Loading…
Reference in a new issue