Files
nixpkgs/pkgs/development/python-modules/envoy-utils/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

36 lines
697 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
zeroconf,
}:
buildPythonPackage rec {
pname = "envoy-utils";
version = "0.0.1";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "envoy_utils";
inherit version;
sha256 = "13zn0d6k2a4nls9vp8cs0w07bgg4138vz18cadjadhm8p6r3bi0c";
};
propagatedBuildInputs = [ zeroconf ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "envoy_utils" ];
meta = {
description = "Python utilities for the Enphase Envoy";
homepage = "https://pypi.org/project/envoy-utils/";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ fab ];
};
}