1{ 2 lib, 3 pyserial, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "nad-receiver"; 11 version = "0.3.0"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "joopert"; 16 repo = "nad_receiver"; 17 rev = version; 18 hash = "sha256-jRMk/yMA48ei+g/33+mMYwfwixaKTMYcU/z/VOoJbvY="; 19 }; 20 21 propagatedBuildInputs = [ pyserial ]; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 pythonImportsCheck = [ "nad_receiver" ]; 26 27 meta = with lib; { 28 description = "Python interface for NAD receivers"; 29 homepage = "https://github.com/joopert/nad_receiver"; 30 license = with licenses; [ mit ]; 31 maintainers = with maintainers; [ fab ]; 32 }; 33}