Loading pkgs/development/python-modules/nad-receiver/default.nix +13 −4 Original line number Diff line number Diff line { lib, pyserial, buildPythonPackage, fetchFromGitHub, pyserial, pytestCheckHook, pythonAtLeast, pythonOlder, setuptools, standard-telnetlib, }: buildPythonPackage rec { pname = "nad-receiver"; version = "0.3.0"; format = "setuptools"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "joopert"; Loading @@ -18,7 +24,9 @@ buildPythonPackage rec { hash = "sha256-jRMk/yMA48ei+g/33+mMYwfwixaKTMYcU/z/VOoJbvY="; }; propagatedBuildInputs = [ pyserial ]; build-system = [ setuptools ]; dependencies = [ pyserial ] ++ lib.optionals (pythonAtLeast "3.13") [ standard-telnetlib ]; nativeCheckInputs = [ pytestCheckHook ]; Loading @@ -27,7 +35,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 ]; }; } Loading
pkgs/development/python-modules/nad-receiver/default.nix +13 −4 Original line number Diff line number Diff line { lib, pyserial, buildPythonPackage, fetchFromGitHub, pyserial, pytestCheckHook, pythonAtLeast, pythonOlder, setuptools, standard-telnetlib, }: buildPythonPackage rec { pname = "nad-receiver"; version = "0.3.0"; format = "setuptools"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "joopert"; Loading @@ -18,7 +24,9 @@ buildPythonPackage rec { hash = "sha256-jRMk/yMA48ei+g/33+mMYwfwixaKTMYcU/z/VOoJbvY="; }; propagatedBuildInputs = [ pyserial ]; build-system = [ setuptools ]; dependencies = [ pyserial ] ++ lib.optionals (pythonAtLeast "3.13") [ standard-telnetlib ]; nativeCheckInputs = [ pytestCheckHook ]; Loading @@ -27,7 +35,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 ]; }; }