12 buildPythonPackage rec {
13 pname = "losant-rest";
17 disabled = pythonOlder "3.7";
19 src = fetchFromGitHub {
21 repo = "losant-rest-python";
22 rev = "refs/tags/v${version}";
23 hash = "sha256-1CxcA9/FvKP3P0Q02by0hBHQTAcbfLCp3AualHhZyvY=";
26 build-system = [ setuptools ];
28 dependencies = [ requests ];
35 pytestFlagsArray = [ "tests/platformrest_tests.py" ];
37 pythonImportsCheck = [ "platformrest" ];
40 description = "Python module for consuming the Losant IoT Platform API";
41 homepage = "https://github.com/Losant/losant-rest-python";
42 license = licenses.mit;
43 maintainers = with maintainers; [ fab ];