23 buildPythonPackage rec {
28 src = fetchFromGitHub {
30 repo = "nidaqmx-python";
32 hash = "sha256-rf5cGq3Iv6ucURSUFuFANQzaGeufBZ+adjKlg4B5DRY=";
35 disabled = pythonOlder "3.8";
37 build-system = [ poetry-core ];
40 substituteInPlace pyproject.toml \
41 --replace-fail 'poetry.masonry.api' 'poetry.core.masonry.api'
43 substituteInPlace pyproject.toml \
44 --replace-fail '["poetry>=1.2"]' '["poetry-core>=1.0.0"]'
57 ++ lib.optionals stdenv.isLinux [
61 passthru.optional-dependencies = {
73 # Tests require hardware
76 pythonImportsCheck = [ "nidaqmx" ];
79 changelog = "https://github.com/ni/nidaqmx-python/releases/tag/v${version}";
80 description = "API for interacting with the NI-DAQmx driver";
81 homepage = "https://github.com/ni/nidaqmx-python";
82 license = lib.licenses.mit;
83 maintainers = with lib.maintainers; [ fsagbuya ];