lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

python311Packages.openant: enable tests

and add optional-dependencies

+23 -1
+23 -1
pkgs/development/python-modules/openant/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 + , pythonOlder 4 5 , setuptools 5 6 , pyusb 7 + , influxdb-client 8 + , pyserial 9 + , pytestCheckHook 6 10 }: 7 11 8 12 buildPythonPackage rec { 9 13 pname = "openant-unstable"; 10 14 version = "1.2.1"; 11 15 pyproject = true; 16 + 17 + disabled = pythonOlder "3.7"; 12 18 13 19 src = fetchFromGitHub { 14 20 owner = "Tigge"; ··· 28 34 29 35 propagatedBuildInputs = [ pyusb ]; 30 36 37 + passthru.optional-dependencies = { 38 + serial = [ 39 + pyserial 40 + ]; 41 + influx = [ 42 + influxdb-client 43 + ]; 44 + }; 45 + 46 + nativeCheckInputs = [ 47 + pytestCheckHook 48 + ]; 49 + 50 + pythonImportsCheck = [ 51 + "openant" 52 + ]; 53 + 31 54 meta = with lib; { 32 55 homepage = "https://github.com/Tigge/openant"; 33 56 description = "ANT and ANT-FS Python Library"; 34 57 license = licenses.mit; 35 - platforms = platforms.unix; 36 58 }; 37 59 38 60 }