Files
nixpkgs/pkgs/development/python-modules/envoy-utils/default.nix
T
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

37 lines
698 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 = with lib; {
description = "Python utilities for the Enphase Envoy";
homepage = "https://pypi.org/project/envoy-utils/";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ fab ];
};
}