Merge pull request #195258 from fabaff/yamlpath-bump

yamlpath: 3.6.3 -> 3.6.7
This commit is contained in:
Fabian Affolter 2022-10-10 17:59:25 +02:00 committed by GitHub
commit 9630b2d103
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,46 +1,47 @@
{ lib
, python3Packages
, fetchFromGitHub
, hiera-eyaml
, python3
}:
let
py = python3.override {
packageOverrides = self: super: {
ruamel-yaml = super.ruamel-yaml.overridePythonAttrs(old: rec {
pname = "ruamel.yaml";
version = "0.17.10";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "EGvI1txqD/fJGWpHVwQyA29B1Va3eca05hgIX1fjnmc=";
};
});
};
};
in
py.pkgs.buildPythonPackage rec {
python3.pkgs.buildPythonApplication rec {
pname = "yamlpath";
version = "3.6.3";
version = "3.6.7";
format = "setuptools";
src = fetchFromGitHub {
owner = "wwkimball";
repo = pname;
rev = "v${version}";
sha256 = "4lLKMMsjVWbnfiaOzdBePOtOwPN8nui3Ux6e55YdGoo=";
sha256 = "sha256-lz8n3c+NohZnkbAoF/9rHsGzXW5PWPOsJKUFqqenIRg=";
};
propagatedBuildInputs = with py.pkgs; [ ruamel-yaml ];
checkInputs = with py.pkgs; [ hiera-eyaml mock pytest-console-scripts pytestCheckHook ];
propagatedBuildInputs = with python3.pkgs; [
python-dateutil
ruamel-yaml
];
checkInputs = with python3.pkgs; [
hiera-eyaml
mock
pytest-console-scripts
pytestCheckHook
];
preCheck = ''
export PATH=$PATH:$out/bin
'';
pythonImportsCheck = [
"yamlpath"
];
meta = with lib; {
homepage = "https://github.com/wwkimball/yamlpath";
description = "Command-line processors for YAML/JSON/Compatible data";
homepage = "https://github.com/wwkimball/yamlpath";
longDescription = ''
Command-line get/set/merge/validate/scan/convert/diff processors for YAML/JSON/Compatible data using powerful, intuitive, command-line friendly syntax
Command-line get/set/merge/validate/scan/convert/diff processors for YAML/JSON/Compatible data
using powerful, intuitive, command-line friendly syntax
'';
license = licenses.isc;
maintainers = with maintainers; [ Flakebi ];