python313Packages.nidaqmx: clean-up (#446745)

Changed files
+13 -24
pkgs
development
python-modules
nidaqmx
+13 -24
pkgs/development/python-modules/nidaqmx/default.nix
···
lib,
stdenv,
buildPythonPackage,
+
click,
+
deprecation,
+
distro,
fetchFromGitHub,
-
poetry-core,
-
pythonOlder,
+
grpcio,
+
hightime,
numpy,
-
deprecation,
-
hightime,
-
tzlocal,
+
poetry-core,
+
protobuf,
python-decouple,
-
click,
-
distro,
requests,
+
sphinx-rtd-theme,
sphinx,
-
sphinx-rtd-theme,
-
grpcio,
-
protobuf,
toml,
+
tzlocal,
}:
buildPythonPackage rec {
···
hash = "sha256-uxf+1nmJ+YFS3zGu+0YP4zOdBlSCHPYC8euqZIGwb00=";
};
-
disabled = pythonOlder "3.8";
-
build-system = [ poetry-core ];
-
prePatch = ''
-
substituteInPlace pyproject.toml \
-
--replace-fail 'poetry.masonry.api' 'poetry.core.masonry.api'
-
-
substituteInPlace pyproject.toml \
-
--replace-fail '["poetry>=1.2"]' '["poetry-core>=1.0.0"]'
-
'';
-
dependencies = [
-
numpy
+
click
deprecation
hightime
-
tzlocal
+
numpy
python-decouple
-
click
requests
+
tzlocal
]
++ lib.optionals stdenv.hostPlatform.isLinux [
distro
];
-
passthru.optional-dependencies = {
+
optional-dependencies = {
docs = [
sphinx
sphinx-rtd-theme