forked from mirrors/nixpkgs
Merge pull request #161063 from fabaff/newversion
python310Packages.mypy-boto3-builder: 6.3.2 -> 7.1.2
This commit is contained in:
commit
c7b812b032
|
@ -7,6 +7,7 @@
|
|||
, jinja2
|
||||
, md-toc
|
||||
, mdformat
|
||||
, newversion
|
||||
, poetry-core
|
||||
, pyparsing
|
||||
, pytestCheckHook
|
||||
|
@ -15,16 +16,16 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "mypy-boto3-builder";
|
||||
version = "6.3.2";
|
||||
version = "7.1.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vemel";
|
||||
repo = "mypy_boto3_builder";
|
||||
rev = version;
|
||||
sha256 = "1krsh8pmxigpzz21gvsy7qnpnwfkyyjbz92bqp9iflf7kklfhb79";
|
||||
hash = "sha256-p81Dk6Kv0MzHvexhM8Su5/yIpB+ZGBFqOtm0D18l26s=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -38,6 +39,7 @@ buildPythonPackage rec {
|
|||
jinja2
|
||||
md-toc
|
||||
mdformat
|
||||
newversion
|
||||
pyparsing
|
||||
];
|
||||
|
||||
|
@ -45,12 +47,14 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Should be fixed with 5.x
|
||||
"test_get_types"
|
||||
pythonImportsCheck = [
|
||||
"mypy_boto3_builder"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "mypy_boto3_builder" ];
|
||||
disabledTests = [
|
||||
# Tests require network access
|
||||
"TestBotocoreChangelogChangelog"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Type annotations builder for boto3";
|
||||
|
|
49
pkgs/development/python-modules/newversion/default.nix
Normal file
49
pkgs/development/python-modules/newversion/default.nix
Normal file
|
@ -0,0 +1,49 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, packaging
|
||||
, poetry-core
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, typing-extensions
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "newversion";
|
||||
version = "1.8.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vemel";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-27HWMzSzyAbiOW7OUhlupRWIVJG6DrpXObXmxlCsmxU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
packaging
|
||||
] ++ lib.optionals (pythonOlder "3.8") [
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"newversion"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "PEP 440 version manager";
|
||||
homepage = "https://github.com/vemel/newversion";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -5444,6 +5444,8 @@ in {
|
|||
|
||||
nevow = callPackage ../development/python-modules/nevow { };
|
||||
|
||||
newversion = callPackage ../development/python-modules/newversion { };
|
||||
|
||||
nexia = callPackage ../development/python-modules/nexia { };
|
||||
|
||||
nextcloudmonitor = callPackage ../development/python-modules/nextcloudmonitor { };
|
||||
|
|
Loading…
Reference in a new issue