about summary refs log tree commit diff
path: root/pkgs/development/python-modules/sipyco/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/sipyco/default.nix')
-rw-r--r--pkgs/development/python-modules/sipyco/default.nix37
1 files changed, 17 insertions, 20 deletions
diff --git a/pkgs/development/python-modules/sipyco/default.nix b/pkgs/development/python-modules/sipyco/default.nix
index 454876d16e8b..277aa4961f3d 100644
--- a/pkgs/development/python-modules/sipyco/default.nix
+++ b/pkgs/development/python-modules/sipyco/default.nix
@@ -1,36 +1,33 @@
-{ lib
-, buildPythonPackage
-, fetchFromGitHub
-, pythonOlder
-, pytestCheckHook
-, numpy
+{
+  lib,
+  buildPythonPackage,
+  fetchFromGitHub,
+  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 ];
 
-  nativeCheckInputs = [
-    pytestCheckHook
-  ];
+  pythonImportsCheck = [ "sipyco" ];
 
-  pythonImportsCheck = [
-    "sipyco"
-  ];
+  __darwinAllowLocalNetworking = true;
 
   meta = with lib; {
     description = "Simple Python Communications - used by the ARTIQ experimental control package";