python312Packages.yoda: 2.0.1 -> 2.0.2
[NixPkgs.git] / pkgs / development / python-modules / lcn-frontend / default.nix
bloba29c8dc712c56027685cd5f5a9275881fe9e830b
2   buildPythonPackage,
3   fetchPypi,
4   lib,
5   setuptools,
6 }:
8 buildPythonPackage rec {
9   pname = "lcn-frontend";
10   version = "0.2.2";
11   pyproject = true;
13   src = fetchPypi {
14     pname = "lcn_frontend";
15     inherit version;
16     hash = "sha256-D6rwFLThOCEbKYhUpuA8K+0iLYt3pqU4GHzJcr3LaAM=";
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   };