python3Packages.yamllint: 1.31.0 -> 1.32.0, switch to github source

Changelog: https://github.com/adrienverge/yamllint/blob/v1.32.0/CHANGELOG.rst
This commit is contained in:
Nick Cao 2023-06-21 20:59:31 +08:00
parent 5c5e5e2f1f
commit 27aafa6852
No known key found for this signature in database

View File

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, setuptools
, pathspec
, pytestCheckHook
, pythonOlder
@ -10,16 +11,22 @@
buildPythonPackage rec {
pname = "yamllint";
version = "1.31.0";
format = "setuptools";
version = "1.32.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-LYPx0S9zPhYqh+BrF2FJ17ucW65Knl/OHHcdf3A/emU=";
src = fetchFromGitHub {
owner = "adrienverge";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-DtIQ/gUBFQBm0OOJC2c/ONn2ZKsMAzdwMx7FbUo+uIU=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
pyyaml
pathspec