Skip to content

Commit 7650c61

Browse files
authored
python313Packages.esphome-dashboard-api: 1.2.3 -> 1.3.0 (NixOS#399619)
2 parents b024ced + afb9dd4 commit 7650c61

File tree

1 file changed

+8
-14
lines changed
  • pkgs/development/python-modules/esphome-dashboard-api

1 file changed

+8
-14
lines changed

pkgs/development/python-modules/esphome-dashboard-api/default.nix

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,29 @@
33
buildPythonPackage,
44
fetchFromGitHub,
55
setuptools,
6-
wheel,
76
aiohttp,
7+
orjson,
88
}:
99

1010
buildPythonPackage rec {
1111
pname = "esphome-dashboard-api";
12-
version = "1.2.3";
13-
format = "pyproject";
12+
version = "1.3.0";
13+
pyproject = true;
1414

1515
src = fetchFromGitHub {
1616
owner = "esphome";
1717
repo = "dashboard-api";
1818
tag = version;
19-
hash = "sha256-RFfS0xzRXoM6ETXmviiMPxffPzspjTqpkvHOlTJXN9g=";
19+
hash = "sha256-b3PnMzlA9N8NH6R5ed6wf5QF45i887iQk2QgH7e755k=";
2020
};
2121

22-
postPatch = ''
23-
substituteInPlace pyproject.toml \
24-
--replace "setuptools~=65.6" "setuptools" \
25-
--replace "wheel~=0.37.1" "wheel"
26-
'';
22+
build-system = [ setuptools ];
2723

28-
nativeBuildInputs = [
29-
setuptools
30-
wheel
24+
dependencies = [
25+
aiohttp
26+
orjson
3127
];
3228

33-
propagatedBuildInputs = [ aiohttp ];
34-
3529
doCheck = false; # no tests
3630

3731
pythonImportsCheck = [ "esphome_dashboard_api" ];

0 commit comments

Comments
 (0)