1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 6 # build-system 7 setuptools, 8 9 # dependencies 10 ifaddr, 11 pyserial, 12}: 13 14buildPythonPackage rec { 15 pname = "toptica-lasersdk"; 16 version = "3.3.0"; 17 pyproject = true; 18 19 src = fetchPypi { 20 pname = "toptica_lasersdk"; 21 inherit version; 22 hash = "sha256-VzgQCqfZP9JoFmotG0jPJpHMxLY+unNZqzxQGhtlYC4="; 23 }; 24 25 build-system = [ 26 setuptools 27 ]; 28 29 dependencies = [ 30 ifaddr 31 pyserial 32 ]; 33 34 pythonImportsCheck = [ 35 "toptica.lasersdk.dlcpro.v2_2_0" 36 ]; 37 38 meta = { 39 description = "TOPTICA Python Laser SDK"; 40 homepage = "https://toptica.github.io/python-lasersdk/"; 41 license = lib.licenses.mit; 42 maintainers = with lib.maintainers; [ doronbehar ]; 43 }; 44}