Something went wrong. Try again.
lol
Something went wrong. Try again.
1.2 kB · 73 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374{ 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 ]; };}