diff --git a/pkgs/development/python-modules/nad-receiver/default.nix b/pkgs/development/python-modules/nad-receiver/default.nix index 1eb1000f0259..5b8e4e0b6e9a 100644 --- a/pkgs/development/python-modules/nad-receiver/default.nix +++ b/pkgs/development/python-modules/nad-receiver/default.nix @@ -4,12 +4,14 @@ buildPythonPackage, fetchFromGitHub, pytestCheckHook, + pythonAtLeast, + setuptools, }: buildPythonPackage rec { pname = "nad-receiver"; version = "0.3.0"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "joopert"; @@ -18,7 +20,9 @@ buildPythonPackage rec { hash = "sha256-jRMk/yMA48ei+g/33+mMYwfwixaKTMYcU/z/VOoJbvY="; }; - propagatedBuildInputs = [ pyserial ]; + build-system = [ setuptools ]; + + dependencies = [ pyserial ]; nativeCheckInputs = [ pytestCheckHook ]; @@ -27,7 +31,8 @@ buildPythonPackage rec { meta = with lib; { description = "Python interface for NAD receivers"; homepage = "https://github.com/joopert/nad_receiver"; - license = with licenses; [ mit ]; + changelog = "https://github.com/joopert/nad_receiver/releases/tag/${version}"; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }