mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 12:38:41 +03:00
Merge pull request #304437 from r-ryantm/auto-update/python312Packages.griffe
python312Packages.griffe: 0.42.1 -> 0.42.2
This commit is contained in:
commit
2fd19c8be2
@ -1,18 +1,19 @@
|
||||
{ lib
|
||||
, aiofiles
|
||||
, buildPythonPackage
|
||||
, colorama
|
||||
, fetchFromGitHub
|
||||
, git
|
||||
, jsonschema
|
||||
, pdm-backend
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
{
|
||||
lib,
|
||||
aiofiles,
|
||||
buildPythonPackage,
|
||||
colorama,
|
||||
fetchFromGitHub,
|
||||
git,
|
||||
jsonschema,
|
||||
pdm-backend,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "griffe";
|
||||
version = "0.42.1";
|
||||
version = "0.42.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -21,16 +22,12 @@ buildPythonPackage rec {
|
||||
owner = "mkdocstrings";
|
||||
repo = "griffe";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-KaD3j96FJJx43m/nfHa4kAft4FcDOdq+2dsiaMY7PPY=";
|
||||
hash = "sha256-W6aOhz8UxJUc2kNRc4JaCqFgIOXsY8ctyQ3xZ+YaD9k=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pdm-backend
|
||||
];
|
||||
build-system = [ pdm-backend ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
colorama
|
||||
];
|
||||
dependencies = [ colorama ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
git
|
||||
@ -39,21 +36,17 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
async = [
|
||||
aiofiles
|
||||
];
|
||||
async = [ aiofiles ];
|
||||
};
|
||||
|
||||
pythonImportsCheck = [
|
||||
"griffe"
|
||||
];
|
||||
pythonImportsCheck = [ "griffe" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Signatures for entire Python programs";
|
||||
mainProgram = "griffe";
|
||||
homepage = "https://github.com/mkdocstrings/griffe";
|
||||
changelog = "https://github.com/mkdocstrings/griffe/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.isc;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "griffe";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user