diff --git a/pkgs/development/python-modules/sipyco/default.nix b/pkgs/development/python-modules/sipyco/default.nix index 438072e9b072..277aa4961f3d 100644 --- a/pkgs/development/python-modules/sipyco/default.nix +++ b/pkgs/development/python-modules/sipyco/default.nix @@ -2,31 +2,33 @@ lib, buildPythonPackage, fetchFromGitHub, - pythonOlder, + setuptools, pytestCheckHook, numpy, }: buildPythonPackage rec { pname = "sipyco"; - version = "1.4"; - format = "setuptools"; - - disabled = pythonOlder "3.7"; + version = "1.8"; + pyproject = true; src = fetchFromGitHub { owner = "m-labs"; repo = "sipyco"; rev = "refs/tags/v${version}"; - hash = "sha256-sEYWtp11piUIa8YyuTOdFIIJ2GfcrUb+HEzPVKr4hW8="; + hash = "sha256-PPnAyDedUQ7Og/Cby9x5OT9wMkNGTP8GS53V6N/dk4w="; }; - propagatedBuildInputs = [ numpy ]; + build-system = [ setuptools ]; + + dependencies = [ numpy ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "sipyco" ]; + __darwinAllowLocalNetworking = true; + meta = with lib; { description = "Simple Python Communications - used by the ARTIQ experimental control package"; mainProgram = "sipyco_rpctool";