depot/third_party/nixpkgs/pkgs/development/python-modules/toptica-lasersdk/default.nix

44 lines
732 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
# build-system
setuptools,
# dependencies
ifaddr,
pyserial,
}:
buildPythonPackage rec {
pname = "toptica-lasersdk";
version = "3.2.0";
pyproject = true;
src = fetchPypi {
pname = "toptica_lasersdk";
inherit version;
hash = "sha256-UNazng4Za3CZeG7eDq0b+l7gmESEXIU8WMLWGGysmBg=";
};
build-system = [
setuptools
];
dependencies = [
ifaddr
pyserial
];
pythonImportsCheck = [
"toptica.lasersdk.dlcpro.v2_2_0"
];
meta = {
description = "TOPTICA Python Laser SDK";
homepage = "https://toptica.github.io/python-lasersdk/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ doronbehar ];
};
}