python3Packages.nsw-fuel-api-client: init at 1.1.3 (#428927)
* python3Packages.nsw-fuel-api-client: init at 1.1.3 * home-assistant: update component packages
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
requests,
|
||||
pytestCheckHook,
|
||||
requests-mock,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nsw-fuel-api-client";
|
||||
version = "1.1.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nickw444";
|
||||
repo = "nsw-fuel-api-client";
|
||||
tag = version;
|
||||
hash = "sha256-3nkBDLmFOfYLvG5fi2subA9zxb51c7zWlhT4GaCQo9I=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
requests
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
requests-mock
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"nsw_fuel"
|
||||
];
|
||||
|
||||
pytestFlags = [
|
||||
"nsw_fuel_tests/unit.py"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "API Client for NSW Government Fuel Check application";
|
||||
homepage = "https://github.com/nickw444/nsw-fuel-api-client";
|
||||
changelog = "https://github.com/nickw444/nsw-fuel-api-client/releases/tag/${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.jamiemagee ];
|
||||
};
|
||||
}
|
||||
@@ -4014,7 +4014,8 @@
|
||||
];
|
||||
"nsw_fuel_station" =
|
||||
ps: with ps; [
|
||||
]; # missing inputs: nsw-fuel-api-client
|
||||
nsw-fuel-api-client
|
||||
];
|
||||
"nsw_rural_fire_service_feed" =
|
||||
ps: with ps; [
|
||||
aio-geojson-nsw-rfs-incidents
|
||||
@@ -7372,6 +7373,7 @@
|
||||
"notify"
|
||||
"notify_events"
|
||||
"notion"
|
||||
"nsw_fuel_station"
|
||||
"nsw_rural_fire_service_feed"
|
||||
"ntfy"
|
||||
"nuheat"
|
||||
|
||||
@@ -10479,6 +10479,8 @@ self: super: with self; {
|
||||
|
||||
nskeyedunarchiver = callPackage ../development/python-modules/nskeyedunarchiver { };
|
||||
|
||||
nsw-fuel-api-client = callPackage ../development/python-modules/nsw-fuel-api-client { };
|
||||
|
||||
nsz = callPackage ../development/python-modules/nsz { };
|
||||
|
||||
ntc-templates = callPackage ../development/python-modules/ntc-templates { };
|
||||
|
||||
Reference in New Issue
Block a user