python312Packages.bring-api: rename, update URLs, etc.

This commit is contained in:
Fabian Affolter 2024-04-11 09:27:47 +02:00
parent 7d1bcb47db
commit c29d1a5cba

View File

@ -7,7 +7,7 @@
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "homeassistant-bring-api"; pname = "bring-api";
version = "0.5.6"; version = "0.5.6";
pyproject = true; pyproject = true;
@ -15,7 +15,7 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "miaucl"; owner = "miaucl";
repo = "homeassistant-bring-api"; repo = "bring-api";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-vfc4xKLeGF2FuBFwqU99qbkUDBK5Uz66S4F2ODRDPa8="; hash = "sha256-vfc4xKLeGF2FuBFwqU99qbkUDBK5Uz66S4F2ODRDPa8=";
}; };
@ -32,13 +32,13 @@ buildPythonPackage rec {
doCheck = false; doCheck = false;
pythonImportsCheck = [ pythonImportsCheck = [
"homeassistant_bring_api" "bring_api"
]; ];
meta = with lib; { meta = with lib; {
description = "Module to access the Bring! shopping lists API with Home Assistant"; description = "Module to access the Bring! shopping lists API";
homepage = "https://github.com/miaucl/homeassistant-bring-api"; homepage = "https://github.com/miaucl/bring-api";
changelog = "https://github.com/miaucl/homeassistant-bring-api/blob/${version}/CHANGELOG.md"; changelog = "https://github.com/miaucl/bring-api/blob/${version}/CHANGELOG.md";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };