File tree Expand file tree Collapse file tree 1 file changed +8
-14
lines changed
pkgs/development/python-modules/esphome-dashboard-api Expand file tree Collapse file tree 1 file changed +8
-14
lines changed Original file line number Diff line number Diff line change 33 buildPythonPackage ,
44 fetchFromGitHub ,
55 setuptools ,
6- wheel ,
76 aiohttp ,
7+ orjson ,
88} :
99
1010buildPythonPackage 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" ] ;
You can’t perform that action at this time.
0 commit comments