diff --git a/pkgs/development/python-modules/pysmartapp/default.nix b/pkgs/development/python-modules/pysmartapp/default.nix index 3214c7965e38..dadb967efced 100644 --- a/pkgs/development/python-modules/pysmartapp/default.nix +++ b/pkgs/development/python-modules/pysmartapp/default.nix @@ -5,24 +5,24 @@ httpsig, pytest-asyncio, pytestCheckHook, - pythonOlder, + setuptools, }: buildPythonPackage rec { pname = "pysmartapp"; version = "0.3.5"; - format = "setuptools"; - - disabled = pythonOlder "3.8"; + pyproject = true; src = fetchFromGitHub { owner = "andrewsayre"; repo = "pysmartapp"; - rev = version; + tag = version; hash = "sha256-RiRGOO5l5hcHllyDDGLtQHr51JOTZhAa/wK8BfMqmAY="; }; - propagatedBuildInputs = [ httpsig ]; + build-system = [ setuptools ]; + + dependencies = [ httpsig ]; nativeCheckInputs = [ pytest-asyncio @@ -34,8 +34,8 @@ buildPythonPackage rec { meta = with lib; { description = "Python implementation to work with SmartApp lifecycle events"; homepage = "https://github.com/andrewsayre/pysmartapp"; - changelog = "https://github.com/andrewsayre/pysmartapp/releases/tag/${version}"; - license = with licenses; [ mit ]; + changelog = "https://github.com/andrewsayre/pysmartapp/releases/tag/${src.tag}"; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }