at master 913 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pytestCheckHook, 7 numpy, 8}: 9 10buildPythonPackage rec { 11 pname = "sipyco"; 12 version = "1.8"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "m-labs"; 17 repo = "sipyco"; 18 tag = "v${version}"; 19 hash = "sha256-PPnAyDedUQ7Og/Cby9x5OT9wMkNGTP8GS53V6N/dk4w="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ numpy ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "sipyco" ]; 29 30 __darwinAllowLocalNetworking = true; 31 32 meta = with lib; { 33 description = "Simple Python Communications - used by the ARTIQ experimental control package"; 34 mainProgram = "sipyco_rpctool"; 35 homepage = "https://github.com/m-labs/sipyco"; 36 changelog = "https://github.com/m-labs/sipyco/releases/tag/v${version}"; 37 license = licenses.lgpl3Plus; 38 maintainers = with maintainers; [ charlesbaynham ]; 39 }; 40}