biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / lcn-frontend / default.nix
blob310d407fa70ac37b51510fa19e5c4f2de87663ca
2   buildPythonPackage,
3   fetchPypi,
4   lib,
5   setuptools,
6 }:
8 buildPythonPackage rec {
9   pname = "lcn-frontend";
10   version = "0.1.7";
11   pyproject = true;
13   src = fetchPypi {
14     pname = "lcn_frontend";
15     inherit version;
16     hash = "sha256-S/7NUduAiekQ5CDOw8JRCTO9mbvLW6MmB/n8iQQPkok=";
17   };
19   postPatch = ''
20     substituteInPlace pyproject.toml \
21       --replace-fail "setuptools~=68.0" setuptools \
22       --replace-fail "wheel~=0.40.0" wheel
23   '';
25   build-system = [ setuptools ];
27   pythonImportsCheck = [ "lcn_frontend" ];
29   # upstream has no tests
30   doCheck = false;
32   meta = {
33     changelog = "https://github.com/alengwenus/lcn-frontend/releases/tag/${version}";
34     description = "LCN panel for Home Assistant";
35     homepage = "https://github.com/alengwenus/lcn-frontend";
36     license = lib.licenses.mit;
37     maintainers = with lib.maintainers; [ dotlambda ];
38   };