diff --git a/pkgs/development/python-modules/pyskyqhub/default.nix b/pkgs/development/python-modules/pyskyqhub/default.nix index 65de2a615ca1..a642f2b32947 100644 --- a/pkgs/development/python-modules/pyskyqhub/default.nix +++ b/pkgs/development/python-modules/pyskyqhub/default.nix @@ -3,21 +3,24 @@ aiohttp, buildPythonPackage, fetchFromGitHub, + setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pyskyqhub"; version = "0.1.9"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "RogerSelwyn"; repo = "skyq_hub"; - rev = version; + tag = finalAttrs.version; hash = "sha256-yXqtABbsCh1yb96lsEA0gquikVenGLCo6J93AeXAC8k="; }; - propagatedBuildInputs = [ aiohttp ]; + build-system = [ setuptools ]; + + dependencies = [ aiohttp ]; # Tests require physical hardware doCheck = false; @@ -30,4 +33,4 @@ buildPythonPackage rec { license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; -} +})