python310Packages.configargparse: test YAMLConfigFileParser

See https://github.com/bw2/ConfigArgParse/blob/v1.5.3/setup.py#L75
This commit is contained in:
Robert Schütz 2022-12-03 21:49:27 -08:00
parent 880d9982c8
commit 8b8b63492d

View file

@ -3,12 +3,15 @@
, fetchFromGitHub , fetchFromGitHub
, mock , mock
, pytestCheckHook , pytestCheckHook
, pyyaml
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "configargparse"; pname = "configargparse";
version = "1.5.3"; version = "1.5.3";
format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bw2"; owner = "bw2";
repo = "ConfigArgParse"; repo = "ConfigArgParse";
@ -19,6 +22,7 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
mock mock
pytestCheckHook pytestCheckHook
pyyaml
]; ];
pythonImportsCheck = [ "configargparse" ]; pythonImportsCheck = [ "configargparse" ];