From dfaca8a8ac00ca7a1738f7bfef868201587c423e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 7 May 2021 22:24:18 +0200 Subject: [PATCH] python3Packages.spidev: set platforms to linux only (#122091) The module interfaces with the linux kernel and its sysfs, so it is unsupported on anything but Linux. --- pkgs/development/python-modules/spidev/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/spidev/default.nix b/pkgs/development/python-modules/spidev/default.nix index 0d0fd582363..90ca839bc1e 100644 --- a/pkgs/development/python-modules/spidev/default.nix +++ b/pkgs/development/python-modules/spidev/default.nix @@ -19,6 +19,7 @@ buildPythonPackage rec { description = "Python bindings for Linux SPI access through spidev"; license = licenses.mit; maintainers = with maintainers; [ hexa ]; + platforms = platforms.linux; }; }