1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 pytestCheckHook, 7 numpy, 8}: 9 10buildPythonPackage rec { 11 pname = "sipyco"; 12 version = "1.4"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "m-labs"; 19 repo = "sipyco"; 20 rev = "refs/tags/v${version}"; 21 hash = "sha256-sEYWtp11piUIa8YyuTOdFIIJ2GfcrUb+HEzPVKr4hW8="; 22 }; 23 24 propagatedBuildInputs = [ numpy ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "sipyco" ]; 29 30 meta = with lib; { 31 description = "Simple Python Communications - used by the ARTIQ experimental control package"; 32 mainProgram = "sipyco_rpctool"; 33 homepage = "https://github.com/m-labs/sipyco"; 34 changelog = "https://github.com/m-labs/sipyco/releases/tag/v${version}"; 35 license = licenses.lgpl3Plus; 36 maintainers = with maintainers; [ charlesbaynham ]; 37 }; 38}