13 buildPythonPackage rec {
14 pname = "nad-receiver";
18 disabled = pythonOlder "3.7";
20 src = fetchFromGitHub {
22 repo = "nad_receiver";
24 hash = "sha256-jRMk/yMA48ei+g/33+mMYwfwixaKTMYcU/z/VOoJbvY=";
27 build-system = [ setuptools ];
29 dependencies = [ pyserial ] ++ lib.optionals (pythonAtLeast "3.13") [ standard-telnetlib ];
31 nativeCheckInputs = [ pytestCheckHook ];
33 pythonImportsCheck = [ "nad_receiver" ];
36 description = "Python interface for NAD receivers";
37 homepage = "https://github.com/joopert/nad_receiver";
38 changelog = "https://github.com/joopert/nad_receiver/releases/tag/${version}";
39 license = licenses.mit;
40 maintainers = with maintainers; [ fab ];