python3Packages.peblar: 0.4.0 -> 0.5.1
Diff: https://github.com/frenck/python-peblar/compare/v0.4.0...v0.5.1 Changelog: https://github.com/frenck/python-peblar/releases/tag/v0.5.1
This commit is contained in:
committed by
Martin Weinelt
parent
6a9809d589
commit
a441adc780
@@ -1,18 +1,19 @@
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
aresponses,
|
||||
aioresponses,
|
||||
awesomeversion,
|
||||
backoff,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
mashumaro,
|
||||
orjson,
|
||||
poetry-core,
|
||||
pytest-asyncio,
|
||||
pytest-cov-stub,
|
||||
pytestCheckHook,
|
||||
rich,
|
||||
syrupy,
|
||||
tenacity,
|
||||
typer,
|
||||
yarl,
|
||||
zeroconf,
|
||||
@@ -20,14 +21,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "peblar";
|
||||
version = "0.4.0";
|
||||
version = "0.5.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "frenck";
|
||||
repo = "python-peblar";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-cHb/VTaa7tkePqV7eLpDSxrnY8hAnjshwtwyWmJnt/4=";
|
||||
hash = "sha256-58PIvbl0QqOrvEc2rIieImWSnGZVIrhVAwsN+fZcWT4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -36,31 +37,33 @@ buildPythonPackage rec {
|
||||
--replace-fail 'version = "0.0.0"' 'version = "${version}"'
|
||||
'';
|
||||
|
||||
build-system = [ hatchling ];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
awesomeversion
|
||||
backoff
|
||||
mashumaro
|
||||
orjson
|
||||
tenacity
|
||||
yarl
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
cli = [
|
||||
rich
|
||||
typer
|
||||
zeroconf
|
||||
];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
aresponses
|
||||
aioresponses
|
||||
pytest-asyncio
|
||||
pytest-cov-stub
|
||||
pytestCheckHook
|
||||
syrupy
|
||||
];
|
||||
]
|
||||
++ lib.concatAttrValues optional-dependencies;
|
||||
|
||||
pythonImportsCheck = [ "peblar" ];
|
||||
|
||||
@@ -69,6 +72,7 @@ buildPythonPackage rec {
|
||||
homepage = "https://github.com/frenck/python-peblar";
|
||||
changelog = "https://github.com/frenck/python-peblar/releases/tag/v${version}";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "peblar";
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user