Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
753 B · 38 lines
Nix
at gcc-offload
123456789101112131415161718192021222324252627282930313233343536373839{ lib, buildPythonPackage, fetchPypi, setuptools, pythonOlder, pyserial,}:
buildPythonPackage rec { pname = "modbus-tk"; version = "1.1.4"; pyproject = true;
disabled = pythonOlder "3.10";
src = fetchPypi { pname = "modbus_tk"; inherit version; hash = "sha256-aJd3ZusQRplz3VaigUvZgbhd0YC3kEMkh4bYgAjyWTs="; };
build-system = [ setuptools ];
dependencies = [ pyserial ];
# Source no tagged anymore and PyPI doesn't ship tests doCheck = false;
pythonImportsCheck = [ "modbus_tk" ];
meta = { description = "Module for simple Modbus interactions"; homepage = "https://github.com/ljean/modbus-tk"; license = lib.licenses.lgpl21Plus; maintainers = with lib.maintainers; [ fab ]; };}