python313Packages.pyfireservicerota: 0.0.44 -> 0.0.45
Changelog: https://github.com/cyberjunky/python-fireservicerota/releases/tag/0.0.45
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
pdm-backend,
|
||||
pytz,
|
||||
oauthlib,
|
||||
@@ -12,26 +12,21 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyfireservicerota";
|
||||
version = "0.0.44";
|
||||
version = "0.0.45";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-OknGX4xP+AHXRuhizbeTVAfiOX0uRGzAly7FJ1vopDI=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "cyberjunky";
|
||||
repo = "python-fireservicerota";
|
||||
tag = version;
|
||||
hash = "sha256-lQkn/DlqJMLxQlh1sn+v7d6xHHCC9r8mnUJchyTTUqA=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# https://github.com/cyberjunky/python-fireservicerota/pull/1
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail '"aiohttp",' '"requests",' \
|
||||
--replace-fail '"aiohttp_retry",' ""
|
||||
'';
|
||||
build-system = [ pdm-backend ];
|
||||
|
||||
nativeBuildInputs = [ pdm-backend ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
pytz
|
||||
oauthlib
|
||||
requests
|
||||
@@ -44,6 +39,7 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "pyfireservicerota" ];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/cyberjunky/python-fireservicerota/releases/tag/${src.tag}";
|
||||
description = "Python 3 API wrapper for FireServiceRota/BrandweerRooster";
|
||||
homepage = "https://github.com/cyberjunky/python-fireservicerota";
|
||||
license = licenses.mit;
|
||||
|
||||
Reference in New Issue
Block a user