Fabian Affolter 2023-10-15 11:44:51 +02:00
parent a07698e439
commit 69f5f77fcc

View file

@ -1,34 +1,24 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
# build
, pdm-pep517
# docs
, docutils
, sphinxHook
, sphinx-rtd-theme
, sphinx-autodoc-typehints
# runtime
, tomli
, fetchFromGitHub
, packaging
# optionals
, pydantic
, pdm-backend
, platformdirs
, sphinx
, tabulate
# tests
, pydantic
, pytestCheckHook
, pythonOlder
, sphinx
, sphinx-autodoc-typehints
, sphinx-rtd-theme
, sphinxHook
, tabulate
, tomli
}:
buildPythonPackage rec {
pname = "pytoolconfig";
version = "1.2.5";
version = "1.2.6";
format = "pyproject";
disabled = pythonOlder "3.8";
@ -37,7 +27,7 @@ buildPythonPackage rec {
owner = "bagel897";
repo = "pytoolconfig";
rev = "refs/tags/v${version}";
hash = "sha256-b7er/IgXr2j9dSnI87669BXWA5CXNTzwa1DTpl8PBZ4=";
hash = "sha256-KmmaxFJbvdOGG9T9iiHKnJpFzZiLVkPJki+qHPxPTdY=";
};
outputs = [
@ -48,7 +38,7 @@ buildPythonPackage rec {
PDM_PEP517_SCM_VERSION = version;
nativeBuildInputs = [
pdm-pep517
pdm-backend
# docs
docutils
@ -90,9 +80,9 @@ buildPythonPackage rec {
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
meta = with lib; {
changelog = "https://github.com/bagel897/pytoolconfig/releases/tag/v${version}";
description = "Python tool configuration";
homepage = "https://github.com/bagel897/pytoolconfig";
changelog = "https://github.com/bagel897/pytoolconfig/releases/tag/v${version}";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ fab hexa ];
};