diff --git a/pkgs/development/python-modules/btsmarthub-devicelist/default.nix b/pkgs/development/python-modules/btsmarthub-devicelist/default.nix index 9d4e290b4b78..755042729352 100644 --- a/pkgs/development/python-modules/btsmarthub-devicelist/default.nix +++ b/pkgs/development/python-modules/btsmarthub-devicelist/default.nix @@ -5,20 +5,23 @@ pytestCheckHook, requests, responses, + setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "btsmarthub-devicelist"; version = "0.2.3"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "jxwolstenholme"; repo = "btsmarthub_devicelist"; - rev = version; + tag = finalAttrs.version; hash = "sha256-7ncxCpY+A2SuSFa3k21QchrmFs1dPRUMb1r1z/laa6M="; }; - propagatedBuildInputs = [ requests ]; + build-system = [ setuptools ]; + + dependencies = [ requests ]; nativeCheckInputs = [ responses @@ -34,4 +37,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ jamiemagee ]; }; -} +})