Merge pull request #306888 from r-ryantm/auto-update/python311Packages.yamale

python311Packages.yamale: 5.1.0 -> 5.2.0
This commit is contained in:
Fabian Affolter 2024-04-26 09:59:07 +02:00 committed by GitHub
commit eb2a954f7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,44 +1,45 @@
{ lib {
, buildPythonPackage lib,
, fetchFromGitHub buildPythonPackage,
, pythonOlder fetchFromGitHub,
, pytestCheckHook pythonOlder,
, pyyaml pytestCheckHook,
, ruamel-yaml pyyaml,
ruamel-yaml,
setuptools,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "yamale"; pname = "yamale";
version = "5.1.0"; version = "5.2.0";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "23andMe"; owner = "23andMe";
repo = pname; repo = "yamale";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-WLI3cL6i7eLfaX1nN8K/fHlrkOm+JdTEscelql6jO44="; hash = "sha256-UTtase1b8Zjaixhp/g0tLtT6QZS4cyaSHcFz+h9Qoos=";
}; };
propagatedBuildInputs = [ build-system = [ setuptools ];
dependencies = [
pyyaml pyyaml
ruamel-yaml ruamel-yaml
]; ];
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [ "yamale" ];
"yamale"
];
meta = with lib; { meta = with lib; {
description = "A schema and validator for YAML"; description = "A schema and validator for YAML";
mainProgram = "yamale";
homepage = "https://github.com/23andMe/Yamale"; homepage = "https://github.com/23andMe/Yamale";
changelog = "https://github.com/23andMe/Yamale/releases/tag/${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ rtburns-jpl ]; maintainers = with maintainers; [ rtburns-jpl ];
mainProgram = "yamale";
}; };
} }