Files
nixpkgs/pkgs/development/python-modules/nidaqmx/default.nix
T
Martin Weinelt 845e8b4eda python3Packages.nidaqmx: 1.2.0 -> 1.4.0
https://github.com/ni/nidaqmx-python/releases/tag/1.4.0

This commit was automatically generated using update-python-libraries.
2026-02-01 17:19:39 +01:00

74 lines
1.2 KiB
Nix

{
lib,
stdenv,
buildPythonPackage,
click,
deprecation,
distro,
fetchFromGitHub,
grpcio,
hightime,
numpy,
poetry-core,
protobuf,
python-decouple,
requests,
sphinx-rtd-theme,
sphinx,
toml,
tzlocal,
}:
buildPythonPackage rec {
pname = "nidaqmx";
version = "1.4.0";
pyproject = true;
src = fetchFromGitHub {
owner = "ni";
repo = "nidaqmx-python";
tag = version;
hash = "sha256-Khydb14+yJKWYcO4pROfbainXw3bHceXK5Gc9GCIYNo=";
};
build-system = [ poetry-core ];
dependencies = [
click
deprecation
hightime
numpy
python-decouple
requests
tzlocal
]
++ lib.optionals stdenv.hostPlatform.isLinux [
distro
];
optional-dependencies = {
docs = [
sphinx
sphinx-rtd-theme
toml
];
grpc = [
grpcio
protobuf
];
};
# Tests require hardware
doCheck = false;
pythonImportsCheck = [ "nidaqmx" ];
meta = {
changelog = "https://github.com/ni/nidaqmx-python/releases/tag/${src.tag}";
description = "API for interacting with the NI-DAQmx driver";
homepage = "https://github.com/ni/nidaqmx-python";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fsagbuya ];
};
}