12 buildPythonPackage rec {
13 pname = "pyversasense";
15 format = "setuptools";
17 disabled = pythonOlder "3.7";
19 src = fetchFromGitHub {
20 owner = "imstevenxyz";
23 sha256 = "vTaDEwImWDMInwti0Jj+j+RFEtXOOKtiH5wOMD6ZmJk=";
26 propagatedBuildInputs = [ aiohttp ];
28 doCheck = pythonOlder "3.11"; # asynctest unsupported on python3.11
36 pytestFlagsArray = [ "tests/test.py" ];
39 # Tests are not properly mocking network requests
42 "test_peripheral_measurements"
46 pythonImportsCheck = [ "pyversasense" ];
49 description = "Python library to communicate with the VersaSense API";
50 homepage = "https://github.com/imstevenxyz/pyversasense";
51 license = licenses.asl20;
52 maintainers = with maintainers; [ fab ];