mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
Merge pull request #241640 from fabaff/configargparse-bump
python311Packages.configargparse: 1.5.3 -> 1.5.5
This commit is contained in:
commit
9d86226a63
@ -4,33 +4,43 @@
|
|||||||
, mock
|
, mock
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pyyaml
|
, pyyaml
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "configargparse";
|
pname = "configargparse";
|
||||||
version = "1.5.3";
|
version = "1.5.5";
|
||||||
|
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bw2";
|
owner = "bw2";
|
||||||
repo = "ConfigArgParse";
|
repo = "ConfigArgParse";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/${version}";
|
||||||
sha256 = "1dsai4bilkp2biy9swfdx2z0k4akw4lpvx12flmk00r80hzgbglz";
|
hash = "sha256-nhsbgyoIsYyrW20j4X4RosMJU/B+j7Z5YbebmZCLW4I=";
|
||||||
|
};
|
||||||
|
|
||||||
|
passthru.optional-dependencies = {
|
||||||
|
yaml = [
|
||||||
|
pyyaml
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
mock
|
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pyyaml
|
mock
|
||||||
];
|
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
|
||||||
|
|
||||||
pythonImportsCheck = [ "configargparse" ];
|
pythonImportsCheck = [
|
||||||
|
"configargparse"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A drop-in replacement for argparse";
|
description = "A drop-in replacement for argparse";
|
||||||
homepage = "https://github.com/bw2/ConfigArgParse";
|
homepage = "https://github.com/bw2/ConfigArgParse";
|
||||||
|
changelog = "https://github.com/bw2/ConfigArgParse/releases/tag/${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = [ maintainers.willibutz ];
|
maintainers = with maintainers; [ willibutz ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user